File: usb_printerid.1in

package info (click to toggle)
foo2zjs 20171202dfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 9,320 kB
  • sloc: ansic: 40,789; xml: 12,512; sh: 7,385; makefile: 1,705; objc: 573; tcl: 173; perl: 102; python: 8
file content (50 lines) | stat: -rw-r--r-- 1,185 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.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 /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;\e
DES:HP LaserJet 1020;FWVER:20050309;
.ft P
.fi

.SH FILES
.BR /usr/bin/usb_printerid,
.BR /lib/firmware/hp/*
.SH SEE ALSO
.BR arm2hpdl (1)
.SH "AUTHOR"
Rick Richardson <rick.richardson@comcast.net>
.br
${URLZJS}/
'\"
'\"
'\"
.em pdf_outline