background image

Control Commands 

~B - Display the version message from RS-232   

Syntax 

~B 

Parameters None 
Description 

Show the version number of firmware on Hyper Terminal. 

 

~Dm,d,y,h,i,s - Date/Time setting 

Syntax 

~Dm,d,y,h,i,s 

Parameter 

m = Month (01 to 12) 
d = Date (01 to 31) 
y = Year (last two digits of year) 

h = Hour (00 to 23) 
i = Minutes (00 to 59) 
s = Seconds (00 to 59) 

Description 

Set real time clock of the printer. For format setting of the date, use the Daa|bb|cc 
command. 

Example ~D12,22,04,11,11,11 

^L 
Dwn 
AD,182,145,1,1,0,0,^D 
Dw2 
AD,135,186,1,1,0,0,^D 
Dw1 
AD,168,226,1,1,0,0,^D 
Dmn/dd/y2 
AD,126,110,1,1,0,0,^D 

The following form shows the date for December 2004. 
 

Sun. Mon.

Tue  Wed. Thu. Fri.

Sat. 

   1 

5 6 7 8 9 10 

11 

12 13 14 15 16 17 

18 

19 20 21 22 23 24 

25 

26 27 28 29 30 31 

 

 

The print result as below. 

 
12/22/04 
    3 
Wednesday 
  Wed 

 

~En, name, size - Download graphic to memory 

Syntax 

~En, name, size 

Parameters 

n = P or p: PCX file 
n = B or b: BMP file 
name: Name of image (up to 20 character) 
size: Size of image (bytes), maximum 512K byte. 

Description 

Download monochrome image onto memory. Printer will beep once after downloaded 
completed. If the file name of graph is duplicated, the printer will show “REPEAT FILE 
NAME”, and the download will not be accepted (refer to page36). 

 

~G - Graphic mode 

Syntax 

~G 

Parameter None 
Description 

Set the printer to image-receiving mode. The image data is sent directly from host to the 
printing buffer (refer to page35) 

 

~H,TTF,name,size<CR>data - Download true type font 

Syntax 

~H,TTF,name,size<CR>data 

Parameter 

name = font name, accepted values: from A to Z 
size = size of font in bytes 
data: TTF file 

Description 

True type font can be downloaded by QLabel IV.   

 

~H,TTF_TABLE,name,size<CR>data - Download Unicode Table 

Syntax 

~H,TTF_TABLE,name,size<CR>data 

Parameter 

name = font name, accepted values: from A to Z 
size = size of font in bytes 
data: TTF file 

Description 

Download the Unicode Table for printing True Type Font.     

 

 

14

Summary of Contents for EZ-1000 Plus

Page 1: ...P N 920 012412 00 Edition B Mar 2007 EZ 1000 Plus Programmer s Manual ...

Page 2: ... configure status 9 XSET ACTIVERESPONSE n Active response 9 XSET BUZZER n Set remind beep on off 9 XSET CODEPAGE n Select Code Page 850 852 9 XSET IMMEDIATE n Set immediate response on off 10 XSET MEMORY n CF Card Flash switch 10 XSET TOPOFFORM n Top of Form 10 XSETCUT DOUBLECUT x Double cut 10 XSETRTC ISOWEEKNUM n ISO Week 11 XSETRTC LANGUAGE n Different language layout 12 XSET SLASHZERO n Slashe...

Page 3: ... height rotation readable data Barcode 20 C x y value z Print count with serial file 21 Cx ys value prompt Serial number setting 21 Daa bb cc Define date layout 22 E Terminate label formatting mode and print label 23 FILEDB OPEN name Open database 23 FILEDB MOVE n Move data record 23 FILEDB FIND x y Searching from database 23 Gwxxx Graphic command 23 Hx y col_count row_count col_width row_width li...

Page 4: ...loading character sets to memory 28 Vxx length prompt Store variable 28 Vxx length prompt jnl Variable alignment 29 Wx y mode type ec mask mul len roatae QR code 29 Xx y z data DataMatrix Code 29 Yx y name Graphics 29 Examples 30 Appendix 42 3 ...

Page 5: ... printer to take action immediately such as cleaning memory feeding label Label Format commands Define the format of data that will be presented on the label such as Line Rectangle Barcode Text and image Rules and syntax EZPL commands include parameter strings associated with them 1 The syntax of commands contains capital letters as the ID for each function 2 The lower case letters in command repr...

Page 6: ...be added to the current time Description This command will set the specified days and hours forward based on the printer s current date then print it Example In this sample the printer will print current time and count the date that is 5 days and 12 hours after current time Q40 0 0 W100 AT L Dy2 me dd Th m s D01 01 05 12 00 00 AD 72 96 1 1 0 0 Manufactured Date D T AD 72 190 1 1 0 0 Expiration Dat...

Page 7: ...l gap on special label materials For example when printing on labels with thick liner colored liner or back graphics the see through sensor would need to be enabled since the reflective sensor may not work correctly When the see through sensor is enabled the moveable sensor must be placed in the center of the printer Hx Print darkness setting Syntax Hx Parameter x 00 19 Description Set the darknes...

Page 8: ...l1 Q40 0 0 PA3 L C0 0000001 1 Counter V00 15 Variable AF 108 140 1 1 0 0 C0 AE 122 278 1 1 0 0 V00 E Klabel1 00001 Variable E Printer will auto print 3 pieces Px Number of pages printed Syntax Px Parameter x 1 32767 Description Set the amount of copies for a printing The Serial Number will be reset for each time the command is implemented PI Continuous printing Syntax PI Parameter None Description...

Page 9: ...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 Parameter EX Q25 4 3 x 25 y 4 z 3 mm Q25 4 3 x 25 y 4 z 3 mm Figure 2 Description Set label size length gap length plain paper feed length Rx Row column adjustment Syntax Rx Parameter x 0 399 dots Description Set left margin Sx Speed setting Syntax Sx Parameter x 2 to ...

Page 10: ...nter models Description Label width setting XGET CONFIG Return the configure status Syntax XGET CONFIG Parameter None Description The printer will return configure status the content is same as Self Test page from RS232 or USB and display it on Hyper Terminal XSET ACTIVERESPONSE n Active response Syntax XSET ACTIVERESPONSE n Parameter n 0 do not return the ERRORxx message to PC n 1 return the erro...

Page 11: ... card must be formatted in FAT16 FAT32 and NTFS are not acceptable Description Set flash or CF card as default memory XSET TOPOFFORM n Top of Form Syntax XSET TOPOFFORM n Parameter n 0 disable Top of Form function n 1 enable Top of Form function Description Enable Disable Top of Form function XSETCUT DOUBLECUT x Double cut Syntax XSETCUT DOUBLECUT x Parameter x 0 disable the doublecut x offset len...

Page 12: ...D Dwy2 AC 58 194 1 1 0 0 Week of year in two digits D E Set the date and time Define the clock type Print the date Print the Week of year in one digit Week of year in one digit 52 Print the Week of year in two digits Week of year in two digits 52 Program without the ISO Week Date function Remark Example D1 1 0 0 0 0 XSETRTC ISOWEEKNUM 0 Q50 0 0 L Dy4 mn dd AC 58 32 1 1 0 0 NOT ISO week of year D D...

Page 13: ... 1 0 0 Month of year number D E XSETRTC LANGUAGE 1 Q50 0 0 L AC 58 06 1 1 0 0 German Dw1 AC 58 046 1 1 0 0 Day of week 3 letter D Dw2 AC 58 098 1 1 0 0 Day of week complete D Dwn AC 58 144 1 1 0 0 Day of week number D Dm1 AC 58 188 1 1 0 0 Month of year 3 letter D Dm2 AC 58 240 1 1 0 0 Month of year complete D Dmn AC 58 286 1 1 0 0 Month of year number D E English Day of week 3 letter Thu Day of w...

Page 14: ... the next label will be printed After the label has been cut or stripped the printer will continue print the rest contents of the next label For stripper XSET SMARTBACK 1 Q100 3 E30 O1 P3 L R18 18 750 774 10 10 E Example For Cutter XSET SMARTBACK 1 Q100 3 E30 D1 P3 L R18 18 750 774 10 10 E 1 Printer will print out first label and part of second label 2 After taking label away printer continues pri...

