Esim Programmer
Esim Programmer
Command Reference
Disclaimer
Honeywell International Inc. (“HII”) reserves the right to make changes in
specifications and other information contained in this document without prior
notice, and the reader should in all cases consult HII to determine whether any
such changes have been made. The information in this publication does not
represent a commitment on the part of HII.
HII shall not be liable for technical or editorial errors or omissions contained
herein; nor for incidental or consequential damages resulting from the
furnishing, performance, or use of this material.
This document contains proprietary information that is protected by copyright.
All rights are reserved. No part of this document may be photocopied,
reproduced, or translated into another language without the prior written
consent of HII.
©2016-2017 Honeywell International Inc. All rights reserved.
Other product names or marks mentioned in this document may be trademarks
or registered trademarks of other companies and are the property of their
respective owners.
Web Address: www.honeywellaidc.com
Other product names or marks mentioned in this document may be trademarks
or registered trademarks of other companies and are the property of their
respective owners.
Patents
For patent information, please refer to www.hsmpats.com.
TABLE OF CONTENTS
Chapter 3 - Commands 17
B - 1D Barcode command 17
Codabar 1D bar code 19
Code 39 1D bar code 21
Code 93 1D bar code 23
Code 128 1D bar code 25
EAN8 1D bar code 29
EAN13 1D bar code 31
Interleaved 2 of 5 1D bar code 33
MSI-3 with mod. 10 check digit 1D bar code 35
Planet 1D bar code 37
Plessey (MSI-1) 1D bar code 39
Postnet 1D bar code 41
RSS-14 1D bar code 43
UCC/EAN 128 1D bar code 45
UPC A & E 1D bar code 47
b - 2D Barcode command 49
Aztec bar code 50
Data Matrix bar code 52
EAN/UCC Composite-Code bar code 54
MaxiCode bar code 57
PDF417 bar code 59
QR Code bar code 62
fB - Adjust Backup Position 68
i - Asian character spacing 69
AUTOFR - Automatic form printing 70
xa - Autosense 71
^B - Break batch printing 72
o - Cancel Software Options 73
I - Character set selection 74
1
Technical Assistance
To search our knowledge base for a solution or to log in to the Technical Support
portal and report a problem, go to www.hsmcontactsupport.com.
For our latest contact information, see www.honeywellaidc.com/locations.
Limited Warranty
Refer to www.honeywellaidc.com/warranty_information for your product’s warranty
information.
Send Feedback
Your feedback is crucial to the continual improvement of our documentation. To
provide feedback about this manual, contact the Honeywell Technical
Communications department at [email protected].
2
ESim is a printer command language that emulates commands in the Eltron
Programming Language (EPL II). This Command Reference includes descriptions of
ESim commands.
Contents
Commands Listed by Syntax
Commands Listed by Name
Configuration
Ignore Commands
Error Types and Responses
System Behavior
Contact Support
Supported Printers
Other printers support an earlier version of ESim. For more information, see the
product page for your printer at www.honeywellaidc.com or www.intermec.com.
3
B - 1D Barcode command
Use this command to print one-dimensional bar codes.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects codabar bar code. Valid Value:
l K
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 – 20
<p6>
Wide bar width (in dots) Valid Value:
l Range: 2 – 30
<p7>
Bar code height (in dots) Valid Value:
l Range: 1 – 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l If the data contains invalid characters/symbols, no bar code will be rendered.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead
(TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects bar code. Valid Values:
l 3: Code 39 standard or extended
l 3C: Code 39 with check digit
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 - 20
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l If the data contains invalid characters, ESim will attempt to render the bar code for
valid characters and ignore / skip the invalid characters.
Difference
l ESim may render different from other EPL II competitor printers in situations where
the data consists of invalid characters.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects code 93 bar code. Valid Value:
l 9
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 – 20
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 – 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 – 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l Encoding of valid data is based on the basic symbols A - Z, 0 - 9 and "-", ".", "$", "/", "+"
and "%", with four special purpose symbols used in a two-character format to rep
resent other characters.
Limitation
l Data with NULL is not able to be accepted, and may result in truncated data encoded
in the rendered bar code.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation (default with invalid value)
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects code 128 bar code types. Valid Values:
l 0: Code 128 UCC Serial Shipping Container Code
l 1:Code 128 Auto A, B, C mode
l 1A: Code 128 Manual selection of subset A
l 1B: Code 128 Manual selection of subset B
l 1C: Code 128 Manual selection of subset C
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 – 20
<p6>
Wide bar width (in dots). Value
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 – 999
Behavior
l If <p3> parameter value is out of range, ESim will ignore the value and render the bar
code as if there is no rotation.
l For Code 128 UCC
o the allowable data length rendered is up to 19 characters only, any data of longer
length, the bar code will not be rendered for the 20th character and beyond.
o data type is numeric only for Code 128 UCC.
Behavior (EPL mode)
l Code 128 function control characters (FCN#). Multiple FCN#s, TTs, TDs and "DATA"
strings can be concatenated, and can be inserted within the symbol.
l FCN2, FCN3 and FCN4 are invalid in Code 128 mode C (<p4> = 1C) causing a syntax
error return.
l Code 128 can encode all 128 standard characters (0 – 127). Function character
FCN4 provides a means to encode extended characters (128 – 255). And it directs
the reader to add 128 to the value of each affected character before allowing trans
mission.
l Two consecutive FCN4s will toggle between standard and extended mode for all suc
ceeding data characters (until the end of the symbol, or until the next pair of FCN4s
is seen).
l A single FCN4 toggles between standard and extended mode for only one following
data character.
l Both A and B code sets are needed to represent the extended character set, just as
both sets are needed to represent the standard character set.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects EAN8 bar codes. Valid Values:
l E80: EAN8
l E82: EAN8 2 digit add-on
l E85: EAN8 5 digit add-on
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 - 20
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l For invalid data length, the bar code will not be rendered.
l EAN8 accepts only 7 or more digits input, output will be 8 digits, with the 8th digit as
the check digit.
l EAN8 will truncate data to length of 8 if input data length is larger than 8.
l EAN8 with 2 digit add-on accepts only 9 or 10 digits input, output will be 10 digits,
with the 10th digit as the check digit.
l EAN8 with 5 digit add-on accepts only 12 or 13 digits input, output will be 13 digits,
with the 13th digit as the check digit.
l For invalid data, the bar code may be rendered, but the encoding is non-stand
ard/invalid, and may differ from other reference EPL II printers.
l For data which contains a '\' character, '\' will be removed, and if the data length is
still valid, the bar code will be rendered based on the remaining digits.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects EAN13 bar codes. Valid Values:
l E30: EAN13
l E32:EAN13 2 digit add-on
l E35:EAN13 5 digit add-on
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 - 20
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l For invalid data length, the bar code will not be rendered.
l For data shorter by 1 (e.g. 14 digit input for EAN13 with 2 digit add on), a '0' will be
padded to the right as part of the main bar code data.
l For invalid data, the bar code may be rendered, but the encoding is non-stand
ard/invalid, and may differ from other reference EPL II printers.
l For data which contains a '\' character, '\' will be removed, and if the data length is
still valid, the bar code will be rendered based on the remaining digits.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects interleaved 2 of 5 bar codes. Valid Values:
l 2: Interleaved 2 of 5
l 2C: Interleaved 2 of 5 with mod 10 check digit
l 2D: Interleaved 2 of 5 with human readable check digit
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 - 20
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l Non-numeric data will be dropped from the data fields.
l If all data is non-numeric, the bar code will not be rendered.
l If odd number of digits is input as data, a '0' will be inserted to start of the data.
l When <p5> has a value of 0, default values of <p5>= 2 and <p6>= 4 will be applied.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation (default with invalid value)
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects MSI-3 with mod. 10 check digit. Valid Value:
l M
<p5>
Narrow bar width (in dots). Valid Value:
l none
<p6>
Wide bar width (in dots). Valid Value:
l none
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l Non-numeric data will be dropped from the data fields, and only the numeric data
will be encoded.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects Planet bar code. Valid Value:
l PL
<p5>
Narrow bar width (in dots). Valid Value:
l none
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l For invalid data (non numerical) the bar code will not be rendered.
l For data lengths outside of the specified range, the bar code will not be rendered.
Difference
l Other EPL II printers may not recognize the <p8> field and not print the human read
able portion.
l ESim recognizes the <p8> field; other EPL printers do not.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects Plessey (MSI-1) with double-modulo-10-check-digit bar code. Valid Value:
l L
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 - 20
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l Non-numeric data will be dropped from the data field, and only the numeric data will
be encoded.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects Postnet bar codes. Valid Value:
l P: Postnet bar code
<p5>
Narrow bar width (in dots). Valid Value:
l none
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l For invalid data (non numerical) the bar code will not be rendered.
l For data lengths outside of the specified range, the bar code will not be rendered.
l Human readable text will not be rendered regardless of <p8>value.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects RSS-14 bar code. Valid Values:
<p5>
Narrow bar width (in dots). Valid Values:
l Range: 1 – 10
l The narrowest module will be this number of dots.
Behavior
l ESim will render the bar code with a narrow separator, which may differ from other
EPL II printers. This rendering method follows the RSS-14 standard, and ensures bet
ter scanning of the bar code.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects UCC/EAN 128 bar code. Valid Value:
l 1E
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 - 20
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Bar code height (in dots). Valid Value:
l Range: 1 - 999
<p8>
Render human readable data with bar code. Valid Values:
Behavior
l ESim will locate valid Application Identifiers based on the UCC/EAN bar code stand
ard and insert parenthesis, "(" and ")" as an indication.
l Invalid data may still be encoded without a valid Application Identifier, and an
attempt to find the next instance of a valid Application Identifier will be conducted in
the stream of input data to be encoded.
Syntax
B<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>,"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Rotation. Valid Values:
l 0: No rotation
l 1: 90 degrees
l 2: 180 degrees
l 3: 270 degrees
<p4>
Selects UPC bar codes. Valid Values:
l UA0: UPC A
l UA2: UPC A 2 digit add-on
l UA5: UPC A 5 digit-add-on
l UE0: UPC E
l UE2: UPC E 2 digit add-on
l UE5: UPC E 5 digit-add-on
l 2U: UPC Interleaved 2 of 5 (SCC)
<p5>
Narrow bar width (in dots). Valid Value:
l Range: 1 - 20
<p6>
Wide bar width (in dots). Valid Value:
l Range: 2 - 30
<p7>
Behavior
l UPC Interleaved 2 of 5 will accept data length less than 13, and takes the first 13
digits in data that are longer than 14.
l UPC-A accepts only 11 or 12 digits input, output will be 12 digits, with the 12th digit
as the check digit.
l UPC-A with 2 digit add-on accepts only 13 or 14 digits input, output will be 14 digits,
with the 14th digit as the check digit.
l UPC-A with 5 digit add-on accepts only 16 or 17 digits input, output will be 17 digits,
with the 17th digit as the check digit.
l UPC-E accepts only 6 or 7 digits input, output will be 7 digits, with the 7th digit as
the check digit.
l UPC-E with 2 digit add-on accepts only 8 or 9 digits input, output will be 9 digits,
with the 9th digit as the check digit.
l UPC-E with 5 digit add-on accepts only 11 or 12 digits input, output will be 12 digits,
with the 12th digit as the check digit.
l For invalid data, the bar code will not be rendered, this may differ from other ref
erence EPL II printers, which may render unusable bar codes.
Syntax
b<p1>,<p2>,<p3>[,p4][,p5][,p6][,p7][,p8],"<DATA>"
b<p1>,<p2>,<p3>[,d][,e][,m][,f][,r],"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots.
<p2>
Vertical start position (Y) in dots.
<p3>
Selects Aztec bar code. Valid Value:
l A
The order of parameters [p4]-[p8] is not important. Include the prefix letter ([d],[e],[f],
[m] or [r]) to select the parameter followed by a valid numeric value.
[p4(d)]
Symbol Scaling. Valid Values:
l Default: 3
l Range: 1–99
[p5(e)]
Symbol layer, error correction levels. Valid Values:
l Default: e0
l Accepted Values:
e0: Checkword level 23% +3.
e1–e99: 1% to 99% check words
e101–e104: Compact symbol, 1 to 4 layers
e201–e232: Full symbol, 1 to 32 layers
e300: Rune symbol
[p6(f)]
flg(n) format. Valid Values:
l Default: Disabled
l Enable the flg(n) format using Escape character (27 dec).
[p7(m)]
menu support option. Valid Values:
Behavior
l Both layer and error correction affects the symbol size.
Limitations
l Data with NULL is not able to be accepted, and its use will result in a truncated data
encoded in the rendered bar code.
Syntax
b<p1>,<p2>,<p3>,<p4>,"<DATA>"
b<p1>,<p2>,<p3>[,p4][,p5][,p6][,p7],"<DATA>"
Syntax 1
Parameters
<p1>
Horizontal start position (X) in dots.
<p2>
Vertical start position (Y) in dots.
<p3>
Selects Data Matrix bar code. Value
l D
<p4>
Narrow bar. Valid Value:
l Range: 1 - 15
<"DATA">
Fixed data field. Valid Value:
l Any combination of data strings at a maximum of 125 characters long.
Syntax 2
Parameters
<p1>
Horizontal start position (X) in dots
<p2>
Vertical start position (Y) in dots
<p3>
Selects Data Matrix bar code. Valid Value:
l D
[p4 (c)]
Number of columns to encode
Behavior
l For Syntax 1, for invalid <p4> values, no bar code will be rendered.
l Each module size, columns and rows fields can either be specified in the parameters
according to Syntax 2, or can be calculate automatically.
l If there are no <p4> value specified, it is implied as Syntax 2, and will be treated as
such, and will generate the bar code based on data length to calculate the bar code
size.
l Data with NULL will not be accepted, and its use will result in a truncated data
encoded in the rendered bar code
Syntax
b<p1>,<p2>, <p3>, <p4>,<o>,<x>,<y>,<s>,1,[B,][P][F,]<M>,"<Data1 | Data2>"
Parameters
<p1>
Horizontal start position (X) in dots
<p2>
Vertical start position (Y) in dots
<p3>
Selects bar code type.
(linear part and two-dimensional part). Valid Value:
l C
<p4>
Selection of bar code type
(linear part and two-dimensional part). Valid Value:
l 1EC
<o>
Rotation. Valid Values:
l Default: 0
0 = No rotation
1 = 90° rotation clockwise
2 = 180° rotation clockwise
3 = 270° rotation clockwise
<x>
Module width of pixel size in dots, magnification of both linear and 2D composite
component. Valid Values:
l Default: 2
l The value must be between 1 - 10.
<y>
Bar height on linear part in dots. Valid Value:
l The value must be between 2 - 2999.
<Y>
Behavior
l Error codes
If data is not suitable to optional parameters, Error 01 (syntax error) occurs.
If data is too long or out of range, Error 03 (data length error) occurs.
If data does not fit in area specified, Error 50 occurs.
l The 2-D component of the bar code may have one more row as compared to ref
erence PF8 printers, and will be shorter as well.
Syntax
B<p1>,<p2>,<p3>,[p4,][p5,]"<DATA>"
Parameters
<p1>
Horizontal start position (X) in dots
<p2>
Vertical start position (Y) in dots
<p3>
Selects MaxiCode bar code. Valid Value:
l M
[p4 (c)]
Selection of mode. Valid Values:
Value Description
m2 Mode 2
m3 Mode 3
m4 Mode 4
m6 Mode 6
1. If [p4] (mx) is not used, the printer will use rules to automatically format the "DATA"
parameter. If the postal code (third parameter, PC) in the "DATA" is:
l All numeric characters, the printer will automatically select Mode 2.
l Alpha / alphanumeric character combinations will set the printer to Mode 3.
l Not used, the printer automatically selects Mode 3.
2. If [p4] value is "m2 or m3", the printer will use rules to format the "Data" parameter:
l In Mode 2 - If a non-numeric character is entered in the Postal Code "Data" para
meter field, then the MaxiCode bar code will not be printed.
l In Mode 3 – If the Postal Code "Data" field is more than 6 characters, then the
additional characters in the bar code field will be truncated.
[p5 = x,y]
Associated MaxiCode symbol numbering. Valid Values:
l x, y where,
x = Symbol number
Syntax
b<p1>,<p2>,<p3>,<p4>,<p5>[,p6][,p7][,p8][,p9][,p10][,p11][,p12][,p13][,p14],<"DATA">
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l 0 to 65536
<p2>
Vertical start position (Y) in dots. Valid Value:
l 0 to 65536
<p3>
Selects PDF417 bar code. Valid Value:
l P
<p4(www)>
Maximum print width in dots
<p5(hhh)>
Maximum print height in dots
[p6(s)]
Sets error correction level. Valid Values:
l Accepted Values: s0 - s8
l If level is not specified, a level that generates about 1/8 as many ECC code words as
data code words is selected.
[p7 (c)]
selects data compression method. Valid Values:
l Default Value: 0
l Accepted Values: 0 - Auto Encoding
l 1 - Binary mode
[p8 (pxxx,yyy,mm)]
print human readable.
p ="p" - parameter identifier
xxx = horizontal start location
yyy = vertical start location
Behavior
l If the horizontal start position (X) is larger than the media width, the bar code will not
be printed.
l ESim will optimize automatically for readability of data. The symbol's geometry is
adjusted (typically reducing the size of the symbol) as in the defined parameters.
ESim will use the largest possible module size (in terms of bar width and height) and
minimize the number of rows and columns.
l For rotation with center origin point f1 ([p9]), and o1,2,3 ([p15]), ESim rotates at the
top left corner of the PDF bar code, which may be different from other EPL II printer
behavior, which uses a different pivot point for rotation under f1. For top, left origin
point f0, ESim rotation behavior should be similar with other EPL II printer behavior,
using the top left corner pivot point.
l Data compression method (field c) is always set at automatic, regardless of the value
(valid or invalid) sent. This may result in a bar code that looks different visually from
other EPL II printers, but the data scanned will be the same.
l If the data exceeds what the bar code can encode based on the size specified in the
parameters, ESim will truncate the data in order to render the bar code based on the
size specification, in other EPL II printers, the bar code may not even be rendered.
Behavior (Legacy)
l If the horizontal start position (X) is larger than the media width, the <p1> (X) value,
will be reset to (<p1> modulo label_width)
Limitations
l ESim does not support Macro PDF.
l The number of rows in the PDF 417 bar code rendered may be one more than other
EPL II printer in some cases, depending on the compression, width, height and max
row & column settings when using the B command, due to different encoding meth
odology.
Parameters
<p1>
Horizontal start position (X) in dots.
<p2>
Vertical start position (Y) in dots.
<p3>
Selects QR Code. Valid Value:
l Q
[p4 (m)]
Code Model. Valid Values:
l Default: 2
l Accepted Values:
1 = Model 1 (original)
2 = Model 2 (enhanced)
[p5 (s)]
Scale Factor. Valid Values:
l Default: 3
l Range: 1–30
[p6 (e)]
Error Correction Level (Reed-Solomon). Valid Values:
l Default: M
l Accepted Values:
L = Lowest
M = Medium (default)
Q = Optimized
H = Highest
[p7 (i)]
Data Input Mode
Note: Data will all be processed in automatic mode, please see behavior #2 below. Valid
Values:
<"DATA">
Fixed data field. Valid Values:
l Data sent to the printer will be converted to one of the four formats defined by para
meter [p7].
l The printer will, by default, automatically select the data mode for the entire fixed
data string. The data encoding method will be automatically selected to achieve
optimal data compression.
l If parameter [p7] is set to iM, then the first character in the data field must be either
one of the following:
N - Numeric (0 - 9)
A - Alphanumeric (0 - 9, A - Z, a - z, space,$,%, *,+, -, . , /, : )
K - Kanji (Shift JIS character ranges 8140 - 9FFC and E040 - EAA4 hexadecimal)
B – Binary
l Reserved characters in the data field cannot be used within the data string are: " and
/.
l The backslash (\) character designates the following character as literal and will
encode into the data field.
l Parameters Details
Parameters
<p1>
Characteristics
Model 1 Model 2
<p3>
Symbol size in cell (original) (enhanced)
(increment of 4 cells)
21*21 to 73*73 1'*21 to 177*177
Maximum is Maximum is 7089
1 Numeric data modes: Digits 0-9
1167 characters. characters.
Alphanumeric data mode: Digits 0-
Maximum is 707 Maximum is 4296
2 9, upper case letters A-Z, and 9
characters. characters.
other characters
8-bit byte data mode: JIS 8-bit
Maximum is 486 Maximum is 2953
3 character set (Latin and Kana) in
characters. characters.
accordance with JIS X 0201
Maximum is 299 Maximum is 1817
4 Kanji data mode: Shift JIS X 0208
characters. characters.
Mixing mode: Mix of mode 1-4
5 N.A. Applicable
above
l The backslash (\) character designates the following character as literal and will
encode into the data field.
l Parameters Details
Behavior
l Error codes
If data is not suitable to optional parameters, Error 01 (syntax error) occurs.
If data is too long or out of range, Error 03 (data length error) occurs.
If data does not fit in area specified, Error 50 occurs
Behavior (EPL Mode)
l Data Input Mode
ESim shall treat data in automatic mode in all cases, regardless of mode specified. If
the mode is selected as manual mode, and the first character is not any of the pre
defined character (N, A, K or B), ESim will treat the first character as part of the data
string, whereas EPL II in other printers will truncate off this character regardless. i.e.
if data is "12345", with <p7> field as iM, EPL II may only encode "2345", but ESim will
take in the entire string "12345" as is.
In a case like this, the resulting bar code rendered may appear larger as compared to
reference EPL printer, since more characters need to be encoded in the bar code.
l Data Input Mode, invalid data
ESim treats data automatically regardless of data type specified while other EPL II
printers may follow the type strictly. If the data is sent as "N12ABC" with <p7> field as
iM, EPL II printers may randomly assign numeric values to the characters "ABC" in
the data, whereas ESim will treat the data as "12ABC" automatically and encode as
entered.
l Error Correction level at Q or L may result in the bar code that looks different from
other EPL II printers by visual inspection. The scanned data will still be the same.
l Invalid <p4> value may still result in a bar code being rendered as compared to other
EPL II printers, which may not print the bar code at all.
Behavior (Legacy Mode)
l In legacy mode, using c5 (mixing data mode) lowercase characters will be converted
to uppercase to follow legacy printer behavior.
Limitation
l Kanji and Binary data mode shall be supported as is binary data, without specific con
sideration for data formatting, or special character handling such as shift JIS char
acters.
l In EPL mode, <p8> field (D) is unsupported.
<p8 (D)>
Append symbol, allows joining data from 2 to 16 QR code symbols. Valid Values:
Syntax
fB<p1>
Parameters
<p1>
Media position adjustment (in dots). Valid Values:
l Default: 0
l Range: 0 - 255
Behavior
l The media will retract based on the value of <p1> in dots.
Syntax
i<p1>
Parameters
<p1>
Space between the Asian characters (in dots). Valid Values:
l Default: 0 (no space)
l Range: 0 to 9
Behavior
l The inter-character spacing (in dots) will be multiplied with the horizontal and ver
tical multiplier values of the selected font.
Syntax
FS"AUTOFR"
Behavior
l To exit the "AUTOFR" mode, send a NULL character to the printer.
l 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:
l From ESim, Send a NULL to exit "AUTOFR" mode. Then, delete the startup file using
FK"AUTOFR".
l Alternatively, the file can be deleted using other system level methods like FTP if the
printer firmware supports it, after exiting from "AUTOFR" mode.
Note
l N.A.
Limitations
l Only exit with NULL is supported in ESim.
Syntax
xa
Parameters
There are no parameters for this command.
Behavior
l The Auto sensing is used to calibrate the sensors that control the media feed and
determines where the individual labels or tags start and stop. It starts measuring the
gain level of the sensors, followed by searching for gap or black mark during media
feeding.
l For printer supporting the Smart Media Calibration feature, this command will trig
ger a Smart Media Calibration. For printers not supporting the Smart Media Cal
ibration feature, a testfeed will be triggered.
Syntax
^B
Parameters
There are no parameters for this command.
Behavior
l The reply at US is by default <ACK> (can be changed using UCnn command).
l This command must be followed by CR/LF to be correctly interpreted.
l This command is not available during the operation of storing data such as graphics,
soft fonts.
l This command cannot be used within a stored form.
l This command is only available during command input, that is, not as part of data for
graphics, soft fonts, or in format forms.
l This command cannot be inside a variable input (?) or inside a string area ("").
l This command can be sent to the printer during all other printing operations.
l This command will be ignored while the reset command is being executed.
l This command may not be processed when the input data buffer is full.
Syntax
o
Parameters
There are no parameters for this command.
Behavior
l This command cannot be used inside a form.
l This command must be issued prior to printing or issuing a text or a bar code com
mand.
Syntax
I<p1>,<p2>,<p3>
Parameters
<p1>
Number of data bits (character set). Valid Values:
l Default: 8
l Range: 7 & 8
<p2>
Printer code page for 7 or 8 data bits. Valid Values:
l Default: 0
l Range: 0-13, A - K
Note: See tables below for <p2> values for different code page.
<p3>
KDU country code (3 digits). Valid Values:
l Default: 001 (only if <p1> = 8).
Note: This parameter is unsupported, and will be ignored.
Printer code page (<p2>) for 7 data bits (<p1>=7)
<p2> Language
0 English (US)
1 English (UK)
2 German
3 French
4 Danish
7 Swedish
8 Swiss
Behavior
l Code page UTF-8 can be considered to be use for languages not listed in the table,
e.g. Thai language.
Limitations
l <p3> is unsupported, and will be ignored.
Syntax
oR [p1[,p2]]
Parameters
[p1]
If [p1] = E, the Euro character is mapped to the code page position specified by [p2].
If [p1] = 0, this toggles the status of printing a slashed zero or not. If currently printing
slashed zero, p1=0 will stop printing slashed zero. If not currently printing slashed zero,
p1=0 will start printing slashed zero. Out of box default is zero with slash.
l Valid Value: [p1] = E or 0 (zero)
Note: If no [p1] or [p2] parameters are provided, all code pages are reset to the original
default character mapping.
[p2]
Specifies the code page position for the Euro character in the range 32-255 decimal
for all code pages, provided [p1] = E. If [p2] is omitted, the Euro character is mapped
to the code page position 213 decimal for all code pages provided that [p1] = E. Valid
Values:
l Default: 213 (decimal)
l Range: 0 - 255 (decimal)
Note: [p1] must be = E
Behavior
The oR command is an ESim settings command and:
l cannot be issued inside a form.
l must be issued prior to issuing a text command and printing it.
l affects a single character on all code pages. Changing the character position
restores in the original changed position.
l this printer parameter data is preserved until changed by the oR command (without
parameters), or the printer is reset to default.
l you can also use the "o" command to set oRE settings back to default.
Behavior (EPL mode)
l This Euro character is only applicable for resident fonts 1 to 4.
Behavior (Legacy mode)
Syntax
N
Parameters
There are no parameters for this command.
Behavior
l The N command must not be used within stored forms.
l All printer configuration commands should have been issued prior to issuing the N
command to begin building the image for printing within the image buffer.
l A Line Feed (LF) must be sent prior to the N command to make sure that previous
data in the command buffer has been cleared so that the printer will be initialized
and ready to accept new commands.
Syntax
' Comment Data
Parameters
No parameters.
Behavior
l For Honeywell printers, carriage return is accepted as line feed character as well.
l Comments must be on their own line. End-of-line comments are not allowed.
Syntax
# Comment Data
Parameters
No parameters.
Behavior
l For Honeywell printers, carriage return is accepted as line feed character as well.
l Comments must be on their own line. End-of-line comments are not allowed.
Syntax
; Comment Data
Parameters
No parameters.
Behavior
l For Honeywell printers, carriage return is accepted as line feed character as well.
l Comments must be on their own line. End-of-line comments are not allowed.
Syntax
UM
Parameters
There are no parameters for this command.
Behavior
l The printer sends information on the currently selected code page and memory
status back to the host in the following formats:
l UM<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>
Parameters
<p1>
Image buffer size (KBytes).
<p2>
Form memory allocated (KBytes).
<p3>
Form memory available (KBytes).
<p4>
Graphic memory allocated (KBytes).
<p5>
Graphic memory available (KBytes).
<p6>
External font memory allocated (KBytes).
<p7>
External font memory available (KBytes).
<p8>
Appends a full reply from the UI command data format. Valid Value:
l Refer to UI command.
Limitations
l ESim deviates from PF8 printer response.
Syntax
UP
Parameters
There are no parameters for this command.
Behavior
l Printer will send information back to host (same as UM command), followed by print
ing out the current printer configuration (same as U command).
l The format of data sent to host:
l <UP><p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,<p8>
Parameters
<p1>
Image buffer size (KBytes).
<p2>
Form memory allocated (KBytes).
<p3>
Form memory available (KBytes).
<p4>
Graphic memory allocated (KBytes).
<p5>
Graphic memory available (KBytes).
<p6>
External font memory allocated (KBytes).
<p7>
External font memory available (KBytes).
<p8>
Appends a full response for the UI command data format. Valid Values:
l Refer to UI command return values.
Syntax
UC<p1>
Parameters
<p1>
Specifies the desired reply character by its decimal value. Valid Values:
l Default: 0
l Range: 0 – 255
Note: If <p1> is anything other than a numerical character or the value is 0, there will be no
Command Reply Accept character (default).
Behavior
l Default is no Command Reply Accept Character (command UC0).
l Parameter <p1> saves in non-volatile memory (resets back on each power cycle).
l If command UC is activated, it replaces the <ACK> character at the end of command
US and P.
l If an error occurs and error report is activated, the error message is sent instead.
Syntax
UQ
Parameters
There are no parameters for this command.
Behavior
l Printer replies the printer configuration line by line, in ASCII, to host.
l Information and number of lines sent by printer will be of the same format as the U
command.
Limitations
l The reporting format and text may differ from other EPL II printers, due to hardware
and configuration differences.
l The settings reflected by this command is only based on the most recent time the
corresponding ESIM settings command was issued, and may not reflect the actual
system setting if it was changed via means other than using the ESIM command. e.g
via printer web page configuration, or LCD user interface.
Example
UQ↵
ESim, K10.12.XXXXXX
Serial Port: 11,N,8,1
USB: VID= 1662, PID = 44
DRAM: 125284K installed
Image Buffer size: 128K
FLASH: 49060K, User: 49060K/40344K
I8,1 JF f100
S4 D10 R040,024 ZB UN
q832 Q1219,24 j50
Option: N
SA0 SPC0 M0
PAPER GAP: 461, 576 (12)
Date: Sep/14/2016
Time: 15:09:55
Printer Name: PC43-173C1100010
MAC Address: 00:10:40:38:A4:10
IP Selection: DHCP
IP address: 199.70.188.138
Netmask: 255.255.255.0
Default Gateway: 199.70.188.1
DNS: 199.70.288.168
Syntax
^C
Parameters
There are no parameters for this command.
Behavior
l The reply at command US is by default <XON> (can be changed using eR command).
l Another way to resume printing a batch is to press the Feed button.
l This command must be followed by CR/LF to be correctly interpreted.
l This command is not available during the operation of storing data such as graphics,
soft fonts.
l This command cannot be used within a stored form.
l This command is only available during command input, that is, not as part of data for
graphics, soft fonts, or in format forms.
l This command cannot be inside a variable input (?) or inside a string area ("").
l This command can be sent to the printer during all other printing operations.
l This command will be ignored while the reset command is being executed.
l This command may not be processed when the input data buffer is full.
Syntax
C<p1>,<p2>,<p3>,<p4>[,p5],"[-],<PROMPT>"
Parameters
<p1>
Counter number. Valid Values:
l Default: 0
l Range: 0 – 9
<p2>
Maximum number of digits for counter. Valid Values:
l Default: 1
l Range: 1 - 29
<p3>
Field Justification. Valid Values:
l Field justification:
L = Left justification.
R = Right justification.
C = Center justification.
N = No justification
<p4>
Step Value. Valid Values:
l Step value. Plus or minus sign followed by a single digit between 1 to 9
+ Increase.
- Decrease.
Note: Using a step value of +0 allows the counter to be used as an additional variable data
field.
[p5]
Alphanumerical support (optional). Valid Values:
l N= Numerical support. Anything other than digit and leading spaces in DATA causes
error 03.
l A = Alpha support: Base 10 on digits, base 26 on letters (default).
l B = Alphanumerical support: Base 36
l Note that anything else than digit, leading spaces, and uppercase alpha characters in
DATA causes error 03.
Wrap around:
0 -9 goes back to 0.
A -Z goes back to A.
Behavior
l Used in consecutive numbering applications, such as serial numbers. Counters can
only be used in the Form Edit mode, and not in Direct mode. Counters have to be
defined after variables.
l The C command is used in forms that require sequential numbering. When ini
tializing counters, they must be defined in order (e.g. C0 first, C1 second...).
l Field justification (<p3>) affects the printing of counter data. When L, R or C are selec
ted, the counter field is the width of <p2> value. Data will justify within the counter
(<p2>) field per the selected <p3>. The N parameter will print the minimum number
of characters.
l To print the contents of the counter, the counter number is referenced in the "DATA"
field of the A ( text) or B (bar code) commands.
l If the value of a counter starts with a single digit like "1", then there will be no leading
zero padding. If the value start with, for example, "01", then the counter will be pad
ded, up to the maximum number of digits (<P2>), with zeros.
l Invalid <p1> values (10 and above) will be ignored and form will proceed to be prin
ted if the for and other commands are valid. This is considered a known, and pre
ferred behavior of ESim, and differs from other EPL II implementation of competitor
printers, which does not print, and yet or feeds out an empty label.
l When field justification L, R or C are selected, the counter field is the width of <p2>
value.
l Data will justify within the counter (<p2>) field per the selected justification.
Syntax
C
Parameters
No parameters.
Behavior
l The command C is used for two purposes. C appended by parameters is used to
define counters in the Form Edit mode, whereas C without any appending para
meters is used to initiate a cutting operation.
l C (Cut Immediate) cannot be used inside a form.
Behavior (EPL mode)
l In standard mode, the media will feed before cutting without depending on the j
command.
Behavior (Legacy)
l C (Cut Immediate) will cut at point where the media stops and could potentially cut
across printed portions on the media. This is governed by the special legacy j com
mand that forces a feed of the media before cutting.
Syntax
f<p1>
Parameters
<p1>
Cut position index measured in dots. Valid Values:
l 203 dpi (8 dots/mm):
Default: 100
Range: 020 – 180
l 300 dpi (11.81 dots/mm):
Default: 100
Range: 000 - 200
Behavior
l Increasing the cut position index value moves the cut further away from the label
just printed.
l Decreasing the cut position index value moves the cut closer to the label just printed.
Syntax
TD<p1>[/p2/p3]
Parameters
<p1> to <p3>
The parameters describe the format of the date display. At least one parameter must
be specified.
Each parameter can be any of the acceptable values. Valid Values:
l y2: Year in 2 digits.
l y4: Year in 4 digits.
l me: Month as a 3-letter English abbreviation.
l mn: Month in 2 digits.
l dd: Day in 2 digits.
<|>
Separator character. Valid Values:
l Default: /
l Range: Character in the range between 32 decimal and 63 decimal.
Behavior
l Format after power up is mn-dd-y4
l TD can be treated as a variable and placed within a text or bar code command's
DATA parameter. The date will be printed. Days can be offset by up to 253 days for
the TD variable.
l The separator is printed between the results of each of the supplied parameters.
Syntax
TT<p1>[|p2|p3][p4]
Parameters
<p1>,[p2],[p3]
Describes format of time display. At least one parameter must be supplied. Valid
Values:
l Default: h:m:s (power-up)
l Range: h, m or s
Note: h: Hours in 2 digits
m: Minutes in 2 digits
s: Seconds in 2 digits
[p4]
Enable 12 Hour clock format (Optional). Valid Values:
l Default: no + (24 hr clock)
l Value: +, or nothing
Note: Time will display with "AM" or "PM" if + is supplied.
[|]Separator character. Valid Value:
l Range: Character in the range between 32 decimal and 63 decimal.
Behavior
l The separator character is printed between the results of each of the supplied para
meters.
Syntax
V<p1>,<p2>,<p3>,"[-]<PROMPT>"
Parameters
<p1>
Variable number. Valid Values:
l Range: 00 - 99
Note: Variable (reference) numbers are sequential and must be input into a form in
ascending order.
<p2>
Maximum number of characters. Valid Values:
l Range: 1 – 99
Note: This is the maximum number of characters allowed in the variable field
<p3>
Field Justification. Valid Values:
l Range: L = Left
R = Right
C = Center
N = No Justification
Note: Right and center justification does not apply to soft fonts, they will be defaulted to left
justification.
<->
KDU Prompt Options
A single leading minus sign in the prompt field causes the prompt to be sent one time
only after the form is retrieved.
KDU will not be supported, but the return character will still be seen on the console in
which the printer is connected to. Valid Value:
l Range: 1 to 40 for KDU Range (<p2>), but not to exceed a total of 1500 bytes for all
variables.
<-->
Suppress KDU Prompt Options
A double leading minus sign in the prompt field causes the prompt to be suppressed.
Behavior
l When defining and initializing variables:
o Define them in order (e.g. V00 first, V01 second...)
o Start from the entries immediately after the FS"name" command.
o Located before any counter variables.
o Variables cannot have the NULL character (0 dec.;00 hex.).
l To print the contents of a variable, the number of the variable must be included in
the "DATA" field of the A (Print Text) or B (Print bar code) commands.
l The field justification parameter affects the way the variable is printed. When left,
right, or center justification are selected, the counter value is printed left, right or cen
ter justified in an area with a width defined by the <p2> parameter. If the number of
digits in the counter value is less than the number of digits defined by <p2>, the area
is padded with space characters.
l If no justification is selected, the field adjusts to fit the actual length of the data
without exceeding the set maximum field length, which may be useful when using a
counter as input data to a bar code.
l KDU support will not be available.
Limitations
l The maximum amount of data stored as variable data, including counter variables
and data reference overhead cannot exceed 1500 bytes.
Syntax
FK <"name"> | <"*">
Parameters
<"name">
Name of form to be deleted. Valid Values:
l Range: Alphanumeric, up to 96 characters.
Note: Form names will be case sensitive and based on system filename accepted characters.
<"*">
Asterisk '*' as a wildcard. Valid Value:
l ALL forms in memory will be deleted
Limitations
l Deviation: In other EPL II printers, FK"name" must be issued twice for it to take
effect. ESim only needs it to be issued once.
Syntax
GK <"name">|<"*">
Parameters
<"name">
Name of the graphic that will be deleted from non-volatile memory. Valid Values:
l Range: Alphanumeric, up to 96 characters.
Note: File names will be case sensitive based on system filename accepted characters, and
stored exactly as entered.
<"*">
Asterisk '*' as a wildcard. Valid Value: ALL graphics installed in the system will be
deleted.
Syntax
EK "<name>"
Parameters
<name>
Name of user-downloaded fonts ("soft fonts") to be deleted from non-volatile memory.
Valid Values:
l a - z: Lower case named fonts
l *: wildcard, deletes ALL user-downloaded fonts ("soft fonts") in the system.
Syntax
D<p1>
Parameters
<p1>
Density settings. Valid Values:
l Default: 10
l Range: 0 - 15.
Note: 0 is the lightest printing and 15 is the darkest.
Syntax
UN
Parameters
There are no parameters for this command.
Syntax
JB
Parameters
There are no parameters for this command.
Behavior
l The top of form backup feeds out the media further upon printing, to allow the label
to be torn or peeled off. It will retract the media for the printing of the next label at
the top of the label.
l If the optional cutter is installed, this top of form backup should not be used, and it
will be ignored. To disable, send a JB command.
l All j command will be ignored upon issuing this command, but can be enabled again
with the JF command.
Syntax
?,<DATA>
Behavior
l The amount of data following the question mark line must match exactly the total
number and order of variables and/or counters for that specific form.
l Variables and counters must be entered sequentially in ascending order, and sep
arated by a line feed.
Syntax
X<p1>,<p2>,<p3>,<p4>,<p5>
Parameters
<p1>
Horizontal start position (X) in dots. Valid Values:
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p2>
Vertical start position (Y) in dots. Valid Values:
l Range: 0 - maximum label length
Note: MUST be a numeric value.
<p3>
Line thickness in dots. Valid Value:
l Line thickness in dots.
<p4>
Horizontal end position (X) in dots. Valid Values:
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p5>
Vertical end position (Y) in dots. Valid Values:
l Range: 0 - maximum label length
Note: MUST be a numeric value.
Behavior
l If <p3> > <p4>, then line thickness value is assigned to Horizontal end position value
and if <p3> > <p5>, then line thickness value is assigned to vertical end position value.
Syntax
UA
Parameters
There are no parameters for this command.
Behavior
l Three scenarios will clear this command setting:
1. Power cycle
2. Reset
3. UB command
l Default behavior when a printer encounters out of media is to resume printing once
new media or ribbon is present.
l Any unfinished labels or jobs will continue to be printed including batch print jobs.
Syntax
US or UT
Parameters
There are no parameters for this command.
Behavior
l Most recent communication channel will be used for status reporting.
l Non-parallel port
o If there is an error, the printer will return a response NACK(0x15) following the
error codes, refer to response list for the list of error codes.
o If there are no errors, the printer will return ACK(0x6) after each label is printed
or dispensed.
o If a label is dispensed, the printer will send a DLE(0x10).
o Upon paper or ribbon is empty, the printer will send, a "07" and "Pnnn" where nnn
is the number of labels remaining.
l The printer's default setting is to disable error reporting.
l Use the UN command to disable error reporting if this is enabled.
l The format of the error messages is controlled by the eR command.
l Please refer to the "Error Types and Responses" section for information regarding
the types of error codes and responses.
Syntax
JF
Parameters
There are no parameters for this command.
Behavior
l Top of form backup is used in connection with the j command. The printer feeds out
enough extra media after printing a label so that it can be torn, peeled, or cut off
properly.
l Top of form backup can be disabled by a JB command.
l If the optional cutter is installed on the printer, the JB command must be preceded
by an O command.
l All j command will be ignored, but can be enabled again with the JF command.
l Activating the cutter using an OC command has the same effect as issuing a JF com
mand.
Syntax
UI
Parameters
There are no parameters for this command.
Behavior
l The printer sends information on the currently selected code page back to the host
in the following formats:
l <UI>,<p1>,<p2>
l <p1> = Number of data bits.
l <p2> = Code page.
Syntax
FE
Parameters
There are no parameters for this command.
Behavior
l The Form Store sequence must start with the FS command and end with the FE com
mand.
Syntax
^A
Parameters
There are no parameters for this command.
Behavior
l The reply at command US/UN is by default <NAK>92<XOFF> (can be changed using
eR command).
l To resume printing a batch, send the command ^C or press the Feed button.
l To cancel the remainder of the print job, use the ^B command.
l The pause mode LED blink shall follow each printer system's pause mode blinking
sequence.
l This command must be followed by CR/LF to be correctly interpreted.
l This command is not available during the operation of storing data such as graphics,
soft fonts.
l This command cannot be used within a stored form.
l This command is only available during command input, that is, not as part of data for
graphics, soft fonts, or in format forms.
l This command cannot be inside a variable input (?) or inside a string area ("").
l This command can be sent to the printer during all other printing operations.
l This command will be ignored while the reset command is being executed.
Syntax
PF <p1>[,p2[,p3]]
Parameters
<p1>
Number of steps to feed the media. Positive values feed the media forward, negative
values backward.
l Range: -999 to 9999
Note: The amount of backward feed is dependent on printer mechanical capability.
[p2]
Position control after feeding. Valid Values:
l Default: 0
l Allowed values:
0. The media has unknown position. Printer needs label gap/black mark detecting
before next print job (default).
1. Media is located in the printing position.
2. (not supported in ESim): Media feed stops when Black mark/label gap is in
sensor position or, if no black mark/gap is detected, when <p1>dots are stepped
(error 99 is reported).
[p3]
Option delay after feeding before the next print job in the queue. Delay is p3*100 ms.
Valid Value:
l Range: Integer value
Behavior
l Media feeding will not be disrupted by pressing the Feed button or by opening the
cover and/or print head.
Limitations
1. Standalone, command-line use (i.e.: as a single command from a terminal applic
ation) of the PF command is not supported if the printer command language is set
to Autosense due to a conflict with the Direct Protocol/Fingerprint language
PRINTFEED command. In this instance, issuing a PF command will result in the cur
rent print buffer being printed. If used within an EPL printing script then PF<p1> is
supported to feed the indicated number of dot lines.
2. Parameter [p2]value = 2 is not supported in ESim (Not normally used in printing job
scripts)
Syntax
UF
Parameters
There are no parameters for this command.
Behavior
l Total number of forms followed by a list of all stored forms will be sent back to the
host.
l To have the form names listed in order, pre-pad the number with '0's as such <form
name>01, <formname>02 .... This is a known different behavior from other EPL II
printers.
Example
UF↵
0012
Form01
Form02
:
:
Form12
<"name">
Name of form to be stored in memory. Valid Values:
l Range: Alphanumeric, up to 96 characters.
Note: Form names will be case sensitive and based on system filename accepted characters,
and stored exactly as entered.
Behavior
l All commands following FS are stored in the Forms memory until a FE command is
received to end the form store process.
l If a form with the same name is already stored in memory, the FS command results
in an error and the old form is retained.
l When updating a form, use the FK command to delete the old version before storing
the new version.
l To print a list of the forms currently stored in memory, use the FI command.
l Global commands EI, EK, ES, FI, FK, GI, GK, GM, M, N, TS, U, UE, UF, UG, Y, W, ?, ^@
must not be used in a form store sequence. These commands will be ignored.
l Data stored within a form cannot have the Null (0 dec. 00 hex.) character as part of
any data within that form.
Note: Form name, AUTOFR, is reserved for Automatic Form Printing (refer to AUTOFR).
Difference
l N and P commands can be used in forms for ESim, but will result in an error and a
blank label printed in other EPL II implementations on competitor printers.
Syntax
UG
Parameters
There are no parameters for this command.
Behavior
l Total number of graphics followed by a list of stored graphics (supported graphics
formats only) will be sent back to host.
l The resident (factory installed) graphics will not be listed as part of the list.
Example
UG↵
004
Graphic1.PCX
Picture01.png
Picture02.png
Logo.bmp
Syntax
^ee
Parameters
There are no parameters for this command.
Behavior
l After the command is sent to printer, the printer will return an error and status
report back through the communication interfaces once it reaches a state of nor
mal-command-input or error waiting-recovery.
l Command must end with <CR> or <LF> to be correctly executed.
l The printer replies to the host via the communications interface in one of the fol
lowing formats:
1. If no error code is available (normal case):
00<CR><LF>
whereby 00 : Status code OK
2. If only one error code is available:
XX<CR><LF>
whereby XX : Error or status code
3. If more error or status codes are available:
XX,YY,ZZ<CR><LF>
whereby XX YY ZZ : Error or status codes.
l Please refer to the Error response tables under the "Error Types and Responses" sec
tion for the full list of errors reported.
l This command must be followed by CR/LF to be correctly interpreted.
l This command is not available during the operation of storing data such as graphics,
soft fonts.
l This command cannot be used within a stored form.
l This command is only available during command input, that is, not as part of data for
graphics, soft fonts, or in format forms.
l This command cannot be inside a variable input (?) or inside a string area ("").
l This command can be sent to the printer during all other printing operations.
l This command will be ignored while the reset command is being executed.
l This command may not be processed when the input data buffer is full.
Syntax
LO<p1>,<p2>,<p3>,<p4>
Parameters
<p1>
Horizontal start position (X) in dots. Valid Values:
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p2>
Vertical start position (Y) in dots. Valid Values:
l Range: 0 - maximum label length
Note: MUST be a numeric value.
<p3>
Horizontal length in dots. Valid Values:
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p4>
Vertical length in dots. Valid Values:
l Range: 0 - maximum label length
Note: MUST be a numeric value.
Syntax
LS<p1>,<p2>,<p3>,<p4>,<p5>
Parameters
<p1>
Horizontal start position (X) in dots. Valid Values:
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p2>
Vertical start position (Y) in dots. Valid Values:
l Range: 0 - maximum label length
Note: MUST be a numeric value.
<p3>
Line thickness in dots Value:
Note: MUST be a numeric value.
<p4>
Horizontal end position (X) in dots. Valid Value:
Note: MUST be a numeric value.
<p5>
Vertical end position (Y) in dots. Valid Value:
Note: MUST be a numeric value.
Behavior
l If <p3> > Horizontal end position, then line thickness takes precedence.
Syntax
LE<p1>,<p2>,<p3>,<p4>
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Horizontal length in dots. Valid Value:
l A numeric value > 0
<p4>
Vertical length in dots. Valid Value:
l A numeric value > 0
Syntax
LW<p1>,<p2>,<p3>,<p4>
Parameters
<p1>
Horizontal start position (X) in dots. Valid Values:
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p2>
Vertical start position (Y) in dots. Valid Values:
l Range: 0 - maximum label length
Note: MUST be a numeric value.
<p3>
Horizontal length in dots. Valid Values:
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p4>
Vertical length in dots. Valid Values:
l Range: 0 - maximum label length
Note: MUST be a numeric value.
Syntax
EI
Parameters
No parameters.
Behavior
l List of items are in alphabetical order.
Syntax
j<p1>
Parameters
<p1>
Length of media feed after printing in dots. Valid Values:
l 203 dpi (8 dots/mm):
Default: for tear-off (straight-through) operation: 136
for peel-off (self-strip) operation: 110
Range: 0 - 203
l 300 dpi (11.81 dots/mm):
Default: for tear-off (straight-through) operation: 204
for peel-off (self-strip) operation: 165
Range: 0 - 300
Behavior
l This is a Honeywell/Intermec specific legacy printer command, it exists in ESim to
maintain compatibility with scripts created for old legacy printers, and should not be
part of EPL scripts created for newer printers in which ESim will be running.
l When using peel-off operation, the labels should remain slightly stuck to the liner
(backing paper) so they do not fall off but can still can be easily removed.
l In tear-off operation, the j command adjusts the media feed so that the perforation
between tags or gap between labels is aligned with the tear bar.
l The extra media feed set by the j command can be enabled or disabled using JF and
JB "Top of Form Backup" commands. By default, "Top of Form Backup" is enabled.
l This is a PF8 specific command and values used. For example, '136' on the 203dpi
printer is a value to indicate to feed to the printer tear bar, which effectively may not
be translated to actual 136 dots for printers other than PF8. Newer printers will treat
'136' as a 'feed to tear bar' default, and take back and forwards feeds with reference
to the value '136'.
Example
l A command of j110 would indicate a feed '-26' from the tear bar of any printer, and a
j180 would indicate a feed forward by 44 from the tear bar.
Syntax
O[S[,P|N],<L>,<D>,<Fp1>[,Cnnn|Cb]]
Parameters
[S]
Enable reverse gap sensing.
[P|N]
Enable / Disable label taken sensor.
<L>
Enable Printer press feed button to print function.
<D>
Disable ribbon end sensor.
<Fp1>
Form feed action setting. Valid Values:
l Ff: form feed (default)
l Fr: print the last printed label again.
l Fi: ignore feed button press
[Cnnn]
Print nnn labels before cutting. Valid Value: nnn: 1 – 255
[Cb]
Print batch before cutting.
Behavior
Parameters can be entered in any order. Default is on.
l S - Reverse Gap Sensing Enabled
By default, the sensor interprets blockage of light to mean a label is present. This
parameter reverses the operation of the label gap sensor so it interprets a blockage
of light as a gap between labels. Before using the S parameter, make sure to load the
printer with the appropriate type of media.
l P / N - Label Taken Sensor Enable / Disable
When the label taken sensor is enabled, the communication to the printer is blocked
as long as the sensor detects a label in the feed out slot. This command does not
work with a cutter; if a cutter kit is fitted on the printer, use ON to disable the sensor.
l L - Enable Printer press feed button to print function
If enabled, the printer will pause after printing a label until the feed button is pressed
Syntax
P[p1[,p2]]
Parameters
[p1]
Specifies the number of label sets. Valid Values:
l Default: 1
l Range: 1-65535
[p2]
Specifies the number of copies of each label. Valid Values:
l Default: 1
l Range: 1-65535
Behavior
l The command can be used inside a stored form sequence for printing, this behavior
is different from other EPL II printers that do not allow P command in forms.
l Use the PA command, for automatic printing of stored forms.
Syntax
PA,<p1>[,p2]
Parameters
<p1>
Number of label sets. Valid Values:
l Range: 1 - 65535
Note: Can be variable data.
[p2]
Number of copies of each label. Valid Values:
l Range: 1 - 65535
Note: Can be variable data.
l Used together with counters, this sets the number of copies of each label. This value
is only used when using counters, otherwise it is ignored.
Syntax
U
Parameters
No parameters.
Behavior
l The label will consist of
System Information
l Firmware version number
l Serial port settings
l USB PID, VID
l Installed RAM size (in Kbytes)
l Image buffer size (in KBytes)
l Flash memory installed, and available for user
ESIM settings commands
l I command, code page setting
l JF/JB setting
l f, feed, setting
l S command, Print speed setting
l D command, Density setting
l R & r commands, reference and relative reference point
l O command options
l Feed direction as ZT/ZB
l Error reporting mode as US/UN
l q command, media width setting
l Q command, media length setting
l Media type description as Black Mark, Gap, Continuous, DT/TT
l Date & Time
l Printer Name
l IP Network settings
Limitations
l The reporting format and text may differ from other EPL II printers, due to hardware
and configuration differences.
Example
Syntax
Z<p1>
Parameters
<p1>
Printing orientation. Valid Values:
l T=Right-reading top of label is at leading edge. (default)
l B=Right-reading top of label is at trailing edge.
Behavior
l This command affects the complete print image, including text, bar codes, graphics,
lines, and boxes, as well as the location f the reference point, see "R - Set Reference
Point".
l Printing a test label in the Test modes or using a U or UP command resets the print
direction to default (ZT).
l This command setting is saved in non-volatile memory, and stays even after printer
power reset.
Syntax
FI
Parameters
No parameters.
Behavior
l Issue a FI command after storing a form to make sure the storing was successful
and to show the amount of free memory.
Syntax
GG<p1>,<p2>,"<name>"
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<name>
Graphic file name. Valid Values:
This is the file name used when the graphic was stored, and is case sensitive.
l The name may be from 1 up to 96 characters long.
l This name can be specified via variable data (V00 - V99).
Behavior
l A graphic can only be printed in the same direction and size as when it was saved.
There are no means of magnification or rotation of an individual graphic.
Syntax
GI
Parameters
No parameters.
Syntax
A<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,"<DATA>"[,p8p9p10…]
Parameters
<p1>
Horizontal start position (X) in dots. Valid Values:
l Default: 0
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p2>
Vertical start position (Y) in dots. Valid Values:
l Default: 0
l Range: 0 - maximum label length
Note: MUST be a numeric value.
<p3>
Rotation Valid Values:
l Characters will be placed vertically from left to right and then rotated to render.
l Valid Values:
0 = normal (no rotation)
1 = 90 degrees
2 = 180 degrees
3 = 270 degrees
l Rotation for Asian Fonts Only
Characters are placed horizontally from top downwards and rotated to be rendered.
Both horizontal and vertical character rotation are supported.
l Valid Values: (Asian Fonts Only)
4 = normal (no rotation)
5 = 90 degrees
6 = 180 degrees
7 = 270 degrees
<p4>
Font selection. Valid Values:
[p8]
Optional parameter,
Variable data field number. Valid Values:
l A variable data field number,
l Renders the contents of the variable "nn" at this position, where n is a 2 digit number
from 00-99
l Range: 00 - 99
[p9]
Optional parameter,
arithmetic operator. Valid Values:
l Valid Values:
l + or –
[p10]
Behavior
Variable Data and Counter Functions
The "Data" field can be replaced by or combined with the following commands:
l Vnn = Prints the contents of variable "nn" at this position where nn is a 2 digit num
ber from 00 to 99. For more information, refer to the V command.
l Cn = Prints the contents of counter "n" at this position where n is a one digit number
from0 to 9. For more information, refer to the C command.
Behavior (Legacy Mode)
l For <p4> values = TA - TZ. In legacy mode,
o the horizontal multiplier (<p5>) parameter specifies the font horizontal size in
dots used to compute the font width enlargement. Width % enlargement =
<p5>*100/<p6>.
o the vertical multiplier (<p6>) parameter specifies the font vertical size in dots and
is used to compute the font point size. point size = <p6> * 72/ TPH resolution
(dpi).
Data with the RTC Time & Date Functions
The "Data" field can be replaced by or combined with the following variables:
l TT = Prints the current time at this position in the predefined format. See the TT com
mand for format selection.
l TD = Prints the current date at this position in the predefined format. See the TD com
mand for format selection.
Invalid <p7> values other than N or R
Invalid <p7> values will be defaulted back to N for normal printing. This behavior is
different from other EPL II printer behavior.
Syntax
a<p1>,<p2>,<p3>,<p4>,<p5>,<p6>,<p7>,"<DATA>",[p8p9p10]…
Parameters
<p1>
Horizontal start position (X) in dots. Valid Values:
l Default: 0
l Range: 0 - width of TPH
Note: MUST be a numeric value.
<p2>
Vertical start position (Y) in dots. Valid Values:
l Default: 0
l Range: 0 - maximum label length
Note: .MUST be a numeric value
<p3>
Rotation. Valid Values:
l Characters are placed vertically from left to right and then rotated to render.
l Valid Values:
0 = normal (no rotation)
1 = 90 degrees
2 = 180 degrees
3 = 270 degrees
l Rotation for Asian Fonts Only
l Characters are placed horizontally from top downwards and rotated to be rendered.
Both horizontal and vertical character rotation are supported.
l Valid Values: (Asian Fonts Only)
4 = normal (no rotation)
5 = 90 degrees
6 = 180 degrees
7 = 270 degrees
<p4>
Installed (resident or user-downloaded) TrueType font name. Valid value:
[p8]
Optional parameter,
Variable data field number. Valid Values:
l A variable data field number,
l Renders the contents of the variable "nn" at this position, where n is a 2 digit number
from 00-99
l Range: 00 - 99
[p9]
Behavior
Variable Data and Counter Functions
The "Data" field can be replaced by or combined with the following commands:
l Vnn = Prints the contents of variable "nn" at this position where nn is a 2 digit num
ber from 00 to 99. For more information, refer to the V command.
l Cn = Prints the contents of counter "n" at this position where n is a one digit number
from 0 to 9. For more information, refer to the C command.
Data with the RTC Time & Date Functions
The "Data" field can be replaced by or combined with the following variables:
l TT = Prints the current time at this position in the predefined format. See the TT com
mand for format selection.
l TD = Prints the current date at this position in the predefined format. See the TD com
mand for format selection.
Syntax
UV
Parameters
There are no parameters for this command.
Behavior
l This command is for Honeywell printers only.
l For all printers, the first line returned after the UV command is firmware version
appended by a CR/LF, followed by information on the font appended by CR/LF.
l The reporting of Asian fonts will be different from other EPL II printer text, due to dif
ferent fonts (font naming) used.
Example
UV↵
ESim, K10.12.XXXXXX, PC43t(203dpi)
Asian Font Simplified Chinese (CP936)
Syntax
^D
Parameters
There are no parameters for this command.
Behavior
l The reply at command US is by default Pnnnn<CR><LF>, where nnnn is the number
of remaining labels.
l This command must be followed by CR/LF to be correctly interpreted.
l This command is not available during the operation of storing data such as graphics,
soft fonts.
l This command cannot be used within a stored form.
l This command is only available during command input, that is, not as part of data for
graphics, soft fonts, or in format forms.
l This command cannot be inside a variable input (?) or inside a string area ("").
l This command can be sent to the printer during all other printing operations.
l This command will be ignored while the reset command is being executed.
l This command may not be processed when the input data buffer is full.
Syntax
GRP<p1>,<p2>,<p3>,<p4>[,p5]
Parameters
<p1>
X-position in printer dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Y-position in printer dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Number of bytes across the graphic.
(8 dots = 1 byte). Valid Value:
l A numeric value in bytes.
<p4>
Number of dot rows going down the graphic. Valid Value:
l A numeric value in dots.
[p5]
Optional parameter.
Parameter setting the format of the data. Valid Values:
l Allowed values are:
B = Binary, not inversed.
b = Binary, inversed (default).
H = Hexadecimal, not inversed.
h = Hexadecimal, inversed.
Behavior
l This command is the reverse of the GW command and can be used to verify that data
has been rendered correctly. What part of the print buffer is sent back to the host is
specified by the parameters <p1>-<p4> above, and the format of this data by [p5].
l This is a legacy (non EPL II) command, in which its purpose can be fulfilled by
grabbing the printer system image buffer from the printer web page, if network
option is available for the printer. The image buffer can be saved and installed on the
printer as a graphic, and called using the GG command to print it.
Limitations
Syntax
UB
Parameters
There are no parameters for this command.
Behavior
l By default, the printer will resume printing once the empty roll is replaced with a new
roll to finish a batch print job.
Behavior
l This command resets the printer in the same way as a power off followed by a power
on.
l This command must be followed by CR/LF to be correctly interpreted.
l This command is not available during the operation of storing data such as graphics,
soft fonts.
l This command cannot be used within a stored form.
l This command is only available during command input, that is, not as part of data for
graphics, soft fonts, or in format forms.
l This command cannot be inside a variable input (?) or inside a string area ("").
l This command can be sent to the printer during all other printing operations.
l The printer will ignore all other commands sent while the reset command is being
executed.
Limitations
l This command may not be processed when the input data buffer is full.
Syntax
^default
Parameters
There are no parameters for this command.
Behavior
l This command returns the printer to its system default setup, which will reset con
figurations, communications settings, and user settings and installed files.
l This command must be followed by CR/LF to be correctly interpreted.
l This command is not available during the operation of storing data such as graphics,
soft fonts.
l This command cannot be used within a stored form.
l This command is only available during command input, that is, not as part of data for
graphics, soft fonts, or in format forms.
l This command cannot be inside a variable input (?) or inside a string area ("").
l This command can be sent to the printer during all other printing operations.
l This command will be ignored while the reset command is being executed.
l This command may not be processed when the input data buffer is full.
Syntax
FR<"name">
Parameters
<"name">
Name of form that was stored in memory. Valid Values:
l Range: Alphanumeric, up to 96 characters.
Note: Form names will be case sensitive and based on system filename accepted characters,
and stored exactly as entered.
Syntax
Y<p1>,<p2>,<p3>,<p4>
Parameters
<p1>
Baud rate:
11 = 115,200 baud
57 = 57,600 baud
38 = 38,400 baud
19 = 19,200 baud
96 = 9,600 baud
48 = 4,800 baud
24 = 2,400 baud
12 = 1,200 baud. Valid Values:
l Default: 115,200.
l Range: as indicated in description.
Note: System default setting is also dependent on systems capabilities.
<p2>
Parity:
O = Odd
E = Even
N = None. Valid Values:
l System Default: N (None)
l Range: O, E, N
<p3>
Number of data bits:
7 = 7 data bits
8 = 8 data bits. Valid Values:
l System Default: 8
l Range: 7, 8
<p4>
Number of stop bits:
1 = 1 stop bit
2 = 2 stop bits. Valid Values:
l System Default: 1
l Range: 1, 2
Behavior
Limitations
l This command is a legacy command, and does not support setting of RTS/CTS, hard
ware flow control. Setting it via printer systems setting is recommended.
Syntax
Q<p1>,<p2>,[±p3]
(for gap media)
Q<p1>,0[±p3]
(for continuous media)
Q<p1>,B<p2>,[±p3]
(for blackmark media)
Parameters
<p1>
Gap & Blackmark Media Mode:
Form length measured in dots. Printhead type determines the number of dots for this
parameter.
Continuous Media Mode:
Media feed to be performed in dots, after the actual print image has been printed.
Valid Values:
l 203 dpi (8 dots/mm):
Default: 1200 dots.
l 300 dpi (11.81 dots/mm):
Default: 1800 dots.
Range: 0 – 32767
<p2>
Gap length or thickness of black line. Valid Values:
l 203 dpi (8 dots/mm):
Default: 24 dots
Range: 16-240 dots
l 300 dpi (11.81 dots/mm):
Default: 36 dots
Range: 18-240 dots
l Gap Media:
By default, the printer is in Gap mode and parameters are set with the system media
calibration.
l Black Mark Media:
Set <p2> to B plus black line thickness in dots. See the Gap mode range.
Behavior
l The Continuous media mode is similar to the system setting for Continuous Variable
Length media.
l There is no Q command setting for Continuous Fixed Length media, this can be set
via printer systems settings.
Syntax
Parameters
<p1>
Width of label measured in dots. Valid Value:
l Default will be dependent on each printer's system default for media width.
Behavior
l The q command causes the image buffer to be formatted to match the label width.
l If an R command (reference point) is sent after a q command, the image buffer is
automatically reformatted to match the width of the print head and the margins are
reset accordingly.
Syntax
TS<p1>,<p2>,<p3>,<p4>,<p5>,<p6>
Parameters
<p1>
Month. Valid Value:
l Range: 01-12
<p2>
Day. Valid Value:
l Range: 01-31
<p3>
Year. Valid Values:
l Range: 90-99 (for 1990-1999)
l Range: 00-89 (for 2000-2089)
Note: Last two digits of Year.
<p4>
Hour. Valid Values:
l Range: 00-23
Note: Note: Shown in 24 hour format.
<p5>
Minutes. Valid Value:
l Range: 00-59
<p6>
Seconds. Valid Value:
l Range: 00-59
Behavior
l This command is useful only if the printer is fitted with a real-time clock circuit
(RTC).
Syntax
R<p1>,<p2>
Parameters
<p1>
Horizontal (left) margin measured in dots. Valid Values:
l Default is 000.
l The value must be between 0 and the printer's maximum printhead width.
<p2>
Vertical (top) margin measured in dots. Valid Values:
l Default is 000.
l The value is have to be between 0 - 4000.
Behavior
l The reference point command is used to establish top and left margins to prevent
printing off the edge of the label.
l For narrow labels, the R command could be substituted by q and r commands,
which have the benefit of making better use of a limited image buffer. Any R com
mand after a q command resets the width to the maximum print width, as a qnnn
command, where 'nnn' is the value of the maximum label width supported by the
printer. The values for the latest R command (or r, whichever was last executed) are
printed on the test label.
The print direction commands ZB, and ZT affect the location of the reference point,
as illustrated below.
Syntax
r<p1>,<p2>
Parameters
<p1>
Horizontal (left) margin measured in dots. Valid Value: Default is 000.
<p2>
Vertical (top) margin measured in dots. Valid Value: Default is 000.
Behavior
l The relative reference point command is used to establish the top and left margins
relative to the label width. For narrow labels, the r command can be used after a q
command, which has the benefit of making better use of a limited image buffer. The
values for the latest r command (or R, whichever was last executed) are printed on
the test label.
The print direction commands ZB and ZT affect the location of the relative reference
point as illustrated.
Syntax
SA<p1>
Parameters
<p1>
Setup adjust value. Valid Values:
l 0 = All commands remain active and values are saved when changed. The printer
uses stored setup values (default).
l 1 = All setup parameters are locked and commands are ignored. The printer uses
only previously stored setup values.
l 2 = All setup commands within forms are ignored.
Behavior
l The SA command affects the following setup commands: R, r, D, j, J, q, Q, S, Z, and
SPC. The current SA value is stored in Flash memory and printed on the test label.
Syntax
SPC<p1>
Parameters
<p1>
Setup Print Copy value. Valid Values:
l 0 = Media feeds as usual when the Feed button is pressed (default).
l 1 = Print Copy is activated (see behavior).
l 2 - Print Copy is activated. In this state, additional fields can be added to the existing
image and printed by pressing the Feed button.
Behavior
l The following commands sent after the last printout will disable Print Copy (when
SPC1 is set): a, A, b, B, GW, GG, LE, LO, LS, LW, N, q, Q, r, R, X, and Information com
mands.
l The current SPC value is stored in Flash memory and printed on the test label.
Syntax
UE
Parameters
There are no parameters for this command.
Behavior
l Printer will send the number of external fonts stored followed by a list of each font's
name, height and direction to the host.
Example
UE↵
004
i,33dots,dir:2
k,34dots,dir:2
q,55dots,dir:0
s,39dots,dir:2
Syntax
S<p1>
Parameters
<p1>
Behavior
l Changing the print speed can affect the quality/darkness of the printout, this may
have to be adjusted using a D command.
Syntax
GW<p1>,<p2>,<p3>,<p4>,<DATA>
GW<p1>,<p2>,<p3>,<p40>,<x0A>,<DATA>
Parameters
<p1>
Horizontal start position (X) in dots. Valid Value:
l A numeric value between 0 and the thermal printhead (TPH) width.
<p2>
Vertical start position (Y) in dots. Valid Value:
l A numeric value between 0 and the specified media length.
<p3>
Width of graphic in bytes. Valid Value:
l Width of graphic in bytes. Eight (8) dots = one (1) byte of data.
<p4>
Number of lines of Graphic in dots (print rows). Valid Value:
l A positive numeric value larger than 0.
<DATA>
Raw binary data without graphic file formatting. Valid Value:
l Data must be in bytes. Multiply the width in bytes (<p3>) by the number of print lines
(<p4>) for the total amount of graphic data. The printer automatically calculates the
exact size of the data block based upon this formula.
Behavior
l The graphic data sent directly to the image buffer will not be stored.
l The graphic data is lost when the image has finished printing, power is removed or
the printer is reset. Commands that size (Q and q) or clear (N and M) the image buf
fer will also remove graphic image data.
l Use this command instead of GM for temporarily used graphics, for example images
that change between each label. The graphics are downloaded directly to the volatile
memory.
l The printer will calculate exactly how much data to expect based on <p3> and <p4>,
and ignore any additional data.
Syntax
GM<"name">,<p1><CRLF>,<DATA>
Parameters
<"name">
Graphic name to be stored under, and to be used when retrieving the stored graphic.
Detail:
l Range: Alphanumeric characters up to 96 characters long.
<p1>
File size in bytes. Detail:
l This is the size of the original graphics file.
<"data">
Graphics data.
Details:
l Graphic file data in 1-bit (black & white) binary data format file.
o The graphic file (in its entirety) must be sent in binary form as the data itself.
o A graphic will not store if there is insufficient memory
Behavior
l Only single-bit depth BMP, GIF, PCX & PNG graphic file formats are supported.
l Graphic names stored are case sensitive and will be stored as entered; i.e. "LOGO1",
"logo1" and "LoGo1" are three different graphics when stored into the printer or
when retrieved by the user.
l Deleting a single graphic requires that the GK"name" command string be issued
twice for each graphic file to be deleted.
l The binary data to be stored depends on the value of <p1>, and any additional binary
data after that will be discarded.
Syntax
ES"<name>"<p1>,<p2>,<p3>,<a1>,<b1>,<c1>,<"data1">...<an>,<bn>,<cn>,<"datan" >
Parameters
<name>
single letter name of font. Valid Value: Range: a - z (lower case)
<p1>
Number of characters to be downloaded (in hexadecimal coding). Valid Value:
l Range: 00–FF hex (0–255 decimal) for 1 to 256 characters per user-downloaded
fonts ("soft fonts") set.
<p2>
Character rotation using hexadecimal coding. Valid Values:
l Range:
00 hex = 0° and 180°
01 hex = 90° and 270° clockwise
02 hex = All four directions in 0° and 180° rotation pair and 90° and 270° degree
rotation pair.
<p3>
Font height. Valid Values:
l Range: 00–FF hex
Measured in dots and expressed as a hexadecimal coding.
l Font height includes ascenders and descenders of characters and need to fit in the
character cell of:
203 dpi printers:
256 dots (1.26 in. / 32.03 mm)
300 dpi printers:
256 dots (0.85 in. / 21.67 mm)
<a1-n>
Download character map position in hexadecimal coding. Valid Value: Range: 00–FF
hex
<b1-n>
Spacing to next print character in dots. Valid Value: Range: 00–FF hex
Downloaded character's next printed character position in dots, i.e. Character tracking
- the space between characters.
Must be greater than or equal to the character width, see parameter c1. Dots in a
decimal number converted to a hexadecimal number
<c1-n>
Behavior
l A maximum of 256 characters can be stored per font.
Syntax
eR<p1>,<p2>[,p3]
Parameters
<p1>
Single character. Valid Values:
l Default: '0' (in ASCII)
l Range: 0–255 decimal (00–FF hexadecimal)
<p2>
Mode of User Defined Error/Status Character reply. Valid Values:
l Default: 0
l Range: 0, 1, 2, 6
l <p2> = 0
l Where error number is NN:
l XOFF (19 dec. / 13 hex.) Output upon error : <NAK>NN<XOFF>
l XON (17 dec. / 11 hex.) Output upon error recovery: <XON>
l <p2> = 1
l Reply only with character, defined by <p1>:
l Report the defined error character followed by a carriage return and line feed.
l Output at error action: <p1><CRLF>
l Output at error recovery: [p3]<CRLF>
l <p2> = 2
l Reply with character <p1> and error number NN:
l Reports the defined error character, error code, and followed by a carriage return
and line feed
l Output at error action: <p1>NN<CRLF>
l Output at error recovery: [p3]00<CRLF>
l <p2> = 6 Mode of <XOFF> and <XON> replacement
l Like default mode (0), but with all <XOFF> replaced by <p1> and all <XON> replaced
by optional [p3]:
Output at error action: <NAK>NN<p1>
Output at error recovery: [p3]NN
[p3]
Optional recovery action single character. Valid Value:
4
ESim configuration files (ESIM.CFG) from earlier versions are automatically migrated
to the printer’s configuration system on upgrading to v12 or higher firmware. After
migration, the ESCIM.CFG file will be renamed to ESIM.OLD and will remain in the
/home/user folder of the printer. This file may be removed, if desired, using an FTP
utility.
The ESim printer settings can be found in the printer menu system as follows:
5
Supported ESim Ignore Commands previously stored in IGNCMDS.CFG are
automatically migrated to the printer’s configuration system on upgrading to v12 or
higher firmware. After migration, the IGNCMDS.CFG file will be renamed to
IGNCMDS.OLD and will remain in the /home/user folder of the printer. This file may be
removed, if desired, using an FTP utility.
During migration, for each command found in IGNCMDS.CFG:
l If supported, status in the Ignore Commands list is set to "Ignore."
l If not supported, "Unsupported Ignore Command" is appended to the line.
Check IGNCMDS.CFG for unsupported commands, and report those commands to
Technical Support for future evaluation.
6
This section covers the error types and responses that may be received when EPL
commands are sent to the printer running ESim.
Text Description
Error Referred error number divided in code and type.
Code Referred error number.
Description Responses depending on error reporting flag controlled by
US and UN commands.
Response at ^ee Output on serial line of error number, if only one error is
available.
<CR> 0x0d
<LF> 0x0a
<CRLF> 0x0d + 0x0a
<XON> 0x11
<XOFF> 0x13
<NAK> 0x15
- Nothing happens.
[XOFF] Flag for waiting on error recovery. Default value is <XOFF> =
0x13, but can be substituted with command eRp1,6,p3 where
p1 is replacement of <XOFF> and where p3 is a replacement
of <XON>.
7
Empty image buffer behavior
When a 'P' (Print) command is issued, but the image buffer has nothing rendered,
ESim will not perform any media feeding action. This behavior could be different from
other EPL2 printers behavior, which may feed an empty label.
Descriptions
Parameters Description Values
id Font ID of the font that the user targets to alias a to z;
TA to TZ
sysfont * Printer system TrueType font to use to replace Alphanumeric
the font specified with parameter "id"
pt Point size of the font to use for printing Unit: Points
Default: 12
width Font width magnification percentage Unit: Percentage
slant Font slant height Unit: Degrees
code Code page for the font character set Only numerical value
* The user can issue the Fingerprint command "FONTS" to the printer for a list of all
fonts stored in the printer.
Example 1
<ID>b<SYSFONT>Andale Mono Bold< SIZE>14
<WIDTH>110<SHEIGHT>17<CHARMAP>1250
The above example creates an alias for Font ID 'b' to the resident font "Andale Mono
Bold", with point size 14, width=110%, slant=17 degrees and code page 1250.
Example 2
<ID>TA<SYSFONT>Arial Narrow< SIZE>12
<WIDTH>100<SHEIGHT>0<CHARMAP>1252
Structure:
<Group Name="Font Aliasing">
<Group Name="Font">
<Field Name="Font ID">id</Field>
<Field Name="Font Name">sysfont</Field>
<Field Name="Font Height">height</Field>
<Field Name="Font Width">width</Field>
<Field Name="Slant">slant</Field>
<Field Name="Code Page">code</Field>
<Field Name="Target Language">target-language</Field>
</Group>
</Group>
Descriptions
Corresponding Parameter
Parameters Description Values
in ESIMFNT.ALS ESim
Font ID id Font ID Acceptable
(Mandatory) Values:
a to z;
TA to TZ
Font Name * sysfont TrueType font to use Alphanumeric
(Mandatory) to replace the font
specified with
parameter "id"
Font Height pt Point size of the font Unit: Points
(Optional) Default : 12
Font Width width Font width Unit:
(Optional) magnification Percentage
* The user can issue the Fingerprint command "FONTS" to the printer for a list of all
fonts stored in the printer.
Example
<Group Name="Font Aliasing">
<Group Name="Font">
<Field Name="Font ID">b</Field>
<Field Name="Font Name">Andale Mono Bold</Field>
<Field Name="Font Height">14</Field>
<Field Name="Font Width">110</Field>
<Field Name="Slant">17</Field>
<Field Name="Code Page">1250</Field>
<Field Name="Target Language">ESIM</Field>
</Group>
<Group Name="Font">
<Field Name="Font ID">TA</Field>
<Field Name="Font Name">Arial Narrow</Field>
<Field Name="Font Height">12</Field>
<Field Name="Font Width">100</Field>
<Field Name="Slant">0</Field>
<Field Name="Code Page">1252</Field>
<Field Name="Target Language">ESIM</Field>
</Group>
</Group>
Notes:
1. The font aliasing settings for Font 'b' has been removed from the "Current XML Con
figuration File",
while Fonts 'c' and 'd' are recreated using their original settings, effectively leaving
them intact.
2. After applying this updated configuration, Font 'b' will not be aliased to any font.
Notes:
1. The font aliasing to Font IDs "b" and "c" have been removed from the "Current XML
Configuration File",
while all other font aliases are recreated using their original settings, effectively leav
ing them intact.
2. After applying this updated configuration, Font IDs "b" and "c" will no longer be
aliased to any fonts.
Notes:
1. After applying this updated configuration, all font aliasing will be removed.
937-024-003 Rev A
11-17