Hi Patrick
On Wed, 5 Jul 2000 [EMAIL PROTECTED] wrote:
> Could you tell me what your printcap entry is, and what printer
> you are using?
hplspb|spb|HP 5Si MX, SP12|HP Laser 5si MX SPB, SP12
:ab
:ae=/xxx/accounting/accounting.pl end
:af=accounting.log
:as=/xxx/accounting/accounting.pl start
:bp=/xxx/accounting/psbanner.pl
:fx=flpdv
:generate_banner
:if=/hawktmp/ifhp-3.3.17/src/ifhp -Tpjl@,status@,sync@,pagecount@,ps_eoj_at_start@
:ifhp=model=hp5simx
:lp=spb%9100
:of=/hawktmp/ifhp-3.3.17/src/ifhp -Tstatus,sync@,pagecount,ps_eoj_at_start@
:ps=status
:rp=hplspb
:sd=/var/spool/lpd/%P
:sh@
> I am a little puzzled why this is making a difference.
Okay, my hack/trick is that I want a "bannerline", please note "line" not
"page" (as in bannerpage).
I have written some postscript-code which makes an bannerline on each page
(see attachment: bannerpage.ps)
My "old" printer system, were sending the print job as one ps-file,
generated through our own filter. Now I want to upgrade to ifhp (it is
much cleaner and better than our own filter).
But bannerpage with ifhp, is done in 2 stages ...!
("of" prints the bannerpage, "if" prints the "real" job)
That is 2 seperate print jobs, which means that my postscript code from
the bannerpage.ps does NOT have any effekt on the second job.
What I'm doing is in the above (in my printcap file), is to make sure that
nothing happens between the 2 filters "of" and "if", so that my bannerline
postscript code doesn't get "deleted", but survives in the printer.
> > From [EMAIL PROTECTED] Tue Jul 4 15:15:48 2000
> > Date: Tue, 4 Jul 2000 23:18:36 +0200 (CEST)
> > From: Jesper Dangaard Brouer <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: LPRng: Problem with ifhp with respecting the "ps_eoj_at_start@"
> >
> >
> > Problem with ifhp with respecting the "ps_eoj_at_start@"
> >
> > My problem is that,
> > there are too many CTRL-D,
> > between the postscript-code from the "of" filter and the "if" filter.
> >
> > I used to solve this problem, by specifying "ps_eoj_at_start@" (or as it
> > recently was known "no_ps_eoj").
> >
> > If I don't specify "ps_eoj_at_start@", then 2 CTRL-D exist between the
> > ps-code from "of" filter and the "if" filter If I do specify
> > "ps_eoj_at_start@", then there is only 1 CTRL-D.
> > (info: the easiest way to debug this, is by setting dev=/tmp/d )
> >
> > (versions) I have tried the different version of "ifhp", and the
> > problem/error happens between version 3.3.12 and 3.3.13. (version 3.3.12
> > works and 3.3.13 does not). (I'm running with 3.3.17)
> >
> >
> > The problem, might be that the "of" filter, puts an CTRL-D after sending
> > it's print job. If this is the case, then I would like an
> > "ps_eoj_at_end@" option, like the eksisting "ps_eoj_at_start@" option.
> >
Hilsen
Jesper Brouer
-------------------------------------------------------------------
System Administrator
Dept. of Computer Science, University of Copenhagen
E-mail: [EMAIL PROTECTED], Direct Tel.: 353 21375
-------------------------------------------------------------------
bannerline.ps