Hi, 

I have a report that I want to print on one pageside if the report is only one 
page and in duplex when the report is more than one page.

This report has to print in 3 copies.

Now, when I set the printer in duplex mode (|DUPLEX HORIZONTAL) it prints every 
report in duplex....i.e. even the reports that are 1 page are printed 
recto-verso when the 3 copies are printed.


So, I would have to be able to capture the totalpagecount of the report before 
issueing the print command.

That way I could evaluate the totalpagecount var and issue a 

Print Report

or 

Print Report |DUPLEX HORIZONTAL, 

when the report is more than one page.


Somehow I cannot capture the totalpagecount var...
What could be wrong ?

Luc Delcoigne

Reply via email to