How To Connect Template Definition To Btxml フォローする

Legacy Poster

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">
<NamedSubString Name="Product">
<Value>Chai Tea</Value>
<NamedSubString Name="Price">
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

1 コメント

Ian Cummings
コメントアクション Permalink

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: