D
Deleted member 9563
Guest
After installing FreeBSD 10.1-RELEASE on two systems which were previously running 9.1, this time with packages instead of ports, I can no longer print. The printer still works with:
so I know it is not a hardware problem. I have followed Warren Block's excellent instructions (same as the Handbook) in exactly the same way as I did with the previous installation. I have even tried the same files as I used on the previous installation (in case I made a typo or something), but to no avail.
I have
But I'm guessing
I have no idea about /var/run/printer. It is indeed not there, and I don't know what it is supposed to be. Perhaps this is related to me running KDE and using a GUI terminal. Anybody have any ideas?
Additional information:
Code:
% nc XER 9100 < prtst.txt
I have
lpd_enable="YES"
in /etc/rc.conf Nevertheless, it looks like lpd is not starting. Doing it by hand appears to work:
Code:
# service lpd start
Starting lpd.
lpd
dies immediately because I see this:
Code:
% lpr file.txt
lpr: Unable to connect to /var/run/printer: No such file or directoy
lpr: Check to see if the master 'lpd' process is running.
jobs queued, but cannot start daemon.
% printf "This is a test\r\n\f" | lpr
lpr: Unable to connect to /var/run/printer: No such file or directory
lpr: Check to see if the master 'lpd' process is running.
jobs queued, but cannot start daemon.
Additional information:
Code:
% ps l`cat /usr/spool/lpd.lock`
cat: /usr/spool/lpd.lock: No such file or directory
% ls -lg /usr/ucb/lpr
ls: /usr/ucb/lpr: No such file or directory