Commit 1d2cd065 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

wineps: Move the default resolution fallback to the ppd parser.

parent 92bce60f
......@@ -707,11 +707,6 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCWSTR name)
goto fail;
}
/* Some gimp-print ppd files don't contain a DefaultResolution line
set it to 300 if it's not specified */
if(pi->ppd->DefaultResolution == 0)
pi->ppd->DefaultResolution = 300;
if(using_default_devmode) {
DWORD papersize;
......
......@@ -634,6 +634,10 @@ PPD *PSDRV_ParsePPD(char *fname)
list_init( &ppd->InputSlots );
list_init( &ppd->Duplexes );
/* Some gimp-print ppd files don't contain a DefaultResolution line
so default to 300 */
ppd->DefaultResolution = 300;
/*
* The Windows PostScript drivers create the following "virtual bin" for
* every PostScript printer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment