Linux Command Library
commands
Commands
basic
Basic
tips
Tips

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 /lib/firmware/hp/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, /lib/firmware/hp/*

arm2hpdl(1)

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

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied