Intermec ESim v4.20 Programmer's Reference Manual

Programmer’s Reference Manual
ESim v4.20 for EasyCoder C4 Bar Code Label Printer
P.O. Box 123
S-431 22 Mölndal
Sweden
Service support: +46 31 869500
 e information contained herein is proprietary and is provided solely for the purpose of allowing customers to operate and/or service Intermec manufactured equipment and is not to be released, reproduced, or used for any other purpose without written permission of Intermec.
Information and specifi cations in this manual are subject to change with­out notice.
© 2005 by Intermec Printer AB
All Rights Reserved
EasyCoder, EasyLAN, Fingerprint, and LabelShop are registered trade­marks of Intermec Technologies Corp.  e word Intermec, the Intermec logo, InterDriver, PrintSet, and Duratherm are trademarks of Intermec Technologies Corp.
 e name Centronics is wholly owned by GENICOM Corporation. Kimdura is a registered trademark of Kimberly Clark. Microsoft is a registered trademark of Microsoft Corporation. Windows is a trademark of Microsoft Corporation.
 roughout this manual, trademarked names may be used. Rather than put a trademark (™) symbol in every occurrence of a trademarked name, we state that we are using the names only in an editorial fashion, and to the benefi t of the trademark owner, with no intention of infringement.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual iii
Preface
Contents
Introduction ................................................................................. vi
1
General Information
Dump Mode ..................................................................................2
Memory ......................................................................................... 3
Direct Mode ..................................................................................3
Form Edit Mode ............................................................................4
Form .............................................................................................. 4
Text Editor .....................................................................................4
Commands ....................................................................................4
Field ............................................................................................... 5
Field Positioning ............................................................................ 6
2
Commands List
Direct Mode ................................................................................10
Form Edit Mode ..........................................................................12
3
Setting Up the Printer
Default Setup ..............................................................................14
Example ....................................................................................... 15
4
Editing in Direct Mode
Example........................................................................................18
5
Editing in Form Edit Mode
Example........................................................................................20
6
Retrieving and Printing a Form
Example............... ........................................................................ 26
7
Commands
Syntax.......................................................................................... 30
A Print Text ..........................................................................31
iv Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Preface
B Standard Bar Codes ............................................................36
b Two-Dimensional Bar Codes, General Part ........................41
MaxiCode ......................................................................42
PDF417 ........................................................................43
Data Matrix ...................................................................45
QR Code .......................................................................46
C Counter ..............................................................................49
C Cut Immediate ................................................................... 53
D Density ...............................................................................54
EI List Soft Fonts ....................................................................57
EK Delete Soft Font .................................................................58
ES Store Soft Font ...................................................................59
eR User-Defi ned Error/Status Character Control .....................62
f Cut Position .......................................................................64
FE End Store Command .......................................................... 65
FI Print Form Information ......................................................66
FK Delete Form .......................................................................67
FR Retrieve Form ..................................................................... 68
FS Form Store ......................................................................... 69
GG Print Graphics ....................................................................70
GI Print Graphics Information ................................................71
GK Delete Graphics ..................................................................72
GM Store Graphics in Memory .................................................73
GW Store Graphics in Image Buff er ........................................... 75
I Character Set Selection .......................................................76
i Asian Character Spacing .....................................................77
JB Disable Top of Form Backup .............................................. 78
JF Enable Top of Form Backup ...............................................79
j Media Feed Adjustment ...................................................... 80
LE Line Draw Exclusive ........................................................... 81
LO Line Draw Black .................................................................82
LS Line Draw Diagonal ...........................................................83
LW Line Draw White ...............................................................84
M Memory Allocation ............................................................85
N Clear Image Buff er .............................................................88
O Options Select ....................................................................89
oR Character Substitution ........................................................91
P Print ................................................................................... 92
PA Print Automatic ..................................................................93
Q Set Form Length .................................................................94
q Set Label Width .................................................................98
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual v
Preface
R Set Reference Point .............................................................99
S Speed Select ...................................................................... 100
U Print Confi guration (General) ..........................................101
UC Command Reply Accept Character Control ..................... 102
UDC Memory Cartridge Information ........................................103
UE Soft Font Information Inquiry .......................................... 104
UF Form Information Inquiry ................................................ 105
UG Graphics Information Inquiry ..........................................106
UI Enable Prompts/Code Page Inquiry .................................. 107
UM Code Page & Memory Inquiry .........................................108
UN Disable Error Reporting ...................................................109
UP Code Page & Memory Inquiry/Print ................................110
US Enable Error Reporting ....................................................111
UV Product Identity and Asian Font Types .............................112
V Defi ne Variable ................................................................. 113
W Windows Mode ................................................................115
X Draw Box ......................................................................... 116
Y Serial Port Setup ...............................................................117
Z Print Direction ................................................................. 118
? Download Variables ..........................................................119
^@ Reset Printer .....................................................................120
^A Print Pause Mode .............................................................121
^B Break Batch Printing ........................................................122
^C Continue Printing ............................................................123
^D Remaining Labels .............................................................124
^ee Immediate Error Report ...................................................125
8
Fonts
Resident Fonts ...........................................................................128
Font Sizes 1-5 ............................................................................129
9
Code Pages and Character Sets
Printout samples ........................................................................132
A
Error-Handling
Error-Handling Principles .......................................................... 148
Error Types ................................................................................150
Error Replies ..............................................................................151
Error Replies Table .....................................................................152
vi Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Preface
Introduction
 e EasyCoder C4 printers from Intermec are provided with a built-in protocol (ESim) by which you can use any computer, terminal, scanner or keyboard, that can produce ASCII characters, to control the printer.  is is a useful alternative to the Intermec InterDriver, which requires a PC operating under Microsoft Windows.
With the ESim protocol, you can use any editor to control the printer, either by means of the serial RS-232 channel or the parallel Centronics channel.
 e EasyCoder C4 ESim protocol is compatible with the corresponding protocol for EasyCoder 91, even if some commands or command param­eters have no meaning in EasyCoder C4, and some commands are new.
Note that EasyCoder C4 has a fl ash memory for forms and graphics, which requires special consideration. Avoid storing frequently changing data in fl ash (see GM and GW commands in Chapter 7) and use printer drivers developed for EasyCoder C4 rather than EasyCoder 91 drivers.
 is manual will assist you in designing labels using the ESim protocol. It has been organized to provide you with an under-standing of the printer’s functions and command structure.
 e manual describes version 4.20 of the ESim protocol.
If you have any questions regarding the protocol or this manual, please contact your Intermec distributor for technical assistance.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 1
1
General Information
 is chapter explains the basic functions and modes of the ESim protocol and helps understanding the more comprehensive explanations in the other chapters in this manual.
2 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 1—General Information
Dump Mode
 e printer has the capability to perform in dump mode, which means that the printer will print out the echo of the received ASCII. Use this capability to debug your software when the printer does not perform as you expect.
To enter Dump Mode:
• Turn off the power to the printer.
• For best result, load the printer with full width labels or tags.
• Hold down the Feed key and turn on the power again.
• Release the Feed key when the indicator lamp fl ashes green.
•  is procedure adjusts the label stop sensor and media feed and pro­duces a test label, see below.
• After the test label has been printed, the printer enters the Dump Mode, as indicated by the last line on the test label.
Part No , ESim version, & checksum Serial RS-232 port setup (see Y cmd) USB port Test pattern Number of SRAMs installed Image buffer size (see M cmd) Form memory size (see M cmd) Graphic memory size (see M cmd) Font memory size (see M cmd) Character set (see I command) Speed – Density – Ref. point – Dir – Errors (see S, D, R, Z & UN/US cmds) Label width –Form length (see q & Q cmds) Options (see O & C cmd) LSS (liner+label – detection level – liner) Dump Mode On
Example of a test label from an 203.2 dpi (8 dots/mm) EasyCoder C4 without any memory cartridge installed.
Do not use continuous stock in Dump Mode. An error will occur since there are no gaps or slots to detect.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 3
Chapter 1—General Information
In the Dump Mode, the output is the same label as produced by means of a U command, but an extra line will be appended saying “now in DUMP”.  en the printer waits for ASCII dump printing.
Send a string of characters or a label form to the printer and tap the Feed key to produce a printout. Dump mode will also print control characters, see character set table at the end of Chapter 9.
To return to normal mode, briefl y tap the Feed key. A label with the mes- sage “out of DUMP” will be printed.
Memory
 e fi rmware has memory allocation for print image buff er, form, graphic, and external font memory.  e fi rst time the printer is used, it is automatically initialized to default settings, see
Chapter 3.
 e
M memory command sets the image buff er, the form memory, and graphic memory area.  e remaining memory space, if any, is allocated to the external font memory, which is intended for bitmap fonts down­loaded using external software.
Direct Mode
You can print a label without using a predefi ned format by sending write commands (text, bar codes, graphics, lines and boxes) to the printer after having cleared the image buff er using an N command.  e label remains stored in the image buff er and can be printed over and over again by sending new P print commands, until the buff er is cleared by an N com­mand, or by retrieving and printing a Form (see FR command).
 e Direct Mode is also used for retrieving and printing preprogrammed label formats, for the issuing of global setup commands, for deleting forms and graphics from memory, and to make the printer produce a number of diff erent reports.
4 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 1—General Information
Form Edit Mode
 is mode is used to permanently store label forms and graphics in the printer memory. In addition to plain text, bar codes, graphics, lines, and boxes, form edit mode also allows the use of variables and counters, which are not available in the Direct Mode.  e individual label forms can be retrieved and printed in the Direct Mode.
Some setup parameters can be included in forms in order to adapt the printer for diff erent applications. However, such setup parameters will aff ect the global setup after the form has been retrieved and printed.
Form
Every label is made up of various fi elds. A form is the complete set of commands that defi ne the content and the design of the label. A form can be saved in memory and retrieved when required.
Text Editor
Use any ASCII output device with a parallel or serial port and a text editor to design the form and programming the printer. Communication is based on the ASCII characters 10 dec. and 32-255 dec.
Commands
 e command syntax is based on upper and lower case characters, numeric characters, commas (as separators), quotation marks and line feeds (LF; ASCII 10 dec.).  e LF in this manual is listed as in the command descriptions. Line Feeds (LF) are required to be sent at the end of most command lines! Some commands require to be appended by both a carriage return and a line feed (<CR/LF>).
Note that all programming examples start with LF (depicted as ). It is strongly recommended to start any sequence of command lines with a Line Feed (LF).
Most PC based systems send CR/LF when pressing the <Enter> key.  e CR (carriage return) sent in a CR/LF sequence will be ignored. CR alone will not work.
Refer to
Chapter 2, “Commands List” for information on for which
purposes the various commands can be used.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 5
Chapter 1—General Information
Field
Each command line of printable data will create a fi eld, which is defi ned in regard of start position, rotation, magnifi cation, etc.
X Axis
Y Axis
Feed Direction
Variable Tex t V0 0
Graphic
Rotated text
Fixed Text
Line
Counter C0
Counter C1
Box
EASYCODER C4
FRAGILE
PACKED BY: SAM
SERIAL NO. 654
76532
Bar Code
The illustration shows how a label is printed and fed out
when using the default direction.
6 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 1—General Information
Field Positioning
 e printable area of the label forms a grid, where the X-axis runs across the media and the Y-axis runs along the media path. Dots are used as the unit for establishing position of the upper left corner of each fi eld in rela­tion to a specifi ed reference point.
 e printer is available with two diff erent printhead densities (the 203.2 dpi printer and the 300 dpi printer have diff erent fi rmware versions):
