1. Commands 1-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.
Label formatting commands Define field data, such as Line, Rectangle, Barcode, Text and image. Description 1. Define date layout 2. Serial number setting 3. Terminate label formatting mode and print label E 4. Graphic command 5. Line command 6. Rectangle 7.
Page 5
4. Number of pages printed Syntax : ^Px Parameter : x = 1 ~ 32767 Description : Set how many labels to print; and it will initiate the program. 5. Label length Syntax : ^Qx,y(,z ) Die cut label:(See fig. 1) x = Label length (unit : mm) y = Gap length (mm) Parameter...
Page 6
: Download label format into memory. After the download is finished, the printer will beep once (refer page 20). data Same name inspection : If you use the same file name, the printer will print ”REPEAT FILE NAME”, and the download will be not be accepted. 12. Recall label format...
3. Graphic mode Syntax : ~G Parameter : None Decription : Printer is in the image-receiving mode. Image data is directly sent from host to the printing buffer (refer page 18) 4. Print last label Syntax : ~Px Parameter : x = 1 ~ 32767 Description : This command will repeatedly print the indicated copies of the last label format.
Page 8
: If the printing doed not appear in the same place on every label, this command instructs the printer to print label formats +n increments above the position the format specifies, and –n decrements below the position the format specifies.
Page 9
AC,5,5,1,1,1,0,^C0^C1^C2 3. Terminate label formatting mode and print label Syntax Parameter : None Description : End of formatting command; printer will print label after receiving this command. 4. Graphic command Syntax : Gwxxx Parameter : wxxx... w : byte number of image data (xxx...) Description : This command is a sub-command of ~G It is sent by binary data.
Page 10
: Vert. Pos. of left-upper of graphics (dots) name : Name of graphics download Description : This command is print a graphic that has been previously stored in printer memory (refer page Example: A graphic in printer named “Graphic1”,...
Page 11
10. Text Syntax : At, x, y, x_mul, y_mul, gap, rotation, data Parameter : t :Font(A~H for Code page 850; I for ASCII) Font Points 16x26 dots for US ASCII 8 bit t = Zn Asia font from 1 to 4 x : Hori of left-bottom position of text (unit : dot, 1 mm = 8 dots) y : Vert of left-bottom position of text (unit : dot, 1 mm = 8 dots) x_mul : Horizontally magnified up to 8 times as large...
Page 12
: Height (y dimension) of each barcode row in the symbol. r : number of barcode rows, from 3 to 90. If you key in 0, printer will count all the rows. c : number of barcode columns, from 1 ~ 30. If you key in 0, printer will count the all columns.
Page 13
10. Pattern command Syntax : Qx, y, width, height Data... Parameters : x = Hori. of left-bottom pos. (unit : dots). y = Vert. of left-bottom pos. (unit : dots). width = width of graphic (unit : byte) height = height of graphic (unit : dots) (data length = width x height) Description 1 2 3...
1-3. Barcode CODE 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 DataMatrix Code SAMPLE...
2. Examples How to construct a label using EZ-Series command To create a label, it must be an order command combination. Control command Setup up command ^L is precedent for the beginning of label format Label format command E is ending of label format ** Control or setup commands to be used in the label command area will be ineffective.
Page 16
1. Text Example ^Q50,0,2 ^W50 ^H10 ^R10 ~D8,27,00,8,39,36 AC,10,10,1,1,1,0,PRINTER AC,10,50,1,1,1,0,^D AC,10,100,1,1,1,0,^T Adjusting the character spacing ^Q30,0,0 ^W50 ^H10 AC,10,10,1,1,10,0,PRINTER AC,10,100,1,1,1,0,PRINTER The data output is a default setting and user can change it with ~D command (refer page8). The time output format is a default setting and user can change it with T command.
Page 17
4. Line printing Example ^Q50,3 ^W100 ^E32 LO,212,45,311,53 LO,244,11,252,128 LE,34,43,149,51 LE,72,8,80,121 5. Rectangle printing Example ^H10 ^Q50,2 ^W70 R20,20,120,120,8,8 6. PDF417 Example ^Q50,0,3 ^W70 ^H10 P30,20,3,3,3,3,1,100 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 7. Maxicode Example ^Q50,0,0 ^W70 ^H10 M30,20,1,1,2,840,068107317,8,0,123456...
Page 19
11. Serial number Example 1 ^Q10,0,0 ^W30 ^H10 ^P10 C0,0000,+2,A1 AB,10,10,1,1,2,0,^C0 Example 3 ^Q10,0,0 ^W30 ^H10 C0,0000,+2,A1 AB,10,10,1,1,2,0,^C0 Barcode with serial number ^H10 ^Q20,0,2 ^W50 ^P10 C0,000,-1,A3 BE,20,100,3,3,100,0,1,111111^C0111 12. Graphic driver format Example ^Q20,2 ^W50 ^R20 G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
Page 20
BB,20,45,2,5,50,0,1,1234567 15. Download graphic to printer’ s memory Following the below steps to download graphic to printer. 1. Be prepared a graphic file (file name: TREE.PCX, file size: 922 bytes). 2. Be prepared two text files (TEST1.TXTand TEST2.TXT, see the following contents).
Page 21
16. Download label and variable settings Example ^Ftest ^Q50,0,15 ^W70 ^H10 ^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 17. Recall label format from memory Example 1 ^Ktest 0000 Book 12345678 200.00 Example 2 ^Ktest 1111 Pencil 12345678 100.00 ^Q35,0,0 ^H10...
Appendix. A. Barcode Details 1. Code 128 BQ2,X,Y,NARROW,WIDE,HEIGHT,RTATION,READABLE,DATA Code 128 Subset A: Included the standard uppercase alphanumeric keyboard characters, control and special characters. Code 128 Subset B: Includes the standard uppercase, lowercase alphanumeric keyboard characters and special characters. Code 128 Subset C: Used for double density encoding of numeric data (the set of 100 digit pairs from 00 through 99).