html2ps/pdf installation notes

Back to table of contents

To install HTML2PS, follow these simple steps:

  1. Unpack zip package contents to some directory on your web server
  2. Edit config.inc.php to suit your needs; most probably you'll need to update values of GS_PATH and TYPE1_FONTS_REPOSITORY constants
  3. Ensure script files and directories have correct permissions:

Important: if you're upgrading from older script version, remove all files from 'cache' subdirectory!

Warning:

The default distribution includes several sample script files and script web interface; they may be easily used for DoS attack on your server! It is highly recommended that you remove 'sample' and 'demo' subdirectories from publicly available script installation.