<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>[Maybe SPAM] Re: [UMN_MAPSERVER-USERS] Printing WMS layers in ArcMap 9.0</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText98904 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Cheers Mike.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr>I've actually just found the answer in one of ESRI's user 
forums:</DIV>
<DIV dir=ltr><A 
href="http://forums.esri.com/Thread.asp?c=132&amp;f=1341&amp;t=157673&amp;mc=2">http://forums.esri.com/Thread.asp?c=132&amp;f=1341&amp;t=157673&amp;mc=2</A></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Just in case that link moves:</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><!--StartFragment --><TR><TH><FONT 
size=2><EM>Subject</TH>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <TD class=postvalue>Re: 
print wms service&nbsp;</TD> </EM></FONT></DIV>
<DIV dir=ltr></TR><TR><TH><FONT 
size=2><EM>Author</TH>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <TD 
class=postvalue>Graeme Browning&nbsp;</TD> </EM></FONT></DIV>
<DIV dir=ltr></TR><TR><TH><FONT 
size=2><EM>Date</TH>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<TD 
class=postvalue>May&nbsp;10, 2005&nbsp;</TD> </EM></FONT></DIV>
<DIV dir=ltr><FONT size=2></TR><TR><TH><EM></EM></FONT></DIV>
<DIV dir=ltr><FONT size=2><EM>Message</TH>&nbsp;&nbsp;&nbsp; </EM></FONT></DIV>
<DIV dir=ltr><FONT size=2><EM></EM></FONT>&nbsp;</DIV>
<DIV dir=ltr><TD class=postvalue><FONT size=2><EM>Hi Bastian <BR><BR>I came 
across something similar trying to use Export Map to PDF on a WMS layer that 
exported fine to JPG and was given this advice: <BR><BR>"My guess is the JPG 
files export without problems because they at drawing at a resolution of 96 dpi. 
This is the default resolution for JPG exports. PDF exports, however, have a 
default resolution of 300 dpi. We've reproduced the draw failure here, it occurs 
in all formats when resolution is 300 dpi. The service layers are dropped in all 
export formats and during printing. This confirms that the failure is occuring 
at draw time. <BR><BR>We looked further into the issue, and identified a 
limitaion on the server's end as the cause of the draw failure. When we peeked 
at the server's response from the request sent during the 300 dpi export, it 
returned an exception message stating, "Image is wider than maximum allowed 
width of 2000". In order to draw the service layer at a resolution of 300 dpi, 
ArcMap had requested an image of width=3063 height=2619. The server raised the 
exception instead of returning the image. <BR><BR>While this layer draw failure 
is not caused by our export implementation, we probably need to do a better job 
of providing feedback when exceptions occur during output. When pixel size limit 
errors occur on draw to the screen, ArcMap displays an information dialog to 
inform the user of the exception. Output, however, does not provide any feedback 
mechanism. For now, the only workaround I can recommend is outputing your PDF 
file at a lower resolution, something close to 96 dpi. " <BR><BR>In my case 
turning the resolution down to 150dpi achieved the result I was looking for - 
perhaps you can try doing the same. <BR><BR>- Graeme&nbsp;</TD> 
</TR><TR><TH>&nbsp;</TH> </EM></FONT></DIV>
<DIV dir=ltr><FONT size=2><EM></EM></FONT>&nbsp;</DIV>
<DIV dir=ltr><TD class=signature><FONT size=2><EM>Graeme Browning <BR>ESRI 
Australia&nbsp;</TD></TR> </EM></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr>While this was talking about&nbsp;JPG files, the problem was 
similar with .emf files. I tried exporting to .emf at 200 dpi instead of the 
default 300, and the image came out OK. When you go to print, you can't specify 
the dpi numerically, but there's a "Output Image Quality" slider from Fast -&gt; 
Normal -&gt; Best. I changed it to 'Fast' (default is 'Best'), and it printed 
(and previewed - but you have to cancel out of the Print dialog in order to 
preview) fine.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Hopefully this info saves somebody else from the puzzled few days I 
just had :)</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Cheers,</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Bonnie</DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature81740 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2><FONT face=Helv size=2>
<DIV>________________________________</DIV>
<DIV>Bonnie Stewart</DIV>
<DIV>Research Officer</DIV>
<DIV>Satellite Remote Sensing Services</DIV>
<DIV>Department of Land Information</DIV>
<DIV>&nbsp;</DIV>
<DIV>Email: <A 
href="mailto:Bonnie.Stewart@dli.wa.gov.au">Bonnie.Stewart@dli.wa.gov.au</A></DIV>
<DIV>Phone: 9387 0342</DIV></FONT></FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List on behalf of Mike 
Davis<BR><B>Sent:</B> Mon 30/05/2005 3:23 PM<BR><B>To:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [Maybe SPAM] Re: 
[UMN_MAPSERVER-USERS] Printing WMS layers in ArcMap 9.0<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Bonnie-<BR><BR>We use ArcMap extensively and it has become 
standard practice in our<BR>GIS shop to export everything to .pdf before 
printing.<BR><BR>I am not sure about WMS bugs specifically, but the various 
other<BR>problems we have encountered while trying to print maps from 
the<BR>modern (8.x 9.x) Arc programs are often solved by using .pdf.<BR><BR>good 
luck<BR><BR>-Mike<BR><BR>On 5/29/05, Bonnie Stewart 
&lt;Bonnie.Stewart@dli.wa.gov.au&gt; wrote:<BR>&gt;&nbsp;<BR>&gt; Hi 
all,<BR>&gt;&nbsp;&nbsp;<BR>&gt; Technically, I suspect this question would be 
more appropriate for an ArcGIS<BR>&gt; users forum, but from what I can find 
there's not a lot of help out there on<BR>&gt; ArcGIS issues, so I was hoping 
someone else from the Mapserver-users<BR>&gt; community might be using ArcMap, 
and might have encountered this issue<BR>&gt; 
before.<BR>&gt;&nbsp;&nbsp;<BR>&gt; I've got a couple of mapfiles up and running 
which are include various<BR>&gt; vector and raster layers, and mostly I'm 
accessing them via ArcMap 9.0.<BR>&gt; However, I'm having trouble getting 
ArcMap to print my WMS images - print<BR>&gt; preview always comes up blank, and 
if you go ahead and print a page anyway,<BR>&gt; it's 
blank.<BR>&gt;&nbsp;&nbsp;<BR>&gt; ArcMap's Help says that ArcMap converts maps 
to .emf (Windows Enhanced<BR>&gt; Metafile) for printing, and suggests manually 
doing an export to .emf and<BR>&gt; then opening up the .emf to see where the 
problem lies. Well, I've done<BR>&gt; this, and the .emf comes out entirely 
blank. To compare, I've tried<BR>&gt; exporting to .bmp, and that comes out 
fine.<BR>&gt;&nbsp;&nbsp;<BR>&gt; Is there a problem with exporting WMS images 
to .emf?<BR>&gt; Is it possible to get ArcMap to print from a different export 
format?<BR>&gt;&nbsp;&nbsp;<BR>&gt; I have absolutely no GIS experience, so it's 
probably something very<BR>&gt; obvious, but all help would be much 
appreciated!<BR>&gt;&nbsp;&nbsp;<BR>&gt; (Would be happy to provide the mapfiles 
etc, but as I can print fine in<BR>&gt; Internet Explorer, and ArcExplorer 4, I 
don't think it's an issue with the<BR>&gt; 
mapfiles..)<BR>&gt;&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp;<BR>&gt; 
Cheers,<BR>&gt;&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp;<BR>&gt; 
Bonnie<BR>&gt;&nbsp;&nbsp;<BR>&gt;&nbsp;<BR>&gt; 
________________________________<BR>&gt; Bonnie Stewart<BR>&gt; Research 
Officer<BR>&gt; Satellite Remote Sensing Services<BR>&gt; Department of Land 
Information<BR>&gt;&nbsp;&nbsp;<BR>&gt; Email: 
Bonnie.Stewart@dli.wa.gov.au<BR>&gt; Phone: 9387 
0342<BR>&gt;&nbsp;<BR>&gt;&nbsp; This e-mail and any files transmitted with it 
are intended only for the use<BR>&gt; of the addressee(s). It may contain 
information that is confidential and<BR>&gt; privileged. If you are not an 
intended recipient, any use, interference<BR>&gt; with, disclosure, distribution 
or copying of this material is unauthorised<BR>&gt; and prohibited. If you 
receive this in error, please notify the author by<BR>&gt; Return email to the 
sender. Information in this message not relating to the<BR>&gt; official 
business of DLI shall be understood as neither given nor endorsed<BR>&gt; by it. 
While every care is taken, it is recommended that you scan any<BR>&gt; 
attachments for viruses. DLI liability is limited to re-supplying 
affected<BR>&gt; attachments.<BR>&gt;<BR></FONT></P></DIV>

<FONT SIZE=3><BR>
<BR>
This e-mail and any files transmitted with it are intended only for the use of the addressee(s).  It may contain information that is confidential and privileged.  If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this in error, please notify the author by Return email to the sender. Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it.  While every care is taken, it is recommended that you scan any attachments for viruses. DLI liability is limited to re-supplying affected attachments.<BR>
</FONT>
</BODY>
</HTML>