Star Micronics DOT MATRIX PRINTERS Printer User Manual


 
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 3
n
Set line spacing to
n
/72
STD
ESC A
n
Define line spacing to
n
/72
IBM
ESC A
n
One time feed of
n
/216
Both
ESC J
n
Reverse line feed IBM
ESC ]
One time reverse feed of
n
/216
STD
ESC j
n
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 D
n
…NULL
Set right margin STD
ESC Q
n
Set left and right margins IBM
ESC X
n1
n2