LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-02-2003, 06:33 PM   #1
jhodge
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
How can I replace Redhat 9 printing via cups with lpd as in RH7 and 8?


I recently upgraded our servers from a mixture of RH7 and 8 to RH9.
I can not get cups on RH9 to print to a multiport print server. It always defaults to port 1 on the print server. I am fed up with cups and want to revert to lpd as in RH7 and 8. Can I install lpd instead of cups? Can I revert to the old entries in printcap that I used to have in RH7/8? What changes should I make to smb.conf? Can anyone help?
 
Old 11-02-2003, 07:13 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Can I install lpd instead of cups?
Yes, you can use LPRng instead of CUPS. The RPM is still part of the RedHat 9 distribution.

Can I revert to the old entries in printcap that I used to have in RH7/8?
Yes.

What changes should I make to smb.conf?
You need to make modifications in the [global] share and perhaps in the [printers] share.
The following should be in the [global] share.
Code:
printcap name = /etc/printcap
load printers = yes
printing = lprng
Can anyone help?
I am not sure... I will have to ask the others on LQ first.
 
Old 11-03-2003, 05:29 AM   #3
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
howzit

use the following cmds redhat-switch-printer, redhat-switch-printer tui or u may use the alternatives cmd. These cmd r links between cups and LRpng. If u type alternatives -- config print this will give u the chioce to printing system u want. If u want to set it then use the alternatives --set print.

chow
 
Old 11-03-2003, 05:29 PM   #4
jhodge
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Using LPRng instead of cups with RH9

I tried using LPRng instead of cups. Installation OK, placed the following in smb.conf:
printcap name = /etc/printcap
load printers = yes
printing = lprng

Already had my D-Link DP-303 3-port print server in hosts file as follows:
172.21.128.53 dp303 PS1B9065

Added new entries to printcap as follows:
#Epson Stylus Color 1520
dp303-p1|Epson1520:\
:lp=p1@dp303:\
:sd=/var/spool/lpd/dp303-p1:\
:rw:\
:mx#0:
#HP DeskJet 820Cxi
dp303-p2|HP820Cxi:\
:lp=:\
:rm=dp303:\
:rp=p2:\
:sd=/var/spool/lpd/dp303-p2:\
:rw:\
:mx#0:

I tried addessing the ports both ways, as above, using:
:lp=<port#>@<printserver>
and
:rm=<printserver>
:rp=<port#>

Nothing worked this time! Couldn't even get the Epson to print on port 1 whereas before it worked with cups.
Any ideas?

John
 
  


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
Network printing CUPS-LPD problem. chuki Linux - Software 1 08-17-2005 04:59 PM
FC4 and cups-lpd Jerre Cope Fedora - Installation 0 07-19-2005 08:19 PM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
Cups and lpd printing problem visu Linux - General 0 02-02-2004 02:31 PM
LPD error - bad hostname RH7.3 KL2001 Linux - Newbie 10 09-05-2002 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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