
SATO GT4xxe SEMBL User Guide PN 9001148A Page 1
OUTLINE
The Basic Interpreter Mode can execute the printer’s program in BASIC format enabling
applications such as performing stand alone printing. Since the emulation content is different,
there is limitation in the application command which will be described in the manual.
BASIC INTERPRETER OVERVIEW
SPECIAL NOTES
• SEMBL-BASIC has changed the partial specification based on ZBI of the ZEBRA. Details
may be found in the Instruction Reference.
• Input is performed at the half-sized alphanumeric character ASCII Code in accordance with
ANSI.
• The valid code range is 2016, 7E16, and partial control code. The valid control code is only
CR(0D16), LF(0A16, ETX(0316), and BS(0816). Other control codes will be ignored after receipt
and HT(0916) will also be thrown out. There is not a code limitation in the string quote and
CHR$().
• When 2 byte code and half-sized code (8016 . FF16) at shiftout side is used for the LCD
display data string, it might not be generated correctly.
• Command input and parameters that accompany the command will not differentiate between
upper and lower case. When command and command parameter are entered in lower case,
or with the mixture of upper and lower, it will be interpreted similarly as if it is upper case.
• Numeric mark has the following limitation:
• Other than decimal numeral, numeral marks of hexdecimal, octal, and binary is
applicable.
• Only positive and negative integral numbers may be used. Fractions cannot be
assigned.
• As for hexadecimal, the lower case mark is allowed in A thru F.
NUMERAL DESCRIPTION METHOD EXAMPLE
Decimal
10
Data string that is composed by
using numeric of 0 thru 9.
1021, -5, 0
Hexidecimal
16
Data string that is composed by
using both numeric &H. 0 thru
9 and alphabet A thru F.
&H3FD, &H8005, -&H5, &H0
&H8005 and -&H5 shows the same value
Octal
8
Data string that is composed by
numeric of &O. 0 thru 7
&O1775, &O700005, -&O5, &O0
&O700005 and -&O5 shows the same
value
Binary
2
Data string that is composed by
numeric of &B. 0 thru 1
&B001111111101,
&B1000000000000101, &B101, &B0