printing problem

Can someone tell me what is going wrong here:

I have setup /etc/printcap with:

lpt1|qnxptr|Qnx printer:
:lp=/dev/par1:
:sd=/usr/spool/output/lpt1:
:lf=/usr/adm/lpd-errs:
:mx#0:

As recommended in the literature. The relevant directories have been
created. Next I connected the printer to lpt1 and switched it on. I then
started lprc and typed “start lpt1”. This gave the response

printing enabled
daemon started

I then exited lprc and typed “lpr -Plpt1 test.c”. This executed without
error and appeared in the queue. However it never gets printed. Starting
lprc again and typing “status lpt1” gives

queueing is enabled
printing is enabled
1 entry in spool area
no daemon present

Why is no daemon present when it was only just started. Does anyone know
what I’ve missed?

Paul.

On Fri, 25 May 2001 16:16:27 +0100, “Paul Jones”
<paul.jones@bnc.ox.ac.uk> wrote:

Can someone tell me what is going wrong here:

I have setup /etc/printcap with:

lpt1|qnxptr|Qnx printer:
:lp=/dev/par1:
:sd=/usr/spool/output/lpt1:
:lf=/usr/adm/lpd-errs:
:mx#0:

As recommended in the literature. The relevant directories have been
created. Next I connected the printer to lpt1 and switched it on. I then
started lprc and typed “start lpt1”. This gave the response

printing enabled
daemon started

I then exited lprc and typed “lpr -Plpt1 test.c”. This executed without
error and appeared in the queue. However it never gets printed. Starting
lprc again and typing “status lpt1” gives

queueing is enabled
printing is enabled
1 entry in spool area
no daemon present

Why is no daemon present when it was only just started. Does anyone know
what I’ve missed?

Can’t explain it, but have you tried to start lpd from outside

the lprc (i.e., from the command prompt)? I couldn’t start the daemon
from lprc, but with lpd started from the command prompt the lpr dit
print a file. I’ve also found a post on .newuser group (Apr 17/18)
suggesting that there may be problems with lpd and tcp/ip (Sockets).

ako

Paul.