LicenseServer Tag

ClosedDescription

The root tag for LicenseServer XML tags. The LicenseServer tags set the BarTender Licensing Service options that BarTender uses.

ClosedSyntax

<LicenseServer>...</LicenseServer>

ClosedChild Elements

The following child element tags are supported:

Tag

Required/Optional

Description

Address

Optional

Sets the address of the preferred BarTender Licensing Service.

AlternateAddress

Optional

Sets the address of an alternate BarTender Licensing Service.

AlternatePort

Optional

Sets the connection port for the alternate BarTender Licensing Service.

AlternateRetries

Optional

Sets the number of times that BarTender tries to connect to the alternate BarTender Licensing Service.

AlternateTimeout

Optional

Sets the maximum length of time that BarTender tries to connect to the alternate BarTender Licensing Service.

Port

Optional

Sets the port that is used to connect to the service.

Retries

Optional

Sets the number of times that BarTender tries to connect to the BarTender Licensing Service.

Timeout

Optional

Sets the maximum length of time that BarTender tries to connect to the BarTender Licensing Service.

ClosedParent Tags

<Print>
<FormatSetup>

ClosedRemarks

<LicenseServer> is an optional tag that is used with the <Print> and <FormatSetup> commands.

ClosedExample

This example describes the <LicenseServer> tag that is contained in the <Print> command. The <LicenseServer> tag can also be contained in 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>

<LicenseServer>

<Address>MyServer</Address>

<Port>5160</Port>

<Timeout>15</Timeout>

<Retries>3</Retries>

<AlternateAddress>altpc</AlternateAddress>

<AlternatePort>5555</AlternatePort>

<AlternateTimeout>25</AlternateTimeout>

<AlternateRetries>3</AlternateRetries>

</LicenseServer>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 2.0 (BarTender 9.0 and higher)

Related Topics