LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-15-2007, 02:52 AM   #1
dolandtan
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
CUPS Generic text-only printing


Hi All,

I am using cups with rhel 4. Bascially i need to print from Mainframe to my new print spoofing server, and from this printer server to remote printer or text file.

I have created 2 nodename on the mainframe, they are named as Nodename A & Nodename B, A is configured for landscape printing and B is for portrait printing. The printer able to print (output to a text file)to Nodename B and CUPS not able to print landscape Nodename A. Both are printing to a text file and i am using Generic text-only driver.

As for my thinking is that there is no different as it is printed to text file, so it does not matter whether is portrait or landscape as the output will be the same.

Thanks
 
Old 05-15-2007, 05:15 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Quote:
have created 2 nodename on the mainframe, they are named as Nodename A & Nodename B, A is configured for landscape printing and B is for portrait printing. The printer able to print (output to a text file)to Nodename B and CUPS not able to print landscape Nodename A. Both are printing to a text file and i am using Generic text-only driver.
That's probably because you only have a portrait mode print defined in CUPS.

Let me suggest an alternative method.

I have one physical printer, but twelve virtual printers. I used CUPS printer setup to define 12 printers:
1- draft-greyscale-protrait
2- draft-color-protrait
3- normal-greyscale-portrait
4- normal-color-portrait
5- high-quality-greyscale-portrait
6- photo-quality-color-portrait
7- draft-greyscale-landscape
8- draft-color-landscape
9- normal-greyscale-landscape
10- normal-color-landscape
11- high-quality-greyscale-landscape
12- photo-quality-color-landscape

One of them is designated the default printer. When I want to print other than the default, in the print dialogue box, I click on the drop-down list box and select the printer to use. The only reason to go into printer setup is to change the number of copies to print.

Perhaps you could do the same. Define you printers in CUPS. Then configure the mainframe to send jobs to either one or the other, rather than define the printers on the mainframe and try to print to CUPS with only one printer defined.

Last edited by bigrigdriver; 05-15-2007 at 05:18 AM.
 
Old 05-15-2007, 05:20 AM   #3
dolandtan
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Big Rig Driver,

Thanks for your reply....but i need to print out to text file only, i dun want to print out to a printer. The reason is because there is a shell script need to process this file. And user need to loggin to mainfame in order to print their docs, they are not allow to access this new printer.

Thanks

Last edited by dolandtan; 05-15-2007 at 05:21 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
Why can't I find a Generic PCL printer driver on CUPS rickh Linux - Hardware 1 05-05-2006 08:20 AM
Can't find generic postscript drivers on cups rickh Linux - Hardware 1 04-18-2006 07:06 AM
Whats the difference between CUPS printing and Samba shared printing? depam Linux - Software 1 03-17-2006 01:56 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
generic printing software startingnow Linux - Software 2 08-26-2004 01:39 PM

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

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