LastStatus Response Tag

ClosedDescription

Returns the last recorded status of the print job. The status is provided by Printer Maestro.

ClosedSyntax

<LastStatus>Value</LastStatus>

Where Value is the status.

The possible status conditions are defined below:

Status

Description

Creating

Application started creating the print job.

Queued

Print job now waiting to be sent to printer.

Sending

Started sending print job to printer.

Paused

User paused the print job.

Resumed

User resumed the print job.

Cancelled

User cancelled the print job.

Sent

Finished sending print job to printer.

Sent (Printing Verified)

Seagull status monitor verified that the print job finished printing.

Unknown

Any of the following descriptions are possible.

  • Print job status is unknown because the computer the printer is attached to cannot be found.

  • Print job status is unknown because the Printer Maestro Service is not running on the computer the printer is attached to.

  • Print job status is unknown because the Printer Maestro Service that is running on the computer the printer is attached to is not responding.

  • Print job status is unknown because the Printer Maestro Service is not installed on the computer the printer is attached to.

  • Print job status is unknown because the final job status was never received.

ClosedParent Tag

<JobStatus>

ClosedExample

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

<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="Job1">

<Print GUID="{C87068F8-4972-41F1-A6E8-724381703764}" 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)

Related Topics