SLS

 

Title: HowTo Install a Hewlett Packard Laserjet Model 1020


page is out of date Conetmporary version is on this link


Update October 2007. This tutorial has been superseded: The driver at foo2zjs.rkkda.com has evolved since I wrote this tutorial for Suse Linux 10.0. I need to change it to reflect the current status of the HP Laserjet 1020. I will when I get time but in the interim please go to the revision on Swerdna•Net for a contemporary Tutorial.

Description: This HowTo demonstrates the installation of a HP Laserjet Model 1020 printer in SuSE/OpenSuSE 10.0 and 10.1, covering driver download, make & installation tips, CUPS/queue configuration
and printer eccentricities.

Prerequisites: You need to have "make", "kernal-source" and "gcc-c+ +" installed [they're on CDs/DVD for SuSE 10]

To check and/or to install open Yast
  • Yast->Software Management->Search
  • Search for "kernel-source". Make sure the box is ticked.
  • Search for "gcc-c++" and make sure the box is ticked.
  • Search for "make" and make sure the box beside "make----------------GNU make" is ticked
  • Click "accept" and go with the flow until you exit Yast.

Connect Printer

SuSE might autodetect the printer. If encouraged to configure the printer, don't proceed [i.e. don't use SuSE 10's driver database].

Download Driver: obtain "foo2zjs.tar.gz" from foo2zjs.rkkda.com (click the link)

Unpack & compile driver

Suppose, for example, you are the user "user" and you work in the directory "work" which is located at /home/user/work.

(1) Open a Konsole and unpack the driver:
  • Move the downloaded file foo2zjs.tar.gz to the directory "work"
  • cd work (your prompt becomes something like "user@linux:~/work>")
  • tar zxf foo2zjs.tar.gz

(2) Change to directory foo2zjs and compile driver
  • cd foo2zjs (your prompt becomes something like "user@linux:~/work/foo22zjs>")
  • make
If all proceeds smoothly then

Change to superuser and install driver
  • su
  • Password:
  • linux:/home/work/hp1020make/foo2zjs # (prompt should look something like this)
  • make install
If all proceeds smoothly then

[Note: this was first written for Suse 10.0 - when Suse 10.1 came out I found that the hotplug configuration and firmware upload in paragraphs (1) and (2) below was not needed for Suse 10.1 - great news - so if you like you can go straight to Configure queue/cups/etc just below]


Still as su - configure hotplug
  • make install-hotplug
If all proceeds smoothly then

Arrange firmware upload - Suse 10.0 only

Suse 10.1 users, skip over (1) and (2) straight to Configure queue/cups/etc

(1) Modify the file /etc/udev/rules.d/50-udev.rules
  • Find the line SUBSYSTEM=="usb", KERNEL=="lp*", ACTION=="add", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp" (searching on "lp*" makes this easier")
  • Comment the line out by adding # at the beginning

(2) Modify the file /etc/udev/rules.d/11-hplj10xx.rules
  • Comment all originally uncommented lines in the file out (use #)
  • Add this line to the end of the file: SUBSYSTEM=="usb", KERNEL=="lp*", ACTION=="add", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp", RUN+="/etc/hotplug/usb/hplj1020"

Configure queue/cups/etc

In Konsole, still as su enter yast2 printer

Yast will open (see pic).

image

You should see an entry for the HP Laserjet 1020 and maybe others. If the entry does not show "not configured" like the picture above then highlight it and click the delete button so it does show "not configured".

Then click the "add" button. Select the USB option. Click "next" and you should see this screen.

image

Make sure the highlight is like mine then click next. You should get this:

image

Select the device //HP/Laserjet 1020, click next, add a name like HPLaser1020. Click next and you should see two columns. Don't bother scrolling and selecting "HP" for the manufacturer and "Laserjet 1020" for the model. Instead, click "select PPD file" and you'll see a list of PPD files. Scroll until you have the HP hightighted. Here's a screenshot.

image

Highlight the HP driver. Then click next and you should get this:

image

Then click "test" and "OK" and you should get a printout of the test page. Click "OK" etc until Yast2 closes.

Voila one sincerely hopes!!


Eccentricities of the HP LJ 2010 as observed on Googling around researching the SuSE user/HP 1020 interface:

The printer will throw a fit now and then. Try closing and restarting the session.
There are occasional system-freezes when printing image-laden pages. (no choice but to restart system).
Some can't print over 20-25 pages in one run.
My experience since getting the printer going has been very frustrating - well I would not buy another?

10.1 users read this Hocs Pocus: If for some reason [e.g. power failes, child rubs cream into keyboard, etc] if for some reason the printer decides never to work again in 10.1, then do this: Turn everyting off, restart suse 10.1 with no printer. Power Suse off. Connect the printer to Windows, print something, turn it off, connect it to Suse 10.1 [both off], turn on printer, turn on Suse, resume. I know, I know, I know! [sorry but this won't work for 10.0. For 10.0 just re-do the Yast bit]


Credits:
LinuxPrintingDotOrg RickRichardson Swerdna's WebSite

Comments or Suggestions:
http://forums.suselinuxsupport.de/index.php?showtopic=34766

There are no comments on this page. [Add comment]


Warning: include(http://forums.suselinuxsupport.de/ssi.php?a=active) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/customers/webs/slwiki/actions/footer.php on line 51

Warning: include() [function.include]: Failed opening 'http://forums.suselinuxsupport.de/ssi.php?a=active' for inclusion (include_path='.:/home/customers/webs') in /home/customers/webs/slwiki/actions/footer.php on line 51

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0313 seconds