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)
Tracking
(Not tracked)
RESOLVED
WONTFIX
mozilla0.9.1
People
(Reporter: muhri, Assigned: blizzard)
Details
Attachments
(3 files)
|
5.97 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.22 KB,
text/plain
|
Details | |
|
1.51 KB,
text/plain
|
Details |
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.
| Reporter | ||
Comment 1•25 years ago
|
||
| Reporter | ||
Comment 2•25 years ago
|
||
| Reporter | ||
Comment 3•25 years ago
|
||
Comment 4•25 years ago
|
||
Markign NEW.
Comment 5•25 years ago
|
||
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);)
| Reporter | ||
Comment 6•25 years ago
|
||
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.
| Assignee | ||
Updated•25 years ago
|
Target Milestone: --- → mozilla0.9
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9 → mozilla0.9.1
| Assignee | ||
Comment 7•25 years ago
|
||
Someone bring me up to speed on what needs to happen in this bug. You guys know
more about it than I do. :)
| Reporter | ||
Comment 8•25 years ago
|
||
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.
| Assignee | ||
Comment 9•25 years ago
|
||
I don't have a particular interest in putting this in the embedding widget. Can
I close this?
| Reporter | ||
Comment 10•25 years ago
|
||
No probs, as long as I can print via mozilla, already got code for that :)
| Assignee | ||
Comment 11•25 years ago
|
||
OK.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Updated•14 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•