Toshiba B-EP Series Interface Specification page 420

External equipment interface specification
Hide thumbs Also See for B-EP Series:
Table of Contents

Advertisement

Examples of using commands in EAN128, UCC/EAN128 and CODE128
Form storage
[ESC] ID; 01
23
[LF] [NUL]
H
H
[ESC] XO; 01, 1 [LF] [NUL]
[ESC] D0360, 0480, 0330 [LF] [NUL]
[ESC] XB00; 0000, 0080, N, 3, 2, 0, 0090, 000, 0, 24, 2, 0 [LF] [NUL]
[ESC] XP [LF] [NUL]
Drawing and issue (for IrDA: TEC Protocol)
[STX] 01
23
10
H
H
(*1) How to calculate the Modulus 10 check digit (When barcode data is 971501830632131150005001.)
9 7 1 5 0 1 8 3 0 6 3 2 1 3 1 1 5 0 0 0 5 0 0 1
- ∆ - ∆ - ∆ - ∆ - ∆ - ∆ - ∆ - ∆ - ∆ - ∆ - ∆ - ∆
Sum up the numbers in the column of '-': 33
33 x 3 (fixed number) = 99
Sum up the numbers in the column of '∆': 29
29 x 1 (fixed number) = 29
Add the above two numbers: 99 + 29 = 128
Subtract the lowest digit of 128 from 10 (fixed number):
The obtained number '2' is attached to the end of the barcode data.
9 7 1 5 0 1 8 3 0 6 3 2 1 3 1 1 5 0 0 0 5 0 0 1 2
Barcode data
9: CODE128
N: EAN128
n: UCC/EAN128
X 01
00
03
97
H
H
H
H
No. of labels to be issued: 3
Transmissive sensor designated, No status response made
Form No.: 1
Packet length (10
Printer ID (0123H)
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS)
EAN128:
UCC/EAN128: 00 or 19
CODE128:
: Declaration of the termination of form storage
15
01
83
06
32
H
H
H
H
H
H
Barcode data (971501830632131150005001)
(*1)
= 16 bytes)
H
10 – 8 = 2
6-39
: ID setting
: Declaration of the start of form storage
: Label size setting
: Format of bar coce No. 00
00 ~ 32
00 ~ 100
13
11
50
00
50
01
H
H
H
H
H
Check digit of Modulus 10 is not
attached by the printer. Therefore, the
check digit should be calculated in
advance, then be sent as data.
Check digit of Modulus 10
B-EP Series
[CRC] [CRC]
H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents