START
PRINTDOC
Starts
a Print Job
START PRINTDOC [ NAME <cPrintJobName>
] [ STOREJOBDATA <aJobData> ]
- aJobData memvar must be declared Public or Private,
aJobData
must be passed as a parameter to the function:
HMG_PrintGetJobInfo ( aJobData
)
returns -->
{} or { nJobID, cPrinterName,
cMachineName, cUserName,
cDocument,
cDataType, cStatus, nStatus,
nPriorityLevel,
nPositionPrintQueue, nTotalPages,
nPagesPrinted,
cLocalDate, cLocalTime }
cStatus --> This member should be checked prior to
nStatus and,
if cStatus is empty, the status is
defined by the
contents of the nStatus member.
nStatus --> The value of this member can be zero
or a combination of one or more
of
the following values.
A value of zero
indicates that the print queue was paused after the
document finished spooling.
JOB_STATUS_PAUSED
JOB_STATUS_ERROR
JOB_STATUS_DELETING
JOB_STATUS_SPOOLING
JOB_STATUS_PRINTING
JOB_STATUS_OFFLINE
JOB_STATUS_PAPEROUT
JOB_STATUS_PRINTED
JOB_STATUS_DELETED
JOB_STATUS_BLOCKED_DEVQ
JOB_STATUS_USER_INTERVENTION
JOB_STATUS_RESTART
JOB_STATUS_COMPLETE