#29470

PD4ML automatically removes blank trailing pages only. In your case it would make sense to determine the problem reason.

First try to temporarily define DIV and TABLE borders to see if invisible parts of them (content padding etc) are wrapped to next pages.

[language=css:3jovt6io]DIV, TABLE { border: 1 solid tomato }[/language:3jovt6io]