User Tools

Site Tools


godex_ez_dt4_labelprinting

Working with Godex EZPL codes

Reference Material

A quick reference manual for EZPL programming is available here: hiq-2.pdf

Godex Label printers work similar like Zebra printers but with a few difference. The printer takes the exact measurement of the label's dimension and auto - adjusts after performing the self-test on the printer and setting the proper label and printer properties in the QLabel-IV application. User must define the following properties for the Label, Printer, and Advance in the Setup options of QLabel-IV application:

Label Setup:

Paper Height value (in millimeter)
Paper Width value (in millimeter)
Paper Type (Label with gap, Plain Paper, or Black Mark Label)
Gap Length value (in millimeter) - for Paper Type: Label with gap

Printer Setup:

Barcode Printer: EZ-DT-4
Resolution: 203
Print Port (correct port that the printer is connected to the computer)
Note: Leave all else at default value

Advance:
Leave all else at default value

Below is information on how the blank label is referenced and fields are positioned.
(it's possible for some models the origin (0,0) in relation to the print orientation could differ and you would have to adjust your thinking appropriately).
PDF page 24

Example & Common commands:

Example Label code

~MDEL
^W50
^Q25,3
^H10
^P1
^L
BQ, 55, 10, 2, 10, 70, 0, 1, <BARCODE,-1>
AC, 25,120, 1, 1, 0, 0, <DESCRIPTION,-1>
AC, 190,160, 1, 1, 0, 0, <LIST,-1>
E

Common Commands

~ - Prefix character used for control commands

^ - Prefix character used for setup commands

MDEL (Clear Image Buffer) – Used as the start of a label definition. This resets the printer buffer for a clean start.
PDF page 18

W (Set Label Width) – Sets the printable width of the label (in millimeter)
PDF page 16

Q (Set Label Height) - Sets the printable width of the label (in millimeter)
PDF page 15

H (Print Darkness) – This specifies the print darkness. Valid range is 0 to 19, 0 being lightest, 15 being darkest. (If possible, it would be preferable to omit this and set the darkness directly on the printer itself. As the print head wears out the darkness will have to be increased until it eventually requires replacement).
PDF page 14

P (Print) – Print the label; P1 tells it to issue one label; this is the command you would want to use here. It is the last command of a label layout.
PDF page 15

L (Print) – This sets the label format begin sign.
PDF page 15

B (Barcode) – Barcode symbology selection (Code 128 Auto subset A,B,C, and Code 39 (3 of 9) are common choices from the table on PDF page 21, barcode type, origin x, origin y, narrow, wide bar widths, bar height increase, rotation, human readability and data to create barcode from (very typically via special variable filled in by System 5 from barcode or part number). The wide and narrow bar width settings determine how wide the barcode will end up being.
PDF page 21

A (ASCII Text) - tells the printer which built in font to use, origin x, origin y, magnifying horizontally by 1, magnifying vetically by 1,with no gap, no rotation, and what to print (can be pure text or a special variable that System 5 will fill in on the fly as it generates the label) See the System 5 help file for this reference, go to Search tab, enter bar code and text fields (note the space in bar code) and hit enter.
PDF page 20

E (Print) – This tells the printer that it is the end of format; printer will print label after receiving this command.
PDF page 19

Example Label code with explanation

~MDEL - Clear buffer for start of new label
^W50 - Set width to 50
^Q25,3 - Set height to 25 and the measurement of the gap between labels
^H10 - set print density (darkness) to 7
^P1 - set the number of pages to print to 1
^L - set the label begin sign
BQ, 55, 10, 2, 10, 70, 0, 1, <BARCODE,-1> - Print a barcode that has a barcode type of Q - code 128 auto subset, at origin 55,10, narrow value of 2, increased its wideness to 10, increased its height to 70, no rotation, human readable, using the complete contents of the BARCODE value from System 5
AC, 25,120, 1, 1, 0, 0, <DESCRIPTION,-1> - Print text that has a font code of C, at origin 25,120, magnifying horizontally by 1, magnifying vetically by 1,with no gap, no rotation, using the complete contents of the DESCRIPTION FIELD from System 5
AC, 190,160, 1, 1, 0, 0, <LIST,-1> - Print text that has a font code of C, at origin 190,160, magnifying horizontally by 1, magnifying vetically by 1,with no gap, no rotation, using the complete contents of the LIST PRICE from System 5
E - Terminate label formatting mode and print label

Please feel free to add more relevant information to this article.

godex_ez_dt4_labelprinting.txt · Last modified: 2012/07/05 22:39 (12 years ago) by 24.67.9.238