Command Tag

ClosedDescription

Defines the command request.

ClosedSyntax

<Command [Name=Command Name] [RepeatCount=Number]>...</Command>

Where ... is replaced with the tags that are contained in the command.

The supported attributes include the following.

Attribute

Required/Optional

Description

Name

Optional

The name that identifies the command.

RepeatCount

Optional

The number of times that the command is run.

ClosedChild Elements

The following child element tags are supported.

Tag

Description

ExportPrintPreviewToImage

Exports an entire print job (all pages) to one or more images.

FormatSetup

Loads or sets up a BarTender document before another command is used.

Print

Runs a print job.

ClosedParent Tag

<XMLScript>

ClosedExample

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

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

<Command Name="Job1">

<Print>

<RecordSet Name="Text File 1" Type="btTextFile">

<UseFieldNamesFromFirstRecord>1</UseFieldNamesFromFirstRecord>

<TextData>

<![CDATA["FirstName","LastName","City","Zip Code"

"Adam","Jones","Bellevue","98008"

"Katelyn","Smith","Kirkland","98293"]]>

</TextData>

</RecordSet>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML script version 1.0 (BarTender 8.0 and higher)