wineps: Move the default resolution fallback to the ppd parser.
This commit is contained in:
parent
92bce60f37
commit
1d2cd06592
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue