LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-16-2005, 04:12 PM   #1
jonaskoelker
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
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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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