Application DesigndetailedDeviceStatus Business Rule Component

A Detailed Device Status business rule component allows you to query a device for detailed device status information. This is typically information about whether the device is offline and whether error conditions exist that would prevent printing.

Other information can be retrieved by using a Detailed Device Information business rule component. For information, see detailedDeviceInfo Business Rule Component.

For a reference of reserved keys related to detailed device status and information, see Reserved Keys.

For examples of how to use these keys in a business rule, see Retrieve Detailed Device Status (XML).

Important! The detailedDeviceStatus and detailedDeviceInfo business rule components are supported for use only with Avery Dennison, cab, Datamax-O'Neil, Epson, Intermec IPL, Loftware, NOVEXX Solutions, PCL, Printronix, QuickLabel, SATO, Toshiba, and Zebra devices.

The following is the syntax for a Detailed Device Status business rule component.

Important! Content in a business rule is case sensitive. This includes business rule component names, attributes, and values.

Note: For each business rule component, most elements and attributes are optional, but you should specify enough to achieve the functionality that you intend. In most cases, you can omit attributes that are not relevant to your task and default values will be used. You must specify a name and a namespace. Except where otherwise indicated, attributes accept string values.

ClosedAbout the syntax documentation

<detailedDeviceStatus name="This_component" namespace="Parent_of_component"
deviceName="Device_to_query"
sticky="true|false" configuratorType="Block_type_ID" alias="Data_reference">

<!-- Triggers -->

<!-- Required. Specify which event will cause this business rule component to run. For more information, see Triggers. -->

<triggers>

<trigger eventTrigger="ENQUEUE|PRINTJOBDETAIL|LABEL|Custom_Event" priority="integer" propagation="NONE|BEFORE|AFTER"/>

</triggers>

 

Closed<!-- Execution condition -->

 

Closed<!-- Default data -->

 

Closed<!-- Parameters -->

 

Closed<!-- Common custom events -->

 

<!-- Child business rule components -->

<!-- You can create child business rule components to be run whenever the trigger event for this business rule component occurs. -->

<children>

<!-- The child business rule components have the potential to run once per triggering of the business rule component. However, a child business rule component will not run unless its own trigger event occurs. -->

</children>

</detailedDeviceStatus>

Syntax Tips

Additional information is available about the following items.

Closedalias

ClosedconfiguratorType

CloseddeviceName

Closedname

Closednamespace

Closedsticky

Tip: For assistance with a business rule that you have created or to have Loftware create business rules for you, contact Loftware's Professional Services Group.