[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lpd troubles (can't enable lp2 lp3 spools)



My printcap specifies three printers: lp|lp1, lp2, and lp3 with spools
in /var/spool/lpd/(lp1|lp2|lp3). These are all for the same printer on
/dev/lp0, but with different options (draft, normal, best).

While lp1's status is always OK, lp2 and lp3 are always disabled (as
follows from `status' files in their spol directories). I can't figure
out why.

I tried using `lpc' command to `clean', `enable', and `start' the
stubborn printers, but to no avail.

,----[ Here's a round of `lpc's ]
| tea:/etc# lpc clean lp2
| lp2:
| tea:/etc# lpc enable lp2
| lp2:
|         queuing enabled
| tea:/etc# cat /var/spool/lpd/lp2/status 
| printing disabled
| tea:/etc# lpc start lp2
| lp2:
|         printing enabled
| lpc: connect: Connection refused
|         couldn't start daemon
`----

,----[ FWIW, here's my /etc/printcap ]
| lp|lp1|HP Deskjet 697C Draft:\
| 	  :lp=/dev/lp0:sd=/var/spool/lpd/lp1:\
| 	  :sh:pw#80:pl#66:px#1440:mx#0:\
| 	  :if=/etc/hpdj/hpdj-draft:\
| 	  :af=/var/log/lp-acct:lf=/var/log/lp-errs:
| 
| lp2|HP Deskjet 697c Normal:\
| 	  :lp=/dev/lp0:sd=/var/spool/lpd/lp2:\
| 	  :sh:pw#80:pl#66:px#1440:mx#0:\
| 	  :if=/etc/hpdj/hpdj-normal:\
| 	  :af=/var/log/lp-acct:lf=/var/log/lp-errs:
| 
| lp3|HP Deskjet 697c Best:\
| 	  :lp=/dev/lp0:sd=/var/spool/lpd/lp3:\
| 	  :sh:pw#80:pl#66:px#1440:mx#0:\
| 	  :if=/etc/hpdj/hpdj-best:\
| 	  :af=/var/log/lp-acct:lf=/var/log/lp-errs:
`----

Thanks for any ideas!!!
-- 
Arcady Genkin                                 http://www.thpoon.com
Nostalgia isn't what it used to be.


Reply to: