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>nnetcapflu()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETCAPFLU()
 Closes the current print job and dispatches it
------------------------------------------------------------------------------
 Syntax

     NNETCAPFLU(<nPrinter>) --> lTransfer

     Netware: 2.2 and 3.11

 Argument

     <nPrinter>  Designates the LPT device for which an active print job
     is closed and transferred to "service".  LPT1(1) to LPT3(3) are
     possible.

 Returns

     NNETCAPFLU() returns .T. when the print job has been transferred to
     "service".

 Description

     NOVELL NETWORK CAPTURE FLUSH
     In CA-Clipper, print output occurs in the network when the application
     has been exited or the device has been closed.  To close the current
     print job and dispatch that job, you can set a timeout with the
     NNETCAPSSF() or use the NNETCAPFLU() function.

     If a timeout does not provide you with an acceptable solution, you can
     close a previously occurring print job using the NNETCAPFLU() function
     under Novell; the print job is transferred to "service".  Internally,
     this function corresponds to the END CAPTURE or START CAPTURE commands.
     Subsequent print output can occur in the network without calling
     NNETCAPBEG() again.

 Example

     Activate the capture mode for LPT1, and then stop it after the print
     output occurs:

     SET PRINTER TO LPT1
     ? NNETCAPBEG(1)               // .T. if active
     SET DEVICE TO PRINT
     ? "This is a test 234"
     SET DEVICE TO SCREEN
     EJECT
     NNETCAPFLU(1)                 // Terminate print job.

See Also: NNETCAPBEG() NNETCAPEND() NNETCAPCAN()

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