if(printerData != null ) {
Printer printer = new Printer(printerData);
if(printer.startJob("Text")) {
GC gc = new GC(printer);
View view = (View) HandlerUtil.getActivePart(event);
SieveResult sr = view.getSieveData().getSeiveResult();
SingleSieve[] s = sr.getSieves();
if(printer.startPage()) {
gc.drawString("Total mass = " + Double.toString(sr.getTotal()) + " gr", 100, 100 );