Print Format issue in PDF generation

Hello !!

  1. Alignments and format of a print when i click on Print Button:

  1. Alignments and format of a print when i click on PDF Button:

Why this is happening??
Is there any solution to get same format and alignments on 1 and 2 points??