Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to stuff a page break in a string
Message
 
 
To
27/07/2000 09:10:19
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00397368
Message ID:
00397569
Views:
9
Hi Isaac,

AFAIK, you can insert only one SUMMARY band in Report, right?

I have the similar problem still unresolved. I have a quite complicated report written in VFP Report Writter. This report is printed on both sides of paper. This report is grouped by 1)county, 2)town. Each Group starts on the new page.
Now our customer made a request: if group ends on the odd page, they want to have additional blank page inserted, e.g the new town should be separated from the previous. We produce this report as PDF, so we have to find a solution to insert blank pages. Apparently there is no simple solution for this. I tried bunch of ideas already and nothing works.

I think, I have to use John's Frx2Word utility and then use OLE Automation to insert blank pages. Very hard road :(...

>>>I'm thinking since I gotta get this done tonight, to break it up into two strings and use the report summary for the second string with its built in page break.
>>
>>Sounds like a good solution. Nothing like a little deadline to help one think of creative alternatives, right? Ed's reply is (as always) right on, too: you can send whatever control characters you want to when sending output directly to the printer. You can even send PCL control sequences this way, to control such things as page orientation, font, margins, etc. so just because you elect to go directly to the printer doesn't mean you're stuck with plain ASCII text.
>
>Fortunately the plan was to limit these reports to two pages and using spliting into two strings and using the report footer worked out ok. If I could've had another day I'd spend it creating a word automation routine, but at least we got this working when needed.
>
>-Isaac
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform