L_LTDIC_API L_INT L_DicomPrintSCUAssociate(hPrintSCU, pszPrintScuIP, uPrintScuPort, pszPrintScpIP, uPrintScpPort, pszCalledTitle, pszCallingTitle, uSupportedClasses)
A DICOM Print SCU handle.
IP address or DNS name of the Print SCU.
Port number of the Print SCU.
IP address or DNS name of the Print SCP.
Port number of the Print SCP.
Called AE Title.
Calling AE Title.
Supported SOP/Meta SOP Classes.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
The Association must be established successfully before any of the print management operations can be performed.
This function will first try to connect to the Print SCP. If successful, it will then try to establish the Association. This function will not return until the Association is accepted/rejected by the Print SCP, or an error occurs.
The function L_DicomPrintSCUGetAssociateRejectInfo can be used to get information about the Association rejection in case the Association request was rejected by the Print SCP.
The uSupportedClasses parameter specifies those SOP/Meta SOP Classes that are supported by the Print SCU itself. Once the Association is established, the function L_DicomPrintSCUIsClassSupported can be used to test whether a particular SOP/Meta SOP Class is supported on the Association (and hence by the Print SCP).
The established Association must be released using the function L_DicomPrintSCURelease.
Win32, x64, Linux.
For an example, refer to L_DicomPrintSCUUpdateImageBox.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries