How To Print to a File from FoxPro (Printer Problems Test)
Article ID: 117142
Article Last Modified on 7/1/2004
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 6.0 Professional Edition
- Microsoft FoxPro 2.0
- Microsoft FoxPro 2.6a Professional Edition for Macintosh
- Microsoft FoxPro 2.6 for SCO/UNIX
This article was previously published under Q117142
SUMMARY
When you are having printing problems, you should try to print from the
operating system, where applicable, as well as from other applications in
order to determine where the problem lies. To determine whether printing
from the operating system works, you can use a simple test such as the
following, which shows how to print to a file from FoxPro. To run this
test, issue the following commands in the Command window:
SET EXCLUSIVE OFF
SET PRINTER TO junk.txt
SET PRINTER ON
LIST STATUS TO PRINTER NOCONSOLE
SET PRINTER OFF
SET PRINTER TO
MODIFY FILE junk.txt
REFERENCES
FoxPro "Language Reference"
Keywords: kbhowto kbprint KB117142