[ALUG] Printing with lpr
Richard Lewis
richardlewis at fastmail.co.uk
Fri Mar 13 16:03:22 GMT 2009
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?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
ISMS, Computing
Goldsmiths, University of London
Tel: +44 (0)20 7078 5134
Skype: richardjlewis
JID: ironchicken at jabber.earth.li
http://www.richard-lewis.me.uk/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+-------------------------------------------------------+
|Please avoid sending me Word or PowerPoint attachments.|
|http://www.gnu.org/philosophy/no-word-attachments.html |
+-------------------------------------------------------+
More information about the main
mailing list