>>Yeah, there's an API function to do it (SetPrinter() with a PRINTER_INFO_2 structure), but I'd say it'd be easier to write a DLL to do it rather than trying in VFP.
>
>I agree that if one is familiar with writing DLLs, you're probably right.
>
>>The problem is that the structure contains a pointer to a DEVMODE structure, as well as several strings. Given VFP's memory management, it might not be possible to do it in pure VFP code.
>
>However, Christof's and my Struct component can handle this just fine (admittedly with some help from a small FLL).
Hi Mark,
I'd be interested in looking at. So...it begs the usual series of questions regarding availability and where.
George
Ubi caritas et amor, deus ibi est