Configure remote samba printer, using printtool.
Try printing ASCII test page; fails with error message
"Error printing test page to queue lp0"
"Error reason: lpr: connect: Connection refused"
"jobs queued, but cannot start daemon."
I've tried restarting lpd, manually killing & restarting lpd, uninstalling
and replacing lpr rpm.
I've checked /etc/services to be sure that TCP port 515 is defined for
I've also tried LPRng (from Rawhide). It fails with a different message
about failed connection.
I've observed this problem when printing to a remote LPD printer, as well.
I'm using this version: lpr-0.50-4
Any suggestions ?
Thanks - Harry
More info about problem. Even when printer is connected directly to parallel port, printtool tests don't work (fail with same message), except for "print
directly to port" test. When I telnet localhost 515 (or telnet from another machine), I get the following message, followed by an immediate
"lpd: lp: Malformed from address"
Using lpc, even when 'ps ax' shows two lpd daemons running, 'lpc status' says "no daemon present".
Basically, the only printing I can do is the printtool direct-to-port test.
However, Windows machines can connect via Samba and print with no problem.
also, maybe you haven't set up /etc/hosts.lpd...in this file you need to list
the remote hosts line-by-line that are allowed to use the printer.
Ok, I don't know if this is the case, but it seems to me a bug I've seen a
number of time in the
lpd daemon. The problem seems to be in files to be printed in the print queue,
and in a remote printer (lpd) which is not reachable at the time the local lpd
is started. You can verify this to
be the problem since you should see two ldp running. Also, you can't print on
To solve this, the solution is to stop the daemon printer, remove all the files
from the spool area (lprm -Pprinter -), and then starts the daemon printer