Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-16-2005, 04:12 PM   #1
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
CUPS lp(r) duplex syntax? (HP LJ 1320)

STATUS: Solved
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:

$ 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

Last edited by jonaskoelker; 01-17-2006 at 04:02 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HP LaserJet 1320 - jobs get cancelled jonaskoelker Linux - Hardware 1 08-16-2005 08:02 PM
Laserjet 1320 and samba skota Linux - Hardware 1 06-01-2005 10:00 PM
Printing to Laserjet 1320 via ethernet skota Linux - Hardware 1 05-11-2005 10:55 PM
C++ syntax error before :: token HELP, i cant find the syntax error :( qwijibow Programming 2 12-14-2004 06:09 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration