Hi, thanks for the reply.
The PATH was actually one of the first things that we checked. In one case,
we did come across an old version of the Sun Solaric lpc that was in
/usr/ccs/bin, but that turned out to be not the problem at all.
Next? :)
---
Keith Rinaldo
Systems Administrator
College of Engineering
University of Nevada, Las Vegas
Email: [EMAIL PROTECTED]
----- Original Message -----
From: "Ryan Novosielski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 6:16 AM
Subject: Re: LPRng: Very strange problem
> Are you sure that your lpr that is in your path ('which lpr' or 'which lp'
> as well) is the one that came with LPRng. It is possible, as was in my
> case, that /usr/bin/lp or some program like that is ahead of the LPRng
> versions in the PATH, and thus getting excuted when you don't specify.
>
> I'd look at your PATH variable first, if you haven't already.
>
> ---- _ _ _ _ ___ _ _ _
> |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
> |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
>
> On Thu, 3 Jan 2002, Keith Rinaldo wrote:
>
> > This problem has been plaguing us for a few days now.
> >
> > After many many many recompiles and tinkering, we came to a rather
> > interesting conclusion:
> >
> > If we run "lp" or "lpr" without a fully-qualified queue name, then for
some
> > reason the print job does not get filtered through ifhp, and none of the
> > accounting information is updated in the /var/lpd/log/printername.acct
file.
> > However if we use a fully-qualified name, everything works!
> >
> > Example:
> >
> > lpr -Pmyprinter ./printcap
> >
> > .. will produce a stair-stepped printout of the printcap file, and
nothing
> > gets written to /var/lpd/log/myprinter.acct. However, calling lpr like
> > this:
> >
> > lpr -Pmyprinter@localhost ./printcap
> >
> > ... works just fine! The output gets filtered through ifhp (and through
> > a2ps respectively) and the accounting file is updated. This is very
> > strange, and since we have a large number of users (around 6,000) it's
very
> > hard to tell them all that they suddenly need to use a fully-qualified
name
> > for the printers. We're using LPRng 3.8.4 and IFHP 3.5.2. An example
> > excerpt from our printcap looks like this:
> >
> > myprinter|MyPrinter
> > :[EMAIL PROTECTED]
> > :lf=/var/lpd/log/myprinter.errs
> > :sd=/var/spool/lpd/myprinter
> > :ifhp=model=hp8100,pagecount,sync
> > :filter=/usr/local/libexec/filters/ifhp
> > :af=/var/lpd/log/myprinter.acct
> >
> > Is there something in lpd.conf or elsewhere that we can add to fix this
> > strange behavior? And, while we're on the subject of strange behavior,
> > programs such as lpc seem to be unhappy about something as well. I'm
not
> > sure if this is related to the other problem, but for some reason "lpc
> > reread" just returns with no output and we don't know if it's sent the
HUP
> > to lpd or not... however, if we do "lpc reread all" then it reports that
it
> > sent the SIGHUP. This is just general wackiness and is very strange...
and
> > we've been beating our heads on the wall for 3 days... any help at all
is
> > GREATLY appreciated.
> >
> > Thanks.
> >
> >
> > ---
> > Keith Rinaldo
> > Systems Administrator
> > College of Engineering
> > University of Nevada, Las Vegas
> > Email: [EMAIL PROTECTED]
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
---
> > 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.
-----------------------------------------------------------------------------