Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What printer name is selected with PROMPT?
Message
From
05/11/2007 19:25:17
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01266706
Message ID:
01266880
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.
>>
>>I am afraid you would have to change your approach a bit, since there is no way to get this info, AFAIK.
>
>I am not ready to change the approach right now (I don't want something else to break in the process). So the customers will have to live with this anomaly.

Could you change your process slightly with GETPRINTER() and then omitting the PROMPT clause from REPORT FORM????
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform