Printer Initialization

 

 

ESC @

 

 

 

 

Data Structure ASCII

ESC

"@"

printer initialization

hex.

1B

40

 

dec.

27

64

 

Description Printer initialization means that the printer is in the same state as it is after switch-on. All parameters set by means of ESC sequences are cleared.

All print data transferred after the last print control code (CR, LF ...) are lost. For this reason first send the respective print control code (CR, LF) and then the ESC @ sequence.

Example 10 REM initialization

15LPRINT CHR$(27);"l";CHR$(10):REM set left margin

20LPRINT CHR$(27);CHR$(15):REM set condensed

30LPRINT CHR$(27);"G":REM set NLQ

35LPRINT CHR$(27);"S1";:REM set subscript

40GOSUB 90

70LPRINT CHR$(27);"@";

80GOSUB 90

90END

100LPRINT "Matrix Printer"

110LPRINT:LPRINT

120END

114Miscellaneous

Page 197
Image 197
Tally Genicom Matrix Printer manual Esc @