add Printer.java file