LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Can I set the cups output order to always print in reverse order (https://www.linuxquestions.org/questions/ubuntu-63/can-i-set-the-cups-output-order-to-always-print-in-reverse-order-746843/)

Thane 08-11-2009 05:30 PM

Can I set the cups output order to always print in reverse order
 
Ubuntu 9.04 amd64, HP 842C printer, HP Deskjet 840c hpijs, 3.9.2 driver, cups. The reason for the 840c driver by the way, is that the 842 drivers have never worked for my printer. Have always had problem in not being able to print in reverse order in Ubuntu, so that I don't have to reorder all printed pages afterwards. Trying to set reverse order via System - Administration - Printing seems to be a dead end. I found the following reference to setting a reverse order, when printing from the command line:
Specifying the Output Order
The -o outputorder=normal and -o outputorder=reverse options specify the order of the pages. Normal order prints page 1 first, page 2 second, and so forth. Reverse order prints page 1 last.

However I'd like to be able to set a default condition in a config file for example if one exists, to always print in reverse order. Is this possible? Many thanks.

sean.bailey00 12-05-2009 07:53 PM

Add the line

*DefaultOutputOrder: "reverse"

to the file

/etc/cups/ppd/PrinterName.ppd

Your printer name can be found in System>Administration>Printing

If you do not know how to add the line, simply type:

sudo gedit /etc/cups/ppd/PrinterName.ppd

into a terminal, and copy the line onto the end.

Thane 12-06-2009 06:57 AM

Worked a charm
 
Thanks Sean. Added line *DefaultOutputOrder: "reverse" before the last end of file line in my /etc/cups/ppd/DESKJET-840C.ppd file, using vim and it worked perfectly. A world of difference! Cheers

nowisenter 07-09-2018 09:49 PM

Till Kamppeter points out that the PPD spec has no quotes around Reverse, it should be:

*DefaultOutputOrder: Reverse

See https colon slash slash github.com/OpenPrinting/cups-filters/issues/47#issuecomment-401431168


All times are GMT -5. The time now is 08:48 PM.