.TL Pbmtoepson User Manual .SH 1 pbmtoepson .LP Updated: 8 August 2003 .br Table Of Contents .SH 2 NAME .LP pbmtoepson - convert a PBM image into Epson printer graphics .SH 2 SYNOPSIS .LP \fBpbmtoepson\fR [\fB-dpi=\fR\fIn\fR] [\fB-protocol=\fR{\fBescp9\fR|\fBescp\fR}] [\fB-adjacent\fR] [\fB-noadjacent\fR] [\fIpbmfile\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. \fBpbmtoepson\fR reads a PBM image as input and produces a stream of Epson printer graphics as output. .LP The input is from the file identified by the \fIpbmfile\fR argument or, if you don't specify \fIpbmfile\fR, from Standard Input. Output is to Standard Output. .LP 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 \fBpbmtoescp2\fR. .LP Before Netpbm 10.23 (July 2004), \fBpbmtoepson\fR could not produce ESC/P streams -- only ESC/P 9-wire. .LP The Epson printer protocols are described in Epson's protocol specification. .LP Note that there is no epsontopbm tool - this transformation is one way. .SH 2 OPTIONS .LP .RS .IP "\fB-protocol=\fR{\fBescp9\fR|\fBescp\fR}" This determines which Epson printer protocol the output uses. \fBescp9\fR is the older ESC/P 9-pin protocol. \fBescp\fR is the newer ESC/P protocol. For the even newer \fBESC/P2\fR protocol, you have to use \fBpbmtoescp2\fR instead. .LP This option was new in Netpbm 10.23 (July 2004). .IP "\fB-dpi=\fR\fIn\fR" 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 \fBpbmtoepson\fR doesn't know how to generate the command streams that use them. .LP If you don't specify this, \fBpbmtoepson\fR chooses a horizontal print density for you consistent with your other options. .LP This option was new in Netpbm 10.23 (July 2004). .IP "\fB-adjacent\fR" .IP "\fB-noadjacent\fR" These options determine whether the output select "adjacent dot printing" or not, whatever that is. .LP If you don't specify this, \fBpbmtoepson\fR selects adjacent dot printing unless that is incompatible with your other options. .LP This option was new in Netpbm 10.23 (July 2004). .RE .SH 2 SEE ALSO .LP pbmtoescp2, pbm, .SH 2 AUTHOR .LP Copyright (C) 1991 by John Tiller (tiller@galois.msfc.nasa.gov) and Jef Poskanzer. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP