Quantcast
Channel: Adobe Community: Message List - PDF Size will increase in size dramatically with every submit.
Viewing all articles
Browse latest Browse all 58

Re: PDF Size will increase in size dramatically with every submit.

$
0
0

I did a quick test, and I used the following javascript command:

 

event.target.submitForm( {cURL: "http://server/ASPNETWebPage.ASPX", cSubmitAs: "PDF"});

 

and on the server, using ASP.NET, I converted the input stream to a byte array, and saved the result as binary to a file stream. The result was a working PDF file and the size was OK. I did several submits with few changes, and the size was increasing by only 10-20 bytes max.

 

So, if there is no way to use this command:

 

event.target.submitForm( {cURL: "http://server/ASPNETWebPage.ASPX", aPackets:["datasets","pdf"], cSubmitAs: "XDP"});

 

and be able to generate a PDF with reasonable size with every submit, then this means I have to use {cSubmitAs:"PDF"} and I have to look for a way to extract the XML Data form the PDF using .NET.

 

Appreciate your help.

 

Tarek.


Viewing all articles
Browse latest Browse all 58

Latest Images

Trending Articles





Latest Images