Knowledge Base

How To Print to a File from FoxPro (Printer Problems Test)

Article ID: 117142

Article Last Modified on 7/1/2004


APPLIES TO


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