Bug 366347 - Default collate option sometimes off for printers that support it. r=bsmedberg

--HG--
extra : rebase_source : 13ab1afb123a4282fd419e5f7f1dd74ee6b9f4b8
This commit is contained in:
Brian R. Bondy 2011-09-29 09:21:32 -04:00
parent 9a9fd1c57f
commit 8e58829b82

View File

@ -909,7 +909,8 @@ ShowNativePrintDialog(HWND aHWnd,
prntdlg.hDevMode = hGlobalDevMode;
prntdlg.hDevNames = hDevNames;
prntdlg.hDC = NULL;
prntdlg.Flags = PD_ALLPAGES | PD_RETURNIC | PD_USEDEVMODECOPIESANDCOLLATE;
prntdlg.Flags = PD_ALLPAGES | PD_RETURNIC |
PD_USEDEVMODECOPIESANDCOLLATE | PD_COLLATE;
// if there is a current selection then enable the "Selection" radio button
PRInt16 howToEnableFrameUI = nsIPrintSettings::kFrameEnableNone;
@ -1240,7 +1241,7 @@ ShowNativePrintDialogEx(HWND aHWnd,
prntdlg.hwndOwner = aHWnd;
prntdlg.hDevMode = hGlobalDevMode;
prntdlg.Flags = PD_ALLPAGES | PD_RETURNDC | PD_USEDEVMODECOPIESANDCOLLATE |
PD_NOCURRENTPAGE;
PD_NOCURRENTPAGE | PD_COLLATE;
prntdlg.nStartPage = START_PAGE_GENERAL;
// if there is a current selection then enable the "Selection" radio button