Toshiba B-EP Series Interface Specification page 594

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

Advertisement

Explanation
[CODE128]
(1) Please refer to "APPENDIX: BARCODE" for the overview of CODE 128.
(2) When this printer is used to print a CODE128 barcode, care must be taken
regarding the following points when transmitting barcode data:
1 The beginning of the barcode data must always be a code set (CODE A, CODE
2 Special characters are specified by two characters: '{' followed by 1 character.
Also, an ASCII character '{' is specified by transmitting 2 '{' characters in a row.
[Example] Data to be transmitted to print "No.123456"
In this example, first, code set B is used to print "No." After that, the code set is
changed to code set C, and the 6-digit number is printed.
[GS] k [49] [0A] [7B] [42] [4E] [6F] [2E] [7B] [43] [0C] [22] [38]
(3) If the beginning of the barcode data string is not a code set, command processing
will be aborted immediately, and the subsequent data will be processed as normal
data.
(4) If the combination of '{' and the following character does not match any special
characters, command processing will be aborted immediately, and the subsequent
data will be processed as normal data.
(5) If a character that cannot be used with a selected code set is received, command
processing will be aborted immediately, and the subsequent data will be processed
as normal data.
B, or CODE C), based on which the first code set is selected.
Special character
SHIFT
CODE A
CODE B
CODE C
FNC1
FNC2
FNC3
FNC4
'{'
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
Data to be transmitted
ASCII
Hex
{S
7B 53
{A
7B 41
{B
7B 42
{C
7B 43
{1
7B 31
{2
7B 32
{3
7B 33
{4
7B 34
{{
7B 7B
8-67
B-EP Series
123456
Changed to code set C
No.
Start code B
Length
Command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents