Specifications
Table Of Contents
- Table of Contents
- PROGRAMMING CONSIDER ATIONS 1-1
- Features 1-1
- Command Functions 1-2
- Command Conventions 1-8
- Basic Command Syntax 1-9
- Command Ed i tor 1-10
- Printer Memory Organiza tion 1-11
- Image Buffer Addressing 1-13
- Installed Memory vs. Form Length 1-14
- Double Buffering 1-16
- Text (Fonts) 1-18
- Bar Codes 1-20
- Programming Sequences Affect Graphic Results 1-21
- Media Detection 1-21
- Determining Printer Firmware Version 1-22
- COMMAND REFERENCE 2-1
- EPL2 Command Set 2-2
- A Command - ASCII Text 2-4
- B Command - Bar Code 2-7
- b Command - 2D Bar Code 2-10
- C Command - Coun ter 2-11
- D Command - Density 2-14
- EI Command - Print Soft Font Information 2-15
- EK Command - Delete Soft Font 2-16
- ES Command - Store Soft Fonts 2-16
- FE Command - End Form Store 2-17
- FI Command - Print Form Information 2-18
- FK Command - Delete Form 2-19
- FR Command - Retrieve Form 2-20
- FS Command - Store Form 2-21
- GG Command - Print Graphics 2-23
- GI Command - Print Graphics Information 2-24
- GK Command - Delete Graphics 2-25
- GM Command - Store Graphics 2-26
- I Command - Character Set Selection 2-28
- JB Command - Disable Top Of Form Backup 2-29
- JF Command - Enable Top Of Form Backup 2-29
- LE Command - Line Draw Exclusive 2-30
- LO Command - Line Draw Black 2-31
- LS Command - Line Draw Diagonal 2-32
- LW Command - Line Draw White 2-33
- M Command - Memory Allocation 2-34
- N Command - Clear Image Buffer 2-38
- O Command - Options Select 2-39
- oM Command - Disable Initial Esc Sequence Feed 2-41
- P Command - Print 2-42
- PA Command - Print Automatic 2-43
- Q Command - Set Form Length 2-44
- q Command - Set Label Width 2-48
- R Command - Set Reference Point 2-50
- S Command - Speed Select 2-52
- U Command - Print Configuration (General) 2-53
- V Command - Define Variable 2-56
- X Command - Box Draw 2-59
- Y Command - Serial Port Setup 2-60
- Z Command - Print Direction 2-62
- ? Command - Download Variables 2-63
- EPL2 Command Set 2-2
- Appendix A - Standard Character Sets A-1
- Resident Fonts A-1
- Fonts 1-5 A-2
- ASCII to Hex a dec i mal Ref er ence Ta ble A-2
- Code Page 437 Sizes 1-4 A-3
- Code Page 850 Sizes 1-4 A-3
- Code Page 852 Sizes 1-4 A-4
- Code Page 860 Sizes 1-4 A-4
- Code Page 863 Sizes 1-4 A-5
- Code Page 865 Sizes 1-4 A-5
- Code Page 437 Size 5 A-6
- Code Page 850 Size 5 A-6
- Code Page 852 Size 5 A-7
- Code Page 860 Size 5 A-7
- Code Page 863 Size 5 A-8
- Code Page 865 Size 5 A-8
- British A-9
- Danish A-9
- French A-10
- German A-10
- Italian A-11
- Spanish A-12
- Swedish A-12
- Swiss A-13
- USA A-14
- Appendix B - Optional & Extended Character Sets B-1
- Appendix C - Asian Character Printer Programming C-1
- Appendix D - Bar Code Information D-1
- Appendix E - Real Time Clock Option Programming E-1
- Appendix F - Cutter Option Programming F-1
- Appendix G - Advanced Programming G-1
- In tro duc tion G-1
- AUTOFR - Automatic Form Printing Feature G-2
- A Command - Simple Expresssions in Data Fields G-4
- dump Command - Enable Dump Mode G-6
- eR Command - User Defined Error/Status Character G-7
- O Command - Options Select G-8
- o Command - Cancel Customized Settings G-9
- oB Command - Cancel Auto Bar Code Optimization G-10
- oR Command - Character Substitution (Euro) G-11
- oW Command - Customize Bar Code Parameters G-13
- p Command - Reset Top of Form Sensing G-15
- r Command - Buffer Mode G-16
- U Commands - Advanced Status Commands G-17
- UA Command - Enable Clear Label Counter Mode G-18
- UB Command - Reset Label Counter Mode G-19
- UE Command - External Font Information Inquiry G-20
- UF Command - Form Information Inquiry G-21
- UG Command - Graphics Information Inquiry G-22
- UI Command - Host Prompts/ Codepage Inquiry G-23
- UM Command - Codepage & Memory Inquiry G-24
- UP Command - Codepage & Memory Inquiry/Print G-26
- UQ Command - Configuration Inquiry G-27
- US Command - Enable Error Reporting G-29
- W Command - Windows Mode G-30
- xa Command - AutoSense G-31
- ^ee Command - Error Report - Immediate G-32
- ^@ Command - Reset Printer G-33
- Soft Fonts Overview G-34
- In tro duc tion G-1
- Appendix H - Programming Examples H-1
- Example 1 - Text and Line Graphics H-2
- Ex am ple 2 - Text and Line Graphic In ter ac tions H-4
- Example 3 - Bar Code Variables H-6
- Example 4 - Bar Code and Line Graphics Interaction H-8
- Example 5 - Sequencing Graphic Elements H-10
- Example 6 - Steps for Down loading a PCX Graphic H-12
- Example 7 - Print ing A PCX Graphic H-14
- Example 8 - Print ing Immediately: Putting It All Together H-16
- Example 9 - Creating A Form H-18
- Example 10 - Steps for Downloading a Form H-20
- Example 11 - Creating a Form with Basic Variables H-21
- Example 12 - Print ing Forms with Variables H-23
- Example 13 - Variable Justification H-25
- Example 14 - Creating a Form with Basic Counters H-27
- Example 15 - Numeric Counting and Printing H-30
- Example 16 - Counter Justification H-32
- Example 17 - Printing with Forms: Putting It All Together H-34
- Example 18 - Using a KDU Terminal H-36
- Appendix J - In ter face Con nec tion J-1
- PROGRAMMING CONSIDER ATIONS 1-1

Printer Memory
Organization
The EPL2 printers feature nonvolatile memory
for storage of label forms, graphics and soft
fonts. This memory can be located in the
printer, in removable memory cartridges or
both depending upon the printer model.
Many EPL2 printers require the use of the M
command to specify the amount of memory al
-
lotted to memory storage groups: image buffer,
forms, graphics and soft fonts. See the M com
-
mand in Section 2, Command Reference, for
memory management details by printer model.
Each time the memory allocation command M
is used; forms, graphics and soft fonts stored in
memory are erased. Because previously stored
forms, graphics and fonts are deleted by the M
command, extra care should be used when for-
matting printer memory.
Printers with Flash Memory
Printers with flash memory do not require memory
partitioning for storage of forms, graphics, soft fonts
or the image buffer as required by other EPL2 print-
ers. However, the M command is required to for-
mat/clear existing memory. See the M command in
Section 2 for details.
Forms Form (or command) files can be downloaded to
memory for storage and later recall. A form can
contain fixed text, variable text (entered at print
time), counters (recalled or entered at print
time) and bar code symbols. A form can call a
graphic from memory and use the graphic as
part of the form.
The number of stored forms allowed is depend
-
ent on the amount of memory available in the
nonvolatile printer memory
Graphics Graphic image data and forms are stored in the
nonvolatile memory. The number of graphics
that printer memory can hold is strictly depend
-
ent upon print memory availability.
980009-001 Rev.F 1-11
PROGRAMMING CONSIDERATIONS