Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 08-11-2009, 06:30 PM   #1
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Rep: Reputation: Disabled
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.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-05-2009, 08:53 PM   #2
LQ Newbie
Registered: Dec 2009
Distribution: Ubuntu 10.04
Posts: 1

Rep: Reputation: 1
Add the line

*DefaultOutputOrder: "reverse"

to the file


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.
2 members found this post helpful.
Old 12-06-2009, 07:57 AM   #3
Registered: Aug 2006
Location: Ontario,Canada
Distribution: Linux Mint19.3 Cinnamon 64bit
Posts: 223

Original Poster
Rep: Reputation: Disabled
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
Old 07-09-2018, 10:49 PM   #4
LQ Newbie
Registered: Jul 2018
Posts: 1

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

*DefaultOutputOrder: Reverse

See https colon slash slash


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
partitions to lvm2 without losing data and reverse order fakie_flip Linux - Software 6 10-30-2006 12:36 PM
CUPS-Don't know how do print in reverse order. SonicGT Linux - Software 1 10-10-2005 03:57 AM
reverse order some lines of text files Melsync Programming 4 09-20-2005 05:40 PM
reverse order logs (maillog) jules_fraser Linux - Networking 2 01-04-2004 06:11 AM
Reverse Order Printing lawrencegoodman Linux - Newbie 2 11-13-2003 08:59 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration