Sorry, but i forgott to mention, you proably want this line as well:
:of=/usr/local/libexec/filters/ofhp
BR /Johan
Johan Claesson wrote:
>
> Robert Fausey wrote:
> >
> > 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
>
> The banner page you get is probably the printer's built in?
> Try the additions below:
>
> >
> > 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
> ^^^^^
> filter? Typo?
>
> > :if=/usr/local/libexec/filters/ifhp
> > :mx=0
> > :ml=0
> :lpd_bounce
> ^^^^^^^^^^^
> Add
>
> Since this queue points to a remote queue,
> you need to add the lpd_bounce to force filtering.
>
> Johan Claesson
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------