in reply to Printing to Win2K3 server
There you go. This might open security holes, but that may or may not matter much considering that it's a test script. You may also want to put a sleep() in there to avoid problems. 10 seconds or so would probably be enough.foreach (@text){ open(FILE,">file.txt"); print FILE $_; close(FILE); print `print file.txt`; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing to Win2K3 server
by rhymejerky (Beadle) on Jul 21, 2004 at 23:39 UTC |