[mapserver-users] PDF Generation - file suffix?

Fawcett, David (MPCA) david.fawcett at state.mn.us
Wed Aug 17 09:49:32 EDT 2011


I don't want to pollute Jukka's thread about large .pdf creation, so I am forking it.  

The .pdf file generated by his request renders fast and looks nice, but the file doesn't have a .pdf suffix.  This confused my browser and didn't automatically associate the file with Acrobat Reader.  

This isn't a huge issue for me as a user, but if I am developing something for a more general audience, it will be a problem.  

Is there a way to ensure that the generated .pdf has the correct file suffix?

http://188.64.1.61/cgi-bin/osm-mapserver_i?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=864&HEIGHT=662&LAYERS=default&TRANSPARENT=TRUE&FORMAT=application/x-pdf&BBOX=3409763.750050978,6956187.032331026,3411904.266676571,6957827.104097395&SRS=EPSG:2393&STYLES=


David.





More information about the mapserver-users mailing list