Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a blank page after A4 page report
Message
From
24/12/2019 13:00:23
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01672442
Message ID:
01672448
Views:
55
>Hi,
>
>I have a report - one-page work order. The code of the program changes the size of the paper from 8.5" x 11" to A4. What happens when I do that, the page prints ok. But then immediately afterwards, a blank page is printed.
>I understand that A4 is a little narrower and a little longer page.
>Where in the report designed should I look to do away with the second, blank page?
>
>TIA

Do you see the blank page in the report preview?

How are you changing the paper size on the report? Are you modifying the report form, or are you doing that by selecting a printer and specific print tray? If you're modifying the report form, are you simply changing the page size information in the header, or are you also filtering through all the records within the report form to resize the elements (to make sure they fit on the page)? If the latter, are you making sure you're setting the elements to the proper size (IIRC, somewhere in the first few records of the report form there's a tag that specifies the units of measurement, and if you're not sizing the elements using the right size, the formatting could go wonky on you)? If you haven't already, you might want to open the converted form in the Report Designer to make sure it looks OK.

If the preview seems OK at the FoxPro level (i.e. the print preview doesn't show the extra blank page), then perhaps you might want to check options for queueing the print job -- there might be an option to eject page at the end (typically done to support "legacy" applications which output as a stream of text rather than rendering pager-by-page).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform