background image

 

1. Commands 
1-1.    EZPL 

 
The EZPL

EZ Programming Language

is high-level label definition and printer control language.    The 

features are: 

The data fields are stored and processed until the printing instruction is received. 

All the data can be rotated. 

Images can be downloaded and stored. 

 
 

There are three basic types of commands

 

Control 

 

Setup

 

Label format

 

 
 

Cause the Printer to take action immediately, such as cleaning memory, feeding label. 

 

Table 1.1 Control Commands 

Description 

Command 

Page 

Date and Time setup 

~Dm, d, y, h, I, s 

Graphic download memory 

~Ea, name, length 

Graphic mode 

~G 

Bit-Mapped font download 

~Jn 

Acknowledge form RS-232   

~Kn 

Clear memory 

~MDELx, name 

Clear Asia font 

~MDELA,x 

Print last label 

~Px 

Row Offset Adjustment 

~Q

±

Rotate printing 

~Rx 

Printer head testing 

~T 

Print version message 

~V 

Print the available space and data name in the memory 

~Xn 

Reset Printer 

~Z 

 
 

Summary of Contents for EZ-1200

Page 1: ...P N 920 011312 01 Edition 2 AUG 14 EZ 1200 EZ 1300 Programmer s manual ...

Page 2: ...1 EZ 1200 EZ 1300 PROGRAMMER S MANUAL 0 1 COMMANDS 2 1 1 EZPL 2 1 2 LANGUAGE DESCRIPTION 4 1 3 BARCODE 14 1 4 EXAMPLES 15 APPENDIX 24 A BARCODE DETAILS 24 ...

Page 3: ... format u Cause the Printer to take action immediately such as cleaning memory feeding label Table 1 1 Control Commands Description Command Page Date and Time setup Dm d y h I s 4 Graphic download memory Ea name length 4 Graphic mode G 4 Bit Mapped font download Jn 4 Acknowledge form RS 232 Kn 5 Clear memory MDELx name 5 Clear Asia font MDELA x 5 Print last label Px 5 Row Offset Adjustment Q x 5 R...

Page 4: ...fine field data such as Line Rectangle Barcode Text and Image Table 1 3 Label Formatting Commands Description Command Page Text At x y x_mul y_mul gap rotation data 9 Barcode Bt x y narrow wide height rotation readable data 9 Serial number setting Cx ys value prompt 10 Define date layout Daalbblcc 10 Terminate label formatting mode and print label E 10 Graphic command Gwxxx 10 Table Hx y row_count...

Page 5: ... Syntax Ea name length Parameter a P or p PCX file a B or b BMP file name Name of image up to 20 character length Length of image byte Description Download monochrome image onto memory Printer will beep 1 time after completely downloaded If you use the same file name the printer will show REPEAT FILE NAME and the download will be not being accepted refer page 19 3 Graphic mond Syntax G Parameter N...

Page 6: ...ia font clear the ID Example MDELA 1 Clear the ID 1 Asia font 8 Print Last Label Syntax Px Parameter X 1 32767 Description This command will repeatedly print the indicated copies of the last label format And if the format is with serial no setting the No will continue when new label is setting 9 Row Offset Adjustment Syntax Q x Parameter x 36 36 Description Adjust the label row offset position 10 ...

Page 7: ...r LED will flash once Setup commands 1 Printing mode Syntax Ax Parameter X D or T Description x D Direct thermal mode x T Thermal transfer mode Direct Thermal mode Thermal Transfer mode start the Ribbon Out function 2 Set the backward length Syntax Bx Parameter x backward length mm Description Set the backward length of the paper 3 Stop position setting Syntax Mx Parameter x forward length mm Desc...

Page 8: ...tax Hx Parameter x 00 19 Description Set printing darkness The value is larger the temeperature is higher 8 Recal label format Syntax Kname Parameter Name name of recall label format up to 20 bytes Refer to P22 Description Recall label format from external format Kname E Px data Control Setup command option 9 Label format begin sign Syntax L Parameter None Description Set label begin sign 10 Strip...

