Setting Left And Right Margins; Table 7-1 Horizontal Tab Commands; Table 7-2 Left And Right Margin Commands - Star Micronics SG-10 User Manual

Star micronics printer user's manual
Table of Contents

Advertisement

Table 7-1
Horizontal tab commands
1 Function
1 Mode 1 Control code
I
Advance to next tab position
STAR 1 CHR$(9)
IBM
I CHRS(9)
Set tabs at
nl, n2,
etc.
111
One-time tab of n spaces
STAR
<ESC > "b" CHR!$(n)
IBM
<ESC>
"b" CHRS(n)
Note: If your computer
does not support lowercase characters,
use
CHR$(98) for "b."
SETTING
LEFT AND
RIGHT
MARGINS
SG-10/15's
left
and
right
margins
work
just
like
a
typewriter-once
they are set all the printing is done between them.
The commands to set the margins are given in the following table:
Table 7-2
Left and right margin commands
<ESC>
"Q"
CHR$(n)
Note: If your computer
does not support lowercase characters,
use
CHR$(lOS) for "1".
Try
setting SG-10/15's margins with this program for STAR
mode:
19,
'Demo
margins.
20
GOSUB 70
30 LPRINT CHR$(27) "M" CHR$(
18)
; 'Left
margin
= 10.
40 LPRINT CHR$(27) "Q" CHR$(7@) ; 'Right margin = 70.
50
GOSUB 70
60
END
70
FOR I = 1 TO 80
80 LPRINT "X" ;
90 NEXT I
100 LPRINT
63

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sg-15

Table of Contents