1
0
mirror of https://github.com/koenkooi/foo2zjs.git synced 2026-01-22 03:34:49 +08:00
foo2zjs/usb_printerid.1in
Koen Kooi 66819e6d05 import 'Tarball last modified: Fri Jan 22 05:14:24 2016 CST'
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2016-01-25 16:22:04 +01:00

51 lines
1.2 KiB
Plaintext

.TH usb_printerid 1 "${MODpage}" "usb_printerid ${MODver}"
#ifndef OLDGROFF
#include "macros.man"
#endif
'\"==========================================================================
'\" MANUAL PAGE SOURCE
'\"==========================================================================
.SH NAME
usb_printerid \- prints the ID of the printer on a USB port
.SH SYNOPSIS
.B usb_printerid
.RI [ options "] /dev/usb/lpNNN"
.SH DESCRIPTION
.B usb_printerid
prints the identification of the printer on a USB port using
the ioctl control
\fBLPIOC_GET_DEVICE_ID\fP.
.SH EXAMPLES
Print the USB info before and after downloading the firmware.
.nf
.ft CW
# usb_printerid /dev/usb/lp0
GET_DEVICE_ID string:
MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;\e
DES:HP LaserJet 1020;
# cp /usr/share/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;\e
DES:HP LaserJet 1020;FWVER:20050309;
.ft P
.fi
.SH FILES
.BR /usr/bin/usb_printerid,
.BR /usr/share/foo2*/firmware/*
.SH SEE ALSO
.BR arm2hpdl (1)
.SH "AUTHOR"
Rick Richardson <rick.richardson@comcast.net>
.br
${URLZJS}/
'\"
'\"
'\"
.em pdf_outline