[cups.bugs] Identical printers, sub backend

Johannes Meixner jsmeix at suse.de
Thu Jan 10 01:42:00 PST 2008


On Dec 30 02:57 Fernando wrote (shortened):
> The output of backend usb is:
> direct usb://Xerox/Phaser%203124 ... "Xerox Phaser 3124 USB #1" ...
> direct usb://Xerox/Phaser%203124 ... "Xerox Phaser 3124 USB #2" ...
> With udev it's possible to assign the same name regardless
> of the order in which the device gets detected

Looks like a good idea for a workaround for USB printers
which don't report the serial number in the 1284 device ID.

Use udev to assign a fixed device files, e.g.

Use a fixed device file URI via file:... as follows:
- stop the cupsd
- add "FileDevice Yes" to /etc/cups/cupsd.conf
- start the cupsd
- set the DeviceURI to file:/dev/usb/name.serial{1,2} via "lpadmin -v"

Note that the file DeviceURI is insecure, see "FileDevice" at

Kind Regards
Johannes Meixner
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex

More information about the cups-devel mailing list