Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer settings at run-time
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00189772
Message ID:
00190446
Views:
14
>Regarding the KB article you referenced. I took a look at it and the 1st argument it needs is:
>
>hPrinter
>The first parameter is a handle to the printer whose settings are to be changed. This should be retrieved from OpenPrinter().
>
>Won't I need the printer handle that foxpro has internally? Otherwise, I think, I'm just creating a new handle that changes the settings for that printer handle but not the one foxpro is going to use for the set device to print.
>
>If that is the case, is there any way to get at the foxpro printer handle??
>
>
>tia
>
Hi scott,

There isn't a handle that Foxpro uses internally for it. It uses OpenPrinter just like any other application when it needs it, and closes it afterward. Any code that you would implement should do the same.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform