我正在创建包含许多页面的 pdf 文件。我希望第一页是纵向的,其余页面是横向的。我试过,
story.append(NextPageTemplate('landscape')) 参考
story.append(NextPageTemplate('landscape'))
但我得到了,
ValueError: can't find template('landscape') handle_nextPageTemplate args=('landscape',)
python pdf pdf-generation reportlab
pdf ×1
pdf-generation ×1
python ×1
reportlab ×1