This would be easier to debug if we could see the app in action...<div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">Thanks for your reply Steve,</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">I am unsure how I could share the app. I cannot host from my ISP and the data approaches 5 GB.</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">
<br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">I am using mapserver 5.2 on MacOsx 10.4.1 and ms4w 5.2 on WindowsXP ProSP3. The app is plain vanilla- no python, mapscript, java, or third party interfaces. Just straight html without frames, even the legend is html on the map page. The few lines of javascript I use are not app related, just invoking windows, sizing, calling a local app for gps download and the button to this one url for print.html. All files are local to the server except this client WMS layer.</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">I develop on the Mac and port to the Windows machine, The Windows machine is not connected to the WAN. I test on both machines. I set up a dummy dns on the LAN and ms4w on the Windows machine does try to connect when invoked from the main window but makes not attempt a connection for print.html, the same behavior observed on the Mac version with a real WAN connection.</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">The WMS layer loads fine in several different map templates I&#39;ve built. It is only when the URL</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">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</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">is called that mapserver does not attempt to connect the WMS layer. I suspect something is missing in the above URL.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">Thank you again,</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">bean</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">
</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">On Thu, Oct 22, 2009 at 9:05 AM, Steve Lime &lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>&gt; wrote:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">This would be easier to debug if we could see the app in action...</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt;&gt; On 10/22/2009 at 10:56 AM, in message</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; color: #0036e1"><span style="color: #000000">&lt;<a href="mailto:731ed3bb0910220856j3704b29bm61139ee355c59c3f@mail.gmail.com"><span style="text-decoration: underline">731ed3bb0910220856j3704b29bm61139ee355c59c3f@mail.gmail.com</span></a>&gt;, Ruby</span></p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; color: #0036e1"><span style="color: #000000">&lt;<a href="mailto:minerdiggins@gmail.com"><span style="text-decoration: underline">minerdiggins@gmail.com</span></a>&gt; wrote:</span></p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt; Thanks for your thoughts Dan,</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt; I reduced the output size of print.html to the same size as my map.html and</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt; still no joy.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt; mapserver never calls the WMS layer for print.html although it loads fine in</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt; my map.html.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt; bean</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt; On Thu, Oct 22, 2009 at 6:33 AM, Dan Little &lt;<a href="mailto:danlittle@yahoo.com"><span style="text-decoration: underline ; color: #0036e1">danlittle@yahoo.com</span></a>&gt; wrote:</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; The WMS service you are calling may have a limit on the size of images it</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; will return.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; ----- Original Message ----</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; color: #0036e1"><span style="color: #000000">&gt;&gt; &gt; From: Steve Lime &lt;<a href="mailto:Steve.Lime@dnr.state.mn.us"><span style="text-decoration: underline">Steve.Lime@dnr.state.mn.us</span></a>&gt;</span></p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; color: #0036e1"><span style="color: #000000">&gt;&gt; &gt; To: Ruby &lt;<a href="mailto:minerdiggins@GMAIL.COM"><span style="text-decoration: underline">minerdiggins@GMAIL.COM</span></a>&gt;; <a href="mailto:mapserver-users@lists.osgeo.org"><span style="text-decoration: underline">mapserver-users@lists.osgeo.org</span></a></span></p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; Sent: Wed, October 21, 2009 4:37:05 PM</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; Subject: Re: [mapserver-users] Print template and WMS</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; And the WMS layer&#39;s name  in question appears in the [layers] output?</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt;&gt;&gt; On 10/7/2009 at 2:20 PM, in message</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; color: #0036e1"><span style="color: #000000">&gt;&gt; &gt; &lt;<a href="mailto:731ed3bb0910071220x4943b5beqc22f4516b86eed79@mail.gmail.com"><span style="text-decoration: underline">731ed3bb0910071220x4943b5beqc22f4516b86eed79@mail.gmail.com</span></a>&gt;, Ruby</span></p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; wrote:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; Greetings,</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; I employ a print function via javascript button in an HTML map</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; template. The</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; print template produces a higher resolution version of the existing map</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; in a</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; new window. The print form I am using works perfectly except for my</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; single</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; WMS client layer, all other layers display except this one. The WMS</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; layer</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; displays correctly in my main map window. The tmp file image does not</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; include the WMS data.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; Can anyone please guide me in including the WMS data in my print</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; template? I</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; would rather not call the WMS server again for my print template as</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; connections to this server are very slow. All other data is stored</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; locally.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt; Below are my javascript call button and the HTML print template.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt; &gt; &gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial">&gt;&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Arial; min-height: 12.0px"><br></p>
<br class="Apple-interchange-newline"><p></p></div>