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:
00190534
Views:
12
>>>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.
>
>
>but.but.but i'm trying to change the behavior of set device to print because i have these stupid legacy reports that print forms.

OIC. FoxPro *may* be reading from the registry then, but it probably doesn't care. It just directs the output to the device, without formatting, etc. Whatever the default settings are (established in the devmode structure) would probably be used by Windows for the output. Don't forget, Fox just hands the print job off to Windows, basically.

>if foxpro uses open printer how can i change the orientation to landscape of that handle after it's created? or maybe trick it to create what i want??

If I'm right in the above, then setting the orientation in the registry, might be used by Windows when it gets the info from VFP. Don't forget to put things back the way you found them afterwards.
George

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

Click here to load this message in the networking platform