Intermec EasyCoder ESim v4.00—Programmer’s Reference Manual 57
Chapter 7—Commands
eR – User-Defi ned Error/Status Character Control
Description This command controls the format of error messages, mostly
when command US has enabled the printer’s status reporting
feature, but also at some high priority error types when
command UN has disabled status report.
Syntax eR p
1
,p
2
[,p
3
]
Parameters p
1
Reply error action single character when error occurs:
Value of p
1
is one single ASCII-character, except hex 00. Default: 0
p
2
Mode of User Defi ned Error/Status Character reply (one ASCII-numerical):
p
2
= 0 Mode of Reply Default, where error number is NN:
Output at error action: <NAK>NN<XOFF>
Output at error recovery: <XON>
p
2
= 1 Mode of Reply only with character, defi ned by p
1
:
Output at error action: <p
1
><CRLF>
Output at error recovery: <p
3
><CRLF>
p
2
= 2 Mode of Reply with character p
1
and error number NN:
Output at error action: <p
1
>NN<CRLF>
Output at error recovery: <p
3
>00<CRLF>
p
2
= 6 Mode of <XOFF> and <XON> replacement:
Like default mode (0), but with all <XOFF> replaced by p
1
and all
<XON> replaced by optional p
3
:
Output at error action: <NAK>NN<p1>
Output at error recovery: <p
3
>NN
p
3
Optional recovery action single character:
The normal recovery character <XON> will be replaced by character p
3
.
Value of p
3
is one single ASCII-character, except hex 00.
If no p
3
is available, p
1
is used instead as recovery action character.
Remarks Exception of output: Error 07 “Out of media or ribbon”, is
added after 07 with Pnnn or Rnnn, where nnn = numbers of
remaining labels:
Output at error media action (mode 0):
<NAK>07Pnnn<XOFF>
Output at error ribbon action (mode 0):
<NAK>07Rnnn<XOFF>
Output at error recovery:
<XON>
Mode 1, 2 and 6 changes the output in a similar way.
All parameters are saved in Flash. If more than one error occur
at the same time, there will be an output for each error recovery,
like <p1>00<CRLF> on mode 2. Refer to Appendix A for
more information on error-handling.