in reply to
clear print queue in windows
Check this node clear print queue.
Did you check that node?
It doesn't answer the question, and the OP is trying to use Win32::Printer::Enum like that node suggests
This seems to be a non-trivial problem, but maybe some of the more Win32 minded Monks can help, using the following resources as some inspiration:
It seems like using Win32::API in conjunction with the winspool.drv DLL and calling SetJob with a null job will do the trick, but I can't give you the exact code that would accomplish this
I guess so
I guess not
Results (176 votes),