Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Feb. 15 2008,13:14 |
|
As mentioned - this was "suspiciously easily" and now cups is reverting to type...
I've compiled cups-1.3.5, espgs-7.05 (so I can use some of the files in the base dsl), hpijs-2.1.4 and foomatic-filters-3.0 (and libusb-0.1.12 just in case)
The only printers I have to test cups connect via usb - when I connect one of them, I get something like this:Code Sample | $ dmesg ... hub.c: new USB device 00:1d.2-1, assigned address 2 usb.c: USB device 2 (vend/prod 0x3f0/0x211) is not claimed by any active driver. usb.c: registered new driver usblp printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 3 vid 0x03F0 pid 0x0211 printer.c: v0.13: USB Printer Device Class driver |
If I search /dev for usblp or usblp0, I cannot find anything - which might explain why I cannot print to usblp0 - does anybody know why nothing is created in /dev for the printer? (note that the printer module loads automatically and is used by the usbcore module)
I can execute the cups usb backend:Code Sample | $ sudo /opt/cups-1.3.5/lib/cups/backend/usb direct usb://HP/OfficeJet%20K80?serial=ES0911401VOH "HP OfficeJet K80" "HP OfficeJet K80 USB #1" "MFG:Hewlett-Packard;MDL:OfficeJet K80;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet K Series;1284.3M:f7f,f7f;1284.4DL:4d,4e,1;SERN:ES0911401VOH;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,K0,C0,SM,NR,KP051,CP031;AiO:0;DW-PCL;" |
and enter a printer uri=usb://HP/OfficeJet%20K80?serial=ES0911401VOH in cups, but this does not print either - this might be because hpijs cannot handle uri of this format. Note that the cups error_log does not show any errors in debug mode...
I don't want to compile hplip in order to be able to print because I need to verify that cups can print without it.
Any ideas?
|