[cups.general] Hardcode path to USB printer using libusb

Michael Sweet msweet at apple.com
Tue Sep 6 12:55:54 PDT 2011


The CUPS usb backend does not support that URI syntax.

For this situation I would just use the kernel's USB printer driver with "file:///dev/usb/lp0" (or wherever the USB printer devices are put these days). You'll need to set FileDevice to Yes in cupsd.conf to use file destinations...

On Sep 6, 2011, at 12:43 PM, Thomas York wrote:

> I'm using cups 1.4.4 on an fully-up-to-date Debian Squeeze (6). This device is an embedded ARM device that has a single USB port. It's sole purpose is to be a print server with Zebra barcode printers (using the RAW driver in cups). I can print without issue by using the DeviceURI that the cups web management console detected for the USB Zebra printer. The problem is that this DeviceURI references both the exact model and serial number of the printer.
> 
> I did some digging and it appears that cups now uses libusb as its backend. I also read that I should be able to use usb:///dev/bus/usb/002/001 (which is the correct libusb path to anything plugged in to the USB port on this device) to reference the printer. I've tried to change the DeviceURI in cups to this path, but it simply doesn't work. I see nothing in the logs about errors printing to it. The job simply doesn't print.
> 
> Is there something simple I'm missing on getting this to work? Thanks.
> 
> --Thomas York
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list