Blame man/fax2ps.1

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