Don't auto-add everything... (Issue
@@ -283,12 +283,15 @@ papplPrinterCreate(
papplPrinterSetPrintGroup(printer, print_group);
// If the driver is "auto", figure out the proper driver name...
+ if (!strcmp(driver_name, "auto"))
+ {
if ((driver_name = (system->autoadd_cb)(printer_name, device_uri, device_id, system->driver_cbdata)) == NULL)
{
errno = EIO;
_papplPrinterDelete(printer);
return (NULL);
}
+ }
// Initialize driver...
driver_attrs = NULL;
