Welcome to the Linux Foundation Forum!

Installing HP printer in Ubuntu 11.04 server

Options

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

Comments

  • mfillpot
    mfillpot Posts: 2,177
    Options
    Install the hplip packages from the software center then it should be very easy to configure.
  • youthgonewild23
    Options
    Does that work on server also? Keep in mind it uses a command line interface. Thanks.
  • mfillpot
    mfillpot Posts: 2,177
    Options
    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.
  • odlevakp
    odlevakp Posts: 29
    Options
    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.

Categories

Upcoming Training