xref: /plan9/sys/src/cmd/postscript/misc/laserbar.1 (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
LASERBAR 1
NAME
laserbar - produce bar codes on a PostScript laser printer
SYNOPSIS
laserbar [-r rotate] [-x xoffset] [-y yoffset] [-X xscale] [-Y yscale] [-lns] string
DESCRIPTION
Laserbar prints on the standard output the PostScript text that will produce (on a suitable laser printer) the \s-2CODE-39\s+2 bar code corresponding to string. The r option may be used to specify a rotation (in degrees) of the bar code. The x, y, X, and Y options may be used to specify an x- or y-axis offset (in inches) or scaling factor, respectively. (The offset is measured from the lower left corner of the page to the upper left corner of the bar code. By default, the bar code produced is one inch high, and is scaled so that the narrowest elements are each 1/72-inch - i.e., one point - wide.) If the l option is specified, the bar code produced is labeled. If the n option is specified, the resulting PostScript text includes a leading newpath command, so that the text may stand alone or precede any other PostScript commands. If the s option is specified, the resulting PostScript text includes a trailing showpage command, so that the text may stand alone or follow any other PostScript commands.

This manual page (if it appears with a bar code printed on it) was produced by something like the following sequence:

laserbar -x 2.5 -y 3 -l -n ABC123xyz > tempfile

troff -man -Tpost laserbar.1 | dpost >> tempfile

prt -dprinter -lpostscript tempfile

SEE ALSO
laserbar(3), prt(1), dpost(1), postbgi(1), postprint(1), postdmd(1), posttek(1), etc.