Did you test this patch whether it actually works? Does gtk_printer_accepts_pdf(printer) results in True if printer is a CUPS queue?
Did you test this patch whether it actually works? Does gtk_printer_ accepts_ pdf(printer) results in True if printer is a CUPS queue?