1Escp2topbm User Manual(0) Escp2topbm User Manual(0)
2
3
4
6 escp2topbm - convert an ESC/P2 printer file to a PBM image
7
8
10 escp2topbm [printfile]
11
12
14 This program is part of Netpbm(1).
15
16 escp2topbm reads an ESC/P2 printer control stream as input. It pro‐
17 duces a PBM image as output.
18
19 escp2topbm filters the raster graphic content from an Epson ESC/P2
20 printer control stream and writes the image it would print as a stan‐
21 dard (raw) PBM image.
22
23 The input is from the file named by the printfile argument, or from
24 Standard Input if you don't specify printfile. The output is to Stan‐
25 dard Output.
26
27 escp2topbm understands compression modes 0 (uncompressed) and 1 (RLE
28 compressed) in the Epson input stream.
29
30
32 none
33
34
36 As escp2topbm is a simple program, created mainly to test pbmtoescp2,
37 there are some restrictions:
38
39
40
41 · escp2topbm looks only at "ESC." sequences and ignores all data
42 outside these Escape sequences.
43
44
45 · escp2topbm assumes that only one raster graphic is in the
46 printer stream. If this isn't true, the result is garbage.
47
48
49 · escp2topbm assumes that all "ESC." sequences use the same width
50 value. If this isn't true, the result is garbage.
51
52
53
55 pbmtoescp2(1), pbm(1)
56
57
59 Copyright (C) 2003 by Ulrich Walcher (u.walcher@gmx.de).
60
61
63 escp2topbm was added to Netpbm in Release 10.18 (August 2003); it was
64 created around the same time.
65
66
67
68netpbm documentation 1 August 2003 Escp2topbm User Manual(0)