User`s manual

69
MP-4200 TH Programmer’s Manual - Revision 1.0
m=48
ƒn=85
32≤kc
1
≤126
32≤kc
2
≤126
x=1,2
y=1,2
[Description] •Printsthedownloadedgraphicsdatadefinedbythekeycodeskc
1
and kc
2
.
•x=2definesdoubleheightdownloadedgraphicsprint.
•y=2definesdoublewidthdownloadedgraphicsprint.
[Notes] •Thisfunctionisusedtoprintdownloadedgraphicsdatadefinedusingfunction83.
•Thespecifiedkeycodemustexistfortheprintertoprintdownloadedgraphicsdata.
•Settingsfortexteffect(bold,underline,orientation,etc.exceptforupside-down)andfont
size do not affect the printing of the downloaded graphics data.
GS ( L p
L
p
H
m f
n
a b
x
b
y
c x
L
x
H
y
L
y
H
d
1
... d
k
<f
n
= 112>
GS 8 L p
1
p
2
p
3
p
4
m f
n
a b
x
b
y
c x
L
x
H
y
L
y
H
d
1
... d
k
[Function] Definearasterdownloadedgraphicsdata.
[Format] ASCII  GS(Lp
L
p
H
m f
n
a b
x
b
y
c x
L
x
H
y
L
y
H
d
1
... d
k
Hexadecimal 1D284Cp
L
p
H
m f
n
a b
x
b
y
c x
L
x
H
y
L
y
H
d
1
... d
k
Decimal 294076p
L
p
H
m f
n
a b
x
b
y
c x
L
x
H
y
L
y
H
d
1
... d
k
ASCII  GS8Lp
1
p
2
p
1
p
2
m f
n
a b
x
b
y
c x
L
x
H
y
L
y
H
d
1
... d
k
Hexadecimal 1D384Cp
1
p
2
p
3
p
4
m f
n
a b
x
b
y
c x
L
x
H
y
L
y
H
d
1
... d
k
Decimal 295676p1p2p3p4mf
n
a b
x
b
y
c x
L
x
H
y
L
y
H
d
1
... d
k
[Range] 11≤(p
L
+p
H
...256)≤32,778
11≤(p
1
+p
2
×256+p
3
×65536+p
4
×16777216)≤32,778
m=48;ƒ
n
=112;a=48;0≤d≤255
1≤(x
L
+x
H
×256)≤1,024(0≤x
L
≤255,0≤x
H
≤8)
1≤(y
L
+y
H
×256)≤1,476(0≤y
L
≤255,0≤y
H
≤2:by=1)
1≤(y
L
+y
H
×256)≤738(0≤y
L
≤255,0≤y
H
≤2:by=2)
c=49,50
[Description] Storerastergraphicsdataintheprintbuffer.
o bx specify horizontal mode (normal or double width) and by specify vertical mode
(normal or double height).
o x
L
and x
H
specify the number of dots in the horizontal direction (x
L
+x
H
×256).
oyLandyHspecifythenumberofdotsintheverticaldirection(y
L
+y
H
×256).
o c specifies the color of defined data.
o d specify raster data.
o k indicates the number of the graphics data. k is an explanation parameter; therefore
it does not need to be transmitted.
[Notes] •Thisfunctionisincompatiblewithmacros,somakesuretoavoidincludingitwhendefiningmacros.
•Settingsfortexteffect(bold,underline,orientation,etc.exceptforupside-down)andfont
size do not affect the printing of the raster graphics data.
•Thedataforbytekofd1...dkisprocessedasasingleitemofdefinedgraphicsdata.The
defineddata(d)specifies“1”forbitscorrespondingtodotsthatwillbeprintedand“0”forbits
corresponding to dots that will not be printed.
•Rastergraphicsdataisprintedusingfunction50.
•Therelationshipbetweenrastergraphicsdataandprintresultsisshowninthetablebelow.
d
1
d
2
d
x
x=x
L
+x
H
x256
d
x
+
1
d
x
+
2
d
x
x
2
: : :
d
k-2
d
k-1
d
k