Barcode: code 128 – AMT Datasouth PAL User Manual
Page 40

_barcode: Code 128
34
_barcode: Code 128
DataStr [CtrlDict]
/Code128
_barcode
This symbology conforms to the USS-128 specification.
Applicable Control Dictionary Entries
See appendix A., Bar Code Considerations for a discussion of the relationship between the CTM
and default values.
/CheckDigit
/CD
Boolean. true instructs PAL to calculate the check digit and
insert it into the data string. false will instruct PAL to use the
data string without modification. Default value = true.
/Height
/H
Integer or fixed-point. Specifies the height of the bars. This
value should be at least 0.25 inches (6.35 mm) or 15% of the bar
code symbol length, whichever is greater. Note that this is the
height of only the bars and does not include the human readable
text, if any. The resulting overall bar code image may be taller
than Height. Default value = 36.0 (0.5" / 12.7 mm with default
CTM).
/HRAbove
/HRA
Boolean. true instructs PAL to place the human readable text
above the bar code. false instructs PAL to place the human
readable text below the bar code. If HRShow is false, this entry
is ignored. Default value = false.
/HRShow
/HR
Boolean. true instructs PAL to automatically print the human
readable text along with the bar code. false instructs PAL not to
include the human readable. Default value = true.
/NarrowWidth
/XWidth
/NW
/X
Integer or fixed-point. Specifies the width, in current user units,
of the narrow bars drawn as part of the bar code. This is
generally referred to as the X dimension. Default value = 0.72
(1/100" / 0.254 mm with default CTM).
/UCC128
/EAN128
/U128
/E128
Boolean. true instructs PAL to use UCC-128/EAN-128 format.
false instructs PAL to use Code-128. Default setting = false.
Usage Notes
Code 128 has three different code sets designated Code A, Code B, Code C. These code sets pro-
vide different mappings of the 106 available Code 128 symbols to ASCII. These mappings, along
with the PAL strings that generates the symbols, are shown in the table below. Code A provides
most symbols, the capital letters, and ASCII control characters. Code B provides the complete
ASCII symbol set, but no control characters. Code C provides a very dense packing of numeric
strings. Two decimal digits are packed into one Code 128 symbol.
The generation of Code 128 bar codes is controlled by several special control characters included
in the Code 128 set. PAL is instructed to generate these special characters with a two-character