Difference between revisions of "PRINTSCREEN()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Printing
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to print the currently displayed screen
 
Function to print the currently displayed screen
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[SET PRINTER]], [[SYS()]], [[PRINTSTATUS()]], [[ISPRINTER()]], [[SET KEY...TO]]
+
[[SET PRINTER]], [[SYS()]], [[PRINTSTATUS()]], [[ISPRINTER()]], [[SET KEY]]
  
  
 
==Description==
 
==Description==
The PRINTSCREEN() function prints a hard copy of the currently displayed screen.  Intended for use within full screen forms, the PRINTSCREEN() function is most commonly used with hot keys.  The SET PRINTER TO command may be used to direct printer output to a printer attached to a serial communications line, or to cause the printer output to be spooled to the system printer.  The PRINTSCREEN() function always returns .T..
+
The PRINTSCREEN() function prints a hard copy of the currently displayed screen.  Intended for use within full screen forms, the PRINTSCREEN() function is most commonly used with hot keys.  The SET PRINTER TO command may be used to direct printer output to a file, or to cause the printer output to be spooled to the system printer.  The PRINTSCREEN() function always returns .T..
  
  
Line 32: Line 28:
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 15:39, 19 December 2014

Purpose

Function to print the currently displayed screen


Syntax

PRINTSCREEN()


See Also

SET PRINTER, SYS(), PRINTSTATUS(), ISPRINTER(), SET KEY


Description

The PRINTSCREEN() function prints a hard copy of the currently displayed screen. Intended for use within full screen forms, the PRINTSCREEN() function is most commonly used with hot keys. The SET PRINTER TO command may be used to direct printer output to a file, or to cause the printer output to be spooled to the system printer. The PRINTSCREEN() function always returns .T..


Example

procedure print_scr
set printer to spooler
printscreen()
set printer to
return
 
set key 7 to print_scr


Products

Recital