Switching On Superscript/Subscript - Tally T5023+ Programming Manual

Multi-functional flat bed printer
Table of Contents

Advertisement

Standard commands

Switching on superscript/subscript

ESC
27
1B
Function:
Switching on superscript
After setting ESC S (0) all subsequent print characters are printed reduced
to half the size and displaced upwards (for example, in mathematical or che-
mical formulas).
Switching on subscript
After setting ESC S (1) all subsequent print characters are printed reduced
to half the size and displaced downwards (for example, in mathematical or
chemical formulas).
Superscript or subscript is switched off again using ESC T.
i
If superscript or subscript characters are underlined, the under-
lining appears in the normal position. The underlining must be swit-
ched off beforehand, if necessary (ESC - (n)).
Example:
BEGIN
PRINT("Water: H")
*** Subscript on (S)/off (T) ***
PRINT(char(27),"S",char(1),"2")
PRINTLF(char(27),"T","O")
PRINT("Einstein: E = mc")
*** Superscript on (S)/off (T) ***
PRINT(char(27),"S",char(0),"2")
PRINTLF(char(27),"T")
END
Result:
S
(n)
83
n
53
n
T5023/5023+ - Programming Guide
ASCII character
Decimal
Hexadecimal
Print modes
115

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

T5023

Table of Contents