>I am converting programs developed in FOX 2.5 DOS. In the past for a print preview, I 'SET PRINTER TO preview.txt' and would print the report to the text file 'preview.txt'. I would then use MODI COMM preview.txt NOEDIT to view the report. This method works fine for a text file, but in the process I am trying to add FONT and color to the reports. Is there a way to still use the print (?) command and/or @ SAY command and SET PRINTER TO and be able to preview the file.
>
Not with the result of creating generic ASCII output, since ASCII text doesn't contain this information. In general, using a common printer definition output language such as RTF, PostScript or Adobe PDF documents will allow you to create output that can be printed (either through direct use of a PostScript printer with PostScript, or through the use of a document server application such as Word or Wordpad in the case of RTF (much of the functionality is available for RTF via various ActiveX controls; the RichTextFormat ActiveX contains both display and print methods) or Adobe's Acrobat product in the case of PDF output.)
If you elect to use Word or Wordpad to display and print your output, and are working with reports, I'd suggest looking at John Koziol's FRX2WORD class, which creates Word document output from a VFP FRX type report.