Zebra EPL2 Spezifikationen

Stöbern Sie online oder laden Sie Spezifikationen nach Drucken & Scannen Zebra EPL2 herunter. Zebra EPL2 Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 248
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Programmer’s

Manual No. 980009-001 Rev. F©1999 Zebra Technologies CorporationEPL2Programmer’sManual

Seite 2 - REVISION HISTORY

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

Seite 3 - Table of Contents

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

Seite 4

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

Seite 5 - 980009-001 Rev.F v

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

Seite 6

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 -

Seite 7 - 980009-001 Rev.F vii

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 -

Seite 8

Code Pages and Character Sets (7 bit)ItalianSizes 1-4Size 5980009-001 Rev.F A-11Appendix A - Standard Character Sets

Seite 9

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

Seite 10 - 1-2 980009-001 Rev.F

Code Pages and Character Sets (7 bit)SwissSizes 1-4Size 5980009-001 Rev.F A-13Appendix A - Standard Character Sets

Seite 11 - 980009-001 Rev.F 1-3

Code Pages and Character Sets (7 bit)USASizes 1-4Size 5A-14 980009-001 Rev.FAppendix A - Standard Character Sets

Seite 12 - 1-4 980009-001 Rev.F

Appendix B - Optional & ExtendedCharacter SetsThis section contains information on printeroptional language character sets for EPL2 printers.Fixed

Seite 13 - 980009-001 Rev.F 1-5

Printer ControlCommandsPrinter control commands set the image (label)size, position of print area, speed, density (heatsetting), control and positioni

Seite 14

Fixed FirmwareOptional CharacterSet DifferencesThe EPL2 optional language character setreplace the EPL2 standard character set forcode page 850 (Latin

Seite 15 - 980009-001 Rev.F 1-7

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

Seite 16 - PROGRAMMING CONSIDERATIONS

B-4 980009-001 Rev.FAppendix B - Optional & Extended Character Sets

Seite 17 - WRITE TEXT

Appendix C - Asian CharacterPrinter ProgrammingThis section contains information unique to theAsian character printers.Asian Character SetsFonts8&

Seite 18

Only One (1) Asian language is supported by aprinter.Each Asian language (character set) is a separateprinter firmware version.Asian printers with fla

Seite 19 - 980009-001 Rev.F 1-11

A Command - ASCII TextDescription Prints a character string.Syntax Ap1,p2,p3,p4,p5,p6,p7,"DATA"Parameters p1= Horizontal start position (X)

Seite 20 - 1-12 980009-001 Rev.F

A Command - ASCII Textp6= Vertical multiplier, expandsprinted text vertically. Range:1-9.p7= N for normal or R for reverse image“DATA” = Represents a

Seite 21 - 980009-001 Rev.F 1-13

A Command - ASCII TextThe data field can be replaced by or combinedwith the following commands:Vnn =Prints the contents of variable “nn”atthis positio

Seite 22 - 1-14 980009-001 Rev.F

A Command - ASCII TextThe following table outlines the (A) commanddata field option of printer stored or supplieddata.ModelData Parameter Option Suppo

Seite 23 - 980009-001 Rev.F 1-15

A Command - ASCII TextThe English font (1-5) characters are dotmapped differently than the Asian font (8 & 9)characters. The Asian character does

Seite 24

Memory Control Memory control commands provide access tovolatile (temporary) and nonvolatile(permanent) memory in the printer. Volatilememory is for s

Seite 25 - 980009-001 Rev.F 1-17

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

Seite 26 - 1-18 980009-001 Rev.F

i Command - Asian Character SpacingDescription Places an adjustable inter-character space be-tween Asian font characters, fonts 8 and 9, only.Inter ch

Seite 27

C-10 980009-001 Rev.FAppendix C - Asian Character Printer Programming

Seite 28

Appendix D - Bar Code InformationThis section has answers to frequently askedquestions about bar coding in general.Frequently AskedQuestions AboutBar

Seite 29 - 980009-001 Rev.F 1-21

❏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

Seite 30 - 1-22 980009-001 Rev.F

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

Seite 31 - COMMAND REFERENCE

Digit are implied), but the UCC promotesprinting all eight digits.❏Check Digit - Required (modulus 10 calcu-lation)❏Encoded Information -·Number Syste

Seite 32 - 2-2 980009-001 Rev.F

and the Uniform Symbology Specifications forthis symbology were developed by AIM USA.The UCC recognizes this symbology for ship-ping container marking

Seite 33

❏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”

Seite 34

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

Seite 35

