Blame man/fax2ps.1

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