Fixed Printer.java so it will work on Windows/Unix