Out of memory error with hp color LaserJet 2550  
Author Message
CTG





PostPosted: Visual C# General, Out of memory error with hp color LaserJet 2550 Top

I have a document generated with c#. it is three pages long and is mainly costum generated graphics. The document prints fine on black and white printers but when I try to use the color laser jet, the printer freezes on the third page. even if I try only to print the third page the problem still persists.

I have no idea how to fix the error. my code is fairly conveluted so I'll spare posting it at this time but I'll freely provide any snippets that anyone would think could help in resolving this problem.



Visual C#7  
 
 
RizwanSharp





PostPosted: Visual C# General, Out of memory error with hp color LaserJet 2550 Top

Better Try to review your code and Dispose al the diposabel objects whichever object has dispose methods, In drawing you would have used Graphics objects, Pen objects, brushes etc. try to call Dispose on all after suign them or better use them in

using statment like this:

using(/*...............*/)

{

//

}

I belive this should make a difference.

Even if it doesnot work, try to print a single page in Colors and see what happens

Best Regards,

Rizwan