ESC ?

 

 

Reassign Graphics Mode

Format:

ESC

?

 

 

ASCII code:

(s)

(n)

Decimal:

27

63

(s)

(n)

Hexadecimal:

1B

3F

(s)

(n)

Explanation:

Change one graphics mode to another. The mode s is the ASCII code for the character K, L, Y, or Z which is reassigned to a mode O-6 as in the ESC * command. Details of the modes are given in Chapter 9.

ESC A

Select 9-Pin Graphics Mode

Format:

 

ASCII

code:

ESC

^ (m) (n1) (n2) (data1)(data2) . . . (data(d))

Decimal:

2794 (m) (n1) (n2) (data1)(data2) . . . (data(d))

Hexadecimal:

1B 5E (m) (n1) (n2) (data1)(data2) . . . (data(d))

Explanation:

Turns on Y-Pin Graphics Mode. The variable m defines density of print (0 for single and 1 for double) and d is the total number of dots required. nl and n2 are calculated thus:

nl=d MOD 256 and n2=INT (d/256).

and are followed by two times d data bytes. The printer expects two data items for each column of print.

Miscellaneous Codes

CR

Carriage Return

Format:

CR

ASCII code:

Decimal:

13

H e x a d e c i m a l : 0 D

Explanation:

Prints the data in the buffer and returns the print position to the left margin. A line feed may also be added if either 2-3 is ON or the AUTO PEED XT line on the parallel printer interface is held Low.

C-23