Sergey,
Thanks for the tip. Christof's library would seem to have what I need, if I can figure it out.
Gary
>>Hi,
>>I'm trying to parse the string I get back from DocumentProperties. I assumed I could just subst() it and get the information I want about the printer. I'm not doing a good job of this. Does anyone have a VFP example of parsing this string? Thanks.
>>
>Hi Gary,
>
>You can use
API-Structures in VFP File #
9557 by Christof Lange which has devmode structure already defined.
>lnDmBuff = loPrtInfo.pDevmode
>oDm = NEWOBJECT("Devmode", "Winstruct")
>oDm.Setpointer(lnDmBuff)
>? oDm.dmcopies
>