#include "ltdic.h"
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.
Value | Meaning |
---|---|
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document