Directs output from @В ...В SAY to the screen, a printer, or a file.
SET DEVICE TO SCREEN | TO PRINTER [PROMPT] | TO FILE FileName |
Parameters
- TO SCREEN
- Directs @В ...В SAY output to the main Visual FoxPro window or to the active user-defined window.
- TO PRINTER [PROMPT]
- Directs @В ...В SAY output to the printer. A page eject is issued when the coordinates in @В ...В SAY specify a location on the page higher than the location specified by the coordinates in the previous @В ...В SAY. You can include the optional PROMPT clause to display a dialog box before printing starts. In this dialog box, the user can adjust printer settings, including the number of copies to print and page numbers. The currently installed printer driver determines which printer settings the user can adjust. Place PROMPT immediately after TO PRINTER.
- TO FILE FileName
- Specifies a file to which @В ...В SAY sends output.
Remarks
@В ...В SAY output can be sent to the main Visual FoxPro window, the active user-defined window, the printer, or a file.