<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Shadin,<br>
<br>
here is a working examples for a print preview with GeoExt 2:<br>
<br>
<a class="moz-txt-link-freetext" href="http://geoext.github.com/geoext2/examples/printpreview/print-preview.html">http://geoext.github.com/geoext2/examples/printpreview/print-preview.html</a><br>
<br>
The requirements are defined as follows:<br>
<br>
<pre>Ext.require([
'Ext.Window',
'GeoExt.panel.Map',
'GeoExt.data.PrintProvider',
'GeoExt.panel.PrintMap'
]);
</pre>
Maybe this pushes you forward.<br>
<br>
Best regards,<br>
Chris<br>
<br>
<br>
Am 19.09.2012 10:26, schrieb Shadin A:<br>
</div>
<blockquote cite="mid:SNT128-W554AE2D7AA8D3A5BAE7EA4B79B0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="rtl">
<div style="direction:ltr"><span style="font-family:Verdana,
Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">I am trying
to implement a print preview using GeoExt 2 : </span><br
style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<a moz-do-not-send="true"
href="https://github.com/geoext/geoext2/tree/master/examples/printpreview"
rel="nofollow" style="color:rgb(85, 26,
139);font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)"
target="_blank">https://github.com/geoext/geoext2/tree/master/examples/printpreview</a><br
style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<span style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">everything
seems OK except that when i add : </span><br
style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<b style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">Ext.require([ <br>
'GeoExt.data.MapfishPrintProvider', <br>
. <br>
. <br>
.</b><br style="font-family:Verdana, Geneva, Helvetica,
Arial, sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<span style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">I got error
says that MapfishPrintProvide.js was not found on GeoExt
path: </span><br style="font-family:Verdana, Geneva,
Helvetica, Arial, sans-serif;background-color:rgb(255, 255,
255)">
<a moz-do-not-send="true"
href="http://geoext.github.com/geoext2/src/GeoExt/"
rel="nofollow" style="color:rgb(85, 26,
139);font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)"
target="_blank">http://geoext.github.com/geoext2/src/GeoExt/</a><br
style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<br style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">
<span style="font-family:Verdana, Geneva, Helvetica, Arial,
sans-serif;background-color:rgb(255, 255, 255)">although all
other files like GeoExt.panel.PrintMap and GeoExt.panel.Map
are being loaded just okay. </span>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>