Skip to main content

Install HP printers in Linux ( ubuntu 9.04 jaunty, fedora, debian, redhat, Mandrake/Manrivi, openSUSE, Solaris, FREEBSD)

I highly recommend you to follow the post here at hp-printer-installation-wizard.html for an easy and more successful installation of your hp printers. Come back if you are not successful from that.


Download and Install the driver
Type these at terminal.
1. Download the driver
Download it from here
2. Unpack:
$ tar zxf hpinlinux.tar.gz
$ cd hpinlinux
3. Compile the source:
$ make
4. Get .ICM profiles for color correction.
Select the model number for your printer:
$ ./getweb 1215     # Get HP Color LaserJet CP1215 .ICM files
$ ./getweb 1500 # Get HP Color LaserJet 1500 .ICM files
$ ./getweb 1600 # Get HP Color LaserJet 1600 .ICM files
$ ./getweb 2600n # Get HP Color LaserJet 2600n .ICM files

$ ./getweb 1600w # Get Konica Minolta magicolor 1600W .ICM files
$ ./getweb 1680 # Get Konica Minolta magicolor 1680MF .ICM files
$ ./getweb 1690 # Get Konica Minolta magicolor 1690MF .ICM files
$ ./getweb 2480 # Get Konica Minolta magicolor 2480 MF .ICM files
$ ./getweb 2490 # Get Konica Minolta magicolor 2490 MF .ICM files
$ ./getweb 2530 # Get Konica Minolta magicolor 2530 DL .ICM files
$ ./getweb 4690 # Get Konica Minolta magicolor 4690MF .ICM files

$ ./getweb 6115 # Get Xerox Phaser 6115MFP .ICM files

$ ./getweb cpwl # Get Minolta Color PageWorks/Pro L .ICM files
$ ./getweb 2200 # Get Minolta/QMS magicolor 2200 DL .ICM files
$ ./getweb 2300 # Get Minolta/QMS magicolor 2300 DL .ICM files
$ ./getweb 2430 # Get Konica Minolta magicolor 2430 DL .ICM files

$ ./getweb 300 # Get Samsung CLP-300 .ICM files
$ ./getweb 315 # Get Samsung CLP-315 .ICM files
$ ./getweb 600 # Get Samsung CLP-600 .ICM files
$ ./getweb 610 # Get Samsung CLP-610 .ICM files
$ ./getweb 2160 # Get Samsung CLX-2160 .ICM files
$ ./getweb 3160 # Get Samsung CLX-3160 .ICM files
$ ./getweb 6110 # Get Xerox Phaser 6110 and 6110MFP .ICM files

$ ./getweb 500 # Get Lexmark C500 .ICM files

$ ./getweb 3200 # Get Oki C3200 .ICM files
$ ./getweb 3300 # Get Oki C3300 .ICM files
$ ./getweb 3400 # Get Oki C3400 .ICM files
$ ./getweb 3530 # Get Oki C3530 MFP .ICM files
$ ./getweb 5100 # Get Oki C5100 .ICM files
$ ./getweb 5200 # Get Oki C5200 .ICM files
$ ./getweb 5500 # Get Oki C5500 .ICM files
$ ./getweb 5600 # Get Oki C5600 .ICM files
$ ./getweb 5800 # Get Oki C5800 .ICM files

$ ./getweb 1000 # Get HP LaserJet 1000 firmware file
$ ./getweb 1005 # Get HP LaserJet 1005 firmware file
$ ./getweb 1018 # Get HP LaserJet 1018 firmware file
$ ./getweb 1020 # Get HP LaserJet 1020 firmware file

$ ./getweb P1005 # Get HP LaserJet P1005 firmware file
$ ./getweb P1006 # Get HP LaserJet P1006 firmware file
$ ./getweb P1007 # Get HP LaserJet P1007 firmware file
$ ./getweb P1008 # Get HP LaserJet P1008 firmware file
$ ./getweb P1505 # Get HP LaserJet P1505 firmware file

