Hi i am using System.Printing library in my application to carry out the printing process. I have come across one issue when i try to create the object of Printer which is installed on network, the spoolsv.exe process starts eating the memory, it consumes spooler memory and doesn't releases. I have observed this behavior when the printer is installed on network. If the print server and client machine is same, then there is no problem at all. Anyone come across this process, so please help me out. I think this is the major bug in this library.
Here is my code for creating the PrintQueue object:
PrintServer printServer = new PrintServer(@"\\" + printServerName); PrintQueue printQueue = printServer.GetPrintQueue(printerName);
my personnel account