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>nnetcapbeg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETCAPBEG()
 Activates the capture mode for an LPT device
------------------------------------------------------------------------------
 Syntax

     NNETCAPBEG(<nPrinter>)    --> lActivate

     Netware: 2.2 and 3.11

 Argument

     <nPrinter>  Designates the LPT device for which the capture mode is
     activated.  LPT1(1) to LPT3(3) are possible.

 Returns

     NNETCAPBEG() returns .T. when the capture mode for the designated LPT
     device can be activated.

 Description

     NOVELL NETWORK CAPTURE BEGIN
     With NNETCAPBEG(), the capture mode for a particular LPT device can be
     activated directly from within a CA-Clipper application.  Optimal
     control of print output within a Novell network is possible in
     conjunction with other NNETCAPXXX() functions.

     All print output parameters (flags) can be selected using the
     NNETCAPSSF() function.  These parameters must be set before every BEGIN
     CAPTURE command.  In this way, the auto form feed, the banner page, and
     other settings can be carried out from within the CA-Clipper program.

     By contrast, the print queue can be selected using the NNETSETQ()
     function, where another server had been previously selected using
     NNETSETSRV().

 Example

     Activate the capture mode for LPT2:

     SET PRINTER TO LPT2
     ? NNETCAPBEG(2)                  // .T., when active
     SET PRINT ON
        ? "That is a test 234"
     SET PRINT OFF
     NNETCAPEND(2)                    // End capture mode

See Also: NNETCAPSSF() NNETSETQ() NNETSETSRV() NNETCAPEND()

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