I'm not allowed to download and install anything like wget on these Windows boxes. However I might like to try what you have and see if it does what I want. Will the print part of your code try and print anything if there is nothing fetched by wget? I don't recall if wget just creates a file of zero length when it saves it.
Right now I use wget on my fbsd box for this. It fetches the page and faxes it. In something less than 20 lines of bash.
|