Function SpoolControl() Foundation
Controls a spooler.
SpoolControl( <nAction> , ;
[<nLPTport>] ;
) --> lSuccess
Returns .T. if the operation can be performed for the given port, otherwise .F.
<nAction>
A numeric value specifies the requested action. #define constants are used for this parameter and are found in XBTPRINT.CH
Constant | Description |
---|---|
SPL_DELETE_CURJOB | Delete current print job |
SPL_PAUSE | Pause printing |
SPL_CONTINUE | Continue paused print job |
SPL_RESTART | Restart print job |
<nLPTport>
This is a number between 1 and 9 specifying the LPT port (OS/2), or the printer number in the range beween 1 and NumPrinter() (Windows). It defaults to 1 (LPT1).
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.