
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> qjbsizeget()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
QJbSizeGet()
------------------------------------------------------------------------------
Purpose:
Get the queue job size.
Syntax:
dwSize = QJbSizeGet( dwQueueID, iJobNum )
Parameters:
dwQueueID The print queue ID number.
iJobNum The print job number.
Returns:
A numeric value (unsigned long int).
The CA-Clipper name for this function is:
QJbSizeGet()
Description:
QJbSizeGet() returns the size of print job iJobNum in the print queue
specified by dwQueueID.
Returns NOVERRLONG if an error occurs.
Example:
// To display the size of print job number 442 in print queue PRINTQ_1:
dwCurrQ = QueIDGet( "PRINTQ_1" )
if ( dwCurrQ != NOVERRLONG )
dwCurrSize = QJbSizeGet( dwCurrQ, 442 )
if ( dwCurrSize != NOVERRLONG )
? "Job 442 in PRINTQ_1 is", dwCurrSize, "bytes"
endif
endif
Notes:
The print queue ID number is obtained using the QueIDGet() function
and print job numbers are obtained using the QueQJbList() function.
See Also: QueIDGet() QJbPositionGet() / QJbPositionSet() QueQJbList()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson