Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/escp2topbm.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Escp2topbm User Manual
.SH 1
escp2topbm
.LP
Created: 1 August 2003
.br
Table Of Contents
.SH 2
NAME
.LP
escp2topbm - convert an ESC/P2 printer file to a PBM image
.SH 2
SYNOPSIS
.LP
\fBescp2topbm\fR
[\fIprintfile\fR]
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBescp2topbm\fR reads an ESC/P2 printer control stream as input.
It produces a PBM image as output.
.LP
\fBescp2topbm\fR 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.
.LP
The input is from the file named by the \fIprintfile\fR argument, or
from Standard Input if you don't specify \fIprintfile\fR.  The output is
to Standard Output.
.LP
\fBescp2topbm\fR understands compression modes 0 (uncompressed)
and 1 (RLE compressed) in the Epson input stream.
.SH 2
OPTIONS
.LP
none
.SH 2
HINTS
.LP
.LP
As \fBescp2topbm\fR is a simple program, created mainly to test
\fBpbmtoescp2\fR, there are some restrictions:
.IP \(bu
\fBescp2topbm\fR looks only at "ESC." sequences and ignores
all data outside these Escape sequences.
.IP \(bu
\fBescp2topbm\fR assumes that only one raster graphic is in the
printer stream.  If this isn't true, the result is garbage.
.IP \(bu
\fBescp2topbm\fR assumes that all "ESC."  sequences use the same
width value.  If this isn't true, the result is garbage.
.LP
.SH 2
SEE ALSO
.LP
\fBpbmtoescp2\fR,
\fBpbm\fR
.SH 2
AUTHOR
.LP
.LP
 Copyright (C) 2003 by Ulrich Walcher 
(u.walcher@gmx.de).
.SH 2
HISTORY
.LP
.LP
\fBescp2topbm\fR was added to Netpbm in Release 10.18 (August 2003);
it was created around the same time.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
HINTS
.IP \(bu
SEE ALSO
.IP \(bu
AUTHOR
.IP \(bu
HISTORY
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.