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

Double Buffering EPL2 printers with firmware version 3.0 and
higher (except TLP2046) support double buff
-
ering of print images to increase through-put.
The printer can print the image out of one buffer
while loading an image into a second image
buffer, if sufficient memory is available to load
the second image. The printer will automatically
test and enable double buffering. Double buff
-
ering allows the printer with most image formats
to print continuously.
If a sufficient amount of image buffer memory is not
available to double buffer print images, then the
printer will load a print image and then print, per
-
forming these functions one label at a time.
While operation of the Double Buffering feature
is automatic, the following are requirements to
enable the feature:
❏ The Q command must be used to establish
the height of each label and initiate double
buffering.
❏ The q command must be used to match the
width of the image buffer to the width of the
label. The q command will maximize and test
the image buffer if sufficient memory is avail-
able to enable double buffering.
❏
The amount of (SRAM) memory allocated
(with the M command) for the image buffer
must be large enough to hold the two label
images. Using the formulas below, calculate
the memory requirements for each label.
Add the memory requirements for each label
to determine the total image buffer memory
requirements.
Flash Memory Printers - The M command does
not affect the image buffer size in flash memory
based printers. The image buffer is a fixed size.
1-16
980009-001 Rev.F
PROGRAMMING CONSIDERATIONS