Microsoft KB Archive/98366

= Using Print Commands in FoxBASE+/Mac =

PSS ID Number: 98366

Article Last Modified on 2/19/2002

-

The information in this article applies to:


 * Microsoft FoxBASE+ for Macintosh 2.01

-



This article was previously published under Q98366



SUMMARY
The printing commands ? and @ SAY use different command sets. There are a variety of command combinations that affect output to the printer, screen, and text files, and there are several options that can affect formatting.



To Use ?
SET PRINT ON  ? &quot;Print String&quot; SET PRINT OFF SET PRINT TO

To Use @ ... SAY
SET DEVICE TO PRINT @ 1,1 SAY &quot;Print String&quot; SET DEVICE TO SCREEN SET PRINT TO

To Use Both
SET PRINT ON  SET DEVICE TO PRINT ? &quot;This is a ?&quot; @ 2,1 SAY &quot;@ SAY&quot; SET DEVICE TO SCREEN SET PRINT OFF SET PRINT TO

To Use ?
SET ALTERNATE TO &quot;filename&quot; SET ALTERNATE ON  ? &quot;Text String&quot; SET ALTERNATE OFF SET ALTERNATE TO

To Use @ ... SAY
SET PRINTER TO &quot;filename&quot; SET DEVICE TO PRINT @ 1,1 SAY &quot;Text String&quot; SET DEVICE TO SCREEN SET PRINTER TO