<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>What we have done in our system (OpenLayers + Mapserver) is write some Javascript code to get a list of layers that are visible and the map extent from OpenLayers, then send the parameters to a Python script in our cgi-bin directory, which then sends a CGI map request to Mapserver. The returned image is turned into a PDF by the Python ReportLab module which is then returned to the calling Web page.</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV> </DIV>
<DIV>Robert Sanson<BR><BR>>>> guillaumev <guillaume@viguierjust.com> 27/04/2010 7:29 a.m. >>><BR><BR>Hi,<BR><BR>soatley > I'm trying to do the exact same thing (server side stitching of<BR>the different layers of the map). However, after using the code here:<BR><A href="http://trac.openlayers.org/wiki/Printing,">http://trac.openlayers.org/wiki/Printing,</A> the vector layers do NOT get<BR>printed. Do you have some reusable code that you would be willing to share,<BR>in order to properly print the vector layers ? Thank you.<BR>-- <BR>View this message in context: <A href="http://osgeo">http://osgeo</A>-org.1803224.n2.nabble.com/How-to-print-map-area-with-openlayers-tp4901023p4964522.html<BR>Sent from the OpenLayers Users mailing list archive at Nabble.com.<BR>_______________________________________________<BR>Users mailing list<BR>Users@openlayers.org<BR><A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR><BR></DIV><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc. </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>