Blob Blame History Raw
<!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>