[webkit-dev] Plugin Printing Behavior
Brent Fulgham
bfulgham at gmail.com
Thu Dec 17 22:51:47 PST 2009
I've recently written an in-house NPAPI plugin for use with WebKit in an application I'm working on. One of the primary functions of this tool is to generate printed output, so naturally I was dismayed to discover that my plugin's NPP_Print implementation was not getting called during WebKit page print operations. So, the bulk of the page prints fine, leaving a big blank rectangle where the plugin should be.
I attempted to test printing of production quality plugins (Adobe Acrobat Reader, Flash, SWF, and Quicktime) on Windows using Safari, Chrome, and Firefox as well as Safari on the Mac. Adobe's PDF plugin does not produce printed output on Windows in Safari or Google Chrome, but does seem to work on the Mac. Firefox seems to work on Windows as well. I'm not that surprised that the video plugins produce no print output, but did not have any other installed plugin examples to choose from.
Before I exert too much effort trying to reduce this to a reasonable test case, I was wondering if this was a known issue. I didn't see much in Bugzilla, though I must admit to not spending more than a few minutes running queries. The closest I could find was a bug from 2007 related to display of PDFs in Safari, which isn't quite the same as my problem.
If anyone else is aware of this issue, please let me know. Otherwise I'm going to see if I can track down the issue.
Thanks,
-Brent
More information about the webkit-dev
mailing list