beautypg.com

Resetting control characters 2-15, Resetting 2-15, Resetting packet control characters 2-15 – Avery Dennison Sierra Sport2 9460 Programmer Manual User Manual

Page 33: Resetting control characters -15

background image

After you change these parameters, all packets, including any future
configuration packets, must use the new control characters. We
recommend using the tilde and ASCII character code sequence when
sending this packet multiple times. Also, set the packet delimiters to
characters within the 21 hex to 7E hex range.

You must send the control characters packet to enable the immediate
commands. An immediate command executes immediately, even if it is
embedded within quotation marks, and all data following the command in
the string is ignored.

Example

{

I,E,"~123~063~034~124~125~126~094" p }

Changes the parameter separator character from , to ?. The other control
characters remain unchanged. It also enables the immediate commands by
defining the ^ symbol as the command identifier.

R e s e t t i n g C o n t r o l C h a r a c t e r s

You can change the characters in the previous example back to their
original settings by downloading this packet:

{

I?E?"~123~044~034~124~125~126~094" p }

Notice that the parameter separator is ? in this packet. This is the
parameter separator that was set before this packet. Once the packet is
received by the printer, the new parameter separator (a comma, in this
case) is valid.

Be careful when using this feature. If you forget what the control characters
were changed to, print a test label. (The test label lists the current control
characters.) See “Printing a Test Label,” in Chapter 8 for more information.

Configuring the Printer 2-15