LEADTOOLS Medical (Leadtools.Dicom assembly)

GetPrinterConfiguration Method

Show in webframe







Queries the Print SCP for the printer configuration information and returns the retrieved information.
Syntax
public DicomDataSet GetPrinterConfiguration()
'Declaration
 
Public Function GetPrinterConfiguration() As DicomDataSet
'Usage
 
Dim instance As DicomPrintScu
Dim value As DicomDataSet
 
value = instance.GetPrinterConfiguration()
public DicomDataSet GetPrinterConfiguration()

            

            
 function Leadtools.Dicom.DicomPrintScu.GetPrinterConfiguration()
public:
DicomDataSet^ GetPrinterConfiguration(); 

Return Value

A DicomDataSet object the holds the retrieved printer configuration information. The information is sent by the Print SCP as one or more Items in a Printer Configuration Sequence (2000,001E). The various members of the DicomDataSet class can be used to investigate the retrieved information.
Remarks
Two of the exceptions that can be thrown by this method are:
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.

Example
For an example, refer to Associate(String,Int32,String,String,DicomPrintScuPrintManagementClassFlags).
Requirements

Target Platforms

See Also

Reference

DicomPrintScu Class
DicomPrintScu Members
GetLastOperationStatus Method
GetPrinterInformation Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features