Folks,
Does anyone know of a way I can print a blank page or do a page eject when the end of a report group is reached and it is an odd page? I have tried adding
to the group footer on exit expression to no avail.
I have done something like
This is cumbersome because we are duplexing the report and I get prompted for the printer settings everytime. Then the the blank page is not printed on the reverse side of the reports last page, a new page is printed. Which works out, but wastes paper.
I have tried wrapping the above with
PRINTJOB ... ENDPRINTJOB
Prompting for the first report and then doing the for loop, but since I am using some printer quick sets on the printers, this does not seem to hold the duplex and output settings.
It appears VFP8 and 9 can handle this better, but for now... thanks in advance.
Greg Grewe
West Chester, Ohio
Does anyone know of a way I can print a blank page or do a page eject when the end of a report group is reached and it is an odd page? I have tried adding
Code:
IIF(MOD(_pageno,2)<>0, EJECT PAGE, "")
I have done something like
Code:
FOR i = 1 TO 10
REPORT FORM XXX FOR DISTRICT = i TO PRINTER PROMPT
IF MOD(_PAGENO,2)<>0
REPORT FORM BLANK_PAGE TO PRINTER
ENDIF
ENDSCAN
I have tried wrapping the above with
PRINTJOB ... ENDPRINTJOB
Prompting for the first report and then doing the for loop, but since I am using some printer quick sets on the printers, this does not seem to hold the duplex and output settings.
It appears VFP8 and 9 can handle this better, but for now... thanks in advance.
Greg Grewe
West Chester, Ohio