Skip to content

aherrao/html2ps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to HTML2PS/PDF!

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.

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.


REQUIREMENTS:

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.

The "temp" and "out" folders should be chmoded to a writable mode.


GETTING STARTED:

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'.

Depending on your server configuration, you may need to adjust this constant in config.inc.php:

define('GS_PATH','/usr/local/bin/gs'); // Another common path: /usr/bin/gs

This is the path to your Ghostscript installation.


GETTING SUPPORT:

This is user-to-user support only! You can post questions and help others at the www.TUFaT.com forum:

http://forum.tufat.com

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

Please be sure to view the online documentation at:

http://www.tufat.com/docs/html2ps/index.html


ACKNOWLEDGEMENTS:

Special thanks to Konstantin for his coding help! 


Thanks for using HTML2PS/PDF!
Darren

Releases

No releases published

Packages

No packages published

Languages

  • PHP 77.9%
  • PostScript 16.5%
  • HTML 5.1%
  • Other 0.5%