Assign fixed path to printer (/dev/usb/lp0)
Matthew Barrera
I have two USB printers. They are assigned a path depending on the order of turning them on. The first one is /deb/usb/lp0 and the second one /deb/usb/lp1. However, I sometimes echo to these printers directly and need to know which one is lp0 and which one is lp1. Can I assign a fixed path in some way?
Thanks!
1 Answer
You can write udev-rules to assign different names to the printer, depending on their serial numbers.
See for an example of a udev printer rule.
1