Assembly: System.Printing (in system.printing.dll)
Some properties of the PrintQueue object represent characteristics of the print queue utility that runs on the computer, but others represent features or states of the printer itself. For example, NumberOfJobs is a characteristic of the print queue, while Location is a property of the printer. Many of the properties of the printer, such as whether it needs user attention, need to be passed, by means of the Refresh method, from the printer itself to the PrintQueue object. This should be done before the corresponding property (NeedUserIntervention) is read by your program. Similarly, when your program changes the values of one or more properties of a PrintQueue object, the change has to be written to the actual print queue utility on the computer. Do this with the Commit method.Notes to Inheritors: For guidance about deriving this class, see How to: Extend the Print Schema and Create New Print System Classes.