>>>Steve Ruhl uploaded a routine here that does it.
>>
>>Look for ScrnPrnt.Zip in the Win32Api and Other API's section
>
>Do you have any routine for printing grids ??
My class will print the active form or the entire VFP desktop (_SCREEN). I don't have anything that will just print a grid. DibApi32 requires a window handle (HWnd) and VFP does not implement controls as Windows like other products. Since VFP implements controls itself, you can't get the HWnd of a control.