man > pbmtoepson

⚡ TLDR: pbmtoepson (tldr-pages)

Convert a PBM image to an Epson printer graphic.

  • Convert a PBM image to an Epson printer graphic
    pbmtoepson {{path/to/image.pbm}} > {{path/to/output.epson}}
  • Specify the printer protocol of the output
    pbmtoepson {{-pr|-protocol}} {{escp9|escp}} {{path/to/image.pbm}} > {{path/to/output.epson}}
  • Specify the horizontal DPI of the output
    pbmtoepson {{-d|-dpi}} {{60|72|80|90|120|144|240}} {{path/to/image.pbm}} > {{path/to/output.epson}}
Pbmtoepson User Manual(1)              General Commands Manual             Pbmtoepson User Manual(1)

NAME
       pbmtoepson - convert a PBM image into Epson printer graphics


SYNOPSIS
       pbmtoepson

       [-dpi=n] [-protocol={escp9|escp}] [-adjacent] [-nonadjacent]

       [pbmfile]


DESCRIPTION
       This program is part of Netpbm(1).

       pbmtoepson reads a PBM image as input and produces a stream of Epson printer graphics as out‐
       put.

       The  input  is from the file identified by the pbmfile argument or, if you don't specify pbm‐
       file, 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 ), pbmtoepson recognizes the following command line options:




       -protocol={escp9|escp}
              This determines which Epson printer protocol the output  uses.   escp9  is  the  older
              ESC/P  9-pin  protocol.   escp is the newer ESC/P protocol.  For the even newer ESC/P2
              protocol, you have to use pbmtoescp2 instead.

              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 pbmtoepson doesn't know how to generate the  command  streams
              that use them.

              If  you don't specify this, pbmtoepson chooses a horizontal print density for you con‐
              sistent 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,  what‐
              ever that is.

              If you don't specify this, pbmtoepson selects adjacent dot printing unless that is in‐
              compatible with your other options.

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




SEE ALSO
       pbmtoescp2(1), pbm(1),


AUTHOR
       Copyright (C) 1991 by John Tiller (tiller AT galois.gov) and Jef Poskanzer.

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

netpbm documentation                       08 August 2003                  Pbmtoepson User Manual(1)
pbmtoepson □✕
NAME SYNOPSIS
pbmtoepson
DESCRIPTION OPTIONS
-protocol={escp9|escp} -dpi=n This specifies the horizontal print density in dots per inch. The protocol allows -adjacent -nonadjacent
SEE ALSO AUTHOR DOCUMENT SOURCE

Generated by phpman v4.12.13 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-10-22 11:49 @216.73.217.37
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!

^_top_^