Duplicate Labels Printing Bartender/commander
Commander trigger folder only has 1 trigger file..
[attachment=1909:ScreenHunter_319 Nov. 11 09.10.jpg]
History Explorer Shows 2 Prints
[attachment=1911:ScreenHunter_317 Nov. 11 08.51.jpg]
There are 2 spooler services running.. Could this be causing the duplicates?
[attachment=1910:ScreenHunter_319 Nov. 11 08.55.jpg]
0
-
Could it be that there are two print commands in the one Commander task?? Attaching the Commander task list would be helpful.
0 -
We actually ran into a very similar (identical?) issue as this post. Our setup is as follows:
- Create a new Commander task
- TCP/IP trigger
- Default port of 5170
- Trigger Event
- "Sequence of Characters Received"
- "End of Transmission" selected as the character
- All other settings as default
- Commands (3 types)
- BarTender
- All tabs are set to use the default values (including the "Print" checkbox)
- BTXML Script (unmodified from default)
- Send to TCP/IP Socket
- Select: "Via original inbound connection"
- BarTender
- TCP/IP trigger
- Start the new task detecting
- Send a single print request ("Order 13") message to Commander (see below from the Commander log, anonymized and formatted for reading)
- "Order 13" prints as expected
- Send another single print request ("Order 14") message to Commander
- Previous label ("Order 13") UNEXPECTEDLY prints
- New label ("Order 14") prints as expected
- Send another single print request ("Order 15") message to Commander
- Previous label ("Order 14") now UNEXPECTEDLY prints
- New label ("Order 15") prints as expected
Notes:
- This has proven easy to reproduce with a couple different .btw files
- We are currently using the Enterprise Automation Edition, version 10.1 SR3 (Build 2954) on Windows Server 2012 R2 (64-bit)
- This seems related to the Print checkbox in the Print tab on the BarTender Command Options dialog
- If I uncheck that box, it removes the "/P" piece of the command parameters, and saving/restarting the task fixed this issue for us
- If I then go to the General tab and manually add "/P" in the Additional Command Parameters box, it adds the appropriate text to the Command Parameters and the issue reappears
Workaround:
- Open the "BarTender Command Options" dialog from the task configuration
- On the "Print" tab, uncheck the Print option
- Restart the task
[Task Name] Label Interface[Date/Time] 2/11/2016 1:00:00 PM[BarTender Command] Command Handler: BarTender1 - C:\PROGRA~2\Seagull\BARTEN~1\BarTend.exe /P[BTXML Script] Command Handler: BarTender1 - C:\PROGRA~2\Seagull\BARTEN~1\BarTend.exe /XMLScript=<?xml version="1.0" encoding="UTF-8"?><XMLScript Version="2.0"><Command Name="Job1454962252746"><Print><Format>C:\BT\LabelFormat.btw</Format><PrintSetup><Printer>LabelPrinter</Printer></PrintSetup><NamedSubString Name="Barcode"><Value>0000013-042-2016</Value></NamedSubString><NamedSubString Name="Text"><Value>Feb 11, 2016: Order 13</Value></NamedSubString><NamedSubString Name="Location"><Value /></NamedSubString><NamedSubString Name="Size"><Value>150uL</Value></NamedSubString><NamedSubString Name="Type"><Value /></NamedSubString><NamedSubString Name="OrderNumber"><Value>13</Value></NamedSubString></Print></Command></XMLScript>0 - Create a new Commander task
Please sign in to leave a comment.
Comments
2 comments