virtual L_VOID LDicomPrintSCU::OnPrintJobReport(pszPrintJobInstanceUID, uEventTypeID, pReportInfo)
Called when a Print Job status report is received from the Print SCP.
Character string that contains the SOP Instance UID of the Print Job SOP Instance for which the status report was sent.
Specifies the Event Type ID which indicates the status of the Print Job. Possible values are:
|1||Event Type Name = Pending|
|2||Event Type Name = Printing|
|3||Event Type Name = Done|
|4||Event Type Name = Failure|
Pointer to a PRINTJOBREPORTINFO structure that specifies Print Job information. This can be NULL.
This callback function is called whenever the Print SCU receives a report from the Print SCP about the changes in the status of a Print Job. The intended Print Job is specified by its SOP Instance UID. If the Print Job SOP Class is supported on the Association, this function is expected to be called. Otherwise, it will never be called.
If the status of the Print Job is Pending or Failure, the Print SCP is supposed to supply additional information about the pending/error condition in the Attribute Execution Status Info (the member pszExecutionStatusInfo of the PRINTJOBREPORTINFO structure).
The implementation of the LDicomPrintSCU class for this function simply does nothing. In order to make use of this callback function, you should create a new class derived from the LDicomPrintSCU and override the function providing the desired implementation.
Required DLLs and Libraries
For an example, refer to LDicomPrintSCU::OnStatus.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries