<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=NL link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi salas,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You can ask your map for the current bbox. I believe its called
getBounds() function.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers Kris<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> fsalas [mailto:fsalas@geocuba.cu] <br>
<b>Sent:</b> Thursday, September 24, 2009 2:42 PM<br>
<b>To:</b> Kris Geusebroek<br>
<b>Cc:</b> users@openlayers.org<br>
<b>Subject:</b> Re: [OpenLayers-Users] How Print openlayer Maps into pdf
documents<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks
Kris, I find the example in geoserver but , how i can change the BBox
dinamicaly in my code , for example when I zoom the region I need print this
maps How I can make this ?</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>regards
salas</span><o:p></o:p></p>

</div>

<blockquote style='border:none;border-left:solid black 1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>-----
Original Message ----- <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='background:#E4E4E4'><b><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'> <a href="mailto:kgeusebroek@xebia.com"
title="kgeusebroek@xebia.com">Kris Geusebroek</a> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>To:</span></b><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'> <a
href="mailto:fsalas@geocuba.cu" title="fsalas@geocuba.cu">fsalas</a> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Sent:</span></b><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'> Thursday, September
24, 2009 1:35 AM<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Subject:</span></b><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'> RE:
[OpenLayers-Users] How Print openlayer Maps into pdf documents<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Salas,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If you have a installation of geoserver you can find an example
in the map preview demo section (just like the OpenLayers examples<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>For example something like this (you need to change the bbox,
srs and layer according to your data)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a
href="http://localhost:8080/geoserver/wms?bbox=-14231.825,274059.86,305770.825,651904.14&amp;styles=&amp;Format=application/pdf&amp;request=GetMap&amp;version=1.1.1&amp;layers=testLayer&amp;width=516&amp;height=550&amp;srs=EPSG:28992">http://localhost:8080/geoserver/wms?bbox=-14231.825,274059.86,305770.825,651904.14&amp;styles=&amp;Format=application/pdf&amp;request=GetMap&amp;version=1.1.1&amp;layers=testLayer&amp;width=516&amp;height=550&amp;srs=EPSG:28992</a><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hope this helps.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Remember that this will only allow you to generate pdf of layers
you server with geoserver and not for example a google baselayer<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers Kris<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> fsalas [mailto:fsalas@geocuba.cu] <br>
<b>Sent:</b> Thursday, September 24, 2009 1:07 AM<br>
<b>To:</b> Kris Geusebroek<br>
<b>Subject:</b> Re: [OpenLayers-Users] How Print openlayer Maps into pdf
documents<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Kris,
</span><span style='font-family:"Arial","sans-serif"'>Thanks, but I need an
example of like make wms request with format application/pdf</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>can you help
me?</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>regards Salas</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>-----
Original Message ----- </span><o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>From:
&quot;Kris Geusebroek&quot; &lt;</span><a href="mailto:kgeusebroek@xebia.com"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>kgeusebroek@xebia.com</span></a><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>To:
&quot;Alexandre Dube&quot; &lt;</span><a href="mailto:adube@mapgears.com"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>adube@mapgears.com</span></a><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;;
&quot;fsalas&quot; &lt;</span><a href="mailto:fsalas@geocuba.cu"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>fsalas@geocuba.cu</span></a><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Cc:
&lt;</span><a href="mailto:users@openlayers.org"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>users@openlayers.org</span></a><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Sent:
Wednesday, September 02, 2009 3:34 PM</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Subject:
RE: [OpenLayers-Users] How Print openlayer Maps into pdf documents</span><o:p></o:p></p>

</div>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi,<br>
<br>
If you are using geoserver you can create a wms request with format
application/pdf et volia!<br>
<br>
Cheers Kris<br>
<br>
-----Original Message-----<br>
From: </span><a href="mailto:users-bounces@openlayers.org"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>users-bounces@openlayers.org</span></a><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>
[mailto:users-bounces@openlayers.org] On Behalf Of Alexandre Dube<br>
Sent: Wednesday, September 02, 2009 5:29 PM<br>
To: fsalas<br>
Cc: </span><a href="mailto:users@openlayers.org"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>users@openlayers.org</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Subject: Re:
[OpenLayers-Users] How Print openlayer Maps into pdf documents<br>
<br>
Hi,<br>
<br>
&nbsp; Did you read </span><a href="http://trac.openlayers.org/wiki/Printing"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://trac.openlayers.org/wiki/Printing</span></a><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ?<br>
<br>
&nbsp; About eh ezpdf class extension, are you talking about this : <br>
</span><a href="http://www.ros.co.nz/pdf/"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>http://www.ros.co.nz/pdf/</span></a><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'> ?&nbsp; If so,
that's the lib I used with <br>
phpMapScript to accomplish some printing, but it supports WMS only and I <br>
use Ext to make my form.&nbsp; So take this example as a proof of concept <br>
only.&nbsp; See at :&nbsp; <br>
&nbsp;&nbsp;&nbsp; </span><a href="http://dev4.mapgears.com/wmsprint/"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://dev4.mapgears.com/wmsprint/</span></a><br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp; MapFish
has a much more better printing tool and it supports Vector <br>
features printing.<br>
<br>
Best of luck,<br>
<br>
Alexandre<br>
<br>
fsalas wrote:<br>
&gt; Hi all,<br>
&gt;&nbsp; <br>
&gt; I'm trying to print the current image maps into pdf documents <br>
&gt; using the&nbsp; *EZPDF Class Extension,* but don´t work.<br>
&gt;&nbsp; <br>
&gt; some body know how i cant implement this.<br>
&gt;&nbsp; <br>
&gt; Thanks ,<br>
&gt;&nbsp; <br>
&gt; salas<br>
&gt;<br>
&gt; ___________________________________<br>
&gt; Dirección de Comunicaciones<br>
&gt; Grupo Empresarial GEOCUBA<br>
&gt; Este mensaje esta libre de virus.<br>
&gt; Revisado por Kaspersky Antivirus<br>
&gt; ----------------------------------------------------------------------<br>
&gt; Definition count: 2365875 Definition date: 8/11/2009 SecurityPlus <br>
&gt; version: 3.0.5<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; </span><a href="mailto:Users@openlayers.org"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Users@openlayers.org</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt; </span><a
href="http://openlayers.org/mailman/listinfo/users"><span style='font-size:
10.0pt;font-family:"Arial","sans-serif"'>http://openlayers.org/mailman/listinfo/users</span></a><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&gt;&nbsp;&nbsp;
<br>
<br>
<br>
-- <br>
Alexandre Dubé<br>
Mapgears<br>
</span><a href="http://www.mapgears.com"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>www.mapgears.com</span></a><br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>_______________________________________________<br>
Users mailing list<br>
</span><a href="mailto:Users@openlayers.org"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>Users@openlayers.org</span></a><br>
<a href="http://openlayers.org/mailman/listinfo/users"><span style='font-size:
10.0pt;font-family:"Arial","sans-serif"'>http://openlayers.org/mailman/listinfo/users</span></a><br>
<br>
___________________________________<br>
Dirección de Comunicaciones<br>
Grupo Empresarial GEOCUBA<br>
Este mensaje esta libre de virus. <br>
Revisado por Kaspersky Antivirus<br>
----------------------------------------------------------------------<br>
Definition count: 2618974 Definition date: 9/23/2009 SecurityPlus version:
3.0.5 <o:p></o:p></p>

</blockquote>

<p class=MsoNormal><br>
___________________________________<br>
Dirección de Comunicaciones<br>
Grupo Empresarial GEOCUBA<br>
Este mensaje esta libre de virus. <br>
Revisado por Kaspersky Antivirus<br>
----------------------------------------------------------------------<br>
Definition count: 2645353 Definition date: 9/24/2009 SecurityPlus version:
3.0.5 <o:p></o:p></p>

</div>

</body>

</html>