(Print This Page Script) Using the MS-XMLHTTP object an
Tutorials Shared by the Internet Community
Total Hits - 28950
Total Votes - 100 votes
Vote Up - 43 votes
Vote Down - 57 votes
Domain - www.4guysfromrolla.com
Category - ASP/Content Management
Submitted By - Devesh Khanna
Submitted on - 2008-03-05 04:37:51
This article deals with two not-so-commonly discussed topics. The first is using Microsoft's XMLHTTP component to perform an HTTP request.
This article also utilizes regular expressions to remove delimited chunks of text.
Article describes how to create a Printer Friendly Page using Microsoft's XMLHTTP component along with regular expressions. It shows how to use XMLHTTP to perform an actual HTTP GET request for the page that you wish to display in a Printer Friendly format. Then, it utilizes regular expressions to pick out chunks of text that the Web page author has defined to not appear in the Printer Friendly format. A neat read highlighting the capabilities of the XMLHTTP component and regular expressions. More detail...