There are at least three API approaches to screen/form printing or copying to an image file:
1) GDI API
2) Metafile API
3) GDI+ API
The GDI API creates bitmap files only.
The Metafile API produces the shortest code, creates EMF files.
The GDI+ API offers the best functionality. To use it a GDI+ class library is required. VFP9 installation includes a GDI+ Foundation Class. Also there are several alternative GDI+ libraries around.
Several FoxPro code samples on my web site (membership required) show how to copy a form or a window to an image file.
Storing screen shot of a form to bitmap file -- uses GDI API calls to create *.bmp files
http://www.news2news.com/vfp/?example=187Storing screen shot of a form to enhanced metafile -- uses Metafile API calls to create *.emf files
http://www.news2news.com/vfp/?example=402GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF) -- uses GDI+ API calls to create graphics files in several formats
http://www.news2news.com/vfp/?example=454