pbmtoepson1
Convert a pbm image into epson printer graphics
Usage
pbmtoepson
[-dpi=n] [-protocol={escp9|escp}] [-adjacent] [-nonadjacent]
[pbmfile]
Overview
This program is part of Netpbm(1) .
pbmtoepson reads a PBM image as input and produces a stream of Epson printer graphics as output.
The input is from the file identified by the pbmfile argument or, if you don't specify pbmfile, from Standard Input. Output is to Standard Output.
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 pbmtoescp2.
Before Netpbm 10.23 (July 2004), pbmtoepson could not produce ESC/P streams -- only ESC/P 9-wire.
The Epson printer protocols are described in Epson's protocol specification.
Note that there is no epsontopbm tool - this transformation is one way.
Options
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see
Common Options ⟨index.html#commonoptions⟩ ), pbmtoepson recognizes the following command line options:
-
-protocol={escp9|escp} -
This determines which Epson printer protocol the output uses.
escp9is the older ESC/P 9-pin protocol.escpis the newer ESC/P protocol. For the even newerESC/P2protocol, you have to usepbmtoescp2instead.This option was new in Netpbm 10.23 (July 2004).
-
-dpi=n -
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
pbmtoepsondoesn't know how to generate the command streams that use them.If you don't specify this,
pbmtoepsonchooses a horizontal print density for you consistent with your other options.This option was new in Netpbm 10.23 (July 2004).
-
-adjacent
-
-nonadjacent -
These options determine whether the output uses "adjacent dot printing" or not, whatever that is.
If you don't specify this,
pbmtoepsonselects adjacent dot printing unless that is incompatible with your other options.This option was new in Netpbm 10.23 (July 2004).
Document source
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at
-
http://netpbm.sourceforge.net/doc/pbmtoepson.html
Releases
16 releases since Debian 2.0 (Hamm); the text changed 2 times.
-adjacent since Debian 12 (Bookworm);
-dpi since Debian 12 (Bookworm);
-nonadjacent since Debian 12 (Bookworm);
-protocol since Debian 12 (Bookworm).