LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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

For an example, refer to DicomPrintScu.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 Leadtools.Dicom.DicomPrintScu.GetPrintJobInformation). Also, it is used to identify the Print Job when status reports are received from the Print SCP (refer to the callback method Leadtools.Dicom.DicomPrintScu.OnPrintJobReport).

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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