Zebra EPL2 Spécifications

Naviguer en ligne ou télécharger Spécifications pour Imprimer et scanner Zebra EPL2. Zebra EPL2 Specifications Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 138
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - Programmer’s

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

Page 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

Page 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

Page 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

Page 5

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

Page 6

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

Page 7 - Introduction

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

Page 8 - Conventions

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

Page 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

Page 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,

Page 11

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

Page 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-

Page 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

Page 14

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

Page 15 - Printer Configuration

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

Page 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

Page 17

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

Page 18

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

Page 19 - Command Reference

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

Page 20

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

Page 21

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

Page 22 - A Command - ASCII Text

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

Page 23

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

Page 24

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

Page 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(

Page 26

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

Page 27

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

Page 28

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

Page 29 - B Command - Bar Code

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

Page 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

Page 31

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

Page 32

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

Page 33

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

Page 34

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

Page 35

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

Page 36 - Will Produce:

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

Page 37

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

Page 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

Page 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

Page 40

A-4980352-001 Rev.A

Page 41

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

Page 42 - Symbol Geometry

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

Page 43

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

Page 44

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

Page 45 - C Command - Counter

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

Page 46

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

Page 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

Page 48 - D Command - Density

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

Page 49

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

Page 50

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

Page 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

Page 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

Page 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

Page 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

Page 55

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

Page 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

Page 57

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

Page 58 - cut position

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

Page 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

Page 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

Page 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

Page 62 - FR Command - Retrieve Form

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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"¿

Page 70

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

Page 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

Page 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

Page 73

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

Page 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

Page 75

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

Page 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

Page 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

Page 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

Page 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

Page 80 - Syntax N

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

Page 81

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

Page 82

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

Page 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

Page 84

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

Page 85

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

Page 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

Page 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

Page 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

Page 89

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

Page 90

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

Page 91 - O Command - Hardware Options

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

Page 92

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

Page 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

Page 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

Page 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¿ :

Page 97

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

Page 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

Page 99

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

Page 100 - Butterfly Label

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

Page 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

Page 102

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

Page 103

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

Page 104 - S Command - Speed Select

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

Page 105

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

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

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

Page 107

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

Page 108

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

Page 109

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

Page 110

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

Page 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

Page 112

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

Page 113

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

Page 114

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

Page 115

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

Page 116

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

Page 117

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

Page 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

Page 119

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

Page 120

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

Page 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

Page 122

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

Page 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

Page 124

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

Page 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

Page 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

Page 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

Page 128

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

Page 129 - ^@ Command - Reset Printer

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

Page 130

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

Page 131

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

Page 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

Page 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

Page 134

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

Page 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

Page 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

Page 137

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

Page 138

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

Commentaires sur ces manuels

Pas de commentaire