MediaHandling Tag |
The top level Media Handling XML tags. The Media Handling tags set BarTender's media handling options.
<MediaHandling>...</MediaHandling>
The following child element tags are supported.
Tag |
Required/Optional |
Description |
---|---|---|
Optional |
Sets the media handling actions. |
|
Optional |
Sets the name of the data item used as an occurrence. |
|
Optional |
Sets the type of data item used as an occurrence. |
|
Optional |
Sets whether the data item ignores the case value. |
|
Optional |
Sets how many labels are printed if the number of labels is the trigger. |
|
Optional |
Sets the trigger for the media handling action. |
<MediaHandling> is an optional tag that is used with the <Print> and the <FormatSetup> commands.
This example demonstrates the <MediaHandling> tag contained within the <Print> command. The <MediaHandling> tag can also be contained within the <FormatSetup> command.
<?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>
BTXML Script version 1.0 (BarTender 8.0 and later versions)
Related Topics