Hi Patrick,

Thanks for replying.  Unfortunately, I couldn't get  both banner page
and the job stappled together.  In fact the jobs now never get
stapled.  Did we miss something?

Any other hacks?

I've tried this with lprng-3.6.24 and ifhp-3.3.21 

Thanks,


(            John Saroglou        E-Mail: [EMAIL PROTECTED]            )
(         CNS - Unix Support      Voice:  (416)736-5257             )
( --  A journey to thousand miles always starts with first step  -- )


[EMAIL PROTECTED] writes:
  > > From [EMAIL PROTECTED] Thu Aug 10 15:54:38 2000
  > > Hi all,
  > >
  > > We're trying to enable stapling on hp8100 and we're running into the
  > > following problem:
  > >
  > > Our current print queue defintion is as follows:
  > >
  > > ------------ printcap entry
  > > test
  > >         :sd=/var/spool/lprng/queues/test
  > >         :pl#60:mx#0
  > >         :af=acct:lf=log:ps=status
  > >         :bp=/usr/local/lib/filters/psbanner
  > >         :ab
  > >         :rw:lp=some_host%9100
  > >         :if=/usr/local/lib/filters/ifhp -Tquiet=on,debug=0,accounting=,status=off
  > >         :of=/usr/local/lib/filters/ifhp 
-Tbanner=off,quiet=on,debug=0,accounting=,status=off
  > >
  > > We've enabled the stapling feature from the front panel on the actual
  > > printer and it seems to staple except the banner page.  So what we get
  > > is banner page first and then the actual job being stapled.
  > >
  > > I think this is due to banner page not being part of the actual print
  > > job since it gets processed separately.
  > >
  > > How can one get both banner and the actual print job stapled together?
  > >
  > > One way I was thinking of, is to prepend the contents of the banner
  > > page with some specific PCL code that enables stapling.
  > > However, I'm not so sure on how to make banner page be part of the
  > > print job if at all possible.
  > >
  > > (running lprng-3.5.1).
  > >
  > > Any suggestions/pointers/ideas?
  > >
  > >
  > > Thanks in advance.
  > >
  > >
  > > -- John
  > 
  > Well, I worked on this a bit.  The problem here is that it appears
  > that this model of printer does not support nested jobs.  So you
  > will have to do HORRIBLE things with the ifhp filter to get this.
  > 
  > a) Update to the latest version of LPRng.
  > b) get the latest beta version of ifhp:
  >     ftp://ftp.astart.com/pub/LPRng/private/ifhp-3.3.21betaXXX.tgz
  > 
  >   The printcap entry will look like:
  > 
  >  test
  >          :sd=/var/spool/lprng/queues/%P
  >          :pl#60:mx#0
  >          :af=acct:lf=log:ps=status
  >          :bp=/usr/local/lib/filters/psbanner
  >          :ab
  >          :rw:lp=some_host%9100
  >          :ifhp=model=hp8100,pjl_job@,of_options=pjl_job
  >          :filter=/usr/local/lib/filters/ifhp -Tmodel=hp8100,pjl_job@
  >          :of=/usr/local/lib/filters/ifhp -Tmodel=hp8100
  > 
  > The pjl_job@ says not to use the PJL JOB/EOJ facility.  This will now
  > set up a single job.
  > 
  > Good luck.
  > 
  > Patrick Powell
  > 
  > -----------------------------------------------------------------------------
  > 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.
  > -----------------------------------------------------------------------------

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