>>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,
George
Ubi caritas et amor, deus ibi est