This is a web service integration that takes in multiple records and prints them in a single print job using print command script.<?xml version="1.0" encoding="utf-8"?>
<DatabaseSetup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DatabaseConnections>
<DatabaseConnection Name="@1" Type="TextFile">pathname=C:\test\TESTDB.txt;codepage=1252;first record is header=True;delimitation=Comma;field count=2;field width=</DatabaseConnection>
</DatabaseConnections>
<RecordSets>
<RecordSet Name="TESTDB" Connection="@1" Primary="true">
<SelectCommand Custom="false" ProviderParameters="">SELECT * FROM [TESTDB]</SelectCommand>
<LastKnownSchema>
<Field Name="[TESTDB].[TESTDB].[TrackingNumber]" Type="String" />
<Field Name="[TESTDB].[TESTDB].[SerialNumber]" Type="String" />
</LastKnownSchema>
</RecordSet>
</RecordSets>
</DatabaseSetup>%EventData%Print Job Status = %PrintJobStatus%
Print Job Messages = %PrintJobMessages%EventData;TestVariable00;-1C:\test\Multi-RecordSinglePrintJobExample.btin