HP LaserJet 1018 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Laserjet 1018 - USB problem? [Ubuntu 9.10]
Posted by: msardisco ()
Date: March 11, 2010 05:08PM

Hi.

My printer don't print :P

I have these problems:

# usb_printerid /dev/usb/lp0
Error: Input/output error: GET_DEVICE_ID on '/dev/usb/lp0'

# foo2zjs-wrapper -P -z1 -L0 /usr/src/foo2zjs/testpage.ps > xxx.prn
# cp xxx.prn /dev/usb/lp0
cp: cannot create regular file `/dev/usb/lp0': Device or resource busy


Is a USB problem?? Any idea to fix these problems?

Thanks!
Matías



Edited 1 time(s). Last edit at 03/11/2010 05:09PM by msardisco.

Options: ReplyQuote
Re: Laserjet 1018 - USB problem? [Ubuntu 9.10]
Posted by: rickrich ()
Date: March 13, 2010 07:03PM

$ cat /etc/issue
Ubuntu 9.10 \n \l

$ root grep URI /etc/cups/printers.conf
DeviceURI usb://HP/LaserJet%201020

$ usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;DES:HP LaserJet 1020;FWVER:20050309;

$ echo test | lpr
{printed fine}

$ sudo grep foo2zjs /var/log/messages
Mar 13 17:45:31 abby-laptop /etc/hotplug/usb/hplj1020: foo2zjs: HP LaserJet 1020 firmware already loaded into /dev/usb/lp0
Mar 13 17:45:31 abby-laptop /etc/hotplug/usb/hplj1020: foo2zjs: HP LaserJet 1020 firmware already loaded into /dev/usblp0
Mar 13 17:47:11 abby-laptop foo2zjs-wrapper: foo2zjs-wrapper -P -z1 -L0 -r1200x600 -p1 -m1 -s7
Mar 13 17:47:14 abby-laptop foo2zjs-wrapper: gs -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000  
Mar 13 17:47:14 abby-laptop foo2zjs-wrapper: foo2zjs -r1200x600 -g10200x6600 -p1 -m1 -n1 -d1 -s7 -z1  -u 192x96 -l 192x96 -L 0     -P

Works here on Ubuntu 9.10 with a HP LaserJet 1020.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.