Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending to Multiple Printer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00725358
Message ID:
00725548
Views:
13
>Client request that when then send a report to print, a particular report in this case, that is get printed to two additional printers at the same time. So I was thinking I could store the printer string from the getprinters() function into a table. Then when they hit the print button, I could send it to each one. First...is this a sensable way to do it, and number two, can the "Report form" command send it to a specific printer, or do I have to issue a set printer to, report form, set printer to, report form and then set it back to what is was before. And how can I get what it was before?

If the 3 printers are compatible, I'd suggest that you print the report to a file, and then use my DIRPRTCLASS to open up the three printers and spool the same file to each of them. DIRPRTCLASS can address as many simultaneous printers as you open DirPrintOutput class instances, so you needn't run the report 3 times or wait to queue it up separately to each of several printers.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform