C.ITOH C310 User Manual page 101

Dot matrix serial impact printer
Table of Contents

Advertisement

ESC G, ESC S
(n)
Code
Designate Dot
Corresponding Graphics Mode
Hex. code
Dec. code
Hex. code
Dec. code
«Format»
ESC Gn0n1n2n3
Hex.
data
Dec. data
ESC Sn0n1n2n3
Hex.
data
Dec.
data
14$1h!W
«Sample Program»
«Printing»
ESC G (n)
(18),
(47),(nO nl n2 n3)
n0-n3=0000-XXXX
(27), (71), (nO nl n2 n3)
n0-n3=0000-XXXX
ESC S nO n1 n2 n3
(18), (53), (nO nl n2 n3)
n0-n3=0000-XXXX
(27), (83), (nO nl n2 n3)
n0-n3=0000-XXXX
The ESC G and ESC S codes select the dot graphics mode.
n0-n3 designates the number of dot columns you want to send. n0nln2n3 is a
four-digit decimal number. For example, to set 10, n0=0, nl=O, n2=1 and n3=0
(30Hex 30Hex 31Hex 30Hex or 48 48 49 48).
*
ESC G and ESC S codes have the same function.
LPRINT CHRS (&H18); "Gn0nln2n3"
LPRINT CHRS (27); "Gn0nln2n3"
LPRINT CHRS (&H18); "Sn0nln2n3"
LPRINT CHRS (27); "Sn0nln2n3"
Designate 20 dot columns.
Print the following:
10
LPf~
I NT CHR$ ( 27) ;
II
G0020" ;
20
LPPINT
CHR:~:
<
1) ;CHRt
<:~)
;CHF=t::f. (7) ;
CHR$<&HF> ;CHR$<&H1F> ;CHR$<&H3F> ;CHR$(&H7F>;
30 LPRINT STRING$16,&HFF>;
40
LPRINT CHRSC&HFE) ;CHRS<&HFC> ;CHRSC&HFB>;
CHRSC&HFO> ;CHRSC&HEO> ;CHRSC&HCO> ;CHRS<&H80)
5·13

Advertisement

Table of Contents
loading

Related Products for C.ITOH C310

This manual is also suitable for:

C310p/r

Table of Contents