LDicomPrintSCU::OnPrintJobReport

Summary

Called when a Print Job status report is received from the Print SCP.

Syntax

#include "ltdic.h"

virtual L_VOID LDicomPrintSCU::OnPrintJobReport(pszPrintJobInstanceUID, uEventTypeID, pReportInfo)

Parameters

const L_TCHAR * pszPrintJobInstanceUID

Character string that contains the SOP Instance UID of the Print Job SOP Instance for which the status report was sent.

L_UINT16 uEventTypeID

Specifies the Event Type ID which indicates the status of the Print Job. Possible values are:

Value Meaning
1 Event Type Name = Pending
2 Event Type Name = Printing
3 Event Type Name = Done
4 Event Type Name = Failure

const pPRINTJOBREPORTINFO pReportInfo

Pointer to a PRINTJOBREPORTINFO structure that specifies Print Job information. This can be NULL.

Returns

None.

Comments

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

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomPrintSCU::OnStatus.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.