>>>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.