Code128 Code Selection; Determining The Start Character - Toshiba B-SX4T Series Specification

B-sx4t series, b-sx5t series external equipment interface specification
Hide thumbs Also See for B-SX4T Series:
Table of Contents

Advertisement

(3)

CODE128 code selection

In the case of CODE128 (with auto code selection), code selection is performed in
the following manner. (Conforming to USS-128 APPENDIX-G)

Determining the start character

(a) If the data begins with four or more consecutive numerals, the start code
to be used is (CODE C).
(b) In any case other than (a) in
small letter (see
is (CODE A).
(c) In none of the above cases, the start code is (CODE B).
If the data begins with an odd number of digits in (a),
(a) Insert the (CODE A) or (CODE B) character just before the last numeric
data. When (FNC1), if found in the number, breaks a pair of digits in the
number, insert the (CODE A) or (CODE B) character before the numeric
data preceding the (FNC1). Selection of (CODE A) or (CODE B) should
conform to (b) and (c) in
If four or more digits of numeric data continue in (CODE A) or (CODE B).
(a) When the numeric data is an even number of digits, insert the (CODE C)
character just before the first numeric data.
(b) When the numeric data is an odd number of digits, insert the (CODE C)
character immediately after the first numeric data.
If a control character appears in (CODE B):
(a) In the subsequent data, when a small letter appears before the next
control character or four or more consecutive digits, insert the (SHIFT)
character before the first control character.
(b) When not so, insert the (CODE B) character just before the first control
character.
If a small letter appears in (CODE A):
(a) In the subsequent data, when a control character appears before the next
small letter or four or more consecutive digits, insert the (SHIFT)
character before the first small letter.
(b) When not so, insert the (CODE B) character just before the first small
letter.
If any data other than the numerals appears in (CODE C):
(a) Insert the (CODE A) or (CODE B) character just before the data other
than the numerals. Selection of (CODE A) or (CODE B) should conform
to (b) and (c) in
, if a control character appears before a
.) or four or more consecutive numerals, the start code
.
.
- 156 -
:

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents