[Okular-devel] [okular] [Bug 318998] Add option to exit after printing
Clayton Gerstner
cgrstnr at gmail.com
Thu May 16 14:21:12 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=318998
--- Comment #2 from Clayton Gerstner <cgrstnr at gmail.com> ---
Created attachment 79914
--> https://bugs.kde.org/attachment.cgi?id=79914&action=edit
Patch to add --print_and_exit
Here's a patch to add --print_and_exit to okular. It is perhaps overly simple.
Because batch processing was specifically mentioned it doesn't open the window
with print dialog, it simply prints and exits (with exit status guessed via
Part::doPrint(), again for batch processing/scriptability) though that would
obviously be trivial to change.
Anyway, it worked the one time I tested it connected to a printer. :)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list