Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WinAPI printing and Terminal Server Easy Print
Message
From
20/04/2011 09:41:08
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
WinAPI printing and Terminal Server Easy Print
Miscellaneous
Thread ID:
01507903
Message ID:
01507903
Views:
150
We have a program that prints the current form using Windows API functions similar to http://support.microsoft.com/kb/255744. This program doesn't work when using Remote Desktop/Terminal Server Easy Print. As far as I can tell, the API calls are returning valid values, no errors, but nothing prints out on the RDP client. VFP reports, on the other hand, print just fine. This is true for REPORTBEHAVIOR 90 and 80 and going back to VFP 7. I wonder what VFP is doing internally that is different than grabbing a device context and using StartDoc(), StartPage(), etc. to print. Any ideas? Are there newer APIs I should be using?

Thanks.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Reply
Map
View

Click here to load this message in the networking platform