Print a message if the PostScript driver can't find a PPD file.

This commit is contained in:
Huw D M Davies 1998-11-01 13:02:27 +00:00 committed by Alexandre Julliard
parent 5359722ceb
commit bcad255cb4
1 changed files with 2 additions and 0 deletions

View File

@ -340,6 +340,8 @@ PRINTERINFO *PSDRV_FindPrinterInfo(LPCSTR name)
HeapFree(PSDRV_Heap, 0, pi->Devmode);
HeapFree(PSDRV_Heap, 0, pi);
*last = NULL;
MSG("Couldn't find PPD file '%s', expect a crash now!\n",
pi->Devmode->dmDrvPrivate.ppdFileName);
return NULL;
}