EPL Commands
eR
92
14245L-003 Rev. A EPL Programming Guide 12/16/13
eR
User Defined Error/Status Character
Description This command allows the advanced programmer to specify the printer’s
error/status report character for error reporting via the RS-232 serial interface.
Mobile printers, such as the TR 220, ignore this command.
Syntax eRp
1
,p
2
Parameters This table identifies the parameters for this format:
Parameters Details
p
1
= Any single ASCII
character
Accepted Values: 0–255 decimal (00–FF hexadecimal)
p
2
= Error/Status
Response Mode
Example • For Mode 2 Error and Status Reporting:
eR$,2
↵ : Sets Error Character to “$”
and
: Sets Error Mode to “2".
: User operates and prints with
printer.
: User opens print head.
$11
↵ : Reports Print Head Open
: User closes print head
$00
↵ : Reports No Error
: Printer Ready for next
command.
: (Status report for Print Head
Closed)
p
2
Mode Descriptions
0 Standard (default):
XON (17 dec. / 11 hex.) on Recovery
XOFF (19 dec. / 13 hex.) on Error
1 Character Only:
Reports the selected error/status character followed
by a Carriage Return and Line Feed.
2 Character & Error/Status Code:
Reports the selected error/status character,
error/status code (see the ^ee command on page 175
for codes), and then by a Carriage Return and Line
Feed.