1

I tried to set the whole web page to width 100% but the output pdf file still make it at the top left corner and the content is not as expected to be 100% width, it is like 55% of the A4 paper.

How can I enlarge it and make it locate to center?

2

Set the width in mm.
html2pdf 4.03