Update OpenPrinter.java

Manual merge of more changes. This might need some recompile to test for errors.