I am converting pdf file into html
and then regenerating pdf back from html.
I want regenerated pdf with same page size as original pdf.
what are the parameters I need to copy from original pdf before saving regenerated pdf.
I already setted folowwing parameters equal but not worked
can you suggest me correct way to generate same size pages from html as original pdf