Debian Codegraph @

userguide/pbmtoepson.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
2 <html><head><title>Pbmtoepson User Manual</title></head>
3 <body>
4 <h1>pbmtoepson</h1>
5 Updated: 08 August 2003
6 <br>
7 <a href="#index">Table Of Contents</a>
8
9 <h2>NAME</h2>
10 pbmtoepson - convert a PBM image into Epson printer graphics
11
12 <h2 id="synopsis">SYNOPSIS</h2>
13
14 <b>pbmtoepson</b>
15
16 [<b>-dpi=</b><i>n</i>]
17 [<b>-protocol=</b>{<b>escp9</b>|<b>escp</b>}]
18 [<b>-adjacent</b>]
19 [<b>-nonadjacent</b>]
20
21 [<i>pbmfile</i>]
22
23 <h2 id="description">DESCRIPTION</h2>
24
25 <p>This program is part of <a href="index.html">Netpbm</a>.
26
27 <b>pbmtoepson</b> reads a PBM image as input and produces a stream of
28 Epson printer graphics as output.
29
30 <p>The input is from the file identified by the <i>pbmfile</i> argument
31 or, if you don't specify <i>pbmfile</i>, from Standard Input. Output is
32 to Standard Output.
33
34 <p>The output is for traditional (ca 1991) Epson 9-wire dot matrix
35 (sometimes called ESC/P 9-wire) printers or newer ESC/P printers. For
36 a more modern Epson ESC/P2 type printer, try <b>pbmtoescp2</b>.
37
38 <p>Before Netpbm 10.23 (July 2004), <b>pbmtoepson</b> could not produce
39 ESC/P streams -- only ESC/P 9-wire.
40
41 <p>The Epson printer protocols are described in Epson's protocol
42 specification.
43
44 <p>Note that there is no epsontopbm tool - this transformation is one way.
45
46 <h2 id="options">OPTIONS</h2>
47
48 <p>In addition to the options common to all programs based on libnetpbm
49 (most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
50 Common Options</a>), <b>pbmtoepson</b> recognizes the following
51 command line options:
52
53 <dl compact>
54
55 <dt><b>-protocol=</b>{<b>escp9</b>|<b>escp</b>}
56
57 <dd>This determines which Epson printer protocol the output uses.
58 <b>escp9</b> is the older ESC/P 9-pin protocol. <b>escp</b> is the
59 newer ESC/P protocol. For the even newer <b>ESC/P2</b> protocol, you
60 have to use <b>pbmtoescp2</b> instead.
61
62 <p>This option was new in Netpbm 10.23 (July 2004).
63 </dd>
64
65 <dt><b>-dpi=</b><i>n</i>
66
67 <dd>This specifies the horizontal print density in dots per inch. The
68 protocol allows only certain values: 60, 72, 80, 90, 120, 144, and 240.
69 Actually, the ESC/P protocol allows a few others, but <b>pbmtoepson</b>
70 doesn't know how to generate the command streams that use them.
71
72 <p>If you don't specify this, <b>pbmtoepson</b> chooses a horizontal
73 print density for you consistent with your other options.
74
75 <p>This option was new in Netpbm 10.23 (July 2004).
76
77 <dt><b>-adjacent</b>
78 <dt><b>-nonadjacent</b>
79
80 <dd>These options determine whether the output uses "adjacent dot
81 printing" or not, whatever that is.
82
83 <p>If you don't specify this, <b>pbmtoepson</b> selects adjacent dot
84 printing unless that is incompatible with your other options.
85
86 <p>This option was new in Netpbm 10.23 (July 2004).
87
88 </dl>
89
90 <h2 id="seealso">SEE ALSO</h2>
91
92 <a href="pbmtoescp2.html">pbmtoescp2</a>,
93 <a href="pbm.html">pbm</a>,
94
95 <h2 id="author">AUTHOR</h2>
96
97 Copyright (C) 1991 by John Tiller (<a
98 href="mailto:[email protected]">[email protected]</a>)
99 and Jef Poskanzer.
100
101 <hr>
102 <h2 id="index">Table Of Contents</h2>
103 <ul>
104 <li><a href="#synopsis">SYNOPSIS</a>
105 <li><a href="#description">DESCRIPTION</a>
106 <li><a href="#options">OPTIONS</a>
107 <li><a href="#seealso">SEE ALSO</a>
108 <li><a href="#author">AUTHOR</a>
109 </ul>
110 </body>
111 </html>