summaryrefslogtreecommitdiff
path: root/doc/static/man/fax2ps.1.html
blob: 49130c5b4dca39140af49e997a05f260f745fc7c (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
219
220
221
222
223
224
<!-- Creator     : groff version 1.22.4 -->
<!-- CreationDate: Sat Jun  4 16:23:28 2022 -->
<!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; vertical-align: top }
       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
       h1      { text-align: center }
</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>


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


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

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


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

<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</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 PostScript 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 PostScript 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 PostScript that is optimized
for sending pages of text to a PostScript 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 PostScript 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 PostScript
description, relative to the straightforward imaging of the
page with a PostScript <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
<b>tiff2ps</b>(1).</p>

<h2>OPTIONS
<a name="OPTIONS"></a>
</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"><b>&minus;p</b>
<i>number</i></p> </td>
<td width="1%"></td>
<td width="74%">


<p style="margin-top: 1em">Print only the indicated page.
Multiple pages may be printed by specifying this option more
than once.</p></td></tr>
</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><b>&minus;S</b></p></td>
<td width="1%"></td>
<td width="74%">


<p>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>
<tr valign="top" align="left">
<td width="11%"></td>
<td width="14%">


<p><b>&minus;W</b> <i>width</i></p></td>
<td width="1%"></td>
<td width="74%">


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


<p><b>&minus;H</b> <i>height</i></p></td>
<td width="1%"></td>
<td width="74%">


<p>Use <i>height</i> as the height, in inches, of the
output page.</p></td></tr>
</table>

<h2>DIAGNOSTICS
<a name="DIAGNOSTICS"></a>
</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 PostScript image.</p>

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


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

<h2>BUGS
<a name="BUGS"></a>
</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 PostScript to image
the bitmap raster instead.</p>

<h2>SEE ALSO
<a name="SEE ALSO"></a>
</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.simplesystems.org/libtiff/</b></p>
<hr>
</body>
</html>