PRINT-PS-TWOSIDE 1 "03 October 1997" "Version 2.01"

Table of contents


NAME

print-ps-oneside - simplex printing of PostScript files
print-ps-twoside - duplex printing of PostScript files

SYNOPSIS

print-ps-oneside [ -P printername ] [ -# copies ] [ -r resolution-in-dpi ] <infile or file1 file2 file3 ...

print-ps-twoside [ -P printername ] [ -# copies ] [ -r resolution-in-dpi ] <infile or file1 file2 file3 ...

The files to be printed must be PostScript, or one of these graphics, image, or typesetting file types: GIF, JPEG, PNG, Sun raster, Tektronix, TeX DVI, or x79. Option values may suffix the option switch, or be given as the next word on the command line.


DESCRIPTION

If the printer defined by the -P command-line option, or the default printer set by the PRINTER environment variable, is capable of duplex (two-sided) printing, then print-ps-twoside will select it. Otherwise, it will issue a warning and print in simplex (one-sided) mode. print-ps-oneside selects simplex mode. In either case, the job header page will be printed on a separate sheet of paper. Some duplex printers may otherwise be configured to print the first page of the file on the back of the job header page.

The -# copies option requests that multiple copies of the job be printed. The printer spooler will reprint the job the specified number of times, downloading it to the printer each time.

The -r resolution value will normally be 300, 600, or 1200 (dots/inch). Some laser printers that support multiple resolutions may print much faster at lower resolution values.

For TeX DVI files, the resolution is used to determine a suitable set of bitmapped fonts. Otherwise, the DVI driver's default resolution (often 600dpi) will be used.

If the leading signature bytes of a non-PostScript file are recognized, then suitable filters are invoked to convert it to PostScript in a temporary file. NB: You may have more control over the filter by running it separately with additional command-line options.

After the filtering step, the file is checked for the standard PostScript leading signature bytes ``%!'', and rejected with a warning if they are not found. In particular, both ordinary text files, and random binary files, will be rejected. For the former, use lptops(1) to convert them to PostScript, possibly as a filter piped into print-ps-oneside or print-ps-twoside.


SEE ALSO

djpeg(1), dvialw(1), giftopnm(1), lpq(1), lpr(1), lptops(1), plot79(1), pngtopnm(1), pnmtops(1), rasttopnm(1), tekalw(1), tifftopnm(1), x79ps(1).

AUTHOR

Nelson H. F. Beebe
Center for Scientific Computing
University of Utah
Department of Mathematics, 105 JWB
155 S 1400 E RM 233
Salt Lake City, UT 84112-0090
USA
Tel: +1 801 581 5254
FAX: +1 801 581 4148
Email: beebe@math.utah.edu, beebe@acm.org, beebe@ieee.org
URL: http://www.math.utah.edu/~beebe