I think I found what the problem is: the .defaults sectino was marked as "Client", but the other section wasn't. So as a server, it only sees the main section with the include, but not the section that is being included. So changing it to:
------------------------------ ctfozone|* :client :tc=.common .common :lp=%Q@printserv :client :force_localhost@ ------------------------------ or even ------------------------------ ctfozone|* :client :tc=.common .common :lp=%Q@printserv :force_localhost@ ------------------------------ solved the problem. D'oh. I guess the "client" is sort of a meta-option, that describes stuff about the option and is not really about the printer, which makes sort of sense. (Once you think about it...) I guess if you are overly picky, one should have a special "dependent" or "noclientnorserver" option, that makes the option not be a printer, but just an include section, that is then being checked in the context of the printer that it is being included in. OTOH, there are probably more urgent problems to work on.... Martin On Mon, Dec 23, 2002 at 10:34:06AM -0500, Van Sickler, Jim wrote: > I'd change .defaults to .common > > "default" and/or "defaults" may be reserved words. > > Jim > > > -----Original Message----- > > From: Martin Stolle [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, December 21, 2002 1:28 PM > > To: [EMAIL PROTECTED] > > Subject: Re: LPRng: printcap format error? > > > > > > The same thing happens. :tc= is for including other entries. > > > > On Sat, Dec 21, 2002 at 10:54:44AM -0500, Joel Hammer wrote: > > > I have never used this parameter. > > > > > > What happens if you put .defaults above ctfozone? > > > > > > Joel > > > > > > On Sat, Dec 21, 2002 at 09:46:43AM -0500, Martin Stolle wrote: > > > > Hi, > > > > > > > > I have the following printcap: > > > > > > > > > > > > > > > > ctfozone|* > > > > :tc=.defaults > > > > > > > > .defaults > > > > :lp=%Q@printserv > > > > :client > > > > :force_localhost@ > > > > > > > > > > > > > > > > Which should be fine. However, when I run checkpc, I get > > the error: > > > > > > > > 2002-12-21-09:44:38.498 tacos ctfozone: Find_pc_info: tc entry > > > > '.defaults' not found > > > > > > > > What am I doing wrong? Or is this a bug? I do know that > > I don't really > > > > need the .defaults in this case, since I only have one printer. > > > > However, I would like to keep a .defaults section > > separate, in case I > > > > add other printers with slightly different options. I am > > using lprng > > > > v3.8.10. > > > > > > > > Martin > > > > > > > > > > > > > > > > > > -------------------------------------------------------------- > > --------------- > > > > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG > > MAILING LIST > > > > The address you post from MUST be your subscription address > > > > > > > > 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. > > > > > > -------------------------------------------------------------- > > --------------- > > > > > > > > -------------------------------------------------------------- > > --------------- > > > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST > > > The address you post from MUST be your subscription address > > > > > > 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. > > > > > -------------------------------------------------------------- > > --------------- > > > > -------------------------------------------------------------- > > --------------- > > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST > > The address you post from MUST be your subscription address > > > > 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. > > -------------------------------------------------------------- > > --------------- > > > > ----------------------------------------------------------------------------- > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST > The address you post from MUST be your subscription address > > 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. > ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address 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. -----------------------------------------------------------------------------
