.TH pbmupc 1 "14 March 1989" .IX pbmupc .SH NAME pbmupc - create a Universal Product Code bitmap .SH SYNOPSIS .B pbmupc .RB [ -s1 | -s2 ] .I type manufac product .SH DESCRIPTION Generates a Universal Product Code symbol. .IX "Universal Product Code" 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. .IX Heineken .PP As presently configured, .I pbmupc produces a bitmap 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 .I pnmenlarge or .IR pnmscale . .SH OPTIONS .PP The .B -s1 and .B -s2 flags select the style of UPC to generate. The default, .BR -s1 , looks more or less like this: .nf |||||||||||||||| |||||||||||||||| |||||||||||||||| |||||||||||||||| 0||12345||67890||5 .fi The other style, .BR -s2 , puts the product type digit higher up, and doesn't display the checksum digit: .nf |||||||||||||||| |||||||||||||||| 0|||||||||||||||| |||||||||||||||| ||12345||67890|| .fi .SH "SEE ALSO" pbm(5) .SH AUTHOR Copyright (C) 1989 by Jef Poskanzer. .\" Permission to use, copy, modify, and distribute this software and its .\" documentation for any purpose and without fee is hereby granted, provided .\" that the above copyright notice appear in all copies and that both that .\" copyright notice and this permission notice appear in supporting .\" documentation. This software is provided "as is" without express or .\" implied warranty.