Debian Codegraph @

upstream/debian-unstable/man1/pbmtoepson.1

raw
1 \
2 .\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
3 .\" Do not hand-hack it! If you have bug fixes or improvements, please find
4 .\" the corresponding HTML page on the Netpbm website, generate a patch
5 .\" against that, and send it to the Netpbm maintainer.
6 .TH "Pbmtoepson User Manual" 1 "08 August 2003" "netpbm documentation"
7
8 .SH NAME
9 pbmtoepson - convert a PBM image into Epson printer graphics
10
11 .UN synopsis
12 .SH SYNOPSIS
13
14 \fBpbmtoepson\fP
15
16 [\fB-dpi=\fP\fIn\fP]
17 [\fB-protocol=\fP{\fBescp9\fP|\fBescp\fP}]
18 [\fB-adjacent\fP]
19 [\fB-nonadjacent\fP]
20
21 [\fIpbmfile\fP]
22
23 .UN description
24 .SH DESCRIPTION
25 .PP
26 This program is part of
27 .BR "Netpbm" (1)\c
28 \&.
29
30 \fBpbmtoepson\fP reads a PBM image as input and produces a stream of
31 Epson printer graphics as output.
32 .PP
33 The input is from the file identified by the \fIpbmfile\fP argument
34 or, if you don't specify \fIpbmfile\fP, from Standard Input. Output is
35 to Standard Output.
36 .PP
37 The output is for traditional (ca 1991) Epson 9-wire dot matrix
38 (sometimes called ESC/P 9-wire) printers or newer ESC/P printers. For
39 a more modern Epson ESC/P2 type printer, try \fBpbmtoescp2\fP.
40 .PP
41 Before Netpbm 10.23 (July 2004), \fBpbmtoepson\fP could not produce
42 ESC/P streams -- only ESC/P 9-wire.
43 .PP
44 The Epson printer protocols are described in Epson's protocol
45 specification.
46 .PP
47 Note that there is no epsontopbm tool - this transformation is one way.
48
49 .UN options
50 .SH OPTIONS
51 .PP
52 In addition to the options common to all programs based on libnetpbm
53 (most notably \fB-quiet\fP, see
54 .UR index.html#commonoptions
55 Common Options
56 .UE
57 \&), \fBpbmtoepson\fP recognizes the following
58 command line options:
59
60
61
62 .TP
63 \fB-protocol=\fP{\fBescp9\fP|\fBescp\fP}
64 This determines which Epson printer protocol the output uses.
65 \fBescp9\fP is the older ESC/P 9-pin protocol. \fBescp\fP is the
66 newer ESC/P protocol. For the even newer \fBESC/P2\fP protocol, you
67 have to use \fBpbmtoescp2\fP instead.
68 .sp
69 This option was new in Netpbm 10.23 (July 2004).
70
71
72 .TP
73 \fB-dpi=\fP\fIn\fP
74 This specifies the horizontal print density in dots per inch. The
75 protocol allows only certain values: 60, 72, 80, 90, 120, 144, and 240.
76 Actually, the ESC/P protocol allows a few others, but \fBpbmtoepson\fP
77 doesn't know how to generate the command streams that use them.
78 .sp
79 If you don't specify this, \fBpbmtoepson\fP chooses a horizontal
80 print density for you consistent with your other options.
81 .sp
82 This option was new in Netpbm 10.23 (July 2004).
83
84 .TP
85 \fB-adjacent\fP
86 .TP
87 \fB-nonadjacent\fP
88 These options determine whether the output uses "adjacent dot
89 printing" or not, whatever that is.
90 .sp
91 If you don't specify this, \fBpbmtoepson\fP selects adjacent dot
92 printing unless that is incompatible with your other options.
93 .sp
94 This option was new in Netpbm 10.23 (July 2004).
95
96
97
98 .UN seealso
99 .SH SEE ALSO
100 .BR "pbmtoescp2" (1)\c
101 \&,
102 .BR "pbm" (1)\c
103 \&,
104
105 .UN author
106 .SH AUTHOR
107
108 Copyright (C) 1991 by John Tiller (\[email protected]\fP)
109 and Jef Poskanzer.
110 .SH DOCUMENT SOURCE
111 This manual page was generated by the Netpbm tool 'makeman' from HTML
112 source. The master documentation is at
113 .IP
114 .B http://netpbm.sourceforge.net/doc/pbmtoepson.html
115 .PP