I have an issue with docs generated by Aspose.Words, I have a ASP.Net page that uses another program to draw a form on a PDF, in the past these PDFs are generated by printing using programs such as CutePDFwriter and has worked fine for over a year. the issue I have is the client now wants to just upload a Word Doc and have the PDF generated on the fly. Words does this fine however when I try to use the already developed page with these PDFs (the ones generated by Aspose Words) the output is a corrupted PDF. see atttached.
I have a range of PDF’s that I would like to show however I can only upload a single file the attached file is generated by Aspose.Words and then updated with AspPDF.Net.
I woudl like to avoid recreating the form page, are there any options for changing the output from Aspose.Words to say an older verion of PDF?
Hi
Thanks for your request. Does the problem occur only with PDF documents produced by Aspose.Words? Unfortunately, there is no way to specify version of PDF in Aspose.Words. However, you can try setting PDF compliance: https://reference.aspose.com/words/net/aspose.words.saving/pdfsaveoptions/compliance/
Maybe this could help you to fix the problem.
Also, you can try updating to the latest version of AspPdf.NET. I think, this can help you to resolve the problem.
Best regards,
yes the problem only occurs with Aspose.Words PDF docs. AspPDF.Net say that your PDF format is unusual but valid and they have an issue with it.
I am not complaining about your product I just don’t want to code the form again
I will try setting the compliance and get back to you thanks.
Regards
Steve
Hi Steve,
Thank you for additional information. I hope you will manage to resolve the issue. Please feel free to ask if you need more assistance, we will be glad to help you.
Best regards,
Sorry false positive still not working with either setting PDF documents still corrupt, are there any other options I can try to make the PDF format more compatible with the output from CutePDFwriter?
Steve
Hi Steve,
Thank you for additional information. Pdf15 is a default option. Have you tried using PdfA1b option? Does it make any difference?
Does the problem occur with any PDF produced by Aspose.Words or only with some of documents?
Best regards,
Hello
We generated pdf file is validated through various third-party utilities. And it satisfies the standard. Unfortunately we are unable to convert a pdf to another version. Most likely you will have to await the solution of problem from the AspPDF.Net team.
Sorry for the inconvenience.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.