| 1 |
lars |
1 |
Welcome to HTML2PS/PDF!
|
|
|
2 |
|
|
|
3 |
This system is a PHP equivalent to the Perl software by the same name. This software takes it a step further, however, and provides the ability to render the output as a PDF file.
|
|
|
4 |
|
|
|
5 |
This software is FREE for commercial and non-commercial use. Donations help the development a lot, and can be made to g8z@yahoo.com using PayPal.
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
REQUIREMENTS:
|
|
|
9 |
|
|
|
10 |
PHP 4.3.x or higher, GD library with JPEG, GIF, and PNG support. You must have GhostView to view Postscript files, and Adobe Acrobat Reader to view PDF files.
|
|
|
11 |
|
|
|
12 |
The "temp" and "out" folders should be chmoded to a writable mode.
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
GETTING STARTED:
|
|
|
16 |
|
|
|
17 |
Upload the files from the "public_html" folder to a web server, and open index.php. Then, input the URL to your HTML page and click 'Convert'.
|
|
|
18 |
|
|
|
19 |
Depending on your server configuration, you may need to adjust this constant in config.inc.php:
|
|
|
20 |
|
|
|
21 |
define('GS_PATH','/usr/local/bin/gs'); // Another common path: /usr/bin/gs
|
|
|
22 |
|
|
|
23 |
This is the path to your Ghostscript installation.
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
GETTING SUPPORT:
|
|
|
27 |
|
|
|
28 |
This is user-to-user support only! You can post questions and help others at the www.TUFaT.com forum:
|
|
|
29 |
|
|
|
30 |
http://forum.tufat.com
|
|
|
31 |
|
|
|
32 |
I'm always looking for URLs that fail with this software - i.e., they produce PHP or Ghostscript errors, or they do not accurately render the PostScript or PDF output. Please post such URLs in the forum, or email them to g8z@yahoo.com
|
|
|
33 |
|
|
|
34 |
Please be sure to view the online documentation at:
|
|
|
35 |
|
|
|
36 |
http://www.tufat.com/docs/html2ps/index.html
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
ACKNOWLEDGEMENTS:
|
|
|
40 |
|
|
|
41 |
Special thanks to Konstantin for his coding help!
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
Thanks for using HTML2PS/PDF!
|
|
|
45 |
Darren
|