/*
- * "$Id: printers.c,v 1.137 2003/02/05 21:18:55 mike Exp $"
+ * "$Id: printers.c,v 1.138 2003/02/14 20:09:15 mike Exp $"
*
* Printer routines for the Common UNIX Printing System (CUPS).
*
}
else if (access(filename, 0) == 0)
{
+ int pline; /* PPD line number */
+ ppd_status_t pstatus; /* PPD load status */
+
+
+ pstatus = ppdLastError(&pline);
+
LogMessage(L_ERROR, "PPD file for %s cannot be loaded!", p->name);
+ LogMessage(L_ERROR, "%s on line %d.", ppdErrorString(pstatus),
+ pline);
AddPrinterFilter(p, "application/vnd.cups-postscript 0 -");
}
/*
- * End of "$Id: printers.c,v 1.137 2003/02/05 21:18:55 mike Exp $".
+ * End of "$Id: printers.c,v 1.138 2003/02/14 20:09:15 mike Exp $".
*/