Page 15: ...x En name size Parameters n P or p PCX file n B or b BMP file name Name of image up to 20 character size Size of image bytes maximum 512K byte Description Download monochrome image onto memory Printer will beep once after downloaded completed If the file name of graph is duplicated the printer will show REPEAT FILE NAME and the download will not be accepted refer to page36 G Graphic mode Syntax G ...

Page 16: ...E x y Download dBase III to Printer Syntax L DBASE x y data Parameter x database name y database size unit byte Description This command can download dBase III file to printer Example L DBASE customer 364 Data of customer dbf L SERIAL name data Download serial file to printer Syntax L SERIAL name data Description name serial file name data serial file data Example Download serial file to printer M...

Page 17: ...XT file to printer Syntax MSETT name CR nnnnnnnn data Parameter name the name of saved nnnnnnnn data size 8 digits data data of saved Description Save the TXT file to printer MGETT name CR Read saved file Syntax MGETT name CR Parameter name the name of saved Description Read the saved file from printer Example Use MSETT text1 CR 00000015Text file test2 to save data to printer Then use MGETT name C...

Page 18: ...aper out 02 Paper jam or miss gap 03 Ribbon out 04 Print head is up 05 Rewinder full 06 Memory is full 07 filename can not be found 08 filename is repeat 09 Syntax error 20 Pause 21 In Setting Mode 22 In Keyboard Mode 50 Printer is printing nnnnn number of remaining labels the value is from 00000 to 99999 Note Before using this command the XSET IMMEDIATE Set immediate response on off command shoul...

Page 19: ...bel formats graphics fonts and available space in memory n 5 print Asia font names and available space in memory Description Print the available space in the memory unit bytes X7 Print database information in memory Syntax X7 Parameter None Description Print database information in memory X8 Print serial file name Syntax X8 Parameter None Description Print serial file name from printer Z Reset pri...

Page 20: ... Prints an ASCII or ASIA text string refer to page32 The ASCII text oriented form left to right the Asian text from left to right or top to bottom AT x y w h g r d r1 data Print built in true type font Syntax AT x y w h g r d r1 data Parameter x Hori of left bottom position of text unit dot 1 mm 8 dots or 12 dots y Vert of left bottom position of text unit dot 1 mm 8 dots or 12 dots w The width of...

Page 21: ... narrow wide height rotation readable data Barcode Syntax Bt x y narrow wide height rotation readable data t Barcode type see table below type Barcode type Barcode A Code 39 P Code 93 A2 Code 39 with check digit Q Code 128 auto subset A B C B EAN 8 Q2 Code 128 subset A B C C EAN 8 Add ON 2 R UCC 128 D EAN 8 Add ON 5 S Post NET E EAN 13 T DUN 14 ONLY 90 F EAN 13 Add ON 2 U EAN 128 G EAN 13 Add ON 5...

Page 22: ...ation up to 3 groups y select the decimal y none Decimal 0 9 y A Hexadecimal 0 9 A F y C 0 9 A Z s start value of serial variable up to 13 digit You can use the leading spaces to replace the leading zeros value value of serial variable up to 12 digit prompt prompt of serial variable up to 20 characters Description Set the serial number refer to page35 Example Q50 0 0 W100 H10 P3 L Dy2 me dd Th m s...

Page 23: ... 1 1 0 0 D Dy4 mn dd AD 36 280 1 1 0 0 D Djj2 AD 36 320 1 1 0 0 D Dwy2 AD 36 360 1 1 0 0 D Dw2 AD 36 400 1 1 0 0 D Dm2 AD 36 440 1 1 0 0 D Dwn AD 36 530 1 1 0 0 D AC 228 82 1 1 0 0 julian date format AC 228 124 1 1 0 0 week of year format AC 228 166 1 1 0 0 day of week as 3 letter abbreviation AC 228 210 1 1 0 0 month of the year as 3 letter abbreviation AC 228 318 1 1 0 0 julian date format AC 22...

