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] PrintaPDF-417barcode.
[Format] ASCII GSk80hn
1
n
2
n
3
n
4
n
5
n
6
d
1
... d
n
Hexadecimal 1D6B80n
1
n
2
n
3
n
4
n
5
n
6
d
1
... d
n
Decimal 29107128n
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
istheECClevel.
n
2
isthepitchheight,withheight=n
2
x 0.125mm.
n
3
isthepitchwidth,withwidth=n
3
x 0.125mm.
n
4
isthenumberofcodewordsperrow–ifn
4
is 0, the maximum number of columns allowed for
the pitch width will be used. If the barcode can’t 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
x256,andtotalmustbelessthan900.
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 GSkNAKd
1
... d
9
NUL
Hexadecimal 1D6B15d
1
... d
9
00
Decimal 2910721d
1
... d
9
0
[Range] dmaybe45,48-57and88.Uppercaseandlowercaseletterscannotbecombinedinthesame
barcode.
[Description] d
1
…d
9
isthesequenceof9bytescontainingthebarcodeinformation.Ifhyphensareincluded
in the information, as in the example below, they will not be computed as a d
n
byte. After the
ninthvaliddigit,anhyphencanbeaddedfollowedbyan“X”(58h)oranyotherdigit(30hto
39h).Inthiscasetherearetwooptions:
- Send the 00h and the barcode will be printed, or
-Sendspace(20h)andmore5digits(30hto39h)
Example:1-56592-292-X90000
1-56592-292-190000
1-56592-292-X
1-56592-292-1
GS k SYN d
1
... d
n
NUL
[Function] Print a MSI barcode.
[Format] ASCII GSkSYNd
1
... d
n
NUL
Hexadecimal 1D6B16d
1
... d
n
00
Decimal 2910722d
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,
aswellastheprogrammedbarcodewidth(GSwn).