C.ITOH C310 User Manual page 100

Dot matrix serial impact printer
Table of Contents

Advertisement

ESC /
(n)
Code
Hex. code
Dec. code
«Format»
ESC
/(n)
Hex. data
Dec. data
1;5m;1m;
«Sample Program»
«Printing»
Set Right Margin Position
ESC
I (n)
(18), (2F), (nl n2 n3)
nl n2 n3=000-XXX
(27), (47), (nl n2 n3)
nl n2 n3=000-XXX
The ESC I (n) code sets the right margin position.
When the right margin position is set by this code, the preset right margin posi-
tion is cleared.
Right margin is cleared when the power switch is turned OFF.
nln2n3 is a three-digit decimal number.
To set the left margin position at 20, nl=O, n2=2, and n3=0 (30Hex 32Hex
30Hex or 48 50 48).
This code sets the right margin position in the current character pitch. If the
character pitch is changed after margin setting, the right margin will not be
changed. In the proportional character pitch, the right margin is set as though
pica pitch were in effect.
LPRINT CHR$ (&HlB); "/nln2n3"
LPRINT CHR$ (27); "/nln2n3"
Print "1234567890" seven times.
Set the right margin position at the 20th column.
Print "N.' for 25 columns.
Set the right margin position at 80st column.
Print "H" for 25 columns.
1.0 FOR I=l TO 7
20
LF'F~
I NT
II
12:34~567890
II ;
30 NEXT I
40 LPl:UNT CHR$ (27) ; "/020"
'50 FOR I<= 1 TD
2~5
60 LPRINT "A
11 ;
70 NDCf' K
BO LF'FUNT CHh::t (27) ; "/080"
90 FOP J:::: 1 TO 2':i
100 LPF':INT
11
H
11
;
110 NEXT
J
1234567890123456789012345678901234567890123456789012345678901234567890
AAAAAAAAAAAAAAAAAAAA
AAAAA
HHHHHHHHHHHHfiHHHHHHHHHHHH
Reduction Percent (70",.6)
5-12

Advertisement

Table of Contents
loading

Related Products for C.ITOH C310

This manual is also suitable for:

C310p/r

Table of Contents