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