Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

System.Printing.Printqueue consumes spooler memory when network printer Printqueue object is created or any job is added on printqueue.

$
0
0

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


Viewing all articles
Browse latest Browse all 8156

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>