Zebra EPL2 Specifikace

Procházejte online nebo si stáhněte Specifikace pro Tisk a skenování Zebra EPL2. Zebra EPL2 Specifications Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 138
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - Programmer’s

Manual No. 980352-001 Rev. A©2001 Zebra Technologies CorporationEPL2Programmer’sManualProgramming for Page ModePrinting

Strany 2 - REVISION HISTORY

Placing Elements inthe Print ImageImage elements are located in the image printbuffer on a X-Y grid expressed in dots. The Xvalue represents the width

Strany 3 - Table of Contents

Q Command - Set Form LengthExamples:3-82980352-001 Rev.Ap1p2p3p2Standard LabelButterfly LabelWhere:p = 20.0 mm (160 dots)p = 3.0mm (24 dots)The Q comm

Strany 4

Q Command - Set Form Length980352-001 Rev.A3-83p2p3Black Line Between PerforationWhere:p = 31.0 mm (248 dots)p = 7.0mm (56 dots)p = 17 mm (136 dots)Th

Strany 5

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

Strany 6

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

Strany 7 - Introduction

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

Strany 8 - Conventions

TD Command - Define Date LayoutDescription Use this command to define the date formatwhen printing.UsethevariableTDinaText orBarCode(A&Bcommands)

Strany 9 - WRITE TEXT

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

Strany 10 - 980352-001 Rev.A

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

Strany 11

U Command - Print Configuration (General)Description Use this command to print the current printerconfiguration for page mode printing. Theprintout is

Strany 12 - 2times 2times

UA Command - Enable Clear Label Counter ModeDescription This command sets the printer to clear (empty)the print buffer if a media out condition is de-

Strany 13 - Orientation

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

Strany 14

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

Strany 15 - Printer Configuration

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

Strany 16 - Dump Mode Print Sample

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

Strany 17

UG Command - Graphics Information InquiryDescription This command will cause the printer to send in-formationaboutgraphicscurrentlystoredintheprinter

Strany 18

UI Command - Host Prompts/Codepage InquiryDescription This command will cause the printer to enablepromptstobesenttothehostanditwillsendthecurrentlyse

Strany 19 - Command Reference

UM Command - Codepage & Memory InquiryDescriptionThiscommandwillcausetheprintertosend tothe host of the currently selected codepageand memory stat

Strany 20

UN Command - Disable Error ReportingDescription Cancels US commandSyntaxUN3-98980352-001 Rev.A

Strany 21

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

Strany 22 - A Command - ASCII Text

UQ Command - Configuration InquiryDescription Use this command to send the printer configu-rationinformationbacktothehost viatheserialport.Syntax UQTh

Strany 23

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

Strany 24

Thetextis placedintotheimagebuffer.Seethefollowing example.The reference point of the first character in a textstringisnotaffectedbythefontsizemultipl

Strany 25 - A Command - ASCII TEXT

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

Strany 26

V Command - Define VariableDescription Use this command to define variable data forthetextandbarcodedatafieldsinstoredforms.Variable data can be combi

Strany 27