If your model number is not present...skip this step and try the rest...

5. Install driver, foomatic XML files, and extra files:
$ sudo make install
6. (Optional) Install hotplug (for HP LJ 1000/1005/1018/1020/P1005/P1006/P1505
$ sudo make install-hotplug

Unplug and re-plug the USB printer

If you use CUPS to manage your printers, you must restart cupsd:

$ sudo make cups
7. Create printers
(Fedora 6/7/8/9/10/11 and Ubuntu 7.10/8.x/9.x):
# system-config-printer
(Redhat 7.2/7.3/8.0/9.0, Fedora Core 1-5):
# printconf-gui
(Mandrake/Manrivia)
# printerdrake
(openSUSE 10.x/11.x)
# yast2 printer
(Ubuntu)
$ sudo gnome-cups-manager
$ sudo make cups
Ubuntu has a bug in gnome-cups-manager with Color, so you must
restart cups. No other distro has this bug.

If that doesn't work, then fire up:
$ firefox http://localhost:631

And click on:
Printers -> Set Printer Options -> Color Mode -> Color
Then click on:
Set Printer Options

(Debian)
Connect with a web browser to:
http://localhost:631
And configure printer (HP example shown) to:
HP LaserJet 2600n, Foomatic + foo2zjs (en)
Then edit "Manage Printers->Configure Printer" to suit you,
such as "Page Size" or "Color Mode".
(Solaris 11+)
# printmgr

Create at least one queue for monochrome, and another queue for color printing. Create the queues, then edit them and set the "device options" as desired.


UBUNTU NOTES
------------
Install build-essential FIRST:
$ sudo apt-get install build-essential
Download the package from here
$ tar zxf hpinlinux.tar.gz
$ cd hpinlinux
$ sudo make uninstall
$ make
$ ./getweb 1020
OR other printer
$ sudo make install install-hotplug cups

For 7.10 and later users:
$ sudo system-config-printer

For 5.10/6.06/6.10/7.04 users:
$ sudo gnome-cups-manager
[configure ColorMode = Color if a color printer]
$ sudo make cups

Ubuntu has a bug in gnome-cups-manager with Color, so you must
restart cups. No other distro has this bug.

If that doesn't work, then fire up:
$ firefox http://localhost:631

And click on:
Printers -> Set Printer Options -> Color Mode -> Color
Then click on:
Set Printer Options

DEBIAN NOTES
------------
Install build-essential, foomatic-filters, cupsys FIRST:
$ su
# apt-get install build-essential
# apt-get install foomatic-filters
# apt-get install cupsys

Download the package from here
$ tar zxf hpinlinux.tar.gz
$ cd hpinlinux
$ make
$ ./getweb 1020
OR other printer
$ su
# make install install-hotplug cups

$ firefox http://localhost:631

OPENSUSE 10.3 NOTES
-------------------
Do this:

# zypper install make gcc

# zypper service-add \
http://download.opensuse.org/repositories/Printing/openSUSE_10.3/ \
Printing
# zypper up -r Printing -t package

Then install using the above instructions.

ACER ASPIRE ONE NOTES
---------------------

Ref: http://the.taoofmac.com/media/Acer/Aspire One/AA1notes.htm

It is a version of Fedora.

Get a shell by typing Alt+F2 then Return.

$ su
# yum install make gcc


Download the package from here
$ tar zxf hpinlinux.tar.gz
$ cd hpinlinux
$ make
$ ./getweb 1020
OR other printer, e.g. 2600n
$ su
# make install install-hotplug cups


ASUS EEE PC NOTES
-----------------

It is a version of Xandros. First:

Get a shell by typing ctrl-alt-T
$ sudo su -
# vi or kwrite /etc/apt/sources.list
add the following line:
deb ftp://ftp.us.debian.org/debian stable main contrib non-free
# apt-get -f install
# apt-get install wget
# apt-get install build-essential


Download the package from here
$ tar zxf hpinlinux.tar.gz
$ cd hpinlinux
$ make
$ ./getweb 1020
OR other printer, e.g. 2600n
$ sudo make install install-hotplug cups

Then use the "Add Printer" GUI.

MAC OS X NOTES
---------------
Please read the detailed installation instructions by Clint Morgan
and Rick Richardson in the file INSTALL.osx.

FREEBSD NOTES
-------------
You need the following packages before you start the "make":
# pkg_add -r wget
# pkg_add -r gmake
# pkg_add -r ghostscript-gnu
# pkg_add -r cups
# pkg_add -r foomatic-filters

Use "gmake" instead of "make". E.G. gmake; ./getweb XXX; gmake install

USB NOTES FOR FREEBSD
- Build the kernel without the ulpt driver.
e.g.
# vi /usr/src/sys/i386/conf/GENERIC
comment out 'device ulpt'
# cd /usr/src/
# make buildkernel KERNCONF=GENERIC
# make installkernel KERNCONF=GENERIC
reboot

- Do one of these lines each time the printer is powered up:
# cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/ugen0.1
# cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1505.dl > /dev/ugen0.1

More information:
http://www.webmiscreants.com/index.php?page=howto_P1006

OPENBSD NOTES
-------------
You need the following packages before you start the "make":
# pkg_add wget
# pkg_add gmake
# pkg_add -i ghostscript
# pkg_add cups
# pkg_add unzip

Use "gmake" instead of "make". E.G. gmake; ./getweb XXX; gmake install

USB NOTES FOR OPENBSD
- Build the kernel without the ulpt driver.
e.g.
# vi /usr/src/sys/i386/conf/GENERIC
comment out 'device ulpt'
# cd /usr/src/
# make buildkernel KERNCONF=GENERIC
# make installkernel KERNCONF=GENERIC
reboot

- Do one of these lines each time the printer is powered up:
# cat /usr/share/foo2zjs/firmware/sihp1018.dl > /dev/ugen0.1
# cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1005.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1006.dl > /dev/ugen0.1
# cat /usr/share/foo2xqx/firmware/sihpP1505.dl > /dev/ugen0.1

OPENSOLARIS, SOLARIS EXPRESS DEVELOPER EDITION 9/07, Solaris 11+ NOTES
----------------------------------------------------------------------
Use "bash" for your shell. Only network printers are supported.

$ export PATH=$PATH:/sbin:/usr/sbin:/usr/sfw/bin:/opt/sfw/bin

Do this:

[ Load CD Solaris_Software_Companion]
$ cd /media/S10_807_SOFTWARE_COMPANION/Solaris_Software_Companion/Solaris_i386/Packages
$ su root -c "/usr/bin/bash"
# pkgadd -d `pwd` SFWgroff
# pkgadd -d `pwd` SFWgawk

OR
Browse to:
http://pkg.opensolaris.org/release/en/index.shtml
and Search or Browse Packages and download:

SUNWscp
SUNWgawk
SUNWgroff

Then:

Download the package from here
$ tar zxf hpinlinux.tar.gz
$ cd hpinlinux

$ gmake
$ ./getweb 2530
OR other printer

$ su root -c "/usr/bin/bash"
# gmake install
# printmgr

To see a screen to the GUI:
http://foo2lava.rkkda.com/solaris/

NOTE: you cannot see the printer options (Paper Source, Paper Type,
Paper Media, Color Mode, ICM, etc.). There is NO GUI to do it!!!
Sorry.

MINOLTA-QMS 2200/2300 DL NOTES
------------------------------
Use the network interface if you can. These printers understand Unix
LPD printer server protocol. So when setting up the printer queue,
you can select "UNIX Printer (lpd queue)", set the lpd queue name to
"lp" (arbitrary), and set the "Server" to the IP address of the
printer.

These printers also understand several other printer server protocols,
such as JetDirect and IPP, but I have not tried them. In any case,
I'm not aware of any advantages of using them over LPD.

The USB interface on this printer will work if your printer is at
firmware revision 2.55 or later. Mine was not, but I was able to
get this firmware from the Konica Minolta Europe web site. The USA
site doesn't have it. Upgrading the firmware on your printer can
be dangerous and might turn your printer into a paperweight, so I do
not recommend it unless you need USB and are a computer expert. To
get the v2.55 firmware upgrade, try:
./getweb 2300dl_fw

CUPS USB NOTES
--------------
If you are using the USB port, then the URI should be:
usb:/dev/usb/lp0
usb:/dev/usb/lp1
OR
usb://Samsung/CLP-310%20Series
usb://Samsung/CLP-310%20Series
usb://HP/Color%20LaserJet%20CP1215
usb://HP/Color%20LaserJet%202600n
usb://HP/LaserJet%201000
usb://HP/LaserJet%201005
usb://HP/LaserJet%201018
usb://HP/LaserJet%201020
usb://HP/LaserJet%20P1005
usb://HP/LaserJet%20P1006
usb://HP/LaserJet%20P1505

Don't use hp:// because that is for hplib (a closed source,
proprietary driver).


