Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetcapcan()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETCAPCAN()
 Deactivates the capture mode and aborts the print job
------------------------------------------------------------------------------
 Syntax

     NNETCAPCAN(<nPrinter>) --> lAbort

     Netware: 2.2 and 3.11

 Argument

     <nPrinter>  Designates the LPT device for which the network print
     output is aborted.  LPT1(1) to LPT3(3) are possible.

 Returns

     NNETCAPCAN() returns .T. when an existing network print output has been
     aborted.

 Description

     NOVELL NETWORK CAPTURE CANCEL
     Using NNETCAPCAN(), you can deactivate an existing capture mode and
     abort the print job in progress.  Only output not yet "in service" is
     aborted.  If the capture mode is not active, the function returns .F..

 Note

     .  If a timeout is selected using NNETCAPSSF(), it is possible
        that the print job in progress is already "in service".

 Example

     Activate the capture mode for LPT3.  Then either abort or pause the
     print job:

     SET PRINTER TO LPT3
     ? NNETCAPBEG(3)               // .T., if active
     SET DEVICE TO PRINT
        @ 10, 10 SAY "This is a test 234"
     SET DEVICE TO SCREEN
     EJECT
     Key  :=  INKEY(0)
     IF Key = 27                   // ESC do not print
        NNETCAPCAN(3)
     ENDIF

See Also: NNETCAPBEG() NNETCAPEND() NNETCAPSSF()

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