Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code to Print a VFP Form
Message
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:
01665910
Views:
70
>>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.
>
>Snagit works great to print portions of the screen. Not sure if there is an API to do anything programmatically, though.

Thanks Steve. But I was hoping for a automated way of capturing a portion of a form image (or the entire form if need be) and send that image out to a prompted printer. Snagit appears to be a screen capturing software, and that would mean it would need to be run from within my program and the user would need to grab the form and sent that to a printer. Not the seamless solution I was desiring. So unless there's a way to automate Snagit for this function, it won't fit the bill.

Dave
Dave
Previous
Reply
Map
View

Click here to load this message in the networking platform