<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everyone,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm having a problem using mapserv to output a pdf 
file.</FONT></DIV>
<DIV><FONT face=Arial size=2>I using query_string from the dos commandline and 
the following is what I type:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>C:\development\MapServer\MapServer\v4.6.0\20050616_official\mapserver-4.6.0\andrewtest&gt;mapserv 
QUERY_STRING="MAP=test.map&amp;VERSION=1.1.1<BR>&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;SRS=EPSG:26711&amp;LAYERS=LVL1,LVL2,LVL3,LVL4&amp;WIDTH=1024&amp;HEIGHT=1024&amp;BGCOLOR=0xFFFFFF&amp;EXCEPTIONS=application/vn<BR>d.ogc.se.xml&amp;FORMAT=application/x-pdf" 
&gt;test.pdf</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It comes out with an error saying that the format 
is unsupported - here is the output:</FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;?xml version='1.0' encoding="ISO-8859-1" 
standalone="no" ?&gt;<BR>&lt;!DOCTYPE ServiceExceptionReport SYSTEM "<A 
href="http://schemas.opengeospatial.net/wms/1.1.1/exception_1_1_1.dtd">http://schemas.opengeospatial.net/wms/1.1.1/exception_1_1_1.dtd</A>"&gt;<BR>&lt;ServiceExceptionReport 
version="1.1.1"&gt;<BR>&lt;ServiceException 
code="InvalidFormat"&gt;<BR>msWMSLoadGetMapParams(): Image handling error. 
Unsupported output format 
(application/x-pdf).<BR>&lt;/ServiceException&gt;<BR>&lt;/ServiceExceptionReport&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've compiled mapserv to use pdflib, and it works 
when i use shp2img to create a pdf file, but I'd like to get it to work using 
WMS.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can anyone help?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Andrew</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>