<div>Greetings,</div><div><br></div><div>I employ a print function via javascript button in an HTML map template. The print template produces a higher resolution version of the existing map in a new window. The print form I am using works perfectly except for my single WMS client layer, all other layers display except this one. The WMS layer displays correctly in my main map window. The tmp file image does not include the WMS data.</div>
<div><br></div><div>Can anyone please guide me in including the WMS data in my print template? I would rather not call the WMS server again for my print template as connections to this server are very slow. All other data is stored locally.</div>
<div><br></div><div>Below are my javascript call button and the HTML print template.</div><div><br></div><div>&lt;script language=&quot;javascript&quot;&gt; </div><div>  function printmap() {</div><div>    var url =</div>
<div>&quot;http:/localhost:8888/cgi-bin/mapserv?map=[map]&amp;mapext=[mapext]&amp;layers=[layers]&amp;map_web=TEMPLATE+pgs/print.html&amp;mapsize=1500+1182&quot;;</div><div>    // alert(url);</div><div>    window.open(url);</div>
<div>  }</div><div><br></div><div>&lt;html&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;title&gt;Print Map&lt;/title&gt;</div><div>      &lt;input type=&quot;hidden&quot; name=&quot;imageurl&quot; value=&quot;localhost:8888/tmp/&quot;&gt;</div>
<div>      &lt;input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;checked&quot;&gt;</div><div>    &lt;tr&gt; </div><div>      &lt;table width=&quot;1612&quot; height=&quot;1238&quot; bgcolor=&quot;#9B9B9B&quot;&gt;</div>
<div>          &lt;input name=&quot;img&quot; type=&quot;image&quot; src=&quot;http://localhost:8888[img]&quot; </div><div>                   width=1500 height=1182 border=0&gt;</div><div>          &lt;/td&gt;</div><div>&lt;/html&gt;</div>
<div><br></div><div>Thank You,</div><div>bean</div><div><br></div>