User`s manual

29
MP-4200 TH Programmer’s Manual - Revision 1.0
GS v 0 m x
L
x
H
y
L
y
H
d
1
... d
k
[Function] Print raster bitmap.
[Format] ASCII  GSv0mx
L
x
H
y
L
y
H
d
1
... d
k
Hexadecimal 1D7630mx
L
x
H
y
L
y
H
d
1
... d
k
Decimal 2911848mx
L
x
H
y
L
y
H
d
1
... d
k
[Range] 0≤m≤3or48≤m≤51
0≤x
L
≤255;0≤x
H
≤255
0≤y
L
≤255;0≤y
H
≤8
0≤d≤255
k=(x
L
+x
H
×256)×(y
L
+y
H
×256)(k≠0)
[Description] Printrasterbitmapusingthemodedefinedbym:
m Mode Vertical Dot Density Horizontal Dot Density
0, 48 Normal 203dpi 203dpi
1,49 Double-width 203dpi 101 dpi
2, 50 Double-height 101 dpi 203dpi
3,51 Quadruple 101 dpi 101 dpi
x
L
and x
H
, define the number of bytes (x
L
+x
H
×256)inthehorizontaldirectionforthebitimage.
y
L
and y
H
define the number of bytes (y
L
+y
H
×256)intheverticaldirectionforthebitimage.
Dataoutsideprintingareaisdiscarded.
ThepositionatwhichsubsequentcharactersareprintedforrasterbitimageisspecifiedbyHT,ESC$,
ESC\andGSL.
ESCaisaffectiveonrasterbitimages.
d indicates bit-image data. Setting a bit to 1 prints a dot and clearing a bit does not print a dot
[Example] Whenprinting640dots,x
L
+x
H
×256mustbe80,asillustratedonfollowingfigure: