Multiple Print Copies Through Commander / Btxml Follow

0
Avatar
Legacy Poster

Dear members,

 

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">
<labels
_FORMAT="Seeded Label Default for Material" _QUANTITY="1"
_PRINTERNAME="\\evtprint2\DTMEHVPRBAR506" _JOBNAME="LBL7001">
<label>
<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>
</label>
</labels>

 

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

3 comments

0
Avatar
Shotaro Ito
Comment actions Permalink

If you run Commander as service, try run Commander as application.

From Both Commander and BarTender's Administrator > Logging option menu, enable message logging and job info logging. you can log data source (substrings) value to track down until where the values are handed on.

Try following troubleshooting steps in this article

http://forums.seagullscientific.com/index.php?/topic/55-commander-troubleshooting/

0
Avatar
Legacy Poster
Comment actions Permalink

Hello Shotaro, Commander log did not show any (printing) errors. I have contacted Seagull's tech team in Madrid and they had a solution. I had to reconfigure Oracle's XML task list in Commander. I had to add another Transform script that deleted the "print copies" tag in the correspending BTXML file, before is was sent to the network printer. Now everything works just fine! Thanks.

 

Topic can be closed.

0
Avatar
Shotaro Ito
Comment actions Permalink

Thanks for the update!

Please sign in to leave a comment.