Linux Server版本下抓页面转换成PDF

xvfb-run -a -s "-screen 0 640x480x16" wkhtmltopdf index.html baidu.pdf

Server版本下抓页面转换成PDF

原文地址:https://www.cnblogs.com/xiaoCon/p/3287892.html