Density Medium High
X-axis 203.2 dpi (8 dots/mm) 300 dpi (11.81 dots/mm)
Y-axis 203.2 dpi (8 dots/mm) 304.8 dpi (12 dots/mm)
Number of active dots: 832 1208
Max. print width: 104 mm 102.2 mm
Dot line to tear bar: 136 dots 204 dots
Dot line to cutter blade: 256 dots 384 dots
Text and bar code fi elds can be rotated around their insertion points, whereas lines, boxes and graphics cannot be rotated. However, the entire print image can be rotated 180°.  e illustration below shows coordinates for the default print direction (
ZT).
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 7
Chapter 1—General Information
Example of fi eld positioning when using an 203.2 dpi (8 dots per mm) printhead.
800832 750 700 650 600 550 500 450 400 350 300 250 200 150 100 50
50
100
150
200
250
300
350
400
450
500
550
X-axis
Y-axis
Reference Point
at direction ZT
X000;Y000
Feed
Direction
TEXT
TEXT
CODE 39
Rotated Text Field
X500;Y400
Bar Code Field
X150;Y300
Text Field
X100;Y100
Graphic Field
X650;Y050
Print Width 104 mm (832 dots)
8 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 1—General Information
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 9
2
Commands List
 is chapters lists which commands can be used in the Direct Mode and the Form Edit Mode respectively.
10 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 2—Commands List
Direct Mode
Setup Commands
Used to set up the printer globally, that is, aff ect both the Direct Mode and Forms.
D Density eR User-Defi ned Error/Status Character Control f Cut Position I Character Set Selection i Asian Character Spacing JB Disable Top of Form Backup JF Enable Top of Form Backup j Media Feed Adjustment M Memory Allocation O Options Select oR Character Substitution Q Set Form Length q Set Label Width R Set Reference Point S Speed Select UC Command Reply Accept Character Control UN Disable Error Reporting US Enable Error Reporting W Windows Mode Y Serial Port Setup Z Print Direction
Store Commands
Used to store graphic fi les.
GM Store Graphics in Memory GW Store Graphics in Image Buff er
Used to store soft fonts. ES Store Soft Font
Clear and Delete Commands
Used to erase data from the printer's memory.
EK Delete Soft Font FK Delete Form GK Delete Graphics N Clear Image Buff er ^@ Reset Printer
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 11
Chapter 2—Commands List
Editing Commands
Used to edit labels in the Direct Mode.
A Print Text B Print Standard Bar Codes b Print Two-Dimensional Codes GG Print Graphics LE Line Draw Exclusive LO Line Draw Black LS Line Draw Diagonal LW Line Draw White X Draw Box
Print Control Commands
Used to produce printouts of labels edited in the Direct Mode or retrieved forms edited in the Form Edit Mode. Also commands for con­trolling batch printing.
C Cut Immediate FR Retrieve Form P Print ? Download Variables ^A Print Pause Mode ^B Break Batch Printing ^C Continue Printing
Report Commands
Return information on serial channel and/or produce printed informa­tion.
EI List Soft Fonts FI Print Form Information GI Print Graphics Information U Print Confi guration UDC Memory Cartridge Information UE Soft Fonts Information Inquiry UF Form Information Inquiry UG Graphics Information Inquiry UI Enable Prompts/Code Page Inquiry UM Code Page & Memory Inquiry UP Code Page & Memory Inquiry/Print UV Product Identity and Asian Font Types ^D Remaining labels ^ee Immediate Error Report
12 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 2—Commands List
Form Edit Mode
Setup Commands in Forms
Will aff ect the global setup after printing a form including such a com­mand.
D Density Q Set Form Length R Set Reference Point S Speed Select Z Print Direction
Editing Commands
Used to edit forms.
A Print Text B Print Standard Bar Codes b Print Two-Dimensional Codes C Counter FE End Form Store FS Form Store GG Print Graphics LE Line Draw Exclusive LO Line Draw Black LS Line Draw Diagonal LW Line Draw White PA Print Automatic V Defi ne Variable X Draw Box
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 13
3
Setting Up the Printer
 is chapter shows the default setup of the printer and gives an example of how to change the setup.
14 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 3—Setting Up the Printer
Default Setup
Parameter Command Default Setting
Error/Status Char.
eR0,0
XOFF/XON-handling
Density
D10
10
Character Set
I8,0,001
8 bits, code page 0, country code 001
Top of Form backup
JF
Enabled
Media feed adjust
j136 j204
136 dots (at 203.2 dpi) 204 dots (at 300 dpi)
Label Gap Sensor
ON
LTS disabled, TT mode, reverse gap disabled. cutter disabled
Char. substitution
oR
No substitution
Form Length
Q24,0
Continuous mode, print gap 24 dots
Label Width
q832 q1208
832 dots (at 203.2 dpi) 1208 dots (at 300 dpi)
Reference Point
R000,000
X:000;Y000
Print Speed
S2
50 mm/sec. (2 inches/sec.)
Reply Character
UC0
None
Error Handling
UN
Error reporting disabled
Windows Mode
WN
Disabled
Serial Port
Y96,N,8,1
9600 baud, no parity, 8 data bits, 1 stop bit
Print Direction
ZT
Start printing at top of image buff er
Printhead Resolution Measures
203.2 dpi printheads 203.2 dpi (8 dots/mm) in both directions
300 dpi printheads 300 dpi (11.81 dots/mm) across the media path
304.8 dpi (12 dots/mm) along the media path
 e setup will be reset to default values if...
• the printer's fi rmware is upgraded using a fi rmware cartridge,
• or the Feed key is pressed more than 3 seconds in the Dump Mode.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 15
Chapter 3—Setting Up the Printer
Some commands may also aff ect the values of other command, for example if a confi guration label is printed (see U and UP commands), the print direction is reset to ZT, and if an R Reference Point command is executed, the label width (see q command) will be changed.
Example
Let us assume that we will use an EasyCoder C4 for direct thermal print­ing. We will print full width  ermal Top labels in the peel-off mode without using the label taken sensor.  e default communication setup and character set are acceptable.
 us, a few setup parameters should be changed in the Direct Mode:
• Density from 10 to 8
• Media feed adjustment from 136 to 110
• Label Taken Sensor from enabled to disabled
Enter the following commands:
Command Explanation
CR/LF to start command structure
D8
Set density
j110
Set media feed adjustment for peel-off operation
ON
Disable label taken sensor
16 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 3—Setting Up the Printer
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 17
4
Editing in Direct Mode
 is chapter gives an example of how to create a simple label in the Direct Mode.
18 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 4—Editing in Direct Mode
Example
Assuming that...
• the printer has been set up for the application (see
Chapter 3),
• the length of the label and the gap has been determined by printing a Test Label (see
Chapter 1, “General Information/Dump Mode”),
• and the graphic used in the example has been downloaded to the printer (see
GM command1),
...we will now print two copies of a label which we will edit in the Direct Mode.  e label will look like the example in Chapter 5.
 e label can be printed as many times as you want, as long as it still is stored in the image buff er. Once replaced, it cannot be retrieved. It also implies that counters and variables cannot be used.
Command Explanation
CR/LF to start command structure
N
Clear image memory
X0,0,4,752,584
Draw a box
LO0,144,752,4
Draw a line
LO440,232,4,160
Draw a line
A40,400,1,1,1,1,N,"Made in Sweden"
Write a 90° text line of fi xed data
A24,160,0,5,1,1,R,"EASYCODER"
Write a text line of fi xed data
A24,250,0,4,1,1,N,"MODEL: 501SA"
Write a text line of fi xed data
A472,312,0,4,1,1,N,"Checked by: Dan"
Write a text line of fi xed data
A24,312,0,4,1,1,N,"SERIAL#: 000001"
Write a text line of fi xed data
B280,440,0,1,2,3,96,B,"S 000001"
Write barcode representing fi xed data
GG24,12,"LOGO"
Write a graphic from graphics memory
1
P2
Print command to image buff er; Print 2 copies
1
/.  e Intermec logotype is not included in the software package and is only included in the example to demonstrate how to print a graphics fi eld. You can substitute it with any graphics of approximately the same size. If you fi nd it diffi cult to download graphics, you could omit the GG command from the example until you have become more familiar with the concept.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 19
5
Editing in Form Edit Mode
 is chapter gives an example of how to create a simple label in the Form Edit Mode.
20 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 5—Editing in Form Edit Mode
Example
Assuming that...
• the printer has been set up for the application (see
Chapter 3),
• the length of the label and the gap has been determined by printing a
Test Label (see
Chapter 1, “General Information/Dump Mode”),
• and the graphic used in the example has been downloaded to the
printer (see
GM command1),
...we will now edit a label that can be saved as a form in the printer's memory and retrieved when so required. It also means that we can use counters and variables.
When we are fi nished, the label will look like this:
1
/.  e Intermec logotype is not included in the software package and is only included in the example to demonstrate how to print a graphics fi eld. You can substitute it with any graphics of approximately the same size. If you fi nd it diffi cult to download graphics, you could omit the GG command from the example until you have become more familiar with the concept.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 21
Chapter 5—Editing in Form Edit Mode
Name the Form
Name of this form is TEST.
Command Explanation
CR/LF to start command structure
FK"TEST"
Delete any existing form named TEST
FS"TEST"
Start store form named TEST
Defi ne Variables
 e fi rst variable (V00) has a maximum size of 15 characters.  e second variable (V01) has 10 characters and prints in reverse.  e third variable (V02) has a maximum size of 8 characters.
Command Explanation
V00,15,N,"Enter Product name:"
Defi ne fi rst variable
V01,10,L,"Enter Model number:"
Defi ne second variable
V02,8,N,"Checked by:"
Defi ne third variable
 e text within quotes are prompts, which will be sent from the printer to the host when the label form is retrieved (serial communication only).
Defi ne a Counter
 e counter has maximum 6 digits.
Command Explanation
C0,6,L,+1,"Enter Serial Number:"
Defi ne counter
Note:  e variables (V00, V01, V02) and counter (C0), are defi ned within this label form named TEST.  e next label form containing variables and counters, will again start with V00 and C0. If variable data is being sent from an external data base, omit the text between the quotes and replace with a space character, for example
V00,15,N," ".
22 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 5—Editing in Form Edit Mode
Draw a Box and two Lines
Start to draw the surrounding box using the X command and then draw the two lines using the LO command.
Command Explanation
X0,0,4,752,584
Draw a box
LO0,144,752,4
Draw a black line
LO440,232,4,160
Draw a black line
Place a Text Line with Fixed Data
Enter a 90° rotated text line containing the fi xed data "Made in Sweden" in text size 1.  e quotation marks enclosing the fi xed data will not be printed.  e text size (1) is the smallest resident font in the printer.
Command Explanation
A40,400,1,1,1,1,N,"Made in Sweden"
90 degree. text line, fi xed data
Place a Variable Text
 e next line is a text line, using text size 5 in reverse and prints the vari­able V00.  e data printed in this fi eld must be sent to the printer at the time of form retrieval.
Command Explanation
A24,160,0,5,1,1,R,V00
Write a text line, 1:st variable
Place a Combination of Fixed Data and a Variable
 e following two command lines consist of a combination of fi xed data enclosed in quotation marks and variable data.
Command Explanation
A24,250,0,4,1,1,N,"MODEL: "V01
Text line, fi xed data + 2:nd variable
A472,312,0,4,1,1,N,"Checked by: "V02
Text line, fi xed data + 3:rd variable
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 23
Chapter 5—Editing in Form Edit Mode
Place a Combination of Fixed Data and a Counter
 e next command line is a text line containing fi xed data and the coun­ter (C0).  e fi rst time this label form is retrieved for printing, the start value for this counter must be sent to the printer.  e printer will store the value of the counter for this form and automatically continue to print the next value the next time this form is retrieved. Reset or set to another value by sending a new start value.
Note:  e value of the counter will be kept in the memory even if another form is retrieved or the printer is switched off .
Command Explanation
A24,312,0,4,1,1,N,"SERIAL#: "C 0
Text line, fi xed data + 1:st counter
Place a Bar Code with Fixed Data and a Counter
Below a Bar Code Command line is used to enter a Code 128 bar code, containing the fi xed data "S" in combination with the actual counter value. It is also set for printing the human readable text below the bar code.
Note:  e narrow to wide ratio is not relevant for Code 128.  e printer will use the value for the narrow bar to defi ne the bar code. (Value 3 for wide bar defi nition is ignored.)
Command Explanation
B280,440,0,1,2,3,96,B,"S"C 0
Bar code, fi xed data + 1:st counter
Place Graphics
 e next line writes a graphic named "Intermec" from memory and posi­tions it on the form.
Command Explanation
GG24,12,"LOGO"
Write graphic from graphics memory
End Programming of this Form
 e closing command that fl ags the end of form, see the full program list­ing later in this chapter.
Command Explanation
FE
Closing command to store form
24 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 5—Editing in Form Edit Mode
Complete List of the Example
Command Explanation
CR/LF to start command structure
FK"TEST"
Delete current form named TEST
FS"TEST"
Start store form named TEST
V00,15,N,"Enter Product name:"
Defi ne 1:st variable
V01,10,L,"Enter Model number:"
Defi ne 2:nd variable
V02,8,N,"Checked by:"
Defi ne 3:rd variable
C0,6,L,+1,"Enter Serial Number:"
Defi ne counter
X0,0,4,752,584
Draw a box
LO0,144,752,4
Draw a line
LO440,232,4,160
Draw a line
A40,400,1,1,1,1,N,"Made in Sweden"
Write a 90˚ text line of fi xed data
A24,160,0,5,1,1,R,V00
Write 1:st variable text fi eld
A24,250,0,4,1,1,N,"MODEL: "V01
Write text line, fi xed data + 2:nd variable
A472,312,0,4,1,1,N,"Checked by: "V02
Write text, fi xed data + 3:rd variable
A24,312,0,4,1,1,N,"SERIAL#: "C 0
Write text line, fi xed data + 1:st counter
B280,440,0,1,2,3,96,B,"S"C 0
Write barcode, fi xed data + 1:st counter
GG24,12,"LOGO"
Write graphic from graphics memory
FE
Closing command to store form
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 25
6
Retrieving and Printing a Form
 is chapter gives a step-by-step example of how a form is retrieved.  e variable data fi elds are manually provided with information after the operator has been prompted to do so on the screen of the host. Finally, the operator orders a label to be printed.
26 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 6—Retrieving and Printing a Form
Example
 e form “TEST”, edited in the previous chapter, can be retrieved and printed from any ASCII sending device using this sequence:
Command Explanation
CR/LF to start command structure
FR"TEST"
Retrieve form
?
Call for variables
EASYCODER
Substitute variable V00
501SA
Substitute variable V01
Dan
Substitute variable V02
100000
Counter start value C0
P1,2 Print 2 copies of a single label
In this example we have manually substituted variables for testing pur­poses.
Note: It is critical to the syntax to send exactly the same number of variable lines as defi ned for this label form.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 27
Chapter 6—Retrieving and Printing a Form
Provided you use the serial interface for communication between printer and host1, you can make the printer return prompts that appear on the screen, requesting the operator to enter input data, by sending a UI command after each power-up.  e optional Keyboard Display Unit automatically sends the
UI command at power-up.
Printer Sends... Command Explanation
CR/LF to start command structure
UI Enable prompts command (optional)
UI80,001 Printer returns code page status
FR"TEST"
Retrieve form
?
Call for variables
Enter Product name:
EASYCODER
Substitute variable V001
Enter Model number:
501SA
Substitute variable V01
Checked by:
Dan
Substitute variable V02
Enter SERIAL#:
100001
100000
Reset, accept, or enter2 counter start value C0
Number of labels sets Prompt
P1 Ignore
P1
Enter P + Quantity of labels
Copies of each label Prompt
1
2 Enter number of copies +
1
/.  e font selected in this example allows uppercase characters only.
28 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 6—Retrieving and Printing a Form
 e example below demonstrates that it is not necessary to set the coun­ter start value again.  e counter internally keeps track of the last number issued as long as the power remains switched on and is updated according to instructions in the form.
Command Explanation
CR/LF to start command structure
FR"TEST"
Retrieve form
?
Call for variables
EASYCODER
Substitute variable V00
501SA
Substitute variable V01
Dan
Substitute variable V02
CR/LF to use existing counter value
P1,2
Print 2 copies of 1 label
Once a form has been retrieved, it can be used over and over again until another form is retrieved. All variable input data and counter values are stored in the volatile memory, which means they will be lost if the printer is switched off or at a power failure. If prompts are enabled, existing data and counter values will be displayed on the screen after the related prompt. Any input data can be overwritten at will.
Command Explanation
?
Call for variables in same form
CR/LF to use existing data in V00
CR/LF to use existing data in V01
Sam
Substitute data in variable V02
200000
Substitute counter start value
P1,1
Print 1 copy of 1 label
Note:  e question mark (?) following the FR command is essential for the printing of certain fi elds edited in the Form Edit Mode, that is fi elds containing variables or counters. Variables and counter start values must be entered or accepted as described above. If no question mark is transmitted, all fi elds containing variable input, that is variables and counters, will be completely omitted from the printout.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 29
7
Commands
 is chapter lists the various commands in alphabetic order. For each command, a short description is given, followed by the syntax for the command and an explanation the of parameters included in the syntax.
Examples of how to use the commands are also given.
30 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Syntax
In the command syntax, there are a few conventions for substituting data or indicating how data can be used:
p1 – pn
Indicates parameters listed separately below the command syntax.
[ ..... ]
Square brackets indicate optional parameters or data.
|
A straight vertical lines indicates alternatives.
"Name"
Enter the name of the form or graphic within double quotation marks
(ASCII 34 dec.), for example "Intermec".
"DATA"
e data could be from another source such as a .PCX fi le, a database,
or entered by the operator. "Data" designates the place in the com­mand sequence to input the data.
Because the fi rmware uses quotation marks "" (ASCII 34 dec.), you
need a special designator (also called escape character) to print text or bar codes which include quotation marks
1
.  e backslash character "\"
(ASCII 92 dec.) serves that purpose for fi xed text data strings:
To print: " enter: " \" " To print: "ABC" enter: " \"ABC\" " To print: \ enter: " \\ " To print: \code\ enter: " \\code\\ "
1
/. If a 7 bit character set is selected, this syntax will not be supported.
All backslash (\) characters will be printed as entered.
Trailing arrow indicate that data continues on the next line. Leading arrow indicate that data is continued from the previous line.
Indicates a linefeed character (LF; ASCII 10 dec.), also see Commands
in Chapter 1.
<name>
Alternative method for writing unprintable ASCII characters, for
example
<ACK> = ASCII 06 dec.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 31
Chapter 7—Commands
A – Print Text
Description is command is used to print an ASCII text string.
Syntax Ap1,p2,p3,p4,p5,p6,p7,"DATA"
Parameters p
1
Horizontal start position (X) in dots.
p
2
Vertical start position (Y) in dots.
p
3
0 No Rotation. Left to right. 1 90 degrees rotation. Left to right 2 180 degrees rotation. Left to right 3 270 degrees rotation. Left to right 4 No Rotation. Top to bottom. Asian fonts (p4=8) only 5 90 degrees rotation. Top to bottom. Asian fonts (p4=8) only 6 180 degrees rotation. Top to bottom. Asian fonts (p4=8) only 7 270 degrees rotation. Top to bottom. Asian fonts (p4=8) only p
4
Font Selection:
203.2 dpi (8 dots/mm) 300 dpi (11.81 dots/mm) 1 20.3 cpi, 6 points (8 x 12 dots) 25 cpi, 4 points (12 x 20 dots) 2 16.9 cpi, 7 points (10 x 16 dots) 8.75 cpi, 6 points (16 x 28 dots) 3 14.5 cpi, 10 points (12 x 20 dots) 15 cpi, 8 points (20 x 36 dots) 4 12.7 cpi, 12 points (14 x 24 dots) 12.5 cpi, 10 points (24 x 44 dots) 5 5.6 cpi, 24 points (32 x 48 dots) 6.25 cpi, 21 points (48 x 80 dots) 8 Asian fonts :
- Korean Korean.24 (24 x 24 dots in double-byte)
- Chinese GB GB.24 (24 x 24 dots in double-byte)
- Chinese BIG-5 Big5.24 (24 x 24 dots in double-byte)
- Japanese Japanese.24 (24 x 24 dots in double-byte)
- Latin (12 x 24 dots in single-byte, included in all .24 fonts) a–z Soft Fonts (dot size controlled by ES com-
mand)
p
5
Horizontal multiplier 1, 2, 3, 4, 6, 8. p
6
Vertical multiplier 1, 2, 3, 4, 5, 6, 7, 8, 9. p
7
N Normal image R Reverse image "DATA" Represents a fi xed data fi eld. When using Asian double-byte fonts, specify both bytes as ASCII decimal
values, starting with the fi rst value being larger than ASCII 127 dec (ASCII 7F hex), or below ASCII 127 (ASCII 7F hex) decimal to specify a Latin character.
32 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Example N A50,0,0,1,1,1,N,"Example 1" A50,50,0,2,1,1,N,"Example 2" A50,100,0,3,1,1,N,"Example 3" A50,150,0,4,1,1,N,"Example 4" A50,200,0,5,1,1,N,"EXAMPLE 5" A50,300,0,3,2,2,R,"Example 6" P1
Note: Font size 5 only supports uppercase characters, see example
5 in the label above.
Remarks e "DATA" fi eld can be replaced by or combined with the com-
mands below:
Variable: Vnn Prints the contents of variable “nn” at this position,
where nn is a 2 digit number from 00-99.
Consecutive Number Counter: Cn Prints the contents of counter “n” at this position,
where n is a 1 digit number from 0- 9.
Cn±x Prints the contents of counter “n” at this position while
setting the counter’s start value to “x”. n and x are 1 digit numbers from 0-9
Enter + to increment or - to decrement.
Example: When labels with consecutive numbers are printed next to each
other across the media, it is done by using a single counter in a single form.
e command Cn±x in our example will be used twice and count
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 33
Chapter 7—Commands
00001 00002 00003
up the single counter by one (1) in each position (last two A­command lines).
Set the Form Step Value p4 to +3 for the counter Cn used in our
example (see the C-command line). Also refer to “C – Counter”.
FK"TEST2" FS"TEST2" C0,5,L,+3,"Counter 0" A180,50,0,3,1,1,N,C0 A380,50,0,3,1,1,N,C0+1 A580,50,0,3,1,1,N,C0+2 FE
is example illustrates how fi xed text, variable text, and counters
can be used in text fi elds in the Form Edit Mode:
FK"TEST1" FS"TEST1" V00,25,l,"Product name" C0,4,L,+1,"Start serial No" A50,50,0,4,1,1,N,"COMPANY NAME" A50,100,0,3,1,1,N,"Product: "V00 A50,150,0,3,1,1,N,"Serial No: "C0 FE
Combination of several options can also be used in a single text
fi eld:
A50,300,0,3,2,2,R,"Deluxe"V01C1"Combo"
:Writes the text “Deluxe” + the contents of variable 01 + the con-
tents of counter 2 + the text “Combo” + the contents of variable
01.
34 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
e Latin font characters (1–5) are dot-mapped diff erently than
the Asian font characters (8). Asian characters do not have any built-in gap between individual characters and will thus be placed adjacently, whereas Latin characters include a single dot border around each character. To create inter-character spacing for Asian fonts, use the i command.
Latin Characters
Asian Characters
White dots (character spacing)
Total character width
Character width
(8 dots)
Character height
12 dots
Total character width (24 dots)
Total character height (24 dots)
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 35
Chapter 7—Commands
e Asian fonts can print character strings running from top to
bottom (p3 = 4–7), as well as the standard Latin word orienta­tion from left to right (p3 = 0–3).  e characters will print in the sequence that they are entered into the data fi eld of the A com­mand.
Horizontal dots
Vertical dots
X-axis
Y-axis
0;0
Feed direction
Point of Origin for Text Object
(p
3
=4)
Point of Origin for Text Object
(p
3
=4)
Point of Origin for Text Object
(p
3
=4)
Point of Origin for Text Object Rotated 270° (p
3
=7)
Point of Origin
for Text Object
Rotated 90°
(p
3
=5)
No Multiplier
2x2 Multiplier
3x3 Multiplier
Point of Origin
for Text Object
Rotated 180°
(p
3
=6)
36 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
B – Standard Bar Codes
Description is command is used to print standard bar codes.
Syntax Bp1,p2,p3,p4,p5,p6,p7,p8,"DATA"
Parameters p
1
Horizontal start position (X) in dots.
p
2
Vertical start position (Y) in dots.
p
3
0 No rotation. 1 90 degrees rotation clockwise. 2 180 degrees rotation clockwise. 3 270 degrees rotation clockwise. p
4
Bar code select. See Bar Code Type table below. p
5
Narrow bar width in dots. See Bar Code Type table below. Bar Code Type "p4" "p5" Code 39 std. or extended 3 1-10 Code 39 with check digit 3C 1-10 Code 93 9 1-10 Code 128 UCC case code 0 1-10 Code 128 Automatic subset selection 1 1-10 Manual selection of Subset A 1A 1-10 Manual selection of Subset B 1B 1-10 Manual selection of Subset C 1C 1-10 Codabar K 1-10 EAN8 E80 2-4 EAN8 2 digit add-on E82 2-4 EAN8 5 digit add-on E85 2-4 EAN13 E30 2-4 EAN 13 2 digit add-on 32 2-4 EAN13 5 digit add-on E35 2-4 Interleaved 2 of 5 2 1-10 Interleaved 2 of 5 with check digit 2C 1-10 Interleaved 2 of 5 w human readable check digit 2D 1-10 Planet PL n.a. Postnet P n.a. UCC/EAN 128 1E 1-10 UPC A UA0 2-4
UPC A 2 digit add-on UA2 2-4 UPC A 5 digit add-on UA5 2-4 UPC E UE0 2-4 UPC E 2 digit add-on UE2 2-4 UPC E 5 digit add-on UE5 2-4 UPC SCC 2U 1-10 p
6
Wide bar width in dots (2 -30).
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 37
Chapter 7—Commands
p
7
Barcode height in dots.
p
8
B Human readables ON. N Human readables OFF. "DATA" Represents a fi xed data fi eld.
Example  is example produces a Code 39 bar code:
N B50,50,0,3,2,6,200,B,"998152-001" P1
Remarks All Bar Codes e "DATA" fi eld can be replaced by or combined with below
commands:
Variable: Vnn Prints the contents of variable “nn” at this position,
where nn is a 2 digit number from 00-99.
Consecutive Number Counter: Cn Prints the contents of counter “n” at this position,
where n is a 1 digit number from 0-9.
Cn±x Prints the contents of counter “n” at this position while
setting the counter’s start value to “x”. n and x are 1 digit numbers from 0-9.
Enter + to increment or - to decrement.
38 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Examples When labels with consecutive numbers are printed next to each
other across the web, it is done by using a single counter in a single form.
e command Cn±x in our example will be used twice and count
up the single counter by one (1) in each position (last two B­command lines).
Set the Form Step Value p4 to +3 for the counter Cn used in our
example (see the C-command line). Also refer to “C command – Counter”.
FK"TEST3" FS"TEST3" C0,6,L,+3,"Counter 0" B120,50,0,2,3,6,100,B,C0 B320,50,0,2,3,6,100,B,C0+1 B520,50,0,2,3,6,100,B,C0+2 FE
 is example illustrates how fi xed text, variable text, and counters
can be used in text fi elds in the Form Edit Mode:
FK"TEST4" FS"TEST4" V00,25,l,"Product name" C0,4,L,+1,"Start serial No" B50,50,0,3,2,6,100,B,"TEXT" B50,200,0,3,2,6,100,B,V00 B50,350,0,3,2,6,100,B,C0 FE
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 39
Chapter 7—Commands
After retrieving and printing the form, the label may look like
this:
Combination of several options can also be used, for example:
B50,300,0,3,1,2,50,B,"Deluxe"V01C2"Combo"
:Writes a Code 39 bar code containing the information “Deluxe”
+ the contents of variable 01 + the contents of counter 2 + the text “Combo” + the contents of variable 01.
Bar Code 128 family e Code 128 family has three unique data character subsets: A,
B, and C.  e choice of subset is done by use of the correspond­ing start character A,B, or C.  e subset can then be changed within the bar code by control characters A, B, C or shift.
Additionally, a set of special functions are available via FNC1,
FNC2, FNC3, and FNC4.  ese can be invoked in a fi xed string part of the data fi eld. In the symbol's human readable part, FNC and subset control characters are represented by a space character.  e data fi eld is a fi xed string and must not exceed 64 alphanu­merical characters.
Code 128 with auto selection of subset and UCC/EAN128 Code 128 and UCC/EAN128 use automatic selection of subset,
both at the start and within the bar code.
Code 128 with manual selection of subset By manually selecting the starting subset of the Code 128
symbol, the user has complete control of how the Code 128 is
40 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
composed. By using the special control characters in the data string, it is possible to switch to other subsets inside the bar code or to insert other special cases as shown in the table below.
Note:  e string invocation rules can only be used in fi xed data
strings, not from within variables.
String invocation rules
Command Type
Text print Bar code
C128 manual selection
Bar code C128 Auto UCC/EAN128
4
Command
ABBBB
Param. p
4
=
- 1A 1B 1C 1, 1E
4
Starts with
- Start A Start B Start C Start A, B, or C (+FNC1
4
)
Invocation in string
Text output
Bar code output
Bar code output
Bar code output
Bar code output
"\"" " " " NA
2
"
"\\" \ \ \ NA
2
\
"\1" 1 <FNC1> <FNC1> <FNC1> <FNC1>
"\2" 2 <FNC2> <FNC2> NA
2
<FNC2>
"\3" 3 <FNC3> <FNC3> NA
2
<FNC3>
"\4" 4 <FNC4> <FNC4> NA
2
<FNC4>
"\A" A Ignore
1
<Code A> <Code A> A
"\B" B <Code B> Ignore
1
<Code B> B
"\C" C <Code C> <Code C> Ignore
1
C
"\S" S <Shift> <Shift> NA
2
S
Char 06
3
Char 06 Char 06 NA
2
NA
2
<FNC1>
1
Nothing happens if invocation code \A \B or \C refer to same Subset,
marked “Ignore.”
2
Not applicable combinations, will give error 01.
3
Character hex 06 in string is a legacy for FNC1 invocation from earlier
implementations of bar code 128.
4
EAN/UCC symbology always has FNC1 in the fi rst data position and
do not support other FNCs.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 41
Chapter 7—Commands
b – Two-Dimensional Bar Codes, General Part
Description is command is used to print complex bar codes; Data Matrix,
PDF417, MaxiCode, and QR Code.  e command consists of two parts; a leading set of general positioning and bar type select parameters, and a trailing code-specifi c part defi ning the bar code’s appearance and its input data.
e general part of the syntax is indicated by italic characters in
the code-specifi c syntax descriptions on the following pages.
Syntax bp
1,p2,p3
,
[code specifi c options]
Parameters p
1
Horizontal start position (X) in dots.
p
2
Vertical start position (Y) in dots.
p
3
Code type: D Selects Data Matrix. M Selects MaxiCode. P Selects PDF417. Q Selects QR Code. [code specifi c options], see the following two pages.
Remarks e standard program packages contains all the two-dimensional
bar codes mentioned above.
If the amount of data will not fi t in the area specifi ed, the indica-
tor will light orange, indicating an error.
42 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
b – MaxiCode
Description e following MaxiCode specifi c options should append the
general part of the two-dimensional code command (indicated by italic characters,
see b command, general part). Only mode 2 and
3 are supported.
Syntax
bp1,p2,p3,
["CL,CO,PC,LPM"]
Parameters CL Class Code (3 digit number). CO Country Code (3 digit number). PC Postal Code (type of input decides mode 2 or 3): Mode 2: U.S.A. (5 digits, 4 digits). Note the separating comma sign! Mode 3: International (6 alphanumeric characters). LPM Low Priority Message (up to 84 alphanumeric characters).
Example N
b100,100,M,"300,400,93065,1692,This is MaxiCode" P1
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 43
Chapter 7—Commands
b – PDF417
Description e following PDF417 bar code specifi c options should append
the general part of the two-dimensional code command (indi­cated by italic characters, see
b command, general part).
Syntax
bp1,p2,p3,
[www,hhh,s,c,p,f,d,x,y,r,l,t,o],"DATA"
Parameters www Maximum print width in dots (3 digits). hhh Maximum print height in dots (3 digits). s Sets error correction level. Legal values are 0 thru 8. If level is not specifi ed, a level that will generate about 1/8 as many ECC code
words as data code words is selected. c Selects data compression method: 0 Selects auto-encoding (default). 1 Selects binary mode. p Print human readable code appended by additional variables: xxx horizontal start location (3 digits). yyy vertical start location (3 digits). mmm maximum characters per line (3 digits). f Center pattern in area: 0 The pattern will print upper left justifi ed in the area defi ned by the w
and h values. 1 The pattern is printed in middle of the area defi ned by the w and h
values (default). d- Print code words: 0 Values of code words not printed (default). 1 Values of code words printed. x- Module width. Legal values are 2-9. y- Set bar height. Legal values are 4-99 dots high. r- Maximum row count (refer to PDF417 specifi cations). l- Maximum column count (refer to PDF417 specifi cations). Note that this character
is lowercase L (ASCII 108 dec.). t- Truncated ag: 0 Not truncated. 1 Truncated. o- Rotation: 0 0° rotation clockwise. 1 90° rotation clockwise. 2 180° rotation clockwise. 3 270° rotation clockwise. "DATA" Represents a fi xed data fi eld.
44 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Remarks If parameter www (max. print width) gives less space than
required by the sum of parameters x- (module width) and l­(max. column count), error condition 50 will occur.
Likewise, if parameter hhh (max. print height) gives less space
than required by the sum of parameters y- (set bar height) and r- (max. row count), error condition 50 will also occur.
Example N b40,40,P,400,300,p40,340,20,f1,x3,y10,r60,
l5,"ABCDEFGHIJK1234567890abcdefghijk"
P1
Note:  e last parameter in the b command above (l5) is lowercase L + the digit 5, not 15!
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 45
Chapter 7—Commands
b – Data Matrix
Description e following Data Matrix specifi c options should append the
general part of the two-dimensional code command (indicated by italic characters, see b command, general part).
Syntax
bp1,p2,p3,
[P4,"DATA"]
Parameters P
4
Narrow bar from 1 to 15.
"DATA" Represents a fi xed data fi eld, maximum 125 characters long.
Example N b40,80,D,5,"123456789012345678901234567890 1234567890123456789012345678901234567890 12345678901234567890" P1
46 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
b – QR Code
Description QR Code is a matrix symbology, defi ned in AIM International
ITS/97-001.
Basic characteristics for QR Code:
QR Code can be encoded as two models;
Model 1 Model 2
Model Version original enhanced
Symbol size in cell, (increment of 4 cells)
21*21 to 73*73 21*21 to
177*177
1. Numeric data mode: Digits 0-9;
Max: 1167 char Max: 7089 char
2. Alphanumeric data mode: Digits 0-9; upper case letters A-Z; nine other characters
Max: 707 char Max: 4296 char
3. 8-bit byte data mode: JIS 8-bit character set (Latin and Kana) in accordance with JIS X 0201
Max: 486 char Max: 2953 char
4. Kanji data mode: Shift JIS X 0208
Max: 299 char Max: 1817 char
5. Mixing mode: Mix of mode 1-4 above
NA Applicable
Note:  e maximum data length in ESim is approximately
780 bytes.
Error correction:
Four levels of Reed-Solomon error correction allowing recovery
of: L 7% M 15% Q 25% H 30%
Masking (intrinsic):
 is enables the ratio of dark to light modules in the symbol
to be approximated to 1:1 whilst minimizing the occurrence of
arrangements of close modules which would prevent effi cient
decoding.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 47
Chapter 7—Commands
 e following QR Code bar code specifi c options should append
the general part of the two-dimensional code command (indi­cated by italic characters, see b command, general part).
Syntax
bp1,p2,p3,
[cn,mn,on,sn,xn,ynn],"DATA"
Parameters c Fixed data mode character set: 1 Numerical data mode 2 Alphanumerical data mode 3 8-bit data mode (JIS 0201) 4 Kanji data mode (JIS 0208) 5 Mixing mode (any of mode c1-c4, model type 2) Default: Model 1 Most optimal alternative of c1 to c4 Model 2 c5 Internally during rendering the QR Code, the mode can be switch within a bar
code to minimize the bit stream area. By using parameter cn, the data mode
character set is fi xed. m Model type is defi ned and unchanged within one QR Code. 1 Original version 2 Enhanced version (recommended). Default. o Rotation: 0 0° rotation clockwise. Default. 1 90° rotation clockwise. 2 180° rotation clockwise. 3 270° rotation clockwise. s Sets correction level. L 7 % Default. M 15% Q 25% H 30% x Masking factor 0-7 or 8 (auto). Default: 8 y Cell pixel size magnifi cation 02-64. Default: 10 "DATA" Represents a fi xed data fi eld. Maximum data length is relative chosen model
type and data mode but is limited to approximately 780 bytes. Ordinary string
controls, like \\ for \ and \" for ".
Errors If data not suitable to optional parameters: Error 01; Syntax error If data too long or out of range: Error 03; Data length
error
If data does not fi t in area specifi ed Error 50
48 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Example N b40,40,Q,sM,x1,"ABCDEFGHIJKLMNOPQRSTUVWHYZ
123456789012345678901234ABCDEFGHIJKLMNOPQR STUVWHYZ1234"
P1
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 49
Chapter 7—Commands
C – Counter
Description is command is used to defi ne one of max. 10 automatic coun-
ters used in consecutive numbering applications, for example serial numbers. Counters can only be used in the Form Edit Mode, not in the Direct Mode.
Syntax Cp
1,p2,p3,p4
,[p5,]"PROMPT"
Parameters p
1
Counter number (0-9).
p
2
Maximum number of digits for the counter (1-29).
p
3
Field justifi cation: L Left justifi cation. R Right justifi cation. C Center justifi cation. N No justifi cation. p
4
Step value. Plus or minus sign followed by a single digit (1-9): + Incrementation.
- Decrementation. p
5
Alphanumerical support (optional):
N Numerical support. Anything else than digit and leading spaces in DATA
will give error 03.
A Alpha support: Base 10 on digits, base 26 on letters. Default
Anything else than digit, leading spaces, and uppercase alpha characters
in DATA will give error 03. Wrap around: 0 9 goes back to 0 A → Z goes back to A B Alphanumerical support: Base 36 Anything else than digit, leading spaces, and uppercase alpha characters
in DATA will give error 03. Wrap around: 0 9 A Z 9 goes to A Z goes to 0 [-] A single leading minus sign in the prompt fi eld will cause the prompt to
be sent one time only after the form is retrieved (Keyboard Display Unit
only, see below). [- -] A double leading minus sign in the prompt fi eld will cause the prompt to
be suppressed (Keyboard Display Unit only, see below). "PROMPT" An ASCII text fi eld that will be transmitted to the Keyboard Display Unit or host
via the serial interface each time a form containing this command is retrieved.
It usually requests the operator to enter the starting value for the counter.
50 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Remarks is command is used in forms that require sequential number-
ing. When initializing counters, they must be defi ned in order (for example C0, C1, C2, etc.) after possible variables.
To print the contents of the counter, the counter number (C0-
C9) is entered in the "DATA" fi eld of
A (Print Text) or B (Print
Bar Code) commands.
Prompts will only be displayed if a UI command has been issued
after last power-up.  e Keyboard Display Unit sends the UI command automatically.
e fi eld justifi cation parameter (p3) aff ects the way the counter
will be printed. When p3 = L, R, or C, the counter value will be printed left, right or center justifi ed in an area with a width defi ned by p2 (number of digits). If no justifi cation is selected (p3 = N), the fi eld will truncated from the right side so as to not exceed the set maximum fi eld length, which may be useful when using a counter as input data to a bar code.
If the start value entered, when the form is retrieved for printing,
is started by one or several zeros (0), the entire area specifi ed by p2 (number of digits) will be padded with leading zeros, that is p3 (fi eld justifi cation) will have no eff ect.
Note: If a single counter is stepped up several times on the same
form, then the step value p4 must be set to the number of times the counter is used in the form or equivalent to what the step values for the single counter add up to in this form. A Cn±x command must also be used when designing the actual form. See the A and B commands.
e table below illustrates how leading space characters ("")
in DATA will be infl uenced by next character at wrap around. If next position is a digit with wrap around (90), space will be incremented to digit 1. If next position is a letter with wrap around (ZA), space will be incrementred to letter A.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 51
Chapter 7—Commands
P5 Counter Command Start Data Data after p4= +1 Data after p4= +2
NC0,3,C,+1,N,"Numerical"
" 99"
"100"
"101"
"999"
"000"
"001"
AC0,3,C,+1,A,"Alpha"
(if no P
5
parameter is included, method A is selected by default).
" A9"
" B0"
" B1"
" Z9"
"AA0"
"AA1"
"0Z9"
"1A0"
"1A1"
" ZZ"
"AAA"
"AAB"
"ZZ9"
"AA0"
"AA1"
BC0,3,C,+1,B,"Alpha-num"
" 99"
" 9A"
" 9B"
" A9"
" AA"
" AB"
" 9Z"
" A0"
" A1"
" ZZ"
"100"
"101"
"ZZZ"
"000"
"001"
Example is form lets you test fi eld justifi cations by entering various start
values when the form is retrieved for printing.
FK"TEST5" FS"TEST5" C0,5,L,+1,"Start value CNT 0" C1,5,R,+1,N,"Start value N-CNT 1" C2,5,C,+1,A,"Start value A-CNT 2" C3,5,N,+1,B,"Start value B-CNT 3" A50,050,0,3,1,1,N,"Cnt Default, left justified :"C0":"
A50,100,0,3,1,1,N,"Cnt Numerical, right → →justified :"C1":" A50,150,0,3,1,1,N,"Cnt Alpha, center → →justified:"C2":"
A50,200,0,3,1,1,N,"Cnt Alpha-num, not → →justified :"C3":"
FE
FR"TEST5" ? A9 99 ZZ9 ZZ9 P3
52 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Protect Counters
When the optional Keyboard Display Unit (KDU) is used,
the label form can be designed to “skip” a consecutive number prompt, thereby protecting the data.  is feature is especially useful when the counter represents a serial number or other types of number, that should never be repeated.
By placing one (1) minus sign as the fi rst character of the
prompt, the prompt will appear only once after the form is retrieved.
Example:
C0,10,L+1,"-Enter Serial Number:"
By placing two (2) minus signs as the fi rst two characters of the
prompt, the prompt will never be displayed.
Example:
C0,10,L+1,"- -Enter Serial Number:"
e protected consecutive number is accessed and modifi ed from
the optional Keyboard Display Unit only.
Enter the following when the KDU is displaying:
FORM - retrieve form F2 - list forms vx.x
1 If necessary, press <Exit> key to display above.
2 Press <F1> key.
3 Press 4 9 1 6.
4 Press the <Form> key.
5 Key in Form name and press <Enter> to retrieve.
6 Enter or modify the consecutive number.
7 When complete, print label to store new number in memory.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 53
Chapter 7—Commands
C – Cut Immediate
Description is command is used to make the cutter perform a cutting cycle
without printing a form.
Syntax C
Remarks e command C is used for two purposes. C appended by
parameters is used to defi ne counters in the Form Edit mode, whereas C without any appending parameters is used to initiate a cutting operation.
C (Cut Immediate) can not be used inside a form or in connec-
tion with a keyboard/display unit (KDU).
To perform self-cleaning of the cutter blade, issue fi ve consecu-
tive C commands without any media loaded.
Example C :Performs a cutting cycle
54 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
D – Density
Description is command is used to select the print density.
Syntax Dp
1
Parameters p1 Density setting (0-15). Default: 10. 0 is the lightest printing and 15 is the darkest.
Remarks e density command is used to control the energy to the
printhead. A number of factors aff ect the actual darkness of the printout:
• Direct thermal printing or thermal transfer printing
Print speed
Diff erent brands of direct thermal media
Diff erent combination between transfer ribbons and receiving face materials
Diff erent ambient temperature/humitity
e printed information may also require the density to be
adjusted. Typically, this applies to diff erent bar code orientations and densitites. Refer to the tables in the pages that follow for recommended initial settings.
Test after the print speed has been set (see
S command) and make further adjustments until you have found the settings which best apply to your unique application.
Example D9 :Selects density 9
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 55
Chapter 7—Commands
Recommended density settings are identifi ed in the following tables. Fur­ther adjustments might be necessary depending on print speed, bar code density, orientation, and ambient temperature/humidity conditions.
Direct Thermal Printing
Label/Tag Type Rec. Density
at Speed S = 2
Max. Speed
Duratherm II D10 S3
Duratherm II Tag D9 S1
Duratherm Lightning D9 S3
Duratherm IR D7 S3
 ermal Top D8 S3
 ermal Eco D8 S3
 ermal Top Board D11 S2
 ermal Eco Board D7 S2
 ermal IR D12 S3
 ermal Top High Speed D6 S3
