about summary refs log tree commit diff
path: root/pbmupc.html
blob: 0f7f571d8ab830b3c0d7d665e5eadf97d2c54139 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//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, &quot;0 72890 00011&quot; 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>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>