[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remote printing isn't working - lpd not listening



On (19/05/05 23:26), Peter Jay Salzman wrote:
> Hi all,
> 
> Just installed Debian on my new workstation, "satan".  The workstation has
> an HP LaserJet 6MP that I'd like to share with other Linux computers on my
> home network.  I use lpd, not lprng.
> 
> I'm pretty sure /etc/printcap is set up correctly on satan and the remote
> hosts.  I'm pretty sure that /etc/hosts.lpd is set up correctly on satan.
> 
> However, on other computers in the house:
> 
>    lucifer# lpq
>    connection to 192.168.0.2 is down
> 
> They can't seem to connect to lpd on satan.  Supposedly, lpd uses port 515
> to accept incoming print jobs.  However, there doesn't appear to be anything
> listening to that port:
> 
>    p@satan$ telnet localhost 515
>    Trying 127.0.0.1...
>    telnet: Unable to connect to remote host: Connection refused
> 
>    lucifer# telnet satan 515
>    Trying 192.168.0.2...
>    telnet: Unable to connect to remote host: Connection refused
> 
> But then again, on Debian, lpd is shipped running the -s option which is
> described as preventing lpd from listening to tcp ports, so I'm not exactly
> sure how lpd accepts incoming remote jobs...
> 
> 1. How exactly does lpd accept incoming remote print jobs if its configured
>    with -s by default?
> 
> 2. Should I be able to telnet to port 515 on a host that is correctly
>    configured to accept incoming remote print jobs?
> 
> 3. If lpd is supposed to bind to port 515, can anyone think of a reason why
>    it's not?
> 
> Any help appreciated!
I can't really help with your problem except to suggest you use cups -
have a look at:

http://www.faqs.org/docs/Linux-mini/Debian-and-Windows-Shared-Printing.html

Although it talks about windows, I also use it for sharing with Linux and OSX
clients.

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business




Reply to: