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

tmblackflag steve.calpoly at gmail.com
Thu Oct 13 20:07:13 EDT 2011


I've followed these same steps with Jose's tweaks to print.js and mappdf.php.
I've then created an ASPX page called PrintToPDF.aspx which is tied to an
invoke URL command that loads into the task pane. The page calls the
showPdf() function in Print.js but all it does is load the Print.js text in
it's entirety into the task pane. Any ideas?

ASP.NET, C#, Windows 2K8 R2

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PrintToPDF.aspx.cs"
Inherits="PrintToPDF" %>

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

    <title></title>
</head>
<body onload="showPdf();">
    <form id="form1" runat="server">
    <div>
    
    </div>
    </form>
</body>
</html>




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


More information about the mapguide-users mailing list