---
name: "usb_printerid"
section: "1"
platform: "linux"
package: "printer-driver-foo2zjs"
version: "20120510dfsg0-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_printerid"
---

# 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 /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)](/arm2hpdl/1.md) Rick Richardson \<rick.richardson@comcast.net\>\
 http://foo2zjs.rkkda.com/
