LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-13-2007, 03:31 PM   #16
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30

i can try to follow the procedure above one more time next time i'll need to print something. tomorrow. thank you very much for your patience and follow-up. i don't know any linux-competent people to share this irrationality with...

regards
ungua
 
Old 03-14-2007, 12:41 PM   #17
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
i followed the receipt one more time and it doesn't work at all, NO REACTION from the printer at all. i am embarrassed and angry, want to throw away this new printer i spend so much money on...

regards
ungua

edit 15/03/2007: i went root and deleted everything related to the printer. then i followed the instructions above for the fifth time and now it seems to work. haven't restarted the notebook yet, but restarting the printer does not result in losing the configuration anymore. not yet, so to say.

Last edited by ungua; 03-19-2007 at 08:25 AM.
 
Old 03-20-2007, 10:26 AM   #18
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by ungua
i followed the receipt one more time and it doesn't work at all, NO REACTION from the printer at all. i am embarrassed and angry, want to throw away this new printer i spend so much money on...

regards
ungua

edit 15/03/2007: i went root and deleted everything related to the printer. then i followed the instructions above for the fifth time and now it seems to work. haven't restarted the notebook yet, but restarting the printer does not result in losing the configuration anymore. not yet, so to say.
this is probably my last post in this thread, just to document that it stopped working again. turning on the printer to print something this morning, it didn't work. again, a "not configured" printer of exactly the same make was registered, in addition to the installation with the foo2kjz driver. deleting it won't have any effect. it seems as if i have to install the driver over and over again if there is more than 24h between attempts to print... or something similarly irrational.

regards
ungua
 
Old 03-20-2007, 12:19 PM   #19
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Rep: Reputation: 31
I spent a couple of hours getting my HP 1020 to work last weekend. It wasn't too hard. Below are the steps, links and notes that I used. I hope they help!

I am using a minimal install of Centos 4.4.

configure hp 1020 printer on rhel/centos
----------------------------------------

http://foo2zjs.rkkda.com/
http://openprinting.org/show_printer...-LaserJet_1020

Edited Notes
This printer is supported by the foo2zjs free software printer driver.
The printer is faster than the LaserJet 1000 and has a USB connection. It has only 2 MB of RAM and 32 kB of ROM.
The firmware of the printer must be uploaded after turning it on. You can use a hotplug/udev script which comes with foo2zjs, or do it manually: "cat /usr/sha
re/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0

------------------------------------
FedoraCore3(or later)/CentOS4(RHEL4)
------------------------------------

* up2date -i foomatic
* up2date -i ghostscript

You need to use foo2zjs as mentioned above, however the
firmware that foo2zjs current provides is old and has
problems printing more than a few pages, and also with
certain complex pages. The site mentioned above (
support.ideainformatica.com) no longer seems to offer
the firmware, so what I did was to "borrow" it from
windows:

1) Using a Windows system, download the driver from
www.hp.com.
2) Install the driver.
3) In "C:\Program Files\Hewlett-Packard\LaserJet
1020-1022 Drivers\", copy the file hp1020.img.

Now get into Linux as root, and do the following:

1. wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz
2. tar xzvf foo2zjs.tar.gz
3. cd foo2zjs
4. make
5. (copy the hp1020.img into this folder as sihp1020.img)
6. make install
7. make install-hotplug

Switch off-and-on the printer, you should see something like this
in your /var/log/messages:

kernel: usb 1-1: new high speed USB device using ehci_hcd and address 9
kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
/etc/hotplug/usb/hplj1020: loading HP LaserJet 1020 firmware /usr/share/foo2zjs/firmware/sihp1020.dl to /dev/usb/lp0 ...
/etc/hotplug/usb/hplj1020: ... download successful.

---------------------------------------------------------

1. install lynx
2. you need to add yourself as a user, in a console type
$ lppasswd -a yourusername
it will ask for a password, enter your password & press enter. then re-enter password to confirm.
next time you want to use cups admin enter your username & the password & you should be good to go.
3. Add CUPS printer:
$ lynx http://localhost:631

or

Then set up your printer queue by running system-config-printer-gui (system-config-printer (commandline)):
1. click New, and Forward.
2. Enter a name and description.
3. Queue-type: Locally Connected, /dev/usb/lp0
4. Choose HP LaserJet 1020
5. Finish, and print a test page!

------------------------------------------------------------

!ERROR: client-error-document-format-not-supported

FIX: in the /etc/cups dir I had to edit the files mime.convs and mime.types, and had to remove the # before the line application/octet-stream. Than restarting
cups and it worked.

-------------------------------------------------------------

configure samba to share printer. if you want my notes on this, then let me know.

Last edited by XaViaR; 03-20-2007 at 12:20 PM.
 
Old 03-20-2007, 12:24 PM   #20
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
thank you very much for your help! are you sure this will work in suse? i will try to follow this receipt when i get some spare time, probably in the weekend, and report my i-hope-it-will-be-success here.

regards
ungua
 
Old 03-20-2007, 12:41 PM   #21
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Rep: Reputation: 31
I don't know if my steps will work for SuSe since I am using CentOS. If you follow this link, you will find info "HowTo's" for SuSE. This is the website that I found the majority of my info. Of course I had to ticker with some configs and install additional software since I am running a minimal install, but that was not a big deal. Below is the link that you should read and follow for SuSE.

Best of Luck!

http://openprinting.org/show_printer...-LaserJet_1020

Of course, you can allows switch to CentOS and get your printer working with my exact settings! :P
 
Old 03-20-2007, 01:33 PM   #22
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
hehe, well, shifting to another os is really not too easy for me now. the problem with getting proper drivers for the hp laserjet 1020 as described above is also that i lack a working windows-partition. but i hope i can fix that somehow...

regards
ungau
 
Old 03-20-2007, 04:26 PM   #23
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Rep: Reputation: 31
if you are running wine, you might be able to extract the necessary drivers from hp's website for the laserjet 1020. just a thought. Or you can install vmplayer or use XEN in Linux.
 
Old 03-20-2007, 06:13 PM   #24
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
i'll have that in mind!

best regards
ungua
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP laserjet 2200d and Suse 10.1 printing problem azezal6666 Linux - Newbie 1 01-22-2007 06:42 AM
HP 1020 doesn't work on Debian Unstable ryzozwierz Linux - Hardware 4 04-11-2006 10:52 AM
HP LaserJet 2100 Parallel Printer on SUSE 10.0 aherm Linux - Hardware 1 10-20-2005 01:16 PM
Suse 9.1 Print server trouble with HP Laserjet 4 Plus ferruga Linux - General 1 10-14-2004 01:12 PM
Laserjet 5L with SuSE 8.0? Fred Affe Linux - Hardware 2 08-18-2003 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration