Blob Blame History Raw
<!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, "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>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>