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

Re: [MiNT] Printer spooling



Hello,

lp.xdd is a pure Centronics printerdriver for ST and Falcon. Do not mix
it with a true lp device.

Now I removed lp.xdd from my setup, since it does not make any sense. In conequence there is no /dev/lp.

This confuses me a lot. It's okay that there is no /dev/lp after (re)boot since I removed lp.xdd and I did not configure lpd to start automatically. However after I start lpd I expected /dev/lp to become available. My understandig is that lpd creates a socket for it's communication during start up. Due to the statement "lp=/dev/lp" inside the /etc/printcap I expected the device /dev/lp to appear. Changing the "lp= ..." part of /etc/printcap does not have any effect.

What am I getting wrong here? Could some knowledgeble coder please check the lpd sources (linked in my earlier message). From viewing the code I just dont get it how the socket which is created is named. Thus I don't have a clue how to check whether this is done correctly when lpd starts up.

When lpd is running I checked with "telnet localhost 515" for its availability. I works (!) stating:
Tying 127.0.0.1 ...
Connected to localhost.
Escape character is '^]'.
lpd: HP880C: malformed from address
Connection closed from foreign host.

So I guess lpd in gerenal is working (also since it's printing after it was started) ... but still communiation from lpr, ... to the running daemon does not work. So my bet is on the /dev/lp* device which is missing.

Any ideas?

Heinz