Print and PDF problem

When I click print button, Erpnext don’t print like pdf. Erpnext print like full page.

And I have one more problem, when I click PDF button for opening PDF on new tab, Erpnext download directly PDF. I don’t want to download. How can I can fix these two Problem?

When I click print button, Erpnext print like below picture

But when I click PDF button, Erpnext download pdf like below picture. I want to print like below picture.

Hello @alimert801 , Did you find any solution for this ?

Thank you !