EPL2
Foreword
Table of Contents
980352-001 Rev.A
980352-001 Rev.A
980352-001 Rev.A
Introduction
Example
Write Text
Basic Command Syntax
Sample Format
Text
980352-001 Rev.A
Text
Bar Code Orientation Tip
980352-001 Rev.A
Printer Configuration
Explanation of the Status Printout
980352-001 Rev.A
980352-001 Rev.A
Command Reference
Command Description
Enable Error Reporting
Description Prints an Ascii text string
Command Ascii Text
Syntax Ap1,p2,p3,p4,p5,p6,p7,DATA
Rotation
Company \Company\ \code\ \\code\\
To Print
Examples
Will Produce
Writes Text
Functions
Syntax Ap1,p2,p3,p4,p5,p6,p7,DATAp8p9p10…
Constant and variable values in flash printers
Example
Command Simple Expressions in Data Fields
Using Autofr Download a form to the printer with the name
Autofr Command Automatic Form Printing
Ters the device sends will be printed on the label
Autofr Automatic Form Printing Feature
Command Bar Code
EAN13
Bar Codes
B10,10,0,3,3,7,200,B,998152-001
Functions
Code 128 Bar Code Function Characters
Command 2D Bar Code MaxiCode Specific Options
P5= x,y
Default Not used Range 1-8 for both x or y
Example N
Syntax bp1,p2,M,p4 AIM MaxiCode Data
MaxiCode Data Formatting
980352-001 Rev.A
Additional variables
P9 f = Bar code origin point Values 0 or 1, Default is
To Print
Columns Maximum Rows Codewords
Symbol Geometry
980352-001 Rev.A
Will Produce
Command Counter
Syntax Cp1, p2, p3, p4, -PROMPT
= Counter number Range 0 to
Saving Protecting Consecutive Numbers
Syntax C Parameters None Example C
Command Cut Immediate
Description Use this command to select the print density
Command Density
Parameters p1 = Density setting. Acceptable values are
Syntax Dp1
Dump Command Enable Dump Mode
Syntax dump Parameters None
Example dump
Syntax eRp1,p2
ER Command User Defined Error/Status Character
EI Command Print Soft Font Information
Syntax EI
Example EI
Syntax EK Fontname
EK Command Delete Soft Font
Following use hexadecimal coding for parameter values
ES Command Store Soft Font
A1 1st Download Character map position Range 00 to FF hex
Example Measuring Soft Font Size
FF C0
Soft Fonts
ES Command Store Soft Font
Syntax fp1
Command Cut Position
FE Command End Form Store
Form store sequence is started with the FS command
Syntax FE
FI Command Print Form Information
List of all forms stored in memory
Syntax Example
Syntax FK Formname
FK Command Delete Form
FR Command Retrieve Form
Syntax Frformname
Example FRTEST1
FS Command Store Form
Description This command begins a form store sequence
Syntax Fsformname
Prints list of stored forms
GG Command Print Graphics
Syntax GI
GI Command Print Graphics Information
GK Command Delete Graphics
Description Use this command to delete graphics from memory
Syntax GK Name
Syntax GMNAMEp1
GM Command Store Graphics
Next, at the DOS prompt, type
Copy LOGO1.PCX PRN /b
Syntax GWp1,p2,p3,p4DATA
GW Command Direct Graphic Write
Command Character Set Selection
Syntax Ip1,p2,p3
For 7 bit data = Printer Code page/Language Support
P3 = KDU Country Code 8 bit data only
Syntax JB Example JB
JB Command Disable Top Of Form Backup
Syntax JF Example JF
JF Command Enable Top Of Form Backup
LE Command Line Draw Exclusive
Syntax LEp1, p2, p3, p4
P3 = Horizontal length in dots P4 = Vertical length in dots
Syntax LOp1,p2,p3,p4
LO Command Line Draw Black
LSp 1 ,p 2 ,p 3 ,p 4 ,p
LS Command Line Draw Diagonal
Tively erasing previous information
LW Command Line Draw White
= Horizontal length in dots
= Vertical length in dots
Syntax Mp1,p2,p3
Command Memory Allocation
Syntax N
Command Clear Image Buffer
Syntax o Parameters None
Command Cancel Software Options
Syntax oB Parameters None
OB Command Cancel Auto Bar Code Optimization
Syntax oEp1,p2,p3,p4,p5
OE Command Line Mode Font Substitution
Syntax oHp1, p2
Q784 Q1215,24
Syntax oM
OM Command Disable Initial Esc Sequence Feed
Syntax oR p1,p2 Parameters p1 = E
OR Command Character Substitution Euro
ORE,128
Example oRE
Syntax oWp1,p2,p3,p4,p5
OW Command Customize Bar Code Parameters
OW Command Customize Bar Code Parameters
Cp1 = Batch Print Labels and Liner Cut
Command Hardware Options
Examples O
Disables all options
Mode operation
OEPL1 Command Set Line Mode
Syntax OEPL1 Example OEPL1
Example EPL2
Command Print
Syntax Pp1, p2
Examples P1
PA Command Print Automatic
Syntax PAp1, p2
Example FK1
Syntax qp1
Command Set Label Width
Print head width label width
Example q416
Syntax Qp1,p2±p3
Command Set Form Length
Set p2 to 0 zero
±p3 =Offset length measured in dots
Command Set Form Length
Standard Label
Black Line On Perforation
Command Set Double Buffer Mode
Parameters p1 = N Disable Double Buffer Mode
Syntax rp1
Syntax Rp1,p2
Command Set Reference Point
Description Use this command to select the print speed
Command Speed Select
Syntax Sp1
Parameters p1 = Speed select value
TD Command Define Date Layout
Syntax TDp1p2p3
Examples If the current date is January 15
Syntax TSp1,p2,p3,p4,p5,p6
TS Command Set Real Time Clock
Parameters p1 = Month
Range 01 to
Syntax TTp1p2p3+
TT Command Define Time Layout
Parameters P1, P2, P3 = h, m, or s
These parameters describe the format of the time display
Command Print Configuration General
See page 2-2for a description of this printout
Syntax U Example U Will Produce
Power cycle, reset, or UB command will clear this setting
UA Command Enable Clear Label Counter Mode
Syntax UA
Example UA
Syntax UB Example UB
UB Command Reset Label Counter Mode
UE Command External Font Information Inquiry
Syntax UE
Example UE Will Produce ###
UF Command Form Information Inquiry
Syntax UF
Example UF Will Produce ###
UG Command Graphics Information Inquiry
Syntax UG
Example UG Will Produce ###
See Also I and U commands
UI Command Host Prompts/Codepage Inquiry
Syntax UIp1,p2,p3
Example UI
See Also I, M, U, UI and UP commands
UM Command Codepage & Memory Inquiry
Syntax UM
Example UM
UN Command Disable Error Reporting
Description Cancels US command
Syntax UN
See Also I, M, U, UI and UM commands
UP Command Codepage & Memory Inquiry/Print
Syntax UP
Format of data sent to the host is as follows
UQ Command Configuration Inquiry
Syntax UQ
Example UQ
US Command Enable Error Reporting
Printer’s default setting is off
Syntax USp1
102
Ters allowed in the variable field
Command Define Variable
104
Syntax Wp1
Command Windows Mode
Syntax xa Example xa
Xa Command AutoSense
Command Box Draw
Description Use this command to draw a box shape
Syntax Xp1,p2,p3,p4,p5
Command Serial Port Setup
Syntax Yp1,p2,p3,p4 Parameters p1 = Baud rate
Example Y19,O,7,1
Syntax Zp1
Command Print Direction
Syntax ?
? Command Download Variables
Description This command is used to reset the printer
@ Command Reset Printer
Where is 94 decimal
Example @
Syntax ee Parameters None
Ee Command Error Report Immediate
This section has character references
Appendix a Character References
Default Character Map Code
4 5 6 7 8 9 a B C D E F
980352-001 Rev.A
Appendix B Cash Drawer Kicker Option
Male RJ-11
Escp Command Generate Pulse CDK
Escu Command CDK Status
Description Report the cash drawer kicker’s status
Syntax Escu Parameters None