Star Micronics DOT MATRIX PRINTERS, LC-1521, LC-1511 Printer Control Codes, Line Spacing Commands

Models: HA15 80825072 DOT MATRIX PRINTERS LC-1511 LC-1521

1 114
Download 114 pages 30.58 Kb
Page 106
Image 106

98 Printer Control Codes

Line Spacing Commands

Description

Mode

ASCII Code

 

 

 

Advance paper one line (line feed)

Both

LF

 

 

 

Reverse paper one line

STD

ESC LF

 

 

 

Set line spacing to 1/8

Both

ESC 0

 

 

 

Set line spacing to 7/72

IBM

ESC 1

 

 

 

Set line spacing to 1/6

STD

ESC 2

 

 

 

Execute ESC A

IBM

ESC 2

 

 

 

Set line spacing to n/216

Both

ESC 3n

 

 

 

Set line spacing to n/72

STD

ESC An

 

 

 

Define line spacing to n/72

IBM

ESC An

 

 

 

One time feed of n/216

Both

ESC Jn

 

 

 

Reverse line feed

IBM

ESC ]

 

 

 

One time reverse feed of n/216

STD

ESC jn

 

 

 

Download Character Commands

Description

Mode

ASCII Code

 

 

 

Cancel download character set

STD

ESC %0

 

 

 

Select download character set

STD

ESC %1

 

 

 

Define download characters in RAM

STD

ESC &00H

 

 

 

Copy standard ROM font into RAM

STD

ESC :00H n 00H

 

 

 

Define download characters in 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

 

 

 

Page 106
Image 106
Star Micronics DOT MATRIX PRINTERS, LC-1521 Printer Control Codes, Line Spacing Commands, Download Character Commands