Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>I want to display the Page Setup before I print a report.
>
>I added the bar "_mfi_pgset" in my menu.
>But the problem is when I want to call the "Page Setup" from a modal form. I can't do that !
>
>Did somebody no How I can do that ?
>
>I want to be able to print "recto-verso" in a sheet or print multiple copies, ...
>
>Thanks in advance !!
>
>Stef :)
You could use the PROMPT clause of the REPORT command. This way the page setup dialog will automatically appear before printing. Check out help on "REPORT".
When you start a modal form, you can't activate any menu options any more (I think). A solution that worked in previous versions of foxpro : create the menu AFTER you start the modal form (e.g. in the Init()-event of the form), and release it again in the Release()-event of the form.
You can select recto-verso printing in the page setup dialog box if your printer supports that. I don't know if it is possible to do this manually, by printing the odd page numbers first, re-inserting the paper and then printing the even pages.
Hope this helps...
Marc.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement