Encryptions/Codes
Activating the document printer functions
The control codes or ESC or CSI sequences must be addressed to the printer directly
and uniquely via corresponding program commands. Depending on the respective
programming language, this is, e. g., via PRINT or WRITE instructions
Example:
Three lines are to be printed. Lines 1 and 3 are printed in normal print, line 2 in
italic print.
Pseudo code:
BEGIN
PRINTLF(" first line")
PRINT(ESC 4)
PRINTLF(" second line")
PRINT(ESC 5)
PRINTLF(" third line")
END
Conversion into BASIC
10 LPRINT "first line"
20 LPRINT CHR$(27);" 4";
30 LPRINT "second line"
40 LPRINT CHR$(27);" 5";
50 LPRINT "third line"
Result:
In this manual the program examples are depicted exclusively in the
i
form of a pseudo code and the control codes or code series are given
in decimal ASCII encryption or directly as characters. The correspon-
ding information must then be converted into the appropriate pro-
gramming language.
16
:
T5023/5023+ - Programming Guide
Programming interface (General)
.