Keep It Simple, Stupid | |
PerlMonks |
how to get spool info from NTby physi (Friar) |
on Jul 17, 2001 at 10:20 UTC ( [id://97258]=perlquestion: print w/replies, xml ) | Need Help?? |
physi has asked for the wisdom of the Perl Monks concerning the following question:
And once again a Win question :) I have a perl script invoked by RedMon -Redirection Port Monitor. I read from STDIN and want to know which size the data from STDIN is. I've tried the following: Ok when I look into my WinNT printer-status window, I get the Information: Size: 4,00KB/80,7 KB. This shows me, that 4 K are allready sent to my script from totalling 80,7 KB data.
My perl stat(STDIN) gives me only the 4K, not the 80,7 K which I wanted to get, cause the rest of the data is somewhere in the spooler. Thanks for any help.
Back to
Seekers of Perl Wisdom
|
|