I am using VB .Net with HTTPWebRequest/HTTPWebResponse to navigate a
web site and print invoices (not download them - their requirements,
not mine). The related web site, when printing an invoice, modifies the
current HTML that displays the invoice, creates a new window and does a
print.
The corresponding Java script is:
Var THEhtml = '<HTML> \n<HEAD>\n';
<<Massage THEhtml based on existing contents>>
var printMe =
window.open("","printIt","scrollbars,HEIGHT=399,WI DTH=799");
printMe .document.open();
printMe .document.write(THEhtml);
printMe .document.close();
printMe .print
Any suggestions on how to duplicate these procedures in VB to
facilitate a print with the correct appearance? The corresponding
HTTPWebResponse uses a TextReader to obtain the source HTML.
Thanks...
Denny