Barcode: ean-8 – AMT Datasouth PAL User Manual
Page 50
_barcode: EAN-8
44
_barcode: EAN-8
DataStr [CtrlDict]
/EAN8
_barcode
This symbology conforms to the General EAN 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 automatically calculate the check
digit and insert it at the end of the data string, just before the
stop character. The check digit will also be part of the human
readable text. false instructs PAL that the data string already
contains a check digit and the string should be used 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, this
value specifies the height of the entire bar code image including
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).
Usage Notes
Valid characters for EAN-8 bar codes are the digits 0 through 9. Any other characters will cause
the string to be rejected with a rangecheck error.
EAN-8 symbols require exactly 8 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 replaces the
eighth digit with the new check digit. The data string should contain a dummy character in the
eighth digit to receive the check digit. Specifying short strings causes the string to be padded with
zeros and the last character being replaced by the check digit.
The generated image includes leading and trailing quiet zones (white space). The size of the quiet
zone is 10 times NarrowWidth. If this results in a quiet zone of less than 0.10 inch (2.54 mm), the
user should leave additional white space before and after the bar code.
The following example generates 1.13 inch tall EAN-8 bar code with 0.113 inch narrow bars. A
check digit will be calculated.
(01234560) <> /EAN8
_barcode