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


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