Skip to content

Draft: Pipe pdf file to printer rather than converting to PostScript first

Oliver Sander requested to merge sander/okular:pipe-pdf-file-to-printer into master

By popular demand, here is the old patch that sends a pdf file directly to the printer, rather than converting it to PostScript first. This was originally written by Albert, but I adapted it a bit.

This is much easier, and should be faster, too. However, it only works if we have a file to begin with. Also, it won't print any annotations. Therefore, the old code is kept for those cases.

The file is marked as draft because I am currently far away from any printer to test this with. Testing and review by others is highly appreciated.

BUG: https://bugs.kde.org/show_bug.cgi?id=467328

Merge request reports