Seite -20-
Print Extended Characters and leading spaces
Some of the barcodes can print the full ASCII table from 1 to 127. In regular mode,
some of the characters below 33 may cause the Barcode module to print the code
up to this character and maybe even start after the character with a new barcode
definition. In order to avoid this, you can add after the full Esc Sequence for the
code <27>&p####X. The numeric value ### does define the length of the message
information in Bytes.
Code 128 Control Codes
Code 128 has five non-data special control codes, called FUNCTION CODES, and 2
control codes to switch from one 128 set (A, B or C) to another one. The switching control
codes are used by the Barcode module to force one 128 set. As an example, the string
„123456“ can be printed with both sets A, B and C. Inserting a character with ASCII value
=134 at the beginning of the string will force the Barcode module to use the set B of code
128.
Note that both Code 128 Autoswitch and EAN 128 analyse the data and optimise the
barcode length by switching automatically between sets A, B and C. EAN128 and UCC-
128 already include the FNC1 code as the first character: you should not send it with the
data.
Special control codes are inserted by passing the following special decimal characters in
the bar code:
133 = CODE A 129 = FNC 1
134 = CODE B 130 = FNC 2
135 = CODE C 131 = FNC 3
128 = SHIFT
Содержание T9114
Страница 29: ...Seite 29 Barcode Testpage...
Страница 30: ...Seite 30...