Thanks alot for the help Matt. For some reason, I still can't get it print in another format other than PDF. So I have decided to stick to PDF print (print preview) for now but would revisit later.<br><br>Many Thanks,<br>
Egbe<br><br><br><div class="gmail_quote">On 12 July 2011 17:05, Matt Priour <span dir="ltr"><<a href="mailto:mpriour@kestrelcomputer.com">mpriour@kestrelcomputer.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">
<div dir="ltr">
<div style="font-family:'Arial';color:#000000;font-size:10pt">
<div>Check out these:</div>
<div>Print Map Panel</div>
<div><a href="http://dev.geoext.org/docs/lib/GeoExt/widgets/PrintMapPanel.html" target="_blank"><font face="Times New Roman"><font style="font-size:12pt">http://dev.geoext.org/docs/lib/GeoExt/widgets/PrintMapPanel.html</font></font></a><font face="Times New Roman"><font style="font-size:12pt"> </font></font></div>
<div> </div>
<div>Print Extent Plugin</div>
<div><a href="http://dev.geoext.org/docs/lib/GeoExt/plugins/PrintExtent.html" target="_blank"><font face="Times New Roman"><font style="font-size:12pt">http://dev.geoext.org/docs/lib/GeoExt/plugins/PrintExtent.html</font></font></a><font face="Times New Roman"><font style="font-size:12pt"> </font></font></div>
<div> </div>
<div> </div>
<div>Print Preview Example</div>
<div><a href="http://dev.geoext.org/trunk/geoext/examples/print-preview.html" target="_blank"><font face="Times New Roman"><font style="font-size:12pt">http://dev.geoext.org/trunk/geoext/examples/print-preview.html</font></font></a><font face="Times New Roman"><font style="font-size:12pt"> </font></font></div>
<div> </div>
<div style="font-family:'Arial';color:#000000;font-size:10pt">Matt
Priour<br>Kestrel Computer Consulting</div>
<div> </div>
<div> </div>
<div style="font-style:normal;display:inline;font-family:'Calibri';color:#000000;font-size:small;font-weight:normal;text-decoration:none">
<div style="font:10pt tahoma">
<div> </div>
<div style="background:#f5f5f5">
<div><b>From:</b> <a title="egbe.eguavoen@gmail.com" href="mailto:egbe.eguavoen@gmail.com" target="_blank">egbe eguavoen</a> </div>
<div><b>Sent:</b> Tuesday, July 12, 2011 8:42 AM</div>
<div><b>To:</b> <a title="users@geoext.org" href="mailto:users@geoext.org" target="_blank">users@geoext.org</a> </div>
<div><b>Subject:</b> [Users] Help with Geoext Print</div></div></div>
<div> </div></div>
<div style="font-style:normal;display:inline;font-family:'Calibri';color:#000000;font-size:small;font-weight:normal;text-decoration:none"><div><div></div><div class="h5">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: "GET", // "POST" 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: "Test Print"<br>
}<br> });<br><br clear="all">..........................<br>
new
GeoExt.Action({<br>
control: new
OpenLayers.Control.Button(),<br>
text:
"Print...",<br>
map:
map,<br>
iconCls:
"print",<br>
icon:
"img/print.png",<br>
enableToggle:
false,<br>
tooltip: "Print current
view",<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>
</div></div><p>
</p><hr>
_______________________________________________<br>Users mailing
list<br><a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a><br><a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<p><br></p></div></div></div></div>
</blockquote></div>