LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-21-2009, 10:04 AM   #1
davidcollins001
Member
 
Registered: Apr 2007
Posts: 43

Rep: Reputation: 21
printing with lpr


Hi,

I have been using lpr for a while now I find it much easier to print with (once it is setup) than using kprinter. I am using it with cups.

I do most of my printing with duplex 2 pages per sheet with long edge binding using
lpr -o number-up=2 -o sides=two-sided-long-edge
Recently I have been wanting to print duplex 1 page a sheet with long edge binding, ie normal book binding style and have been trying to use
lpr -o number-up=1 -o sides=two-sided-long-edge
which is printing the second side upside down in relation to the first. If I replace two-sided-long-edge with two-sided-short-edge is prints in exactly the same way.

Does anyone know why this is the case? Is the pdf file itself specifying how it is being printed and overruling lpr or have I got the syntax a bit wrong? The file I am trying to print is a pdf that is cut down to 2 pages using gs.

Thanks
 
Old 05-22-2009, 02:13 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,153

Rep: Reputation: 2885Reputation: 2885Reputation: 2885Reputation: 2885Reputation: 2885Reputation: 2885Reputation: 2885Reputation: 2885Reputation: 2885Reputation: 2885Reputation: 2885
Suggest : See the options in 'kprinter'

Those options are different on different printers,
and are also different depending on the file,
i.e. a 'kprinter' dialog may not show the same
options for e.g. a text, a jpg and a pdf file.

And by the way : lpr is usually just a link to
lpr-cups or similar.
.....
 
Old 05-22-2009, 11:34 AM   #3
davidcollins001
Member
 
Registered: Apr 2007
Posts: 43

Original Poster
Rep: Reputation: 21
lpoptions shows the options of the printer, for some reason the duplextumble was set in the .cups/lpoptions, so switched that to duplexnotumble and it worked a charm.

Thanks
 
  


Reply


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
printing last page first with lpr Furlinastis Slackware 3 02-17-2006 04:40 PM
LPR Printing is cut off LazyTux Linux - Newbie 1 10-20-2005 02:40 AM
CUPS and LPR printing carlmarshall Linux - Newbie 2 01-23-2004 01:17 PM
lpr printing working but not everywhere ewinger Linux - Networking 0 06-04-2003 05:02 PM
printing through lpr from php Don Lag Programming 3 06-03-2003 12:15 PM


All times are GMT -5. The time now is 07:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration