Host Command Summary

 

Move cursor to start of next line

ESC E

 

Move cursor up one line

ESC M

 

Move cursor to start of new page

FF

 

Move cursor one column left

BS

 

Repeat last displayable character * times (default 1)

ESC [ * b

 

KEYBOARD

 

 

 

 

 

 

 

 

Key presses generate codes which are sent to host

ESC [ 2 l

 

Key presses are ignored (except Break)

ESC [ 2 h

 

Define function key

ESC P *k % p *n ESC \

 

Extended keypad mode reset

ESC [ < 15 l

 

Extended keypad mode set

ESC [ < 15 h

 

PAGE MANIPULATION

 

 

 

Page layout definition

ESC [ *p ; *l ; *c ; *s ; *e % w

 

where

*p

= page number in range 1 - 8, default 1

 

 

 

 

*l

= number of lines, default 24

 

 

 

 

*c

= number of columns, default 80 or 132

 

 

 

 

*s

= start of scroll area, default 1

 

 

 

 

*e

= end of scroll area, default as *l

 

 

 

Display buffer & video format definition

ESC [ *p ; *c ; *f % x

 

where

*p

= number of pages, default 8 (80 col) or 4 (132 col)

 

 

*c

= number of columns, default 80

 

 

 

 

*f

= format options: 0 =single active page, 1 = multiple active page

 

Set scrolling area

 

ESC [ *s ; *e % v

 

where

*s

= starting line number, default 1

 

 

 

 

*e

= ending line number, default is page length

80 column display mode

132 column display mode

Move active position to absolute page number Move forward by * number of pages

Move backward by * number of pages Save page state mode reset

Save page state mode set Save current active page state Restore last saved page state Page display absolute Display page number *

Move forward by * number of pages Move backward by * number of pages Scroll up * lines (forward)

Scroll down * lines (backward) Active page display mode reset Active page display mode set Screen/scroll keys action mode reset Screen/scroll keys action mode set

ESC [ 14 l ESC [ 14 h ESC [ * SP P ESC [ * SP Q ESC [ * SP R ESC [ < 11 l ESC [ < 11 h ESC [ % y ESC [ % z ESC [ *p 5 p ESC [ * % p ESC [ * U ESC [ * V ESC [ * S ESC [ * T ESC [ < 7 l ESC [ < 7 h ESC [ < 13 l ESC [ < 13 h

PRINTING

Printer output control

ESC [ < *o ; *s ; *e i

C-45