summary refs log tree commit diff
path: root/pbmupc.html
blob: a8a1449c48d451c30ac0a3d9ac092ba3845e9e3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Pbmupc User Manual</title></head>
<body>
<h1>pbmupc</h1>
Updated: 29 April 2015
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>

pbmupc - create a Universal Product Code PBM image

<h2 id="synopsis">SYNOPSIS</h2>

<b>pbmupc</b>

[<b>-s1</b> | <b>-s2</b>] <i>type</i> <i>manufacturer</i> <i>product</i>

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>pbmupc</b> 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.

<p><b>pbmupc</b> produces an image 230 bits wide and 175 bits high.  If you
want a different size run the output through <b>pamscale</b>.


<h2 id="options">OPTIONS</h2>

<p>In addition to the options common to all programs based on libnetpbm
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
Common Options</a>), <b>pbmupc</b> recognizes the following
command line options:

<p>The <b>-s1</b> and <b>-s2</b> options select the style of UPC to
generate.  The default, <b>-s1</b>, looks more or less like this:

<pre>
 ||||||||||||||||
 ||||||||||||||||
 ||||||||||||||||
 ||||||||||||||||
0||12345||67890||5
</pre>

The other style, <b>-s2</b>, puts the product type digit higher up,
and doesn't display the checksum digit:

<pre>
 ||||||||||||||||
 ||||||||||||||||
0||||||||||||||||
 ||||||||||||||||
 ||12345||67890||
</pre>


<h2 id="seealso">SEE ALSO</h2>

<a href="pamscale.html">pamscale</a>
<a href="pbm.html">pbm</a>

<h2 id="author">AUTHOR</h2>

Copyright (C) 1989 by Jef Poskanzer.

<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#author">AUTHOR</a>
</ul>

</body>
</html>