NWFlushCapture(3nw)


NWFlushCapture -- flushes buffers, ends queue job, but maintains port redirection

Synopsis

   #include<nwprint.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE NWAPI NWFlushCapture (nuint8 LPTDevice);

Description

The parameters are as follows:

LPTDevice
(IN) Specifies the number of the specified LPT device.

Return values

0x0000
SUCCESSFUL

Notices

When NWFlushCapture is executed, the specified LPT device remains captured and redirected to the NetWare server. If the application sends more data to the specified LPT devices, the data is redirected to a new capture file on the NetWare server for printing.

NWFlushCapture clears captureInProgress and printJobValid (fields in FlagBufferStruct). LPTCaptureFlag and printQueueFlag remain set.

Under Netx, LPTDevice can have the following values:

1
LPT1

2
LPT2

3
LPT3
Under VLM and OS/2, LPTDevice can have up to nine values (1-9).

An application can only call NWFlushCapture after calling NWStartFileCapture or NWStartQueueCapture.

Services

Print

NCP calls

None

References

NWStartFileCapture(3nw), NWStartQueueCapture(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.