You can format margins, orientation, header and footer, scale, etc in the Google Sheets Page Setup. To do that, you can click on File and then on Print (Or press CTRL + P, or CMD + P, if you have Mac) and a box with various options will open. You can format or customize the settings there according to your needs. You can adjust margins or page breaks and the sort here before printing your sheet.