Skip to main content

Search

Search

Xmlresponse Message

Comments

4 comments

  • Avatar
    Michael Toupin (mtoupin

    How are you trying to use the BTXML script? 

     

    BTXML scripts executed through the Command Line interface or from the File menu in BarTender do not return or save XML responses.  If you're using Commander or the .NET SDK you'll need to appropriately configure them to generate the output to an appropriate location.

    0
  • Avatar
    Legacy Poster

    I'm dropping the BTXmlScript files into a folder scanned by Commander.  Commander sees the *.dd file, processes it, and deletes it.  If all goes well, the label is printed.

     

    When a label doesn't print, I want to be able to temporarily set the Print command's ReturnPrintData attribute to "true" so I can get a response and investigate the problem.  I thought this would be as simple as adding the ReturnPrintData attribute to the Print command in the BTXmlScript file, but there must be more to it.

     

    Can you tell me what needs to be configured in Commander to create the response when ReturnPrintData is included with the Print command in the BTXmlScript file?

     

    Any help would be appreciated.

     

    Thanks.

    0
  • Avatar
    Michael Toupin (mtoupin

    What you'll do is add another command into the task after the BTXML one, do a 'save to file' command, and set your source as 'BTXML Script Command Response'.  Specify the file path and it will save the files as you're attempting to do.

    0
  • Avatar
    Legacy Poster

    Thanks!  I will try that.

    0

Please sign in to leave a comment.