Reset cursor before printing