Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What printer name is selected with PROMPT?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01266706
Message ID:
01266920
Views:
13
>>>Is it possible to find out what printer name is selected when REPORT FORM ... with PROMPT is used?
>>
>>I have to ask WHY you want to know which printer a report was printed to? What do you plan to do with the information after you get it?
>
>I have a routine which prints a report and following this report another routine sends a Word or Excel document to the printer (using Office automation). Right now, the Word or Excel document always go to the default printer. I want to direct them to the same printer where user selected to print VFP report.

The best solution for this situation is to prompt the user for the printer before printing the report. Then change the default printer to that printer, print the report, and print your Word or Excel documents.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform