page setup before Pdf printing
Center diagram in the page when printing