V Command - Define VariableUse this command in forms that require uniquedataoneachlabel.Wheninitializingvariables:·They must be defined in order (e.g.

Strany 28

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

Strany 29 - B Command - Bar Code

xa Command - AutoSenseDescription Thiscommandisusedtohavetheprinterdetectthe label and gap length and set the sensor lev-els.This commandwillnotenter

Strany 30

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=Verti

Strany 31

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

Strany 32

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

Strany 33

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

Strany 34

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

Strany 35

Bar Codes All bar codes supported by the EPL2 languagehave associated industry specifications that theprogrammershould be awareof andadhere to.The pro

Strany 36 - Will Produce:

^ee Command - Error Report - ImmediateDescription: Usethiscommandtogetprintererrorandstatusreport immediately. The ^ee command mustbe sent via the RS-

Strany 37

Appendix A - Character ReferencesThis section has character references.Resident Fonts 1-5 PageModesupports5differentfontsizes,num-bered 1-5. Each font

Strany 38

Default Character MapCode Page - 437See the I command to for more information onselecting available code pages, page 3-53.A-2980352-001 Rev.A

Strany 39

Dump ModeCharacter MapThe printer's Dump Mode is used to trouble-shoot programming. The printer will print alldata as sent in Dump Mode Character

Strany 40

A-4980352-001 Rev.A

Strany 41

Appendix B - Cash Drawer Kicker OptionThis section has hardware and programmingfor the Cash Drawer Kicker.Introduction The cash drawer kicker is a fac

Strany 42 - Symbol Geometry

Cash Drawer CableWiringThe figure below displays the pin assignmentsfortheprinter'sretailcashdrawerinterface. Re-fertothecashdrawmanufacturer&apo

Strany 43

<Esc>p Command - Generate Pulse CDKDescription Generate a drawer kicker pulse.Syntax <Esc>pp1p2p3Parameters p1=Select DrawerDrawer 1 (SDRV

Strany 44

<Esc>u Command - CDK StatusDescription Report the cash drawer kicker’s status.Syntax <Esc>uParameters NoneStatus00 hex. = Cash Drawer Open

Strany 45 - C Command - Counter

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

Strany 46

Printer ConfigurationThis section covers the interpret your printer'sconfiguration setup and setting basic modes.Printer AutoSenseFeatureUse the

Strany 47 - C Command - Cut Immediate

Explanation of the Status PrintoutDetermining PrinterFirmware VersionThe printer version numbers are a code used todocument product function and the f

Strany 48 - D Command - Density

Programming ModeConfigurationFlash based printers are, by default, configuredfor Page (EPL2) mode operations. The opera-tor must convert the printer t

Strany 49

Media Detection Media detection in EPL2 printers is a combina-tionofprogrammingandprintermediasensing.TheQ (Set FormLength) andO (Option) com-mands pr

Strany 50

Command ReferenceThis section contains a complete listing of allcommands in alphabetical order.980352-001 Rev.A3-1

Strany 51 - EI¿ :prints soft font list

FOREWORDThis manual provides programming information for printers featuring Zebra’s EPL2 Pro-gramming and command language, which are manufactured by

Strany 52 - EK Command - Delete Soft Font

3-2980352-001 Rev.ACommand Description PageA ASCII Text 3-4AUTOFR Automatic Form Printing 3-9B Bar Code 3-11bMaxiCode 3-16PDF417 3-20C Counter 3-27C C

Strany 53 - ES Command - Store Soft Font

980352-001 Rev.A3-3Command Description PageQSet Form LengthTransmissive (Gap) Sensor3-80Black Line SensorContinuous Stockq Set Form Width 3-78r Set Do

Strany 54

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

Strany 55

A Command - ASCII TextThe backslash (\) character designates the fol-lowing character is a literal and will encode intothedatafield.Refertothefollowin

Strany 56

A Command - ASCII TextVariable Data andCounter FunctionsThe “Data” field can be replaced by or com-bined with the following commands:Vnn= Prints the c

Strany 57

A Command - ASCII TEXTSimple Expressionsin Data FieldsAnadvanced function ofthe Acommand allowsaddition and subtraction to be performed onconstant an

Strany 58 - cut position

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

Strany 59 - FE Command - End Form Store

AUTOFR Command - Automatic Form PrintingDescription This special form process allows you to detachthe printer from the computer and print in astandalo

Strany 60 - Syntax FI

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

Strany 61 - FK Command - Delete Form

B Command - Bar CodeDescription Usethiscommandtoprintstandardbarcodes.Syntax Bp1,p2,p3,p4,p5,p6,p7,p8,"DATA"Parameters p1=Horizontal start p

Strany 62 - FR Command - Retrieve Form

Table of ContentsIntroduction . . . . . . . . . . . . . . . . . . . . . . 1-1Command Conventions . . . . . . . . . . .

Strany 63 - FS Command - Store Form

B Command - Bar Code3-12980352-001 Rev.ADescriptionP4ValueP5ValueCode 39 std. or extended3 1-10Code 39 with check digit3C 1-10Code 939 1-10Code 128 UC

Strany 64

B Command - Bar CodeExample:¿N¿B10,10,0,3,3,7,200,B,"998152-001"¿P1¿Will Produce:Bar Codes withVariables & CountersThe data field can be

Strany 65 - GG Command - Print Graphics

B Command - Bar CodeData with the RTCTime & DateFunctionsThe “Data” field can be replaced by or com-bined with the following variables:TT = Prints

Strany 66 - Syntax GI

B Command - Bar CodeCode 128 Bar CodeFunction Characters(continued)A single FCN4 toggles between standard andextended ASCII mode for only a single fol

Strany 67 - GK Command - Delete Graphics

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

Strany 68 - GM Command - Store Graphics

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

Strany 69 - COPY LOGO1.PCX PRN /b

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

Strany 70

Using AIM SpecifiedMaxiCode DataFormattingThe EPL printer can use and automatically de-codetheAIMITS(InternationalTechnicalStan-dards) MaxiCode data f

Strany 71

b Command - 2D Bar Code - PDF417 Specific OptionsDescription Use this command to print PDF 417 and MacroPDF bar code symbols. The printer will auto-ma

Strany 72

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

Strany 73

I Command - Character Set Selection . . . . . . . . . . . . . 3-53JB Command - Disable Top Of Form Backup . . . . . . . . . . 3-5

Strany 74

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

Strany 75

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

Strany 76 - LO Command - Line Draw Black

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

Strany 77 - P1↵ :print one label

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

Strany 78 - LW Command - Line Draw White

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

Strany 79 - M Command - Memory Allocation

C Command - CounterDescription The counter (C) command defines one of 10automatic counters used in consecutive num-bering applications (i.e. serial nu

Strany 80 - Syntax N

C Command - CounterTheCcommandisusedinformsthatrequirese-quentialnumbering.Wheninitializingcounters,they must be defined in order (e.g. C0 first, C1se

Strany 81

C Command - Cut ImmediateDescription: This command allows the printer to initiate animmediatemediacutwithoutaformprintoper-ation. The printer must hav

Strany 82

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

Strany 83

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

Strany 84

xa Command - AutoSense . . . . . . . . . . . . . . . . . 3-106X Command - Box Draw . . . . . . . . . . . . . . . . .

Strany 85

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

Strany 86

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

Strany 87

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

Strany 88

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

Strany 89

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

Strany 90

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

Strany 91 - O Command - Hardware Options

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

Strany 92

ES Command - Store Soft FontFont Bitmap DataFormatThe black and white bitmap that represents thefontmustbe convertedintoASCII hexadecimalcode. The 0°

Strany 93 - OEPL1 Command - Set Line Mode

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

Strany 94 - P Command - Print

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

Strany 96 - Center Alignment

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

Strany 97

FK Command - Delete FormDescription This command is used to delete forms frommemory.Syntax FK [ "FORMNAME" | "*" ]Parameters “FORM

Strany 98 - Q Command - Set Form Length

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

Strany 99

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

Strany 100 - Butterfly Label

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

Strany 101 - Black Line On Perforation

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

Strany 102

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

Strany 103

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

Strany 104 - S Command - Speed Select

GM Command - Store GraphicsDescription UsethiscommandtostorePCXgraphicsfilesinmemory.SyntaxGM"NAME"p1¿“DATA”Parameters “NAME” = This is the

Strany 105

GM Command - Store GraphicsExample: GK"LOGO1"↵ :deletes graphic “LOGO1” - RequiredGK"LOGO1"↵ :second delete graphic - RequiredGM&q

Strany 106 - : and the time to 3:31 p.m

IntroductionThis section contains information about the ba-sic features, command syntax and terminologyoftheEPL2ProgrammingLanguageforZebra'sdesk

Strany 107

GW Command - Direct Graphic WriteDescription Use this command to load binary graphic datadirectly into the Image Buffer memory for im-mediate printing

Strany 108

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

Strany 109

I Command - Character Set Selectionp3=KDU Country Code (8 bit data only)KDU Country Code (8 bit only)032Belgium049Germany027S. Africa002Canada031Nethe

Strany 110

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

Strany 111

JF Command - Enable Top Of Form BackupDescription This command enables the Top Of FormBackup feature and presents the last label of abatch print opera

Strany 112

LE Command - Line Draw ExclusiveDescription Usethiscommandtodrawlineswithan“Exclu-siveOR”function.Anyarea,line,imageorfieldthat this line intersects o

Strany 113

LO Command - Line Draw BlackDescription Usethiscommandtodrawblacklines,overwrit-ing previous information.Syntax LOp1,p2,p3,p4Parameters p1=Horizontal

Strany 114

LS Command - Line Draw DiagonalDescription Usethiscommandtodrawdiagonalblacklines,overwriting previous information.Syntax LSp1,p2,p3,p4,p5Parameters p

Strany 115

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

Strany 116

M Command - Memory AllocationDescription Thiscommandnolongerchangesmemoryallo-cation. It was originally used for SRAM andearly model flash printers. T

Strany 117

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

Strany 118

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

Strany 119

o Command - Cancel Software OptionsDescription This command allows the user to cancel mostprintercustomizationparameterssetbyoseriescommands.Parameter

Strany 120

oB Command - Cancel Auto Bar Code OptimizationDescription: This command allows the advanced program-mertodisablebarcode optimizationforrotated(90° &am

Strany 121 - V Command - Define Variable

oE Command - Line Mode Font SubstitutionDescription: This command is a Page Mode (EPL2) com-mand that allows the printer to set alternateLine Mode fon

Strany 122

oH Command - Macro PDF OffsetDescription Usethiscommandtoplaceadditionsecondary,associatedMacroPDFsymbolsforthe continu-ation of data greater than a s

Strany 123 - W Command - Windows Mode

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

Strany 124

oM Command - Disable Initial Esc Sequence FeedDescription Thiscommanddisablesthe automatic labelcal-ibration routine executed by the printer uponrecei

Strany 125 - X Command - Box Draw

oR Command - Character Substitution (Euro)Description This command allows the advanced program-mer to substitute the Euro currency characterfor any AS

Strany 126 - Y Command - Serial Port Setup

oR Command - Character Substitution (Euro)TheoRcommandisaglobalprintercommand.❏It can not be issued inside of a form.❏It must be issued prior to issui

Strany 127 - Z Command - Print Direction

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

Strany 128

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

Strany 129 - ^@ Command - Reset Printer

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

Strany 130

O Command - Hardware OptionsDescription Use this command to select various printer op-tions. Options available vary by printerconfiguration.SyntaxO[C[

Strany 131

O Command - Hardware OptionsExamples: O :disables all options.OC :enables cutter only, labels are cut after each:label is printed, disables all other

Strany 132 - Code Page - 437

OEPL1 Command - Set Line ModeDescription: This command is used to switch the printer op-erating mode from Page Mode (EPL2) to LineMode (EPL1 emulation

Strany 133

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

Strany 134

PA Command - Print AutomaticDescription Usethis command inastored formsequencetoautomaticallyprint theform (assoon asall vari-able data has been suppl

Strany 135

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 l

Strany 136 - Male RJ-11

q Command - Set Label WidthAll Printers(Exceptions - 2746 & 2348)This command will automatically set the left marginaccording to the following rul

Strany 137

Q Command - Set Form LengthDescription Use this command to set the form and gap lengthor black line thicknesswhen usingthe transmissive(gap) sensor, b

Strany 138

Q Command - Set Form LengthAutoSense routine does not detect black lineor continuous media.AllEPL2printershaveatransmissive(gap)sen-sor designed to de

Komentáře k této Příručce

Žádné komentáře