Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ [1] 2 3 4 5 6 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: cups-1.3.5, /var and epsgs< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 10 2008,10:11 QUOTE

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.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Feb. 10 2008,10:46 QUOTE

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.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 15 2008,13:14 QUOTE

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?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Feb. 15 2008,18:19 QUOTE

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

EDIT:
i.e. see printer setup in http://www.trustix.org/content/view/19/47/
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 16 2008,09:00 QUOTE

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...
Back to top
Profile PM 
29 replies since Feb. 10 2008,10:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ [1] 2 3 4 5 6 ... >/
reply to topic new topic new poll
Quick Reply: cups-1.3.5

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code