Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copyfile API Having to call twice help
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01401706
Message ID:
01401719
Views:
52
Another option: save that long string to a TXT file and then use ShellExecute API to print it. The file will be printed to the default printer.
DECLARE INTEGER ShellExecute IN shell32;
	INTEGER hWindow, STRING lpOperation,;
	STRING lpFile, STRING lpParameters,;
	STRING lpDirectory, INTEGER nShowCmd

= ShellExecute(0, "print", "c:\temp\myfile.txt", "", "", SW_SHOWMAXIMIZED)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform