<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hello Ben,</div><div><br></div><div>I don't think it's too difficult or too much work to implement some things of geoext with openlayers. A very common reference afaik is the MapFish demo, probably you know that already. There are some other tools out there, but I think they provide only png or jpg files.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Gery</div><div><br><br>Sent from my iRon</div><div><br>On May 28, 2013, at 21:25, "Benjamin Krepp" <<a href="mailto:bkrepp@ctps.org">bkrepp@ctps.org</a>> wrote:<br><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
@font-face
        {font-family:"Myriad Pro";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1555694561;
        mso-list-type:hybrid;
        mso-list-template-ids:-921402202 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><div class="WordSection1"><p class="MsoNormal">Dear colleagues,</p><p class="MsoNormal"> </p><p class="MsoNormal">I have a couple of OpenLayers apps (backed by Geoserver) to which I’d like to add the ability to print the map in .pdf format. The Geoserver Printing Module (<a href="http://docs.geoserver.org/latest/en/user/community/printing/index.html">http://docs.geoserver.org/latest/en/user/community/printing/index.html</a>) looks like it would provide the server-side support I’m looking for. </p>
<p class="MsoNormal"> </p><p class="MsoNormal">However, the documentation for the Print Module indicates that the print service it supports is meant to be used from GeoExt client-side apps. For a variety of reasons (not the least of which is budget limitations) I’m not in a position to re-implement the OL apps in question using GeoExt. </p>
<p class="MsoNormal"> </p><p class="MsoNormal">Given this, I have a couple of questions:</p><p class="MsoListParagraph" style=""><span style="">1.<span style="font:7.0pt "Times New Roman"">       </span></span>Does anyone know if a plain-vanilla OpenLayers app can successfully make use of the Geoserver Printing Module service? If anyone does, I’d appreciate reference(s) to working sample code.</p>
<p class="MsoListParagraph" style=""><span style="">2.<span style="font:7.0pt "Times New Roman"">       </span></span>If (1) is not possible, is there some approach that would work that wouldn’t require re-writing the whole app to use GeoExt? For example, might it be possible to use GeoExt only in a very limited way (e.g., manage the ‘map canvas’) and rely on the existing body of OL code to handle everything else (e.g.,  manage on-screen controls, generation/display of legends, etc.) and still be able to exploit the Print Module? If the answer is ‘yes’, pointers to sample working code would be appreciated.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Since the answer to these questions might be found in either the GeoSever or OpenLayers communities, I’m posting this inquiry to both mailing lists. My apologies if you receive these questions twice.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Thanks in advance for any help you can offer with this.</p><p class="MsoNormal"> </p><p class="MsoNormal">Best regards,</p><p class="MsoNormal">Ben Krepp</p><p class="MsoNormal">
 </p><p class="MsoNormal"> </p><p class="MsoNormal"><b><span style="font-size:9.0pt;color:black">Benjamin Krepp</span></b><b><span style="font-size:9.0pt;color:#1f9000"> </span></b><span style="font-size:9.0pt;color:#1f9000"> |  </span><span style="font-size:9.0pt;color:black">Manager of GIS and IT</span><span style="font-size:10.5pt;color:black"></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f9000">CENTRAL TRANSPORTATION PLANNING STAFF</span><span style="font-size:10.5pt;color:black"></span></p><p class="MsoNormal"><span style="font-size:9.0pt;color:black">617.973.7137</span><b><span style="font-size:9.0pt;color:#1f9000"> </span></b><span style="font-size:9.0pt;color:#1f9000"> | </span><u><span style="font-size:9.0pt;color:blue"><a href="mailto:bkrepp@ctps.org">bkrepp@ctps.org</a></span></u><span style="font-size:10.5pt;color:black"></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:black"><a href="http://www.ctps.org/bostonmpo"><span style="color:blue">www.ctps.org/bostonmpo</span></a></span><span style="font-size:10.5pt;color:black"></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Myriad Pro";color:black"><image001.png></span></p>
<p class="MsoNormal"> </p></div>
</div><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a></span><br><span><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a></span><br></div></body></html>