Horizontal Print Position Control Commands

Description

Mode

ASCII Code

 

 

 

Move print head to next horizontal tab position

Both

HT

 

 

 

Return print head to left margin (carriage return)

Both

CR

 

 

 

Move print head to absolute horizontal position

STD

ESC $n1 n2

 

 

 

Add n dot spaces between characters

STD

ESC SPn

 

 

 

Cancel automatic line feed

IBM

ESC 500H

 

 

 

Select automatic line feed

IBM

ESC 501H

 

 

 

Set horizontal tab positions

Both

ESC Dn…NULL

 

 

 

Set right margin

STD

ESC Qn

 

 

 

Set left and right margins

IBM

ESC X n1 n2

 

 

 

Move print head to specified horizontal position

STD

ESC \ n1 n2

 

 

 

Move print position to right

IBM

ESC d

 

 

 

Set left margin

STD

ESC ln

 

 

 

Other Commands

Description

Mode

ASCII Code

 

 

 

Sound printer bell

Both

BEL

 

 

 

Move printer head back one space (backspace)

Both

BS

 

 

 

Set printer on line

Both

DC1

 

 

 

Set printer off line

STD

DC3

 

 

 

Cancel line in print buffer

Both

CAN

 

 

 

Delete last character sent

STD

DEL

 

 

 

ASF control

Both

ESC EMn

 

 

 

Cancel MSB control

STD

ESC #

 

 

 

Select score

STD

ESC (-

 

 

 

One-line uni-directional printing

STD

ESC <

 

 

 

Set MSB to logical 0

STD

ESC =

 

 

 

Set MSB to logical 1

STD

ESC >

 

 

 

Initialize printer

Both

ESC @

 

 

 

Deselect printer

IBM

ESC Qn

 

 

 

Other Commands (Continued)

Description

Mode

ASCII Code

 

 

 

Cancel uni-directional printing

Both

ESC U0

 

 

 

Select uni-directional printing

Both

ESC U1

 

 

 

Control character height, width, line spacing

IBM

ESC [@

 

 

 

Set initial condition

IBM

ESC [K

 

 

 

Ignored

STD

ESC hn

 

 

 

Stop printing

IBM

ESC j

 

 

 

Select printing color

Both

ESC rn

 

 

 

Cancel double-high mode

STD

ESC w0

 

 

 

Select double-high mode

STD

ESC w1

 

 

 

Ignored

STD

ESC ~n

 

 

 

NEC Commands

Description

Mode

ASCII Code

 

 

 

Set line spacing to n/360²

STD

FS 3n

 

 

 

Initialize printer

STD

FS @

 

 

 

Cancel expanded printing

STD

FS E0

 

 

 

Select expanded printing

STD

FS E1

 

 

 

Select expanded (triple-width) printing

STD

FS E2

 

 

 

Select forward feed

STD

FS F

 

 

 

Select standard character table

STD

FS I0

 

 

 

Select IBM character table

STD

FS I1

 

 

 

Move download characters in 00H-7FH area to 80H-FFH

STD

FS I2

 

 

 

Select reverse feed

STD

FS R

 

 

 

Cancel double-height mode

STD

FS V0

 

 

 

Select double-height mode

STD

FS V1

 

 

 

24-pin hex density bit image

STD

FS Z

 

 

 

Print characters from all character chart

STD

FS \

 

 

 

Print one character from all character chart

STD

FS ^

 

 

 

115

Page 124
Image 124
Star Micronics LC-240C user manual Horizontal Print Position Control Commands, Other Commands, NEC Commands