FT_ENDCAP() Cancel a specific NetWare print queue capture FT_LOGOUT() Logout from all currently connected NetWare file servers FT_NOVDMP2() Determine Novell server's dynamic memory area 2 availability FT_NOVPURGE() Purge all deleted files on a Novell server FT_NWLSTAT() Return the current Novell NetWare logical station number FT_NWSEMCLOSE() Close a NetWare semaphore FT_NWSEMEX() Examine a NetWare semaphore's value and open count FT_NWSEMLOCK() Perform a semaphore "lock" FT_NWSEMOPEN() Open or create a NetWare semaphore FT_NWSEMSIG() Signal a NetWare semaphore (increment) FT_NWSEMUNLOCK() "Unlock" a semaphore locked by FT_NWSEMLOCK() FT_NWSEMWAIT() Wait on a NetWare semaphore (decrement) FT_NWUID() Return the current Novell NetWare User ID FT_PFLUSH() Flush a NetWare capture buffer FT_TTSABORT() Abort explicit and implicit NetWare TTS transactions FT_TTSAVAIL() Check whether default Novell file server supports TTS FT_TTSBEGIN() Begin explicit transaction under NetWare's TTS FT_TTSEND() End explicit or implicit transaction under NetWare's TTS FT_TTSSTAT() Verify if TTS transaction has been written to disk
Tag Archives: FT_ENDCAP()
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