L_DicomPrintSCUGetCurrentPrinterInfo

Syntax

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomPrintSCUGetCurrentPrinterInfo(hPrintSCU, pPrinterInfo, uStructSize)

Parameters

HDICOMPRINTSCU hPrintSCU

A handle to the DICOM Print SCU.

pPRINTERINFO pPrinterInfo

The printer configuration information structure.

L_UINT uStructSize

Size of the configuration information structure.

Returns

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

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

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

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.