<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You need to use the MapFish print service (J2EE).<div><br></div><div>The MapFish print service will call Mapserver.</div><div><br></div><div>Best regards,</div><div>Bart</div><div><br><div><div>On Jul 7, 2010, at 4:21 PM, Paul james wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello guys...<br><br>I´m trying to use the PrintProvider ... But I dont know what should I put in URL config ...<br><br>From example page :<br><br><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: 'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif; font-size: 14px; line-height: 21px; text-align: left;"><pre style="margin: 0px; padding: 0.5em; overflow: auto; font-family: Consolas,'Deja Vu Sans Mono','Bitstream Vera Sans Mono',monospace; font-size: 0.8em; letter-spacing: 0.015em; line-height: 13px; border: 1px solid rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><span class="kd" style="color: rgb(0, 112, 32); font-weight: bold;">var</span> <span class="nx">printProvider</span> <span class="o" style="color: rgb(102, 102, 102);">=</span> <span class="k" style="color: rgb(0, 112, 32); font-weight: bold;">new</span> <span class="nx">GeoExt</span><span class="p">.</span><span class="nx">data</span><span class="p">.</span><span class="nx">PrintProvider</span><span class="p">({</span><br>
    <span class="nx">url</span><span class="o" style="color: rgb(102, 102, 102);">:</span> <span class="s2" style="color: rgb(64, 112, 160);">"/geoserver/pdf"</span><span class="o" style="color: rgb(102, 102, 102);">,</span><br>
    <span class="nx">listeners</span><span class="o" style="color: rgb(102, 102, 102);">:</span> <span class="p">{</span><br>        <span class="s2" style="color: rgb(64, 112, 160);">"loadcapabilities"</span><span class="o" style="color: rgb(102, 102, 102);">:</span> <span class="kd" style="color: rgb(0, 112, 32); font-weight: bold;">function</span><span class="p">()</span> <span class="p">{</span><br>
            <span class="kd" style="color: rgb(0, 112, 32); font-weight: bold;">var</span> <span class="nx">printPage</span> <span class="o" style="color: rgb(102, 102, 102);">=</span> <span class="k" style="color: rgb(0, 112, 32); font-weight: bold;">new</span> <span class="nx">GeoExt</span><span class="p">.</span><span class="nx">data</span><span class="p">.</span><span class="nx">PrintPage</span><span class="p">({</span><br>
                <span class="nx">printProvider</span><span class="o" style="color: rgb(102, 102, 102);">:</span> <span class="nx">printProvider</span><br>            <span class="p">});</span><br>            <span class="nx">printPage</span><span class="p">.</span><span class="nx">fit</span><span class="p">(</span><span class="nx">mapPanel</span><span class="o" style="color: rgb(102, 102, 102);">,</span> <span class="kc" style="color: rgb(0, 112, 32); font-weight: bold;">true</span><span class="p">);</span><br>
            <span class="nx">printProvider</span><span class="p">.</span><span class="nx">print</span><span class="p">(</span><span class="nx">mapPanel</span><span class="o" style="color: rgb(102, 102, 102);">,</span> <span class="nx">printPage</span><span class="p">);</span><br>
        <span class="p">}</span><br>    <span class="p">}</span><br><span class="p">});</span></pre></span></span><br>Thanks<br><br>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@geoext.org">Users@geoext.org</a><br>http://www.geoext.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></body></html>