1Pbmupc User Manual(0) Pbmupc User Manual(0)
2
3
4
6 pbmupc - create a Universal Product Code PBM image
7
8
10 pbmupc
11
12 [-s1 | -s2] type manufacturer product
13
14
16 This program is part of Netpbm(1).
17
18 pbmupc generates an image of a Universal Product Code symbol. The
19 three arguments are: a one digit product type, a five digit manufac‐
20 turer code, and a five digit product code. For example, '0 72890
21 00011' is the code for Heineken.
22
23 As presently configured, pbmupc produces an image 230 bits wide and 175
24 bits high. The size can be altered by changing the defines at the
25 beginning of the program, or by running the output through pamenlarge
26 or pamscale.
27
28
30 The -s1 and -s2 options select the style of UPC to generate. The
31 default, -s1, looks more or less like this:
32
33 ||||||||||||||||
34 ||||||||||||||||
35 ||||||||||||||||
36 ||||||||||||||||
37 0||12345||67890||5
38
39 The other style, -s2, puts the product type digit higher up, and
40 doesn't display the checksum digit:
41
42 ||||||||||||||||
43 ||||||||||||||||
44 0||||||||||||||||
45 ||||||||||||||||
46 ||12345||67890||
47
48
50 pbm(1)
51
53 Copyright (C) 1989 by Jef Poskanzer.
54
55
56
57netpbm documentation 14 March 1989 Pbmupc User Manual(0)