in reply to Re^3: clear print queue in windows
in thread clear print queue in windows
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:
- Re: Printing in NT
- List of resources of VB programmers wanting to control print jobs
- Stack Overflow question about controlling printing in Windows using Perl
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
|
---|
In Section
Seekers of Perl Wisdom