1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it! If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pbmupc User Manual" 0 "29 April 2015" "netpbm documentation"
.SH NAME
pbmupc - create a Universal Product Code PBM image
.UN synopsis
.SH SYNOPSIS
\fBpbmupc\fP
[\fB-s1\fP | \fB-s2\fP] \fItype\fP \fImanufacturer\fP \fIproduct\fP
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpbmupc\fP generates an image of a Universal Product Code symbol.
The three arguments are: a one digit product type, a five digit
manufacturer code, and a five digit product code.
For example, "0 72890 00011" is the code for Heineken.
.PP
\fBpbmupc\fP produces an image 230 bits wide and 175 bits high. If you
want a different size run the output through \fBpamscale\fP.
.UN options
.SH OPTIONS
.PP
In addition to the options common to all programs based on libnetpbm
(most notably \fB-quiet\fP, see
.UR index.html#commonoptions
Common Options
.UE
\&), \fBpbmupc\fP recognizes the following
command line options:
.PP
The \fB-s1\fP and \fB-s2\fP options select the style of UPC to
generate. The default, \fB-s1\fP, looks more or less like this:
.nf
||||||||||||||||
||||||||||||||||
||||||||||||||||
||||||||||||||||
0||12345||67890||5
.fi
The other style, \fB-s2\fP, puts the product type digit higher up,
and doesn't display the checksum digit:
.nf
||||||||||||||||
||||||||||||||||
0||||||||||||||||
||||||||||||||||
||12345||67890||
.fi
.UN seealso
.SH SEE ALSO
.BR "pamscale" (1)\c
\&
.BR "pbm" (1)\c
\&
.UN author
.SH AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source. The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pbmupc.html
.PP
|