<HTML><HEAD></HEAD>
<BODY 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"><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"><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"><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 style="font-color: black"><B>From:</B> <A title=egbe.eguavoen@gmail.com
href="mailto:egbe.eguavoen@gmail.com">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">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">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>
<P>
<HR>
_______________________________________________<BR>Users mailing
list<BR>Users@geoext.org<BR>http://www.geoext.org/cgi-bin/mailman/listinfo/users<BR></DIV></DIV></DIV></BODY></HTML>