Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_endcap()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_ENDCAP()
 Cancel a specific NetWare print queue capture
------------------------------------------------------------------------------

 Syntax

     FT_ENDCAP( [ <nLPTPortNumber> ] ) -> lResult

 Arguments

    <nLPTPortNumber> is the captured LPT port to cancel.  If the
    parameter is omitted, the default port of LPT1: is used.

 Returns

    .T. if successful

 Description

   This routine is used to close a specific capture on the specified LPT
   port.  When this command is issued, the LPT port is no longer redirected
   to the print queue, and any information waiting in queue to be printed
   will be printed.

   This routine was designed and written for Advanced NetWare 286 v 2.1 or
   NetWare 386 v 3.0 or better.  It has been tested on Advanced NetWare 286
   v 2.15 rev A & C and NetWare 386 v 3.0.

   This source code was written for Microsoft Macro Assembler v 5.1.  It
   should work with any assembler with minor modifications.

 Examples

   (in DOS)
   F:>CAPTURE S=ServerName Q=PrintQueueName T=0 L=2
   Device LPT2: re-routed to queue PrintQueueName on server ServerName.
   F:>CAPTURE S=ServerName Q=PrintQueueName T=0 L=1
   Device LPT1: re-routed to queue PrintQueueName on server ServerName.

   (in your Clipper application)
   FT_ENDCAP(2) // Closes LPT2: capture, and flushes print buffer
   ...
   ...
   FT_ENDCAP()  // Closes LPT1: (default) capture, and flushes
                //    print buffer

 Source: ENDCAP.ASM

 Author: James R. Zack

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