1<html>
2<head>
3<title>html2ps/html2pdf installation notes</title>
4<link rel="stylesheet" type="text/css" medial="all" title="Default" href="css/help.css"/>
5</head>
6<body>
7<h1>html2ps/pdf installation notes</h1>
8<p><a href="index.html">Back to table of contents</a></p>
9
10<p>To install HTML2PS, follow these simple steps:</p>
11<ol>
12<li>Unpack zip package contents to some directory on your web server</li>
13<li>Edit config.inc.php to suit your needs; most probably you'll need to update values of GS_PATH and TYPE1_FONTS_REPOSITORY constants</li>
14<li>Ensure script files and directories have correct permissions:
15<ul>
16<li>All files and folders should be readable by webserver user account</li>
17<li>Directories 'out','tmp' and 'cache' should be writeable by webserver user account</li>
18<li>If you're going to use FPDF output method, please copy .ttf files from your Windows distribution (or any other source) to
19fonts subdirectory! Due the size of TrueType fonts files, they're not distibuted with the scripts, but still needed by some output methods.</li>
20</ul>
21</ol>
22
23<p><span style="color: red">Important:</span> if you're upgrading from older script version, remove all files
24from 'cache' subdirectory!</p>
25
26<h1>Warning:</h1>
27The default distribution includes several sample script files and script web interface; they may be easily used for DoS attack on your server!
28It is highly recommended that you remove 'sample' and 'demo' subdirectories from publicly available script installation.
29
30</body>
31</html>
32