Esc N Code (Set Dot Spacing Code) - C.ITOH C310 User Manual

Dot matrix serial impact printer
Table of Contents

Advertisement

ESC
n
Code
Hex. code
Dec. code
«Format»
ESCn
Hex. data
Dec. data
•iiili!W
«Sample Program»
«Printing»
Set Dot Spacing
ESC n
(18)
n
n=l-6
(27) n
n=l-6
The ESC n code is valid only when the proportional mode is selected. This code
sets dot spacing between characters. (n
=
1 to 6)
If more than a 6-dot space is required, repeat this code. This code is used to
microspace a sentence to justify both left and right margins when printing text.
1-dot space is 1/120".
LPRINT CHR$ (&HlB);
"n"
LPRINT CHR$ (27); "n"
Print numbers from 1 through 6 with widening a dot space one by one.
10 LPRINT
CHF~$
(27) ; "P";
20 FOF.\'. I=l TO 6
30
LPRINT
I;CHR$<27> ;CHR$C&H30+I>
;I
40 NE:X:T I
1
1.
~~:·~
, .. i
..
::.
:3
3
4
Jl
~5
r.::·
· .. .I
6
6
5-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

C310p/r

Table of Contents