Thank you Sir! The new release corrected my checkpc -f problem.
It now creates the TAG_MONARCH and TAGM_MONARCH directories with
out error. As per your suggestion, I have added a separate log
for each spool queue and added lp=%P@localhost for each printer.
-jimr
*********
[EMAIL PROTECTED] wrote:
>
> > From [EMAIL PROTECTED] Tue Jul 25 09:16:57 2000
> > Date: Tue, 25 Jul 2000 10:47:50 -0400
> > From: Jim Raeuchle <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> > Subject: LPRng: checkpc -f (LPRng-3.6.12)
> >
> > This is a multi-part message in MIME format.
> > --------------1B4077EF8715F5A7770A208D
> > Content-Type: text/plain; charset=us-ascii
> > Content-Transfer-Encoding: 7bit
> >
> > Checkpc -f fails to create the spool directories called
> > any.TAGM_MONARCH and cashoffice.TAGM_MONARCH in the following
> > printcap. All others are created correctly.
> >
> > If I call TAGM_MONARCH anything other than TAGM, it creates them
> > with no problem. (Example: RAGM_MONARCH).
> >
> > The actual error message from checkpc -f is:
> >
> > Warning - any.tagm_monarch: Bad printcap entry - missing 'sd' or
> > 'client' entry?
> > (same error for cashoffice)
> >
> > NOTE that in the warning, the printer name is showing as lower
> > case instead of any.TAGM_MONARCH, odd... ????
>
> No, LPRng smashes all printer names to lower case to deal with
> problems with Win95 and NT doing their mysterious 'caseless'
> conversions, as well as some DataGeneral and other implementations.
>
> >
> > If I use the -V option with checkpc, it shows all the printers
> > with the correct case, example;
> >
> > Printer 'any.TAGM_MONARCH': any.TAGM_MONARCH@localhost
> >
> > If the names (TAG_MOANRCH TAGM_MONARCH) begin with the same
> > characters (TAG in this case) checkpc -f fails to create one of them.
> >
> > ________________________________________
> >
> > # This file is generated!
> > #
> > # Any edits you make will be deleted by the next run of bpcontrol,
> > # and could break bprint, so DON'T EDIT THIS FILE! Run bpcontrol
> > # to change settings instead.
> > #
> >
> > lexmark1:
> > # Do not remove the next line. It is used by bpmkspool.
> > :cm=Lexmark Optra E310 Series printer:
> > :rm=dhcp02:rp=registry:
> > :ss=cashoffice.SUMMARY:lo=lock.lexmark1:
> > :lf=/var/adm/lpd-errs:
> > :sf:sh:mx#0:
> > :sd=/var/spool/bp/lexmark1:
> >
> > monarch1:
> > # Do not remove the next line. It is used by bpmkspool.
> > # TELPRINT telprint -q -m666 /dev/telprint_monarch1 ts1 3008
> > :cm=Monarch 9800 Series printer:
> > :ss=any.LBL_MONARCH:lo=lock.monarch1:
> > :lf=/var/adm/lpd-errs:
> > :sf:sh:mx#0:
> > :sd=/var/spool/bp/monarch1:
> >
> > otc1:
> > # Do not remove the next line. It is used by bpmkspool.
> > # TELPRINT telprint -q -m666 /dev/telprint_otc1 ps1 2000
> > :cm=OTC (HP LaserJet III compatible) printer:
> > :ss=any.SUMMARY:lo=lock.otc1:
> > :lf=/var/adm/lpd-errs:
> > :if=/usr/newsprint/lpd/if -notc1 -h%h:
> > :sf:sh:mx#0:
> > :sd=/var/spool/bp/otc1:
> >
> > otc2:
> > # Do not remove the next line. It is used by bpmkspool.
> > # TELPRINT telprint -q -m666 /dev/telprint_otc2 ps2 2000
> > :cm=OTC (HP LaserJet III compatible) printer:
> > :ss=any.SIGN_OTC:lo=lock.otc2:
> > :lf=/var/adm/lpd-errs:
> > :if=/usr/newsprint/lpd/if -notc2 -h%h:
> > :sf:sh:mx#0:
> > :sd=/var/spool/bp/otc2:
> >
> > any.LBL_MONARCH:
> > :sv=monarch1:mx#0:sd=/var/spool/bp/any.LBL_MONARCH:
> >
> > any.LBL_OTC:
> > :mx#0:sd=/var/spool/bp/any.LBL_OTC:
> >
> > any.LINENS_OTC:
> > :mx#0:sd=/var/spool/bp/any.LINENS_OTC:
> >
> > any.SIGN_OTC:
> > :sv=otc2:mx#0:sd=/var/spool/bp/any.SIGN_OTC:
> >
> > any.SUMMARY:
> > :sv=otc1:mx#0:sd=/var/spool/bp/any.SUMMARY:
> >
> > any.TAG_MONARCH:
> > :mx#0:sd=/var/spool/bp/any.TAG_MONARCH:
> >
> > any.TAGM_MONARCH:
> > :mx#0:sd=/var/spool/bp/any.TAGM_MONARCH:
> >
> > any.TAG_OTC:
> > :mx#0:sd=/var/spool/bp/any.TAG_OTC:
> >
> > cashoffice.LBL_MONARCH:
> > :mx#0:sd=/var/spool/bp/cashoffice.LBL_MONARCH:
> >
> > cashoffice.LBL_OTC:
> > :mx#0:sd=/var/spool/bp/cashoffice.LBL_OTC:
> >
> > cashoffice.LINENS_OTC:
> > :mx#0:sd=/var/spool/bp/cashoffice.LINENS_OTC:
> >
> > cashoffice.SIGN_OTC:
> > :mx#0:sd=/var/spool/bp/cashoffice.SIGN_OTC:
> >
> > cashoffice.SUMMARY:
> > :sv=lexmark1:mx#0:sd=/var/spool/bp/cashoffice.SUMMARY:
> >
> > cashoffice.TAGM_MONARCH:
> > :mx#0:sd=/var/spool/bp/cashoffice.TAGM_MONARCH:
> >
> > cashoffice.TAG_MONARCH:
> > :mx#0:sd=/var/spool/bp/cashoffice.TAG_MONARCH:
> >
> > cashoffice.TAG_OTC:
> > :mx#0:sd=/var/spool/bp/cashoffice.TAG_OTC:
> >
>
> I just ran checkpc -f with the latest version of LPRng. Here is what I got
> for your printcap:
>
> h4: {772} % checkpc
> Warning - lexmark1: sf (suppress form feeds) is ignored. Use 'ff_separator' if you
>want FF between job files
> Warning - ** cannot open '/var/adm/lpd-errs' - 'No such file or directory'
> Warning - cannot open '/var/adm/lpd-errs' - 'No such file or directory'
> Warning - monarch1: 'no :rm, :lp, or :sv entry'
> Warning - monarch1: sf (suppress form feeds) is ignored. Use 'ff_separator' if you
>want FF between job files
> Warning - ** cannot open '/var/adm/lpd-errs' - 'No such file or directory'
> Warning - cannot open '/var/adm/lpd-errs' - 'No such file or directory'
> Warning - otc1: 'no :rm, :lp, or :sv entry'
> Warning - otc1: sf (suppress form feeds) is ignored. Use 'ff_separator' if you want
>FF between job files
> Warning - ** cannot open '/var/adm/lpd-errs' - 'No such file or directory'
> Warning - cannot open '/var/adm/lpd-errs' - 'No such file or directory'
> Warning - cannot stat 'if' filter '/usr/newsprint/lpd/if' - No such file or directory
> Warning - otc2: 'no :rm, :lp, or :sv entry'
> Warning - otc2: sf (suppress form feeds) is ignored. Use 'ff_separator' if you want
>FF between job files
> Warning - ** cannot open '/var/adm/lpd-errs' - 'No such file or directory'
> Warning - cannot open '/var/adm/lpd-errs' - 'No such file or directory'
> Warning - cannot stat 'if' filter '/usr/newsprint/lpd/if' - No such file or directory
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - any.LINENS_OTC: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - any.TAGM_MONARCH: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - any.TAG_OTC: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - cashoffice.LBL_MONARCH: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - cashoffice.LBL_OTC: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - cashoffice.LINENS_OTC: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - cashoffice.SIGN_OTC: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - cashoffice.TAG_MONARCH: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
> Warning - cashoffice.TAG_OTC: 'no :rm, :lp, or :sv entry'
> Warning - Missing 'lp' and 'rp' entry for local printer
>
> The problems are as follows:
>
> a) You seem to be using a single 'log' file for all of the spool queues.
> This file is automatically truncated by each spooling process to a
> maximum size. I recommend that you have one per spool queue, so you
> do not get unexpected interactions.
>
> b) You do not have a servers specified for the various queues. If you
> have 'force_localhost' set, then you can ignore this, but it is
> a little odd. You might want to use:
>
> printer:lp=%P@localhost
>
> Or you can ignore the warnings.
>
> After I ran checkpc, I get:
>
> Server Printer: lexmark1@h4 (dest registry@dhcp02) 'Lexmark Optra E310 Series
>printer' (serving cashoffice.SUMMARY)
> Queue: no printable jobs in queue
> Printer 'registry@dhcp02' - cannot open connection - bad or missing hostname
> Server Printer: monarch1@h4 'Monarch 9800 Series printer' (serving any.LBL_MONARCH)
> Queue: no printable jobs in queue
> Server Printer: otc1@h4 'OTC (HP LaserJet III compatible) printer' (serving
>any.SUMMARY)
> Queue: no printable jobs in queue
> Server Printer: otc2@h4 'OTC (HP LaserJet III compatible) printer' (serving
>any.SIGN_OTC)
> Queue: no printable jobs in queue
> Printer: any.LBL_MONARCH@h4 (dest any.LBL_MONARCH@localhost) (subservers monarch1)
> Queue: no printable jobs in queue
> Printer: any.LBL_OTC@h4
> Queue: no printable jobs in queue
> Printer: any.LINENS_OTC@h4
> Queue: no printable jobs in queue
> Printer: any.SIGN_OTC@h4 (dest any.SIGN_OTC@localhost) (subservers otc2)
> Queue: no printable jobs in queue
> Printer: any.SUMMARY@h4 (dest any.SUMMARY@localhost) (subservers otc1)
> Queue: no printable jobs in queue
> Printer: any.TAG_MONARCH@h4
> Queue: no printable jobs in queue
> Printer: any.TAGM_MONARCH@h4
> Queue: no printable jobs in queue
> Printer: any.TAG_OTC@h4
> Queue: no printable jobs in queue
> Printer: cashoffice.LBL_MONARCH@h4
> Queue: no printable jobs in queue
> Printer: cashoffice.LBL_OTC@h4
> Queue: no printable jobs in queue
> Printer: cashoffice.LINENS_OTC@h4
> Queue: no printable jobs in queue
> Printer: cashoffice.SIGN_OTC@h4
> Queue: no printable jobs in queue
> Printer: cashoffice.SUMMARY@h4 (dest cashoffice.SUMMARY@localhost) (subservers
>lexmark1)
> Queue: no printable jobs in queue
> Printer: cashoffice.TAGM_MONARCH@h4
> Queue: no printable jobs in queue
> Printer: cashoffice.TAG_MONARCH@h4
> Queue: no printable jobs in queue
> Printer: cashoffice.TAG_OTC@h4
> Queue: no printable jobs in queue
>
> I think you might want to upgrade to the current release?
>
> Patrick
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
begin:vcard
n:Raeuchle;Jim
tel;fax:603-443-6190
tel;work:603-448-4100 X5161
x-mozilla-html:FALSE
org:Burlington Coat Factory Wharehouse;Network group
adr:;;2 South Park Street;Lebanon;New Hampshire;03766;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Network Engineer
x-mozilla-cpt:;27264
fn:Jim Raeuchle
end:vcard