Download Character Commands

Description

Mode

ASCII Code

 

 

 

Cancel download character set

STD

ESC %0

 

 

 

Select download character set

STD

ESC %1

 

 

 

Define download characters into RAM

STD

ESC &00H

 

 

 

Copy standard ROM font into RAM

STD

ESC :00H n 00H

 

 

 

Define download characters into RAM

IBM

ESC =

 

 

 

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 5 00H

 

 

 

Select automatic line feed

IBM

ESC 5 01H

 

 

 

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

 

 

 

Justification

STD

ESC an

 

 

 

Set absolute horizontal tab position

STD

ESC f0n

 

 

 

Set relative horizontal tab position

STD

ESC e0n

 

 

 

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 #

 

 

 

One-line uni-directional printing

STD

ESC <

 

 

 

Set MSB to logical 0

STD

ESC =

 

 

 

Set MSB to logical 1

STD

ESC >

 

 

 

Disable paper out detect

Both

ESC 8

 

 

 

Enable paper out detect

Both

ESC 9

 

 

 

Initialize printer

Both

ESC @

 

 

 

Deselect printer

IBM

ESC Q03H

 

 

 

Cancel uni-directional printing

Both

ESC U0

 

 

 

Select uni-directional printing

Both

ESC U1

 

 

 

Select double or quadruple size

STD

ESC hn

 

 

 

Stop printing

IBM

ESC j

 

 

 

Select print color

STD

ESC rn

 

 

 

Control character height, width, line spacing

IBM

ESC [@

 

 

 

Set initial condition

IBM

ESC [K

 

 

 

Cancel double-high mode

STD

ESC w0

 

 

 

Select double-high mode

STD

ESC w1

 

 

 

155

Page 166
Image 166
Star Micronics HL 80825321 Download Character Commands, Horizontal Print Position Control Commands, Other Commands, 155