Manual No. 980009-001 Rev. F©1999 Zebra Technologies CorporationEPL2Programmer’sManual
formatting the appearance of the time and dateonto printed labels. See Appendix E for details.Command Functions The EPL2 printer has four (4) basic co
Code Pages and Character Sets (8 bit)Code Page 437Size 5Code Pages and Character Sets (8 bit)Code Page 850Size 5A-6 980009-001 Rev.FAppendix A - Stand
Code Pages and Character Sets (8 bit)Code Page 852Size 5Code Pages and Character Sets (8 bit)Code Page 860Size 5980009-001 Rev.F A-7Appendix A - Stand
Code Pages and Character Sets (8 bit)Code Page 863Size 5Code Pages and Character Sets (8 bit)Code Page 865Size 5A-8 980009-001 Rev.FAppendix A - Stand
Code Pages and Character Sets (7 bit)BritishSizes 1-4Size 5Code Pages and Character Sets (7 bit)DanishSizes 1-4Size 5980009-001 Rev.F A-9Appendix A -
Code Pages and Character Sets (7 bit)FrenchSizes 1-4Size 5Code Pages and Character Sets (7 bit)GermanSizes 1-4Size 5A-10 980009-001 Rev.FAppendix A -
Code Pages and Character Sets (7 bit)ItalianSizes 1-4Size 5980009-001 Rev.F A-11Appendix A - Standard Character Sets
Code Pages and Character Sets (7 bit)SpanishSizes 1-4Size 5Code Pages and Character Sets (7 bit)SwedishSizes 1-4Size 5A-12 980009-001 Rev.FAppendix A
Code Pages and Character Sets (7 bit)SwissSizes 1-4Size 5980009-001 Rev.F A-13Appendix A - Standard Character Sets
Code Pages and Character Sets (7 bit)USASizes 1-4Size 5A-14 980009-001 Rev.FAppendix A - Standard Character Sets
Appendix B - Optional & ExtendedCharacter SetsThis section contains information on printeroptional language character sets for EPL2 printers.Fixed
Printer ControlCommandsPrinter control commands set the image (label)size, position of print area, speed, density (heatsetting), control and positioni
Fixed FirmwareOptional CharacterSet DifferencesThe EPL2 optional language character setreplace the EPL2 standard character set forcode page 850 (Latin
Character Maps The extended character maps can be found onthe our Internet site or from CD ROM. Click onthe code page reference (in the electronic man
B-4 980009-001 Rev.FAppendix B - Optional & Extended Character Sets
Appendix C - Asian CharacterPrinter ProgrammingThis section contains information unique to theAsian character printers.Asian Character SetsFonts8&
Only One (1) Asian language is supported by aprinter.Each Asian language (character set) is a separateprinter firmware version.Asian printers with fla
A Command - ASCII TextDescription Prints a character string.Syntax Ap1,p2,p3,p4,p5,p6,p7,"DATA"Parameters p1= Horizontal start position (X)
A Command - ASCII Textp6= Vertical multiplier, expandsprinted text vertically. Range:1-9.p7= N for normal or R for reverse image“DATA” = Represents a
A Command - ASCII TextThe data field can be replaced by or combinedwith the following commands:Vnn =Prints the contents of variable “nn”atthis positio
A Command - ASCII TextThe following table outlines the (A) commanddata field option of printer stored or supplieddata.ModelData Parameter Option Suppo
A Command - ASCII TextThe English font (1-5) characters are dotmapped differently than the Asian font (8 & 9)characters. The Asian character does
Memory Control Memory control commands provide access tovolatile (temporary) and nonvolatile(permanent) memory in the printer. Volatilememory is for s
A Command - ASCII TextThe Asian fonts can print character strings ori-ented from top to bottom (p3values 4-7), as wellas the standard English word ori
i Command - Asian Character SpacingDescription Places an adjustable inter-character space be-tween Asian font characters, fonts 8 and 9, only.Inter ch
C-10 980009-001 Rev.FAppendix C - Asian Character Printer Programming
Appendix D - Bar Code InformationThis section has answers to frequently askedquestions about bar coding in general.Frequently AskedQuestions AboutBar
❏Human Readable Information - The in-formation encoded in a bar code may be rep-resented in human-readable form below theprinted bar code symbol. This
Q. What are the most common bar codesin use today?A. Listed below are seven bar codes that are invery common use:The Universal Product Code (UPC)The U
Digit are implied), but the UCC promotesprinting all eight digits.❏Check Digit - Required (modulus 10 calcu-lation)❏Encoded Information -·Number Syste
and the Uniform Symbology Specifications forthis symbology were developed by AIM USA.The UCC recognizes this symbology for ship-ping container marking
❏Allowable Sizes -·Minimum “X” Dimension: .0075 inches❏Wide to Narrow Ratio:·2:1 to 3:1 for “X” Dimension greater than.020 inches·2.2:1 to 3:1 for “X”
Code 3 of 9 (Code 39)Code 3 of 9, or Code 39, is a symbology usedwidely in industrial applications. This symbolwas invented by Dr. David Allais and th
Printer memory is divided into three basicgroups: SRAM for image buffer generation,nonvolatile storage memory and firmware (in-ternal printer control
Code 128 is frequently used in industrial, retail,and shipping applications. This symbology wasinvented by Ted Williams and the Uniform Sym-bology Spe
UPC Shipping Container Symbol (SCC-14)The UPC Shipping Container Symbol, or theSCC-14, utilizes the I 2 of 5 symbology and isdesigned specifically for
.040 inches and height equals 1.25 inches).These magnifications range from 62.5% to120%, although a size of 100% or greatershould be used when printin
UCC/EAN-128 Serial Shipping ContainerSymbolThe SSCC-18 is a popular format of theUCC/EAN-128 specification and is meaningfulonly when used in associat
CodabarCodabar is a bar code symbology used often inlibraries, blood banks, and preprinted airwaybills. The Codabar specification was inventedby Monar
Q. What are Two Dimensional (2D) BarCodes?A. Two Dimensional bar code symbologieshave high data densities and typically includeerror correction. Typic
Q. What is MaxiCode?MaxiCode is a two-dimensional symbology thatcan encode approximately 100 characters ofdata in a single one square inch symbol and
b Command - 2D Bar Code - OverviewDescription This command will direct a printer equippedwith the 2D feature to print a bar code using a 2dimensional
b Command - 2D Bar Code - MaxiCode Specific OptionsDescription Use this commmand to generate MaxiCode barcode symbols with a single command. Theprinte
b Command - 2D Bar Code - MaxiCode Specific Optionsp5= x,yAssociated MaxiCode symbol numberingwhere:x = Symbol Number ofy = Total Number of Associated
FlashNonvolatile MemoryFlash SRAMStandard Maximum Standard Maximum2443 (Orion) 512 KB 1 MB 256 KB 512 KB2684 (Strata) 512 KB 1 MB 512 KB 1 MB2722 512
b Command - 2D Bar Code - MaxiCode Specific OptionsExample:N¿b20,20,M,"300,840,93065,1692,This is MaxiCode, but not MaxiCodeformatted data"¿
Using AIM SpecifiedMaxiCode DataFormattingThe EPL2 printer can use and automatically de-code the AIM ITS (International Technical Stan-dards) MaxiCode
b Command - 2D Bar Code - PDF417 Specific OptionsDescription Use this command to print PDF 417 and MacroPDF bar code symbols. The printer will auto se
b Command - 2D Bar Code - PDF417 Specific OptionsThe following parameters may be omitted and de-fault values will automatically be inserted. Each pa-r
b Command - 2D Bar Code - PDF417 Specific Optionsp9(f) = Bar code origin pointValues: 0 or 1, Default is 1f1- Center of bar code as defined by theauto
b Command - 2D Bar Code - PDF417 Specific Options"DATA" = ASCII data or Binary data bytesRepresents a fixed data field.The backslash (\) cha
b Command - 2D Bar Code - PDF417 Specific OptionsPDF417Symbol GeometryColumns Maximum Rows Codewords590906 90 1807 90 2708 90 3609 90 45010 90 54011 9
b Command - 2D Bar Code - PDF417 Specific OptionsAutomatic PDF 417Bar Code GenerationThe printer automatically tests and changes thePDF 417 bar code g
b Command - 2D Bar Code - PDF417 Specific OptionsExample:N¿b80,100,P,700,600,x2,y7,l100,r100,f0,s5," \ ¿Fourscore and seven years ago our fathers
oH Command - Macro PDF OffsetDescription Use this command to place addition secondary,associated Macro PDF symbols for the continu-ation of data great
Status Reporting Status reporting commands provide the userand programmer with printer operationalstatus, memory usage, and listings of forms andgraph
oH Command - Macro PDF OffsetExample:N¿q784¿Q1215,24¿R0,0¿oH0,500¿¿N¿b80,100,P,700,600,x2,y7,l100,r100,f0,s5,"\Fourscore and seven years ago our
Appendix E - Real Time Clock OptionProgrammingThis section applies to printers with the RTC(Real Time Clock) option installed.RTC OptionConfigurations
RTC Commands The following commands can use and controlthe RTC option features:·TS - Set Time & Date·TT - Define Time Layout as a command orInsert
A Command - ASCII Text with RTCThe “Data” field can be replaced by or com-bined with the following variables:TT = Prints the current time at this posi
B Command - Bar Code with RTCThe data field can be replaced by or combinedwith the following commands:Vnn = Prints the contents of variable “nn”atthis
TD Command - Define Date LayoutDescription Use this command to define the date formatwhen printing.Use the variable TD in a Text or Bar Code (A &
TS Command - Set Real Time ClockDescription Use this command to set the time and date inprinters equipped with the Real Time Clock op-tion.Syntax TSp1
TT Command - Define Time LayoutDescription Use this command to define the time formatwhen printing.Syntax TTp1[|p2|p3][+]Parameters P1, P2, P3= h, m,
E-8 980009-001 Rev.FAppendix E - Real Time Clock Option Programming
Appendix F - Cutter Option ProgrammingThis section applies to printers with the Cutteroption installed.980009-001 Rev.F F-1Appendix F - Cutter Option
CommandConventionsThe manual uses the following typographicconventions to describe commands.Example DescriptionA Commands (Case Sensitive)p1,p2,p3Requ
Cutter OptionConfigurationsSupport for the Cutter option varies fromprinter model to model. Model variations are,as follows:❏Desktop printersMost desk
C Command - Cut ImmediateDescription: This command allows the advanced program-mer to initiate an immediate media cut withouta form print operation. T
f Command - Cut PositionDescription Use this command on an individual printer toprovide precision cut placement.·Compensate sensor to cutter position
OC Command - Cutter Option SelectDescription This sub-command is used to enable the cutteroption feature when installed. Thissub-command set of the O
OC Command - Cutter Option SelectExamples: O :disables all options.OC :enables cutter only, labels are cut after each:label is printed, disables all o
Appendix G - Advanced ProgrammingThis section applies to commands and proce-dures that use atypical media, various printeroptions and unique operating
AUTOFR - Automatic Form Printing FeatureDescription: This special form process allows you to detachthe printer from the computer and print in astandal
AUTOFR - Automatic Form Printing FeatureAUTOFR treats any incoming data as a variable in-tended for printing. This means if you send theprinter a memo
A Command – Simple Expresssions in Data FieldsDescription: The advanced function of the A command al-lows addition and subtraction to be performedon c
A Command – Simple Expresssions in Data FieldsExample:¿FK"1"¿FK"1"¿FS"1"¿V00,10,N,"Enter current mileage"¿A100
Basic CommandSyntaxEach command consists of one or two ASCII(case sensitive) alpha characters to identify thespecific command desired. Some commandsre
dump Command - Enable Dump ModeDescription: This command allows the advanced program-mer to force a user diagnostic “data dump”mode. Sending the dump
eR Command - User Defined Error/Status CharacterDescription: This command allows the advanced program-mer to specify the printer's error/status r
O Command - Options SelectDescription Use this command to select various printer op-tions. Options available vary by printer model.SyntaxO[C[p1], D, d
o Command - Cancel Customized SettingsDescription: This command allows the user to cancel allprinter customization parameters set by o seriescommands.
oB Command - Cancel Auto Bar Code OptimizationDescription: This command allows the advanced program-mer to disable bar code optimization for rotated(9
oR Command - Character Substitution (Euro)Description: This command allows the advanced program-mer to substitute the Euro currency character forany A
oR Command - Character Substitution (Euro)The oR command is a global printer command.❏It can not be issued inside of a form.❏It must be issued prior t
oW Command - Customize Bar Code ParametersDescription: This command allows the advanced program-mer to modify specific bar code parameters toexceed th
oW Command - Customize Bar Code ParametersReset the printer with a ^@ or o commandswith flash firmware printers or cycle printerpower to clear the oW
p Command - Reset Top of Form SensingDescription: This command allows the advanced program-mer to reset the default parameters for top ofform sensing.
Command Editor One method to create command files is throughan ASCII based text editor. In the DOSenvironment, MS-DOS EDIT or BRIEF aregood choices. T
r Command - Buffer ModeDescription: Use this command to disable or reenable thedouble buffer image (label) printing. The dou-ble buffer feature is a a
U Commands - Advanced Status CommandsDescription These commands allow the advanced program-mer to request and control specific printer statuscondition
UA Command - Enable Clear Label Counter ModeDescription Use this command to clear the label counter if apaper empty occurs. The EPL2 printer, by de-fa
UB Command - Reset Label Counter ModeDescription Use this command to clear the UA commandand restore the default setting to allow theprinter to resume
UE Command - External Font Information InquiryDescription This command will cause the printer to send in-formation about external fonts currently stor
UF Command - Form Information InquiryDescription This command will cause the printer to send in-formation about forms currently stored in theprinter b
UG Command - Graphics Information InquiryDescription This command will cause the printer to send in-formation about graphics currently stored in thepr
UI Command - Host Prompts/Codepage InquiryDescription This command will cause the printer to enableprompts to be sent to the host and it will sendthe
UM Command - Codepage & Memory InquiryDescriptionThis command will cause the printer to send tothe host of the currently selected codepageand memo
UN Command - Disable Error ReportingDescription Cancels US commandSyntaxUN980009-001 Rev.F G-25Appendix G - Advanced Programming
Printer MemoryOrganizationThe EPL2 printers feature nonvolatile memoryfor storage of label forms, graphics and softfonts. This memory can be located i
UP Command - Codepage & Memory Inquiry/PrintDescriptionThis command will cause the printer to printand send the currently selected codepage andmem
UQ Command - Configuration InquiryDescription Use this command to send the printer configu-ration information back to the host via the serialport.Synt
US Command - Enable Error ReportingDescription Use this command to enable the printer’s statusreporting feature.·Serial Port - If an error occurs, the
US Command - Enable Error ReportingCode Error/Status Description00 No Error01 Syntax Error02 Object Exceeded Label Border03Bar Code Data Length Error(
W Command - Windows ModeDescription This command is used to disable/re-enable theWindows command mode.SyntaxWp1Parameters p1= Windows Mode Enabled.Val
xa Command - AutoSenseDescription This command is used to have the printer detectthe label and gap length and set the sensor lev-els. This command wil
^ee Command - Error Report - ImmediateDescription: Use this command to get printer error and statusreport immediately. The ^ee command mustbe sent via
^@ Command - Reset PrinterDescription This command is used to reset the printer.Syntax^@¿ :where ^is 94 decimalThis command emulates Power Off and the
Soft Fonts Overview Soft fonts allow the programmer and user tohave a wide variety of font and small graphic re-call. Some of the advantages and disad
EK Command - Delete Soft FontDescription This command is used to delete soft fonts frommemory.Soft fonts can be downloaded to and deleted fromthe prin
FOREWORDThis manual provides programming information for the Eltron brand printers, featuring Zebra’sEltron Programming Language (EPL2) command langua
Soft Fonts Soft Font data is stored in nonvolatile memory.Up to 52 soft fonts, can be loaded into printermemory (and recalled as A-Z, a-z; see Section
ES Command - Store Soft FontDescription This command is used to download and storesoft fonts in memory.Soft fonts can be downloaded to and deleted fro
ES Command - Store Soft Fonta1:(1st) Download Character (map position)Range: 00 to FF hex.b1:(1st) Spacing To Next Print CharacterDownloaded character
ES Command - Store Soft FontFor fonts with the rotation parameter setfor “both” (p2= 02 hex.):Repeat the individual font character downloadfor each 90
ES Command - Store Soft FontSoft FontsProgramming CodeExampleThe typical soft font download commandstrings to the printer. The following examplewas ge
ES Command - Store Soft FontFont Bitmap DataFormatThe black and white bitmap that represents thefont must be converted into ASCII hexadecimalcode. The
Appendix H - Programming ExamplesThis section has examples that outline the basicsteps needed to program various form/label ele-ments. The examples co
Example 1 - Text andLine GraphicsThis label has basic text and line graphics.Example 1:¿OD¿N¿D7¿S2¿ZT¿Q609,24¿q784¿X30,30,20,750,400¿A60,100,0,2,3,3,N
ProgrammingBreakdown:ProgrammingDescription¿OD¿N¿Initialize printerSet option for direct thermal printingClear the image bufferSet Printer Control Par
Example 2 - Text andLine GraphicInteractionsThis label demonstrates text and line graphic in-teraction. The print mode has been reset to thedefault “t
ProgrammingBreakdown:Programming Description¿O¿N¿Initialize PrinterResets print method to thermal transferClear the image bufferSet Printer Control Pa
Image BufferAddressingThe printer allocates image buffer memory us-ing the stored values for length and width. Thedefault length of the image buffer i
Example3-BarCode VariablesThis label demonstrates bar code implementa-tions using Code 39 (with automatic extendedcharacter set).Example 3:¿OD¿N¿D7¿S2
ProgrammingDescription:Programming Description¿OD¿N¿Initialize printerSet direct thermal modeClear the image bufferSet Printer Control Parameters and
Example4-BarCode and LineGraphics InteractionThis label demonstrates bar code and linegraphic interaction.Example 4:¿O¿N¿D5¿S1¿Q609,24¿q784¿LO50,20,50
ProgrammingBreakdown:Programming Description¿O¿N¿Initialize printerReset printer defaults - set thermal transfer modeClear the image bufferSet Printer
Example 5 -Sequencing GraphicElementsThe order that graphic elements get placed inthe image (buffer) effect the print results.·Standard black graphics
Using the LE line element for creating Reversed Textis the most versatile and recommend) method ofgenerating this type of text.ProgrammingBreakdown:Pr
Example 6 - Stepsfor Downloading aPCX GraphicUse the following steps for downloading a PCXgraphic file to a printer with a flash (nonvolatile)memory c
Step 3 Generate an program (ASCII text) file for eachPCX graphic file to be downloaded.Example:GK"WORLD"¿GM"WORLD"4398¿Save the fi
Example 7 - PrintingA PCX GraphicThis example demonstrates printing a label witha graphic, immediately, by importing apreloaded PCX graphic from memor
ProgrammingBreakdown:Programming Description¿OD¿N¿Initialize the printerSet direct thermal modeClear the image bufferSet Printer Control Parameters an
Sample FormatThe minimum non printing margin on all edgesof the label is 1mm. Printing closer than 1mm tothe top or bottom edge of the label may cause
Example 8 - PrintingImmediately: PuttingIt All TogetherThis example demonstrates printing a completelabel with text, bar code, and graphic elements.Th
ProgrammingBreakdown:Programming Description¿OD¿N¿Initialize printerSet direct thermal modeClear the image bufferSet Printer Control Parameters and Op
Example 9 -Creating A FormThis example demonstrates form creation anddownloading to printer’s nonvolatile memory.The form has simple text, bar code, a
ProgrammingBreakdown:Programming DescriptionFK”EXAM-09”¿FS”EXAM-09”¿Queue form to save to memory.Start form store sequence.Set Printer Control Paramet
Example 10 - Stepsfor Downloading aFormUse the following steps for downloading a Formfile to printer memory with DOS operating sys-tem commands. This
Example 11 -Creating a Formwith Basic VariablesThis example demonstrates variable data fields.The variable data fields must be loaded imme-diately fol
Programming DescriptionFK”EXAM-11”¿FS”EXAM-11”¿Queue form to save to printer memory.Start form store sequence.Set Variables (00-99)V00,15,C,”Enter com
Example 12 -Printing Forms withVariablesThis example demonstrates access and controlof individual forms by programming. The ?(Download Variables) comm
ProgrammingBreakdown:Programming Description¿Initialize printerOD¿Set direct thermal print modeDo not place an O command inside forms.FR”EXAM-11”¿Reca
Example 13 -Variable JustificationThis example demonstrates the variable datajustification setting (p2=L,R,C and N)forprinting of the data field (p3=
A small amount of SRAM memory is used to op-erate and temporarily store variables (counters,text variables, control parameters, etc.) neededto print.
Will Produce:H-26 980009-001 Rev.FAppendix H - Programming Examples
Example 14 -Creating a Form withBasic CountersThis example demonstrates counter data fields.The counter data fields must be loaded immedi-ately follow
Will Produce:H-28 980009-001 Rev.FAppendix H - Programming Examples
ProgrammingBreakdown:Programming DescriptionFK”EXAM-14”¿FS”EXAM-14”¿Queue form to save to printer memory.Start form store sequence.Set Counters (0-9)C
Example 15 -Numeric Countingand PrintingThis example demonstrates variation of count-ing with the printer counter variables. The ex-amples show number
Will Produce:980009-001 Rev.F H-31Appendix H - Programming ExamplesStart Label Group#1Start Label Group#2
Example 16 -Counter JustificationThis example demonstrates the counter justifi-cation setting (p2=L,R,C and N) for printingof the counter data field (
02¿03¿04¿05¿06¿07¿08¿P1,1¿Will Produce:980009-001 Rev.F H-33Appendix H - Programming Examples
Example 17 -Printing with Forms:Putting It AllTogetherThis example demonstrates creating and recall-ing for use, a form and printing a complete labels
Will Produce:980009-001 Rev.F H-35Appendix H - Programming ExamplesPCX graphic rotated byexternal graphics editingsoftware and downloadedas WORLDRText
Double Buffering EPL2 printers with firmware version 3.0 andhigher (except TLP2046) support double buff-ering of print images to increase through-put.
Example 18 - Using aKDU TerminalThe Keyboard Display Unit (KDU) is a terminalunit that interfaces with a printer in astand-alone capacity.The KDU has
Enter the form name using the keys on the key-board. Upper and lower case letters must matchexactly as the form name was saved. If a scan-ner is conne
Multiple Labels - If multiple labels are de-sired, enter the new quantity and press ENTERto print labels.Exit a Form - Press EXIT at any time to retur
Protecting Data If the label form has been designed to “hide” avariable prompt, i.e., Store No., that data willbe protected and this prompt will appea
H-40 980009-001 Rev.FAppendix H - Programming Examples
Appendix J - Interface ConnectionThis section has the interface connection dia-grams for Serial and Parallel ports for EPL2printers.980009-001 Rev.F J
Serial InterfaceCable ConnectionsJ-2 980009-001 Rev.FAppendix J - Interface ConnectionN/CRxDTxDDTRGNDDSRRTSRICTSPrinterHost112233445566778899DB-9Pin #
P2242 SerialInterface CableConnections980009-001 Rev.F J-3Appendix J - Interface ConnectionN/CRxDTxDDTRGNDDSRRTSRICTSPrinterHost115263243546789DB-9Pin
Parallel InterfaceCable ConnectionsThe +5 volt at pin 18 of the printer's parallel portprovides power to Eltron PrintServers; a 10base-TEthernet
The q value affects the available print width. Mini-mizing the q value will maximize the print length andprint speed (double buffering).Use the approp
Text (Fonts) The standard EPL2 printer has five (1-5) resi-dent mono-spaced dot fonts. Fonts A-Z and a-z(upper and lower case alpha characters) are re
The reference point of the first character in a textstring is not affected by the font size multiplier values.980009-001 Rev.F 1-19PROGRAMMING CONSIDE
Bar Codes All bar codes supported by the EPL2 languagehave associated industry specifications that theprogrammer should be aware of and adhere to.The
ProgrammingSequences AffectGraphic ResultsGraphic elements can interact and the resultantimage can be affected by other commands.Structure command seq
Table of ContentsPROGRAMMING CONSIDERATIONS ...1-1Features ...1-1Command Functions ...1-2Image Control Command
Determining PrinterFirmware VersionThe printer version numbers are a code used todocument product function and the featuresupport level of the printer
COMMAND REFERENCEThis section contains a complete listing ofprinter commands in alphabetical order and de-scribes the basic commands.980009-001 Rev.F
EPL2 Command Set The command language controls most printerfunctions. Printer model differences have re-quired minor functional differences to individ
CommandDescriptionALLSpecificNotSupportedPageoH Macro PDF Offset ✔ D-27oM Disable Initial Esc Sequence Feed ✔ 2-41oW Customize Bar Code Parameters ✔ G
A Command - ASCII TextDescription Prints an ASCII text stringSyntax Ap1,p2,p3,p4,p5,p6,p7,"DATA"Parameters p1= Horizontal start position (X)
A Command - ASCII TextThe backslash (\) character designates thefollowing character is a literal and will encodeinto the data field. Refer to the foll
A Command - ASCII TextThe data field can be replaced by or combinedwith the following commands:Vnn= Prints the contents of variable “nn”atthis positio
B Command - Bar CodeDescription Use this command to print standard bar codes.Syntax Bp1,p2,p3,p4,p5,p6,p7,p8,"DATA"Parameters p1= Horizontal
B Command - Bar Code2-8 980009-001 Rev.FCOMMAND REFERENCEDescriptionP4ValueP5ValueCode 39 std. or extended3 1-10Code 39 with check digit3C 1-10Code 93
B Command - Bar CodeExample:¿N¿B10,10,0,3,3,7,200,B,"998152-001"¿P1¿Will Produce:The data field can be replaced by or combinedwith the follo
GI Command - Print Graphics Information ...2-24GK Command - Delete Graphics ...2-25GM Command - Store Graphics...2-26I Command - Char
b Command - 2D Bar CodeDescription Print 2D Bar Code - This command will direct aprinter equipped with the 2D bar code featureto print a two (2) dimen
C Command - CounterDescription The command defines one of 10 automaticcounters used in consecutive numberingapplications (i.e. serial numbers).For Num
C Command - CounterThe C command is used in forms that require se-quential numbering. When initializing counters,they must be defined in order (e.g. C
C Command - CounterSaving andProtectingConsecutiveNumbers inNonvolatile MemoryThis feature is useful when the counter field rep-resents a serial numbe
D Command - DensityDescription Use this command to select the print density.Syntax Dp1Parameters p1= Density setting. Acceptable values are:Model Acce
EI Command - Print Soft Font InformationDescription This command will cause the printer to print alist of all soft fonts that are stored in memory.Syn
EK Command - Delete Soft FontSee Appendix GES Command - Store Soft FontsSee Appendix G2-16 980009-001 Rev.FCOMMAND REFERENCE
FE Command - End Form StoreDescription This command is used to end a form store se-quence.Syntax FEExample:FS"FORMNAME"↵...FE↵The form store
FI Command - Print Form InformationDescription This command will cause the printer to print alist of all forms stored in memory.Syntax FIExample:FI↵ :
FK Command - Delete FormDescription This command is used to delete forms frommemory.Syntax FK {“FORMNAME”|"*"}Parameters “FORMNAME” = By ent
French ...A-10German ...A-10Italian ...A-11Spanish ...A-
FR Command - Retrieve FormDescription Use this command to retrieve a form that waspreviously stored in memory.Syntax FR"FORMNAME"Parameters
FS Command - Store FormDescription This command begins a form store sequence.Syntax FS"FORMNAME"Parameters “FORMNAME” =This is the form name
FS Command - Store FormExample:¿FK"TESTFORM"¿ :delete form “TESTFORM”FS"TESTFORM"¿ :begins the form store sequence of:the form “TE
GG Command - Print GraphicsDescription Use this command to print a PCX (format)graphic that has been previously stored inprinter memory.Syntax GGp1,p2
GI Command - Print Graphics InformationDescription This command will cause the printer to print alist of all graphics stored in memory.Syntax GIExampl
GK Command - Delete GraphicsDescription Use this command to delete graphics frommemory.Syntax GK {“NAME”|"*"}Parameters “NAME” = By entering
GM Command - Store GraphicsDescription Use this command to store PCX graphics files inmemory.SyntaxGM"NAME"p1¿“DATA”Parameters “NAME” = This
GM Command - Store GraphicsExample: First, create a text file “STOREIT.TXT” with anASCII text editor, as follows:¿GK“WORLD”¿GM"WORLD"2004¿Wh
I Command - Character Set SelectionDescription Use this command to select the appropriatecharacter set for printing and display (KDU).Syntax Ip1,p2,p3
JB Command - Disable Top Of Form BackupDescription This command disables the Top Of FormBackup feature when printing multiple labels.At power up, Top
Appendix F - Cutter Option Programming ...F-1Cutter Option Configurations ...F-2Cutter Models ...F-2C Command - Cu
LE Command - Line Draw ExclusiveDescription Use this command to draw lines with an “Exclu-sive OR” function. Any area, line, image or fieldthat this l
LO Command - Line Draw BlackDescription Use this command to draw black lines, overwrit-ing previous information.Syntax LOp1,p2,p3,p4Parameters p1= Hor
LS Command - Line Draw DiagonalDescription Use this command to draw diagonal black lines,overwriting previous information.Syntax LSp1,p2,p3,p4,p5Param
LW Command - Line Draw WhiteDescription Use this command to draw white lines, effec-tively erasing previous information.SyntaxLWp1,p2,p3,p4Parameters
M Command - Memory AllocationDescription Use this command to reformat (clear) the nonvola-tile memory used to store forms, graphics and softfonts.The
M Command - Memory AllocationSee Programming Considerations starting atpage 1-11 “Printer Memory Organization” formore information on printer memory.S
M Command - Memory AllocationSee Programming Considerations starting atpage 1-11 “Printer Memory Organization” formore information on printer memory.F
M Command - Memory AllocationAvailable memory and the current allocation of mem-ory can be displayed with the U command or anAutoSense procedure, see
N Command - Clear Image BufferDescription This command clears the image buffer prior tobuilding a new label image.Syntax NDo not use the N command wit
O Command - Options SelectDescription Use this command to select various printer op-tions. Options available vary by printer model.SyntaxO[C[p1], D, P
Appendix H - Programming Examples ...H-1Example 1 - Text and Line Graphics...H-2Example 2 - Text and Line Graphic Interactions ...H-4Exam
O Command - Options SelectOptions Command AvailabilityModels \ OptionsCDdPL SLP2122LP2142LP2242 ✔✔LP2622 ✔✔LP2642 ✔✔LP2722 ✔✔ ✔LP2742 ✔✔ ✔LP3742 ✔✔ ✔L
oM Command - Disable Initial Esc Sequence FeedDescription: This command disables the automatic label cal-ibration routine executed by the printer upon
P Command - PrintDescription Use this command to print the contents of theimage buffer.SyntaxPp1, [p2]Parameters p1= Number of label sets.Range=1to655
PA Command - Print AutomaticDescription Use this command in a stored form sequence toautomatically print the form (as soon as all vari-able data has b
Q Command - Set Form LengthDescription Use this command to set the form and gap lengthor black line thickness when using the transmissive(gap) sensor,
Q Command - Set Form LengthAutoSense routine does not detect black line orcontinuous media.All EPL2 printers have a transmissive (gap) sen-sor designe
Q Command - Set Form LengthExamples:2-46 980009-001 Rev.FCOMMAND REFERENCEp1p2p3p2Standard LabelButterfly LabelWhere:p = 20.0 mm (160 dots)p = 3.0mm (
Q Command - Set Form Length980009-001 Rev.F 2-47COMMAND REFERENCEp2p3Black Line Between PerforationWhere:p = 31.0 mm (248 dots)p = 7.0mm (56 dots)p =
q Command - Set Label WidthDescription Use this command to set the width of the print-able area of the media.Syntaxqp1Parameters p1= The width of the
q Command - Set Label WidthAll Printers(Exceptions - 2746, 2348, 2344, 2046 & P2222)This command will automatically set the left marginaccording t
viii 980009-001 Rev.F
R Command - Set Reference PointDescription Use this command to move the reference pointfor the X and Y axes. All horizontal and verticalmeasurements i
R Command - Set Reference PointExample ofX and Y PositioningExample ofLeft Aligned PrintingExample:↵Q609,24↵ : Sets label lengthZB↵ : Sets imagebuffer
S Command - Speed SelectDescription Use this command to select the print speed.SyntaxSp1Parameters p1= Speed select value.Model Value Speed21222142262
U Command - Print Configuration (General)Description Use this command to print the current printerconfiguration.SyntaxUThe one page printout produced
U Command - Print Configuration (General)Explanation Of Printout - SRAM PrintersNote: TLP2046 printers - The serial port and double buffer sta-tus are
U Command - Print Configuration (General)Explanation Of Printout - Flash Printers980009-001 Rev.F 2-55COMMAND REFERENCE4M03351F 16 V3.18Serial port:96
V Command - Define VariableDescription Use this command to define variable data forthe text and bar code data fields in stored forms.Variable data can
V Command - Define VariableUse this command in forms that require uniquedata on each label. When initializing variables:·They must be defined in order
V Command - Define VariableKDU Support: The following table outlines the V command’svariable data field option and printer supportfor the storage of d
X Command - Box DrawDescription Use this command to draw a box shape.Syntax Xp1,p2,p3,p4,p5Parametersp1= Horizontal start position (X) in dots.p2= Ver
PROGRAMMING CONSIDERATIONSThis section contains information about the ba-sic features, command syntax and terminologyof the Eltron Programming Languag
Y Command - Serial Port SetupDescription Use this command to establish the serial portcommunication parameters.SyntaxYp1,p2,p3,p4Parameters p1= Baud r
Y Command - Serial Port SetupPrinter Serial PortData Transfer RangesModelTransfer RateMaximum Minimum262219,200baud1,200 baud2642 (2242)364220462443 (
Z Command - Print DirectionDescription Use this command to select the print orienta-tion.SyntaxZp1Parameters p1= Print orientation.T = Printing from t
? Command - Download VariablesDescription This command signals the printer to “fill-in”variable or counter “prompt” data field.The host system can sen
2-64 980009-001 Rev.FCOMMAND REFERENCE
Appendix A - Standard Character SetsThis section contains a listing of all standardEPL2 fonts, code pages & character sets sup-ported by the EPL2
Fonts 1-5ASCII toHexadecimalReference TableA-2 980009-001 Rev.FAppendix A - Standard Character Sets0123456789ABCDEF0123456789ABCDEFHexidecimal - Most
Code Pages and Character Sets (8 bit)Code Page 437Sizes 1-4Code Page 850Sizes 1-4980009-001 Rev.F A-3Appendix A - Standard Character Sets
Code Pages and Character Sets (8 bit)Code Page 852Sizes 1-4Code Page 860Sizes 1-4A-4 980009-001 Rev.FAppendix A - Standard Character Sets
Code Pages and Character Sets (8 bit)Code Page 863Sizes 1-4Code Page 865Sizes 1-4980009-001 Rev.F A-5Appendix A - Standard Character Sets
Comments to this Manuals