background image

 

4

1-2. Language Description 

Rules and syntax 

EZPL commands have parameter strings associated with them; 

??

The commands begin with a letter as ID for each function. 

??

The comma (,) is the delimiter to separate each parameter. 

??

The CR [Carriage Return: decimal (13), hex (oD) signifies the end of every command. 

??

Control and Setup commands use the tilde (~) and caret (^) prefix. 

??

Label Formatting commands have no prefix. 

Example: “~Ea,name,length “. ”I” is an image download command, and (a,name,length) are three parameters. 
 

Setup commands 

1.  Stop position setting 

Syntax 

:  ^Ex

 

Parameter 

:  X = 0~40 (unit : mm) 

Description 

:  Feed paper to desired stop position. 

The suggested value of x is 14 for label gap paper, 12 for stripper operation, 28 for cutter fonction. 

2.  Setting Print darkness 

Syntax 

:  ^Hx

 

Parameter 

:  X = 00 ~ 19 

Description 

:  Set printing darkness. 

3.  Number of pages printed 

Syntax 

:  ^Px

 

Parameter 

:  x = 1 ~ 32767 

Description 

:  Set how many labels to print; and it will initiate the program . (refer page 17) 

4.  Label length 

Syntax 

:  ^Qx,y(,z

?

)

 

 

  Die cut label

:

(See fig. 1) 

x = Label length (unit : mm) 
y = Gap length (mm) 

Parameter 

EX. 
^Q25,3 
(x=25,y=3) mm 

paper feed

direction

x

y

 

 

  Plain paper: 

x = Label length (unit : mm) 
y = 0 (constant) 
z = Feed paper length (unit : mm) 

 

  Black mark label: 

x = Label length (unit : mm) 
y = Black mark width (mm) 
z = Black line to top of form position. 

z+ : When the position is outside the black mark. 

z- : When the position is within the black mark. 

Summary of Contents for EZ-4TKP

Page 1: ...P N 920 010612 02 Edition 2 November 00 EZ 4TTP 4TKP Programming Manual ...

Page 2: ...1 EZ 4TTP 4TKP PROGRAMMING MANUAL 0 1 COMMANDS 2 1 1 EZPL 2 1 2 Language Description 4 1 3 Barcode 13 2 EXAMPLES 14 APPENDIX 21 A Barcode Details 21 B The New Commands 22 ...

Page 3: ...Row column adjustment Rx 5 8 Label format begin sign L 5 9 Stripper sensor Ox 5 10 Download label format Fname 5 11 Recall label format Kname 5 12 Label width setting Wxx 6 13 Number of labels per cut Dx 6 14 Serial Port translation setting Yp1 p2 p3 p4 6 15 Set the forward length Mx 6 16 Set the backward length Bx 6 Control commands Cause the printer to take action immediately such as cleaning me...

Page 4: ...1 y1 lrw ubw 10 7 Table Hx y row_count col_count row_width col_width line_width 10 8 Define time layout formatting Th m s 10 9 Graphics Yx y name 10 10 Text At x y x_mul y_mul gap rotation data 10 11 Barcode Bt x y narrow wide height rotation readable data 11 12 PDF 417 Px y w h r c ec len 11 13 Maxicode Mx y sno nos mode ccode zip class rotation message 11 14 Define variable field Vxx length prom...

Page 5: ...aper to desired stopposition The suggested value of x is 14 for label gap paper 12 for stripper operation 28 for cutter fonction 2 Setting Print darkness Syntax Hx Parameter X 00 19 Description Set printing darkness 3 Number of pages printed Syntax Px Parameter x 1 32767 Description Set how many labels to print and it will initiate the program refer page 17 4 Label length Syntax Qx y z Die cut lab...

Page 6: ...stripper disable x 1 stripperenable Description Enable or disable the stripper sensor When you use this command it should be matched with Ex refer page 16 10 Download label format Syntax Fname data Parameter Name name of label format up to 20 characters Data the data containing the label formatting command for this stored format Description Download label format intomemory After the download is fi...

Page 7: ...ation setting Syntax Yp1 p2 p3 p4 Parameter p1 Baud Rate 48 or 96 or 19 or 38 48 4800bps 96 9600bps 19 19200bps 38 38400bps p2 Parity N O E N none parity O odd parity E even parity p3 Number of data bits 7 or 8 p4 Number of stop bits 1 or 2 Description Serial Port translation setting 15 Set the forward length Syntax Mx Parameter x forward length mm Description Set the forward length of the paper 1...

Page 8: ...e character code name Example JA Define A as HVR0OE1A SFP COPY HVR0OE1A SFP PRN B Send the order with the DOSmode 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 th...

Page 9: ... memory n 3 print Bit Mapped font names and available space in memory n 4 print the name of the label formats graphics fonts and available space in memory n 5 print Asia font names and available space in memory n 6 feed backthe total printed length through the printer s serial port Description Print the available space in the memory card unit bytes 13 Acknowledge from RS 232 Syntax Kn Pararmeter n...

Page 10: ...e17 Example Q50 0 0 W100 S3 H10 E12 P5 L C0 000 1 AA C1 AEE 1 BB C2 CZYY 1 CC AC 5 5 1 1 1 0 C0 C1 C2 E Printing result 000EEZYY 001EFZYZ 002F0ZZ0 003F1ZZ1 004F2ZZ2 3 Terminatelabel formatting mode and print label Syntax E 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 d...

Page 11: ...clock refer page15 9 Graphics Syntax Yx y name Parameter x Hori Pos of left upper of graphics dots y 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 page19 Example A graphic in printer named Graphic1 command Y20 40 Graphic1 will put this graphic into label at position 20 40 20...

Page 12: ...5 mm CODE 39 93 CODABAR I 2 of 5 height height of barcode from 24 1200 dots rotation rotation of barcode 0 3 0 0 1 90 2 180 3 270 readable 0 label off 1 label on data bar code data 1 Constant 2 Date information D 3 Time information T 4 Serial variable Cx 5 Variable data Vxx Description Used to print standard barcodes refer page15 12 PDF 417 Syntax Px y w h r c ec len Data Parameters x Hori of left...

Page 13: ...um up to 20 characters Description User defined variable field setting refer page19 15 Patterncommand 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 4 20 1 2 3 4 5 6 7 8 77 78 79 80 Data send out 1 2 3 4 77 78 79 80 width 4 hei...

Page 14: ...PLE CODE SAMPLE Code 39 UPCE Add on 2 EAN 8 UPCE 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 on2 PDF 417 UPC A Add on 5 UPCE ...

Page 15: ... up the height 25mm gap 3mm W32 Setting up the width32mm H10 Setting up the darkness 10 S3 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...

Page 16: ... 1 1 0 6 AZ 121 144 1 1 0 7 E The data output is a default setting and user can change it with D command refer page9 The time output format is a default setting and user can change it with Tcommand 2 Barcode Result Rotation of barcode Result H10 S3 Q30 0 2 W60 L BB 20 100 3 3 100 0 1 1234567 E H10 S3 W25 Q30 0 2 L BE 100 20 2 4 80 1 1 123456789012 E 3 RTC Setting Change the date formatting Result ...

Page 17: ...100 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 E 7 Maxicode Example Result Q50 0 0 W70 S3 H10 L M30 20 1 1 2 840 068107317 8 0 123456 E 8 Stripper setting Example Result Q50 2 Label height 50mm gap 2mm W50 Label width 50mm S3 Speed 2inch second O1 Stripper enable E10 Set stop position to 10 mm P1 Printing one label H10 Darkness 5 L Label format begin ...

Page 18: ...B 10 10 1 1 2 0 C0 0014 0032 E 0016 If you want to continue printing 10 more serial numbers starting from 0018 enter the command P10 With this command you do not have to re enter all the prior specifications 0034 0018 0036 Example 3 Result Example 4 Result Q10 0 0 0000 Q10 0 0 abc0000def W30 0000 W30 abc0002def S3 0002 S3 abc0004def H10 0002 H10 abc0006def P4 0004 P8 abc0008def C2 0004 L abc0010de...

Page 19: ...AAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA E 12 Pattern command setting Example Result Q 20 0 0 W40 S3 D5 L Q40 10 2 8 GGGGGGGGGGGGGGGG E Length 2x8 16 Description HEIGHT 8 DOTS 0100011101000111 0100011101000111 0100011101000111 0100011101000111 010001110100...

Page 20: ...serial number is C0 V00 10 name V01 8 barcode V02 6 price Setting three variables V00 V01 V02 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 E 16 Recall label format from memory Example1 Description Result Ktest 0000 Recall label format without changing the label format Book C0 0000 12345678 V00 book 200 00 V01 12345678 E V02 200 00 P1 S N 0000 book...

Page 21: ...20 17 Print head test Version list Example Result T V EZ 4TT Plus VER X XX ...

Page 22: ...9 Example Sbuset A BQ2 8 8 2 5 40 0 0 AAPPLE To select Code 128 Subset A place a ASCII A before the data to be encoded Subset B BQ2 8 8 2 5 40 0 0 BAPPLE To select Code 128 Subset B place a ASCII B before the data to be encoded Subset C BQ2 8 8 2 5 40 0 0 C1234 To select Code 128 Subset C place a ASCII C before the data to be encoded Special character handling BQ2 8 8 2 5 40 0 0 ATEST G To encode ...

Page 23: ...s oriented from left to right rotation values from 0 to 3 or top to bottom rotation values 4 7 The Asia font is downloadable To download the Asia font refer the folder fontload readme txt in the CD Yp1 p2 p3 p4 p1 Baud rate 48 4800 96 9600 19 19200 38 38400 p2 Parity N None O Odd E Even p3 Number of data bits 7 8 p4 Number of stop bits 1 2 Setting the RS232 Mx x forward length mm Forward Bx x back...

Reviews: