首页 > 编程语言 > 详细

python设置pdf

时间:2020-02-18 18:41:45      阅读:52      评论:0      收藏:0      [点我收藏+]

导出:选用pdf

参考官方链接:https://wkhtmltopdf.org/usage/wkhtmltopdf.txt

设置导出的大小可以用page-size也可以直接page-wight,page-height:

Page sizes:
  The default page size of the rendered document is A4, but using this
  --page-size optionthis can be changed to almost anything else, such as: A3,
  Letter and Legal.  For a full list of supported pages sizes please see
  <http://qt-project.org/doc/qt-4.8/qprinter.html#PaperSize-enum>.

  For a more fine grained control over the page size the --page-height and
  --page-width options may be used

 

python设置pdf

原文:https://www.cnblogs.com/daysn/p/12327196.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!