Commander Xml File Questions
-
Yes, this is possible thanks to our Commander middleware application. In order to use XML Script inside a trigger file you would require to purchase an Enterprise Automation Edition of BarTender.
In order to have Commander understand XML Script, you would either have your ERP system:
1. Directly write BarTender XML Script syntax. You've a full reference on BTXML-Script in BarTender's Help (F1) by visiting the "Automating BarTender > Automation with XML Script"
2. If your ERP System uses your own implementation of XML Script, you would also need to supply Commander with an XSLT stylesheet which would basically tell Commander how to transform the particular XML Script implementation used by your ERP System into BarTender XML Script (which is the XML Script implementation we use).
Yes, we've a sample which explains how to integrate SAP AII with BarTender through Commander. You can find it under "C:\Users\username\Documents\BarTender\BarTender Documents\SAP AII" after installing BarTender (including BT samples).
0 -
Legacy Poster
★ BarTender Hero ★
Hi Domingo,
OK, I can setup a xml script to call my document, and commander picks it up and prints just my static information. I'm having an issue getting the data to print from my xml file to the specific fields in my document. I know I'm doing something wrong with the design / setup. Is there any specific examples you could provide me on a xml trigger file printing to document that has more than 3 specific fields to print to? I have to be doing something wrong, this should not be this hard.
Thanks
0 -
If you've used BarTender XML Script, we've some examples under BarTender's Help (press F1 key from within BarTender). Visit now the "Automating BarTender > Automation with BarTender XML Script" topic and check the "Getting Started" for BarTender XML Script documentation.
0 -
Legacy Poster
★ BarTender Hero ★
Domingo,
I don't see the label design side of things. I see references that it calls the document.btw for the substring name of Product, but I seem to be having issues setting up the label format itself. If I could see the example for the document.btw, i should be able to get it going.
0 -
If you e.g. take a look at the "Setting Template Object Data" XML Script example, you will see that it references two NamedSubString called "Product" and "Price".
You can easily create a BarTender document named "Document1.btw" which has two text objects in it. You then open the properties for each object on the label, select the "Data Source" on the left node and now also the "Data Source" tab on the right node. Finally, you press the "Name" button and give it a shared name: "Product" and "Price".
At print time, you will see that the XML Script example will update the values for these shared data sources.
We've some document examples, but they do not directly show how to assign variable data using BTXML-Script. They show how to first convert some other XML Script type into BTXML-Script (by using our middleware software Commander), and then how to print the label.
0
サインインしてコメントを残してください。
コメント
5件のコメント