Preparations before Printing Output