On Saturday 14 Apr 2012 14:26:14 Alan Mackenzie wrote: > Hello, Walt. > > On Fri, Apr 13, 2012 at 05:11:43PM -0700, walt wrote: > > On 04/13/2012 08:39 AM, Alan Mackenzie wrote: > > > Hi, all. > > > > > > My printing's not working. I've got cups-1.4.8-r1 installed. > > > > Have you tried deleting the cups printers using the localhost:631 cups > > server? I've had so many obscure printing problems after updating the > > cups package, I just routinely delete and recreate the printers before > > I even try to print something. Usually fixes my printing problems. > > OK, I tried that (though it turns out it wasn't the problem, see below). > I'm glad I wrote down my about-to-be-deleted config first. localhost:631 > has got to be the cruddiest GUI configurer around. I think I had to > describe my (USB connected) printer as "scsi", and then a little later > had to enter a "NAME", without any indication being given of whose name. > Luckily, I have enough experience to guess correctly, 'cause there's no > help on these things. How I hate cups! > > My actual problem was that my printer is on /dev/lp0, generated by mdev. > When I switched back to a udev system, the printer's on /dev/usblp0 > (which is a symlink to /dev/usb/lp0). > > There doesn't seem to be anything in any cups config file to specify the > device to print to. The nearest thing to a config item is > > DeviceURI usb://Samsung/ML-1450 > > in /etc/printers.conf.
I think you mean /etc/cups/printers.conf ? > I don't know where "usb://" is defined - Firefox > rejects it straight off. I don't know how this URI is converted to > /dev/usblp0, but it seems to be hard coded in effect. > > So, can I configure "usb://Samsung/ML-1450" as /dev/lp0? In your printers.conf try something like: DeviceURI usb:/dev/usb/lp0 or DeviceURI usb:/dev/usblp0 For parallel connection it would be something like: DeviceURI parallel:/dev/lp0 Don't forget to restart cups. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.