Closed Bug 117919 Opened 23 years ago Closed 23 years ago

PrinterEnumerator must work independently

Categories

(Core :: Printing: Output, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: rods, Assigned: mkaply)

Details

Attachments

(2 files)

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
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.
r=rods
Fix checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Michael, please verify and mark verified-fixed...thanks.
Mkaply, please verify....and mark verified-fixed...thanks.
Sorry, missed this one.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: