Sergey - do you know if Ed Rauh's code to print the RTF content has any issues when printing on different versions of Windows?
DECLARE INTEGER CreateDC IN WIN32API ;
INTEGER lpszDriver, ;
STRING @ lpszDevice, ;
INTEGER lpszOutput, ;
INTEGER lpInitData
DECLARE INTEGER DeleteDC IN WIN32API INTEGER hDC
nHDC = CreateDC(0,"MyWinPrinterName",0,0)
thisform.RTFControl1.SelPrint(nHDC)
=DeleteDC(nHDC)
>>Hello:
>>I need to print the contents of a richtext control without saving it as a RTF file.
>>I find out the selprint method but their parameters seems to be for a printer object (like in VB). I don`t know how to implement it in VFP.
>>If someone knows about any sample or article I`ll be thankful.
>
>See
How do I invoke the SelPrint method of the Richtx32.OCX control to print RTF content FAQ #15451