Page 9: ...2 Black Mark label Command Qx y z Example Q25 4 3 x 25 y 4 z 3 mm Q25 4 3 x 25 y 4 z 3 mm 13 Row column adjustment Syntax Rx Parameter x 0 399 dots Response None Description Set left margin 14 Speed setting Syntax Sx Parameter x 2 6 inch second Description Set printing speed 15 Label width setting Syntax Wxx Parameter x label width mm Description Setting label width 16 Serial Port translation sett...

Page 10: ...rial variable Cx 5 Variable data Vxx 2 Barcode Syntax Bt x y narrow wide height rotation readable data Parameter t bar code type A CODE 39 L UPC E Add ON 2 A2 CODE 39 with check digit M UPC E Add ON 5 B EAN 8 N I 2 of 5 C EAN 8 Add ON 2 O Codabar D EAN 8 Add ON 5 P Code 93 E EAN 13 Q Code 128 auto subset A B C F EAN 13 Add ON 2 Q2 Code 128 subset A B C G EAN 13 Add ON 5 R UCC 128 H UPC A S Post NE...

Page 11: ... day Separator can be any ASCII character between decimal 32 to 63 Description Define the date layout for print out refer page 23 5 Terminate label formatting mode and print label Syntax E Parameter None Description End of formatting command printer will print label after receiving this command 6 Graphic command sub command of G Syntax Gwxxx Parameter wxxx w byte number of image data xxx Descripti...

Page 12: ...n US style postal code class service class 3 digits numeric rotation rotation of barcode 0 0 message 1 84 characters 10 PDF 417 Syntax Px y w h r c ec len Data Parameters x Hori of left bottom pos of barcode unit dots y Vert of left bottom pos of barcode unit dots w Width x dimension of the narrowest element bar or space in the barcode h Height y dimension of each barcode row in the symbol r numbe...

Page 13: ... 00 23 m Minute format 2 digits 00 59 s Second format 2 digits 00 59 Separator It can be any separator between dec 32 to 63 of ASCII Descripton Define the time layout for internal real time clock 15 Downloading character sets to memory Syntax Vt x y x_mul y_mul gap rotation data Parameter t arbitrary name of font from a z or A Z Description Download Bit Mapped font to memory All the parameters are...

Page 14: ... 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 command Y20 40 Graphic1 will put this graphic into label at position 20 40 20 40 x y ...

Page 15: ...XAMPLE Code 39 UPC E Add on 2 EAN 8 UPC E Add on 5 EAN 8 Add on 2 I 2 of 5 EAN 8 Add on 5 CODABAR EAN 13 Code 93 EAN 13 Add on 2 Code 128 EAN 13 Add on 5 EAN 128 UPC A MAXICODE UPC A Add on 2 PDF 417 UPC A Add on 5 UPC E DataMatrix Code UCC128 Post ENT ...

Page 16: ...3mm W32 Setting up the width 32mm H10 Setting up the darkness 10 S6 Setting up the speed 6 inches per second P1 Setting up the number of printing 1 E10 Setting up the paper advance length to 10 mm from the print head after printing The label will move back 10 mm when the next label is printed C1 Setting up the number of copies start value is 1 O0 Setting up the auto stripper function to be turned ...

Page 17: ...006 0024 P10 0008 0026 L 0010 If you want to continue printing 10 moreserial numbers starting from 0018 enter command P10 0028 C0 0000 2 A1 0012 0030 AB 10 10 1 1 2 0 C0 0014 0032 E 0016 0034 0018 0036 Example 3 Result Example 4 Result Q10 0 0 0000 Q10 0 0 abc0000def W30 0000 W30 abc0002def S6 0002 S6 abc0004def H10 0002 H10 abc0006def P4 0004 P8 abc0008def C2 0004 L abc0010def L 0006 C0 000 2 A1 ...

