Updating layout for printing