Fix error in PrinterController