I have noticed this problem also.  I have an older version of LPRng (3.6.2) that I am 
currently using and am
currently trying to upgrade to 3.7.4.  The problem occurs on 3.7.4 and not on 3.6.2.  
Interestingly enough, if you
edit the printcap file while lpd is running, replaceing the lpd_bounce line with the 
older-style
bq=destination.queue and lp with lp=this.queue; everything will then work just fine 
until you restart lpd (which
then gives you a message about the printer referencing itself when ;you try to print). 
 Perhaps the printcap
parsing on startup is faulty??

Here's the printcap entries that work for me on 3.6.2 and not on 3.7.4:

lp
        :check_for_nonprintable false
        :cm=Canon BJC-610 Bounce Queue
        :df=/usr/local/lib/lp-filters/magicfilter/bjc610-filter
        :if=/usr/local/lib/lp-filters/magicfilter/bjc610-filter
        :lpd_bounce
        :[EMAIL PROTECTED]
        :lf=/var/spool/lpd/lp/error
        :ml#0
        :mx#0
        :sd=/var/spool/lpd/lp
        :sh:

sambaprint
        :check_for_nonprintable false
        :cm=Canon BJC-610 Share
       :df=/usr/local/lib/lp-filters/smbprint
        :if=/usr/local/lib/lp-filters/smbprint
        :lp=/dev/null
        :lf=/var/spool/lpd/sambaprint/smbprint.log
        :ml#0
        :mx#0
        :sd=/var/spool/lpd/sambaprint
        :send_failure_action=hold
        :sh:



Brad Hartin wrote:

> I'm obviously missing *something* here, so hopefully someone here can
> point out what it is.
>
> When a client machine printing to 9101, the print is filtered
> appropriately.  If I'm directly on the print server itself, and I print to
> 9101, it is sent to ky1 unfiltered.
>
> Relevant printcap entries:
>
> .common:sd=/var/spool/lpd/%P
> .kyocera:lpd_bounce:if=/usr/kyocera/kyocera.fpi:tc=.common
> 9101:lp=ky1@localhost:tc=.kyocera
> ky1:lp=ky1%9100:tc=.common
>
> <snip>
> ---------------------------------
> Brad Hartin - [EMAIL PROTECTED]
> Straus-Frank Enterprises Limited
>
> -------------------------


-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to