Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Landscape Mode without using the Page Setup Dial
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00155046
Message ID:
00155765
Views:
32
>Yeah, there's an API function to do it (SetPrinter() with a PRINTER_INFO_2 structure), but I'd say it'd be easier to write a DLL to do it rather than trying in VFP.

I agree that if one is familiar with writing DLLs, you're probably right.

>The problem is that the structure contains a pointer to a DEVMODE structure, as well as several strings. Given VFP's memory management, it might not be possible to do it in pure VFP code.

However, Christof's and my Struct component can handle this just fine (admittedly with some help from a small FLL).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform