beautypg.com

Barcode: ean-13 – AMT Datasouth PAL User Manual

Page 51

background image

45

_barcode: EAN-13

_barcode: EAN-13

DataStr [CtrlDict]

/EAN13 _barcode

This symbology conforms to the General EAN specifications.

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 2-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 5 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 the check
digit and insert it into the data string immediately before the stop
character. The check digit will also appear as part of the human
readable. false instructs PAL that the data strings already
contains the check digit and to use the data string without
modification. Default value = false.

/Height
/H

Integer or fixed-point. Specifies the height, in current user
coordinates, of the bar code. For this bar code symbology, the
height includes 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" / 0.33 mm with default CTM).

/RandWt4
/RW4

Boolean. true instruct PAL to automatically calculate the
internal check digit for a four-digit random weight (or price)
field. false instructs PAL to not perform this calculation.
Default value = false.

/RandWt5
/RW5

Boolean. true instructs PAL to automatically calculate the
internal check digit for a five-digit random weight (or price)
field. Default value = false.

Usage Notes

Valid characters for EAN-13 bar codes are the digits 0 through 9. Any other characters will cause
the string to be rejected with a rangecheck error.

EAN-13 symbols require exactly 13 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-
places the 13th digit with the new check digit. The data string should contain a dummy character in