How To Connect Template Definition To Btxml
I am new to BarTender and I have not found a complete howto in the doc to solve my problem.
I am trying to evaluate BT to print barcode labels from a web application.
My idea is basically to produce an xml file send it to BT enterprise automation via a TCP/IP socket.
So for the first stage I found the following BTXML
<?xml version="1.0" encoding="utf-8"?>
<XMLScript Version="2.0">
<Command Name="Job1">
<Print>
<Format>c:\testch\testch2.btw</Format>
<NamedSubString Name="Product">
<Value>Chai Tea</Value>
</NamedSubString>
<NamedSubString Name="Price">
<Value>$18.00</Value>
</NamedSubString>
</Print>
</Command>
</XMLScript>
However I dont't know how to link the name "Product" or "Price" to my BT template. Which type of datasource should I use ?
Thanks in advace
Christophe
0
-
In your BarTender document, in the data source for a design object on the template, you'll need to set a name for your data source which you can then reference in the XML. In the above example, there'll be two named data sources, one with the name of "Product" and the other with a name of "Price". I think the below video covers this:
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar