1. Commands
1-1. EZPL
The EZPL (EZ Programming Language) is a high-level label definition and printer control language. Its features include:
- Data fields are stored and processed until the printing instruction is received.
- All data can be rotated.
- Images can be downloaded and stored.
Basic Types of Commands:
- Control
- Setup
- Label format
Control commands cause the printer to take action immediately, such as cleaning memory or feeding labels.
Table 1.1 Control Commands
Description | Command | Page |
---|---|---|
1. Date and Time setup | ~Dm, d, y, h, i, s | 5 |
2. Graphic download memory | ~Ea, name, length | 5 |
3. Graphic mode | ~G | 5 |
4. Bit-Mapped font download | ~Jn | 5 |
5. Acknowledge form RS-232 | ~Kn | 6 |
6. Delete specific file from printer memory | ~MDELx, name | 6 |
7. Display the memory state | ~MDIR | 6 |
8. Save the TXT. file to printer | ~MSETT, name<CR>nnnnnnnn<data> | 6 |
9. Read saved file | ~MGETT, name<CR> | 6 |
10. Print last label | ~Px | 7 |
11. Row Offset Adjustment | ~Q+x | 7 |
12. Rotate printing | ~Rx | 7 |
13. Immediate response command | ~S,CHECK | 7 |
14. Printer head testing | ~T | 7 |
15. Print Self-Test page | ~V | 7 |
16. Print the available space and data name in the memory | ~Xn | 7 |
17. Reset Printer | ~Z | 7 |
18. Download dBase III to Printer | ~L,DBASE,p1,p2 | 8 |
19. Analogue press FEED key | ~S,FEED | 8 |
20. Print database information in memory | ~X7 | 8 |
21. Open database | FILEDB,OPEN,p1 | 8 |
22. Move data record | FILEDB,MOVE,p1 | 8 |
23. Searching | FILEDB,FIND,p1,p2 | 8 |
24. dBase data substitute Variable print | V#LINKDB,p1, p2 | 8 |
1-2. Language Description
Rules and Syntax
EZPL commands have parameter strings associated with them. The command begins with a letter as an ID for each function. The comma (,) is the delimiter to separate each parameter. The “CR” (Carriage Return) is also used. Control and Setup commands use the tilde (~) and caret (^) prefix. Label formatting commands have no prefix. For example, “~Ea,name,length” is an image download command, where 'a', 'name', and 'length' are three parameters.
Control Commands Details
1. Date/Time Setting
Syntax: ~Dm, d, y, h, i, s
Parameters: m
(month 01-12), d
(date 01-31), y
(last two digits of year), h
(hour 00-23), i
(minutes 00-59), s
(seconds 00-59).
Description: Sets the printer date and time. The printer records the value even after being turned off. To add date/time in label format, combine with text commands ^T and ^D.
2. Graphic Download Memory
Syntax: ~Ea, name, length
Parameters: a
(P or p for PCX, B or b for BMP), name
(image name, up to 20 characters), length
(image byte length).
Description: Downloads monochrome images onto memory. The printer beeps once after completion. If the same file name is used, the printer displays “REPEAT FILE NAME” and rejects the download.
3. Graphic Mode
Syntax: ~G
Parameters: None.
Description: Puts the printer in image-receiving mode. Image data is directly sent from the host to the printing buffer.
4. Bit-Mapped Font Download
Syntax: ~Jn
Parameters: n
(character, from a-z or A-Z; up to 26 characters).
Description: Loads fonts. The printer beeps once after completion. If the same file name is used, the printer displays “E”. Downloaded fonts are compatible with HP Laser Jet II Plus (PCL-4).
5. Acknowledge from RS-232
Syntax: ~Kn
Parameters: n
(0 for disable, 1 for enable).
Return Value: Y
Description: Acknowledges a “Y (0D0A)” from RS-232 back to the host for each printing label.
6. Delete Specific File from Printer Memory
Syntax: ~MDELx, name
Parameters: x
(G for Graphic, F for Label Format, E for Bit-Mapped font, A for Asia Font, T for Text, D for Database), name
(name of the file).
Description: Deletes individual files or erases entire flash memory (excluding Asia font if only ~MDEL is sent).
7. Display the Memory State
Syntax: ~MDIR
Parameters: None.
Description: Shows the memory state. An example display shows the 'Directory of FLASH MEMORY' with files like 'Label1.LBL', 'Bus.IMG', 'Airplan.IMG', 'athena.IMG', 'Abc.IMG', 'A.FNT' (Chinese Traditional 16x16), and indicates '559104 byte(s) free'.
8. Save the TXT. File to Printer
Syntax: ~MSETT, name<CR>nnnnnnnn<data>
Parameters: name
(name of saved file), nnnnnnnn
(data size in 8 digits), data
(data to be saved).
Description: Saves the TXT file to the printer.
9. Read Saved File
Syntax: ~MGETT, name<CR>
Parameters: name
(name of saved file).
Description: Reads the saved file from the printer.
10. Print Last Label
Syntax: ~Px
Parameters: X
(1-32767).
Description: Repeatedly prints the indicated copies of the last label format. If the format has serial number setting, the number continues with new label settings.
11. Row Offset Adjustment
Syntax: ~Q+x
Parameters: x
(-36 to +36).
Description: Adjusts the label row offset position.
12. Rotate Printing
Syntax: ~Rx
Parameters: x
(label width; from 1 to 104 mm).
Description: Rotates the label format 180-degrees when printing. To return to the original print direction, set x
greater than 104.
13. Immediate Response Command
Syntax: ~S,CHECK
Parameters: None.
Description: Provides response messages such as: 00-Ready, 01-Paper 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, 50-Printer is printing. This command can be set to ON/OFF using ^XSET,IMMEDIATE,n
(n:0 OFF, n:1 ON, default: 1).
14. Printer Head Testing
Syntax: ~T
Parameters: None.
Description: Prints a pattern for the user to determine if the print head is damaged. The pattern consists of a series of fine, closely spaced horizontal lines.
15. Print Self-Test Page
Syntax: ~V
Parameters: None.
Description: Prints the Self-Test page.
16. Print the Available Space and Data Name in the Memory
Syntax: ~Xn
Parameters: n
(1 for label format names and available space, 2 for graphic names and available space, 3 for Bit-Mapped font names and available space, 4 for names of label formats/graphics/fonts and available space, 5 for Asia font names and available space).
Description: Prints the available space in the memory card (unit: bytes).
17. Reset Printer
Syntax: ~Z
Parameters: None.
Description: Resets the printer. The LED will flash once.
Setup Commands
Setup commands contain printer control instructions, configuration instructions, and image downloading instructions.
Table 1.2 Setup Commands
Description | Command | Page |
---|---|---|
1. Printing Mode | ^Ax | 9 |
2. Set the backward length | ^Bx | 9 |
3. Set the forward length | ^Mx | 9 |
4. Stop position setting | ^Ex | 9 |
5. Number of copies per label | ^Cx | 9 |
6. Number of labels per cut | ^Dx | 9 |
7. Date offset function | ^D+dddd.hh | 9 |
8. Time offset function | ^T+hhh.mm | 9 |
9. Download label format | ^Fname | 10 |
10. See-through sensor setting | ^Gx | 10 |
11. Setting Print darkness | ^Hx | 10 |
12. Recall label format | ^Kname | 10 |
13. Label format begin sign | ^L | 10 |
14. Stripper sensor | ^Ox | 10 |
15. Number of pages printed | ^Px | 10 |
16. Auto Print | ^PAn | 11 |
17. Limitless print | ^PI | 11 |
18. Label length setting | ^Qx, y (,z±) | 12 |
19. Row column adjustment | ^Rx | 12 |
20. Speed setting | ^Sx | 12 |
21. Label width setting | ^Wxx | 12 |
22. Return the configure status | ^XGET, CONFIG | 12 |
23. Set remind beep on/off | ^XSET,BEEP,n | 12 |
24. Select Code Page 850/852 | ^XSET,CODEPAGE,p1 | 13 |
25. Serial port translation setting | ^Yp1, p2, p3, p4 | 13 |
Label Formatting Commands
Label formatting commands define field data, such as Line, Rectangle, Barcode, Text, and Image.
Table 1.3 Label Formatting Commands
Description | Command | Page |
---|---|---|
1. Text | At, x, y, x_mul, y_mul, gap, rotation, data | 14 |
2. Barcode | Bt, x, y, narrow, wide, height, rotation, readable, data | 14 |
3. Serial number setting | Cx, ys±value, prompt | 15 |
4. Define date layout | Daalbblcc | 15 |
5. Terminate label formatting mode and print label | E | 15 |
6. Graphic command | Gwxxx | 15 |
7. Table | Hx, y, row_count, row_width, line_width | 16 |
8. Line command | La, x, y, x1, y1 | 16 |
9. Maxicode | Mx, y, sno, nos, mode, ccode, zip, class, rotation, message | 16 |
10. PDF 417 | Px, y, w, h, r, c, ec, len | 16 |
11. DataMatrix Code | Xp1, p2, p3, data | 16 |
12. Pattern command | Qx, y, width, height | 17 |
13. Rectangle | Rx, y, x1, y1, lrw, ubw | 17 |
14. Define time layout formatting | Thlmls | 17 |
15. Downloading character sets to memory | Vt, x, y, x_mul, y_mul, gap, rotation, data | 17 |
16. Define variable field | Vxx, length, prompt | 17 |
17. Variable for left, center, right in length of appoint | Vxx,length,prompt,jnl | 18 |
18. Variable Addition | V#OP+,p1,p2,p3 | 18 |
19. Variable Subtraction | V#OP-,p1,p2,p3 | 18 |
20. Variable Multiplication | V#OP*,p1,p2,p3 | 18 |
21. Variable Division | V#OP/,p1,p2,p3 | 18 |
22. Variable Remainder | V#OP%,p1,p2,p3 | 18 |
23. Disable variable prompt | V#SET,UNPROMPT,p1 | 18 |
24. Copy all of variable data | V#STRCPY,Vnn,Vmm | 18 |
25. Copy part of Variable value | V#STRSUB,Vnn,Vmm,first,length | 19 |
26. Add moduls 10 check code | V#ADDCHKSUM, Vnn | 19 |
27. Graphics | Yx, y, name | 19 |
1-3. BARCODE
This section illustrates various barcode types and their examples.
Barcode Type | Example Description |
---|---|
Code 39 | Example of Code 39 barcode with data 'CODE39'. |
EAN 8 | Example of EAN 8 barcode with data '12345670'. |
EAN 8 Add on 2 | Example of EAN 8 barcode with add-on '12' and data '12345670'. |
EAN 8 Add on 5 | Example of EAN 8 barcode with add-on '12345' and data '12345670'. |
EAN 13 | Example of EAN 13 barcode with data '1234567890128'. |
EAN 13 Add on 2 | Example of EAN 13 barcode with add-on '12' and data '1234567890128'. |
EAN 13 Add on 5 | Example of EAN 13 barcode with add-on '12345' and data '1234567890128'. |
UPC A | Example of UPC A barcode with data '12345678901'. |
UPC A Add on 2 | Example of UPC A barcode with add-on '2' and data '12345678901'. |
UPC A Add on 5 | Example of UPC A barcode with add-on '2' and data '12345678901'. |
UPC E Add on 2 | Example of UPC E barcode with add-on '12' and data '02345673'. |
UPC E Add on 5 | Example of UPC E barcode with add-on '12345' and data '02345673'. |
12 of 5 | Example of 12 of 5 barcode with data '4321'. |
CODABAR | Example of CODABAR barcode with data 'ABCD'. |
Code 93 | Example of Code 93 barcode with data 'CODE 93'. |
Code 128 | Example of Code 128 barcode with data 'CODE 128'. |
EAN 128 | Example of EAN 128 barcode with data 'EAN 128'. |
MAXICODE | Example of a Maxicode symbol, a 2D barcode with a central bullseye pattern surrounded by hexagonal modules. |
PDF 417 | Example of a PDF 417 barcode, a stacked linear barcode. |
UPC E | Example of UPC E barcode with data '02345673'. |
UCC128 | Example of UCC128 barcode with data '(12) 3 4567890 123456789 0'. |
Post ENT | Example of Post ENT barcode with data '1 2 3 4 0'. |
DataMatrix Code | Example of a DataMatrix Code, a 2D barcode composed of black and white square modules arranged in a square or rectangular pattern. |
1-4. EXAMPLE
To create a label, a combination of control, setup, and label format commands is required.
The ^L
command precedes the beginning of the label format, and the E
command signifies the end of the label format. Label format commands must be included between ^L
and E
. Control or setup commands used within the label command area will be ineffective.
Example Program (EX1.TXT)
This example program prints a label with EAN8. The program is a text file. The EZ-Series printer can be controlled by simply sending the text file content, regardless of the programming language used.
Program Command | Description |
---|---|
^Q25,3 | Setting 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 function to be turned OFF |
^R0 | Setting up the left margin 0 dot |
^D0 | Turning the cutting function off |
^L | The label content of start symbol |
BB,42,39,2,5,100,0,1,12345 | Select EAN8 label, data content is 1234567 (See Chapter 2 section 2) |
67 | |
E | Label content of stop symbol |
The label can be created using the MS-DOS command: C: ext>COPY EX1.TXT PRN:
. To send the label to the serial port, use: C: ext>MODE COM1 96,N,8,1
and C: ext>TYPE EX1.TXT >> COM1
.
Setting the x and y values:
Diagrams illustrate the coordinate system for label elements. The origin (0,0) is typically at the top-left. Examples show text 'abcd' and 'poqe' placed at different x,y coordinates and rotations (0°, 90°, 180°, 270°).
TEXT Examples
1. TEXT/DATE/TIME
Example | Result |
---|---|
^Q50,0,2^W50^S6^H10^R10~D8,27,00,8,39,36^LAC,10,10,1,1,1,0,EZ-4206 PRINTERAC,10,50,1,1,1,0,^DAC,10,100,1,1,1,0,^TE | EZ-4206 PRINTER AUG/27/00 08:39:36 |
The data output uses default settings for date and time, which can be changed with ~D
and ~T
commands respectively.
2. Serial No.
Example 1 | Printing Result | Example 2 | Result |
---|---|---|---|
^Q10,0,0^W30^S6^H10^P10^LAC0,0000,+2,A1AB,10,10,1,1,2,0,^C0E | 0000 0002 0004 0006 0008 0010 0012 0014 0016 0018 | ~P10 If printing 10 more serial numbers starting from 0018, enter command ~P10. | 0018 0020 0022 0024 0026 0028 0030 0032 0034 0036 |
^Q10,0,0^W30^S6^H10^P4^C2^LAC0,0000,+2,A1AB,10,10,1,1,2,0,^C0E | 0000 0000 0002 0002 0004 0004 0006 0006 | ^Q10,0,0^W30^S6^H10^P8^LAC0,000,+2,A1AB,10,10,1,1,2,0,abc^C0defE | abc0000def abc0002def abc0004def abc0006def abc0008def abc0010def abc0012def abc0014def |
Adjusting the Character Spacing
Example | Result |
---|---|
^Q30,0,0^W50^S6^H10^LAC,10,10,1,1,10,0,EZ-4206 PRINTERAC,10,100,1,1,1,0,EZ-4206 PRINTERE | EZ-4206 PRINTER EZ-4206 PRINTER |
Rotation
Example | Result |
---|---|
^Q50,0,0^W50^S6^H10^LAC,100,30,1,1,1,0,ROTATION 0AC,40,20,1,1,1,1,ROTATION 90AC,260,150,1,1,1,2,ROTATION 180AC,290,220,1,1,1,3,ROTATION 270E | Text 'ROTATION 0' printed horizontally. Text 'ROTATION 90' printed rotated 90 degrees clockwise. Text 'ROTATION 180' printed upside down. Text 'ROTATION 270' printed rotated 270 degrees clockwise. |
^LAZ,100,12,1,1,0,4,中文AZ,220,50,1,1,0,5,中文AZ,75,83,1,1,0,6,中文AZ,121,144,1,1,0,7,中文E | Chinese characters '中文' printed at various positions and rotations. |
RTC Setting
Example | Result |
---|---|
^Q20,2^S6^W50^H10^P1~D6,26,00,9,47,00^LDY4-ME-DDTh:m:sAC,10,30,1,1,0,0,^DAC,10,70,1,1,0,0,^TE | 2000-JUN-26 09:47:00 If the setting result cannot be printed, send this command. Date Setting Time Setting |
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 | 2000-MAY |
Dme-dd | MAY-29 |
Barcode
Example | Result |
---|---|
^H9^S6^Q30,0,2^W60^LBG,20,100,3,3,100,0,1,12345678901234567E | Barcode representing '34567' |
Barcode Rotation
Example | Result |
---|---|
^H9^W25^S6^Q30,0,2^LBE,100,20,2,4,80,1,1,123456789012E | Barcode '1234567890128' rotated 90 degrees. |
Barcode with Serial Number
Example | Result |
---|---|
^H10^S6^Q20,0,2^W50^P10^LC0,000,-1,A3BE,40,20,3,3,100,0,1,111111^C0111E | Series of barcodes with incrementing serial numbers, e.g., '111119911114', '111110021113', '111119991110', '111110001111'. |
Line Printing
Example | Description | Result |
---|---|---|
^H10^S6^Q50,2^W60^LAB,50,60,1,1,1,1,PRINTERLe,10,10,60,200AC,120,155,1,1,1,0,PRINTERLe,100,10,400,200E | Darkness= 6, Speed = 6 inch/second, Label height = 50mm, Gap= 2 mm, Label width = 60mm. Prints 'PRINTER' text and draws lines. | A label with the word 'PRINTER' printed, and a solid black rectangle representing the line drawing. |
Rectangle Printing
Example | Description | Result |
---|---|---|
^H10^S6^Q25,2^W32^LR20,20,120,120,8,8E | Darkness = 4, Speed = 2 inch/second, Label height = 25mm, Gap = 2 mm, Label width = 32mm. Draws a rectangle with specified coordinates and border thickness. | A square outline representing the printed rectangle. |
Maxicode
Example | Result |
---|---|
^Q30,0,0^W70^S6^H10^LM30,20,1,1,2,840,068107317,8,0,123456E | A Maxicode symbol with a central bullseye and hexagonal data modules. |
PDF417
Example | Result |
---|---|
^Q50,0,3^W90^S6^H10^LP30,20,3,3,3,3,1,100123456789... (repeated 10 times)E | A PDF417 barcode encoding the data '123456789' repeated multiple times. |
DataMatrix Code
Example | Result |
---|---|
^Q50,0,3^W90^S6^H10^LX30,20,5,1234567890E | A DataMatrix Code encoding the data '1234567890'. |
Stripper Setting
Example | Result |
---|---|
^Q50,2^W50^S2^O1^E10^P1^H10^LAD,20,20,1,1,3,0,Stripper FunctionE | Label height =50mm, Gap =2mm, Label width=50mm, Speed 2 inch/second, Stripper enabled, Stop position 10 mm, Printing one label, Darkness 10. Label format begins and ends, printing 'Stripper Function'. |
Download Graphic to Printer's Memory
Example | Description | Result |
---|---|---|
~Ep,chipmunk,2484 Copy chipmunk.pcx prn/b. ^Q25,2^W50^S6^H10^LAB,50,10,1,1,1,0,EXTERNALY30,80, chipmunkE | Downloads the graphic to memory (file size: 2484 bytes). Sends command in DOS mode. Assigns the location of the graphic. | Illustrations depicting a stylized chipmunk character, representing graphics downloaded to the printer's memory. |
Graphic Driver Format
Example | Description | Result |
---|---|---|
^Q20,2^W50^R20~G G(AAAAAAAAAAAAA... (repeated lines of 'A') E | Left margin = 20 dots. The graphic data consists of 40 bytes (ASCII) per line for 14 lines, resulting in a graphic height of 1.75mm (14 dots). | A solid black rectangle representing the printed graphic. |
Pattern Command Setting
Example | Description | Result |
---|---|---|
^Q20,0,0^W40^S6^D5^LQ40,10,2,8GGGGGGGGGGGGGGGE | Length: 2x8=16. The pattern is defined by binary data (e.g., '0100011101000111' repeated). | A vertical barcode-like pattern composed of alternating thick and thin vertical lines, representing the binary data. |
Rotate Label Format for Printing
Example | Description | Result |
---|---|---|
^Q30,2^W50^S6^H10~R50^LAC,20,10,1,1,1,0,ROTATEBB,20,45,2,5,50,0,1,1234567E | Label size: 30mm(h); 2mm gap, 50mm(w). Rotates the label format 180° for printing. | Text 'ROTATE' and barcode '12345670' printed upside down. |
~R105^LAC,20,10,1,1,1,0,ROTATEBB,20,45,2,5,50,0,1,1234567E | Disables the rotate function. | Text 'ROTATE' and barcode '12345670' printed in normal orientation. |
Cutter Setting
Example | Description | Result |
---|---|---|
^Q15,0,0^W25^S6^H10^P10^C1^D2^LR10,10,170,100,2,2C0,001,+1,A1AE,50,30,1,1,1,0,A^C0E | Plain paper length 15mm, width:25mm. Speed 6 inch/second, Darkness = 10. Prints 10 labels, 2 pcs/cut. | A grid of labels with serial numbers 'a001' through 'a010', arranged in a 2x5 pattern. |
Download Label and Variable Settings
Example | Description |
---|---|
^Ftest^Q50,0,15^W70^H10^S6^E12^LC0,0000,+1,serial no.V00,10,nameV01,8,barcodeV02,6,priceAE,108,306,1,1,1,0,$^V02AC,39,27,1,1,1,0,S/N.^C0AD,108,78,1,1,1,0,^V00BA,108,135,2,5,100,0,1,^V01E | Downloads label to memory card with the name 'test'. Sets serial number C0 and defines three variables: V00 (name), V01 (barcode), V02 (price). |
Use Variable Settings
1. User Input Unit Price and Amount
Example | Result |
---|---|
~MDELF,test1^Ftest1^Q60,0,0^LV00,10,PriceV01,10,AmountV02,10,Total PriceV#OP*,V02,V00,V01V#SET,UNPROMPT,V02AC,30,110,1,1,0,0,Price: ^V00AC,30,189,1,1,0,0,Amount: ^V01AE,30,273,1,1,0,0,Total Price: ^V02E^Ktest11003E~P1 | Price: 100 Amount: 3 Total Price: 300 |
2. Calculation Sample
Example | Result |
---|---|
~MDELF,test2^Ftest2^Q60,0,0^LV00,10,Input V00V01,10,Input V01V02,10,Input V02V03,20,Input V03V04,20,InputV05,20,InputV06,20,InputV#OP+,V02,V01,V00V#OP-,V03,V01,V00V#OP*,V04,V01,V00V#OP/,V05,V01,V00V#OP%,V06,V01,V00V#SET,UNPROMPT,V02V#SET,UNPROMPT,V03V#SET,UNPROMPT,V04V#SET,UNPROMPT,V05V#SET,UNPROMPT,V06AA,47,57,1,1,0,0,V00=^V00AA,47,77,1,1,0,0,V01=^V01AE,38,115,1,1,0,0,V1+V0=^V02AE,38,165,1,1,0,0,V1-V0=^V03AE,38,215,1,1,0,0,V1*V0=^V04AE,38,265,1,1,0,0,V1/V0=^V05AE,38,315,1,1,0,0,V1 MOD V0=^V06E^Ktest21020E~P1 | V00=10 V01=20 V1+V0=30 V1-V0=10 V1*V0=200 V1/V0=2 V1 MOD V0 = 0 |
Recall Label Format from Memory
Example 1 | Description | Result |
---|---|---|
^Ktest0000book12345678200.00E~P1 | Recalls label format without changing the label format. C0 = 0000, V00 = book, V01 = 12345678, V02 = 200.00. | S/N.0000 book Barcode representing '12345678' $200.00 |
^Ktest1111pencil12345678100.00E^Q35,0,0^S6^H10~P2 | Recalls label format and changes label format. C0 = 1111, V00 = pencil, V01 = 12345678, V02 = 100.00. Changes size, speed (6"/sec), darkness (10). Prints the last label twice. | S/N.1111 Pencil Barcode representing '12345678' $100.00 S/N.1112 pencil Barcode representing '12345678' $100.00 |
Each time variable data or label format is changed, the command from ^Kname
to ~Px
must be resent.
Print Head Test & Version List
Example | Description | Result |
---|---|---|
~T | Prints a sample test to check if the print head is damaged. | A pattern of fine horizontal lines, indicating a print head test. |
Firmware Version
Example | Description | Result |
---|---|---|
~V | Prints the firmware version of the printer. | ### EZ1300 ### ### VER. H1.000 ### |
Copy Setting
Example | Description | Result |
---|---|---|
^Q100,3^W102^E13^H15^P1^S2^C2^R0~Q+5^O0^D0~R200^LDy2-me-ddTh:m:sE | Label height 100mm, Gap 3mm. Label width 102mm. Stop position 12mm. Darkness 15. Prints one label, speed 2 inch/second. Copies 2 pcs. Position value not assigned. Start of upper margin +5. Stripper off. Cutter off. Begin and end symbols for label contents. Date/Time setting. End symbol. | Two labels, each displaying 'Window Text'. |
Printer Date/Time Setting
Example | Description | Result |
---|---|---|
~D6,16,03,13,52,17^Q100,3^W102^E12^H18^P1^S2^C1^R0~Q+0^O0^D0~R200^LDy4-me-ddTh:m:sAF,254,100,1,1,0,0,^DAF,254,176,1,1,0,0,^TE | Sets month/Date/Year/Hour/Minute/Second. Label height 100mm, Gap 3mm. Label width 102mm. Stop position 13mm. Darkness 18. Prints one label, speed 2inch/second. Copies one. Position value not assigned. Start of upper margin 0. Stripper on. Cutter unable. Begin and end symbols for label contents. Date coordinates. Time coordinates. End symbol. | 2003-JUN-16 13:52:17 |
dBase III Data Setting
Example: customer.dbf has the following data:
NAME | ADDRESS | PHONE |
---|---|---|
Tom | Address of Tom | 11111111 |
Mary | Address of Mary | 22222222 |
John | Address of John | 33333333 |
Joe | Address of Joe | 44444444 |
Bob | Address of Bob | 55555555 |
Gilbert | Address of Gilbert | 66666666 |
Example | Description | Result |
---|---|---|
^Q60,0,0^P1^LFILEDB,OPEN,customerV00,10,Prompt0V#LINKDB,PHONE,V00FILEDB,FIND,NAME,MaryAC,79,120,1,1,0,0,Marry's phone: ^V00E | Prints Mary's phone number. | Marry's phone: 22222222 |
^Q60,0,0^P1^LFILEDB,OPEN,customerV00,10,Prompt0V#LINKDB,ADDRESS,V00FILEDB,FIND,NAME,JohnAC,79,120,1,1,0,0,^V00E | Prints John's address. | Address of John |
^Q60,0,0^P1^LFILEDB,OPEN,customerV00,10,PromptV#LINKDB,NAME,V00FILEDB,MOVE,LASTAC,79,120,1,1,0,0,Last Name is ^V00E | Prints the last person's name. | Last Name is Gilbert |
^Q60,0,0^P1^LFILEDB,OPEN,customerV00,10,PromptV#LINKDB,NAME,V00FILEDB,MOVE,2AC,79,120,1,1,0,0,Second Name is ^V00E | Prints the second person's name. | Second Name is Mary |
^Q60,0,0^P3^LFILEDB,OPEN,customerC0,1,+1,DB Move CV00,10,nameV01,10,phoneV#LINKDB,NAME,V00V#LINKDB,PHONE,V01FILEDB,MOVE,C0AC,79,120,1,1,0,0,^V00 Phone is ^V01E | Prints the phone numbers for the first, second, and third persons. | Tom Phone is 11111111 Mary Phone is 22222222 John Phone is 33333333 |
Appendix
A. Barcode Details
1. Code 128
Syntax: BQ2, X, Y, NARROW, WIDE, HEIGHT, ROTATION, READABLE, DATA
Subset A: Includes standard uppercase alphanumeric keyboard characters, control, and special characters. To select Code 128 Subset A, place 'A' before the data to be encoded.
Subset B: Includes standard uppercase, lowercase alphanumeric keyboard characters, and special characters. To select Code 128 Subset B, place 'B' 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
→ Subset ABQ2,8,8,2,5,40,0,0,BAPPLE
→ Subset BBQ2,8,8,2,5,40,0,0,C1234
→ Subset CBQ2,8,8,2,5,40,0,0,Btest&D1234&FTEST
→ Subset A/B/C, sequence is B, C, A.
The following table compares ASCII characters to Code A, Code B, and Code C:
ASCII | 2 Character | Code A | Code B | Code C |
---|---|---|---|---|
96 | &A | FNC3 | FNC3 | -NA- |
97 | &B | FNC3 | FNC2 | -NA- |
98 | &C | SHIFT | SHIFT | -NA- |
99 | &D | Code C | Code C | -NA- |
100 | &E | Code B | FNC | Code B |
101 | &F | FNC4 | Code A | Code A |
102 | &G | FNC1 | FNC1 | FNC1 |