HARDCOPY(1)

NAME
hardcopy - redirects output from PostScript file operators to paper

SYNOPSIS
hardcopy [ options []] [ files []]

DESCRIPTION
hardcopy surrounds files with PostScript that redirects file output to paper, and writes the results on the standard output. If no files are specified, or if [-] is one of the input files, the standard input is read. The following options are understood:

[-c num]
Print
    num copies of each page. By default only one copy is printed.

    [-f name]
Print
    files using font name, which should be the name of a constant width font. The default font is Courier.

    [-m num]
Magnify each page by the factor
    num. Pages are scaled uniformly about the origin, which is located near the upper left corner of each page. The default magnification is 1.0.

    [-p mode]
Print
    files in either portrait or landscape mode. Only the first character of mode is significant. The default mode is portrait.

    [-s num]
Print
    files using point size num. When printing in landscape mode num is scaled by a factor that depends on the imaging area of the device. The default size for portrait mode is 10.

    [-x num]
Translate the origin
    num inches along the positive x axis. The default coordinate system has the origin fixed near the upper left corner of the page, with positive x to the right and positive y down the page. Positive num moves everything right. The default offset is 0.25 inches.

    [-y num]
Translate the origin
    num inches along the positive y axis. Positive num moves text down the page. The default offset is 0.25 inches.

    [-L file]
Use file as the PostScript prologue.
    The default is /usr/lib/postscript/hardcopy.ps(.)

hardcopy generates paper output from data that a PostScript program normally sends back to a host computer. It is particularly useful for recovering data from a printer that does not allow access to its serial port.

EXAMPLES
For a list of ROM based fonts type:
    echo 'FontDirectory {pop ==} forall' | hardcopy | lp
To recover the version number of the PostScript interpreter:
    echo 'version ==' | hardcopy -pland | lp
To build and print a width table for font type:
    trofftable -TLatin1 R | hardcopy | lp

WARNINGS
Results are unpredictable if the input files make changes to the graphics state.

FILES

SEE ALSO
buildtables(1), postio(1), trofftable(1)