Blame man/fax2ps.1

Packit 7838c8
.\"	$Id: fax2ps.1,v 1.5 2016-09-25 20:05:51 bfriesen Exp $
Packit 7838c8
.\"
Packit 7838c8
.\" Copyright (c) 1991-1997 Sam Leffler
Packit 7838c8
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
Packit 7838c8
.\"
Packit 7838c8
.\" Permission to use, copy, modify, distribute, and sell this software and 
Packit 7838c8
.\" its documentation for any purpose is hereby granted without fee, provided
Packit 7838c8
.\" that (i) the above copyright notices and this permission notice appear in
Packit 7838c8
.\" all copies of the software and related documentation, and (ii) the names of
Packit 7838c8
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
Packit 7838c8
.\" publicity relating to the software without the specific, prior written
Packit 7838c8
.\" permission of Sam Leffler and Silicon Graphics.
Packit 7838c8
.\" 
Packit 7838c8
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
Packit 7838c8
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
Packit 7838c8
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
Packit 7838c8
.\" 
Packit 7838c8
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
Packit 7838c8
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
Packit 7838c8
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
Packit 7838c8
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
Packit 7838c8
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
Packit 7838c8
.\" OF THIS SOFTWARE.
Packit 7838c8
.\"
Packit 7838c8
.ds Ps PostScript
Packit 7838c8
.if n .po 0
Packit 7838c8
.TH FAX2PS 1 "November 2, 2005" "libtiff"
Packit 7838c8
.SH NAME
Packit 7838c8
fax2ps \- convert a
Packit 7838c8
.SM TIFF
Packit 7838c8
facsimile to compressed \*(Ps\(tm
Packit 7838c8
.SH SYNOPSIS
Packit 7838c8
.B fax2ps
Packit 7838c8
[
Packit 7838c8
.I options
Packit 7838c8
] [
Packit 7838c8
.I file ...\&
Packit 7838c8
]
Packit 7838c8
.SH DESCRIPTION
Packit 7838c8
.I fax2ps
Packit 7838c8
reads one or more
Packit 7838c8
.SM TIFF
Packit 7838c8
facsimile image files and prints a compressed form of
Packit 7838c8
\*(Ps on the standard output that is suitable for printing.
Packit 7838c8
.PP
Packit 7838c8
By default, each page is scaled to reflect the
Packit 7838c8
image dimensions and resolutions stored in the file.
Packit 7838c8
The
Packit 7838c8
.B \-x
Packit 7838c8
and
Packit 7838c8
.B \-y
Packit 7838c8
options can be used to specify the horizontal and vertical
Packit 7838c8
image resolutions (lines/inch), respectively.
Packit 7838c8
If the
Packit 7838c8
.B \-S
Packit 7838c8
option is specified, each page is scaled to fill an output page.
Packit 7838c8
The default output page is 8.5 by 11 inches.
Packit 7838c8
Alternate page dimensions can be specified in inches with the
Packit 7838c8
.B \-W
Packit 7838c8
and
Packit 7838c8
.B \-H
Packit 7838c8
options.
Packit 7838c8
.PP
Packit 7838c8
By default
Packit 7838c8
.I fax2ps
Packit 7838c8
generates \*(Ps for all pages in the file.
Packit 7838c8
The
Packit 7838c8
.B \-p
Packit 7838c8
option can be used to select one or more pages from
Packit 7838c8
a multi-page document.
Packit 7838c8
.PP
Packit 7838c8
.I fax2ps
Packit 7838c8
generates a compressed form of \*(Ps that is
Packit 7838c8
optimized for sending pages of text to a \*(Ps
Packit 7838c8
printer attached to a host through a low-speed link (such
Packit 7838c8
as a serial line).
Packit 7838c8
Each output page is filled with white and then only
Packit 7838c8
the black areas are drawn.
Packit 7838c8
The \*(Ps specification of the black drawing operations
Packit 7838c8
is optimized by using a special font that encodes the
Packit 7838c8
move-draw operations required to fill
Packit 7838c8
the black regions on the page.
Packit 7838c8
This compression scheme typically results in a substantially
Packit 7838c8
reduced \*(Ps description, relative to the straightforward
Packit 7838c8
imaging of the page with a \*(Ps
Packit 7838c8
.I image
Packit 7838c8
operator.
Packit 7838c8
This algorithm can, however, be ineffective
Packit 7838c8
for continuous-tone and white-on-black images.
Packit 7838c8
For these images, it sometimes is more efficient to send
Packit 7838c8
the raster bitmap image directly; see
Packit 7838c8
.BR tiff2ps (1).
Packit 7838c8
.SH OPTIONS
Packit 7838c8
.TP 10
Packit 7838c8
.BI \-p " number"
Packit 7838c8
Print only the indicated page.
Packit 7838c8
Multiple pages may be printed by specifying
Packit 7838c8
this option more than once.
Packit 7838c8
.TP 10
Packit 7838c8
.BI \-x " resolution"
Packit 7838c8
Use
Packit 7838c8
.I resolution
Packit 7838c8
as the horizontal resolution, in dots/inch, of the image data.
Packit 7838c8
By default this value is taken from the file.
Packit 7838c8
.TP 10
Packit 7838c8
.BI \-y " resolution"
Packit 7838c8
Use
Packit 7838c8
.I resolution
Packit 7838c8
as the vertical resolution, in lines/inch, of the image data.
Packit 7838c8
By default this value is taken from the file.
Packit 7838c8
.TP 10
Packit 7838c8
.B \-S
Packit 7838c8
Scale each page of image data to fill the output page dimensions.
Packit 7838c8
By default images are presented according to the dimension
Packit 7838c8
information recorded in the 
Packit 7838c8
.SM TIFF
Packit 7838c8
file.
Packit 7838c8
.TP 10
Packit 7838c8
.BI \-W " width"
Packit 7838c8
Use
Packit 7838c8
.I width
Packit 7838c8
as the width, in inches, of the output page.
Packit 7838c8
.TP 10
Packit 7838c8
.BI \-H " height"
Packit 7838c8
Use
Packit 7838c8
.I height
Packit 7838c8
as the height, in inches, of the output page.
Packit 7838c8
.SH DIAGNOSTICS
Packit 7838c8
Some messages about malformed 
Packit 7838c8
.SM TIFF
Packit 7838c8
images come from the
Packit 7838c8
.SM TIFF
Packit 7838c8
library.
Packit 7838c8
.PP
Packit 7838c8
Various messages about badly formatted facsimile images
Packit 7838c8
may be generated due to transmission errors in received
Packit 7838c8
facsimile.
Packit 7838c8
.I fax2ps
Packit 7838c8
attempts to recover from such data errors by resynchronizing
Packit 7838c8
decoding at the end of the current scanline.
Packit 7838c8
This can result in long horizontal black lines in the resultant
Packit 7838c8
\*(Ps image.
Packit 7838c8
.SH NOTES
Packit 7838c8
If the destination printer supports \*(Ps Level II then
Packit 7838c8
it is always faster to just send the encoded bitmap generated
Packit 7838c8
by the
Packit 7838c8
.BR tiff2ps (1)
Packit 7838c8
program.
Packit 7838c8
.SH BUGS
Packit 7838c8
.I fax2ps
Packit 7838c8
should probably figure out when it is doing a poor
Packit 7838c8
job of compressing the output and just generate 
Packit 7838c8
\*(Ps to image the bitmap raster instead.
Packit 7838c8
.SH "SEE ALSO"
Packit 7838c8
.BR tiff2ps (1),
Packit 7838c8
.BR libtiff (3)
Packit 7838c8
.PP
Packit 7838c8
Libtiff library home page:
Packit 7838c8
.BR http://www.simplesystems.org/libtiff/