Closed Bug 74881 Opened 25 years ago Closed 25 years ago

[Patch] Embed does not print even though nsIPrintListener is working

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
mozilla0.9.1

People

(Reporter: muhri, Assigned: blizzard)

Details

Attachments

(3 files)

Attached is a patch to get Embed to use the nsIPrintListener interface, using the same code as in mozilla via nsIContentviewer and nsIContentViewerFile - The embedding component can never print. Also another example is included using the nsIWebBrowserPrint interface.
Markign NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: patch, review
Summary: Embed does not print even though nsIPrintListener is working → [Patch] Embed does not print even though nsIPrintListener is working
There is a patch for this on bug #57928. http://bugzilla.mozilla.org/show_bug.cgi?id=57928 (You have to use nsIWebBrowserPrint api and options->SetPrintSilent (PR_TRUE);)
Yep, I just added the same code in nsDeviceContextSpecG.cpp for silencing the print dialog and embed printed just fine so this patch works but has to wait on the fix on the bug that Marco mentioned.
Target Milestone: --- → mozilla0.9
Target Milestone: mozilla0.9 → mozilla0.9.1
Someone bring me up to speed on what needs to happen in this bug. You guys know more about it than I do. :)
Nothing unless you want a call to gtk_moz_embed to print, since the bug was in mozilla and is fixed now, an embedder can write c++ code to interface with mozilla print interface. This was me just testing and I ended up writing it for Embed to test rather than in SkipStone.
I don't have a particular interest in putting this in the embedding widget. Can I close this?
No probs, as long as I can print via mozilla, already got code for that :)
OK.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: