在某些页面中使用P和L方向生成带有HTML2PDF的PDF文档

Is it possible to use both Portrait and Landscape orientation in the same pdf document (the same thing with Microsoft Office) with the library HTML2PDF. Thank you for your help !

It is possible with the HTM2PDF html to pdf library, but I think you're using a different one.

I work for HTM2PDF and can highly recommend it.