LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-07-2007, 01:35 PM   #1
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Rep: Reputation: 30
making hp laserjet 1020 work in suse 10.1


i bought a hp laserjet 1020 which is not yet working. i tried this receipt first, which worked well until the part
Quote:
At this stage you can click "test" and "OK" and you should get a printout of the test page.
- i get no reaction from the printer at all.

next try with this one:
Quote:
SuSE 10.1
=========

The HP LJ 1020 works fine with suse 10.1. Yast detects the printer but I had to
create a new printer

- add (directly connected printer)
- USB printer
- then when presented with a list starting with //HP/laserJet 1020 click 'Other'
- add /dev/usb/lp0 (Assuming your printer is using this device - it can be set
in the hotplug script/etc/hotplug/usb/hplj1000
- continue and select the printer type etc etc

All should be well. I couldn't get it to work with device //HP/laserJet1020 but
the above workaround will get you printing."
when i choose the device, yast offers me to test it. the response is positive and yast tells me that the printer has to react somehow, the lights blinking at the least. that does not happen. unfortunately, i don't understand the part with the script, how do i do that!? may that come in conflict with my external harddisc if i mess it up?

i would be very grateful for any help!

best regards
ungua

edit: also continuing with the "printers for dummies"-receipts above won't change my printer's "i don't do anything"-attitude.

Last edited by ungua; 02-07-2007 at 01:36 PM.
 
Old 02-09-2007, 06:39 AM   #2
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
I recently installed an HP 1018 printer on a SUSE 10.2 box. The HP 1018 uses the same ZjStream protocol as the 1020. I followed the advice given by the person who developed these drivers: http://foo2zjs.rkkda.com/ and everything worked fine. Remember to compile the file correctly and follow the instructions exactly. For example, the driver for each printer is slightly different, so you need to use the ./getweb 1020 command as part of the process to tailor the driver to your 1020 printer.
 
Old 02-13-2007, 08:48 AM   #3
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
i found that through google, too, but thought it was related to the first of the receipts i tried. i will go through that in the coming days, whenever i get the time. thank you for your link!

best regards
ungua
 
Old 02-13-2007, 03:31 PM   #4
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
unfortunately, it didn't work. i am in contact with hp support now, they recommended this one:
http://hplip.sourceforge.net/downloads.html

but how do i run a file that ends on ".run"? when i log in as root, the file is opened with kwrite, the other option is kate. "actions" contains nothing that makes sense either. typing this file name in a terminal won't result in anything either.

best regards
ungua

p.s.: in "run command" i get the message: "no hp all-in-one device found". what could that mean!?
 
Old 02-13-2007, 03:44 PM   #5
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
This is a shell program, meant to be executed from a command line. Open a terminal window (such as KTerminal), navigate to the directory where you saved the file and then enter:
sh hplip-1.7.1.run
 
Old 02-14-2007, 04:46 AM   #6
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 advice! i haven't come so far yet, adding
http://suse.mirrors.tds.net/pub/open...1/inst-source/
http://mirrors.kernel.org/suse/i386/...x10.1-GM-Extra
to my installation sources in yast2 is >2h ago, the window is still showing the mouse with a clock and nothing happened yet. how do i close such a window without a restart? is there an equivalent to ctrl-alt-del in linux?

thank you & best regards
ungua

edit: now it finally could be closed. unfortunately, the device seems to be damaged: running "installation sources" now results in a comment "source damaged - use it anyway?" and afterwards nothing is displayed in the table. still, the mouse has the waiting-clock-form. "yast2@dhcppc2", the installation source window, cannot be closed again. so i'm waiting. this really disturbs the work i have to get done today...

edit 2: live-news i ran the binary again right after the last entry at 12:09 am. it has just stopped (13:27) with the following message:
Code:
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "yast --install libjpeg-devel python-devel python-xml cups-devel net-snmp-devel xsane"'
Please wait, this may take several minutes...
|Exception
Traceback (most recent call last):
  File "./install.py", line 134, in ?
    text_install.start(auto)
  File "/home/ungua/hplip-1.7.1/installer/text_install.py", line 554, in start
    log.error("Package install command failed with error code %d" % status)
TypeError: int argument required
what can i do about that error? i never thought this might be so complicated. it's only a printer...

Last edited by ungua; 02-14-2007 at 06:29 AM.
 
Old 02-14-2007, 01:27 PM   #7
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
Have you ever installed programs from source before? If not, I suspect that is your problem. Programs that run from scripts often need to compile (convert from the human-readable version to the binary version) on your machine. If you are not set up to do this, the system will report all sorts of errors--some very hard to decipher. To get around this, use YaST to install the following packages in SUSE:

kernel-source, binutils, gcc, gcc-c++, glibc-devel, make

Once these are installed, everything should work properly.

Incidentally, the ability to use source code is one of the advantages of Linux (believe it or not). The alternative is to wait until someone compiles things for you and puts them into the repository. Once that happens, the printer will install like any other. The disadvantage is that you may have to wait a couple months for that to happen. Much better to go ahead and compile things on your own.
 
Old 02-14-2007, 02:21 PM   #8
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 another enlightening answer! i do believe that this opportunity is a giant advantage for linux. my problem is just that i lack the time to really sit down and study those things. even after 2 years with 3 versions of suse i consider myself a newbie. but linuxquestions usually is the right place to ask.

best regards from norway
ungua

edit: all these programs are already installed, so i'll try the binary again.

Last edited by ungua; 02-14-2007 at 02:41 PM.
 
Old 02-14-2007, 08:35 PM   #9
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
Quote:
Originally Posted by ungua
is there an equivalent to ctrl-alt-del in linux?
Yes, try Ctrl-Alt-Esc. Your cursor should turn into a skull and crossbones. Move it over the window of the application you wish to kill and click the left mouse button. If you change your mind, click the right mouse button and the skull and crossbones will disappear without killing any applications.

Quote:
Originally Posted by ungua
thank you very much for another enlightening answer! i do believe that this opportunity is a giant advantage for linux. my problem is just that i lack the time to really sit down and study those things. even after 2 years with 3 versions of suse i consider myself a newbie. but linuxquestions usually is the right place to ask.

best regards from norway
ungua

edit: all these programs are already installed, so i'll try the binary again.
You are welcome. Sorry that things do not seem to be working out. You might also try carefully stepping through the instructions on the page I cited with my first post. It worked for me the first time I tried, so it should be worth another look. Good luck in any case.
 
Old 03-02-2007, 05:13 PM   #10
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
a little update: i have been very busy over the last days and had no time trying to fix the printer. unfortunately, my windows-partition destroyed itself (first message, automatic shutdown with next start). i need windows to run spss, among others. when i first have to set up windows again, i will also try another linux distro. kubuntu, fedora and absolute linux are downloaded and ready to be used, i am just waiting for some spare time...

best regards
ungua
 
Old 03-12-2007, 03:22 AM   #11
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
it works!!
 
Old 03-13-2007, 03:43 AM   #12
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
now it doesn't work again... how shall i understand that!?!? checking yast, i got this error message. there is also another hp laserjet 1020 registered as "not configured". where does that one come from? does this imply that i always have to have the printer turned on when my notebook is running? or will a restart mess it up again, too? i had the printer working like it should be before... it simply doesn't make sense. and it put me in a very bad situation now... have to spend an hour to get to university and print out what i need to have with me right now... [windows doesn't work anymore, shuts down itself with "services.exe" all the time after i went online with it.]

regards
ungua
 
Old 03-13-2007, 12:49 PM   #13
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
The Linux driver usually works, but not necessarily always. If you change something (like updating CUPS), you may need to recompile and reinstall the driver.
 
Old 03-13-2007, 01:01 PM   #14
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
i didn't change anything. there wasn't even a restart between the working driver yesterday and the my time-crushing desaster this morning. i see that the screenshot has not been uploaded, there appears to be a problem with my provider. the message says:
Code:
cups(File)DoRequest error : client-error-bad-request
i tried to restart cups as it is noted in the last part of your link, this did not work. than i had to leave... so there's a possibility that i'll have to recompile it everytime i use my printer, unless i always leave it turned on!?

regards
ungua
 
Old 03-13-2007, 01:19 PM   #15
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
Quote:
Originally Posted by ungua
i didn't change anything. there wasn't even a restart between the working driver yesterday and the my time-crushing desaster this morning. i see that the screenshot has not been uploaded, there appears to be a problem with my provider. the message says:
Code:
cups(File)DoRequest error : client-error-bad-request
i tried to restart cups as it is noted in the last part of your link, this did not work. than i had to leave... so there's a possibility that i'll have to recompile it everytime i use my printer, unless i always leave it turned on!?

regards
ungua
Well, if you did not update anything, my guess was not correct. Once the driver works, it should keep working. Therefore, I do not know what the problem may be.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:02 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration