> From [EMAIL PROTECTED] Mon Jun 19 16:06:59 2000
> From: "Paul Moore" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: RE: LPRng: Printcap entry "filter="
> Date: Mon, 19 Jun 2000 23:00:30 +0100
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> > > > What version of ifhp are you using? I thought that I had
> > > > gotten all of these.
> > > >
> > > It's the one that comes with Debian Potato (2.2) release - I'm
> > > pretty sure it's 3.6.12, but I wouldn't swear to it. What's
> > > the definitive way of checking?
> >
> > lpr -V
>
> Yup. 3.6.12. I wouldn't worry if it's a recent fix.
>
> One other question - I have a set of printers in the office. All are HPs of
> one form or another, and all are on the LAN using JetDirect. I would ideally
> like to be able to set up a printcap which said, in effect, that every
> printer had the same config, with only the following minor differences:
>
> network name
> printer type (ifhp parameter)
>
> Also, I'd like to make one of the printers the default.
>
> What's the best way (ie, least duplication of information) to set this up?
> Furthermore, if I want to say that any unnamed printer should be treated
> just like a "generic" one as above, with the network name equal to the
> printer name, and the printer type as some default, could I do that as well?
>
> Thanks,
> Paul.
# this is first, the is the default, and you get it used
# if somebody cannot spell correctly - bit dangerous that,
# but I think this is what you want
pr1|*:tc=.common
:lp=ip.address.printer%9100
:ifhp=model=thismodel
pr2:tc=.common
:lp=ip.address.printer%9100
:ifhp=model=thismodel
.common:
:sd=/var/spool/lpd/%P
:whateveris=common.to_things
:filter=/..../ifhp
:ifhp=model=some_common_model
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.astart.com)
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------