L_DicomPrintSCUAssociate

#include "ltdic.h"

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

Parameters

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.

Returns

Value Meaning
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

Platforms

Win32, x64, Linux.

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

LEADTOOLS DICOM C API Help