Академический Документы
Профессиональный Документы
Культура Документы
BarTender Print
Server
Web App
Integration
Service
Print Scheduler
Service
BarTender Print
Engine Collection
Launch the BarTender designer application, create a new document, and add text, barcode
and any other design objects onto the template as is required.
Open the properties of each object that will contain variable data. Set a unique name for each data
source in your BarTender document that you then wish to set at print time via the web service
integration message.
6
Integration Builder Create a Web Service Event
Launch the Integration Builder and create a new web service integration.
In the main Integration Builder window give your integration a unique name as this will be used in the URL
path of your web service.
Specifying the Custom Integration Variables is particularly important as this is what allows your application to
pass parameter values entered into the GET web service request in order to select the document and printer
to use, and to set data for named data sources in the label design.
By default a Print Document action is auto-created for each new integration, but a new action can be
added by clicking the + icon to the right of the Actions item.
Configure the Print Document action using the custom variables to specify the document and printer to
use, along with setting named data sources in the document design.
Before deploying your completed integration test it in the Integration Builder sandbox on your workstation.
Select the Test tab and Start the integration so that it is actively listening for a trigger event to occur.
Use a REST client app to construct a URL with parameters, in order to send an event message to the web
service on the Integrations server. Alternatively, enter the URL into the address bar of your browser.
http://localhost:80/Integration/MyIntegration/Execute?Document=Test.btw&Printer=ThermalPrinter1&fld
Text=Hello World&fldBarcode=ABC123
If all is well then an HTTP status 200 OK is returned along with the BarTender XML response message.
16
Deploy your Integration to your BarTender Production Server
In the Administration Console, define a new deployment giving it a name and description. Choose the
source integration file, remove the local computer target and add your production server, schedule the
date/time, and deploy.
In the Administration Console monitor your actively running integrations, drilling down into each for
verbose details on any errors, warnings, messages, and events generated. Messages can be exported for
import and analysis in external tools.
20