>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).
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only