SET DEVICE Command
| Visual FoxPro 9.0 SP2 |
| SET DEVICE Command |
| See Also |
|
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
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08