User`s manual
84
MP-4200 TH Programmer’s Manual - Revision 1.0
(1) GS k m d
1
... d
k
NUL
(2) GS k m n d
1
... d
n
[Function] Print barcode.
[Format] ASCII (1)GSkmd
1
... d
k
NUL
(2)GSkmnd
1
... d
n
Hexadecimal (1)1D6Bmd
1
... d
k
00
(2)1D6Bmnd
1
... d
n
Decimal (1)29107md
1
... d
k
0
(2)29107mnd
1
... d
n
[Range] (1)0≤m≤6(kandddependsonthebarcodesystemused)
(2)65≤m≤73(nandddependsonthebarcodesystemused)
[Description] Selectsabarcodesystemandprintsthebarcode.
m
Barcode
System
Number of Characters Remarks
(1) 0 UPC-A 11≤k≤12 48≤d≤57
1 UPC-E 11≤k≤12 48≤d≤57
2 EAN13 12≤k≤13 48≤d≤57
3 EAN8 7≤k≤8 48≤d≤57
4 CODE39 1≤k 48≤d≤57, 65≤d≤90, 32,36,
37,43,45,46,47
5 ITF 1≤k(evennumber) 48≤d≤57
6 CODABAR 1≤k 48≤d≤57,65≤d≤68,36,43,
45,46,47,58
(2) 65 UPC-A 11≤n≤12 48≤d≤57
66 UPC-E 11≤n≤12 48≤d≤57
67 EAN13 12≤n≤13 48≤d≤57
68 EAN8 7≤n≤8 48≤d≤57
69 CODE39 1≤n≤255 48≤d≤57,65≤d ≤90,32,36,
37,43,45,46,47
70 ITF 1≤n≤255(evennumber) 48≤d≤57
71 CODABAR 1≤n≤255 48≤d≤57,65≤d≤68,36,43,
45,46,47,58
72 CODE93 1≤n≤255 0≤d≤127
73 CODE128 2≤n≤255 0≤d≤127
[Detailsfor(1)] •ThiscommandendswithaNULcode.
•Whenthebarcodesystemused isUPC-AorUPC-E,theprinterprintsbarcodedataafter
receiving the 12 bytes.
• When the barcode system used is EAN13, the printer prints barcode after receiving 13
bytes.
•WhenthebarcodesystemusedisEAN8,theprinterprintsbarcodeafterreceiving8bytes.
•TheamountofdataforITFbarcodemustbeeven.Whenanoddnumberofbytesareinput,
the printer ignores the last byte.
[Detailsfor(2)] • nindicates the numberof barcode bytes,and the printer processesn bytesfrom thenext
character data as barcode data.
• If n is outside of the specified range, the printer stops command processing and starts
processing incoming data as normal data.