man-pages/man1/pbmupc.1.html
2021-03-31 01:06:50 +01:00

115 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of pbmupc</TITLE>
</HEAD><BODY>
<H1>pbmupc</H1>
Section: User Commands (1)<BR>Updated: 14 March 1989<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
pbmupc - create a Universal Product Code bitmap
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>pbmupc</B>
[<B>-s1</B>|<B>-s2</B>]
<I>type manufac product</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Generates a Universal Product Code symbol.
<A NAME="ixAAC"></A>
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.
<A NAME="ixAAD"></A>
<P>
As presently configured,
<I>pbmupc</I>
produces a bitmap 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
<I>pnmenlarge</I>
or
<I>pnmscale</I>.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
The
<B>-s1</B>
and
<B>-s2</B>
flags 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="/cgi-bin/man/man2html?5+pbm">pbm</A>(5)
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1989 by Jef Poskanzer.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="6"><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:22 GMT, March 31, 2021
</BODY>
</HTML>