92

EPL Commands

eR

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 eRp1,p2

Parameters This table identifies the parameters for this format:

Parameters

Details

p1

= Any single ASCII

Accepted Values: 0–255 decimal (00–FF hexadecimal)

 

character

 

 

 

 

 

 

 

 

p2

= Error/Status

 

 

 

 

Response Mode

p2

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.

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)

14245L-003 Rev. A

EPL Programming Guide

12/16/13

Page 92
Image 92
Zebra Technologies 14245L-003 manual User Defined Error/Status Character, Syntax eRp1,p2