Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining current papersize and orientation
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00255178
Message ID:
00256061
Views:
22
Hi Vidar,

>Does this class work also for NT?

Yep. But some API calls are different on Windows 9x, WinNT and Windows 2000. Additionally, on WinNT you have most API functions in ANSI and Unicode versions. The samples use all the ANSI versions and never pass a security descriptor. It might be necessary to do this on NT.

>How can I use this class to return FONTMETRICS (font attributes) for the installed printer fonts?

There are several functions to get those information, for example GetTextMetric(). You need a device context for the printer for this function. The PrtDemo.Prg sample demonstrates how to get the device context.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform