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

Using AIM Specified
MaxiCode Data
Formatting
The EPL2 printer can use and automatically de
-
code the AIM ITS (International Technical Stan
-
dards) MaxiCode data format. The printer
detects the message/start header ([)>R
S
), field
separator (G
S
), and the end of message marker
(R
S
E
OT
) data control strings.
The hexidecimal (ASCII) data control strings
are in the following table. See the EPL2 dump
mode character map in Appendix A.
Control String Hexidecimal Code
Message/Start Header
[)>R
S 5B 29 3E 1E
Field Separator
G
S 1D
End Of Message Marker
R
S
E
OT 1E 04
Syntax bp
1
,p
2
,M,p
4
“[AIM MaxiCode Data]”
Example
b20,400,M,m2”001,840,93065,1692,[)>R
S
01G
S
98XXXZZFDAAFG
S
SHIPG
S
309G
S
G
S
1/1G
S
10G
S
NG
S
G
S
CAMARILLOG
S
CAG
S
R
S
E
OT
!!!!!!!!!!!!!!!!!!!!!!!”
¿
Notes:
1) This programming example represents actual data used to
format a single AIM compliant MaxiCode symbol as
programmed by a major international and domestic shipping
company.
2) The shipper has explicitly set the the MaxiCode symbol for
Mode 2. This can be omitted by the programmer and the
printer will auto-select the mode per the rules on page D-16.
3) The shipper has used the "!" character to pad the symbol's
data. A scanner reads back all the "Data" within the quotation
marks, including the "!" characters following the End Of Mes
-
sage Marker (E
OT
).
4) All of the data fields in the Low Priority Message are not
used in the example. Some are left empty with the field delim
-
iting G
S
character used as a format field holder.
980009-001 Rev.F
D-19
Appendix D - Bar Code Information