LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-08-2005, 06:36 AM   #1
daleman
LQ Newbie
 
Registered: Mar 2005
Location: Saffaland
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
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?
 
Old 04-08-2005, 06:46 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
well, the lpd command (/usr/sbin/lpd) is for LPRng. NOT CUPS.
 
Old 04-08-2005, 07:45 AM   #3
daleman
LQ Newbie
 
Registered: Mar 2005
Location: Saffaland
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 04-08-2005, 08:01 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
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.
 
  


Reply


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
Network printing CUPS-LPD problem. chuki Linux - Software 1 08-17-2005 04:59 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Cups and lpd printing problem visu Linux - General 0 02-02-2004 02:31 PM
How can I replace Redhat 9 printing via cups with lpd as in RH7 and 8? jhodge Red Hat 3 11-03-2003 05:29 PM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
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