Reassigning graphics commands – Tally Genicom T5023+ User Manual

Page 182

Advertising
background image

Syntax of the graphics commands

Graphics commands

172

T5023/5023+ - Programming Guide

Reassigning graphics commands

Function:

One of the graphics modes of the document printer can be assigned to the gra-
phics commands ESC K, ESC L, ESC Y and ESC Z with ESC ? m (s).

For m, the identifier of the graphics command must be given as a character code
(K, L, Y or Z). The parameter s identifies the graphics mode, as in the command
ESC * .

Example:

The example demonstrates the assigning of the 24-dot graphics mode ’double
density’ (identifier = 33) to the command ESC K.

ESC

27

1B

?

63
3F

m
m
m

(s)

s
s

ASCII character
Decimal
Hexadecimal

BEGIN

PRINT(char(27),“?K“,char (33))

END

Advertising
This manual is related to the following products: