Linux.com

Home Linux Community Forums Hardware Printers Installing HP printer in Ubuntu 11.04 server

Installing HP printer in Ubuntu 11.04 server

Link to this post 09 Jul 11

I have a HP Officejet J3680 Printer with a USB connection. How do I install it on Ubuntu server? Thank you.

Link to this post 09 Jul 11

Install the hplip packages from the software center then it should be very easy to configure.

Link to this post 10 Jul 11

Does that work on server also? Keep in mind it uses a command line interface. Thanks.

Link to this post 10 Jul 11

The server version of the OS should not be different. Even if you are using a command line interface hplip will install the necessary drivers that you can setup in cups.

Link to this post 10 Jul 11

Printers can be easily configured using CUPS. Ubuntu server should have all required packages installed, to check if they are run:


# dpkg -l cups

# service cups status
Status of Common Unix Printing System: cupsd is running.

If CUPS is not running start it, then you can access it on http://localhost:631 . This works also on your desktop
installation, but since, I suppose, you don't have a running X server on your Ubuntu server you'll have to make it listen
on all interfaces instead of localhost and add Allow from all or only your IP address accordingly.


# vim /etc/cups/cupsd.conf

Listen 0.0.0.0:631

[ ... ]

<Location />
Order allow,deny
Allow from all
</Location>

<Location /admin>
Order allow,deny
Allow from all
</Location>

[ ... ]


# service cups restart

After that if you go to https://SERVER_IP:631 you can add your printer. After you are done adding your printer set CUPS back to listen on localhost only.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board