WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
32719
Support Printing of NPAPI Plugins
https://bugs.webkit.org/show_bug.cgi?id=32719
Summary
Support Printing of NPAPI Plugins
Brent Fulgham
Reported
2009-12-18 09:32:15 PST
Printing of web pages currently bypasses plugins. NPAPI-based pluging should implement the NPP_Print function and render to the passed context directly. Apparently, many plugins do not implement NPAPI which has led to various attempts to support printing by taking screen shots of the region for print purposes and ultimately this feature was left unimplemented. As an initial step, I think the NPAPI NPP_Print functionality should be expected of plugins that intend to display printed output. If the function is implemented WebKit should take advantage of it. If not, the plugin should not be printed. Future refinements of this work could provide some kind of screen-grab fallback for non-compliant plugins.
Attachments
Add attachment
proposed patch, testcase, etc.
Rudi Sherry
Comment 1
2012-02-06 14:25:58 PST
[Will be adding another bug in the correct component but adding this here in case it's the right spot] I am seeing no calls to NPP_Print when printing. I am using the WebKit nightly from about a month ago, but we are also seeing this in Safari 5.1.2, both on 10.6 and 10.7. When the user is in a document controlled by a plug-in and chooses "Print", the plugin gets the call NPP_SetWindow() with page-size window... that causes us to resize our view to be page ratio, which is surprising our users. The Print sheet appears, then printing doesn't print anything. Then we get another NPP_SetWindow() that restores us to the Safari window size. NPP_Print() is never called.
Alexey Proskuryakov
Comment 2
2012-02-07 10:06:56 PST
(In reply to
comment #1
)
> [Will be adding another bug in the correct component but adding this here in case it's the right spot]
Bug 77902
, and I'm not sure how that is different from this one.
Brady Eidson
Comment 3
2019-09-27 10:20:15 PDT
We're never going to support printing with NPAPI
Brent Fulgham
Comment 4
2019-09-27 10:51:27 PDT
(In reply to Brady Eidson from
comment #3
)
> We're never going to support printing with NPAPI
I'll try to break the bad news to that guy.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug