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 pbmupc produces an image 230 bits wide and 175 bits high. If you want
24 a different size run the output through pamscale.
25
26
27
29 The -s1 and -s2 options select the style of UPC to generate. The
30 default, -s1, looks more or less like this:
31
32 ||||||||||||||||
33 ||||||||||||||||
34 ||||||||||||||||
35 ||||||||||||||||
36 0||12345||67890||5
37
38 The other style, -s2, puts the product type digit higher up, and
39 doesn't display the checksum digit:
40
41 ||||||||||||||||
42 ||||||||||||||||
43 0||||||||||||||||
44 ||||||||||||||||
45 ||12345||67890||
46
47
48
50 pamscale(1) pbm(1)
51
52
54 Copyright (C) 1989 by Jef Poskanzer.
55
57 This manual page was generated by the Netpbm tool 'makeman' from HTML
58 source. The master documentation is at
59
60 http://netpbm.sourceforge.net/doc/pbmupc.html
61
62netpbm documentation 29 April 2015 Pbmupc User Manual(0)