]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/fax2ps.1
typo fix
[wxWidgets.git] / src / tiff / man / fax2ps.1
CommitLineData
8414a40c
VZ
1.\" $Id: fax2ps.1,v 1.3 2005/11/02 11:07:19 dron Exp $
2.\"
3.\" Copyright (c) 1991-1997 Sam Leffler
4.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5.\"
6.\" Permission to use, copy, modify, distribute, and sell this software and
7.\" its documentation for any purpose is hereby granted without fee, provided
8.\" that (i) the above copyright notices and this permission notice appear in
9.\" all copies of the software and related documentation, and (ii) the names of
10.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11.\" publicity relating to the software without the specific, prior written
12.\" permission of Sam Leffler and Silicon Graphics.
13.\"
14.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
17.\"
18.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
23.\" OF THIS SOFTWARE.
24.\"
25.if n .po 0
26.TH FAX2PS 1 "November 2, 2005" "libtiff"
27.SH NAME
28fax2ps \- convert a
29.SM TIFF
30facsimile to compressed \*(Ps\(tm
31.SH SYNOPSIS
32.B fax2ps
33[
34.I options
35] [
36.IR file ...
37]
38.SH DESCRIPTION
39.I fax2ps
40reads one or more
41.SM TIFF
42facsimile image files and prints a compressed form of
43\*(Ps on the standard output that is suitable for printing.
44.PP
45By default, each page is scaled to reflect the
46image dimensions and resolutions stored in the file.
47The
48.B \-x
49and
50.B \-y
51options can be used to specify the horizontal and vertical
52image resolutions (lines/inch), respectively.
53If the
54.B \-S
55option is specified, each page is scaled to fill an output page.
56The default output page is 8.5 by 11 inches.
57Alternate page dimensions can be specified in inches with the
58.B \-W
59and
60.B \-H
61options.
62.PP
63By default
64.I fax2ps
65generates \*(Ps for all pages in the file.
66The
67.B \-p
68option can be used to select one or more pages from
69a multi-page document.
70.PP
71.I fax2ps
72generates a compressed form of \*(Ps that is
73optimized for sending pages of text to a \*(Ps
74printer attached to a host through a low-speed link (such
75as a serial line).
76Each output page is filled with white and then only
77the black areas are drawn.
78The \*(Ps specification of the black drawing operations
79is optimized by using a special font that encodes the
80move-draw operations required to fill
81the black regions on the page.
82This compression scheme typically results in a substantially
83reduced \*(Ps description, relative to the straightforward
84imaging of the page with a \*(Ps
85.I image
86operator.
87This algorithm can, however, be ineffective
88for continuous-tone and white-on-black images.
89For these images, it sometimes is more efficient to send
90the raster bitmap image directly; see
91.IR tiff2ps (1).
92.SH OPTIONS
93.TP 10
94.BI \-p " number"
95Print only the indicated page.
96Multiple pages may be printed by specifying
97this option more than once.
98.TP 10
99.BI \-x " resolution"
100Use
101.I resolution
102as the horizontal resolution, in dots/inch, of the image data.
103By default this value is taken from the file.
104.TP 10
105.BI \-y " resolution"
106Use
107.I resolution
108as the vertical resolution, in lines/inch, of the image data.
109By default this value is taken from the file.
110.TP 10
111.B \-S
112Scale each page of image data to fill the output page dimensions.
113By default images are presented according to the dimension
114information recorded in the
115.SM TIFF
116file.
117.TP 10
118.BI \-W " width"
119Use
120.I width
121as the width, in inches, of the output page.
122.TP 10
123.BI \-H " height"
124Use
125.I height
126as the height, in inches, of the output page.
127.SH DIAGNOSTICS
128Some messages about malformed
129.SM TIFF
130images come from the
131.SM TIFF
132library.
133.PP
134Various messages about badly formatted facsimile images
135may be generated due to transmission errors in received
136facsimile.
137.I fax2ps
138attempts to recover from such data errors by resynchronizing
139decoding at the end of the current scanline.
140This can result in long horizontal black lines in the resultant
141\*(Ps image.
142.SH NOTES
143If the destination printer supports \*(Ps Level II then
144it is always faster to just send the encoded bitmap generated
145by the
146.BR tiff2ps (1)
147program.
148.SH BUGS
149.I fax2ps
150should probably figure out when it is doing a poor
151job of compressing the output and just generate
152\*(Ps to image the bitmap raster instead.
153.SH "SEE ALSO"
154.BR tiff2ps (1),
155.BR libtiff (3)
156.PP
157Libtiff library home page:
158.BR http://www.remotesensing.org/libtiff/