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
Saving and
Protecting
Consecutive
Numbers in
Nonvolatile Memory
This feature is useful when the counter field rep
-
resents a serial number (or others types of num
-
bers) that should never be repeated. This
feature allows for automatic retrieval and incre
-
menting (or decrementing) of the previous
counter value used every time a form is re
-
trieved (and printed).
By placing one minus sign as the first character
of the prompt, the prompt will appear only once
after the form is retrieved, thereby protecting
the integrity of the data.
KDU Support: This table shows individual printer support for
internal
storage of counter data.
Model
Counter Data Storage Options
C---
2622, 2642 (2242), 3642 S S S
2122, 2142 S S S
2046 / 2044 S S S
2443 (Orion) Note 1 Note 1 N/A
2722 / 2742 Note 1 Note 1 N/A
2344 (Eclipse), 2746 Note 1 Note 1 N/A
2684 (Strata) Note 1 Note 1 N/A
P2242 / P2222 Note 1 Note 1 N/A
O = Option; S = Standard; N/A =Not Supported
Note 1 – Internally stored counter values are reset after cycling
printer power or sending a reset command or pressing the Cancel.
Flash Memory Printers - Storing counter values
(after power is cycled or a Reset) and the [--]
prompt option are only supported with KDUs built
after December 1999. These KDUs store the counter
data for later recall.
Single Digit
Summation with
Counters
Add or substract a single digit from the recalled
counter value in a form. If form recalled counter
C0 had a value of 3, then processing C0+1 or
C0-2 would yeild values of 4 and 1 respec
-
tively.
980009-001 Rev.F 2-13
COMMAND REFERENCE