Hello All,<br><br>I am new to Geoext and i am trying to embed print capabilities. I can get print PDF to work, but i am struggling trying to figure out how to perform a straight print (and a HTML preview) no legend, no scale bar, no footer....just to print the map when the Print button is selected.<br>
<br><br><i>    var printProvider = new GeoExt.data.PrintProvider({<br>        method: &quot;GET&quot;, // &quot;POST&quot; recommended for production use<br>        capabilities: printCapabilities, // provide url instead for lazy loading<br>
        }<br>    });<br>......<br>    printPage = new GeoExt.data.PrintPage({<br>        printProvider: printProvider,<br>        customParams: {<br>            mapTitle: &quot;Test Print&quot;<br>        }<br>    });<br>
<br clear="all">..........................<br>            new GeoExt.Action({<br>                 control: new OpenLayers.Control.Button(),<br>                 text: &quot;Print...&quot;,<br>                 map: map,<br>
                 iconCls: &quot;print&quot;,<br>                 icon: &quot;img/print.png&quot;,<br>                 enableToggle: false,<br>                 tooltip: &quot;Print current view&quot;,<br>                 handler: function(){<br>
                                    // convenient way to fit the print page to the visible map area<br>                                    printPage.fit(mapPanel, true);<br>                                    // print the page<br>
                                    printProvider.print(mapPanel, printPage);<br>            }<br>})<br></i><br><br>Any help would be highly appreciated.<br><br>Kind Regards,<br>Egbe<br><br>