<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Kalyan,<br>
<br>
this sound for me that you have to send the settings of your visible
layers in the map (wms-url, layer name, extent, srs...) to your
server and render it again on the server. This is actually what the
MapFish print module does. It receives a configuration object
describing the map state and renders it again an makes a PDF out of
it.<br>
<br>
Maybe you have a look at this
(<a class="moz-txt-link-freetext" href="http://dev.mapfish.org/sandbox/website/.build/html/mapfish_print.html">http://dev.mapfish.org/sandbox/website/.build/html/mapfish_print.html</a>)<br>
<br>
Best regards,<br>
Chris <br>
<div class="moz-signature">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
#signature {
color: #333 !important;
font-family: monospace;
                        font-size: 12px;
padding: 10px;
line-height: 1.5em;
}
#highlight-container {
padding: 5px;
width: 450px;
margin: 30px 0;
border-width: 0px 0 0px 0;
border-right-width: 0;
border-left-width: 0;
border-style: dotted;
border-color: #333;
}
#signature a,
#signature a:link,
#signature a:visited,
#signature a:hover,
#signature a:active {
color: darkblue !important;
}
#signature address {
font-style: normal;
}
#col-container {
width: 550px;
}
#col-1 {
width: 180px; float: left;
}
#col-2 {
width: 320px; float: left;
}
#col-clear {
clear: both; padding-top: 30px;
}
#signature img {
margin-top:10px;
}
#col-container p,
#col-container address {
margin: 4px 0 0 0;
}
#signature .no-margin {
margin: 0;
}
</style>
<div id="signature">
<div id="col-container"><br>
</div>
</div>
</div>
<br>
Am 21.03.2011 06:04, schrieb Kalyan Kamepalli:
<blockquote
cite="mid:AANLkTikwDNUA3SGuqu+h-bzcP9u4WMpXUTOcJGX3UUxW@mail.gmail.com"
type="cite">
<div dir="ltr"><font color="#000066"><font size="2"><font
face="arial,helvetica,sans-serif">Hi, </font></font></font>
<div><font color="#000066"><font size="2"><font
face="arial,helvetica,sans-serif"><br>
</font></font></font></div>
<div><font color="#000066"><font size="2"><font
face="arial,helvetica,sans-serif">I want to save the
current map of my application ( Openlayers map ) as an
image on my server box and then send it as an email
attachment to different people. How is it possible.
Sending emails from server is not of a great deal but
how to access current map on the client and save it as
an image on server ? did any one worked on such things ?
Any suggestions or solutions ?? </font></font></font></div>
<div><font color="#000066"><font size="2"><font
face="arial,helvetica,sans-serif"><br>
</font></font></font></div>
<div><font color="#000066"><font size="2"><font
face="arial,helvetica,sans-serif">I use JBOSS as my
webserver and EJBs as my web services. </font></font></font></div>
<div><font color="#000066"><font size="2"><font
face="arial,helvetica,sans-serif"><br>
</font></font></font></div>
<div><font color="#000066"><font size="2"><font
face="arial,helvetica,sans-serif">Thanks,</font></font></font></div>
<div><font color="#000066"><font size="2"><font
face="arial,helvetica,sans-serif">Kalyan</font></font></font></div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
</blockquote>
</body>
</html>