Command Tag

ClosedDescription

Defines the command request.

ClosedSyntax

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

Where ... is replaced with the tags contained within the command.

The supported attributes include:

Attribute

Required/Optional

Description

Name

Optional

The name that identifies the Command.

RepeatCount

Optional

The number of times the Command will be executed.

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

Allows you to load or set up a BarTender document prior to using another command.

Print

Executes 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"

"John","Smith","Kirkland","98293"]]>

</TextData>

</RecordSet>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and higher)