cnx 发表于 2010-3-6 21:52:58

Try to find an easy way to convert HTML to PDF? Meet HTMLDOC.

HTMLDOC converts Hyper-Text Markup Language ("HTML") files and web pages into indexed HTML, Adobe® PostScript®, or Adobe Portable Document Format ("PDF") files. HTMLDOC is available in both commercial and open source versions.
CENTOS

Goto var and create a directory "htmldoc" and download the latest version:


Code: Select all
cd /var/
mkdir htmldoc
wget http://ftp.easysw.com/pub/htmldo ... .8.27-source.tar.gz


Untar and make the install:


Code: Select all
tar -xvzf htmldoc-1.8.27-source.tar.gz
cd htmldoc-1.8.27
./configure
make
make install

cpuer 发表于 2010-3-6 22:30:31

东西很独特
lol.gif

gdtv 发表于 2010-3-7 00:44:39

有VPS就是爽,可以装这个
以前用虚拟主机,什么都不能装
页: [1]
查看完整版本: Try to find an easy way to convert HTML to PDF? Meet HTMLDOC.