Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF Printing
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01292505
Message ID:
01292650
Views:
20
>Since you aren't generating them, just want to print them, can't you just do a SHELL EXECUTE (via the Windows API) to call the printing of the file, but you'll probably have to lookup another API for actually changing the active printer for the output command... You can get a list of installed printers from VFP via APrinters(), then loop through...
>
>for X = 1 to length of the printers list
> Windows API Call to set to the given printer
>
> Call ShellExecute API to print the document
>end loop of printers
>
>Not having done this myself, its the direction I would go to...
>

I would say this should be done in multi-thread fashion instead, otherwise with your suggestion you would be waiting for each printer to complete printing.

There was a discussion on MSDN couple of months ago with Claude Fox participating.

May be you can find it out for details.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform