Preparing a spreadsheet for printing