novaPDF OEM long url web page

Post here any questions/suggestions you have about novaPDF SDK or novaPDF OEM.
Post Reply
dfdev
Posts: 2
Joined: Tue Aug 30, 2011 5:02 pm

novaPDF OEM long url web page

Post by dfdev »

We’re current using novaPDF OEM and some of our users have reported problem printing from certain pages. After some testing we found the reason was the browser (IE9) was passing the full url as the print document name if the page does not have a title tag value. Since web apps usually have lots of url parameters at certain point it will exceed the Windows file name limitation of 255 and result in an error.

We recreated this in a test page and saw the long document name and error message from the pdf driver. This full url behavior is observed in IE9/Chrome/Firefox, but not IE8/7 (they truncate the name properly). See the image for example:
Image

Is there a way for novaPDF to detect the file name is too long (when saved to the oem folder) and truncate it or prompt the user for a different name before trying to write the file to the disk? Since this step is before our application is invoked there’s no way for us to fix this behavior.

Thanks,
Eugene

Claudiu (Softland)
Posts: 283
Joined: Wed Dec 16, 2009 12:46 pm

Re: novaPDF OEM long url web page

Post by Claudiu (Softland) »

Hello,

We have tested this from our end and we have managed to reproduce the issue you have mentioned. We will look for a solution for this as soon as possible.

This may be a while as the behavior is only present on some of the browsers you have mentioned.

Thank you.
Follow us to stay updated:

dfdev
Posts: 2
Joined: Tue Aug 30, 2011 5:02 pm

Re: novaPDF OEM long url web page

Post by dfdev »

I did notice on the change log for version 6.3 (http://www.novapdf.com/en/pdf-oem-history.html) there's this item:
Fix: corrected an error when printing files with big path or file name)
Is this related to the same problem and supposed to have fixed it?

Claudiu (Softland)
Posts: 283
Joined: Wed Dec 16, 2009 12:46 pm

Re: novaPDF OEM long url web page

Post by Claudiu (Softland) »

Hello,

We have identified the issue, issued a fix and a new build release will be available for you to download during the next week.

Thank you.
Follow us to stay updated:

Post Reply