Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Current printer?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144671
Message ID:
00145750
Views:
39
>>>Hi Fred,
>>>
>>>Upgrade to VFP 6.0?:-) Seriously, 6.0 supports SET('PRINTER', 3) which returns the name of the FoxPro printer.
>>
>>That's GREAT news! I hadn't even gotten around to looking at VFP6, yet, for that kind of information. We have to have a current solution for 5, but it's good to know M$ is finally providing some of those "(m)issing pieces" I refered to. Thanks, George!
>
>Hi Fred,
>
>About the only thing I could suggest under VFP 5.0 would be to save the value used in the SET PRINTER NAME clause when it was called, to a property of the application object. You could even save it to a table or INI file for future reference.
>
>hth,

The only problem is how do I know WHAT to set it to? I don't call SET PRINTER NAME currently, I just use the REPORT FORM xxx TO PRINT PROMPT. If it's changed there (temporarily) I have no idea what it was changed to. The next time (REPORT ... PROMPT) its right back to the windows default. SYS(1037) sets it for the current time the APP is run, but I still have no way to know what, if any, selection was made. Hopefully, we will be changing over to 6 before too much longer. Thanks anyways.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform