.TL Pbmupc User Manual .SH 1 pbmupc .LP Updated: 14 March 1989 .br Table Of Contents .SH 2 NAME .LP pbmupc - create a Universal Product Code PBM image .SH 2 SYNOPSIS .LP \fBpbmupc\fR [\fB-s1\fR | \fB-s2\fR] \fItype\fR \fImanufacturer\fR \fIproduct\fR .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpbmupc\fR 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. .LP As presently configured, \fBpbmupc\fR 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\fR or \fBpamscale\fR. .SH 2 OPTIONS .LP .LP The \fB-s1\fR and \fB-s2\fR options select the style of UPC to generate. The default, \fB-s1\fR, looks more or less like this: .DS L |||||||||||||||| |||||||||||||||| |||||||||||||||| |||||||||||||||| 0||12345||67890||5 .DE The other style, \fB-s2\fR, puts the product type digit higher up, and doesn't display the checksum digit: .DS L |||||||||||||||| |||||||||||||||| 0|||||||||||||||| |||||||||||||||| ||12345||67890|| .DE .SH 2 SEE ALSO .LP pbm .SH 2 AUTHOR .LP Copyright (C) 1989 by Jef Poskanzer. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP