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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-08-2005, 06:36 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2005
Location: Saffaland
Distribution: Slackware
Posts: 12
Rep:
|
Printing Problem (cups / cups-lpd)
Help!!
I am about to go insane! Linux can be great, but sometimes the sheer effort in getting what should be a simple task working can be a real turn off.
My problem - I wish to print via an lpd client on a Slackware 10.0 box to a printer installed on a red hat 9.0 box. Both are running cups. Raw printer driver. I can send test data from Slack to Red.
I have "enabled" cups-lpd in inetd.conf on Slack and in xinetd.conf on Red, as per instructions in man cups-lpd.
Alas, if I try lpd -d okidale /etc/passwd on Slack, I get the following error message :
Status Information, attempt 1 of 3:
sending job 'root@thebitch+423' to okidale@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - No such file or directory
Make sure the remote host supports the LPD protocol
Waiting 10 seconds before retry
Status Information, attempt 2 of 3:
sending job 'root@thebitch+423' to okidale@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - No such file or directory
Make sure the remote host supports the LPD protocol
Waiting 10 seconds before retry
sending job 'root@thebitch+423' to okidale@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - No such file or directory
Make sure the remote host supports the LPD protocol
(okidale is the printer, thebitch is the Slackware box)
I can successfully run this on the Red Hat Box, progs2, which is physically connected to the printer.
Any ideas?
|
|
|
|
04-08-2005, 06:46 AM
|
#2
|
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
well, the lpd command (/usr/sbin/lpd) is for LPRng. NOT CUPS.
|
|
|
|
04-08-2005, 07:45 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2005
Location: Saffaland
Distribution: Slackware
Posts: 12
Original Poster
Rep:
|
True enough...
But cups EMULATES lpd, using a daemon called cups-lpd. This is to be launched from inetd, and requires a modification in inetd.conf, which I have made.
I have had this working about 6 months ago, but have obviously forgotten some finer details.
Thanks for your input
|
|
|
|
04-08-2005, 08:01 AM
|
#4
|
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
Quote:
Originally posted by daleman
True enough...
But cups EMULATES lpd, using a daemon called cups-lpd. This is to be launched from inetd, and requires a modification in inetd.conf, which I have made.
I have had this working about 6 months ago, but have obviously forgotten some finer details.
Thanks for your input
|
If the sever (redhat) is configured fine all you need to do is put the server address in /etc/cups/client.conf of slack and use lp or lpr (make sure those are sybolic links to lp-cups and lpr-cups and not to lp-lprng) and you will print.
DO lpstat -v (link to lpstat-cups) and slack should output the red-hat printer.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:14 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|