LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-20-2010, 05:21 PM   #1
sampappachan_nyc
Member
 
Registered: Jan 2009
Location: New York
Distribution: Red Hat, CentOS,Fedora, Ubuntu, SUSE, linux mint
Posts: 60

Rep: Reputation: 0
Printing PDF files in landscape


Hi Guys,

Im trying to print a pdf file in landscape but it always prints as portrait

these are the commands that i use...

lpr -o landscape -P printername filename.pdf

lpr -o orientation-requested=4 -P printername filename.pdf

this is the printer standard options

#lpoptions -p printername -l

Duplex/Double-Sided Printing: DuplexNoTumble DuplexTumble None *Notcapable
PageSize/Page Size: Letter *A4 11x17 A3 A5 B5 Env10 EnvC5 EnvDL EnvISOB5 EnvMonarch Executive Legal
PageRegion/PageRegion: Letter A4 11x17 A3 A5 B5 Env10 EnvC5 EnvDL EnvISOB5 EnvMonarch Executive Legal
Resolution/Resolution: *default 150x150dpi 300x300dpi 600x600dpi 1200x600dpi 1200x1200dpi 2400x600dpi 2400x1200dpi 2400x2400dpi
PreFilter/GhostScript pre-filtering: EmbedFonts Level1 Level2 *No


Any thoughts??


Thank You
 
Old 04-21-2010, 06:13 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Have you tried changing the order of the options ?

ie

lpr -P printername -o landscape filename.pdf

According to man lpr the -P <printer> comes before any -o <option> in the command.

(which makes sense really)

Last edited by smoker; 04-21-2010 at 06:15 PM.
 
  


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
Printing PDF files pixellany Linux - General 4 07-12-2007 08:17 PM
printing from multiple pdf files the first page harmster Linux - Software 2 05-09-2005 07:06 AM
printing landscape pdf Caysho Linux - Newbie 2 01-22-2004 04:26 AM
Printing directly pdf files christophe27 Linux - Software 0 11-26-2003 08:24 AM
Printing PDF-like files Micro420 Linux - Software 7 11-01-2003 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:52 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