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