JobInfoEvent event (IEPrint)
void JobInfoEvent(BSTR PrinterName, long lJobID, long lFlags); | |
Overview |
Refer to Enable or Disable using Events |
Remarks
An event occured for every print job to give its status as it is started or ended.
The GetPagesPrinted property will always be set to 0 when the lFlags parameter receives the JOB_START flag, since no pages have been printed at the beginning of a print job.
To enable firing this event, the user must set the value of the EnableJobInfo property to VARIANT_TRUE before starting the print job.
lFlags
Flags that indicate the status of the print job. Possible values are:
Value |
Meaning |
JOB_START |
[0x00000001] The print job being started. |
JOB_END |
[0x00000002] The print job being ended. |
START_PROCESS_JOB |
[0x00000004L] Processing Printed Job is started |
END_PROCESS_JOB |
[0x00000008L] Processing Printed Job is ended |
See Also
Elements: |
RasterEvent event, EMFEvent event, ShowUIEvent event, SaveStatusEvent event, EnableJobInfo property, GetPagesPrinted property |
Topics: |