I. EQUEL/FORMS Examples : Printscreen
 
Share this page                  
Printscreen
Prints or stores (in a file) a copy of the current form and its data.
Examples--printscreen statement:
Example 1:
This example sends a copy of the form to the printer:
## printscreen (file = "printer")
Example 2:
This example stores a copy of the current form in the file designated by the filevar program variable, which is prompted for:
## prompt ("specify default file for screens: ",
##          filevar)
   if (filevar = "") then
     filevar = "printer"
   end if
## printscreen (file = filevar)