Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
.TH LASERBAR 1
2
.SH NAME
3
laserbar \- produce bar codes on a PostScript laser printer
4
.SH SYNOPSIS
5
.B laserbar
6
[\fB-r\fP rotate] [\fB-x\fP xoffset] [\fB-y\fP yoffset]
7
[\fB-X\fP xscale] [\fB-Y\fP yscale] [\fB-lns\fP] string
8
.SH DESCRIPTION
9
.I Laserbar
10
prints on the standard output the PostScript text that will produce
11
(on a suitable laser printer) the \s-2CODE-39\s+2 bar code
12
corresponding to
13
.I string.
14
The \fBr\fP option may be used to specify a rotation (in
15
degrees) of the bar code.
16
The \fBx\fP, \fBy\fP, \fBX\fP, and \fBY\fP options may be used to specify
17
an x- or y-axis offset (in inches) or scaling factor, respectively.
18
(The offset is measured from the lower left corner of the page
19
to the upper left corner of the bar
20
code.  By default, the bar code produced is one inch high, and is scaled
21
so that the narrowest elements are each 1/72-inch \- i.e., one point \- wide.)
22
If the \fBl\fP option is specified, the bar code produced is labeled.
23
If the \fBn\fP option is specified, the resulting PostScript text
24
includes a leading \f(CWnewpath\fP command, so that the text may stand
25
alone or precede any other PostScript commands.
26
If the \fBs\fP option is specified, the resulting PostScript text includes 
27
a trailing \f(CWshowpage\fP command, so that the text may stand alone
28
or follow any other PostScript commands.
29
.P
30
This manual page (if it appears with a bar code printed on it) was
31
produced by something like the following sequence:
32
.IP
33
.ft CW
34
laserbar -x 2.5 -y 3 -l -n ABC123xyz > tempfile
35
.br
36
troff -man -Tpost laserbar.1 | dpost >> tempfile
37
.br
38
prt -dprinter -lpostscript tempfile
39
.ft P
40
.SH SEE ALSO
41
laserbar(3), prt(1), dpost(1), postbgi(1), postprint(1), postdmd(1), posttek(1), etc.