>>
>>set printer to name "WinFax"
>>REPORT FORM xyz TO FILE "MyFile.TIF"
>>
>>
>>Now, you have just created a file named Myfile in TIF format. This format is viewed by default in Win98 by Kodak Imaging Preview, and can be printed. Also, it is very compact for documents ( i.e. not images ): they weigh something like 40 to 50k / page.
>>
>
>Thanks Jaime -and Dragan. That sorts it. :)
>
>Anyone have any tips on how now to print a picture-file from within VFP? (or even to call another program which will automatically print it 'full-page' size?)
Put a FoxHWnd control on the report, and have your pictures in a general field. The file will be huge, because general fields (quite unnecessarily) contain a .bmp version of the content, so better keep them in a cursor. Point your FoxHwnd control to the general field in your cursor and that's it. Sorry, can't give you the code because it's proprietary, and, besides, we're not using FoxHwnd - it's LeadTools actually, but I did try FoxHwnd at a time and it should be different only in the Append General ... Class {name} - it should have a different name.