LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-02-2010, 10:11 AM   #1
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Changing CUPS Print Orientation


In Windows printing I can take an 11 X 17 report, and tell the print manager to rotate and size. The job then prints (Xerox N40) aligned correctly.

Currently, even after telling the N40 it has ledger paper and switching it's orientation, my 11 X 17 reports print "down" the page rather than across.

Is it possible to tell CUPS to rotate the print job?
 
Old 03-02-2010, 11:22 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
This is not normally a CUPS question---it depends on the driver (and possibly the application).

When you install the printer, do you get more than one option for a driver? (My system offers only a foomatic/postscript driver.)
(And---what driver are you currently using?)

Do you have the same issue in different apps? (and what apps are you using?)
 
Old 03-02-2010, 11:53 AM   #3
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
Options Work up to a point

I found lp options that come close to what I want to do. Now, I'm trying to find a Xerox DocuPrint N40 PPD file.
 
Old 03-02-2010, 11:55 AM   #4
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
Answers to Questions

Quote:
Originally Posted by pixellany View Post
This is not normally a CUPS question---it depends on the driver (and possibly the application).

When you install the printer, do you get more than one option for a driver? (My system offers only a foomatic/postscript driver.)
(And---what driver are you currently using?)

Do you have the same issue in different apps? (and what apps are you using?)
These are plain text files, that happen to be up to 133 characters wide. We're printing using CUPS lp.

I can print from Windows if it's a wide PDF, and there's an option to sense orientation from the PDF width. That works fine, but I'd like to print direct from Linux.

So, there really are no applications involved. And, yes I know it's an older printer.
 
Old 03-02-2010, 12:02 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
"lp" in a terminal will send the output to the default printer---look in the cups setup to see what that is. Presumably in this context it is your Xerox.
In the cups setup, you can specify defaults for the printer, and I assume you also specify options as part of the lp command.
 
Old 03-02-2010, 03:05 PM   #6
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
Do use -d

Quote:
Originally Posted by pixellany View Post
"lp" in a terminal will send the output to the default printer---look in the cups setup to see what that is. Presumably in this context it is your Xerox.
In the cups setup, you can specify defaults for the printer, and I assume you also specify options as part of the lp command.
Not only -d for the printer name, but also -o Custom11x17in -o landscape, but I cannot get it to print correctly. I think this is a driver/PPD issue on my version of Red Hat.
 
Old 03-02-2010, 04:18 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Things to try:
  • Printing from applications--eg OpenOffice
  • Set the defaults in the cups configuration page
  • Try different drivers
  • Check the "linux printing" website
  • Check the Xerox website
 
1 members found this post helpful.
Old 03-02-2010, 04:53 PM   #8
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
Must be Automated

Quote:
Originally Posted by pixellany View Post
Things to try:
  • Printing from applications--eg OpenOffice
  • Set the defaults in the cups configuration page
  • Try different drivers
  • Check the "linux printing" website
  • Check the Xerox website
I think these problems will go away when we use a more modern hp printer. Part of the problem is we need to print programmatically at night. So, I need to set whatever options on the command line.
 
Old 03-03-2010, 08:11 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
In general, if you don't know what the problem is, then you cannot assume that a different printer is going to solve it.

This said, I suppose that a newer printer **might** have better drivers available.....
 
Old 03-03-2010, 08:17 AM   #10
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
N40

Quote:
Originally Posted by pixellany View Post
In general, if you don't know what the problem is, then you cannot assume that a different printer is going to solve it.

This said, I suppose that a newer printer **might** have better drivers available.....
The N40 is deprecated. Using RH EL 5 WS, I was able to print correctly to the printer, and was also at least able to pick a Xerox DocuPrint printer, instead of generic on RH EL 4 ES.
 
  


Reply

Tags
cups, print, rotation, xerox


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
[SOLVED] Cups and Samba to print one print job to 2 printers - tutorial added bourne Linux - General 7 09-18-2009 11:10 AM
CUPS - Print jobs shows completed, but page doesn't print hikerguy Linux - Software 8 12-17-2008 02:55 AM
CUPS, option to print self-test page and clean print heads greyed out? BallsOfSteel Linux - Software 1 08-13-2008 04:22 PM
EPSON Stylus Photo R200 - CUPS+Gimp-Print v4.2.7 does not print anymore Harp00 Linux - Newbie 1 05-24-2006 11:59 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM


All times are GMT -5. The time now is 03:24 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration