beautypg.com

Using immediate commands 2-16, Enabling immediate commands 2-16, Sending immediate commands 2-16 – Avery Dennison Sierra Sport2 9460 Programmer Manual User Manual

Page 34: Canceling printing 2-16, Enabling 2-16, Sending 2-16, Table 2-16, When to use 2-16, Canceling 2-16, Immediate command 2-16

background image

U s i n g I m m e d i a t e C o m m a n d s

Immediate commands effect printer operation as soon as the printer
receives them, even if they are included within a packet or used inside
quotation marks.

You can use immediate commands to change immediate command or status
polling control characters, reset the printer, or cancel and repeat batches.

E n a b l i n g I m m e d i a t e C o m m a n d s

When the printer is first turned on, these commands are not available. To
use these commands, you must first send the control characters packet and
define the immediate command control character. The immediate command
control character is saved when you turn off the printer. Once the
immediate command control character is defined, the immediate commands
are enabled.

S e n d i n g I m m e d i a t e C o m m a n d s

Immediate commands consist of a three- or four-character sequence you
can send in a packet or embed in your application. Each command must be
sent separately.

Syntax

control character_immediate command

The printer can accept only one immediate command at a time. Sending a
command before the previous one is completed can result in an error.

Example

^CB

Immediately cancels the batch currently printing unless an error exists in the
printer. This example assumes that the defined immediate command control
character is the caret (^).

The table represents the defined immediate command control character as ^
and the defined status polling control character as d. You may define these
characters to suit your needs.

To use the immediate command control character or the status polling
character within your data, use the tilde sequence

2-16 Configuring the Printer