User`s manual

37
MP-4200 TH Programmer’s Manual - Revision 1.0
GS k 80h n
1
n
2
n
3
n
4
n
5
n
6
d
1
... d
n
[Function] PrintaPDF-417barcode.
[Format] ASCII  GSk80hn
1
n
2
n
3
n
4
n
5
n
6
d
1
... d
n
Hexadecimal 1D6B80n
1
n
2
n
3
n
4
n
5
n
6
d
1
... d
n
Decimal 29107128n
1
n
2
n
3
n
4
n
5
n
6
d
1
... d
n
[Range] 0≤n
1
≤8
1≤n
2
≤8
1≤n
3
≤4
0≤n
4
≤255
[Description] n
1
istheECClevel.
n
2
isthepitchheight,withheight=n
2
x 0.125mm.
n
3
isthepitchwidth,withwidth=n
3
x 0.125mm.
n
4
isthenumberofcodewordsperrow–ifn
4
is 0, the maximum number of columns allowed for
the pitch width will be used. If the barcode cant fit the print width the printer automatically
adjusts it for the maximum permitted width.
n
5
and n
6
indicate the number of bytes that will be coded, where
total=n
5
+n
6
x256,andtotalmustbelessthan900.
d
1
…d
n
is the actual sequence of bytes that will be coded.
GS k NAK d
1
... d
9
NUL
[Function] Print an ISBN barcode.
[Format] ASCII  GSkNAKd
1
... d
9
NUL
Hexadecimal 1D6B15d
1
... d
9
00
Decimal 2910721d
1
... d
9
0
[Range] dmaybe45,48-57and88.Uppercaseandlowercaseletterscannotbecombinedinthesame
barcode.
[Description] d
1
…d
9
isthesequenceof9bytescontainingthebarcodeinformation.Ifhyphensareincluded
in the information, as in the example below, they will not be computed as a d
n
byte. After the
ninthvaliddigit,anhyphencanbeaddedfollowedbyan“X”(58h)oranyotherdigit(30hto
39h).Inthiscasetherearetwooptions:
- Send the 00h and the barcode will be printed, or
-Sendspace(20h)andmore5digits(30hto39h)
Example:1-56592-292-X90000
1-56592-292-190000
1-56592-292-X
1-56592-292-1
GS k SYN d
1
... d
n
NUL
[Function] Print a MSI barcode.
[Format] ASCII  GSkSYNd
1
... d
n
NUL
Hexadecimal 1D6B16d
1
... d
n
00
Decimal 2910722d
1
... d
n
0
[Range] 48≤d
n
≤57
[Description] d
1
…d
n
is a sequence of n bytes containing barcode information. The checksum digit is generated
automatically by the printer. The number of barcode digits is limited by the physical print width,
aswellastheprogrammedbarcodewidth(GSwn).