Hello ALUG,
I have a PDF I want to print on two sides per sheet. Often I just use the print dialog from evince for this, but evince is refusing to open this one properly.
So I'm trying to use lpr. According to the Web lpr takes a -o switch which allows me to send options to my printer, including duplexing options. However, my man lpr suggests otherwise. No -o switch is documented and, indeed, lpr just shows the usage instructions if I try running it with a -o switch set.
e.g.
$ lpr -P ISMS -o Duplex=DuplexNoTumble Tymoczko08.pdf usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C class] [-i [numcols]] [-J job] [-Pprinter] [-T title] [-U user] [-wnum] [name ...] $ lpr -P ISMS -O Duplex=DuplexNoTumble Tymoczko08.pdf $ lpr -PISMS -oDuplex=DuplexNoTumble Tymoczko08.pdf $ lpr -PISMS -ODuplex=DuplexNoTumble Tymoczko08.pdf $ lpr -P ISMS -o 'sides=two-sided-long-edge' Tymoczko08.pdf $ lpr -P ISMS -O 'sides=two-sided-long-edge' Tymoczko08.pdf
So why does everyone on the Web have a -o switch for their lpr and I don't? Mine is version 1:2008.05.17 from Debian unstable.
Any suggestions?
Hi Richard,
2009/3/13 Richard Lewis richardlewis@fastmail.co.uk:
I have a PDF I want to print on two sides per sheet. Often I just use the print dialog from evince for this, but evince is refusing to open this one properly.
Have you tried other PDF viewing applications?
So why does everyone on the Web have a -o switch for their lpr and I don't? Mine is version 1:2008.05.17 from Debian unstable.
Any suggestions?
This may give you some hints...
man lpr (on an ancient Kubuntu box, also Slackware) shows the -o option, and....
COPYRIGHT Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
12 February 2006 Common UNIX Printing System
So seems this is lpr from CUPS, not the old UNIX lpr.
Hope that helps, Srdjan
My Ubuntu 8.10 box has the CUPS lpr which seems to have the -o option "Copyright 2007 by Apple Inc."
However I note that there is a a BSD lpr package in my repositories which I suspect doesn't
At Fri, 13 Mar 2009 17:39:28 +0000, Srdjan Todorovic wrote:
2009/3/13 Richard Lewis richardlewis@fastmail.co.uk:
I have a PDF I want to print on two sides per sheet. Often I just use the print dialog from evince for this, but evince is refusing to open this one properly.
Have you tried other PDF viewing applications?
XPDF will open it. But its printing method is just to send the document to lpr.
So why does everyone on the Web have a -o switch for their lpr and I don't? Mine is version 1:2008.05.17 from Debian unstable.
Any suggestions?
This may give you some hints...
man lpr (on an ancient Kubuntu box, also Slackware) shows the -o option, and....
COPYRIGHT Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
12 February 2006 Common UNIX Printing System
So seems this is lpr from CUPS, not the old UNIX lpr.
At Fri, 13 Mar 2009 22:41:46 +0000, Wayne Stallwood wrote:
My Ubuntu 8.10 box has the CUPS lpr which seems to have the -o option "Copyright 2007 by Apple Inc."
However I note that there is a a BSD lpr package in my repositories which I suspect doesn't
This seems to have solved it. I've installed the cups-bsd package from Debian and now have a -o switch.
Thanks for your help!