print

Is there a way we can print the tree? I want to allow users to print the tree generated on to paper.

There is no direct way.
But you can creacte a separate page with the same tree and prit this page. But recomment to disable tree lines.
Logic is the next:
main page

[code]

Complex task 3th Febr html,body { height: 100%; margin: 0px; overflow: hidden; }
<script>
    function doOnLoad(){
        dhxLayout = new dhtmlXLayoutObject("winVP", "2U");
		dhxLayout.cells("b").attachObject("openButton");
		dhxTree = dhxLayout.cells("a").attachTree();
        dhxTree.setImagePath("../dhtmlxTree/codebase/imgs/csh_bluebooks/");
        dhxTree.loadXML("../___xml/tree3.xml");
    }
	function printFunction(){
		newwindow = window.open("tree3.html");
	}
</script>
[/code] [b]tree3 page[/b] [code] tree
<body onload='doOnLoad()'>
    <div id="mytree" style="width:100%; height:100%"></div>
</body>
[/code]