User`s manual
65
MP-4200 TH Programmer’s Manual - Revision 1.0
GS ( L p
L
p
H
m f
n
a kc
1
kc
2
b x
L
x
H
y
L
y
H
[c d
1
... d
k
]1 ... [c d1 ... d
k
]b <f
n
= 67>
GS 8 L p
1
p
2
p
3
p
4
m f
n
a kc
1
kc
2
b x
L
x
H
y
L
y
H
[c d
1
... dk]1 ... [c d
1
... d
k
]
b
[Function] DefinearasterNVgraphicsdata.
[Format] ASCII GS(Lp
L
p
H
m f
n
kc
1
kc
2
b x
L
x
H
y
L
y
H
[c d
1
... d
k
]1 ... [c d
1
... d
k
]
b
Hexadecimal 1D284Cp
L
p
H
m f
n
kc
1
kc
2
b x
L
x
H
y
L
y
H
[c d
1
... d
k
]1 ... [c d
1
... d
k
]
b
Decimal 294076p
L
p
H
m f
n
kc
1
kc
2
b x
L
x
H
y
L
y
H
[c d
1
... d
k
]1 ... [c d
1
... d
k
]
b
ASCII GS8Lp
1
p
2
p
1
p
2
m f
n
kc
1
kc
2
b x
L
x
H
y
L
y
H
[c d
1
... d
k
]1 ... [c d
1
... d
k
]
b
Hexadecimal 1D384Cp
1
p
2
p
3
p
4
m f
n
kc
1
kc
2
b x
L
x
H
y
L
y
H
[c d
1
... d
k
]1 ... [c d
1
... d
k
]
b
Decimal 295676p
1
p
2
p
3
p
4
m f
n
kc
1
kc
2
b x
L
x
H
y
L
y
H
[c d
1
... dk]1 ... [c d
1
... d
k
]
b
[Range] 12≤(p
L
+p
H
×256)≤65,535
12≤(p
1
+p
2
×256+p
3
×65536+p
4
×16777216)≤4,718,604
m=48
ƒn=67
a=48
32≤kc
1
≤126
32≤kc
2
≤126
b=1
1≤(x
L
+x
H
×256)≤8,192(0≤x
L
≤255,0≤x
H
≤32)
1≤(y
L
+y
H
×256)≤2,304(0≤y
L
≤255,0≤y
H
≤9)
c=49
0≤d≤255
k=(int((x
L
+x
H
×256)+7)/8)×(y
L
+y
H
×256)
[Description] DefinearasterNVgraphicsdataasarecordspecifiedbythekeycodekc
1
and kc
2
in the NV
graphics area.
o b specifies the number of colors for the defined data.
o x
L
and x
H
specify the number of dots in the horizontal direction (x
L
+x
H
×256).
o y
L
and y
H
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 definition data. k is an explanation parameter; therefore it
does not need to be transmitted.
•IfthespecifiedkeycodealreadyexistsinNVmemory,datawillbeoverwritten.
[Notes] •Thisfunctionisincompatiblewithmacros,somakesuretoavoidincludingitwhendefiningmacros.
• In cases where there is insufficient capacity available for storing NV graphics data, this
function cannot be used. Function 51 should be used to check the available capacity in the NV
graphics data area.
•Thisfunctionshouldbesendatthebeginningofaline.
•Thedataforbytekofd1...dkisprocessedasasingleitemofdefinedNVgraphicsdata.The
defineddata(d)specifies“1”forbitscorrespondingtodotsthatwillbeprintedand“0”forbits
corresponding to dots that will not be printed.
•Specifysingledatagroups[cd
1
... d
k
]whenmonochromeisselected(b=1)asthecolor.
•NVgraphicsdataisprintedusingfunction69.
•NotethatitisnotpossibletocreatedefinitionsforbothNVgraphicsdata(thiscommand)and
NV bit image data (FS q). NV bit image data definitions are deleted when this command is used.
• Therelationship between raster NVgraphicsdataandprint resultsis showninthe table
below.
d1 d2 … d
x
x=x
L
+x
H
×256
d
x
+1 d
x
+2 … d
x
x2
: : … :
… d
k
-2 d
k
-1 d
k