Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code to Print a VFP Form
Message
From
05/02/2019 08:45:49
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01665906
Message ID:
01665922
Views:
66
>>>>Would anyone know how to print a portion or all of a screen image directly to a printer from a complied VFP application? I suspect it can be done by a Windows API call but don't know what that would be. If there is an API call for this, example code would help.
>>>>
>>>>Also, I'm assuming this isn't something that can be done with native VFP coding. Please confirm or provide code for that.
>>>>
>>>>TIA,
>>>>
>>>>Dave L.
>>>
>>>You can find API code for this here : https://github.com/VFPX/Win32API
>>
>>Unfortunately this sample is not complete, Anatoliy will hopefully "fill in the gaps" soon. Anyway, here's the link to the sample in question: https://github.com/VFPX/Win32API/blob/master/samples/sample_158.md
>
>Tore
>This sample works for me as is.

Good to know. I haven't had the time to test all 576 samples. However when I saw the reference to the FLL, I assumed that it was a necessary piece. :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform