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

C Command - Counter
The C command is used in forms that require se
-
quential numbering. When initializing counters,
they must be defined in order (e.g. C0 first, C1
second...).
Field justification (p
3
) affects the printing of
counter data. When L, R or C are selected, the
counter field is the width of p
2
value. Data will
justify within the counter (p
2
) field per the se
-
lected p
3
. The N parameter will print the mini
-
mum number of characters. See programming
example 13 in Appendix H.
To print the contents of the counter, the counter
number is referenced in the “DATA” field of the
A (ASCII text) or B (Bar Code) commands.
If the starting value of a counter is “1", then no lead-
ing zero padding will be added. If the starting value is
“01”, then the counter will be padded, up to the
maximum number of digits (p
2
), with zeros. Count-
ers must be defined after variables.
Example:
C0,10,L,+1,"-Enter Serial Number:"¿
By placing two minus signs as the first two char-
acters of the prompt, the prompt will never be
displayed.
Example:
C0,10,L,+1,"- -Enter Serial Number:"¿
To edit or restart a protected consecutive num
-
ber, the KDU’s form edit function must be used.
From the “FORM - retrieve form prompt”, perform the
following steps:
1. Press F1.
2. Press 4 9 1 6
3. Press the FORM key.
4. Key in the form name and press ENTER to retrieve.
5. Enter or modify the consecutive number.
6. When complete, print the form to store the new number in memory.
2-12
980009-001 Rev.F
COMMAND REFERENCE