Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically change paper orientation
Message
De
25/10/2002 08:23:23
 
 
À
25/10/2002 08:16:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00715291
Message ID:
00715352
Vues:
10
>Thanks Ed, but it didn't work. As you probably know by now I'm using Windows APIs to print snapshots of any form on screen, but I really need to force the default printer to print in landscape. I thought I could programatically change the paper orientation before executing the printing routine.I know it can be done using a DEVMODE structure but I don't have a lot of experience with windows APIs and I can't find good samples of using Windows APIs in Visual Foxpro.

Have you tried George Tasker's OBJ2BMP from the Downloads section? It creates BMPs from screens, and it would be simple enough to embed the BMP in a VFP Report in landscape mode.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform