[mapguide-users] Re: Generate a pdf view of the current map

Steve G steve.golden at morganhill.ca.gov
Fri Dec 10 17:13:34 EST 2010


Has anyone else succedded in getting this to work properly.  I tried but
everytime I tried to generate the PDF I got a HTTP 404 error (Page cannot be
found).  I am using MGOS 2.2.

I followed the instructions

1.  Put fpdf.php in \www\fusion\layers\MapGuide\php

2.  Changed the php.ini file as instructed

3.  Saved the given code to mappdf.php in the folder  C:\Program
Files\OSGeo\MapGuide\Web\www\fusion\widgets\Print

4. Replacing in Print.js the given openPrintable: function() with  showPdf:
function() .  I also changed "openPrintable" to "showPdf" on lines 74, 160,
and 163.

I am generating a preview from Maestro, not sure if that matters.

Thanks.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Generate-a-pdf-view-of-the-current-map-tp5264270p5824811.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list