This code snippet shows how to implement a "printer friendly" version link for your pages.
The "Printer Friendly" version select the main content of your page, removing the menu, header graphics, advertising and foot content.
The script performs the HTTP "get" method via the XMLHTTP object to retrieve the page to be printed.
Using the XMLHTTP object instead of something like FSO means that the ASP page is actually executed and not just 'read' as a stream of characters.
IT ASSUMES THAT YOUR PAGE HAS PRINTABLE CONTENT WITHIN TWO COMMENTS:
· MSXML 3.0
· VBScript version 5