Send Trigger To Print And Recieve Back Print Status Follow
We are trying a test to send an XML file to Commander through the TCP/IP trigger to print a label and receive back a print status. The label print works fine but the calling pc does not get a response back.
For the test we have BarTender and Commander loaded on one PC and we send the xml from another PC using a Java app. The trigger is set to TCP/IP socket with port 5170 and Socket Disconnected. We do not save the recieved data to a file as we don't want to do this in production.
We have a Command type for BTXML script and a second Command type "Send to TCP Socket". The input options on that is "BTXML Response", and we check "Send the response back through inbound connection" and check "Terminate connection when done". We do not get a response back to the calling pc.
The only way we have been able to get a response back to the calling pc is to enter the IP address and port instead of Send the response back through inbound connection". What are we missing?
We have tried putting in additional attributes in the Print tag to see if that may do something "<Print WaitForJobToComplete="true" Timeout="20000" ReturnPrintData="true" ReturnSummary="true" ReturnLabelData="true" ReturnChecksum="true">"
Any ideas on what to try?
Please sign in to leave a comment.