Page 24: ...er x Column name in database file y Keyword for searching Description Select a specific record form database and print it Example Download database customer Q60 0 0 P1 L FILEDB OPEN customer V00 10 Prompt0 V LINKDB PHONE V00 FILEDB FIND NAME Mary AC 79 120 1 1 0 0 Marry s phone V00 E Find Mary s data and print it Gwxxx Graphic command Syntax Gwxxx Parameter wxxx w byte number of image data xxx ima...

Page 25: ... for US style postal code If there is a 5 digits zip code 4 zeros must be padded 6 digits alphanumeric zip code for non US style postal code class service class 3 digits numeric rotation rotation of barcode 0 3 0 0 1 90 2 180 3 270 message 1 84 characters Description Print a 2 dimensional Maxicode refer to page33 Px y w h r c ec len PDF 417 Syntax Px y w h r c ec len Data Parameters x Hori of left...

Page 26: ... LF Line3 CR LF 9876543210 Qx y width height 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 Data send out 1 2 3 4 77 78 79 80 width 4 height 20 data length 4x20 80 refer to page36 4 20 1 2 3 4 5 6 7 8 77 78 79 8...

Page 27: ...004 V ADDCHKSUM x Add modulus 10 check code Syntax V ADDCHKSUM x Parameters x variable Description Add the modulus 10 check code to x Example Add modulus 10 check code to V00 MDELF test Ftest Q60 0 0 L V00 16 Prompt V ADDCHKSUM V00 AE 47 57 1 1 0 0 Date V00 E Ktest 111222333 E P1 Print result Enter Variable value 111222333 Print result 1112223332 V LINKDB x y Set a Variable name for dBase data Syn...

Page 28: ...scription Rename the variable Example MDELF aaa Faaa Q50 0 3 AD L V00 10 Prompt V01 10 Prompt V RENAME weight V00 V RENAME date V01 AE 7 46 1 1 0 0 Weight is weight AE 7 86 1 1 0 0 Date is date E Kaaa 16 kg 11 20 2004 E P1 Weight is 16 kg Date is 11 20 2004 V SET UNPROMPT x Disable variable prompt Syntax V SET UNPROMPT x Parameters x variable Description This command can set the variable without p...

Page 29: ...sets to memory Syntax Vt x y x_mul y_mul gap rotation data Parameter t the font name from A Z x Hori of top left position of text unit dot 1 mm 8 dots or 12 dots y Vert of top left position of text unit dot 1 mm 8 dots or 12 dots x_mul Horizontally magnified up to 8 times as large y_mul Vertically magnified up to 8 times as large gap Distance of the character unit dot 1 mm 8 dots or 12 dots rotati...

Page 30: ...0 2 180 3 270 Description Print QR code by setting Example Q50 0 0 L W10 10 2 1 L 8 10 36 0 0123456789ABCDEFGHIJKLMNOPQRSTUV WXYZ E Data mode 2 Model type 1 Error level L Masking factor 8 Multiple 10 Data length 36 Xx y z data DataMatrix Code Syntax Xx y z data Parameters x Hori of left bottom pos of barcode unit dots y Vert of left bottom pos of barcode unit dots z Enlarge the DataMatrix Code 8 t...

Page 31: ...E SAMPLE 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 30 ...

Page 32: ...up the height 25mm gap 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...

Page 33: ...E R L PRINTER AC 10 10 1 1 10 0 PRINTER AC 10 100 1 1 1 0 PRINTER E L AZ 100 12 1 1 0 4 中文 AZ 223 65 1 1 0 5 中文 AZ 60 100 1 1 0 6 中文 AZ 90 144 1 1 0 7 中文 E The data output is a default setting and user can change it with D command refer to page22 The time output format is a default setting and user can change it with T command 2 Barcode Example Result Rotation of barcode Result H10 S6 Q30 0 2 W60 ...

Page 34: ...Example Description Result H10 S6 Q50 2 W70 L R20 20 120 120 8 8 E Darkness 10 Speed 6 inch second Label height 50mm gap 2 mm Label width 70mm x y 20 20 x1 y1 120 120 lrw 8 dots ubw 8 dots 6 PDF417 Example Result Q50 0 3 W70 S6 H10 L P30 20 3 3 3 3 1 100 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345678 E 7 Maxicode Example Result Q50 0 0 W70 S6 H10 L M30 20...

Page 35: ...le 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 10 Cutter setting Example Description Result Q20 0 0 H5 S2 P10 D2 C1 L R10 10 120 90 2 2 C0 001 1 A1 AC 20 30 1 1 1 0 a C0 E plain paper length 20mm feed label length 0mm print 10 labels 2 labels per cut a001 a002 a003 a004 a005 a00...

Page 36: ...with serial number Result H10 S6 Q20 0 2 W50 P10 L C0 000 1 A3 BE 20 100 3 3 100 0 1 111111 C0111 E 12 Graphic driver format Example Description Q20 2 W50 R20 Left margin 20 dots G For this example ASCII character is 40 decimal 40 bytes Total 14 lines so the graphics height is 1 75mm 14 dots Result G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA G AAAAAAAAAAAA...

Page 37: ...TE BB 156 112 2 5 50 2 1 1234567 E Label size is 40 mm h x 50 mm w 2 mm gap Rotate the label format 180 for printing Q50 0 0 R200 L AC 20 10 1 1 1 0 ROTATE BB 20 45 2 5 50 0 1 1234567 E Disable the rotate function 15 Download graphic to printer s memory Following the below steps to download graphic to printer 1 Prepare a graphic file file name TREE PCX file size 922 bytes 2 Prepare two text files ...

Page 38: ...m memory Example 1 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 200 00 Example 2 Description Result Ktest 1111 Pencil 12345678 100 00 E Recall label format and change label format C0 1111 V00 pencil V01 12345678 V02 100 00 Q35 0 0 Changing the size S6 Changing speed to 6 sec H10 ...

Page 39: ...VX XXX Serial port 96 N 8 1 1 DRAM installed Image buffer size 1475K 000 FORM S IN MEMORY 000 GRAPHIC S IN MEMORY 000 FONT S IN MEMORY 000 ASIAN FONT S IN MEMORY 150K BYTES FREE MEMORY S6 H8 R000 R200 W100 Q100 3 Option D0 O0 AD Gap Sensor AD 129 162 195 3 38 ...

Page 40: ...LF test2 Ftest2 Q60 0 0 L V00 10 Input V00 V01 10 Input V01 V02 10 Input V02 V03 20 Input V03 V04 20 Input V05 20 Input V06 20 Input V OP V02 V01 V00 V OP V03 V01 V00 V OP V04 V01 V00 V OP V05 V01 V00 V OP V06 V01 V00 V SET UNPROMPT V02 V SET UNPROMPT V03 V SET UNPROMPT V04 V SET UNPROMPT V05 V SET UNPROMPT V06 AA 38 37 1 1 0 0 V00 V00 AA 38 77 1 1 0 0 V01 V01 AE 38 115 1 1 0 0 V1 V0 V02 AE 38 165...

Page 41: ...y AC 79 120 1 1 0 0 Mary s phone V00 E Print out Mary s phone number Mary s phone 22222222 Q60 0 0 P1 L FILEDB OPEN customer V00 10 Prompt0 V LINKDB ADDRESS V00 FILEDB FIND NAME John AC 79 120 1 1 0 0 V00 E Print out John Address Address of John Q60 0 0 P1 L FILEDB OPEN customer V00 10 Prompt V LINKDB NAME V00 FILEDB MOVE LAST AC 79 120 1 1 0 0 Last Name is V00 E Print out last person name Last Na...

Page 42: ...DB Move C V00 10 name V01 10 phone V LINKDB NAME V00 V LINKDB PHONE V01 FILEDB MOVE C0 AC 79 120 1 1 0 0 V00 Phone is V01 E Print first second and third person phone number Tom Phone is 11111111 Mary Phone is 22222222 John Phone is 33333333 41 ...

Page 43: ...ample Subset 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 FNC1...

Reviews: