Hi,
I am trying to make a program that retrieves data from print jobs. The name, job size etc works but when I attempt to read the jobstream length I get a null reference exception.
Code:q = LocalPrintServer.GetDefaultPrintQueue For Each pj In q.GetPrintJobInfoCollection MsgBox(pj.Name) MsgBox(pj.JobSize) MsgBox(pj.JobStream.Length) Next




Reply With Quote