Your company here — click to reach over 10,000 unique daily visitors

escp2topbm - Man Page

convert an ESC/P2 printer file to a PBM image

Examples (TL;DR)


escp2topbm [printfile]


This program is part of Netpbm(1).

escp2topbm reads an ESC/P2 printer control stream as input. It produces a PBM image as output.

escp2topbm filters the raster graphic content from an Epson ESC/P2 printer control stream and writes the image it would print as a standard (raw) PBM image.

The input is from the file named by the printfile argument, or from Standard Input if you don't specify printfile.  The output is to Standard Output.

escp2topbm understands compression modes 0 (uncompressed) and 1 (RLE compressed) in the Epson input stream.


There are no command line options defined specifically for escp2topbm, but it recognizes the options common to all programs based on libnetpbm (See Common Options .)

Before Netpbm 10.72 (September 2015), the Netpbm common option -plain has no effect on escp2topbm .


As escp2topbm is a simple program, created mainly to test pbmtoescp2, there are some restrictions:

See Also

pbmtoescp2(1), pbm(1)


Copyright (C) 2003 by Ulrich Walcher  (u.walcher@gmx.de).


escp2topbm was added to Netpbm in Release 10.18 (August 2003); it was created around the same time.

Document Source

This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation is at


Referenced By


14 July 2015 netpbm documentation