Message Response Tag

ClosedDescription

Displays a system message that was created during the print cycle.

ClosedSyntax

<Message ID=Value GUID=Value Severity=Value Category=Value Response=Value>...</Message>

The supported attributes include:

Attribute

Description

ID

Message ID number. 32 bit number.

GUID

Message GUID (Globally Unique Identifier) 128 bit number.

Severity

Severity of the message. The severity options include:

  • Error
  • Warning
  • Information

Category

Category of message. The message options include:

  • Miscellaneous
  • VBScripting
  • Key
  • printer
  • Database
  • File
  • Command line
  • Network Trace
  • Licensing
  • Email
  • Service
  • Verification
  • Automation
  • XML Script
  • Cluster
  • Log To Database

Response

Response options to the message. The response options include:

  • OK
  • Cancel
  • Yes
  • No
  • Abort
  • Retry
  • Ignore
  • AutoAdjustPageSetup
  • ClipAndContinue
  • Continue
  • ReturnToModifyDialog
  • EditJoin
  • Delete
  • EditFileName
  • EnforceMaskAndContinue
  • LogToDatabase
  • LaunchWizard
  • PadAndContinue
  • PrintAllRecords
  • ReturnToScriptAssistant
  • ReturnToPrintDialog
  • SaveAsOlderVersion
  • SelectPrinter
  • StripAndContinue
  • Replace
  • TryAgain
  • EditScript
  • LicenseManagement
  • CloseScriptAssistant
  • Close
  • UserButton
  • SaveAsCurrentVersion
  • CloseModifyDialog

ClosedChild Elements

The following child element tags are supported:

Tag

Description

Text

Message text

ClosedParent Tag

<Print>

ClosedExample

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

<Response Version="2.0" Name="09232006_103601_Job1" ID="123" AppName="BarTender" AppVersion="9.00" AppVersionId="900" AppVersionMajor="9" AppVersionMinor="00" AppVersionBuild="2345" AppInstancePid="12345" AppInstanceGUID="(5EFC7975-14BC-11CF-9B2B-00AA00573819)">

<User>Administrator</User>

<Server>MyServer</Server>

<Command Name="Cmd1">

<Print JobName="MCIJob" ID="1234" JobLastStatus="Sent" JobCompleted="true">

<JobStatus Completed="true">

<TimeJobStart>02:24:34</TimeJobStart>

<TimeJobQueued>02:24:34</TimeJobQueued>

<TimeJobSent>02:24:34</TimeJobSent>

<LastStatus>Sent</LastStatus>

<Description>Finished sending print job to printer.</Description>

</JobStatus>

<Message ID="1606" GUID="{8A8E8550-C822-4e84-8713-212793DFD6E1}" Severity="Information" Category="Miscellaneous" Response="OK">

<Text>BarTender successfully sent the print job to the spooler.

Job Name: MyJobName

BarTender Document: Document1.btw

Printer: Datamax H-4212 7.1.4 </Text>

</Message>

</Print>

</Command>

</Response>

ClosedRequirements

BTXML Script version 2.0 (BarTender 9.0 and higher)