Centers the printed student details.