Popular posts from this blog

How to install Skype on Ubuntu 10.04 Lucid Lynx

UPDATE: Skype has now been uploaded to the "partner" official Ubuntu 10.04 Lucid Lynx repository. See Install Skype in Ubuntu 10.04 Lucid Lynx from official partner repository Command Line way Get the package: For 32-bit $ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-32 For 64-bit $ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-64 You will need to install the following libraries. $ sudo apt-get install libqt4-dbus libqt4-network libqt4-xml libasound2 Now install skype(the file u just downloaded, may be named intrepid-ibex) $ sudo dpkg -i skype-XXXXXXXXXXXX.deb If you still get some dependency error then just type the command below $ sudo apt-get -f install this will install the dependencies and the skype. Non - Terminal Download the setup 32 -bit 64 -bit You will these packages: libqt4-dbus libqt4-network libqt4-xml . Goto Synaptic manager and install them. Now Launch the Skype install .deb file (just double click it) and follow the on screen prompts.

Howto Install BSNL wll clarity phone in Ubuntu

Hello linixians, Failed to access internet through your bsnl clarity phone.... Here is an easy way 1. Just download this executable..... bsnlclarity and save it to your home folder. 2. Connect your phone to the system with the usb cable. 3. Now at terminal type $ sudo ./bsnlclarity You will be asked for your username and password for accessing the internet enter it ..... now start surffing Ctrl+C to stop

gtalx: Howto Gtalk in ubuntu ( google talk )

Did you fail to use " gtalk in ubuntu " ... Now you can chat and talk to your gmail buddies in ubuntu... 1. check for gtk2.0 and qt4 $ sudo apt-get install libgtk2.0-dev $ sudo apt-get install libqt4-dev libogg-dev libtheora-dev $ sudo apt-get install libsdl-dev libavcodec-dev libswscale-dev $ sudo apt-get install libexpat-dev libraw1394-dev libvorbis-dev $ sudo apt-get install libgsm1-dev  libspeexdsp-dev libmediastreamer0-dev libortp-dev 2. Remove 'pulse audio sound server' Open synaptic package manager and remove pulse audio 3. "Download gtalx" from here Dowload it here 4. Extract the file.... $ tar -zxvf 0.0.4.tar.gz 5. Get into the directory.... $ cd 0.0.4 and then... $ sudo chmod u+x make $ ./make $ sudo ./make install 6. Enjoy..... Please comment about your installation(whether it was a success or not....) Take gtalx from Applications > Internet > gtalx Enter your gmail login information..and click connect...