56 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Thermal Transfer Printing
Label/Tag Type Ribbon Type Rec. Density
at Speed S = 2
Max. Speed
Duratran II Standard D4 S3
Duratran II Tag Standard D4 S2
Duratran II Premium D5 S3
Duratran II Tag Premium D6 S2
Kimdura Premium D6 S3
Matte Polyester Premium D6 S3
Gloss Polyester Super Premium D7 S3
TTR Uncoated GP02 D1 S2
TTR Matte Coated HP05 D6 S3
TTR Premium HP05 D4 S3
TTR Premium Board HP05 D7 S1
TTR Polyethylene HP05 D2 S3
TTR Gloss Polyethylene HP05 D5 S3
TTR High Gloss White Premium HP05 D7 S3
TTR Matte Coated HP07 D7 S3
TTR Premium HP07 D5 S3
TTR Premium Board HP07 D8 S1
TTR Polyethylene HP07 D4 S3
TTR Gloss Polyethylene HP07 D8 S3
TTR High Gloss White Premium HP07 D9 S3
TTR High Gloss Polyester HR03 D7 S3
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 57
Chapter 7—Commands
EI – List Soft Fonts
Description is command makes the printer print a list of all soft fonts that
are stored in memory.
Syntax EI
Remarks is command is related to
ES (Store Soft Fonts) and EK (Delete
Soft Fonts).
Example EI :Print a soft font list
58 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
EK – Delete Soft Font
Description  is command is used to delete soft fonts from memory.
Syntax EK["name"|"*"]
Remarks Soft fonts are stored using the ES command and listed using the
EI command.
Soft fonts can also be deleted from the printer using for example
Intermec LabelShop or Intermec InterDriver.
Example EK"a" :Deletes font "a" EK"*" :Deletes all soft fonts
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 59
Chapter 7—Commands
ES – Store Soft Font
Description is command is used to download and store soft fonts in
memory.
Syntax ES"name"p1p2p3a1b1c1"data
1...anbncn
"datan"
Parameters "name
1-n
" Name of the soft font (one lowercase letter only in the range a–z). Lower
case named fonts minimize soft font memory usage to only store fonts downloaded and have 256 character limit.
p
1
Number of characters to be downloaded using hexadecimal coding. Range
00–FF hex (1–256 characters per soft font set).
p
2
Character rotation using hexadecimal coding: 00 hex: 0 and 180 degrees 01 hex: 90 and 270 degrees clockwise 02 hex: All for directions (2 pairs) p
3
Font height measured in dots and specifi ed using hexadecimal coding. Range
00–FF hex. Font height includes accentors and dissenters of character and
need to fi t in the character cell of 256 dots = 32.03 mm (1.26 inches). a Map position of character using hexadecimal coding. Range 00–FF hex. b Spacing to next print character in dots using hexadecimal coding. Range
00–FF hex. Must be greater than or equal to the character width specifi ed
by parameter c. c Width of character in dots using hexadecimal coding. Range 00–FF hex. "data" p3 x c1 = bit map data (in bytes). Data is received in bytes on a line by line
basis. The font character’s 0,0 cell map position is in the top left corner of
the map as viewed in the 0 degree rotation.
Repeat parameters a, b, c, and data for each character until all characters
in the set have been downloaded.
For fonts with the rotation parameter p2 set to 02 hex (all directions), repeat
the individual font character download for each 90° rotated character from
the start of the character set until all rotated characters in the set have been
down loaded. The number of individual character maps downloaded will
be double the characters in the font set (p1).
60 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Remarks is picture illustrates the parameters p3, b, and c:
e black and white bitmap that represents the character must
be converted to hexadecimal code.  e bitmap is described line by line from left to right, starting from the upper left corner of the character cell. A white dot is represented by 0 and a black dot by 1. Each byte (that is 8 dots) will thus form a binary number, that is converted to hexadecimal code.  e last byte in a line is padded with zeros to complete the line and data byte.  e data is the sent to the printer as a continuous string of hexadecimal byte representations in line order.
Soft fonts can also be downloaded to the printer using for
example Intermec LabelShop or Intermec InterDriver.
Soft fonts can be listed using the
EI command.
b = 10 dots (0A hex)
Reference point
p
3
= 12 dots (0C hex)
c = 8 dots (08 hex)
b minus c = spacing between
characters (actually white dots)
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 61
Chapter 7—Commands
is example shows how a character in 0° and 90° rotation is
downloaded to the printer:
Starting Point
Line 1: 00000000 01111100 00000000 = 00 7C 00 Line 2: 00000000 01111100 00000000 = 00 7C 00 Line 3: 00000000 01111100 00000000 = 00 7C 00 Line 4: 00000000 11111110 00000000 = 00 7E 00
.....
.....
Starting Point
Line 1: 01 10000000 00000000 00000000 = 01 80 00 00 Line 2: 01 11100000 00000000 00000000 = 01 E0 00 00 Line 3: 01 11111100 00000000 00000000 = 01 FC 00 00 Line 4: 00 11111111 00000000 00000000 = 01 FF 00 00
.....
.....
62 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
eR – User-Defi ned Error/Status Character Control
Description is command controls the format of error messages, mostly
when command US has enabled the printer’s status reporting fea­ture, but also at some high priority error types when command UN has disabled status report.
Syntax eRp1,p2[,p3]
Parameters p1 Reply error action single character when error occurs:
Value of p1 is one single ASCII-character, except hex 00. Default: 0 p
2
Mode of User Defi ned Error/Status Character reply (one ASCII-numerical):
p
2
= 0 Mode of Reply Default, where error number is NN: Output at error action: <NAK>NN<XOFF> Output at error recovery: <XON> p
2
= 1 Mode of Reply only with character, defi ned by p1: Output at error action: <p1><CRLF> Output at error recovery: <p3><CRLF> p
2
= 2 Mode of Reply with character p1 and error number NN: Output at error action: <p1>NN<CRLF> Output at error recovery: <p3>00<CRLF> p
2
= 6 Mode of <XOFF> and <XON> replacement: Like default mode (0), but with all <XOFF> replaced by p1 and all
<XON> replaced by optional p
3
: Output at error action: <NAK>NN<p1> Output at error recovery: <p
3
>NN
p
3
Optional recovery action single character:
The normal recovery character <XON> will be replaced by character p
3
. Value of p3 is one single ASCII-character, except hex 00. If no p3 is available, p1 is used instead as recovery action character.
Remarks Exception of output: Error 07 “Out of media or ribbon”, is
added after 07 with Pnnn or Rnnn, where nnn = numbers of remaining labels:
Output at error media action (mode 0):
<NAK>07Pnnn<XOFF>
Output at error ribbon action (mode 0):
<NAK>07Rnnn<XOFF>
Output at error recovery:
<XON>
Mode 1, 2 and 6 changes the output in a similar way.
All parameters are saved in Flash. If more than one error occur
at the same time, there will be an output for each error recovery, like
<p1>00<CRLF> on mode 2. Refer to Appendix A for
more information on error-handling.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 63
Chapter 7—Commands
Example
Command Manual action Reply Comments
US
<ACK> Enable Error Reporting
eRC,2,Q
(Nothing hap­pens)
Reply error with character ‘C’ and error NN and at recovery with character ‘Q’
Open cover C11<CRLF> Manual action generates error 11
Close cover Q00<CRLF> Manual recovery on error 11
64 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
f – Cut Position
Description is command is used to adjust the cutting position along the
Y-axis in relation to the media according to characteristics of individual printers and batches of media.
Syntax fp
1
Parameters p1 Cut position index measured in dots:
203.2 dpi (8 dots/mm): Recommended: 070–130. Min/max: 020–180 (lower or higher values ignored). Default: 100
300 dpi (11.81 dots/mm): Recommended: 050–150. Min/max: 000–200 (lower or higher values ignored). Default: 100
Remarks When using labels on liner, the printer will advance each printed
label to the cutting position (between two labels) according to the program before the liner is cut. Due to diff erences between batches of media, the printer may not cut exactly between labels, but either cut a slice at the last part of the printed label or a slice at the front part of next label.
Cutting through labels should be avoided, because the adhesive
will stick to the cutting parts and prevent them from operating properly.
If the cut occurs in the already printed label, increase the cut
position index value.
If the cut occurs in the next label, decrease the cut index value.
Example f110 :Increases the cut position index value.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 65
Chapter 7—Commands
FE – End Store Command
Description is command is used to end a Form Store sequence.
Syntax FE
Remarks e Form Store sequence is started with the
FS command and
ended with the FE command.
Example FS"formname" :Starts Form Store
.....
FE :Ends Form Store
66 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
FI – Print Form Information
Description is command makes the printer produce a list of all forms
stored in memory.
Syntax FI
Remarks e FI command will be executed directly, without appending
any Linefeed.
Hint: Issue a FI command after having stored a form to make sure
the storing was successful and to check the amount of free form memory.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 67
Chapter 7—Commands
FK – Delete Form
Description is command is used to delete a specifi ed form or all forms
from memory.
Syntax FK"name"|"*"
Parameters "name" By entering a name of a form, that form only will be deleted from memory.
"*" By entering an asterisk (*) as wildcard, all forms will be deleted from
memory.
Examples FK"FORM1" :Deletes "FORM1" FK "*" :Deletes all forms
68 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
FR – Retrieve Form
Description is command is used to retrieve a form that was previously
stored in memory.
Syntax FR"name"
Parameters "name" This is the form name used when the form was stored. The printer is case -
sensitive, that is, the use of upper and lower case letters must match the original name.
Remarks To print a list of the forms currently stored in memory, use the
FI command.
Example FR"Test1" :Retrieves the form named "Test1"
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 69
Chapter 7—Commands
FS – Form Store
Description is command is used to begin a Form Store sequence.
Syntax FS"name"
Parameters "name" This is the form name that will be used when retrieving the stored form. The
name may be from 1 to 8 characters. The printer is case sensitive, that is form names will be stored with the exact case entered on the FS command line.
Remarks All commands following FS will be stored in the Forms memory
until a FE command is received, ending the form store process. If a form with the same name is already stored in memory, the FS command will result in an error and the old form will be retained. When updating a form, use the
FK command to delete the old version before storing the new version. To print a list of the forms currently stored in memory, use the FI command.
Global commands, such as EI, EK, ES, FI, FK, GI, GK, GM, I,
M, N, P, U, UE, UF, UG, UI, UM,UP, UN, US, Y, W, ?, or ^@ should not be used in a form store sequence.
Always make backup copies on the host! If you need to change
the memory allocation (see M command), all formats and graphics stored in the printer and memory cartridge will be lost.
Startup Form A special case of forms is the startup form, that is automatically
retrieved and prompted for variables (if necessary) each time power is applied to the printer. A startup form is created by naming the form "AUTOFR". To exit the "AUTOFR" mode, send XOFF or NULL to the printer on the serial interface.
Note: Always test the form using another name before making
it a startup form. If a startup form causes an error, there are two ways of clearing it:
• If the indicator lamp shines green, send XOFF or NULL to exit "AUTOFR" mode.  en delete the startup fi le using FK "AUTOFR"
• If the indicator lamp shines orange, there is no communica­tion and the memory must be erased by pressing the Feed button for more than 3 seconds in the Dump Mode.
Example FS"TEST1" :Begins the form store sequence of
"TEST1"
.....
FE :Ends the form store sequence of "TEST1"
70 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
GG – Print Graphics
Description  is command is used to print a graphic that has been previously
stored in memory.
Syntax GGp1,p2,"name"
Parameters p1 Horizontal start position (X) in dots.
p
2
Vertical start position (Y) in dots.
"name" This is the name used when the graphic was stored. The name may be from 1
to 8 characters. The printer is case sensitive, that is the use of upper and lower case letters must match the original name.
Remarks A graphic can only be printed in same direction and size as when
it was saved.  ere are no means of magnifi cation or rotation of an individual graphic. However, the entire print image including all text, bar codes, graphics, lines, and boxes can be rotated 180° using the Z command.
Example GG50,50,"LOGO" :Prints the graphic "LOGO"
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 71
Chapter 7—Commands
GI – Print Graphics Information
Description is command will cause the printer to print a list of all graphics
stored in memory.
Syntax GI
Remarks e GI command will be executed directly, without appending
any Linefeed.
Hint: Issue a GI command after having stored a graphic to make
sure the storing was successful and to check the amount of free graphic memory.
Example GI :Prints graphics list
72 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
GK – Delete Graphics
Description is command is used to delete a specifi ed graphic or all graphics
from memory.
Syntax GK"name"|"*"
Parameters "name" By entering a name of a form, that form only will be deleted from memory.
"*" By entering an asterisk (*) as wildcard, all forms will be deleted from
memory.
Examples GK"LOGO" :Deletes "LOGO" GK"*" :Deletes all graphics
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 73
Chapter 7—Commands
GM – Store Graphics in Memory
Description is command is used to store PCX graphics fi les in the Flash
memory.
Syntax GM"name"p1↵"DATA"
Parameters "name" This is the name that will be used when retrieving the stored graphic (max. 8
characters). The printer is case sensitive, that is, graphic names will be stored with the exact case entered on the GM command line.
p
1
This is the size of the original .PCX fi le in bytes. In DOS, the DIR command can
be used to determine the exact fi le size.
"DATA" The graphics data in 1-bit (black & white) PCX format. The resolution of the
graphics must match resolution of the printer.
Remarks e GM command saves the graphics in the Flash memory, so
it will not be lost at power off . Use it for graphics that are used frequently and do not change, for example the logotype of your company. Compare with GW command. In a DOS system, the "DATA" portion can be sent to the printer via the parallel port using the DOS COPY command.
Examples Assume you have a PCX file named LOGO.PCX in your current
directory. Use a text editor to create a text file called for example STOREIT.TXT and store it in the same directory as the .PCX file.
GM"LOGO"1421
To store the image in the default printer, at the DOS prompt
type:
COPY STOREIT.TXT PRN COPY LOGO.PCX PRN /b
To store the image in the printer connected to port LPT1, at the
DOS prompt type:
COPY STOREIT.TXT LPT1: COPY LOGO.PCX LPT1: /b
The
GI command can be used to verify that the graphic was suc­cessfully stored. If not, check that the .PCX file is in 1-bit (black & white) format and that the printer’s free graphics memory is large enough to accommodate the graphics.
Always make backup copies on the host! If you change the
memory allocation (see
M command), graphics stored in the
printer and memory cartridge will be lost.
74 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
e following sequences show how to generate the image
”PYRAM” and print two copies. Image “PYRAM” is saved as a PCX-fi le (version 2) in monochrome mode with a size of 32*32 dots. Data below is shown in hex and ASCII format:
0000 0010 0020 0030 0040 0050 0060 0070 0080 0090 00A0 00B0 00C0 00D0 00E0 00F0 0100 0110 0120 0130
0D 0A 47 4D 22 50 59 52 41 4D 22 32 39 34 0D 0A 0A 02 01 01 00 00 00 00 1F 00 1F 00 0E 00 0E 00 00 00 00 FF FF FF 00 00 1D 04 00 00 00 00 00 00 38 42 13 00 EC E9 12 00 03 00 00 00 90 41 13 00 FF FF FF FF 00 00 00 00 FF FF FF FF DC E9 12 00 00 01 04 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C1 FF C1 00 00 C1 FF 80 C1 FF C1 FF 01 BF 80 01 C1 FD A0 7F C1 FE 05 AF C1 C0 03 C1 F5 A8 3F C1 FC 15 AB C1 E0 07 C1 D5 AA 1F C1 F8 55 6A C1 F0 0F 56 5A 8F C1 F1 5A 56 B8 1D 6A 55 A7 C1 E5 AA 55 6C 36 AA 55 5B C1 DA AA 55 56 6A AA C1 55 55 C1 AA AA C1 55 55 C1 AA AA 55 56 6A AA 55 5B C1 DA AA 55 6C 36 AA 55 A7 C1 E5 AA 56 B8 1D 6A 5A 8F C1 F1 5A 6A C1 F0 0F 56 AA 1F C1 F8 55 AB C1 E0 07 C1 D5 A8 3F C1 FC 15 AF C1 C0 03 C1 F5 A0 7F C1 FE 05 BF 80 01 C1 FD 80 C1 FF C1 FF 01 C1 FF C1 00 00 C1 FF
..GM”PYRAM”294..
................
................
8B...........A..
................
................
................
................
................
................
..............?.
............Uj..
.VZ...ZV..jU....
Ul6.U[...UVj..UU
....UU...UVj.U[.
..Ul6.U....V..jZ
...Zj...V....U..
.....?..........
................
......
Save image PCX-header
PCX-header end PCX data
PCX data end
Now, the image is stored on FLASH and can be used anywhere
and several times on the printout, as this example below.
N GG0,0,"PYRAM" GG50,50,"PYRAM" P
 e result will be a printout shown below:
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 75
Chapter 7—Commands
GW – Store Graphics in Image Buff er
Description is command is used to store binary graphics fi les directly in the
image buff er.
Syntax GW p1,p2,p3,p4,"DATA"
Parameters p
1
X-position in printer dots.
p
2
Y-position in printer dots.
p
3
Number of bytes across the graphic (8 dots = 1 byte).
p
4
Number of dot rows going down the graphic.
"DATA" The graphic data in 1-bit (black & white) binary format. First data-byte represent
dots in upper left corner and next data-byte next to the right. “1” bits are white dot-positions and “0”-bits are black dot-positions. The total amount of “DATA”–bytes are p3 * p4.
Remarks Use this command instead of GM for temporarily used graph-
ics, for example images that change between each label. Not only is this method faster, but it also prolongs the life of the fl ash memory as the graphics are downloaded directly to SRAM.
e printer’s fi rmware will calculate exactly how much data to
expect based on p3 and p4.
Example e following sequence shows how to generate and print an
image of a reduced square of 32*32 dots, with a diagonal line, all lines 1 dot wide. Data below is shown in hex format:
0000 0010 0020 0030 0040 0050 0060 0070 0080 0090
4E 0D 0A 47 57 32 30 2C 31 30 2C 34 2C 33 32 2C 00 FF FF 00 3F FF FF FE 5F FF FF FE 6F FF FF FE 77 FF FF FE 7B FF FF FE 7D FF FF FE 7E FF FF FE FF 7F FF FF FF BF FF FF FF DF FF FF FF EF FF FF FF F7 FF FF FF FB FF FF FF FD FF FF FF FE FF FF FF FF 7F FF FF FF BF FF FF FF DF FF FF FF EF FF FF FF F7 FF FF FF FB FF FF FF FD FF 7F FF FE FE 7F FF FF 7E 7F FF FF BE 7F FF FF DE 7F FF FF EE 7F FF FF F6 7F FF FF FA 7F FF FF FC 00 00 00 00 50 0D 0A
N..GW20,10,4,32,
....?..._...o...
w...{...}...~...
................
................
................
................
...~............
................
P..
e result will be a printout shown below:
76 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
I – Character Set Selection
Description is command is used to select the proper character set.
Syntax Ip
1,p2,p3
Parameters p
1
Number of data bits (7 or 8). Default 8.
p
2
Printer Code Page (1 digit, see table 1 below). Default 0.
p
3
KDU Country Code (3 digits, see table 2 below). Default 001. (Only if p1= 8.)
Table 1. Printer Code Page (p2)
7 data bits (p1=7) 8 data bits (p1=8)
p
2
Country p
2
Code Page Country
0 U.S.A 0 437 United Kingdom
1 United Kingdom 1 850 Multilingual (Latin 1)
2 Germany 4 863 Canada (French)
3 France 5 865 Norway
4 Denmark
7 Sweden
8 Switzerland
In case code pages 437, 863, or 865 cannot produce the desired
characters, use code page 850 Multilingual.
Table 2. KDU Country Code (p3)
Code Country Code Country
001 U.S.A. 041 Switzerland
002 Canada 044 United Kingdom
003 Latin America 045 Denmark
027 South Africa 046 Sweden
031 Netherlands 047 Norway
032 Belgium 049 Germany
033 France 351 Portugal
034 Spain 358 Finland
039 Italy
For additional code page examples, refer to Chapter 9.
Example I8,1,046 :Selects 8 bit character set for use in
Sweden with a Keyboard Display Unit.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 77
Chapter 7—Commands
i – Asian Character Spacing
Description is command places an adjustable inter-character space between
Asian font characters.  e inter-character spacing gets multiplied with the text string by the selected font’s horizontal and vertical multiplier values (See
A command).
Syntax ip1
Parameters p
1
Space in dots between Asian characters (0–9). Default 0
Example i8 :Selects an 8 dots spacing between Asian characters.
1 Character
1 Character 1 Character
1 CharacterSpacing
i Command
Parameter p1 set to 0 (default)
i Command
Parameter p
1
set to 8 (dots)
78 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
JB – Disable Top of Form Backup
Description is command disables automatic top of form backup of the
media.
Syntax JB
Remarks Top of form backup is used in connection with the
j command, which makes the printer feed out an extra amount of media after printing the label, so as to allow the media to be torn or peeled off properly. It does not work with a cutter.
By default, the media is pulled back before printing the fi rst label
in next batch as to allow the printing to start at the top of the label, see JF command.
e JB command will disable this function, that is any j com-
mand will be ignored, and the printer will stop feeding when the end of the label becomes aligned with the printhead’s dot line. However, the j command is kept stored in memory and can be enabled again using a
JF command. To disabled top of form baclup with a cutter, fi rst send an O command followed by a JB command.
Example JB :Disables top of form backup
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 79
Chapter 7—Commands
JF – Enable Top of Form Backup
Description is command enables automatic top of form backup of the
media.
Syntax JF
Remarks Top of form backup is used in connection with the
j command, which makes the printer feed out an extra amount of media after printing the label, as to allow the media to be torn, peeled, or cut off properly.
By default, top of form is enabled, that is the media is pulled
back before printing the fi rst label in next batch as to allow the printing to start at the top of the label.
Top of form backup can be disabled by a JB command, that is,
any j command will be ignored, and the printer will stop feeding when the end of the label becomes aligned with the printhead’s dot line. In case of a cutter, the JB command must be preceeded by an
O command. However, the j command is kept stored in
memory and can be enabled again using a JF command.
Activating the cutter using an OC command has the same eff ect
as issuing a JF command.
Example JF :Enables top of form backup
80 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
j – Media Feed Adjustment
Description is command makes it possible to set the media feed for tear-off
(straight-through), peel-off (self-strip), or cut-off operation.
Syntax jp
1
Parameters p1 Length of media feed after printing in dots (0-160). Recommended values at 203.2 dpi (8 dots/mm):
• Tear-off (straight-through) operation: 136 (default)
• Peel-off (self-strip) operation: 110 Recommended values at 300 dpi (11.81 dots/mm):
• Tear-off (straight-through) operation: 204 (default)
• Peel-off (self-strip) operation: 165
Remarks When using peel-off operation, the labels should remain slightly
stuck to the liner (backing paper) so they do not fall off by their own weight, still can be manually removed with ease.
In case of tear-off operation, the media should be fed so the
preperforation between tags or the gap between labels become aligned with the tear bar.  e j command allows the media feed to be adjusted accordingly, that is after the printer has been printed and the rear edge becomes aligned with the printhead's dot line, an extra amount of media feed is performed.
Do not use extremely small or large values for the j command,
since they may cause the printer to feed or pull back the media continuously.
e extra media feed set by the j command can be enabled or
disabled using JF and JB “Top of Form Backup” commands respectively. By default “Top of Form Backup” is enabled.
Examples j110 :Adjustment for peel-off operation at 8 dots/mm j136 :Adjustment for tear-off operation at 8 dots/mm
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 81
Chapter 7—Commands
LE – Line Draw Exclusive
Description is command is used to draw black lines where the line will be
white when intersecting a black area or object and vice versa.
Syntax LEp1,p2,p3,p
4
Parameters p
1
Horizontal start position (X) in dots.
p
2
Vertical start position (Y) in dots.
p
3
Horizontal length in dots.
p
4
Vertical length in dots.
Example N :Clears image buffer LE50,200,400,20 :Draws line A LE200,50,20,400 :Draws line B P1 :Prints one label
Line A
Line B
Intersection
82 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
LO – Line Draw Black
Description is command is used to draw black lines, overwriting previous
information.
Syntax LOp1,p2,p3,p
4
Parameters p1 Horizontal start position (X) in dots. p
2
Vertical start position (Y) in dots.
p
3
Horizontal length in dots.
p
4
Vertical length in dots.
Example N :Clears image buffer LO50,200,400,20 :Draws line A LO200,50,20,400 :Draws line B P1 :Prints one label
Line A
Line B
Intersection
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 83
Chapter 7—Commands
LS – Line Draw Diagonal
Description is command is used to draw diagonal black lines overwriting
previous information.
Syntax LSp1,p2,p3,p4,p5
Parameters p
1
Horizontal start position (X) in dots.
p
2
Vertical start position (Y) in dots.
p
3
Line thickness in dots.
p
4
Horizontal end position (X) in dots.
p
5
Vertical end position (Y) in dots.
Example N :Clears image buffer LS10,10,20,200,200 :Draws diagonal line P1 :Prints one label
84 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
LW – Line Draw White
Description is command is used to draw white lines, eff ectively erasing
previous information.
Syntax LWp1,p2,p3,p
4
Parameters p1 Horizontal start position (X) in dots. p
2
Vertical start position (Y) in dots.
p
3
Horizontal length in dots.
p
4
Vertical length in dots.
Example N↵ :Clears image buffer LO50,100,400,20 :Draws black line A LO50,200,400,20:Draws black line B LO50,300,400,20 :Draws black line C LW200,50,20,400 :Draws white line D P1 :Prints one label
Line A
Line B
Line C
Line D (dotted border not printed in reality)
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 85
Chapter 7—Commands
M – Memory Allocation
Description is command is used to allocate or partition the printer’s
memory into separate areas for image buff er, forms, graphics, and external (soft) fonts.
Syntax Mp1,p2,p
3
Parameters p
1
Fixed image buff er area (SRAM). Some value must be entered, but it will be
ignored.
p
2
Form memory area in whole kilobytes (Flash).
p
3
Graphic memory area in whole kilobytes (Flash).
The remainder of the user-available part of the Flash memory will, after
allocation of form memory (p1) and graphics memory (p2), be allocated as soft font memory.
Remarks e command to allocate the memory may have to be performed
to initialize the printer if the current memory areas are too small.
Note:  e M command will also erase all forms and graphics and
return printer default settings.
Default Memory Allocation e M command line will set the form memory area and the
graphic memory area in the printer’s built-in Flash memory.  e remainder of the Flash memory available to the user will auto­matically be allocated to the external (soft) fonts memory, which is intended for bitmap fonts downloaded using external software. By default, the printer’s memory is allocated like this:
SRAM memory Firmware: 120K Not available to the user Print image buff er (p1): 392K Fixed size Sum: 512K
Flash Memory Firmware: 778K Not available to the user
Form memory (p2): 30K Graphics memory (p3): 30K 214K available to user Soft fonts memory: 154K
Sum: 992K
86 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Memory Cartridges e printers can be fi tted with a memory cartridge containing an
additional 256K of SRAM and/or 1 MB fl ash memory.
256K SRAM Cartridge Expands image buff er by 392K to a total of 648K.
1 MB Flash Cartridge Expands form, graphics, and external font memory areas by 1MB
to a total of 1.2MB.
Checking the Memory Allocation e amount of memory and the current allocation can be printed
on a label using the
U command, or by printing a test label in
the Dump Mode, see page 2.
When to Re-allocate the Memory
• If you need to change the size of the forms memory to accom­modate more or less forms.
• If you need to change the size of the graphics memory to accommodate more or less graphics.
Image Buff er e image buff er is the area where the active print image is
temporarily stored. Calculate if you need to expand the image memory with an SRAM memory cartridge by measuring the largest full width form intended to be printed (take future needs into consideration).
For less than full width labels, also refer to the q command,
which allows trading off print width for increased label length with the same image buff er size.
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 87
Chapter 7—Commands
Formulas for calculating the theoretical requirement of SRAM
memory for a label (X) in Kbytes:
8 dots/mm (203.2 dpi):
X = [(Height in mm x 8) x (Width in mm x 8)]/ (1024 x 8)
or
X = [(Height in inches x 203.2) x (Width in inches x 203.2)]/(1024 x 8)
11.81 dots/mm (300 dpi):
X = [(Height in mm x 12) x (Width in mm x 11.81)]/ (1024 x 8)
or
X = [(Height in inches x 305) x (Width in inches x 300)]/(1024 x 8)
Because of the way the memory is organized, a slightly larger
amount of memory may be required.
Form Memory e Form memory is for permanent storage of label forms in
fl ash. A form requires 1 kbyte or more of memory.
Graphics Memory e Graphics memory is for permanent storage of label graph-
ics in fl ash. Avoid storing frequently changing graphics in fl ash using a
GM command, but download them directly to the image buff er using a GW command.  e latter method is quicker and prolongs the life of the fl ash memory.
Examples Resetting the memory via the serial port: e example below formats the memory to allocate extra
memory to the graphics memory at the expense of the external fonts memory, whereas the size of the form memory is retained at default value.
Note that the memory allocation values returned for example by
a U command may diff er slightly from the values entered using an M command because of certain round off calculations in the fi rmware.  is should have few practical consequences and can generally be ignored.
M170,30,170
88 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
N – Clear Image Buff er
Description is command is used to clear the image buff er before building
a new image. It also clears any error list that not yet has been presented.
Syntax N
Remarks e N command is essential when printing labels in the Direct
Mode. It is not necessary to use an N command before printing a form. An N command must not be used inside a form in the Form Edit Mode.
Example N :Clears image buffer
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 89
Chapter 7—Commands
O – Options Select
Description is command is used to enable or disable various sensors and
the cutter.
Syntax O[S[,N[,D[,Cnnn|Cb]]]]
Parameters S Enable reverse gap sensing.
N Disable label taken sensor. D Disable ribbon end sensor Cnnn Print nnn labels (1-255) before cutting. Cb Print batch before cutting.
Parameters can be entered in any order. Default: ON
Remarks S: Reverse Gap Sensing Enabled is parameter reverses the operation of the label gap sensor so
it interprets a blockage of light as a gap between labels or similar. Before using the S parameter, make sure to load the EasyCoder C4 printer with the appropriate type of media. By default, the sensor will interpret blockage of light as a label or similar.
N: Label Taken Sensor Disable When the label taken sensor is enabled, the communication to
the printer will be BUSY as long as the sensor detects a label in the outfeed slot. (Does not work with a cutter—use ON to dis­able the sensor.)
D: Ribbon End Sensor Disable e ribbon end sensor (thermal transfer models only) detects
refl ections from the trailing silvery part of the transfer ribbon.
Direct  ermal Mode: If the ribbon end sensor is disabled
parameter, density settings (see
D command) are interpreted via a
table that gives an optimized printout for direct thermal printing.
 ermal Transfer Mode: If the ribbon end sensor is enabled, an
error will occur if no refl ection is detected.  e density settings (see
D command) are interpreted via a table that gives an opti-
mized printout for thermal transfer printing.
C: Cutter Enabled If option C is enabled, cutting will be performed after print.
Commands
JF and JB will be disabled, but their values will
remain stored in memory.
If option C is disabled, no cutting will be performed after print.
Commands
JF and JB will be enabled. Command f will be dis-
abled but its value will remain stored in memory.
90 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
e following table illustrates the results of some combinations of
the various O command parameters:
Command LTS (N) DT/TTR
Mode (D)
Reverse Gap (S)
Cutter (C)
O Enable TT Mode Disable Disable
OD Enable DT Mode Disable Disable
OS Enable TT Mode Enable Disable
OD,S Enable DT Mode Enable Disable
OS,Cnnn|b Enable TT Mode Enable Enable
OD,S,Cnnn|b Enable DT Mode Enable Enable
ON Disable TT Mode Disable Disable
ON,D Disable DT Mode Disable Disable
ON,D,S Disable DT Mode Enable Disable
ON, Cnnn|b Disable TT Mode Disable Enable
OCnnn|b not used TT Mode Disable Enable
OD,Cnnn|b Disabled DT Mode Disable Enable
Example ON,D :Enable DT Mode :Disable LTS :Disable reverse gap sensor :Disable cutter
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 91
Chapter 7—Commands
oR – Character Substitution
Description is command allows the advanced programmer to substitute the
Euro currency character (€) for any ASCII character in printer­resident fonts 1-5.  e original character can be restored by sending the oR command.
Syntax oR[p1[,p2]]
Parameters p
1
If p1 = E, the Euro character will be mapped to the code page position specifi ed
by p2. If no p1 or p2 parameters are given, all code pages will be reset to original default character mapping.
p
2
Specifi es the code page position for the Euro character in the range ASCII 32-255
decimal for all code pages, provided p1 = E. If p2 is omitted, the Euro character will be mapped to the code page position ASCII 213 decimal for all code pages, provided p1 = E.
Remarks e oR command is a global printer command.
• It cannot be issued inside a form.
• It must be issued prior to issuing a text command and printing it.
It aff ects a single character on all code pages. Changing the character position will restore the original character.
• Flash memory printer parameter data are preserved until they are changed by the oR command or the printer is reset to default.
Examples oRE↵ :Places the Euro character in position
ASCII 213 dec.
oRE,128 :Places the Euro character in position ASCII 128
dec.
oR :Clears character substitution and
restores default character maps
92 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
P – Print
Description is command is used to print the contents of the image buff er.
Syntax Pp1[,p2]
Parameters p1 Numbers of label sets (1-65535).
p
2
Number of copies of each label (1-65535). Used in combination with counters
to print multiple copies of the same label.
Remarks Important! e P command cannot be used inside a stored form sequence.
For automatic printing of stored forms, use the PA command.
Examples P :Prints one label set P1 :Prints one label set P2,1 :Prints two label sets of one label each P5,2 :Prints five label sets of two labels each
e principles for how counters are printed is illustrated by this
example, where the print command is P2,2:
Counter: 1
Label No. 1
Counter: 1
Label No. 2
Counter: 2
Label No. 3
Counter: 2
Label No. 4
Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual 93
Chapter 7—Commands
PA – Print Automatic
Description is command is used in a stored form sequence to automatically
print the form as soon as all variable data has been supplied.
Syntax PAp1[,p2]
Parameters p
1
Numbers of label sets (1-65535).
p
2
Number of copies of each label (1-65535). Used in combination with counters
to print multiple copies of the same label.
Remarks Refer to the P command for explanations on how to print mul-
tiple labels with counters.  e PA command follows the same principles.
 e PA command can only be used with forms containing at
least one variable (see V command). If there is no variable in the form, the printer will enter a loop and print continuously!
Examples FK"TEST6" :Deletes form “TEST6” FS"TEST6" :Starts form store sequence V00,50,N,"Enter text" :Defines variable A24,24,0,4,1,1,N,V00 :Writes text with variable PA1 :Prints 1 label automatically FE :Ends form store sequence
FR"TEST6" :Retrieves form “TEST6” ? :Gets variables This is variable text :Data for variable 00
94 Intermec EasyCoder ESim v4.20—Programmer’s Reference Manual
Chapter 7—Commands
Q – Set Form Length (gap or slot)
Description is command is used to set the form and gap length when using
the label gap sensor, or the amount of media feed after the print image in case of continuous stock.
Syntax Qp1,p2[±p3]
Parameters p1 Form length measured in dots.
203.2 dpi (8 dots/mm): Default: 1200 dots Maximum (w/o memory cartridge): 3780 dots at full print width Maximum (w 256K SRAM cartridge): 6258 dots at full print width
300 dpi (11.81 dots/mm): Default: 1200 dots Maximum (w/o memory cartridge): 2640 dots at full print width Maximum (w 256K SRAM cartridge): 4364 dots at full print width p
2
Gap length measured in dots. Default: 24 dots at at 203.2 dpi (8 dots/mm) 24 dots at at 300 dpi (11.81 dots/mm) ±p3 Optional off set length measured in dots.
Remarks Gaps and slots:
e EasyCoder C4 has a label gap sensor designed to detect the
top of each form. It does this by looking either
• through the semi-transparent liner in the gap between labels,
• or through a hole in the media.
e sensor is located slightly to the right in relation to the center
of the media path (as seen from the printer’s front). Refer to the EasyCoder C4, User’s Guide for specifi cations of the size and loca­tion of detection slots.
When entering the Dump Mode (see Chapter 1), or when print-
ing a form for the fi rst time after power-up using the Windows Driver, the printer automatically determines the Q value while feeding a couple of labels.  e current Q value is printed on the test label and the label produced by a U command.
Continuous stock: In case of continuous stock, parameter p
1
decides the amount of media feed performed after the actual print image has been printed. Continuous stock is selected by setting parameter p
2
= 0.
Be careful not having the printer loaded with continuous stock
when entering the Dump Mode or an error will occur.
Loading...