http://www.perlmonks.org?node_id=987645


in reply to clear print queue

You may want to look at this module Win32::Printer::Enum. I use the base module all the time in my apps...