L_DicomPrintSCUGetCurrentPrinterInfo

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomPrintSCUGetCurrentPrinterInfo(hPrintSCU, pPrinterInfo, uStructSize)

HDICOMPRINTSCU hPrintSCU; A handle to the DICOM Print SCU.
pPRINTERINFO pPrinterInfo; Structure containing the current printer configuration information.
L_UINT uStructSize; Size of the configuration information structure.

Parameter Description
hPrintSCU A handle to the DICOM Print SCU.
pPrinterInfo The printer configuration information structure.
uStructSize Size of the configuration information structure.

Returns

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

Comments

The function will not return until it receives the response of the Print SCP, or an error occurs. The function L_DicomPrintSCUGetLastOperationStatus can be used to obtain the status code specified in the response of the Print SCP. When the return value of the function GetPrinterConfiguration is 0, then the printer configuration information was retrieved successfully, with either a Success or Warning status code in the response of the Print SCP.

The retrieved printer configuration information is stored and can be retrieved using L_DicomPrintSCUGetCurrentPrinterConfiguration.

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