NWEndCapture(3nw)


NWEndCapture -- flushes data to queue, ends capture for LPT device

Synopsis

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

NWCCODE NWAPI NWEndCapture (nuint8 LPTDevice);

Description

The parameters are as follows:

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

Return values

0x0000
SUCCESSFUL

Notices

Once an application calls NWEndCapture, the workstation shell no longer traps data sent to the specified LPT device.

NWEndCapture sends a message to the server that the capture is complete.

NWEndCapture also closes the capture file (if one exists) associated with the specified LPT device, allowing a printer to print the file.

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).

For DOS/Windows, LPTCaptureFlag, printQueueFlag, and printJobValidFlag (fields in NWCAPTURE_FLAGSR0) are cleared. (These flags do not exist for OS/2.)

Services

Print

NCP calls

None

References

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