D e f i n i n g t h e C o n t r o l C h a r a c t e r s Pa c k e t

Use the control characters packet (E) to change the MPCLII control characters, enable and disable the immediate commands, and change the default terminator character for job requests and ENQ’s.

Changes take effect with the first character following the end of header character } of the configuration packet. Each control character must be unique and cannot appear anywhere else in your packet, except within quotation marks. You can customize the trailer characters to work with your host.

Wait two seconds for the new characters to take effect before sending packets using the new characters.

Use the following syntax for the control characters packet. Notice all but the first parameter are within quotation marks.

Syntax

{I,E,"ANSI_cd","string1","string2" p }

E1. E

Control Characters Packet

 

 

E2. "ANSI_cd"

~123

Start of header

{

(left bracket)

 

~044

Parameter

,

(comma)

 

 

separator

 

 

 

~034

Quoted strings

"

(quotes)

 

~124

Field separator

p

(pipe sign)

 

~125

End of header

}

(right bracket)

 

~126

Data escape

~~

(double tilde)

 

 

character (optional)

 

 

 

def. ch.

Immediate command character (optional).

 

 

Up to any 3 characters in the 0 - 255 decimal

 

 

range. The character must be defined before this

command can be used. The caret (~094) is normally used.

Note: "ANSI_cd" includes seven separate parameters. The

first five parameters are required. The other parameters are optional.

E3. "string 1" Terminator for status requests and ENQ requests. Up to any 3 characters in the 0 - 255 decimal range. The default is "013". Sending "" disables this sequence.

2-14Configuring the Printer

Page 34
Image 34
Paxar manual 14Configuring the Printer, ANSIcd,string1,string2 p