Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a blank page after A4 page report
Message
 
 
À
24/12/2019 13:00:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01672442
Message ID:
01672449
Vues:
50
Hi,

The preview shows the blank page too. I change the report to A4 form in code. I create a temp copy of the report and set the papersize to 9. And the extra page is in both when running from IDE or from the EXE.

I see that the problem is with the Summary band. Even though all fields in the Summary should not be printed (they are empty and the property is set to Remove When Blank), an extra page is printed.
I will have to remove the Summary band for this report.
Thank you.

>>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).
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform