Web Guide  > webguide > 6. Construction > 6.8 Printable pages > 6.8b Other ways of preparing print-safe Web pages

6.8b Other ways of preparing print-safe Web pages

Guideline

If you are using a content management system, the system can be configured to produce a print-friendly version of the page. In this case, make sure that each Web page contains a link to the print-friendly version.

If your Web site is developed using dynamic pages such as ASP and you want only a selected area of the Web page printed, you can do so by enclosing the area in a special tag named <sp> (and </sp> to close the section) and including two special ASP files in the folder of your current Web site (printlink.asp and print.asp).

Example:

<html>
<head>
<title>A sample page</title>
</head>
<body>
<table>
<tr>
<td>Left Column:</br>Navigation</td>
<td>
<sp>
Center Column:<br/>
Body of the page, etc. Center Column:<br/>
The text within this column Center Column:<br/>
will be displayed in a Center Column:<br/>
print-friendly page.
</sp>
<!--#INCLUDE FILE="printlink.asp"-->
</td>
<td>Right Column:</br>Other links</td>
</tr>
</table>
</body>
</html>

The file printlink.asp contains a link to the print.asp file. These two files, together with the image print.gif, can be downloaded here and used directly in your Web site.

Remember...

If you plan to put the files in a different folder from the root folder, remember to change the file path in the <!--#include file="your path" --!> ASP directive.