1

I'm looking for a way to make sure that the output from wkhtmltopdf always consists of an even number of pages, i.e. adding a blank page at the end of the pdf if the number of pages is uneven. If anyone has a good solutions for this I would be really happy

/J

4

1 回答 1

0

一个简单的解决方案是创建 pdf,然后检查页数并在必要时添加一个空页面,例如 itext / itextsharp。猜测页数或长度非常困难。

于 2013-04-23T09:40:49.933 回答