views:

169

answers:

1

Hi,

I'm using System.Printing to interrogate PrintQueue status - my aim being to obtain status updates & errors, specifically the booleans IsOutOfMemory, NeedUserIntervention, IsOutOfPaper, HasPaperProblem, IsPaperJammed, IsInError, IsPaused, IsBusy, IsPrinting, IsProcessing, IsInitializing, IsDoorOpened etc. The problem is the properties never return true, even when I know one is true. Has anyone had success with these properties? Anyone got any idea what might be wrong or missing here?

Thanks James

A: 

Well I guess you have to call the PrintQueue.Refresh method to update the properties.

Obalix
Haha...oh boy...can't believe I missed that. It's been a long week.Many thanks
tuseau