Csi and osc – Genicom GEK 00031B User Manual
Page 9

GEK-00029B
5000 Series Programmer’s Manual
9
Examples are shown below of escape sequences as written in the
text: with parameters filled in and written in the BASIC programming
language assuming the use of the LPRINT instruction. The parameter
values are actualized in these examples, but will be shown as
parameters thereafter. Note that parameters are surrounded by angle
brackets (<>).
Tab Clear
Mnemonic:
(assume p1=16)
Decimal:
27 91 16 103
Hex:
1B 5B 10 67
BASIC:
CHR$(27);"[16g"
Horizontal Tabs Set
Mnemonic:
(assume p1=648,
p2=1386, p3=2808)
Decimal:
27 91 648 59 1386 59 2808 117
Hex:
1B 5B 288 3B 56A 3B 0AF8 75
BASIC:
CHR$(27);"[648;1386;2808u"
Expand Characters
Mnemonic:
(assume p1=200
and p2=200)
Decimal:
27 91 200 59 200 32 66
Hex:
1B 5B C8 3B C8 20 42
BASIC:
CHR$(27);"[200;200 B"
CSI AND OSC
A control sequence introducer
sequence using the
hex) can be used instead of
receiving and processing 8-bit data.
predominately in this manual for the examples.
An operating system command (OSC) signals the start of a download
sequence using the
hex) can be use instead of
receiving and processing 8 bit data.
predominately in this manual for the examples.
NOTE
The physical spaces in the escape sequences shown in this
publication are only for clarification purposes and are not used in
the actual string. If a space is actually needed in the sequence, it
will be shown as an
In the decimal form, it will appear as a 32, and in the
hexadecimal form, as 20.