wineps: Always update the default devmode.
This commit is contained in:
parent
5b71f7bbbc
commit
87292bb396
|
@ -630,8 +630,6 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCWSTR name)
|
|||
dm.dmPublic.u1.s1.dmPaperSize = papersize;
|
||||
PSDRV_MergeDevmodes(pi->Devmode, &dm, pi);
|
||||
}
|
||||
|
||||
set_devmode( hPrinter, pi->Devmode );
|
||||
}
|
||||
|
||||
if(pi->ppd->DefaultPageSize) { /* We'll let the ppd override the devmode */
|
||||
|
@ -672,6 +670,8 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCWSTR name)
|
|||
pi->Devmode->dmPublic.dmDuplex = DMDUP_SIMPLEX;
|
||||
}
|
||||
|
||||
set_devmode( hPrinter, pi->Devmode );
|
||||
|
||||
pi->FontSubTable = load_font_sub_table( hPrinter, &pi->FontSubTableSize );
|
||||
|
||||
LIST_FOR_EACH_ENTRY( font, &pi->ppd->InstalledFonts, FONTNAME, entry )
|
||||
|
|
Loading…
Reference in New Issue