1. NAME

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

2. SYNOPSIS

usb_printerid [ options "] /dev/usb/lpNNN"

3. DESCRIPTION

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

4. EXAMPLES

Print the USB info before and after downloading the firmware.

 
Sélectionnez
# 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;

5. FILES

R /usr/bin/usb_printerid,

R /lib/firmware/hp/*

6. SEE ALSO

R arm2hpdl (1)

7. AUTHOR

Rick Richardson <>
http://foo2zjs.rkkda.com/ .em pdf_outline