FT_ENDCAP

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

 

One response to “FT_ENDCAP

  1. Pingback: FT NetWare | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.