Closed
Bug 117919
Opened 23 years ago
Closed 23 years ago
PrinterEnumerator must work independently
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: rods, Assigned: mkaply)
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
The nsDocumentViewer now checks to see if there are any printers "installed"
before doing a Print or PrinterPreview.
It calls AvailablePrinters on the nsIPrintOptions. Currently, OS2 is not set for
this to be called outside of of the internals of printing. Or in otherwords, it
now only works from inside the nsDeviceContextSpecOS2.
You can look at the Windows impl and see a single I have written
"GlobalPrinters". This is set up to enumerate the printers on the system and can
be called from the DevSpec or from the PrinterEnumerator.
Also, when you fix this bug, please remove the OS2 ifdef from ns
DocumentViewer.cpp:
http://lxr.mozilla.org/mozilla/source/content/base/src/nsDocumentViewer.cpp#4791
Comment 1•23 years ago
|
||
I attached a patch that takes out the defined(XP_OS2) in nsDocumentViewer.cpp.
I posted a fix for this in bug 113917. I will attach it here too.
Comment 2•23 years ago
|
||
Reporter | ||
Comment 3•23 years ago
|
||
r=rods
Assignee | ||
Comment 4•23 years ago
|
||
Fix checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•