Tuesday, 3 July 2012

How to install an HP printer on Ubuntu

How to install an HP printer on Ubuntu


An in-depth tutorial on how to install an HP printer or multifunction on an Ubuntu system, using the HPLIP library.
How to install an HP printer on Ubuntu
This guide aims at being of help to those of you who have found problems with the installation of a HP printer or multifunction to dispose of its most advanced features. Most of the time problems arise from the lack of the most suitable drivers, and this is the reason why we will analyze the installation procedure, so that step by step you will come to have a HP printing driver on your Ubuntu system.

The HPLIP software

HPLIP is an interface developed by HP to give Linux printing, scanning and fax functionalities.


The last version available at the moment (2.8.9) supports 1.445 models of HP printers and most probably the printer you're going to install is listed there.
To be sure of this, you just need to check the page that contains the entire list of the supported printers.


After having identified your model of printer in the list, pay attention to the first parameter, Min. HPLIP Version, which represents the minimum version of HPLIP that you need.

Every Ubuntu system contains a version of HPLIP (i.e. mine is the 2.8.2) by default. To verify this, type the following command on terminal:

dpkg -l hplip


You shall get a message similar to this:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name         Version            Description
+++-============-===================-======================================================
ii  hplip        2.8.2-0ubuntu8      HP Linux Printing and Imaging System (HPLIP)


If in the first column you read the "ii" characters, it means that the version showed in the third column is currently installed on your computer.
If the installed version of HPLIP is lower that the minimum version that you require, keep reading, or skip to the next paragraph about the installation of a printer.

Updating HPLIP

The updating can be done in two different ways, even if the automatic updating is not always enough, as it depends on the last HPLIP version available in the Ubuntu repository.

Automatic Update

To update HPLIP to the last version in the Ubuntu repository, type the following on terminal

sudo apt-get update


followed by the command

sudo apt-get upgrade


Like this all the installed packs will be updated to the last version, including HPLIP.


After the update, run the check described above to get the number HPLIP version installed on your system and, in case it doesn't satisfy the requirements yet, keep reading and follow the manual procedure.
If the installed version is sufficient, skip to the next paragraph.

Manual Update

As reported on the official guide, the manual installation requires the following steps:
  1. Download the installation file on your computer (i.e. in the Home directory or on your Desktop)
    hplipdownloadpath:http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_3055.html
  2. Open the terminal and move to the path where the file has been downloaded, typing for instance:
    cd ~/Desktop
     
  3. Type the following command and click <enter>
    sh hplip-2.8.9.run
     
  4. When requested, type in order:
    • "a" for automatic installation
    • "y" if the displayed version of Ubuntu corresponds to yours
    • "n" in case your printer can connect through USB (otherwise "y" if it uses a parallel port)
    • your root password
    • <enter> to start the installation
    • during the passage RESTART OR RE-PLUG IS REQUIRED, type "p" and, when requested, unplug and re-plug the USB cable of your printer, followed by a <enter> on terminal (if your printer uses a parallel port type "r" and follow the indicated steps)
    • at this point the software hp-setup will be automatically activated and you'll be able to finally start the installation procedure.

Should you encounter problems during the installation, leave a comment on this article and we shall try to find a solution together.

Installation of the printer

Through the automatic installation of the most recent version of hplip, or by typing the command "sudo hp-setup", you've arrived to the core of the installation.
Here a short summary of the operations to perform to get a HP printer on the darling Ubuntu system.
  1. select the "Connection Type" (usually USB) and click on Next
  2. select your printer between the automatically found ones and click on Next (if no printer is displayed, choose Find manually)
  3. click on Next on the 2 following pages
  4. click on Finish to complete the installation procedure and wait for the print of the test pHow to install an HP printer on Ubuntuage.

Mark the HP printer as your default

To make the HP printer system default, select "Print" from the menu "Administration".
After inserting the root password and having displayed the list of installed printers, click on the name of your favourite printer.
At the option "Default Printer", click on "Make Default".

Well, we've come to the end of the installation procedure, now you only have to configure the printing options. From this step on, your loyal printer will be perfectly compatible with Ubuntu


refurl:http://www.sinarpelangi.com/folder-and-printer-sharing-between-linux-and-windows-with-samba/



NetworkPrintingWithUbuntu

https://help.ubuntu.com/community/NetworkPrintingWithUbuntu 

http://www.icelab.eu/en/blog/ubuntu-and-linux-12/how-to-install-an-hp-printer-on-ubuntu-79.htm 
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=1140780&prodTypeId=18972&prodSeriesId=1161389&swEnvOID=2020&taskId=135&swLang=8


http://hplipopensource.com/hplip-web/install_wizard/index.html (download)

Supported printers:

HP Laser Jet 3055 All-in-one Printer



Download HPLIP


Support Information:

ItemDescription
Minimum HPLIP version0.9.8
Support levelFull (See note11.)
Recommended?Yes (See note15.)

Summary of Available Features (See note10.):

FeatureSupport10Notes
Automatic installerDepends on distroSee table below for distro specific support.
USB I/OYes
Network I/OYesSee note1.
Parallel I/ONo
Scan to PCYesSee note3.
Photo card accessNoIf equiped, use USB mass storage for access. See note4.
PC fax sendYesSee note5.
PC initiated copyYesSee note6.
Services and statusYesSee note7.
Graphical user interfacesDepends on distroSee table below for distro specific support.
Print head alignmentNo
Color calibrationNo
Print head cleaningNo
Linefeed calibrationNo
Print quality diagnosticsNo

Summary of Available Features in Various Linux Distributions (see note13):

DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
Boss3.0NoNoYesNoYesNoYesNoYes
Debian5.0YesNoYesYesYesNoYesNoYes
Debian5.0.1YesNoYesYesYesNoYesNoYes
Debian5.0.2YesNoYesYesYesNoYesNoYes
Debian5.0.3YesNoYesYesYesNoYesNoYes
Debian5.0.4YesNoYesYesYesNoYesNoYes
Debian5.0.5YesNoYesYesYesNoYesNoYes
Debian5.0.6YesNoYesYesYesNoYesNoYes
Debian5.0.7YesNoYesYesYesNoYesNoYes
Debian5.0.8YesNoYesYesYesNoYesNoYes
Debian6.0YesNoYesYesYesNoYesNoYes
Debian6.0.1YesNoYesYesYesNoYesNoYes
Debian6.0.2YesNoYesYesYesNoYesNoYes
Debian6.0.3YesNoYesYesYesNoYesNoYes
Debian6.0.4YesNoYesYesYesNoYesNoYes
Debian6.0.5YesNoYesYesYesNoYesNoYes
Fedora15YesNoYesYesYesNoYesNoYes
Fedora16YesNoYesYesYesNoYesNoYes
Fedora17YesNoYesYesYesNoYesNoYes
gOS8.04.1NoNoYesYesYesNoYesNoYes
DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
IGOS1.0NoNoYesNoYesNoYesNoYes
Linux From Scratch6NoNoYesYesYesNoYesNoYes
Linpus Linux9.4NoNoNoNoYesNoYesNoNo
Linpus Linux9.5NoNoNoNoYesNoYesNoNo
Linspire5.0NoNoYesNoYesNoYesNoYes
Linux Mint8YesNoYesYesYesNoYesNoYes
Linux Mint9YesNoYesYesYesNoYesNoYes
Linux Mint10YesNoYesYesYesNoYesNoYes
Linux Mint11YesNoYesYesYesNoYesNoYes
Linux Mint12YesNoYesYesYesNoYesNoYes
Linux Mint13YesNoYesYesYesNoYesNoYes
Mandriva Linux2010.0NoNoYesYesYesNoYesNoYes
Mandriva Linux2011.0NoNoYesYesYesNoYesNoYes
Mepis6.0NoNoYesNoYesNoYesNoYes
Mepis6.5NoNoYesNoYesNoYesNoYes
Mepis7.0NoNoYesNoYesNoYesNoYes
Mepis8.0NoNoYesNoYesNoYesNoYes
PCLinuxOS2006.0NoNoYesNoYesNoYesNoYes
PCLinuxOS2006NoNoYesNoYesNoYesNoYes
PCLinuxOS2007.0NoNoYesYesYesNoYesNoYes
DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
PCLinuxOS2007NoNoYesYesYesNoYesNoYes
PCLinuxOS2008.0NoNoYesYesYesNoYesNoYes
PCLinuxOS2008NoNoYesYesYesNoYesNoYes
PCLinuxOS2009.0NoNoYesYesYesNoYesNoYes
PCLinuxOS2009NoNoYesYesYesNoYesNoYes
Red Hat8.0NoNoYesNoYesNoYesNoYes
Red Hat9.0NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.0NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.1NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.2NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.3NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.4NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.5NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.6NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.7NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux5.8NoNoYesNoYesNoYesNoYes
Red Hat Enterprise Linux6.0NoNoYesNoYesNoYesNoYes
Slackware Linux9.0NoNoNoNoYesNoNoNoNo
Slackware Linux9.1NoNoNoNoYesNoNoNoNo
Slackware Linux10.0NoNoNoNoYesNoNoNoNo
DistroVersionInstallerGUI14Scan3Fax5StatusPhoto Card4USBParallelNetwork1
Slackware Linux10.1NoNoNoNoYesNoNoNoNo
Slackware Linux10.2NoNoNoNoYesNoNoNoNo
Slackware Linux11NoNoNoNoYesNoNoNoNo
Slackware Linux12NoNoNoNoYesNoNoNoNo
Slackware Linux12.1NoNoNoNoYesNoNoNoNo
SUSE Linux11.4YesNoYesYesYesNoYesNoYes
SUSE Linux12.1YesNoYesYesYesNoYesNoYes
Ubuntu8.04YesNoYesYesYesNoYesNoYes
Ubuntu10.04YesNoYesYesYesNoYesNoYes
Ubuntu10.10YesNoYesYesYesNoYesNoYes
Ubuntu11.04YesNoYesYesYesNoYesNoYes
Ubuntu11.10YesNoYesYesYesNoYesNoYes
Ubuntu12.04YesNoYesYesYesNoYesNoYes

Other Information:

ItemDescriptionNotes
Driver plug-inNoneSee note8.
Requires firmware downloadNo
APDK device class(es):LJMono
HPLIP device sub-class(es):Normal
USB VID:PID1008:13335
Embedded web serverYes
HPLIP job storageNo
models.dat namehp_laserjet_3055

All information provided is believed to be accurate but is not guaranteed.

4 comments:

  1. I have been reading your posts regularly. I need to say that you are doing a fantastic job. Please keep up the great work.

    HP Deskjet 3633 Printer Support

    ReplyDelete
  2. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information..

    HP Printer Customer Care Support

    ReplyDelete
  3. I read this post fully concerning the difference of latest and former stuff, it is awesome article.
    123 hp printer phone number

    ReplyDelete