We are using BarTender Enterprise Automation 10.1 SR2 to process Oracle XML files through BarTender/Commander (as middleware) via a TCP/IP socket. Oracle XML task list (.tl) provided by Seagull is loaded in Commander and running. This works great! Labels are getting printed automatically in the right way.
However, we have the following issue/requirement:
Example of Oracle XML output:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE labels SYSTEM "label.dtd">
_FORMAT="Seeded Label Default for Material" _QUANTITY="1"
<variable name= "item">2145719</variable>
<variable name= "item_description">FTC00001103D, UNITEST PROFI-SET FOR 0100-EXPERT</variable>
<variable name= "quantity">20</variable>
<variable name= "organization">EDD</variable>
If organization is EDD, then amount of labels = quantity 20 times 1 = 20 labels (with qty 1 on it).
If organization is EDC, then amount of labels = quantity 20 times 2 = 40 labels (with qty 1 on it).
We thought we had a solution by adding a VB script (mapped to Material.btw), please have a look at the attached print screen. This solution is working if you print directly from BarTender.
But it's need to go through Commander and then this solution is not working. We can't figure out why.
Can one of you please help us? Or point us in the right direction? Your help is much appreciated. Thanks.
With kind regards, Constantijn