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
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (161 votes),