Printer memory is divided into three basicgroups: SRAM for image buffer generation,nonvolatile storage memory and firmware (in-ternal printer control

Seite 36

Code 128 is frequently used in industrial, retail,and shipping applications. This symbology wasinvented by Ted Williams and the Uniform Sym-bology Spe

Seite 37 - B Command - Bar Code

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

Seite 38

.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

Seite 39

UCC/EAN-128 Serial Shipping ContainerSymbolThe SSCC-18 is a popular format of theUCC/EAN-128 specification and is meaningfulonly when used in associat

Seite 40 - 2-10 980009-001 Rev.F

CodabarCodabar is a bar code symbology used often inlibraries, blood banks, and preprinted airwaybills. The Codabar specification was inventedby Monar

Seite 41 - C Command - Counter

Q. What are Two Dimensional (2D) BarCodes?A. Two Dimensional bar code symbologieshave high data densities and typically includeerror correction. Typic

Seite 42

Q. What is MaxiCode?MaxiCode is a two-dimensional symbology thatcan encode approximately 100 characters ofdata in a single one square inch symbol and

Seite 43

b Command - 2D Bar Code - OverviewDescription This command will direct a printer equippedwith the 2D feature to print a bar code using a 2dimensional

Seite 44 - D Command - Density

b Command - 2D Bar Code - MaxiCode Specific OptionsDescription Use this commmand to generate MaxiCode barcode symbols with a single command. Theprinte

Seite 45 - 980009-001 Rev.F 2-15

b Command - 2D Bar Code - MaxiCode Specific Optionsp5= x,yAssociated MaxiCode symbol numberingwhere:x = Symbol Number ofy = Total Number of Associated

Seite 46 - ES Command - Store Soft Fonts

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

Seite 47 - FE Command - End Form Store

b Command - 2D Bar Code - MaxiCode Specific OptionsExample:N¿b20,20,M,"300,840,93065,1692,This is MaxiCode, but not MaxiCodeformatted data"¿

Seite 48 - 2-18 980009-001 Rev.F

Using AIM SpecifiedMaxiCode DataFormattingThe EPL2 printer can use and automatically de-code the AIM ITS (International Technical Stan-dards) MaxiCode

Seite 49 - FK Command - Delete Form

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

Seite 50 - FR Command - Retrieve Form

b Command - 2D Bar Code - PDF417 Specific OptionsThe following parameters may be omitted and de-fault values will automatically be inserted. Each pa-r

Seite 51 - FS Command - Store Form

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

Seite 52

b Command - 2D Bar Code - PDF417 Specific Options"DATA" = ASCII data or Binary data bytesRepresents a fixed data field.The backslash (\) cha

Seite 53 - GG Command - Print Graphics

b Command - 2D Bar Code - PDF417 Specific OptionsPDF417Symbol GeometryColumns Maximum Rows Codewords590906 90 1807 90 2708 90 3609 90 45010 90 54011 9

Seite 54 - 2-24 980009-001 Rev.F

b Command - 2D Bar Code - PDF417 Specific OptionsAutomatic PDF 417Bar Code GenerationThe printer automatically tests and changes thePDF 417 bar code g

Seite 55 - GK Command - Delete Graphics

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

Seite 56 - GM Command - Store Graphics

oH Command - Macro PDF OffsetDescription Use this command to place addition secondary,associated Macro PDF symbols for the continu-ation of data great

Seite 57

Status Reporting Status reporting commands provide the userand programmer with printer operationalstatus, memory usage, and listings of forms andgraph

Seite 58 - 2-28 980009-001 Rev.F

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

Seite 59 - 980009-001 Rev.F 2-29

Appendix E - Real Time Clock OptionProgrammingThis section applies to printers with the RTC(Real Time Clock) option installed.RTC OptionConfigurations

Seite 60

RTC Commands The following commands can use and controlthe RTC option features:·TS - Set Time & Date·TT - Define Time Layout as a command orInsert

Seite 61 - LO Command - Line Draw Black

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

Seite 62 - 2-32 980009-001 Rev.F

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

Seite 63 - LW Command - Line Draw White

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 &

Seite 64 - M Command - Memory Allocation

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

Seite 65

TT Command - Define Time LayoutDescription Use this command to define the time formatwhen printing.Syntax TTp1[|p2|p3][+]Parameters P1, P2, P3= h, m,

Seite 66

E-8 980009-001 Rev.FAppendix E - Real Time Clock Option Programming

Seite 67

Appendix F - Cutter Option ProgrammingThis section applies to printers with the Cutteroption installed.980009-001 Rev.F F-1Appendix F - Cutter Option

Seite 68 - Syntax N

CommandConventionsThe manual uses the following typographicconventions to describe commands.Example DescriptionA Commands (Case Sensitive)p1,p2,p3Requ

Seite 69

Cutter OptionConfigurationsSupport for the Cutter option varies fromprinter model to model. Model variations are,as follows:❏Desktop printersMost desk

Seite 70

C Command - Cut ImmediateDescription: This command allows the advanced program-mer to initiate an immediate media cut withouta form print operation. T

Seite 71 - 980009-001 Rev.F 2-41

f Command - Cut PositionDescription Use this command on an individual printer toprovide precision cut placement.·Compensate sensor to cutter position

Seite 72 - P Command - Print

OC Command - Cutter Option SelectDescription This sub-command is used to enable the cutteroption feature when installed. Thissub-command set of the O

Seite 73 - PA Command - Print Automatic

OC Command - Cutter Option SelectExamples: O :disables all options.OC :enables cutter only, labels are cut after each:label is printed, disables all o

Seite 74 - Q Command - Set Form Length

Appendix G - Advanced ProgrammingThis section applies to commands and proce-dures that use atypical media, various printeroptions and unique operating

Seite 75

AUTOFR - Automatic Form Printing FeatureDescription: This special form process allows you to detachthe printer from the computer and print in astandal

Seite 76 - Butterfly Label

AUTOFR - Automatic Form Printing FeatureAUTOFR treats any incoming data as a variable in-tended for printing. This means if you send theprinter a memo

Seite 77 - Black Line On Perforation

A Command – Simple Expresssions in Data FieldsDescription: The advanced function of the A command al-lows addition and subtraction to be performedon c

Seite 78 - Center Alignment

A Command – Simple Expresssions in Data FieldsExample:¿FK"1"¿FK"1"¿FS"1"¿V00,10,N,"Enter current mileage"¿A100

Seite 79

Basic CommandSyntaxEach command consists of one or two ASCII(case sensitive) alpha characters to identify thespecific command desired. Some commandsre

Seite 80

dump Command - Enable Dump ModeDescription: This command allows the advanced program-mer to force a user diagnostic “data dump”mode. Sending the dump

Seite 81 - Direction

eR Command - User Defined Error/Status CharacterDescription: This command allows the advanced program-mer to specify the printer's error/status r

Seite 82 - S Command - Speed Select

O Command - Options SelectDescription Use this command to select various printer op-tions. Options available vary by printer model.SyntaxO[C[p1], D, d

Seite 83 - 980009-001 Rev.F 2-53

o Command - Cancel Customized SettingsDescription: This command allows the user to cancel allprinter customization parameters set by o seriescommands.

Seite 84

oB Command - Cancel Auto Bar Code OptimizationDescription: This command allows the advanced program-mer to disable bar code optimization for rotated(9

Seite 85

oR Command - Character Substitution (Euro)Description: This command allows the advanced program-mer to substitute the Euro currency character forany A

Seite 86 - V Command - Define Variable

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

Seite 87

oW Command - Customize Bar Code ParametersDescription: This command allows the advanced program-mer to modify specific bar code parameters toexceed th

Seite 88

oW Command - Customize Bar Code ParametersReset the printer with a ^@ or o commandswith flash firmware printers or cycle printerpower to clear the oW

Seite 89 - X Command - Box Draw

p Command - Reset Top of Form SensingDescription: This command allows the advanced program-mer to reset the default parameters for top ofform sensing.

Seite 90 - Y Command - Serial Port Setup

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

Seite 91

r Command - Buffer ModeDescription: Use this command to disable or reenable thedouble buffer image (label) printing. The dou-ble buffer feature is a a

Seite 92 - Z Command - Print Direction

U Commands - Advanced Status CommandsDescription These commands allow the advanced program-mer to request and control specific printer statuscondition

Seite 93 - 980009-001 Rev.F 2-63

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

Seite 94

UB Command - Reset Label Counter ModeDescription Use this command to clear the UA commandand restore the default setting to allow theprinter to resume

Seite 95 - 980009-001 Rev.F A-1

UE Command - External Font Information InquiryDescription This command will cause the printer to send in-formation about external fonts currently stor

Seite 96

UF Command - Form Information InquiryDescription This command will cause the printer to send in-formation about forms currently stored in theprinter b

Seite 97 - 980009-001 Rev.F A-3

UG Command - Graphics Information InquiryDescription This command will cause the printer to send in-formation about graphics currently stored in thepr

Seite 98 - A-4 980009-001 Rev.F

UI Command - Host Prompts/Codepage InquiryDescription This command will cause the printer to enableprompts to be sent to the host and it will sendthe

Seite 99 - 980009-001 Rev.F A-5

UM Command - Codepage & Memory InquiryDescriptionThis command will cause the printer to send tothe host of the currently selected codepageand memo

Seite 100 - A-6 980009-001 Rev.F

UN Command - Disable Error ReportingDescription Cancels US commandSyntaxUN980009-001 Rev.F G-25Appendix G - Advanced Programming

Seite 101 - 980009-001 Rev.F A-7

Printer MemoryOrganizationThe EPL2 printers feature nonvolatile memoryfor storage of label forms, graphics and softfonts. This memory can be located i

Seite 102 - A-8 980009-001 Rev.F

UP Command - Codepage & Memory Inquiry/PrintDescriptionThis command will cause the printer to printand send the currently selected codepage andmem

Seite 103 - 980009-001 Rev.F A-9

UQ Command - Configuration InquiryDescription Use this command to send the printer configu-ration information back to the host via the serialport.Synt

Seite 104 - A-10 980009-001 Rev.F

US Command - Enable Error ReportingDescription Use this command to enable the printer’s statusreporting feature.·Serial Port - If an error occurs, the

Seite 105 - Sizes 1-4

US Command - Enable Error ReportingCode Error/Status Description00 No Error01 Syntax Error02 Object Exceeded Label Border03Bar Code Data Length Error(

Seite 106 - A-12 980009-001 Rev.F

W Command - Windows ModeDescription This command is used to disable/re-enable theWindows command mode.SyntaxWp1Parameters p1= Windows Mode Enabled.Val

Seite 107

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

Seite 108

^ee Command - Error Report - ImmediateDescription: Use this command to get printer error and statusreport immediately. The ^ee command mustbe sent via

Seite 109 - Character Sets

^@ Command - Reset PrinterDescription This command is used to reset the printer.Syntax^@¿ :where ^is 94 decimalThis command emulates Power Off and the

Seite 110

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

Seite 111 - 980009-001 Rev.E

EK Command - Delete Soft FontDescription This command is used to delete soft fonts frommemory.Soft fonts can be downloaded to and deleted fromthe prin

Seite 112 - B-4 980009-001 Rev.F

FOREWORDThis manual provides programming information for the Eltron brand printers, featuring Zebra’sEltron Programming Language (EPL2) command langua

Seite 113 - Printer Programming

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

Seite 114

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

Seite 115 - A Command - ASCII Text

ES Command - Store Soft Fonta1:(1st) Download Character (map position)Range: 00 to FF hex.b1:(1st) Spacing To Next Print CharacterDownloaded character

Seite 116

ES Command - Store Soft FontFor fonts with the rotation parameter setfor “both” (p2= 02 hex.):Repeat the individual font character downloadfor each 90

Seite 117

ES Command - Store Soft FontSoft FontsProgramming CodeExampleThe typical soft font download commandstrings to the printer. The following examplewas ge

Seite 118

ES Command - Store Soft FontFont Bitmap DataFormatThe black and white bitmap that represents thefont must be converted into ASCII hexadecimalcode. The

Seite 119

Appendix H - Programming ExamplesThis section has examples that outline the basicsteps needed to program various form/label ele-ments. The examples co

Seite 120

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

Seite 121 - 1 Character 1 Character

ProgrammingBreakdown:ProgrammingDescription¿OD¿N¿Initialize printerSet option for direct thermal printingClear the image bufferSet Printer Control Par

Seite 122 - C-10 980009-001 Rev.F

Example 2 - Text andLine GraphicInteractionsThis label demonstrates text and line graphic in-teraction. The print mode has been reset to thedefault “t

Seite 123 - 980009-001 Rev.F D-1

ProgrammingBreakdown:Programming Description¿O¿N¿Initialize PrinterResets print method to thermal transferClear the image bufferSet Printer Control Pa

Seite 124 - D-2 980009-001 Rev.F

Image BufferAddressingThe printer allocates image buffer memory us-ing the stored values for length and width. Thedefault length of the image buffer i

Seite 125 - 980009-001 Rev.F D-3

Example3-BarCode VariablesThis label demonstrates bar code implementa-tions using Code 39 (with automatic extendedcharacter set).Example 3:¿OD¿N¿D7¿S2

Seite 126 - 980009-001 Rev.F

ProgrammingDescription:Programming Description¿OD¿N¿Initialize printerSet direct thermal modeClear the image bufferSet Printer Control Parameters and

Seite 127 - 980009-001 Rev.F D-5

Example4-BarCode and LineGraphics InteractionThis label demonstrates bar code and linegraphic interaction.Example 4:¿O¿N¿D5¿S1¿Q609,24¿q784¿LO50,20,50

Seite 128

ProgrammingBreakdown:Programming Description¿O¿N¿Initialize printerReset printer defaults - set thermal transfer modeClear the image bufferSet Printer

Seite 129 - 980009-001 Rev.F D-7

Example 5 -Sequencing GraphicElementsThe order that graphic elements get placed inthe image (buffer) effect the print results.·Standard black graphics

Seite 130 - D-8 980009-001 Rev.F

Using the LE line element for creating Reversed Textis the most versatile and recommend) method ofgenerating this type of text.ProgrammingBreakdown:Pr

Seite 131 - 980009-001 Rev.F D-9

Example 6 - Stepsfor Downloading aPCX GraphicUse the following steps for downloading a PCXgraphic file to a printer with a flash (nonvolatile)memory c

Seite 132 - D-10 980009-001 Rev.F

Step 3 Generate an program (ASCII text) file for eachPCX graphic file to be downloaded.Example:GK"WORLD"¿GM"WORLD"4398¿Save the fi

Seite 133 - 980009-001 Rev.F D-11

Example 7 - PrintingA PCX GraphicThis example demonstrates printing a label witha graphic, immediately, by importing apreloaded PCX graphic from memor

Seite 134 - D-12 980009-001 Rev.F

ProgrammingBreakdown:Programming Description¿OD¿N¿Initialize the printerSet direct thermal modeClear the image bufferSet Printer Control Parameters an

Seite 135 - 980009-001 Rev.F D-13

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

Seite 136 - D-14 980009-001 Rev.F

Example 8 - PrintingImmediately: PuttingIt All TogetherThis example demonstrates printing a completelabel with text, bar code, and graphic elements.Th

Seite 137 - 980009-001 Rev.F D-15

ProgrammingBreakdown:Programming Description¿OD¿N¿Initialize printerSet direct thermal modeClear the image bufferSet Printer Control Parameters and Op

Seite 138

Example 9 -Creating A FormThis example demonstrates form creation anddownloading to printer’s nonvolatile memory.The form has simple text, bar code, a

Seite 139 - 980009-001 Rev.F D-17

ProgrammingBreakdown:Programming DescriptionFK”EXAM-09”¿FS”EXAM-09”¿Queue form to save to memory.Start form store sequence.Set Printer Control Paramet

Seite 140 - Will Produce:

Example 10 - Stepsfor Downloading aFormUse the following steps for downloading a Formfile to printer memory with DOS operating sys-tem commands. This

Seite 141

Example 11 -Creating a Formwith Basic VariablesThis example demonstrates variable data fields.The variable data fields must be loaded imme-diately fol

Seite 142

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

Seite 143 - 980009-001 Rev.F D-21

Example 12 -Printing Forms withVariablesThis example demonstrates access and controlof individual forms by programming. The ?(Download Variables) comm

Seite 144 - D-22 980009-001 Rev.F

ProgrammingBreakdown:Programming Description¿Initialize printerOD¿Set direct thermal print modeDo not place an O command inside forms.FR”EXAM-11”¿Reca

Seite 145 - 980009-001 Rev.F D-23

Example 13 -Variable JustificationThis example demonstrates the variable datajustification setting (p2=L,R,C and N)forprinting of the data field (p3=

Seite 146 - Symbol Geometry

A small amount of SRAM memory is used to op-erate and temporarily store variables (counters,text variables, control parameters, etc.) neededto print.

Seite 147 - 980009-001 Rev.F D-25

Will Produce:H-26 980009-001 Rev.FAppendix H - Programming Examples

Seite 148

Example 14 -Creating a Form withBasic CountersThis example demonstrates counter data fields.The counter data fields must be loaded immedi-ately follow

Seite 149 - 980009-001 Rev.F D-27

Will Produce:H-28 980009-001 Rev.FAppendix H - Programming Examples

Seite 150

ProgrammingBreakdown:Programming DescriptionFK”EXAM-14”¿FS”EXAM-14”¿Queue form to save to printer memory.Start form store sequence.Set Counters (0-9)C

Seite 151 - Programming

Example 15 -Numeric Countingand PrintingThis example demonstrates variation of count-ing with the printer counter variables. The ex-amples show number

Seite 152

Will Produce:980009-001 Rev.F H-31Appendix H - Programming ExamplesStart Label Group#1Start Label Group#2

Seite 153 - 980009-001 Rev.F E-3

Example 16 -Counter JustificationThis example demonstrates the counter justifi-cation setting (p2=L,R,C and N) for printingof the counter data field (

Seite 154 - B Command - Bar Code with RTC

02¿03¿04¿05¿06¿07¿08¿P1,1¿Will Produce:980009-001 Rev.F H-33Appendix H - Programming Examples

Seite 155 - 980009-001 Rev.F E-5

Example 17 -Printing with Forms:Putting It AllTogetherThis example demonstrates creating and recall-ing for use, a form and printing a complete labels

Seite 156 - : and the time to 3:31 p.m

Will Produce:980009-001 Rev.F H-35Appendix H - Programming ExamplesPCX graphic rotated byexternal graphics editingsoftware and downloadedas WORLDRText

Seite 157 - 980009-001 Rev.F E-7

Double Buffering EPL2 printers with firmware version 3.0 andhigher (except TLP2046) support double buff-ering of print images to increase through-put.

Seite 158 - E-8 980009-001 Rev.F

Example 18 - Using aKDU TerminalThe Keyboard Display Unit (KDU) is a terminalunit that interfaces with a printer in astand-alone capacity.The KDU has

Seite 159 - 980009-001 Rev.F F-1

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

Seite 160 - F-2 980009-001 Rev.F

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

Seite 161 - C Command - Cut Immediate

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

Seite 162

H-40 980009-001 Rev.FAppendix H - Programming Examples

Seite 163 - 980009-001 Rev.E F-5

Appendix J - Interface ConnectionThis section has the interface connection dia-grams for Serial and Parallel ports for EPL2printers.980009-001 Rev.F J

Seite 164

Serial InterfaceCable ConnectionsJ-2 980009-001 Rev.FAppendix J - Interface ConnectionN/CRxDTxDDTRGNDDSRRTSRICTSPrinterHost112233445566778899DB-9Pin #

Seite 165 - 980009-001 Rev.F G-1

P2242 SerialInterface CableConnections980009-001 Rev.F J-3Appendix J - Interface ConnectionN/CRxDTxDDTRGNDDSRRTSRICTSPrinterHost115263243546789DB-9Pin

Seite 166

Parallel InterfaceCable ConnectionsThe +5 volt at pin 18 of the printer's parallel portprovides power to Eltron PrintServers; a 10base-TEthernet

Seite 167 - 980009-001 Rev.F G-3

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

Seite 168 - G-4 980009-001 Rev.F

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

Seite 169

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

Seite 170

Bar Codes All bar codes supported by the EPL2 languagehave associated industry specifications that theprogrammer should be aware of and adhere to.The

Seite 171 - 980009-001 Rev.F G-7

ProgrammingSequences AffectGraphic ResultsGraphic elements can interact and the resultantimage can be affected by other commands.Structure command seq

Seite 172 - O Command - Options Select

Table of ContentsPROGRAMMING CONSIDERATIONS ...1-1Features ...1-1Command Functions ...1-2Image Control Command

Seite 173 - 980009-001 Rev.F G-9

Determining PrinterFirmware VersionThe printer version numbers are a code used todocument product function and the featuresupport level of the printer

Seite 174

COMMAND REFERENCEThis section contains a complete listing ofprinter commands in alphabetical order and de-scribes the basic commands.980009-001 Rev.F

Seite 175 - 980009-001 Rev.F G-11

EPL2 Command Set The command language controls most printerfunctions. Printer model differences have re-quired minor functional differences to individ

Seite 176

CommandDescriptionALLSpecificNotSupportedPageoH Macro PDF Offset ✔ D-27oM Disable Initial Esc Sequence Feed ✔ 2-41oW Customize Bar Code Parameters ✔ G

Seite 177 - 980009-001 Rev.F G-13

A Command - ASCII TextDescription Prints an ASCII text stringSyntax Ap1,p2,p3,p4,p5,p6,p7,"DATA"Parameters p1= Horizontal start position (X)

Seite 178

A Command - ASCII TextThe backslash (\) character designates thefollowing character is a literal and will encodeinto the data field. Refer to the foll

Seite 179 - 980009-001 Rev.F G-15

A Command - ASCII TextThe data field can be replaced by or combinedwith the following commands:Vnn= Prints the contents of variable “nn”atthis positio

Seite 180

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

Seite 181

B Command - Bar Code2-8 980009-001 Rev.FCOMMAND REFERENCEDescriptionP4ValueP5ValueCode 39 std. or extended3 1-10Code 39 with check digit3C 1-10Code 93

Seite 182

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

Seite 183 - 980009-001 Rev.F G-19

GI Command - Print Graphics Information ...2-24GK Command - Delete Graphics ...2-25GM Command - Store Graphics...2-26I Command - Char

Seite 184

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

Seite 185 - 980009-001 Rev.F G-21

C Command - CounterDescription The command defines one of 10 automaticcounters used in consecutive numberingapplications (i.e. serial numbers).For Num

Seite 186

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

Seite 187 - 980009-001 Rev.F G-23

C Command - CounterSaving andProtectingConsecutiveNumbers inNonvolatile MemoryThis feature is useful when the counter field rep-resents a serial numbe

Seite 188

D Command - DensityDescription Use this command to select the print density.Syntax Dp1Parameters p1= Density setting. Acceptable values are:Model Acce

Seite 189 - 980009-001 Rev.F G-25

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

Seite 190

EK Command - Delete Soft FontSee Appendix GES Command - Store Soft FontsSee Appendix G2-16 980009-001 Rev.FCOMMAND REFERENCE

Seite 191 - 980009-001 Rev.F G-27

FE Command - End Form StoreDescription This command is used to end a form store se-quence.Syntax FEExample:FS"FORMNAME"↵...FE↵The form store

Seite 192 - Error codes on following page

FI Command - Print Form InformationDescription This command will cause the printer to print alist of all forms stored in memory.Syntax FIExample:FI↵ :

Seite 193 - 980009-001 Rev.F G-29

FK Command - Delete FormDescription This command is used to delete forms frommemory.Syntax FK {“FORMNAME”|"*"}Parameters “FORMNAME” = By ent

Seite 194 - W Command - Windows Mode

French ...A-10German ...A-10Italian ...A-11Spanish ...A-

Seite 195 - 980009-001 Rev.F G-31

FR Command - Retrieve FormDescription Use this command to retrieve a form that waspreviously stored in memory.Syntax FR"FORMNAME"Parameters

Seite 196 - G-32 980009-001 Rev.F

FS Command - Store FormDescription This command begins a form store sequence.Syntax FS"FORMNAME"Parameters “FORMNAME” =This is the form name

Seite 197 - ^@ Command - Reset Printer

FS Command - Store FormExample:¿FK"TESTFORM"¿ :delete form “TESTFORM”FS"TESTFORM"¿ :begins the form store sequence of:the form “TE

Seite 198

GG Command - Print GraphicsDescription Use this command to print a PCX (format)graphic that has been previously stored inprinter memory.Syntax GGp1,p2

Seite 199 - EK Command - Delete Soft Font

GI Command - Print Graphics InformationDescription This command will cause the printer to print alist of all graphics stored in memory.Syntax GIExampl

Seite 200 - ES Command - Store Soft Font

GK Command - Delete GraphicsDescription Use this command to delete graphics frommemory.Syntax GK {“NAME”|"*"}Parameters “NAME” = By entering

Seite 201

GM Command - Store GraphicsDescription Use this command to store PCX graphics files inmemory.SyntaxGM"NAME"p1¿“DATA”Parameters “NAME” = This

Seite 202

GM Command - Store GraphicsExample: First, create a text file “STOREIT.TXT” with anASCII text editor, as follows:¿GK“WORLD”¿GM"WORLD"2004¿Wh

Seite 203

I Command - Character Set SelectionDescription Use this command to select the appropriatecharacter set for printing and display (KDU).Syntax Ip1,p2,p3

Seite 204

JB Command - Disable Top Of Form BackupDescription This command disables the Top Of FormBackup feature when printing multiple labels.At power up, Top

Seite 205 - 980009-001 Rev.F H-1

Appendix F - Cutter Option Programming ...F-1Cutter Option Configurations ...F-2Cutter Models ...F-2C Command - Cu

Seite 206

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

Seite 207 - Breakdown:

LO Command - Line Draw BlackDescription Use this command to draw black lines, overwrit-ing previous information.Syntax LOp1,p2,p3,p4Parameters p1= Hor

Seite 208

LS Command - Line Draw DiagonalDescription Use this command to draw diagonal black lines,overwriting previous information.Syntax LSp1,p2,p3,p4,p5Param

Seite 209

LW Command - Line Draw WhiteDescription Use this command to draw white lines, effec-tively erasing previous information.SyntaxLWp1,p2,p3,p4Parameters

Seite 210

M Command - Memory AllocationDescription Use this command to reformat (clear) the nonvola-tile memory used to store forms, graphics and softfonts.The

Seite 211 - Description:

M Command - Memory AllocationSee Programming Considerations starting atpage 1-11 “Printer Memory Organization” formore information on printer memory.S

Seite 212

M Command - Memory AllocationSee Programming Considerations starting atpage 1-11 “Printer Memory Organization” formore information on printer memory.F

Seite 213

M Command - Memory AllocationAvailable memory and the current allocation of mem-ory can be displayed with the U command or anAutoSense procedure, see

Seite 214

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

Seite 215

O Command - Options SelectDescription Use this command to select various printer op-tions. Options available vary by printer model.SyntaxO[C[p1], D, P

Seite 216 - Record file size as: 1837

Appendix H - Programming Examples ...H-1Example 1 - Text and Line Graphics...H-2Example 2 - Text and Line Graphic Interactions ...H-4Exam

Seite 217 - STOREIT1.TXT

O Command - Options SelectOptions Command AvailabilityModels \ OptionsCDdPL SLP2122LP2142LP2242 ✔✔LP2622 ✔✔LP2642 ✔✔LP2722 ✔✔ ✔LP2742 ✔✔ ✔LP3742 ✔✔ ✔L

Seite 218

oM Command - Disable Initial Esc Sequence FeedDescription: This command disables the automatic label cal-ibration routine executed by the printer upon

Seite 219

P Command - PrintDescription Use this command to print the contents of theimage buffer.SyntaxPp1, [p2]Parameters p1= Number of label sets.Range=1to655

Seite 220

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

Seite 221

Q Command - Set Form LengthDescription Use this command to set the form and gap lengthor black line thickness when using the transmissive(gap) sensor,

Seite 222

Q Command - Set Form LengthAutoSense routine does not detect black line orcontinuous media.All EPL2 printers have a transmissive (gap) sen-sor designe

Seite 223

Q Command - Set Form LengthExamples:2-46 980009-001 Rev.FCOMMAND REFERENCEp1p2p3p2Standard LabelButterfly LabelWhere:p = 20.0 mm (160 dots)p = 3.0mm (

Seite 224 - H-20 980009-001 Rev.F

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 =

Seite 225 - 980009-001 Rev.F H-21

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

Seite 226

q Command - Set Label WidthAll Printers(Exceptions - 2746, 2348, 2344, 2046 & P2222)This command will automatically set the left marginaccording t

Seite 228

R Command - Set Reference PointDescription Use this command to move the reference pointfor the X and Y axes. All horizontal and verticalmeasurements i

Seite 229 - 980009-001 Rev.F H-25

R Command - Set Reference PointExample ofX and Y PositioningExample ofLeft Aligned PrintingExample:↵Q609,24↵ : Sets label lengthZB↵ : Sets imagebuffer

Seite 230

S Command - Speed SelectDescription Use this command to select the print speed.SyntaxSp1Parameters p1= Speed select value.Model Value Speed21222142262

Seite 231 - 980009-001 Rev.F H-27

U Command - Print Configuration (General)Description Use this command to print the current printerconfiguration.SyntaxUThe one page printout produced

Seite 232

U Command - Print Configuration (General)Explanation Of Printout - SRAM PrintersNote: TLP2046 printers - The serial port and double buffer sta-tus are

Seite 233

U Command - Print Configuration (General)Explanation Of Printout - Flash Printers980009-001 Rev.F 2-55COMMAND REFERENCE4M03351F 16 V3.18Serial port:96

Seite 234

V Command - Define VariableDescription Use this command to define variable data forthe text and bar code data fields in stored forms.Variable data can

Seite 235

V Command - Define VariableUse this command in forms that require uniquedata on each label. When initializing variables:·They must be defined in order

Seite 236

V Command - Define VariableKDU Support: The following table outlines the V command’svariable data field option and printer supportfor the storage of d

Seite 237

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

Seite 238

PROGRAMMING CONSIDERATIONSThis section contains information about the ba-sic features, command syntax and terminologyof the Eltron Programming Languag

Seite 239

Y Command - Serial Port SetupDescription Use this command to establish the serial portcommunication parameters.SyntaxYp1,p2,p3,p4Parameters p1= Baud r

Seite 240 - H-36 980009-001 Rev.F

Y Command - Serial Port SetupPrinter Serial PortData Transfer RangesModelTransfer RateMaximum Minimum262219,200baud1,200 baud2642 (2242)364220462443 (

Seite 241 - 980009-001 Rev.F H-37

Z Command - Print DirectionDescription Use this command to select the print orienta-tion.SyntaxZp1Parameters p1= Print orientation.T = Printing from t

Seite 242 - H-38 980009-001 Rev.F

? Command - Download VariablesDescription This command signals the printer to “fill-in”variable or counter “prompt” data field.The host system can sen

Seite 243 - 980009-001 Rev.F H-39

2-64 980009-001 Rev.FCOMMAND REFERENCE

Seite 244 - H-40 980009-001 Rev.F

Appendix A - Standard Character SetsThis section contains a listing of all standardEPL2 fonts, code pages & character sets sup-ported by the EPL2

Seite 245 - 980009-001 Rev.F J-1

Fonts 1-5ASCII toHexadecimalReference TableA-2 980009-001 Rev.FAppendix A - Standard Character Sets0123456789ABCDEF0123456789ABCDEFHexidecimal - Most

Seite 246 - PrinterHost

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

Seite 247

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

Seite 248 - FemaleDB-25toMaleCentronics

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

Kommentare zu diesen Handbüchern

Keine Kommentare