\ .\" 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 "14 March 1989" "netpbm documentation" .UN lbAB .SH NAME pbmupc - create a Universal Product Code PBM image .UN lbAC .SH SYNOPSIS \fBpbmupc\fP [\fB-s1\fP | \fB-s2\fP] \fItype\fP \fImanufacturer\fP \fIproduct\fP .UN lbAD .SH DESCRIPTION .PP This program is part of .BR Netpbm (1) . .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 As presently configured, \fBpbmupc\fP produces an image 230 bits wide and 175 bits high. The size can be altered by changing the defines at the beginning of the program, or by running the output through \fBpamenlarge\fP or \fBpamscale\fP. .UN lbAE .SH 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 lbAF .SH SEE ALSO .BR pbm (5) .UN lbAG .SH AUTHOR Copyright (C) 1989 by Jef Poskanzer.