<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I have a Map file with and Outputformat = PDF defined:</DIV>
<DIV> </DIV> OUTPUTFORMAT<BR> NAME pdf<BR> MIMETYPE "application/x-pdf"<BR> IMAGEMODE RGBA<BR> DRIVER pdf<BR> EXTENSION "pdf"<BR> FORMATOPTION "TRANSPARENT=ON"<BR> TRANSPARENT ON<BR> #FORMATOPTION "OUTPUT_TYPE=RASTER" ##not mandatory<BR> END
<DIV> </DIV>
<DIV>I call the map by sending a URL from OpenLayers:</DIV>
<DIV> </DIV>
<DIV><A href="http://10.65.192.1/cgi-bin/mapserv.exe?map=/ms4w/apps/service/gsstmpdf.map&mode=map&layers=nz50ktm+main_gates&MINX=1471766&MINY=5119253&MAXX=1475952&MAXY=5123406&mapsize=1200+1200&map.outputformat=pdf">http://10.65.192.1/cgi-bin/mapserv.exe?map=/ms4w/apps/service/gsstmpdf.map&mode=map&layers=nz50ktm+main_gates&MINX=1471766&MINY=5119253&MAXX=1475952&MAXY=5123406&mapsize=1200+1200&map.outputformat=pdf</A></DIV>
<DIV> </DIV>
<DIV>Just wondering how I can get the Browser to automatically open the returned PDF in a new window, as the file returned from Mapserver is called mapserv.exe?</DIV>
<DIV> </DIV>
<DIV>At the moment I have to download it to disk, then change its name to a PDF extension, then open it with Adobe Acrobat Reader.</DIV>
<DIV> </DIV>
<DIV>Many thanks,</DIV>
<DIV> </DIV>
<DIV>Robert</DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.<br>
------------------------------------------------------------------</td></tr></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc. </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>