Bash Cures Cancer
Learn the UNIX/Linux command line

Home     Man Pages     SpamDefeator


				    pbmupc

   Updated: 14 March 1989
   Table Of Contents

NAME

   pbmupc - create a Universal Product Code PBM image

SYNOPSIS

   pbmupc [-s1 | -s2] type manufacturer product

DESCRIPTION

   This program is part of Netpbm.

   pbmupc  generates an image of a Universal Product Code symbol.
The three
   arguments are: a one digit product type, a five digit manufac-
turer code, and
   a five digit product code. For example, "0 72890 00011" is the
code for
   Heineken.

   As presently configured, pbmupc 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  pnmenlarge  or
pnmscale.

OPTIONS

   The	-s1  and -s2 options select the style of UPC to generate.
The default,
   -s1, looks more or less like this:
 ||||||||||||||||
 ||||||||||||||||
 ||||||||||||||||
 |||||||||||||||| 0||12345||67890||5

   The other style, -s2, puts the product type digit  higher  up,
and doesn't
   display the checksum digit:
 ||||||||||||||||
 |||||||||||||||| 0||||||||||||||||
 ||||||||||||||||
 ||12345||67890||



SEE ALSO

   pbm

AUTHOR

   Copyright (C) 1989 by Jef Poskanzer.
     _________________________________________________________________



Table Of Contents

     * NAME
     * SYNOPSIS
     * DESCRIPTION
     * OPTIONS
     * SEE ALSO
     * AUTHOR






























































UNIX/Linux commands referenced on this page:
  1. size
  2. at
  3. pnmenlarge
  4. more
  5. less
  6. display