hi,
jobs don't get filtered with the rm / rp entries in the printcap. This
is for remote printers or hosts which receive jobs without filtering.
You can force LPRng to filter the job anyway by adding the :lpd_bounce
flag. Another solution would be to drop the rm / rp stuff and use the
application socket for job-transfer with a printcap entry like :
> psnt2_direct
> :lp=<printer>%<port> (for ex :lp=psnt2%9100)
> :ab
> :sd=/var/spool/lpd/%P
> :bp=/usr/local/libexec/filters/psbanner
> :ifhp=model=ps,status@
> :filer=/usr/local/libexec/filters/ifhp
> :if=/usr/local/libexec/filters/ifhp
> :mx=0
> :ml=0
> :
Regards Christoph
Robert Fausey schrieb:
>
> I am trying to generate a banner page using the following printcap
> entry and all I receive is a four line text banner page. psbanner
> generates a banner page if it is run as stand alone program. I have
> also found out that ifhp does no type of filtering, text pages are
> stair stepping
>
> psnt2_direct
> :rm=psnt2
> :rp=raw
> :ab
> :sd=/var/spool/lpd/%P
> :bp=/usr/local/libexec/filters/psbanner
> :ifhp=model=ps,status@
> :filer=/usr/local/libexec/filters/ifhp
> :if=/usr/local/libexec/filters/ifhp
> :mx=0
> :ml=0
> :
>
> Rob Fausey.
>
> A communication disruption can mean only one thing ... invasion
>
> -----------------------------------------------------------------------------
> 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.
-----------------------------------------------------------------------------