Commands Used To Control Horizontal Position Of The Print Head - Star Micronics gemini-10X User Manual

Hide thumbs Also See for gemini-10X:
Table of Contents

Advertisement

4-3
Commands Used to Control Horizontal Position of the Print Head
These commands are used to control the horizontal position of the print head.
CODE:
CR
PURPOSE:
FORMAT:
REMARKS:
REFERENCE:
CODE:
ESC M
n
PURPOSE:
FORMAT:
REMARKS:
REFERENCE:
CODE:
ESC
Q n
PURPOSE:
FORMAT:
REMARKS:
REFERENCE:
CODE:
HT
PURPOSE:
FORMAT:
REMARKS:
REFERENCE:
Return the print head (carriage) to the horne print position
CHR$ (13)
When this command is sent, the print head moves to the horne
print position.
If DIP switch 2-2 is set to "off", this carriage return
command also causes the printer to empty the print buffer.
If DIP switch 2-4 is set to "on", the command causes a line
feed command to be inserted after the carriage return code.
LF
Set the left-hand print margin
CHR$(27) CHR$(77) CHR$(n)
After this command is sent to the printer, successive carriage
return codes will cause the print head to return to the
n
print position.
The value of
n
must be between 1 and 255.
The maximum number of print positions on an 8-inch-wide
form is 80 for 10
cpr
characters, 96 for 12 CPI, and 136
for 17 CPl.
CR,
LF,
ESC
Q
n
Set the right-hand print margin
CHR$
(27)
CHR$ (81) CHRS
(n)
After this command is sent to the printer, attempting to
print beyond the
n
print position will cause the printer
to automatically perform a line feed and carriage return
before printing the remainder of the line.
The value of
n
must be between 1 and 255.
CR,
LF,
ESC M
n
Move the print head to the next horizontal tab location
CHR$(9)
When the HT command is received, the print head is moved
to the next horizontal tab position.
Upon "power on", the horizontal tab locations are set to
column 10, 20, 30, ••••••
ESC
D nl n2 •••••
NUL
-47-

Advertisement

Table of Contents
loading

Table of Contents