novaPDF OEM long url web page
Posted: Tue Aug 30, 2011 6:09 pm
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:
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
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:
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