<Exportprintpreviewtoimage> Issue 追蹤

0
Avatar
Legacy Poster

In the attached file which contains the BTXML Script I am working with the <Print> function works perfectly and utilises the data in the CDATA section. The <ExportPrintPreviewToImage> is not giving me what I need however - it doesn't reference the CDATA at all but uses the data contained within the Text File 1.txt file referenced in the <RecordSet Name="Text File 1" Type="btTextFile" AddIfNone="true"> tag. Is there any way around this please?

6 意見

0
Avatar
Domingo Rodriguez
版主
評論操作 永久連結

Have you tried also including the CDATA values inside the <ExportPrintPreviewToImage> tag, not only inside the <Print> tag one?

0
Avatar
Legacy Poster
評論操作 永久連結

Thanks for the response. I tried the CDATA within <ExportPrintPreviewToImage> and it errors out saying text is not allowed within the contextx of <ExportPrintPreviewToImage>.

 

I also tried the following which the Help File says is OK but this also errors out saying that <UseDatabase> is unexpected within the parent element <PrintSetup> (which is within <ExportPrintPreviewToImage>):

 

 

<ExportPrintPreviewToImage ReturnImageInResponse="false">

    <PrintSetup>
 <UseDatabase>true</UseDatabase>
    </PrintSetup>

0
Avatar
Domingo Rodriguez
版主
評論操作 永久連結

Could you also attach in a new post your BarTender document (EXCEL4.BTW) and the sample database text file?

0
Avatar
Gene Henson
評論操作 永久連結

I've attached an XML document that you can reference here.  I believe the first response was on the right track.  The Print and ExportPrintPreviewImage commands are handled separately, so the CDATA block needs to be supplied to both commands, but perhaps there was a mistake in your tag structure when you attempted it.  I've verified that the attached XML here prints and exports all five records when it's run.

 

[attachment=565:xmltest.txt]

0
Avatar
Domingo Rodriguez
版主
評論操作 永久連結

Thanks for confirming that your latest XML Script file does the required export to image.

0
Avatar
Legacy Poster
評論操作 永久連結

Hi,

 
I am evaluating bartender software for one of client, support Number is :TR-MZVYN-SPMCL-2VMA
I Created socket integration builder, action is print BTXMl script, when post  BTXML script am not getting response from socket integrater but the output variable coming from print BTXML script it contain out data I am write log to check ouput data , the same variable configured in the Properties response option , please let me know why am not getting response from socket trigerr.

登入寫評論。