summaryrefslogtreecommitdiff
path: root/html/man/fax2ps.1.html
blob: 46adc54f9237d08a846cda715d9fd79a1a0fd857 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!-- Creator     : groff version 1.19.2 -->
<!-- CreationDate: Mon Jan  2 17:41:50 2006 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
       p     { margin-top: 0; margin-bottom: 0; }
       pre   { margin-top: 0; margin-bottom: 0; }
       table { margin-top: 0; margin-bottom: 0; }
</style>
<title>FAX2PS</title>

</head>
<body>

<h1 align=center>FAX2PS</h1>

<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#DIAGNOSTICS">DIAGNOSTICS</a><br>
<a href="#NOTES">NOTES</a><br>
<a href="#BUGS">BUGS</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>

<hr>


<a name="NAME"></a>
<h2>NAME</h2>


<p style="margin-left:11%; margin-top: 1em">fax2ps &minus;
convert a <small>TIFF</small> facsimile to compressed
&trade;</p>

<a name="SYNOPSIS"></a>
<h2>SYNOPSIS</h2>


<p style="margin-left:11%; margin-top: 1em"><b>fax2ps</b> [
<i>options</i> ] [ <i>file</i>... ]</p>

<a name="DESCRIPTION"></a>
<h2>DESCRIPTION</h2>


<p style="margin-left:11%; margin-top: 1em"><i>fax2ps</i>
reads one or more <small>TIFF</small> facsimile image files
and prints a compressed form of <br>
on the standard output that is suitable for printing.</p>

<p style="margin-left:11%; margin-top: 1em">By default,
each page is scaled to reflect the image dimensions and
resolutions stored in the file. The <b>&minus;x</b> and
<b>&minus;y</b> options can be used to specify the
horizontal and vertical image resolutions (lines/inch),
respectively. If the <b>&minus;S</b> option is specified,
each page is scaled to fill an output page. The default
output page is 8.5 by 11 inches. Alternate page dimensions
can be specified in inches with the <b>&minus;W</b> and
<b>&minus;H</b> options.</p>

<p style="margin-left:11%; margin-top: 1em">By default
<i>fax2ps</i> generates for all pages in the file. The
<b>&minus;p</b> option can be used to select one or more
pages from a multi-page document.</p>

<p style="margin-left:11%; margin-top: 1em"><i>fax2ps</i>
generates a compressed form of that is optimized for sending
pages of text to a printer attached to a host through a
low-speed link (such as a serial line). Each output page is
filled with white and then only the black areas are drawn.
The specification of the black drawing operations is
optimized by using a special font that encodes the move-draw
operations required to fill the black regions on the page.
This compression scheme typically results in a substantially
reduced description, relative to the straightforward imaging
of the page with a <i>image</i> operator. This algorithm
can, however, be ineffective for continuous-tone and
white-on-black images. For these images, it sometimes is
more efficient to send the raster bitmap image directly; see
<i>tiff2ps</i>(1).</p>

<a name="OPTIONS"></a>
<h2>OPTIONS</h2>


<table width="100%" border=0 rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="14%">


<p style="margin-top: 1em" valign="top"><b>&minus;p</b>
<i>number</i></p> </td>
<td width="1%"></td>
<td width="74%">


<p style="margin-top: 1em" valign="top">Print only the
indicated page. Multiple pages may be printed by specifying
this option more than once.</p></td>
</table>

<p style="margin-left:11%;"><b>&minus;x</b>
<i>resolution</i></p>

<p style="margin-left:26%;">Use <i>resolution</i> as the
horizontal resolution, in dots/inch, of the image data. By
default this value is taken from the file.</p>

<p style="margin-left:11%;"><b>&minus;y</b>
<i>resolution</i></p>

<p style="margin-left:26%;">Use <i>resolution</i> as the
vertical resolution, in lines/inch, of the image data. By
default this value is taken from the file.</p>

<table width="100%" border=0 rules="none" frame="void"
       cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="11%"></td>
<td width="14%">



<p style="margin-top: 1em" valign="top"><b>&minus;S</b></p> </td>
<td width="1%"></td>
<td width="74%">


<p style="margin-top: 1em" valign="top">Scale each page of
image data to fill the output page dimensions. By default
images are presented according to the dimension information
recorded in the <small>TIFF</small> file.</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="14%">


<p style="margin-top: 1em" valign="top"><b>&minus;W</b>
<i>width</i></p> </td>
<td width="1%"></td>
<td width="74%">


<p style="margin-top: 1em" valign="top">Use <i>width</i> as
the width, in inches, of the output page.</p></td>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="14%">


<p style="margin-top: 1em" valign="top"><b>&minus;H</b>
<i>height</i></p> </td>
<td width="1%"></td>
<td width="74%">


<p style="margin-top: 1em" valign="top">Use <i>height</i>
as the height, in inches, of the output page.</p></td>
</table>

<a name="DIAGNOSTICS"></a>
<h2>DIAGNOSTICS</h2>


<p style="margin-left:11%; margin-top: 1em">Some messages
about malformed <small>TIFF</small> images come from the
<small>TIFF</small> library.</p>

<p style="margin-left:11%; margin-top: 1em">Various
messages about badly formatted facsimile images may be
generated due to transmission errors in received facsimile.
<i>fax2ps</i> attempts to recover from such data errors by
resynchronizing decoding at the end of the current scanline.
This can result in long horizontal black lines in the
resultant <br>
image.</p>

<a name="NOTES"></a>
<h2>NOTES</h2>


<p style="margin-left:11%; margin-top: 1em">If the
destination printer supports Level II then it is always
faster to just send the encoded bitmap generated by the
<b>tiff2ps</b>(1) program.</p>

<a name="BUGS"></a>
<h2>BUGS</h2>


<p style="margin-left:11%; margin-top: 1em"><i>fax2ps</i>
should probably figure out when it is doing a poor job of
compressing the output and just generate <br>
to image the bitmap raster instead.</p>

<a name="SEE ALSO"></a>
<h2>SEE ALSO</h2>



<p style="margin-left:11%; margin-top: 1em"><b>tiff2ps</b>(1),
<b>libtiff</b>(3)</p>

<p style="margin-left:11%; margin-top: 1em">Libtiff library
home page: <b>http://www.remotesensing.org/libtiff/</b></p>
<hr>
</body>
</html>