home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega A/V
/
mega_av.zip
/
mega_av
/
GRAPHUTL
/
PBMPLUS.ZIP
/
PBMUPC.MAN
< prev
next >
Wrap
Text File
|
1991-08-11
|
2KB
|
67 lines
pbmupc(1) Unix Programmer's Manual pbmupc(1)
NNNAAAMMMEEE
pbmupc - create a Universal Product Code bitmap
SSSYYYNNNOOOPPPSSSIIISSS
pppbbbmmmuuupppccc [-sss111|-sss222] _t_y_p_e _m_a_n_u_f_a_c _p_r_o_d_u_c_t
DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
Generates 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.
As presently configured, _p_b_m_u_p_c 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 _p_n_m_e_n_l_a_r_g_e or
_p_n_m_s_c_a_l_e.
OOOPPPTTTIIIOOONNNSSS
The ---sss111 and ---sss222 flags select the style of UPC to generate. The default,
---sss111, looks more or less like this:
||||||||||||||||
||||||||||||||||
||||||||||||||||
||||||||||||||||
0||12345||67890||5
The other style, ---sss222, puts the product type digit higher up, and doesn't
display the checksum digit:
||||||||||||||||
||||||||||||||||
0||||||||||||||||
||||||||||||||||
||12345||67890||
SSSEEEEEE AAALLLSSSOOO
pbm(5)
AAAUUUTTTHHHOOORRR
Copyright (C) 1989 by Jef Poskanzer.
14 March 1989 1