my job is print monitoring i.e. application print manager developing in c#. I catch the print job from printer queue. From that job I can get the print submitter,job name,hosted server,job time, no. of fro print and file name and some other details. but unable to get the printer selected for the print and no of pages,printer paper source, duplex or non duplex and some other details. this my problem.
foreach (var job in LocalPrintServer.GetDefaultPrintQueue().GetPrintJobInfoCollection())
{
UpdateText("Job Name : " + job.JobName.ToString());
UpdateText("Submitter :" + job.Submitter.ToString() + job.TimeJobSubmitted.ToString());
UpdateText("Hosted Server :" + job.HostingPrintServer.Name.ToString());
UpdateText("No of Pages :" + job.NumberOfPages.ToString());
}
I Need help. please suggest any other way to complete my task. Thanks in advance.
Have A Nice Day! Murali.M Blog