summary refs log tree commit diff
path: root/pbmupc.html
blob: a7539558997db9a729559a422f9914803d89f0f7 (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.2//EN">
<HTML><HEAD><TITLE>Pbmupc User Manual</TITLE></HEAD>
<BODY>
<H1>pbmupc</H1>
Updated: 14 March 1989
<BR>
<A HREF="#index">Table Of Contents</A>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

pbmupc - create a Universal Product Code PBM image

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>pbmupc</B>

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

<A NAME="lbAD">&nbsp;</A>
<H2>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>As presently configured, <b>pbmupc</b> produces an image 230 bits
wide and 175 bits high.  The size can be altered by changing the
defines at the beginning of the program, or by running the output
through <B>pamenlarge</B> or <B>pamscale</B>.

<A NAME="lbAE">&nbsp;</A>
<H2>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>

<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

<A HREF="pbm.html">pbm</A>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>

Copyright (C) 1989 by Jef Poskanzer.

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">OPTIONS</A>
<LI><A HREF="#lbAF">SEE ALSO</A>
<LI><A HREF="#lbAG">AUTHOR</A>
</UL>
</BODY>
</HTML>