Retrieves the name of the printed document. The name of the document is set by the printing application and it is not all the time the name of the file.
GetDocumentNameFromJobInfo (JobInfo As Long) As String
Input values: JobInfo - The JobInfo value returned by the GetJobInfo() method
Return value - the name of the printed document