You are here: irt.org | FAQ | HTML | Q1508 [ previous next ]
This will print either a .txt file or a .htm file.
Code will work in Internet Explorer 4/win98. Does not work in: Internet Explorer 5.5/win98 or any Netscape browser for win98. Not sure about Internet Explorer 5/win98 or Mac browsers.
<html> <head> <title>Printing an external .txt file</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel=alternate media=print href="sourceFileNameToPrint.txt"> </head> <html> <head> <title>Printing an external .htm file</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel=alternate media=print href="sourceFileNameToPrint.htm"> </head>
Submitted by hudz