PROGRAMMER’S MANUAL 1. C OMMUNICATION 1-1. P ARALLEL NTERFACE 1-2 S ERIAL NTERFACE 2. F IRMWARE OMMANDS 2-1. EZPL ...3 2-2. L ANGUAGE 2-3. B ODES 2-4. C 3. E ... 17 XAMPLE ... 27 PPENDIX A. EZ-4TT/2P/4P B. EZ-4TT/2P/4P ORTS PECIFICATION ...1...
Programmer’s Manual 1. Communication Ports Specification 1-1. Parallel Interface Handshake : DSTB to printer and BUSY to host. Interface cable : DB25 Male (IBM-PC) 36 position parallel printer cable. Pin out : Tabulated below. PIN NO. FUNCTION Strobe Data 0-7...
2. Firmware Commands 2-1. EZPL The EZPL (EZ Programming Language) is a high - level label definition and printer control language. The features are: 1) The data fields are stored and processed until the printing instruction is received. 2) All the data can be rotated.
Page 5
Print last label Print version message Date / Time setting Reset printer Acknowledge from RS-232 Printer header testing Clear flash memory Rotate printing Print the available space and data name in the memory card ~Xn Label Formatting Command Define date layout...
3. Number of printing pages Syntax : ^Px Parameters : x = 1 ~ 32767 Description : This command tells the printer how many labels to print; and it will initiate the program.(refer page18) 4. Label length setting Syntax : ^Qx,y(,z ) Parameters Die cut label: ^Qx,y (see fig.
(x= 25, y= 4, z= 3-)mm 5. Speed setting Syntax : ^Sx Parameters : x=1 ~ 4 (inch/sec); ^S4 is 4 inch per second printer only Description : Set printing speed. 6. Number of copy per label Syntax : ^Cx...
Description : Download label format into external memory card (M1 or M2). After finished the download, the printer will beep 2 times (refer page25). If do not install Flash Card (M1 or M2), the printer will beep 1 time. data 11.
Description : Download monochrome image into external flash card. After finished the download, the printer will beep 2 times (refer page23). If do not install Flash Card (M1 or M2), the printer will beep 1 time. 3. Graphic driver format...
Syntax : ~Kn Parameters : N = 0, disable N = 1, enable (enable the printer to send a characher to PC through RS-232) Return Value : Y? Description : Acknowledge a Y(0D0A) from RS-232 back to host each printing label 10.
: Set the serial number(refer page18) 3. Terminate label formatting mode and print label Syntax Parameters : None Description : Ending formatting command; printer will print label after receiving this command. 4. Single line image data (sub-command of ~G) Syntax : Gwxxx Parameters : wxxx...
: Vert. pos. of left-upper of graphics (dots) name : Name of graphics download Description : Put the download graphic into label at the chosen position. (refer page22) Example : A graphic in printer name “ Graphic1 ” command graphic into label at position (20,40) 9.
2. date information. (^D) 3. time information. (^T) 4. serial variable data. (^Cx) 5. variable data . (^Vxx) 10. Barcode command Syntax : Bt,x,y,narrow,wide,height,rotation,readable,data Parameters : t : bar-code type x : Hori. of left-bottom pos. of bar-code (unit : dot, 1 mm = 8 dots) y : Vert.
c : number of bar code columns, from 1 to 30. ec : error correction level; 0 ~ 8. len : number of encoded data bytes, including carriage returns and line feeds. data : data to be encoded (the length of the data is equal to len; up to 1024 characters).
2-3. Bar Codes CODE SAMPLE Code 39 EAN 8 EAN 8 Add on 2 EAN 8 Add on 5 EAN 13 EAN 13 Add on 2 EAN 13 Add on 5 UPC A UPC A Add on 2 UPC A Add on 5 CODE UPC E...
Page 17
Font I (203DPI) / Font J (300DPI) U.S. ASCII 8 bit (IBM compatible) ? ? ? ? ? ? ? ? ? ¶ § ¦ # $ % & ' 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ` a b c d e f G h i...
^L is precedent for the begining of label format label format command must be included between the ^L and E command E is ending of label format finished and printer will begin to print...
Example ^Q50,0,2 ^W50 ^R10 AC,10,10,1,1,1,0,EZ-4TT PRINTER AC,10,50,1,1,1,0,^D AC,10,100,1,1,1,0,^T The date output is default setting and user can change it with D command (see page 9) The time output format is default setting and user can change it with T command (see...
Page 20
^Q50,0,0 ^W50 AC,100,30,1,1,1,0,ROTATION 0 AC,40,20,1,1,1,1,ROTATION 90 AC,260,150,1,1,1,2,ROTATION 180 AC,290,200,1,1,1,3,ROTATION 270 4. RTC Setting Example ; Date & Time setting. Send this command to printer ~D6,16,97,9,47,00 Example ^Q20,2 ^W50 DY4-ME-DD ; date output format setting ; time output format setting Th:m:s...
; terminate label formatting mode and start to print label You can change date formatting as following formats. Example Dy4-me-dd Dy4/mn/dd Dmn|dd|y4 Dy4,me Dme-dd 5. Barcode printing Example ^Q30,0,0 ^W50 ^Q30,0,2 BG,20,100,3,3,100,0,1,12345678901234567 6. Rotation bar-code Example ^Q40,0,0 ^W50 ^Q30,0,2 BE,100,20,2,4,80,1,1,123456789012 7.
Page 22
= 8 dots, ubw = 8 dots R20,20,120,120,8,8 9. Line printing Example ^Q50,2 ^W52 AB,50,60,1,1,1,1,EZ-4TT LE,10,10,60,200 BA,150,40,25,50,0,1,12345 AC,110,130,1,1,1,0,EZ-4TT PRINTER LE,100,10,400,200 10. PDF417 printing Example ^Q40,0,3 ^W50 Description Description ; label length = 50mm, gap = 2 mm ; label width = 52mm ;...
Page 23
P30,20,3,3,3,3,1,100 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 11. Maxicode printing Example ^Q50,0,0 ^W40 M30,20,1,1,2,840,068107317,8,0,123456 12. Stripper setting Example ^Q50,2 ^W80 ^E10 AD,20,20,1,1,3,0,Stripper Function 13. Cutter setting Example ^Q20,0,0 ;plain paper length:20mm feed label length :0mm ^P10 ;print 10 labels ;2 labels per cut R10,10,120,90,2,2...
Page 24
COPY TEST1.TXT PRN COPY TREE.PCX PRN/B COPY TEST2.TXT PRN 15. Download graphic to external flash card Refer “14. Download graphic to printer’s internal memory”. You just need to change the TEST1.TXT as the following contents. TEST1.TXT ~EP,TREE,922 If your grpahic file is bitmap, the command will be “~EB,TREE,922”.
Page 25
G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 17. Pattern command setting Example ^Q20,0,0 ^W40 ^E23 Q20,10,2,8 GGGGGGGGGGGGGGGG 0100011101000111 0100011101000111 0100011101000111 0100011101000111 0100011101000111 0100011101000111 0100011101000111 0100011101000111 1 BYTE 1 BYTE WIDTH = 2 BYTES G : 01000111 (binary) 18. Print head test & Version list Example 19.
Page 26
^Q30,0,0 ~R50 ^W40 AC,20,10,1,1,1,0,ROTATE BB,20,45,2,5,50,0,1,1234567 ^Q30,0,0 ~R105 AC,20,10,1,1,1,0,ROTATE BB,20,45,2,5,50,0,1,1234567 20. Download label format to external flash card & Variable field setting Example ^Ftest ^Q50,0,15 ^W70 ^E12 C0,0000,+1,serial no. V00,10,name V01,8,barcode V02,6,price AE,108,306,1,1,1,0,$^V02 AC,39,27,1,1,1,0,S/N.^C0 AD,126,78,1,1,1,0,^V00 BA,108,135,2,5,100,0,1,^V01 21. Recall label format Example 1 (Recall label format without changing the label format) ^Ktest...
Page 27
^Ktest ; C0 = 1111 1111 ; V00 = Pencil Pencil ; V01 = 12345678 12345678 ; V02 = 100.00 100.00 ; Change label format setting ^Q35,0,0 ; speed = 3“/sec ; darkness = 8 ; printing last label for twice Each time you change variable data or label format, repeat to send command from ^Kname to ~Px.
5. variable data . (^Vxx) Example : VA,5,10,1,1,1,0,data 2. Revised command Clean image buffer Additional function: : After the printer buffer is cleared, you would hear the beep once from the printer. Serial number setting Syntax : Cx,s, value,prompt Parameters...
To get in the check mode; please take the following steps. Hold down the feed button when powering on. Continue to hold down the feed button. The printer will beep 4 times and print out a blank label of 19cm long. When the printer stops, release the feed button.
Page 30
4. About the strip function setting, please refer the technical user’s manual. Fig. 1...
B. EZ-4TT/2P/4P above 2.20 Serial number setting Syntax : Cx,ys, value,prompt Parameters : x: 0~9 s: start value of serial variable (up to 13-digit) value: inc. / dec. value of serial variable (up to 12-digit) prompt: prompt of serial variable (up to 20 characters) Description : Set the serial number.
Page 33
3. Use T type screw driver insert into the opening “A” and turn clockwise. The blade of cutter should be opened, remove the paper inside the cuter. 4. After the paper jam problem is eliminated, power on the printer, at this moment, the cutter will regress automatically to cutting position.
Need help?
Do you have a question about the EZ-2P and is the answer not in the manual?
Questions and answers