LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS lp(r) duplex syntax? (HP LJ 1320) (https://www.linuxquestions.org/questions/linux-software-2/cups-lp-r-duplex-syntax-hp-lj-1320-a-393678/)

jonaskoelker 12-16-2005 04:12 PM

CUPS lp(r) duplex syntax? (HP LJ 1320)
 
STATUS: Solved
SOLUTION:
Code:

lp -oPrintoutMode=Draft -oDuplex=DuplexNoTumble
(I haven't tested this with lpr, but I guess it'll work)

--- original post follows for contextual and historical value ---

Hi, and thanks for stopping by.

I want to do duplex printing with lp or lpr (I'm fairly indifferent as to which, but if you want to tell me why I shouldn't be I'm ready to listen).

Thanks to google, I have found and tried the following incantations:

Code:

$ lpr Duplex=DuplexNoTubmble council.pdf
$ lpr -o Duplex=DuplexNoTubmble council.pdf
$ lpr -o Duplex=True council.pdf
$ lpr -o 'sides=two-sided-long-edge' council.pdf

However, none of them have produced the desired result---they all print on two sheets. Also, I tried fiddling with the cups settings on localhost:631 (that is, set the default to duplex for my printer), but to no avail.

I have heard---but only in a `passing-by' sort of way---that you have to be in `draft mode' to get duplexed output. How do I that? grepping the cups user manual for `draft' and `mode' draws a blank.

My printer does support duplex printing, as I have done that with gpdf. However, my gpdf crashes seemingly randomly (but that's a different thread), so I don't want to rely on it for duplexed printing.

I'm all out of ideas. What am I doing wrong? How do I make my prints come out duplexed?

Thanks for your attention --Jonas


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