beautypg.com

Defining the control characters packet 2-14, Control characters 2-14, Control characters packet e 2-14 – Avery Dennison Sierra Sport2 9460 Programmer Manual User Manual

Page 32: Selecting 2-14, Selecting new 2-14, Syntax 2-14, Packet control characters packet e 2-14, Defining the control characters packet -14

background image

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 P a 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.

Note:

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 to 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.

E4. “string 2"

Terminator for job requests and data uploads. Up to any 3 characters in
the 0-255 decimal range. The default is none. Sending “” disables this
sequence.

2-14 Configuring the Printer