Tally Genicom T5023+ User Manual

Page 175

Advertising
background image

Graphics commands

Syntax of the graphics commands

T5023/5023+ - Programming Guide

165

Example:

Using shading, the various dot densities of the graphics modes are illustrated. In
the main program, the parameter s is set for the command ESC *. In the subrou-
tines EIGHT DOT and TWENTY- FOUR the command ESC *, the number of dot
columns (100 each time) and the data bytes (encryption) of the shading (decimal
170 followed by decimal 85) are given.

BEGIN

PRINTLF(" 8- dot graphics modes")
SET m=0
CALL EIGHT DOT
SET m=1
CALL EIGHT DOT
SET m=2
CALL EIGHT DOT
SET m=3
CALL EIGHT DOT
SET m=4
CALL EIGHT DOT
SET m=6
CALL EIGHT DOT
PRINTLF
PRINTLF("24-dot graphics modes")
SET m=32
CALL TWENTY-FOUR
SET m=33
CALL TWENTY-FOUR
SET m=38
CALL TWENTY-FOUR
SET m=39
CALL TWENTY-FOUR
SET m=40
CALL TWENTY-FOUR

END

Advertising
This manual is related to the following products: