PrintToFile Tag

ClosedDescription

Sets whether the document will be printed to a file.

ClosedSyntax

<PrintToFile>Value</PrintToFile>

Where Value equals true or false.

ClosedParent Tag

<PrintSetup>

ClosedRemarks

<PrintToFile> is an optional tag that can be used within the <PrintSetup> tag of a <Print> command.

If you set <PrintToFile> to true, you must also specify a valid print license value using the <PrintToFileLicense> tag and the file name to print to using the <PrintToFileName> tag, otherwise the print job will fail.

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>

<PrintSetup>

<PrintToFile>true</PrintToFile>

<PrintToFileLicense>printLicense</PrintToFileLicense>

<PrintToFileName>Output.prn</PrintToFileName>

</PrintSetup>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BarTender 2016 and later versions.