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
A foolish day
Just another day
Internet cleaning day
The real first day of Spring
The real first day of Autumn
Wait a second, ... is this poll a joke?
Results (565 votes),