beautypg.com

Tally Genicom Matrix Printer User Manual

Page 152

background image

Graphics Mode Reassignment

ESC ?

Data Structure

ASCII

ESC "?"

reassign graphics mode

hex.

1B

3F

dec.

27

63

Description

This code sequence redefines one of the four alternate bit image codes ESC K, ESC L,
ESC Y or ESC Z as one of the bit density numbers used with the ESC * ... code
sequence.

Available values are:

s =

75, 76, 89, 90 (ASCII = K, L, Y, Z)

n = 0

single density

n = 1

double density

n = 2

double density, high speed

n = 3

quadruple density

n = 4

screen graphics

n = 5

plot graphics (1:1)

n = 6

screen graphics II

n = 7

plot graphics, double density

n = 32

single density

n = 33

double density

n = 38

screen graphics II

n = 39

triple density

n = 40

sixfold density

For example, if you send the following code before you run a graphics program, it will
change every instance of mode K (single density) to mode 3 (quadruple density):

LPRINT CHR$(27);"?K";CHR$(3);

Graphics

69