Fixed falsely copied code in Printer.java.