System :: cups-1.3.5

I just started to compile cups-1.3.5 (and so far it went suspiciously easily) and have a couple of questions:

1. Since cups creates several folders in /var and seems to need these to be present and have the correct permissions in order to work - would it be OK to include these folders in user.tar.gz (rather than have them in the backup)?

2. Is all of epsgs required for cups to work? I can't believe 5MB (compressed) of epsgs stuff is required just for a ps to rastor driver for non-ps printers - or am I missing something?

BTW, the idea is to split cups and hplip and maybe not use hplip at all since the fax part of the two hp all-in-one printers I have (G85, K80) is confirmed as never going to be supported by hplip.

1. wouldn't be a proper uci anymore - wasn't the deal write only to /home, /tmp, /opt, and /etc?
It's fine with me though, as I doubt anyone would use cups in a low-ram environment.

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?

afaik, usually things in /dev have to be created manually, if not already included with the distro.  Could try using mknod.

i.e. see printer setup in

Thanks - coincidently, I'd just tried compiling hpijs from hplip and it looks like it created /dev/usblp0.

However, even if I use "sudo mkmod usblp0 c 180 0" the result is the same - I cannot print to it and get "Printer not connected; will retry in 30s..."

Even "echo "test" > /dev/usblp0" does not bring any result.

Bit of a mystery this...

Next Page...
original here.