Page 18: ...E RTC Setting Example Result Q20 2 2000 JUN 26 S6 09 47 00 W50 H10 P1 D6 26 00 9 47 00 If the setting result can t be printted out please send this command L DY4 ME DD Date Settomg Th m s Time Setting AC 10 30 1 1 0 0 D AC 10 70 1 1 0 0 T E Modification of Date and Specification Setting Example Result Dy4 me dd 2000 MAY 29 Dy4 mn dd 2000 05 29 Dmn dd y4 05 29 2000 Dy4 2000 Dme MAY Ddd 29 Dy4 me 20...

Page 19: ... PRINTER Le 10 10 60 200 AC 120 155 1 1 1 0 PRINTER Le 100 10 400 200 E Darkness 6 Speed 6 inch second Label hight 50mm Gap 2 mm Label width 60mm x y 10 10 x1 y1 60 200 x y 100 10 x1 y1 400 200 Rectangle printing Example Description Result H10 S6 Q25 2 W32 L R20 20 120 120 8 8 E Darkness 4 Speed 2 inch second Label hight 25mm Gap 2 mm Label width 32mm x y 20 20 x1 y1 120 120 lrw 8 dots ubw 8 dots ...

Page 20: ...m W50 Label width 50mm S2 Speed 2 inch second O1 Stripper enable E10 Set stop position to 10 mm P1 Printing one label H10 Darkness 10 L Label format begin sign AD 20 20 1 1 3 0 Stripper Function E Label format end and begin print Download Graphic to printer s memory Example Description Result Ep chipmunk 2484 Download the Graphic to memory file size 2484 bytes Copy chipmunk pcx prn b Send command ...

Page 21: ...AAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 40 bytes ASCII Total 14 lines so the graphics hight is 1 75mm 14 dots E Result Pattern command setting Example Resut Q20 0 0 W40 S6 D5 L Q40 10 2 8 GGGGGGGGG...

Page 22: ...r length 15mm W25 width 25mm S6 Speed 6 inch second H10 Darkness 10 P10 Print 10 labels C1 D2 2 pcs cut L R10 10 170 100 2 2 C0 001 1 A1 AE 50 30 1 1 1 0 a C0 E a001 a002 a003 a004 a005 a006 a007 a008 a009 a010 Download label and variable settings Example Description Ftest Q50 0 15 W70 H10 S6 E12 L Download label to memory card and the label name is test C0 0000 1 serial no Setting serial number i...

Page 23: ...abel format C0 1111 V00 pencil V01 12345678 V02 100 00 Q35 0 0 Changing the size S6 Changing speed 6 sec H10 Changing darkness to 10 P2 Printing the last label twice S N 1111 Pencil 100 00 S N 1112 pencil 100 00 Each time you change variable data or label format repeat to send command from Kname to Px Print head text Version list Example 1 Description Result T Print out a sample test to check if t...

Page 24: ...nts Date tTime setting End symbol Printer Date Time setting Example 1 Description Result D6 16 03 13 52 17 Q100 3 W102 E12 H18 P1 S2 C1 R0 Q 0 O0 D0 R200 L Dy4 me dd Th m s AF 254 100 1 1 0 0 D AF 254 176 1 1 0 0 T E Setting month Date Year Hour Minute Second Label hight 100mm Gap 3mm Label width 102mm Stop position setting 13mm Darkness 18 Print out one label Speed 2inch second Copy one Position ...

Page 25: ... before the data to be encoded Subset C Used for double density encoding of numeric data the set of 100 digit pairs from 00 through 99 To select Code 128 Subset C place C before the data to be encoded Example BQ2 8 8 2 5 40 0 0 AAPPLE Sbuset A BQ2 8 8 2 5 40 0 0 BAPPLE Subset B BQ2 8 8 2 5 40 0 0 C1234 Subset C BQ2 8 8 2 5 40 0 0 Btest D1234 FTEST Subset A B C the sequence is B C A The following i...

Reviews: