LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CUPS - print pages in reverse order (https://www.linuxquestions.org/questions/slackware-14/cups-print-pages-in-reverse-order-771195/)

satinet 11-24-2009 06:19 AM

CUPS - print pages in reverse order
 
Hi,

I can't get cups to print pages on my printer in reverse order (i.e the right order for documents).

I see that there is an option to the lp command along the lines of lp -o outputorder=reverse ,but I cannot see a way to make this work in graphical interface.

If there is a file I have to edit which one is it?


Also what happened to the nice KDE printer management front end. Now I have to use cups at:
http://localhost:631/

In kde 3.5.x I could manage printers from a KDE app. If there is one now I haven't found it.

Any help appreciated.

Tom

allend 11-24-2009 06:39 AM

From http://www.linuxfoundation.org/colla...verse_order.3F
Quote:

How do I print pages always in reverse order?

In the PPD: *DefaultOutputOrder: "reverse"
So, find the .ppd for you printer in /usr/share/cups/model and add or edit '*DefaultOutputOrder: "reverse"'

satinet 11-24-2009 06:48 AM

Quote:

Originally Posted by allend (Post 3767831)
From http://www.linuxfoundation.org/colla...verse_order.3F


So, find the .ppd for you printer in /usr/share/cups/model and add or edit '*DefaultOutputOrder: "reverse"'

There isn't a ppd file for my printer. just some standard ones (none of the dates of any of the files is recent anyway).

It seems a bit odd that this has never been a problem before but now it doesn't work.

allend 11-24-2009 07:02 AM

Do you have a ppd in /etc/cups/ppd? This is the location for installed printers.

satinet 11-24-2009 08:00 AM

Hi,

yes, I went there thanks. but adding the line

*DefaultOutputOrder: "reverse"


doesn't change anything. I have tried removing the " from reverse. I have restarted cups too.

:confused:

Tom

satinet 11-24-2009 08:02 AM

Supplementary information:

This did work fine in slackware 12.2 (I didn't have to select print in reverse order).

The printer is a sharpe ar-336 copier (uses the sharpe ar161 "driver").

allend 11-24-2009 09:01 AM

This is an excerpt from the .ppd for my printer that does output as you desire.
Quote:

*%==== Basic Device Capabilities =============
*LanguageLevel: "3"
*ColorDevice: True
*DefaultColorSpace: RGB
*FileSystem: False
*Throughput: "12"
*LandscapeOrientation: Plus90
*VariablePaperSize: False
*TTRasterizer: Type42
*FreeVM: "1700000"

*DefaultOutputOrder: Reverse
Did you restart cups after making your edits?

satinet 11-24-2009 10:25 AM

Yeah, I have restarted CUPS post edit. Still no joy.

allend 11-25-2009 07:56 AM

Looking at the 'stp-sharp-ar-161.5.2.ppd.gz' in /usr/share/cups/model/gutenprint/5.2/ as well as your location, I am wondering whether you should prefix the line with en_GB. i.e.
Quote:

*en_GB.DefaultOutputOrder: Reverse

satinet 11-26-2009 08:09 AM

unfortunately that doesn't work either.

It is a bit strange as it always worked fine on earlier versions of Slackware and on Ubuntu.

ceros 02-15-2010 01:38 PM

A better way would be to add this option for the specific printer(s) in printers.conf that need reverse printing.

Check http://www.cups.org/documentation.ph...nf.html#Option

So you would add the line "Option outputorder reverse" somewhere for your printer in printers.conf.

_karsten_ 10-26-2020 02:08 AM

Thanks for the information. It was a good starting point to find the right steps. For reference:

In order to activate reverse-page-order in the printers.conf you should use the lpadmin tool while cups is running:

Code:

# get the name of the printer you want to configure
$ sudo cat /etc/cups/printers.conf

# now use the exact printer name for the -p option
$ sudo lpadmin -p printer-name -o outputorder-default=reverse



All times are GMT -5. The time now is 11:59 PM.