CROPMARKS(1)

NAME
cropmarks - add cropmarks to PostScript files

SYNOPSIS
cropmarks [ options []] [ files []]

DESCRIPTION
Cropmarks surrounds PostScript files with code that centers each page and adds cropmarks to the four corners. The results are written 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:

[-d]
Disable the device-dependent PostScript code that expands page sizes.

    [-h num]
Set the height of each page to
    num inches. The default is 11.0 inches.

    [-s]
Scale pages so cropmarks always show up.
    Primarily for debugging and development on devices that don't adjust page sizes.

    [-w num]
Set the width of each page to
    num inches. The default is 8.5 inches.

    [-L file]
Use file as the PostScript prologue.
    The default is /tmp/pkgbuild/textproc/DWB/work.aarch64eb/.destdir/usr/pkg/DWB/lib/postscript/cropmarks.ps(.)

Height and width set with the [-h] and [-w] options adjust the size of the image area available on each sheet of paper. Neither suggests anything about the orientation of output in that area. Cropmarks are printed at each corner just outside the image area.

EXAMPLES

Print text in a 6.5×8.0-inch area centered on each sheet of paper:
    troff -mm file | dpost | cropmarks -w6.5 -h8.0 | spool
Print landscape text in exactly the same 6.5×8.0-inch area:
    troff -mm file | dpost -pland | cropmarks -w6.5 -h8.0 | spool
In both examples, spool is the spooling command used to send PostScript output to a local printer.

WARNINGS

Device-dependent PostScript code to automatically expand page sizes may only work on Linotronic 200P typesetters that use 12-inch-wide paper. Local changes to the printer-dependent code can be made in the procedure defined in /tmp/pkgbuild/textproc/DWB/work.aarch64eb/.destdir/usr/pkg/DWB/lib/postscript/cropmarks.ps(.)

The PostScript files must be reasonably well behaved. There are no guarantees, particularly if the input files redefine the operator.

The program is unsupported and may not be included in future releases.

FILES

SEE ALSO
dpost(1), troff(1)