usb_printerid(1) General Commands Manual usb_printerid(1)

usb_printerid - prints the ID of the printer on a USB port

usb_printerid [options] /dev/usb/lpNNN

usb_printerid prints the identification of the printer on a USB port using the ioctl control LPIOC_GET_DEVICE_ID.

Print the USB info before and after downloading the firmware.

# usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;\
DES:HP LaserJet 1020;
# cp /var/lib/foo2zjs/firmware/sihp1020.dl /dev/usb/lp0
# usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;\
DES:HP LaserJet 1020;FWVER:20050309;

/usr/bin/usb_printerid, /var/lib/foo2zjs/firmware/*

arm2hpdl(1)

Rick Richardson <rick.richardson@comcast.net>
http://foo2zjs.rkkda.com/

Wed Apr 10 21:38:27 2024 usb_printerid 0.0