Somebody can help me to use the StartDoc API cal ?
I success using the OpenPrinter and ClosePrinter calls, but I don't find how to use StartDoc. Can you give me a code sample for an api call with a pointer to a structure as parameter ??
!!!! How to declare the structure and fill it in VFP ? !!!!
In this case it is a DOCINFO structure
int StartDoc(
HDC hdc, // handle to device context
CONST DOCINFO *lpdi // address of structure with file names
);
Merci beaucoup !
I success using the OpenPrinter and ClosePrinter calls, but I don't find how to use StartDoc. Can you give me a code sample for an api call with a pointer to a structure as parameter ??
!!!! How to declare the structure and fill it in VFP ? !!!!
In this case it is a DOCINFO structure
int StartDoc(
HDC hdc, // handle to device context
CONST DOCINFO *lpdi // address of structure with file names
);
Merci beaucoup !