summary refs log tree commit diff
path: root/pbmtoepson.html
blob: 6895d334f1649d29b960a4b4a5d0fc0192c13673 (plain) (blame)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pbmtoepson User Manual</TITLE></HEAD>
<BODY>
<H1>pbmtoepson</H1>
Updated: 8 August 2003
<BR>
<A HREF="#index">Table Of Contents</A>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
pbmtoepson - convert a PBM image into Epson printer graphics

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>pbmtoepson</B>

[<b>-dpi=</b><i>n</i>]
[<b>-protocol=</b>{<b>escp9</b>|<B>escp</B>}]
[<b>-adjacent</b>]
[<b>-nonadjacent</b>]

[<I>pbmfile</I>]

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<b>pbmtoepson</b> reads a PBM image as input and produces a stream of
Epson printer graphics as output.

<p>The input is from the file identified by the <i>pbmfile</i> argument
or, if you don't specify <i>pbmfile</i>, from Standard Input.  Output is
to Standard Output.

<p>The output is for traditional (ca 1991) Epson 9-wire dot matrix
(sometimes called ESC/P 9-wire) printers or newer ESC/P printers.  For
a more modern Epson ESC/P2 type printer, try <b>pbmtoescp2</b>.

<p>Before Netpbm 10.23 (July 2004), <b>pbmtoepson</b> could not produce
ESC/P streams -- only ESC/P 9-wire.

<p>The Epson printer protocols are described in Epson's protocol
specification.

<p>Note that there is no epsontopbm tool - this transformation is one way.

<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>

<dl COMPACT>

<dt><b>-protocol=</b>{<b>escp9</b>|<B>escp</B>}

<dd>This determines which Epson printer protocol the output uses.
<b>escp9</b> is the older ESC/P 9-pin protocol.  <b>escp</b> is the
newer ESC/P protocol.  For the even newer <b>ESC/P2</b> protocol, you
have to use <b>pbmtoescp2</b> instead.

<p>This option was new in Netpbm 10.23 (July 2004).     
</dd>

<dt><b>-dpi=</b><i>n</i>

<dd>This specifies the horizontal print density in dots per inch.  The
protocol allows only certain values: 60, 72, 80, 90, 120, 144, and 240.
Actually, the ESC/P protocol allows a few others, but <b>pbmtoepson</b>
doesn't know how to generate the command streams that use them.

<p>If you don't specify this, <b>pbmtoepson</b> chooses a horizontal
print density for you consistent with your other options.

<p>This option was new in Netpbm 10.23 (July 2004).     

<dt><b>-adjacent</b>
<dt><b>-nonadjacent</b>

<dd>These options determine whether the output uses "adjacent dot
printing" or not, whatever that is.

<p>If you don't specify this, <b>pbmtoepson</b> selects adjacent dot
printing unless that is incompatible with your other options.

<p>This option was new in Netpbm 10.23 (July 2004).     

</dl>


<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

<A HREF="pbmtoescp2.html">pbmtoescp2</A>,
<A HREF="pbm.html">pbm</A>,

<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>

Copyright (C) 1991 by John Tiller (<A
HREF="mailto:tiller@galois.msfc.nasa.gov">tiller@galois.msfc.nasa.gov</A>)
and Jef Poskanzer.

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<li><A HREF="#lbAB">NAME</A>
<li><A HREF="#lbAC">SYNOPSIS</A>
<li><A HREF="#lbAD">DESCRIPTION</A>
<li><A HREF="#lbAE">OPTIONS</A>
<li><A HREF="#lbAF">SEE ALSO</A>
<li><A HREF="#lbAG">AUTHOR</A>
</UL>
</BODY>
</HTML>