dayan
dayan

Reputation: 402

Determine the correct /dev/usb/lp*

Is there a way to determine which printer uses which /dev/usb/lp* ? I'm building a system which should automatically allocate printers if reconnected. And I don't want to force assignment using udev rules. I can find the required device on the bus, but can't find it's /dev/usb/lp*.

Please help.

Upvotes: 2

Views: 944

Answers (1)

dayan
dayan

Reputation: 402

udevadm info -q all -n /dev/usb/lp1 

Upvotes: 1

Related Questions