L_DicomPrintSCUAssociate

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomPrintSCUAssociate(hPrintSCU, pszPrintScuIP, uPrintScuPort, pszPrintScpIP, uPrintScpPort, pszCalledTitle, pszCallingTitle, uSupportedClasses)

HDICOMPRINTSCU hPrintSCU; A DICOM Print SCU handle.
const L_TCHAR *pszPrintScuIP; IP address or DNS name of the Print SCU.
L_UINT uPrintScuPort; Port number of the Print SCU.
const L_TCHAR *pszPrintScpIP; IP address or DNS name of the Print SCP.
L_UINT uPrintScpPort; Port number of the Print SCP.
const L_TCHAR *pszCalledTitle; Called AE Title.
const L_TCHAR *pszCallingTitle; Calling AE Title/
L_UINT16 uSupportedClasses; Supported SOP/Meta SOP Classes/

Parameter Description
hPrintSCU A DICOM Print SCU handle.
pszPrintScuIP IP address or DNS name of the Print SCU.
uPrintScuPort Port number of the Print SCU.
pszPrintScpIP IP address or DNS name of the Print SCP.
uPrintScpPort Port number of the Print SCP.
pszCalledTitle Called AE Title.
pszCallingTitle Calling AE Title.
uSupportedClasses Supported SOP/Meta SOP Classes.

Returns

SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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.

Required DLLs and Libraries

LTDIC
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64, Linux.

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

LEADTOOLS DICOM C API Help