<div dir="ltr">We did this in our project at this URL: <a href="http://www.mirame.chduero.es/DMADuero_09_Viewer">http://www.mirame.chduero.es/DMADuero_09_Viewer</a><br><br>We send all the information needed to server (J2EE webapp) and compose the image with all the checked layers in client side with their legends, even scale line.<br>
<br>If someone want to know the server side source code, please tell it to me.<br><br>Greetings<br><br><br><div class="gmail_quote">2008/8/26 Nils Weinander <span dir="ltr">&lt;<a href="mailto:nils.weinander@curalia.se">nils.weinander@curalia.se</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Erik Uzureau:<br>
<div class="Ih2E3d">&gt;<br>
&gt; In fact we do not have a good solution in place right now for printing<br>
&gt; an OL map.<br>
&gt;<br>
&gt; ...but we should. If you have done any work on this and would be interested in<br>
&gt; giving back to the community, please let us know.<br>
<br>
</div>Well, nothing that can be done client side (i.e. possible<br>
to include in OL), but we solved the print issue server<br>
side.<br>
<br>
The background map and each overlay are fetched in singleTile<br>
mode and stored as temporary files. These are then merged<br>
into one file using JAI and sent back to the browser. Then<br>
the temporary files are cleaned up in some way I can&#39;t say<br>
at the moment.<br>
<br>
--<br>
Nils Weinander &nbsp;| &nbsp;Systems Designer<br>
Phone +46 (0)8 410 064 56<br>
Mobile +46 (0)70 978 28 37<br>
--<br>
Curalia AB &nbsp;| &nbsp;<a href="http://www.curalia.se" target="_blank">www.curalia.se</a><br>
Västmannagatan 15, 111 24 Stockholm, Sweden<br>
<font color="#888888">--<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
</div></div></blockquote></div><br><br><br>
</div>