Character Name

Control Code

Dec Value

Printer Response

 

(ASCII)

CHR$(n)

 

 

 

 

 

 

 

Shift In

SI

(15)

Selects printing in condensed characters

 

 

 

(Mode 5, 16.7 cpi) until reset by DC2.

 

 

 

Same as ESC SI.

Shift Out

SO

(14)

Selects printing in double wide characters

 

 

 

 

 

(refer to description of ESC 6 and

 

 

 

 

Configuration 20.X) until reset by DC4 or

 

 

 

 

by printing the line. Same as ESC SO.

 

 

VT

 

 

 

Vertical Tab

(11)

Same as Line Feed (LF).

 

 

 

Activates a V.T.

 

 

 

 

 

Escape Codes

 

 

 

 

 

 

 

 

Escape, “Cancel”

ESC CAN

(27) (24)

Exit hex dump feature (option code 31.0).

 

 

 

(See ESC ! Configuration 31.X).

 

ESC!

 

 

Escape, “Exclamation”

(27) (33)

Set Hex dump feature (option code 31.0).

 

 

 

 

See ESC CAN. See alternate, ESC [

 

 

 

 

(option code 31.1).

 

 

ESC =

 

 

 

Escape, “Equal”

(27) (61)

Resets MSB to 0. Refer to ESC >.

 

 

 

 

 

 

Escape, minus

ESC – n

(27) (45) (n)

n= 1 (or 49) sets underline feature.

 

Decimal Number

 

 

n=) (or 48) resets underline feature.

 

 

 

 

(Refer to page 7–41)

 

 

ESC >

 

 

 

Escape,

(27) (62)

a) Sets MSB as 1. When this code is

 

“Greater Than”

 

 

input, the MSB of an 8–bit data input

 

 

 

 

following this code becomes a logic 1.

 

 

 

 

This allows computers with seven data

 

 

 

 

bits to access characters 160–255.

 

 

 

 

b) ESC > does not allow access to address

 

 

 

 

range 128–160 foreign characters. Those

 

 

 

 

can be accessed only using ESC 6.

 

 

ESC @

 

 

 

Escape, “At”

(27) (64)

General Printer Reset Command

 

 

 

a) Clear horizontal tabs to default values.

b) Clear underlines, clear emphasis, clear double strike.

c) Reset print mode to current default. d) Reset SO or ESC SO if pending. e) Reset TOF to current location

f) Clears hex dump.

g) Reset line length, forms length, script, and Data Bit 8 to power–up value.

Programming

7–31

Page 155
Image 155
Printronix MVP Series user manual Escape Codes, ESC n