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


Description

N_PRTSC() executes a BIOS Interrupt 5, which has the same effect as 
pressing the Shift + PrtSc keys.

The IBM PC Network, 3 +, and possibly some other networks running 
NetBIOS emulation do not support INT5. In addition, server-based 
workstations on a non-dedicated Novell system also have problems with 
it. In these cases, you can use the N_SOFTSCR() function, which prints 
the screen using software emulation.

To make sure that the print job is routed to the network printer, first 
set a default capture device with N_CAPDFLT() and specify a print queue 
with N_CAPSET().


Example

#include 'CAPTURE.CH'
// Set default capture device
N_CAPDFLT('LPT1')
// Set attributes for the device
N_CAPSET(0, CAP_QUEUE, 'PRINT_O', ;
            CAP_SERVER, 'FS1',    ;
            CAP_COPIES, 1,        ;
            CAP_NOFF, .T.         )
.
.
.
// Send screen to a network printer
N_PRTSC()



See Also: N_CAPDFLT() N_CAPSET() N_SOFTSCR()

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