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 In addition to the options common to all programs based on libnetpbm
30 (most notably -quiet, see
31 Common Options ⟨index.html#commonoptions⟩ ), pbmupc recognizes the
32 following command line options:
33
34 The -s1 and -s2 options select the style of UPC to generate. The
35 default, -s1, looks more or less like this:
36
37 ||||||||||||||||
38 ||||||||||||||||
39 ||||||||||||||||
40 ||||||||||||||||
41 0||12345||67890||5
42
43 The other style, -s2, puts the product type digit higher up, and
44 doesn't display the checksum digit:
45
46 ||||||||||||||||
47 ||||||||||||||||
48 0||||||||||||||||
49 ||||||||||||||||
50 ||12345||67890||
51
52
53
55 pamscale(1) pbm(1)
56
57
59 Copyright (C) 1989 by Jef Poskanzer.
60
62 This manual page was generated by the Netpbm tool 'makeman' from HTML
63 source. The master documentation is at
64
65 http://netpbm.sourceforge.net/doc/pbmupc.html
66
67netpbm documentation 29 April 2015 Pbmupc User Manual(0)