Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
GetPrintJobInstanceUid Method
See Also 
Leadtools.Dicom Namespace > DicomPrintScu Class : GetPrintJobInstanceUid Method




Returns the SOP Instance UID of the last Print Job SOP Instance.

Syntax

Visual Basic (Declaration) 
Public Function GetPrintJobInstanceUid() As String
Visual Basic (Usage)Copy Code
Dim instance As DicomPrintScu
Dim value As String
 
value = instance.GetPrintJobInstanceUid()
C# 
public string GetPrintJobInstanceUid()
Managed Extensions for C++ 
public: string* GetPrintJobInstanceUid(); 
C++/CLI 
public:
String^ GetPrintJobInstanceUid(); 

Return Value

The SOP Instance UID of the Print Job SOP Instance resulted from the last successful printing request sent to the Print SCP. If no Print Job was created by the Print SCP for the last printing request, the method will return an empty string.

Example

For an example, refer to Associate.

Remarks

Each of the methods PrintFilmSession and PrintFilmBox requests the Print SCP to print one or more films. If the Print Job SOP Class is supported on the Association, the Print SCP is supposed to create a Print Job SOP Instance for the new Print Job and send the SOP Instance UID of that Instance in the response to the printing request. The method GetPrintJobInstanceUid returns that SOP Instance UID.

The SOP Instance UID of a Print Job can be used to query the Print SCP for information about the Print Job (refer to the method GetPrintJobInformation). Also, it is used to identify the Print Job when status reports are received from the Print SCP (refer to the callback method OnPrintJobReport).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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