Convert Integer to int and stub findPrinter functions