lpd non risponde!!
Ho installato una rh9 e una stampante di rete con IP 194.183.23.165. Ho modificato così il file printcap:
Ho stoppato cups per non farlo modificare e ho creato la directory /var/spool/lpd/pserverd dandogli i permessi 775, owner daemon e group daemon (ma ho provato anche con root).codice:# This file was autoatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. lp|epson1200:\ :lp=:\ :rm=194.183.23.165:\ :rp=lpt1:\ :lf=/var/spool/lpd/pserverd.log:\ :sd=/var/spool/lpd/pserverd:\ :mx#0:
Eppure quando tento di stampare:
# lp -d lp printest.txt
lp: unable to print file: server-error-service-unavailable
oppure
# lpr -P epson1200 printest.txt
lpr: unable to print file: server-error-service-unavailable
Inoltre:
# lpq
lpq: Unable to contact server!
e
# lpstat
lpstat: Unable to connect to server: Connection refused
Mi sono chiesto se per caso non fosse avviato il demone lpd. Lo avvio, ma se do ps aux ricevo:
lp .... 0:00 lpd Waiting
Ma che succede?