Annotated edit history of
pbmupc(1) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
pbmupc |
|
|
2 |
!!!pbmupc |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
pbmupc - create a Universal Product Code bitmap |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__pbmupc__ [[__-s1__|__-s2__] ''type manufac |
|
|
18 |
product'' |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
Generates a Universal Product Code symbol. The three |
|
|
23 |
arguments are: a one digit product type, a five digit |
|
|
24 |
manufacturer code, and a five digit product code. For |
|
|
25 |
example, |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
As presently configured, ''pbmupc'' produces a bitmap 230 |
|
|
29 |
bits wide and 175 bits high. The size can be altered by |
|
|
30 |
changing the defines at the beginning of the program, or by |
|
|
31 |
running the output through ''pnmenlarge'' or |
|
|
32 |
''pnmscale''. |
|
|
33 |
!!OPTIONS |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
The __-s1__ and __-s2__ flags select the style of UPC |
|
|
37 |
to generate. The default, __-s1__, looks more or less |
|
|
38 |
like this: |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|||||||||||||||| |
|
|
42 |
|||||||||||||||| |
|
|
43 |
|||||||||||||||| |
|
|
44 |
|||||||||||||||| |
|
|
45 |
0||12345||67890||5 |
|
|
46 |
The other style, __-s2__, puts the product type digit higher up, and doesn't display the checksum digit: |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|||||||||||||||| |
|
|
50 |
|||||||||||||||| |
|
|
51 |
0|||||||||||||||| |
|
|
52 |
|||||||||||||||| |
|
|
53 |
||12345||67890|| |
|
|
54 |
!!SEE ALSO |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
pbm(5) |
|
|
58 |
!!AUTHOR |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
Copyright (C) 1989 by Jef Poskanzer. |
|
|
62 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.