Response Tag |
For every BarTender XML Script that prints a label or exports an image, an XML response is generated. Simple responses contain information about error messages, print job completion status, and custom data specific to the command executed. More complex responses can include summary information about the entire print job and detailed data about each label. The attributes used to determine the content of the response are located in the <Print> tag.
A response starts with a <Response> root tag and will contain one or more <Command> tags representing a response for a specific BTXML Script command. Select the following link to view a <Response> example.
<Response Version=Value [Name=Value] [ID=Value] AppName=Value AppVersion=Value AppVersionID=Value AppVersionMajor=Value AppVersionMinor=Value AppVersionBuild=Value AppInstancePid=Value AppGuid=Value>...</Response>
Where ... are the response tags.
The <Response> tag has the following attributes:
Attribute |
Description |
---|---|
Version |
XML Response version. |
Name |
The unique request name. |
ID |
The unique ID value as specified using the <XMLScript> ID attribute. |
AppName |
The application name. |
AppVersion |
The application version. |
AppVersionID |
The integer value that defines the application version. For example the version ID for version 9.00 is 900 |
AppVersionMajor |
The major number of the version of the application. For example the major number of version 9.00 is 9. |
AppVersionMinor |
The minor number of the version of the application. For example the minor number of version 9.00 is 00. |
AppVersionBuild |
The build number of the application. |
AppInstancePid |
The application process ID as an integer. |
AppInstanceGUID |
The application's GUID value. |
The following child element tags are supported:
Tag |
Description |
---|---|
Defines the command response. |
|
Defines the server. |
|
Defines the user. |
BTXML Script version 2.0 (BarTender 9.0 and higher)