Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_prntscrn() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_PRNTSCRN()

 DESCRIPTION

 The C_PRNTSCRN() function prints the text screen to the standard
 printer device.  An optional page eject can be sent after the print screen.

 SYNTAX

 C_PRNTSCRN([eject])

 PARAMETERS

 eject (L) indicates whether a page eject should be sent after the
 screen is sent to the printer.  Specify true (.T.) if a page eject
 should be sent after printing the screen, or false (.F.) for no
 page eject.  If eject is not specified, no page eject will be sent.

 RETURNS

 There is no return value.

 EXAMPLES

 && Set key Alt+P to SCRNPRNT() function

 set key c_alt("P") to scrnprnt
 ...
 ...
 ...
 *--------------------*
 FUNCTION scrnprnt        && When user presses Alt+P screen is
 c_prntscrn(.t.)          && printed and an automatic page eject
 return 0                 && is sent to the printer.


See Also: C_ISPRINT() C_LPTSTAT() C_COMSTAT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson