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_softscr() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_SOFTSCR()


Description

N_SOFTSCR() reads the screen buffer and outputs it to the printer. 
N_SOFTSCR() has the same result as N_PRTSC() but may work in situations 
where N_PRTSC()  - INT 05h - is not supported. N_SOFTSCR() uses a 
software emulation routine to print the screen and therefore will take 
slightly longer than N_PRTSC(). 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_SOFTSCR()



See Also: N_CAPDFLT() N_CAPSET() N_PRTSC()

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