I think that you are right about not having the lpd emulation set up. I
found a How-To for setting up the cups-lpd helper server, but I have not
gotten it to work.

I tried starting it by "/usr/lib/cups/daemon/cups-lpd start", and the
process would hang and have to be killed. I also tried putting it in
inetd by adding " printer         stream  tcp     nowait lp
/usr/lib/cup/daemon/cups-lpd" to /etc/inetd.conf. inetd seemed to
restart okay, but I am still unable to do a lpr print and I am not sure
if cups-lpd is actually running. 

Is there another approach that I should try?

Russ



-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Adam Thornton
Sent: Friday, June 01, 2007 12:24 PM
To: [email protected]
Subject: Re: Printer help

On Jun 1, 2007, at 11:10 AM, Jones, Russell wrote:

> I have a network printer that I have installed through the cups web/
> gui
> interface. I am able to print a test page from the gui but I am not
> able
> to print from the command line. This is what I get:
>
> [EMAIL PROTECTED]:~# lpr test.print
> Status Information, attempt 1 of 3:
> sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED]
>  connecting to 'localhost', attempt 1
>  cannot open connection to localhost - No such file or directory
> Make sure the remote host supports the LPD protocol
>
> Any suggestions?

Do you have CUPS set up to do lpd emulation on port 515 (I think)?

If not, well, you can't print because nothing's listening to the lpd
port.  Cups by default uses IPP, which is 631, I think.

Adam

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to