Leadtools.Dicom Namespace > DicomPrintScu Class : GetPrinterConfiguration Method |
public DicomDataSet GetPrinterConfiguration()
'Declaration Public Function GetPrinterConfiguration() As DicomDataSet
'Usage Dim instance As DicomPrintScu Dim value As DicomDataSet value = instance.GetPrinterConfiguration()
public DicomDataSet GetPrinterConfiguration()
ObjectiveC Syntax
function Leadtools.Dicom.DicomPrintScu.GetPrinterConfiguration()
public: DicomDataSet^ GetPrinterConfiguration();
Exception Type | Condition |
---|---|
DicomExceptionCode.PrintSCUFailureStatus | The response of the Print SCP specifies a Failure status code. |
DicomExceptionCode.PrintSCUClassNotSupported | The Printer Configuration Retrieval SOP Class is not supported on the Association. |
The method will not return until it receives the response of the Print SCP, or an error occurs. The method GetLastOperationStatus can be used to obtain the status code specified in the response of the Print SCP. If the method GetPrinterConfiguration is successful, the printer configuration information was retrieved successfully, with either a Success or Warning status code in the response of the Print SCP.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2