- 导出pdf有很多种办法,我试过tcpdf和wkhtmltopdf两种办法。
tcpdf百度一搜就有,导出的效率比较低wkhtmltopdf导出效率较高,在liunx安装软件,后执行如下命令: ```bash
[root@localhost install_conf]# /usr/local/bin/wkhtmltopdf / —header-html header.html / —footer-html footer.html / “${html_path}” “${pdf_path}” ```
