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" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <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. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
