vikasbapat
asked on
How to make the text of a PDF sharp using Winnovative HTML to PDF Converter
Hello,
I'm having an application in ASP.Net which generates PDF for the specified interface.
The interface is like a form submitted by user with a textarea to display comments. This HTML page is the printed as a PDF.
The Winnovative HTML to PDF Converter is used to create the PDF.
When I generated the PDF its showing blurry text and the resolution is not coming properly..
Can anyone please suggest solution for this issue??
Thanks,
I'm having an application in ASP.Net which generates PDF for the specified interface.
The interface is like a form submitted by user with a textarea to display comments. This HTML page is the printed as a PDF.
The Winnovative HTML to PDF Converter is used to create the PDF.
When I generated the PDF its showing blurry text and the resolution is not coming properly..
Can anyone please suggest solution for this issue??
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your suggestions..
I will try these now..
I will try these now..
ASKER
Hello,
Yes the IE versions are affecting the PDF text quality. IE 8 gives the proper PDFs.
darjimaulik, the code pdfConverter.HttpRequestHe aders = "user-agent", "Mozilla/5.0"; is not supported by the Winnovative version 4.0.1.0 in my App.. May be an upgrade is required for this.. Can you tell me if its easy to upgrade version of Winnovative with backward compatibilities??
Which version of Winnovative are you using in your app?
Thanks,
Yes the IE versions are affecting the PDF text quality. IE 8 gives the proper PDFs.
darjimaulik, the code pdfConverter.HttpRequestHe
Which version of Winnovative are you using in your app?
Thanks,
We have used version 5.5.
You can try downloading the new version and try the same product key with it. It should work.
Does IE8 mode on IE9 works?
You can try downloading the new version and try the same product key with it. It should work.
Does IE8 mode on IE9 works?
ASKER
Hello,
IE8 mode on IE9 did not work..
I'm trying to get the new version.
Thanks,
IE8 mode on IE9 did not work..
I'm trying to get the new version.
Thanks,
ASKER
Hi
We have downloaded the version of Winnovative(wnvhtmlconvert .dll) 8.00 and replaced with our current version 4.0 of it.But it is not working we are getting the following error:
"Could not load file or assembly 'wnvhtmlconvert' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
"
"System.BadImageFormatExce ption: Could not load file or assembly 'wnvhtmlconvert' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."
Do you have any solution on this ..
Thanx
We have downloaded the version of Winnovative(wnvhtmlconvert
"Could not load file or assembly 'wnvhtmlconvert' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
"
"System.BadImageFormatExce
Do you have any solution on this ..
Thanx
ahhh.
Most common issue is "Winnovative Assembly is in .net 4.0 and your project is in 3.5.
Most common issue is "Winnovative Assembly is in .net 4.0 and your project is in 3.5.
ASKER
Hello,
The .Net framework used for application is 4.0
For version upgrade of Winnovative i have just replaced the wnvhtmlconvert.dll file which comes in the upgrade package.
After this when I built and run the app, its giving error as above.
Is there anything else which we need to check for upgrade version process?
Please let me know information for this.
Thanks,
The .Net framework used for application is 4.0
For version upgrade of Winnovative i have just replaced the wnvhtmlconvert.dll file which comes in the upgrade package.
After this when I built and run the app, its giving error as above.
Is there anything else which we need to check for upgrade version process?
Please let me know information for this.
Thanks,
remove reference of winnovative and add again.
ASKER
Thank you
ASKER
Thank you
Winnovative uses IE settings to access a page and then converts it to PDF.
If your system is having IE9 then you may have some issues.
As per their suggestion you can downgrade to IE8 or follow steps mentioned in 2 questions related to IE9. (Find the link in Sammy's comment)
As a test you can check how the IE9 behaves when you set the compatibility to IE8 from IE developer toolbar. (press F12 in IE). Once set to IE8 try to convert pdf, is it proper now?
Also, Try to add User agent in the call to convert the pdf.
pdfConverter.HttpRequestHe
Check following answers in the FAQ-
Q: I installed a true type font on the server but the converter is still using a default font instead of the installed font.
Q: The Unicode characters are not displayed or they are incorrectly displayed for some fonts.
If you are planning to install convert pdf on your server which have IE8 then there is no issue.
I have used winnovative with IE 9 and it was giving proper result to me.