<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Bob,<br>
    <br>
    &nbsp; Sounds like the "type" of PNG is causing the problem.&nbsp; Have a look
    at the properties (using gdalinfo) of the PNG image the wms produces
    (use "curl" to get and save the image.&nbsp; Is it RGB? RGBA?<br>
    <br>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 12/1/2011 7:31 AM, Bistrais, Bob wrote:
    <blockquote
cite="mid:4EFF8BB964547748A07CA32961810C041C8935B2@SOM-TEAQASMAIL1.som.w2k.state.me.us"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
      <style>
<!--
 /* Font Definitions */
 @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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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]-->
      <div class="Section1">
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size:
              10.0pt;font-family:Arial;color:navy">Hi Adam,<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size:
              10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size:
              10.0pt;font-family:Arial;color:navy">I doubt it, but I
              won&#8217;t rule out
              anything.&nbsp; But the MapServer (non-WMS) layers display
              fine, so that&#8217;s one thing
              that doesn&#8217;t make sense.<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
              style="font-size:
              10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
        <div>
          <div class="MsoNormal" style="text-align:center"
            align="center"><font face="Times New Roman" size="3"><span
                style="font-size:12.0pt">
                <hr tabindex="-1" align="center" size="2" width="100%">
              </span></font></div>
          <p class="MsoNormal"><b><font face="Tahoma" size="2"><span
                  style="font-size:10.0pt;
                  font-family:Tahoma;font-weight:bold">From:</span></font></b><font
              face="Tahoma" size="2"><span
                style="font-size:10.0pt;font-family:Tahoma"> Adam
                Eskreis
                [<a class="moz-txt-link-freetext" href="mailto:aeskreis@gmail.com">mailto:aeskreis@gmail.com</a>] <br>
                <b><span style="font-weight:bold">Sent:</span></b>
                Wednesday, November 30, 2011
                5:23 PM<br>
                <b><span style="font-weight:bold">To:</span></b>
                Bistrais, Bob<br>
                <b><span style="font-weight:bold">Cc:</span></b>
                <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
                <b><span style="font-weight:bold">Subject:</span></b>
                Re: [mapserver-users]
                Prnting WMS layers</span></font><o:p></o:p></p>
        </div>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size:
              12.0pt"><o:p>&nbsp;</o:p></span></font></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><font
            face="Times New Roman" size="3"><span
              style="font-size:12.0pt">Is it possible the issue
              is with the CSS of your print stylesheet?<o:p></o:p></span></font></p>
        <div>
          <p class="MsoNormal"><font face="Times New Roman" size="3"><span
                style="font-size:
                12.0pt">On Wed, Nov 30, 2011 at 3:30 PM, Bistrais, Bob
                &lt;<a moz-do-not-send="true"
                  href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>&gt;
                wrote:<o:p></o:p></span></font></p>
          <div link="blue" vlink="purple">
            <div>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
                  face="Arial" size="2"><span
                    style="font-size:10.0pt;font-family:Arial">Hi all,</span></font><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
                  face="Arial" size="2"><span
                    style="font-size:10.0pt;font-family:Arial">&nbsp;</span></font><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
                  face="Arial" size="2"><span
                    style="font-size:10.0pt;font-family:Arial">I&#8217;ve
                    posted
                    this to the GeoMoose list since the problem was
                    occurring in a GeoMoose
                    application, but also would like to see what
                    insights there may be here on the
                    MapServer list.&nbsp; Sorry for any duplication.</span></font><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
                  face="Arial" size="2"><span
                    style="font-size:10.0pt;font-family:Arial">&nbsp;</span></font><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
                  color="black" face="Arial" size="2"><span
                    style="font-size:10.0pt;font-family:Arial;
                    color:black">I have a few WMS layers that I consume
                    in GeoMoose. Some of these
                    are vector line layers such as roads. They look
                    correct in the application&#8217;s
                    map view. But when I compose a printable map, these
                    layers have a black
                    background which obscures other layers. If I set the
                    &#8220;transparent&#8221; property to
                    false, the black background goes away, but then I
                    can&#8217;t see any underlying
                    data. </span></font><o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
                  face="Times New Roman" size="3"><span
                    style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
                  color="black" face="Arial" size="2"><span
                    style="font-size:10.0pt;font-family:Arial;
                    color:black">By the way, I do have control over the
                    WMS services in this case.
                    I tried to set Offsite to 0 0 0, but that didn&#8217;t
                    seem to help either. The image
                    format should be png, and as best as I can tell,
                    this is what it&#8217;s
                    producing.&nbsp; The WMS is at MapServer 6.0.1, while the
                    application is at MS
                    5.6.&nbsp; It appears to be some problem with the alpha
                    channels. Any
                    suggestions?</span></font>&nbsp; <o:p></o:p></p>
              <p class="MsoNormal"
                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><font
                  face="Arial" size="2"><span
                    style="font-size:10.0pt;font-family:Arial">&nbsp;</span></font><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><font
              face="Times New Roman" size="3"><span
                style="font-size:12.0pt"><br>
                _______________________________________________<br>
                mapserver-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
                  target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></span></font></p>
        </div>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size:
              12.0pt"><o:p>&nbsp;</o:p></span></font></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
  </body>
</html>