Topic Options
#18069 - 08/23/04 09:55 AM &eojob variable not set
stuartg Offline
OL Expert

Registered: 03/06/03
Posts: 713
Loc: Swindon, England
Hi
I wish to print a PP4 form with a trailer page.
I have set a condition on the page so that it prints only when &eojob is true.
If my input data ends with a formfeed, then the &eojob variable is not set, and the trailer page will not print. I am using a standard line-printer emulation.
If I take the same data and remove the final formfeed character, then I get the expected result.
I am using PP4.0.43.1512, and I have a sample form if you need it.
thanks
stuart

Top
#18070 - 08/23/04 04:42 PM Re: &eojob variable not set
SeynabouD Offline
Member

Registered: 06/30/04
Posts: 99
Loc: Montreal
Hi
The problem is that when you have a Form Feed on your last data page your eojob variable becomes true on the page that comes after your last data page. But since there is no data on that page the trailer won't print. In document options > Conversion options> Uncheck "Skip blank data pages" so that your trailer page prints even though the data page corresponding to the &eojob = true condition is empty. It should work out.

Regards
Team OL

Top
#18071 - 08/24/04 11:00 AM Re: &eojob variable not set
stuartg Offline
OL Expert

Registered: 03/06/03
Posts: 713
Loc: Swindon, England
That works fine
thanks
stuart

Top