Alignment issue in the PDF version 15

Hi,

I’m facing an issue with the PDF print format in version 15. In the print format preview, everything looks good and aligned, but in the PDF, the alignment is off, and it does not match the print preview. I tried updating the wkhtmltopdf version, but it didn’t resolve the issue. If anyone has a solution, please help.

Here is the information I’m using along with a screenshot of the print preview and pdf.

wkhtmltopdf version - wkhtmltopdf 0.12.6.1 (with patched qt)

Ubuntu version - 22.04.4

command run -

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb

sudo apt install -f ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb

print preview

print pdf