https://bugs.kde.org/show_bug.cgi?id=309385
--- Comment #2 from maxtor11...@gmail.com --- (In reply to comment #1) > Right. Problem is we support more stuff than cups and checking what "lpr" > command is the one you are using is kind of impossible since it does not > have any kind of -h or -v that will tell you which lpr you are using (i.e. > cups vs non cups, old cups vs new cups, etc) So to be honest i would not > hold my breath in getting someone to work on this I tried to find how this issue was resolved in other projects. Looks like all (GTK, Qt, Mozilla, LibreOffice) are detecting if current version of CUPS is 1.2 or newer (this is a minimal version for direct PDF printing). In Qt, this is done in src/gui/painting/qprinter.cpp:650 if (QCUPSSupport::cupsVersion() >= 10200 && QCUPSSupport().currentPPD()) { setOutputFormat(QPrinter::PdfFormat); d->outputFormat = QPrinter::NativeFormat; } cupsVersion is declared in src/gui/painting/qcups_p.h:75 static int cupsVersion() { return isAvailable() ? CUPS_VERSION_MAJOR*10000+CUPS_VERSION_MINOR*100+CUPS_VERSION_PATCH : 0; } So, it simply uses values from cups.h. Anyway, do you know any programs which can be used to print PDF directly? lpr is too complex in case custom print settings are used. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel