[okular] [Bug 398442] okular doesn't respect page reverse setting of PPD or lpadmin

Frederick Eaton bugzilla_noreply at kde.org
Thu Sep 13 01:52:07 BST 2018


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

--- Comment #4 from Frederick Eaton <frederik at ofb.net> ---
Also I can again reproduce this with cups-pdf, so you don't need a printer.

1. Install cups-pdf
2. Add a printer via the CUPS interface, and select CUPS-PDF
3. Select the cups-pdf PPD /usr/share/cups/model/CUPS-PDF_opt.ppd
4. Use lpadmin to configure page reversal:

lpadmin -p Virtual_PDF_Printer -o outputorder-default=reverse

5. Print a multi-page document using Okular to Virtual_PDF_Printer
6. Check the cups-pdf spool, something like:

/var/spool/cups-pdf/frederik/t.pdf_pool_cups-pdf_frederik-job_61.pdf

The pages are not reversed.

7. Try printing the same document with lp and evince

$ lp -dVirtual_PDF_Printer t.pdf
request id is Virtual_PDF_Printer-62 (1 file(s))
# check the pages are reversed in /var/spool/cups-pdf/frederik/*job_62.pdf
$ evince t.pdf # print to Virtual_PDF_Printer with evince
# check pages reversed in /var/spool/cups-pdf/frederik/*job_63.pdf 

Hope this helps.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list