Action Tag

ClosedDescription

Sets the media handling action. Determines what actions to take when an event is triggered.

ClosedSyntax

<Action>Value</Action>

Where Value can be set to one of the following:

ClosedParent Tag

<MediaHandling>

ClosedRemarks

The media handling action can be one event (Cut) or a sequence of events (Cut and Pause). If set to use driver settings (btMHDriverSettings), BarTender uses the action that is specified by the printer driver.

<Action> is an optional tag that is used with the <Print> and <FormatSetup> commands when the <MediaHandling> tag is included in the script.

ClosedExample

<?xml version="1.0" encoding="utf-8"?>

<XMLScript Version="2.0" Name="09232006_103601_Job1" ID="123">

<Command Name="Job1">

<Print>

<Format>Label1.btw</Format>

<MediaHandling>

<Action>btMHPageBreak</Action>

<DataItemName>TheDataItemName</DataItemName>

<DataItemType>btMHNamedSubString</DataItemType>

<IgnoreCase>true</IgnoreCase>

<Occurrence>btMHAfterDataChange</Occurrence>

</MediaHandling>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and higher)

Related Topics