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

2011-10-13 Thread tmblackflag
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

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

2011-10-10 Thread Pedro VenĂ¢ncio
Hello everyone, Excellent sharing Ram282! I made all these changes, but when I use the Fusion Print on an application created in Maestro, the print works as before, with normal printablepage. I am using the original print widget, it is necessary to make any changes to the widget in Maestro? I

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

2011-10-05 Thread Zac Spitzer
that would be a great enhancement for fusion! fPDF doesn't look like it supports geo-pdf tho, just raster On Thu, Oct 6, 2011 at 3:52 PM, Mauricio Villablanca < mgvillabla...@yahoo.com> wrote: > The fpdf PHP library is independent of whatever client you use, Fusion, > HTML, > Flash etc. > > -- >

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

2011-10-05 Thread Mauricio Villablanca
The fpdf PHP library is independent of whatever client you use, Fusion, HTML, Flash etc. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Generate-a-pdf-view-of-the-current-map-tp5264270p6864861.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

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

2011-10-03 Thread tmblackflag
silly question but will this only work for the fusion viewer or can I incorporate it into the basic ajaxviewer? i also need to be able to print to PDF as we want to refrain from installing the DWF viewer on all of our client machines. -- View this message in context: http://osgeo-org.1803224.n2

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

2010-12-17 Thread Michael Adair
If this is a Fusion issue, can I get one of you to create a ticket with this info, or even better a patch, on the Fusion Trac system to make sure this doesn't get lost? http://trac.osgeo.org/fusion/ Mike On 16/12/2010 4:41 PM, Steve G wrote: I didn't need luck, just your help!!! Your change

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

2010-12-16 Thread Steve G
I didn't need luck, just your help!!! Your changes worked. Just to note: mappdf.php 118 $tempMapImgPath .= $ImageType.$sessionId.time().$ImageFormat; // (dot before equal) on saveImage function Should be at line 128 Also, you need to have a "fonts" folder in the same directory as fp

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

2010-12-16 Thread Jose Cerrejon
I just get it to work. Here is you missing: Print.js ... 58 this.printablePdfURL = Fusion.getFusionURL() + widgetTag.location + 'Print/mappdf.php';// new line mappdf.php 21 $tempMapImgPath = "c:\\program files\\OSGeo\\MapGuide\\Server\\Temp\\"; // your temp directory ... 118

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

2010-12-10 Thread Steve G
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 ins

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

2010-07-09 Thread Nick Sebastyan
ation that will do that, but I do not know if our clients will allow me to post the code after I finish it. :( From: ram282 To: mapguide-users@lists.osgeo.org Sent: Fri, July 9, 2010 7:18:25 AM Subject: [mapguide-users] Re: Generate a pdf view of the current ma

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

2010-07-09 Thread ram282
I tried to use file_get_contents(), but i didn't get the result. Anyway please share this on wiki... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Generate-a-pdf-view-of-the-current-map-tp5264270p5273266.html Sent from the MapGuide Users mailing list archive at Nabble.c

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

2010-07-08 Thread Jason Birch
Oh, very cool. Thanks very much for sharing. With your permission, I'll post this on our wiki. For others, FPDF is here: http://www.fpdf.org/ I think you may be able to avoid the use of cURL with file_get_contents(), though cURL is pretty darn useful in general. Jason On 8 July 2010 21:18, r

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

2010-07-08 Thread ram282
I had successfully generated pdf in this way In this, I am temporarily saving the image files and after generating the pdf, I am deleting them. Yo should require the php file called fpdf.php, through which u are going to generate the pdf. And I also changed some configuration settings in

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

2010-07-07 Thread Jason Birch
If anyone's figured this out, with code, it would awesome to see simple tutorials for each of the supported languages up on the Wiki. This is a pretty common request. Jason On 7 July 2010 07:06, ram282 wrote: > > we can also use the fpdf library to generate pdf files > using the fdpf you can ge

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

2010-07-07 Thread ram282
we can also use the fpdf library to generate pdf files using the fdpf you can generate pdf where you can include the map and legend images in the pdf. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Generate-a-pdf-view-of-the-current-map-tp5264270p5265427.html Sent from t

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

2010-07-07 Thread David Hequet
Hi, If you want good quality pdf, you have to code it! Using ths API you can render image and embed it in pdf using pdf tools (look at itextsharp pour C# or tcpdf for php). One good trick to simulate good looking pdf is rendering "big image" that you embed in your pdf, IE: calculate the image si