Toshiba B-SX4T-GS20-QM-R Printer User Manual


 
- 151 -
6.3.13 BAR CODE DATA COMMAND [ESC] RB
Function Provides data for the bar code.
Format c [ESC] RBaa; bbb ------ bbb [LF] [NUL]
d Link Field Data Command
[ESC] RB; ccc ------ ccc [LF] ddd ------ ddd [LF] ------ [LF] xxx ------ xxx [LF] [NUL]
Term aa: Bar code number
00 to 31
bbb ------ bbb: Data string to be printed
The maximum number of digits varies according to the type of bar code.
ccc ------ ccc: Data string of link field No. 1
ddd ------ ddd: Data string of link field No. 2
to
xxx ------ xxx: Data string of link field No. 99
The Data Command for the MaxiCode is described later.
Explanation (1) Data check
If there is data in the data row, which does not meet the type of bar code, the bar
code will not be drawn. If wrong code selection takes place in the data row of
CODE128 (without auto code selection), the bar code will not be drawn.
If there is data different from the one designated using the format ID when Data
Matrix is used, the symbol is not drawn.
If the Bar Code Data Command is sent without entering any data string for the
specified bar code number (e.g. [ESC]RB00;[LF][NUL]), the previous data string of
the same bar code number (No. 00 in the case of the above example) is deleted.
In the case of the bar code type of which data length is specified (e.g. Binary mode
of QR code), the previously drawn bar code cannot be deleted just by setting the
data length to zero. To delete the previous bar code, be sure to send the
command without entering any data string.
(2) No. of digits of data
When data exceeding the maximum number of digits is sent, the excess data will
be discarded. For the maximum number of digits for each bar code, see below.
Data Matrix, PDF417, QR code: 2000 digits
CP code: 473 digits
MicroPDF417: 366 digits
MaxiCode: 93 digits
Customer bar code: 20 digits
Highest priority customer bar code: 19 digits
POSTNET: 5, 9, 11 digits
ROYAL MAIL 4 STATE CUSTOMER CODE: 12 digits
KIX CODE: 18 digits
Bar codes other than the above 126 digits
When the number of digits does not correspond to the bar code type, the bar code
is not drawn.
For the MaxiCode, the maximum number of digits varies according to the mode.
In mode 2 or 3 and mode 4 or 6, the maximum number of digits is 84 and 93,
respectively.