formatted the print page