escp2topbm1
Convert an esc/p2 printer file to a pbm image
Usage
escp2topbm [printfile]
Overview
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.
Options
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 ⟨index.html#commonoptions⟩ .)
Before Netpbm 10.72 (September 2015), the Netpbm common option -plain has no effect on escp2topbm .
Hints
As escp2topbm is a simple program, created mainly to test pbmtoescp2, there are some restrictions:
- •
-
escp2topbmlooks only at "ESC." sequences and ignores all data outside these Escape sequences.
- •
-
escp2topbmassumes that only one raster graphic is in the printer stream. If this isn't true, the result is garbage.
- •
-
escp2topbmassumes that all "ESC." sequences use the same width value. If this isn't true, the result is garbage.
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/escp2topbm.html
Releases
3 releases since Debian 12 (Bookworm); the text changed 1 time.