$cmd = "wkhtmltopdf -q --disable-smart-shrinking --dpi 96 --margin-bottom 0 --margin-left 0 --margin-right 0 --margin-top 10 $htmlPath $pdfPath";
exec($cmd, $output);
wkhtmltopdf文档
https://wkhtmltopdf.org/usage/wkhtmltopdf.txt
$cmd = "wkhtmltopdf -q --disable-smart-shrinking --dpi 96 --margin-bottom 0 --margin-left 0 --margin-right 0 --margin-top 10 $htmlPath $pdfPath";
exec($cmd, $output);
wkhtmltopdf文档
https://wkhtmltopdf.org/usage/wkhtmltopdf.txt