Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_prtscrn()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_PRTSCRN()


Syntax:        L_PRTSCRN()


Purpose:       To perform a ROM BIOS Print Screen interrupt.


Arguments:     None.


Returns:       Nothing.


Usage:         Whenever a copy of the screen is needed issue this
               function call.

               This works in the same way as using Shift+PrtScrn as
               specified in the DOS manual.  Please refer to the DOS
               manual for any instructions specific to the use of the
               Shift+PrtScrn facility or any circumstances relating to
               the use of this facility.

               Most importantly, a printer must be attached,
               operational and on-line before calling this function.


Examples:      * Perform a text screen dump to a printer
               @ 10,10 SAY "Ensure printer is attached and on-line"
               @ 11,10 SAY "Press <SPACE> to continue..."
               key = 0
               DO WHILE key <> 32
                  key = inkey(0)
               ENDDO

               * Do it!
               L_PRTSCRN()


Language:      Assembler

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