| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Escp2topbm User Manual" 1 "14 July 2015" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
|
| 10 |
escp2topbm - convert an ESC/P2 printer file to a PBM image |
| 11 |
|
| 12 |
.UN synopsis |
| 13 |
.SH SYNOPSIS |
| 14 |
|
| 15 |
\fBescp2topbm\fP |
| 16 |
[\fIprintfile\fP] |
| 17 |
|
| 18 |
.UN description |
| 19 |
.SH DESCRIPTION |
| 20 |
.PP |
| 21 |
This program is part of |
| 22 |
.BR "Netpbm" (1)\c |
| 23 |
\&. |
| 24 |
.PP |
| 25 |
\fBescp2topbm\fP reads an ESC/P2 printer control stream as input. |
| 26 |
It produces a PBM image as output. |
| 27 |
.PP |
| 28 |
\fBescp2topbm\fP filters the raster graphic content from an Epson |
| 29 |
ESC/P2 printer control stream and writes the image it would print as a |
| 30 |
standard (raw) PBM image. |
| 31 |
.PP |
| 32 |
The input is from the file named by the \fIprintfile\fP argument, or |
| 33 |
from Standard Input if you don't specify \fIprintfile\fP. The output is |
| 34 |
to Standard Output. |
| 35 |
.PP |
| 36 |
\fBescp2topbm\fP understands compression modes 0 (uncompressed) |
| 37 |
and 1 (RLE compressed) in the Epson input stream. |
| 38 |
|
| 39 |
.UN options |
| 40 |
.SH OPTIONS |
| 41 |
.PP |
| 42 |
There are no command line options defined specifically |
| 43 |
for \fBescp2topbm\fP, but it recognizes the options common to all |
| 44 |
programs based on libnetpbm (See |
| 45 |
.UR index.html#commonoptions |
| 46 |
Common Options |
| 47 |
.UE |
| 48 |
\&.) |
| 49 |
.PP |
| 50 |
Before Netpbm 10.72 (September 2015), the Netpbm common option |
| 51 |
\fB-plain\fP has no effect on \fBescp2topbm\fP . |
| 52 |
|
| 53 |
.UN hints |
| 54 |
.SH HINTS |
| 55 |
.PP |
| 56 |
As \fBescp2topbm\fP is a simple program, created mainly to test |
| 57 |
\fBpbmtoescp2\fP, there are some restrictions: |
| 58 |
|
| 59 |
|
| 60 |
.IP \(bu |
| 61 |
\fBescp2topbm\fP looks only at "ESC." sequences and ignores |
| 62 |
all data outside these Escape sequences. |
| 63 |
|
| 64 |
.IP \(bu |
| 65 |
\fBescp2topbm\fP assumes that only one raster graphic is in the |
| 66 |
printer stream. If this isn't true, the result is garbage. |
| 67 |
|
| 68 |
.IP \(bu |
| 69 |
\fBescp2topbm\fP assumes that all "ESC." sequences use the same |
| 70 |
width value. If this isn't true, the result is garbage. |
| 71 |
|
| 72 |
|
| 73 |
.UN seealso |
| 74 |
.SH SEE ALSO |
| 75 |
.BR "pbmtoescp2" (1)\c |
| 76 |
\&, |
| 77 |
.BR "pbm" (1)\c |
| 78 |
\& |
| 79 |
|
| 80 |
.UN author |
| 81 |
.SH AUTHOR |
| 82 |
.PP |
| 83 |
Copyright (C) 2003 by Ulrich Walcher |
| 84 |
(\[email protected]\fP). |
| 85 |
|
| 86 |
.UN history |
| 87 |
.SH HISTORY |
| 88 |
.PP |
| 89 |
\fBescp2topbm\fP was added to Netpbm in Release 10.18 (August 2003); |
| 90 |
it was created around the same time. |
| 91 |
.SH DOCUMENT SOURCE |
| 92 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 93 |
source. The master documentation is at |
| 94 |
.IP |
| 95 |
.B http://netpbm.sourceforge.net/doc/escp2topbm.html |
| 96 |
.PP |