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] DefinearasterNVgraphicsdata.
[Format] ASCII  GS(Lp
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 1D284Cp
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 294076p
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  GS8Lp
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 1D384Cp
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 295676p
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] DefinearasterNVgraphicsdataasarecordspecifiedbythekeycodekc
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.
•IfthespecifiedkeycodealreadyexistsinNVmemory,datawillbeoverwritten.
[Notes] •Thisfunctionisincompatiblewithmacros,somakesuretoavoidincludingitwhendefiningmacros.
• 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.
•Thisfunctionshouldbesendatthebeginningofaline.
•Thedataforbytekofd1...dkisprocessedasasingleitemofdefinedNV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.
•Specifysingledatagroups[cd
1
... d
k
]whenmonochromeisselected(b=1)asthecolor.
•NVgraphicsdataisprintedusingfunction69.
•NotethatitisnotpossibletocreatedefinitionsforbothNVgraphicsdata(thiscommand)and
NV bit image data (FS q). NV bit image data definitions are deleted when this command is used.
• Therelationship between raster NVgraphicsdataandprint resultsis showninthe 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