Welcome to the Linux Foundation Forum!

Installing HP printer in Ubuntu 11.04 server

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 2,177
    Install the hplip packages from the software center then it should be very easy to configure.
  • Does that work on server also? Keep in mind it uses a command line interface. Thanks.
  • Posts: 2,177
    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.
  • Posts: 29
    Printers can be easily configured using CUPS. Ubuntu server should have all required packages installed, to check if they are run:
    1. # dpkg -l cups
    2.  
    3. # service cups status
    4. 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.
    1. # vim /etc/cups/cupsd.conf
    2.  
    3. Listen 0.0.0.0:631
    4.  
    5. [ ... ]
    6.  
    7. <Location />
    8. Order allow,deny
    9. Allow from all
    10. </Location>
    11.  
    12. <Location /admin>
    13. Order allow,deny
    14. Allow from all
    15. </Location>
    16.  
    17. [ ... ]
    18.  
    19.  
    20. # 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.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training