Closed Bug 1675956 Opened 4 years ago Closed 4 years ago

Investigate using PrintDlgEx instead of PrintDlg

Categories

(Core :: Printing: Setup, task)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: evilpie, Assigned: emilio)

References

Details

Attachments

(1 file)

It sounds like PrintDlg is soft deprecated and PrintDlgEx should be used instead:

PrintDlg is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use PrintDlgEx or PageSetupDlg

In practice PrintDlgEx should allow us to support non-contiguous paper ranges using the lpPageRanges member in PRINTDLGEXW.

Yes, indeed. I can take a look at this on Windows tomorrow or Monday, thank you Tom!

Flags: needinfo?(emilio)
Assignee: nobody → emilio

Yeah, works like a charm, thanks again :)

Flags: needinfo?(emilio)

This allows users to use custom print ranges from the print dialog
(up to 10 by default, which should be plenty).

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/79d95cba4857
Use PrintDlgEx on Windows for the system dialog. r=jfkthame
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Regressions: 1679156
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: