FT_PFLUSH

FT_PFLUSH()
 Flush a NetWare capture buffer

 Syntax

     FT_PFLUSH( [ <nLPTPortNumber> ] ) -> NIL

 Arguments

    <nLPTPortNumber> is the captured LPT port number to flush.  If the
    parameter is omitted, the default port or LPT1: is used.

 Returns

    NIL

 Description

   This routine is used to force a Novell NetWare capture buffer to print
   it's contents.  This is useful for printing reports with a filter set
   and you don't know how long it will be between print statements.  With
   a FT_PFLUSH() function at the end of any printing, you can have the
   timeout value for any capture set to 0 (zero).

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

   This source code was written for Microsoft Macro Assembler v5.1.

 Examples

   (in DOS)
   F:>CAPTURE S=ServerName Q=PrintQueueName TI=0 L=1

   (in your Clipper application)
   SET FILTER TO Left( FONELIST->PHONENUM, 3 ) == "415"
   GO TOP
   SET PRINT ON
   DO WHILE .NOT. Eof()
     ? fonelist->lastname...
     SKIP
   ENDDO
   FT_PFLUSH(1)     && I could just say FT_PFLUSH() here as well.

 Source: FLUSHCAP.ASM

 Author: James R. Zack

One response to “FT_PFLUSH

  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.