result=ERDirectToWeb.printerFriendlyPageForD2WContext(dummyContext,session());
result=ERD2WFactory.erFactory().printerFriendlyPageForD2WContext(dummyContext,session());
    public WOComponent printerFriendlyVersion() {        WOComponent result = null;        if(object() != null) {            D2WContext dummyContext = new D2WContext();            dummyContext.takeValueForKey(object(), "object");            dummyContext.setEntity(EOUtilities.entityNamed(object().editingContext(),object().entityName()));            dummyContext.setTask("inspect");                        result=ERDirectToWeb.printerFriendlyPageForD2WContext(dummyContext,session());            ((EditPageInterface)result).setObject(object());        } else {            if(task().equals("edit") || task().equals("inspect"))                result = editPrinterFriendlyVersion();            else if(task().equals("list") || task().equals("pick"))                result = listPrinterFriendlyVersion();        }        return result;    }