Symbol Polarity: Black symbol on white background or visa versa.
Black-on-white is the 'normal' configuration. White-on-black can be
thought of as a negative image.
Resolution: Dots per inch of printing device. Bar code printers
are typically 300 dpi. The program assumes that a minimum of one
complete dot is needed to construct a bar and dots cannot overlap. Certain
densities may not be possible, so the closest possible density will be
used.
Quiet Zone: Number of bar widths (density) to use for the quiet zone.
A minimum value of 10 is recommended.
Density: The width of an individual bar (5 = .005"). Different
bar widths within the same bar code are multiples of the density.
The density value is used in calculating the relative size of the
Quiet Zone.
JPEG File type: Check this box if you would like a JPEG
image. The default file type is PNG.
Include Text: Check this box if you would like the text
printed below the bar code, provided there is enough room.
The default is to print the text.
A short explanation: This script was written in just a couple of
hours. Therefore, it is very rudimentary and doesn't do
Perl justice. It will create either
Code 128 "B" or "C" only. Code 128 "A" is not supported at this time.
Code 128 "C" will be used if the data string is numeric characters only
AND there are an even number of characters (like, "123456"). Otherwise,
Code 128 "B" will be used, if possible. The encoding scheme (B or C) will
be at the top of the results page. For more information on bar code
specifications, please see
BarCode1.
You can download an adaptation of this script as a Perl module
(Barcode.pm),
which also includes a CueCat decoder, by
Scott Barninger (barninger at fairfieldcomputers dot com).