Multiple Namedsubstrings In Exportprintpreviewtoimage S’abonner

0
Avatar
Legacy Poster

Hi

 

To print a label I start from an xml file generated by a third party, transforming this using an xslt file results in the BTXML listed (partially) below, this works great.

<Print>
           <QueryPrompt Name="productNumber">
                <Value>900110</Value>
            </QueryPrompt>
            <Format>\\share\testLabel.btw</Format>
            <NamedSubString Name="productNumber">
                <Value>900110</Value>
            </NamedSubString>
            <NamedSubString Name="batchNumber">
                <Value>2806</Value>
            </NamedSubString>
            <NamedSubString Name="vendorName">
                <Value>vendor</Value>
            </NamedSubString>
            <NamedSubString Name="productName">
                <Value>product</Value>
            </NamedSubString>
            <NamedSubString Name="productReceipt">
                <Value>123456</Value>
            </NamedSubString>
        </Print>
 

 

Then I read about the ExportPrintPreviewToImage tag, which would be a fantastic way to upgrade our quality control. However when I try to use the code below (notice all but one NamedSubStrings are commented), it only works when I use one NamedSubString. When I uncomment a second one I get the following error:

[attachment=2247:Capture.PNG]

 

<ExportPrintPreviewToImage ReturnImageInResponse="true">
	<Format>\\share\testLabel.btw</Format>
	<Folder>\\share\</Folder> 
	<FileNameTemplate>Preview_Label%PageNumber%.jpg</FileNameTemplate>
	<ImageFormatType>JPG</ImageFormatType>
	<Colors>btColors24Bit</Colors>
	<DPI>300</DPI>
	<Overwrite>true</Overwrite>
	<IncludeMargins>true</IncludeMargins>
	<IncludeBorder>true</IncludeBorder>
	<BackgroundColor>16777215</BackgroundColor>
	<QueryPrompt Name="productNumber">
		<Value>900110</Value>
	</QueryPrompt>

	<NamedSubString Name="productNumber">
		<Value>900110</Value>
	</NamedSubString>

	<!-- <NamedSubString Name="batchNumber">
		<Value>2806</Value>
	</NamedSubString>
	<NamedSubString Name="vendorName">
		<Value>vendor</Value>
	</NamedSubString>
	<NamedSubString Name="productName">
		<Value>product</Value>
	</NamedSubString>
	<NamedSubString Name="productReceipt">
		<Value>123456</Value>
	</NamedSubString> -->
	
</ExportPrintPreviewToImage> 

 

Since it is possible to print using multiple NamedSubStrings I would like to get this working for images as well.

 

Am I missing a setting making this possible or is this just not possible?

 

Thank you for your help

Kind Regards

Deman Bart

1 commentaires

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Since nobody answered this question I just want to know the reason:

  1. Nobody knows the answer
  2. My question wasn't clear

In case 1, what can I do to get an answer, is there a way to communicate directly with Seagull developers? In case 2, what is not clear in my question?

 

I would be grateful for any response

Kind regards

Deman Bart

Vous devez vous connecter pour laisser un commentaire.