tuvik n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Feb 2007 Posts: 1 Location: USA
|
Posted: Wed Feb 14, 2007 10:25 pm Post subject: Strange USB printing problem (LaserJet 1000) |
|
|
Following a recent 'emerge world' my LaserJet 1000 stopped responding. It still prints as usual from Windows, so the issue is not with the hardware.
I've installed this type of printer many times, under various Linux distributions, from packages and from source, and have never come across the situation I'm facing now. If anyone has an idea as to what may cause it I would appreciate any bit of information.
The device file /dev/usb/lp0 is created correctly, and upon connecting the usb cable the printer seems to be properly initialized (i.e. blinks and purrs as expected). However, it doesn't print, and when I manually try to load the firmware to it using
Code: | cat sihp1000.dl > /dev/usb/lp0 |
it takes a couple of seconds for the command to finish, but with no apparent effect - no led blinking, no noise from the printer.
I'm running udev-104-r9, and the udev rule file creating the device looks fine:
Code: |
/etc/udev/rules.d/11-hplj10xx.rules
#Own udev rule for HP Laserjet 1000
KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0517", NA
ME="usb/%k", SYMLINK="hplj1000%e", MODE="0660", GROUP="lp", RUN+="/sbin/foo2zjs-
loadfw 1000"
...
(more entries for other printers)
|
When I try to manually run foo2zjs-loadfw, I get the following error:
Code: |
golem foo2zjs # foo2zjs-loadfw 1000 /dev/usb/lp0
MFG:Hewlett-Packard;MDL:hp LaserJet 1000;CMD:ZJS;CLS:PRINTER;DES:hp LaserJet 1000;FWVER:20011207;
MFG:Hewlett-Packard;MDL:hp LaserJet 1000;CMD:ZJS;CLS:PRINTER;DES:hp LaserJet 1000;FWVER:20011207;
/sbin/foo2zjs-loadfw: HP LaserJet 1000 firmware already loaded into /dev/usb/lp0
|
but trying to print to the printer fails all the same.
I also tried to create a raw printer queue and send zjs encoded files to it:
Code: |
foo2zjs-wrapper testpage.ps > testpage.zm
lpr -Praw testpage.zm
|
but the result was the same.
In the logs I couldn't detect anything out of the usual:
Code: |
Feb 14 15:06:35 [kernel] usb 3-2: new full speed USB device using uhci_hcd and a
ddress 13
Feb 14 15:06:35 [kernel] usb 3-2: configuration #1 chosen from 1 choice
Feb 14 15:06:36 [kernel] drivers/usb/class/usblp.c: usblp0: USB Bidirectional pr
inter dev 13 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0517
Feb 14 15:06:36 [/sbin/foo2zjs-loadfw] loading HP LaserJet 1000 firmware /lib/fi
rmware/sihp1000.dl to /dev/usb/lp0 ...
Feb 14 15:06:36 [/sbin/foo2zjs-loadfw] ... download successful.
|
Any ideas?! |
|