Luc,
I am still trying to get a handle on this issue. Handling structures in VFP is just too messy so we are trying to create a DLL in Delphi to do the job. Question: Have you actually used this to control a printer? What other WinAPIs do you have to use? We have this working with Delphi and the Rave report writer but either we are missing something or the VFP report writer overrights what we are trying to do.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!