SPOOLER.CPP - definition of the printer spooler control object
Function
|
Spooler::Spooler
|
Include file
|
SPOOLER.CPH
|
Prototype
|
Spooler::Spooler()
|
Remarks
|
Check whether the printer spooler deamon has been loaded.
|
Function
|
Spooler::Submit
|
Include file
|
SPOOLER.CPH
|
Prototype
|
Spooler::Submit( char *s )
|
Remarks
|
Submit( char *s ) - submit a file to the spooler
//
INP : char *s - the name of the file to spool
OUT : int - SS_NORMAL if no errors else an error code
NOTE : if the spooler is inactive, then Submit() will copy the
entire file to the printer before returning
|
Function
|
Spooler::Remove
|
Include file
|
SPOOLER.CPH
|
Prototype
|
int Spooler::Remove( char *s )
|
Remarks
|
Remove specified files from the spooler queue.
INP : char *s - file name to remove
OUT : SS_NORMAL if no errors, otherwise the error code
NOTE : the file specification MAY contain wildcard characters
|
Function
|
Spooler::Clear
|
Include file
|
SPOOLER.CPH
|
Prototype
|
int Spooler::Clear()
|
Remarks
|
Clear all the files from the spooler queue.
OUT : SS_NORMAL if no errors, otherwise the error code
|
Function
|
Spooler::Suspend
|
Include file
|
SPOOLER.CPH
|
Prototype
|
int Spooler::Suspend()
|
Remarks
|
Force the spooler to pause.
OUT : SS_NORMAL if no errors, otherwise the error code
|
Function
|
Spooler::Resume
|
Include file
|
SPOOLER.CPH
|
Prototype
|
int Spooler::Resume()
|
Remarks
|
Tell the spooler to resume printing.
OUT : SS_NORMAL if no errors, otherwise the error code
|
Function
|
char
|
Include file
|
SPOOLER.CPH
|
Prototype
|
char ( far *Spooler::List() )[ 64 ]
|
Remarks
|
Retrieve a list of files in the spooler.
OUT : char ( * )[ 64 ] - ptr to list 64 character strings holding
the names of the files in the queue. If it's NULL, then
the queue is empty, and a zero-length string terminates it .
NOTE : when you call this function, the spooler is suspended, so
Resume() must be called to restart it
|
Table of Contents
Function Index
generated on 08 February 1998 - 14:44:36
© 1998 Tierra del Fuego Ltd.
|