这是MSDN的提示:CancelAllJobs Method of the Win32_Printer Class
Requirements
Client Requires Windows "Longhorn" or Windows XP.
Server Requires Windows Server "Longhorn" or Windows Server 2003.
MOF Declared in Cimwin32.mof.
DLL Requires Cimwin32.dll.
Namespace Defined in \root\cimv2.
这是网址:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_printer.asp