Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chaining several reports -- double sided
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00232625
Message ID:
00232703
Views:
19
>I need to chain about 30 different reports, back to back. They need to print as if they were really one report. I can fudge the page numbers using a memory variable and messing around with _PAGENO. But I have two problems ...
>
>The first one is that I would like to be able to "PROMPT" the user for the printer and let them enter number of copies, tray selections, etc. But I don't want to prompt them for each of the 30 reports. Right now, it doesn't prompt at all and just goes to the default printer.
>
>The second problem is that they want to print the reports double sided. So if the first report is 3 pages, and the second report is 3 pages, they get pages 1&2 on the same paper, page 3 on it's own, then the first two pages of the second report on the same paper and then the third page of the second report. Is there any way to get each report to start printing on the back of the previous report and avoid these blank back sides between reports.

I think Evan is correct on the files section as far as part 1 of your question.

Part 2 you can:

Add a field to your report form with the following expression:
IIF(MOD(_pageno,2)=1,chr(12),"")
Put this as the last item in the last group footer.

Works great for us, except if you are sending the report to a Kodak Printer emulating a HP4. That driver eats CHR(12) for lunch. The only other problem is if the printer jams then it can get confused.

HTH
Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform