Step-by-Step IPP based Print Server using CUPS - Page 2

2. Installation/Configuration of printer drivers

Print Driver Installation for PostScript Printer on linux.

Printer Model: HP LaserJet 1020
Operating System: CentOS 4.4

Note: Steps 1 to 9 are differs from printer to printer

Step #1

# cd /tmp

 Step #2 - Download print driver for HPLJ1020

# wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz

Please go through the reference: http://foo2zjs.rkkda.com/ for more information on different type of printers.

Step #3    - De-compress the file

# tar zxf foo2zjs.tar.gz

 Step #4 - Compile it

# cd foo2zjs
# make

 Step #6    - Get the driver info for HP LaserJet 1020

# ./getweb 1020

 Step #7    - Installation of driver

# make install

 Step #8    - Enable it for USB hot plugging feature

# make install-hotplug

 Step #9    - Configure HPLJ1020 drivers to cups

# make cups

 Step #10 - Configuration of printer using Command Line Interface

# lpadmin -p hplj1020 -E -v /dev/usb/lp0 -m /backup/downloads/foo2zjs/PPD/HP-LaserJet_1020.ppd
- Set it as default (if require)
# /usr/sbin/lpadmin -d hplj1020
- Start printer services
# /usr/bin/enable hplj1020
- Accept printing
# /usr/sbin/accept hplj1020

Step #10 - Configuration of printer using GUI Interface (Preffered)

# printconf-gui

 -    The above command displays the GUI Interface.

Or we can choose it from
    (GNOME)-> Applications -> System Settings -> Printing

ipp_driver01

- Click Button “New”.

ipp_driver02

-> Click Button “Forward”.

ipp_driver03

- Name = hplj1020   (choose your own)

- Short description = HP LaserJet 1020 PostScript Printer (choose your own)

ipp_driver04

Select the printer.

Note: If the printer is just connected, use button “Rescan devices” to list the printer.

ipp_driver06

Select the Manufacturer and Model of the printer.

ipp_driver07

Click the Button “Yes”  (for test page).

ipp_driver08

If the test print is ok  Click button “Yes”.

Share this page:

4 Comment(s)

Add comment

Comments

From: Anonymous at: 2010-03-22 16:33:49

Pretty cavalier to just use line numbers in a conf file that will change in every single version upgrade. How about showing diff -u output, or otherwise giving a bit of context to the changes?

From: Bill at: 2011-04-03 19:21:01

I agree with anonymous, just using line numbers is not helpful; these change between versions.  It forces the reader to assume what stanza you are referring to.  The header titles would prove far more useful.  

From: at: 2006-12-19 17:12:21

Thanks to ganesh35 for this Howto! It was very helpful, using my Samsung CLP-550N as printer for my Win2000 virtual machine (VMWare) running on a Kubuntu 6.06 host-system.

But as I had some serious problem finally printing from Win2000 using IPP, I want to post my solution as a comment. Perhaps someone finds it useful.

Use the cups Web Administration tool to create a new Class (for exampleyou name it: Printer) and add your printer to this Class. Then edit the hosts file in your Win2000 system (you find it under \\Winnt\system32\drivers\etc) and add a new entry with the IP-Adress of the cups-server and the name of the computer running the cups-server (Example: 192.168.0.5   powermachine). Finally use the following URL in the AddPrinter Wizard of Win2000: http://powermachine:631/classes/Printer where you replace the italic parts with your settings. (The URL stated in the Howto http://IP-Adress:631/printers/name-of-printerqueue is NOT working with Win2000 but with WinXP)

If you still encounter error messages like "Printer is not connected to this server", then check your security settings / access settings in your cupsd.conf.

As I know the name of my computer, running the cups-server, I used this one in the hosts file. But, please correct me, if I am wrong, as the communication between the computers should finally be based upon the IP-Adress, I think you can use any name for the entry in the hosts file, as long as it is the same as used in the URL for connecting the printer with the AddPrinter Wizard. (Perhaps this may not work in pure Windows networks.)

 Thanks for comments

Controller

From: Anonymous at: 2008-11-23 00:57:36

cool beans, it worked. now we need an article on how to download the drivers from unix/cups/samb to a new windows xp client automatically.