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