Re: lpd troubles (can't enable lp2 lp3 spools)
I have done this in the past, with no problem. I spooled
them all to the same directory, only the printer name and
filter was different.
Arcady Genkin <a.genkin@utoronto.ca> wrote:
: 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.
: --
: Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
--
*********************** Running Debian Linux ***********************
* For God so loved the world that He gave his only begotten Son, *
* that whoever believes in Him should not perish... John 3:16 *
* W. Paul Mills * Topeka, Kansas, U.S.A. *
* EMAIL= Paul@Mills-USA.com * WWW= http://Mills-USA.com/ *
* Bill, I was there several years ago, why would I want to go back? *
************* pgp public key on keyservers everywhere? *************/
--
Reply to: