Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print in landscape format
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00272620
Message ID:
00274177
Vues:
31
David,
I tried ur methos and applied it to my own codes like the following:

set printer to default
set console off
set device to prin
set printer on
keyboard '{tab}'
keyboard 'alt+a' && chooses landcape when the printer dialog box comes up
= sys(1037)

The "Print setup" dialog box appears but even though i selected landscape, my program still prints my report in potrait orientation. Why oh why? I surely hope you can cure my confusion. Thanks a lot. :)

Susan
______________________________________________________________
>I use the following code to choose landscape for my reports
>
>KEYBOARD '{TAB}'
>KEYBOARD 'ALT+a' && CHOOSES LANDSCAPE WHEN THE PRINTER DIALOG BOX COMES UP
>=SYS(1037)
>REPORT FORM Report NOEJECT NOCONSOLE TO PRINTER
>
>for the portrait reports I use 'ALT+o' instead of 'ALT+a'
>
>It does ring a 'bell' on the printer selection form, and the 'Cancel' on the form can't be captured, but it's simple enough for me.
>
>David O'Brien
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform