[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[no subject]
I've got two different printer definitions set up for the queue on roadrunner:
One is using samba, and the other uses lpr. Both are failing with the same
error. (My /etc/printcap is attached. I had to go through a rather
convoluted process to get it attached. Rest assured that it is not called
printcap.txt on my machine.)
When I try to print, I get the following message:
[tcooper marvin tcooper]$ lpr -Plp0 test.txt
lpr: connect: Connection refused
[tcooper marvin tcooper]$ lpq -Plp0
Warning: no daemon present
Rank Owner
Job Files Total Size
1st root
46 ... 625 bytes
2nd root 47
... 625 bytes
3rd root 48
... 625 bytes
4th tcooper 49
test.txt 557 bytes
[tcooper marvin tcooper]$
ps -aux | grep lpd
root 482 0.0 0.0 1140 0 ? SW Feb24
0:00 [lpd]
root 489 0.0 0.0 1204 0 ? SW Feb24 0:00
[lpd]
tcooper 1324 0.0 0.8 1244 512 pts/2 S 09:29 0:00 grep
lpd
jobs queued, but cannot start daemon.
[tcooper marvin tcooper]$ su
Password:
[root marvin tcooper]#
/etc/rc.d/init.d/lpd stop
Shutting down lpd: [ OK ]
[root marvin
tcooper]# /etc/rc.d/init.d/lpd start
Starting lpd: [ OK ]
[root marvin
tcooper]# exit
exit
[tcooper marvin tcooper]# etc/rcps -aux | grep lpd
root
1375 0.0 0.6 1140 412 ? S 09:31 0:00 lpd
root
1376 0.1 0.8 1204 564 ? S 09:31 0:00 lpd
tcooper 1402
0.0 0.7 1240 500 pts/2 S 09:31 0:00 grep lpd
[tcooper marvin tcooper]$ lpr -Plp0 test.txt
lpr: connect: Connection
refused
jobs queued, but cannot start daemon.
I'm really confused by this behavior. Can anyone help?
Thanks !
Tom
--=====================_951507110==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="printcap.txt"
# /etc/printcap
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.
##PRINTTOOL3## LOCAL cdj550 300x300 letter {} DeskJet550 3 1
deskjet:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp/filter:
##PRINTTOOL3## SMB cdj550 300x300 letter {} DeskJet550 3 1
lp0:\
:sd=/var/spool/lpd/lp0:\
:mx#0:\
:sh:\
:if=/var/spool/lpd/lp0/filter:\
:af=/var/spool/lpd/lp0/acct:\
:lp=/dev/null:
##PRINTTOOL3## REMOTE cdj550 300x300 letter {} DeskJet550 3 1
lp1:\
:sd=/var/spool/lpd/lp1:\
:mx#0:\
:sh:\
:rm=roadrunner:\
:rp=deskjet:\
:if=/var/spool/lpd/lp1/filter:
--=====================_951507110==_
Content-Type: text/plain; charset="us-ascii"
This message reflects the personal views and opinions of the author only,
and not necessarily those of any organizaion to which the author is
related.
--=====================_951507110==_--
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]