The GeoMoose interface does something similar. <a href="http://www.geomoose.org/moose">http://www.geomoose.org/moose</a><br><br>You might want to take a look at the server-side script that they use for creating a print image.
<br><br>David.<br><br><div class="gmail_quote">On Dec 5, 2007 11:28 PM, Eric Lemoine <<a href="mailto:eric.c2c@gmail.com">eric.c2c@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Dec 6, 2007 2:13 AM, angus scown <<a href="mailto:gus@sdx.com.au">gus@sdx.com.au</a>> wrote:<br>> You need to use a mapserver for this as the constraints of pdf are very<br>> different to a browser. Openlayer is for presentation of information in
<br>> the browser.<br>><br>> We use a php mapscript that takes the layers and then generates a single<br>> jpeg file. We send the script the current layers, the extents and size<br>> of image (same as map div).
<br><br></div>Yes. And if you have features rendered on your map that you'd like on<br>your PDF map, you can send the coords of these features to the server,<br>and have your mapscript program do the rest.<br><div class="Ih2E3d">
<br>> There are other examples to get you started if you search the mail list<br>> archive for pdf or printing.<br><br></div>Which mailing list? MapServer I suppose.<br>--<br><font color="#888888">Eric<br></font><div>
<div></div><div class="Wj3C7c">_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users" target="_blank">
http://openlayers.org/mailman/listinfo/users</a><br></div></div></blockquote></div><br>