Welcome to the new 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.

Comments

  • mfillpotmfillpot Posts: 2,180
    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.
  • mfillpotmfillpot Posts: 2,180
    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.
  • odlevakpodlevakp Posts: 30
    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.
Sign In or Register to comment.