knoxcu / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 0 forks source link

Printer HPLaserjet 1005 does not work #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Followed the installation instructions in beta3_20090811_user_manual_1.
Note, I run "SNAKE OS V1.0.0 (20091027)"  
2. plug the printer. Printer recognized by NAS( drivers/usb/class/usblp.c:
usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid
0x1317)
3. try to print

What is the expected output? What do you see instead?
Expected output: page printed. I see instead an error: Error-Imprimiendo.
Note, if the printer is plugged directly in the PC, it works.

What version of the product are you using? On what operating system?
* I use latest avaialble drivers in www1.HP.com
(http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=u
s&prodNameId=214539&prodTypeId=18972&prodSeriesId=240170&swLang=8&taskId=135&swE
nvOID=228)
for the PC.

Please provide any additional information below.
* I have a second printer (HP deskject940c) that works without problems
* I found similar problem described for Debian. Link provide procedure for
fixing the issue (http://foo2zjs.rkkda.com/INSTALL)

-No further information available for this case. Let mi know if further
info is needed.

Original issue reported on code.google.com by Angel.M....@gmail.com on 13 Apr 2010 at 9:36

GoogleCodeExporter commented 9 years ago
Some printers are incompatible with the daemon used for printer sharing 
(p910nd) and
therefore are out of the scope of this project to fix them.

Please refer to p910nd project in order to address this.

Project homepage: http://p910nd.sourceforge.net

Original comment by dgazi...@gmail.com on 17 Apr 2010 at 10:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
** SOLVED for LaserJet 1020 **

After some research on google, I found a solution here 
http://downloads.dd-wrt.com/phpBB2/viewtopic.php?p=424483

Just send a specific firmware for your HP printer. You can do this by accessing 
the NS-K330 via SSH (root login, password snake), and do the following steps 
for HP 1020:

1 - Download a firmware update: wget http://oleg.wl500g.info/hplj/sihp1020.dl 
(this is for Laserjet 1020, 1018 also tested changing the last value od .dl 
file)

2 - Send to the printer with the command: cat sihp1020.dll >/dev/lp0

The printer will start, and from there will work normally with the SnakeOS.

Original comment by ismael...@gmail.com on 21 Aug 2010 at 6:11

GoogleCodeExporter commented 9 years ago
Hello Ismael, these are excellent news!! I downloaded the sihp1005.dl and I am 
ready to send it to the printer. Before doing it and, since I am not a guru of 
changing firmwares in printers, can you tell me some few hints:
1- file downloaded is ".dl", shall I simply change name to ".dll"?
2- how do I backup the current firmware (in case I have to recover it)?
3- have you tested the printer with the new firmware directly connected to a PC 
again? Any difference after the upgrade?
I would appreciate those inputs before go ahead :-) 

Many thank in any case for the good news!! I think I will try in any case :-D 
Worse case is to buy a new printer. This time in the list of compatible ones 
from the beginning ;-))

Original comment by Angel.M....@gmail.com on 28 Aug 2010 at 6:00

GoogleCodeExporter commented 9 years ago
It is not necessary to rename the .dl file 

To automate the process do the following: 

1 - Record sihp1020.dl file in /etc/init.d
2 - Edit /etc/init.d/sshd and insert the following line 
function start () 

/bin/cat /etc/init.d/sihp1020.dl >/dev/lp0 

3 - Web: System> Config> Config Save 

* Whenever you turn off the printer, you should also turn off the BT and 
start the two together again to send the BT driver 
automatically at startup, and thus can use 
printer.

Original comment by ismael...@gmail.com on 8 Apr 2011 at 2:29

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Ismael, thanks for you help. Issue99 proposes few scripts to automate the 
load of the firmware automatically when connecting or switching the printer. 
comment 16 with a minimal swap of the setprinter position works perfectly. 
Maybe you want to have a look to it. 
Thanks for your help.
Angel

Original comment by Angel.M....@gmail.com on 16 Oct 2011 at 2:09