summary refs log tree commit diff
path: root/escp2topbm.html
blob: 186e032a3ce3fa1d79784e1f3b6e4fe8ca118bb7 (plain) (blame)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Escp2topbm User Manual</TITLE></HEAD>
<BODY>
<H1>escp2topbm</H1>
Updated: 14 July 2015
<BR>
<A HREF="#index">Table Of Contents</A>

escp2topbm - convert an ESC/P2 printer file to a PBM image

<H2 id="synopsis">SYNOPSIS</H2>

<B>escp2topbm</B>
[<I>printfile</I>]

<H2 id="description">DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>escp2topbm</b> reads an ESC/P2 printer control stream as input.
It produces a PBM image as output.

<P><b>escp2topbm</b> 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.

<p>The input is from the file named by the <i>printfile</i> argument, or
from Standard Input if you don't specify <i>printfile</i>.  The output is
to Standard Output.

<P><b>escp2topbm</b> understands compression modes 0 (uncompressed)
and 1 (RLE compressed) in the Epson input stream.

<p>Before Netpbm 10.72 (September 2015), the Netpbm global
option <b>-plain</b> has no effect on <b>escp2topbm</b> .


<H2 id="options">OPTIONS</H2>
none


<H2 id="hints">HINTS</H2>

<P>As <b>escp2topbm</b> is a simple program, created mainly to test
<b>pbmtoescp2</b>, there are some restrictions:

<ul>
<li><b>escp2topbm</b> looks only at "ESC." sequences and ignores
all data outside these Escape sequences.

<li><b>escp2topbm</b> assumes that only one raster graphic is in the
printer stream.  If this isn't true, the result is garbage.

<li><b>escp2topbm</b> assumes that all "ESC."  sequences use the same
width value.  If this isn't true, the result is garbage.
</ul>

<H2 id="seealso">SEE ALSO</H2>

<B><A HREF="pbmtoescp2.html">pbmtoescp2</A></B>,
<B><A HREF="pbm.html">pbm</A></B>

<H2 id="author">AUTHOR</H2>

<P>Copyright (C) 2003 by Ulrich Walcher 
(<A HREF="mailto:u.walcher@gmx.de">u.walcher@gmx.de</A>).

<H2 id="history">HISTORY</H2>

<p><b>escp2topbm</b> was added to Netpbm in Release 10.18 (August 2003);
it was created around the same time.

<HR>
<H2 id="index">Table Of Contents</H2>
<UL>
<LI><A HREF="#synopsis">SYNOPSIS</A>
<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#options">OPTIONS</A>
<LI><A HREF="#hints">HINTS</A>
<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF="#author">AUTHOR</A>
<LI><A HREF="#history">HISTORY</A>
</UL>

</BODY>
</HTML>