<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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 = ""><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
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 lang=NL vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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 ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>regards salas</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=kgeusebroek@xebia.com href="mailto:kgeusebroek@xebia.com">Kris 
  Geusebroek</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=fsalas@geocuba.cu 
  href="mailto:fsalas@geocuba.cu">fsalas</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 24, 2009 1:35 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [OpenLayers-Users] How Print 
  openlayer Maps into pdf documents</DIV>
  <DIV><BR></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Hi 
  Salas,<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">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: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">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: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><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: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Hope 
  this helps.<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">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: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Cheers 
  Kris<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN lang=EN-US 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
  <P class=MsoNormal><B><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
  lang=EN-US style="FONT-SIZE: 10pt; 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: 10pt; 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: 10pt; FONT-FAMILY: 'Arial','sans-serif'">----- Original 
  Message ----- </SPAN><o:p></o:p></P>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">From: "Kris 
  Geusebroek" &lt;</SPAN><A href="mailto:kgeusebroek@xebia.com"><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">kgeusebroek@xebia.com</SPAN></A><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">&gt;</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">To: "Alexandre 
  Dube" &lt;</SPAN><A href="mailto:adube@mapgears.com"><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">adube@mapgears.com</SPAN></A><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">&gt;; "fsalas" 
  &lt;</SPAN><A href="mailto:fsalas@geocuba.cu"><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">fsalas@geocuba.cu</SPAN></A><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">&gt;</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Cc: &lt;</SPAN><A 
  href="mailto:users@openlayers.org"><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">users@openlayers.org</SPAN></A><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">&gt;</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; 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: 10pt; 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: 10pt; 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: 10pt; FONT-FAMILY: 'Arial','sans-serif'">users-bounces@openlayers.org</SPAN></A><SPAN 
  style="FONT-SIZE: 10pt; 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: 10pt; FONT-FAMILY: 'Arial','sans-serif'">users@openlayers.org</SPAN></A><BR><SPAN 
  style="FONT-SIZE: 10pt; 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: 10pt; FONT-FAMILY: 'Arial','sans-serif'">http://trac.openlayers.org/wiki/Printing</SPAN></A><SPAN 
  style="FONT-SIZE: 10pt; 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: 10pt; FONT-FAMILY: 'Arial','sans-serif'">http://www.ros.co.nz/pdf/</SPAN></A><SPAN 
  style="FONT-SIZE: 10pt; 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: 10pt; FONT-FAMILY: 'Arial','sans-serif'">http://dev4.mapgears.com/wmsprint/</SPAN></A><BR><BR><SPAN 
  style="FONT-SIZE: 10pt; 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: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Users@openlayers.org</SPAN></A><BR><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">&gt; </SPAN><A 
  href="http://openlayers.org/mailman/listinfo/users"><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">http://openlayers.org/mailman/listinfo/users</SPAN></A><BR><SPAN 
  style="FONT-SIZE: 10pt; 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: 10pt; FONT-FAMILY: 'Arial','sans-serif'">www.mapgears.com</SPAN></A><BR><BR><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">_______________________________________________<BR>Users 
  mailing list<BR></SPAN><A href="mailto:Users@openlayers.org"><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Users@openlayers.org</SPAN></A><BR><A 
  href="http://openlayers.org/mailman/listinfo/users"><SPAN 
  style="FONT-SIZE: 10pt; 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></DIV></BLOCKQUOTE><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
<br>
</BODY></HTML>