Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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()
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

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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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