从打印机删除所有作业

问题描述:

大家好,

我是C ++程序的新手.任何人都可以帮助我如何使用C ++中的win32 API删除所有打印机作业.我迫切需要这个概念..请尽快回复..

在此先感谢

Hi All,

I am new to the c++ program. Can anybody please help me how to delete all the printer jobs using win32 API in C++. I need this concept urgently.. Please reply soon..

Thanks in advance

尝试看看 ^ ], ^ ]和 ClosePrinter函数(Windows ) [ ^ ].

我认为这些是您需要的API.
Try having a look to OpenPrinter Function (Windows)[^], AbortPrinter Function (Windows)[^] and ClosePrinter Function (Windows)[^].

I think that these are the API that you need.