physi has asked for the wisdom of the Perl Monks concerning the following question:
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.@status = stat(STDIN); $size=$stat[7]
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.
Is there a possibility to get access to this printer-spool Information from NT? Or must I save STDIN to a file first, than get the size info and after that process the script with the temporary created file?
Thanks for any help.
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to get spool info from NT
by clemburg (Curate) on Jul 17, 2001 at 12:25 UTC | |
by physi (Friar) on Jul 17, 2001 at 13:21 UTC | |
by clemburg (Curate) on Jul 17, 2001 at 13:29 UTC | |
by physi (Friar) on Jul 17, 2001 at 13:48 UTC | |
|
Re: how to get spool info from NT
by MZSanford (Curate) on Jul 17, 2001 at 13:01 UTC | |
|
Re: how to get spool info from NT
by joefission (Monk) on Jul 17, 2001 at 18:38 UTC |