LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   printing with lpr (https://www.linuxquestions.org/questions/linux-software-2/printing-with-lpr-727551/)

davidcollins001 05-21-2009 10:04 AM

printing with lpr
 
Hi,

I have been using lpr for a while now I find it much easier to print with (once it is setup) than using kprinter. I am using it with cups.

I do most of my printing with duplex 2 pages per sheet with long edge binding using
lpr -o number-up=2 -o sides=two-sided-long-edge
Recently I have been wanting to print duplex 1 page a sheet with long edge binding, ie normal book binding style and have been trying to use
lpr -o number-up=1 -o sides=two-sided-long-edge
which is printing the second side upside down in relation to the first. If I replace two-sided-long-edge with two-sided-short-edge is prints in exactly the same way.

Does anyone know why this is the case? Is the pdf file itself specifying how it is being printed and overruling lpr or have I got the syntax a bit wrong? The file I am trying to print is a pdf that is cut down to 2 pages using gs.

Thanks

knudfl 05-22-2009 02:13 AM

Suggest : See the options in 'kprinter'

Those options are different on different printers,
and are also different depending on the file,
i.e. a 'kprinter' dialog may not show the same
options for e.g. a text, a jpg and a pdf file.

And by the way : lpr is usually just a link to
lpr-cups or similar.
.....

davidcollins001 05-22-2009 11:34 AM

lpoptions shows the options of the printer, for some reason the duplextumble was set in the .cups/lpoptions, so switched that to duplexnotumble and it worked a charm.

Thanks


All times are GMT -5. The time now is 07:35 AM.