Barcode: upc-a – AMT Datasouth PAL User Manual
Page 59
![background image](/manuals/733850/59/background.png)
53
_barcode: UPC-A
_barcode: UPC-A
DataStr [CtrlDict]
/UPCA
_barcode
This symbology conforms to the UPC Symbol Specification Manual.
Applicable Control Dictionary Entries
See appendix A., Bar Code Considerations for a discussion of the relationship between the CTM
and default values.
/AddOn2
/AO2
Boolean. true instructs PAL to add a two-digit add-on bar code
to the base bar code. false instructs PAL not to add the add-on
bar code. Default value = false.
/AddOn5
/AO5
Boolean. true instructs PAL to add a five-digit add-on bar code
to the base bar code. false instructs PAL not to add the add-on
bar code. Default value = false.
/CheckDigit
/CD
Boolean. true instructs PAL to automatically calculate a check
digit and insert it at the end of the data string, just before the
stop character. The check digit will also be drawn as part of the
human readable. false instructs PAL that the string already
contains the check digit and that the string should be used
without modification. Default value = false.
/Height
/H
Integer or fixed-point. Specifies the height, in current user units,
of the entire bar code image. For this bar code symbology, this is
the height of the entire bar code image include the human
readable text. Default value = 36.0 (0.5" / 12.7 mm with default
CTM).
/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.936
(0.013" with default CTM).
/RandWt4
/RW4
Boolean. true instructs PAL to automatically compute the
internal check digit for a four-digit random weight (or price)
field. false instructs PAL not to calculate the check digit.
Default value = false.
/RandWt5
/RW5
Boolean. true instructs PAL to automatically compute the
internal check digit for a five-digit random weight (or price)
field. false instructs PAL not to calculate the check digit.
Default value = false.
Usage Notes
Valid characters for UPC-A bar codes are the digits 0 through 9. Any other characters will cause
the string to be rejected with a rangecheck error.
UPC-A symbols require exactly 12 digits. If fewer digits are provided,, the string will be padded
with leading zeros. If a check digit has been requested PAL computes the correct value and re-