[mapguide-users] Print Layout - 2 questions...

BradM masonb at dfo-mpo.gc.ca
Thu Oct 16 12:10:49 EDT 2008


With respect to printing,  can we print to PDF and can we specify the DPI so
that images will print with a higher resolution?


Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> To the best of my knowledge, Print Layouts are only avalible when used 
> with the DWF viewer.
> I am, as always, happy to be corrected, should I be wrong.
> 
> Printing features in the AJAX viewer are basically a template HTML page 
> with placeholders for the map and legend.
> You can modify printablepage.templ to issue site wide changes.
> 
> You can usually ask any question you want here, but you cannot expect a 
> reply.
> I assume you can expect a reply on the Autodesk pages, if you paid for 
> Autodesk support.
> 
> Regards, Kenneth Skovhede, GEOGRAF A/S
> 
> 
> 
> stoff skrev:
>> Hi Kenneth, hi Warren!
>>
>> ...just to be sure:
>>
>> Is it true that the Mapguide Studio Printlayouts are only to use
>> within the dwf viewer (and its activeX-features)?
>>
>> To have a customized printlayout in the mapguide ajax standard viewer
>> I have to modify the printablepage.templ?
>>
>> And this pertains topobase web in the same manner, doesn't it?
>>
>> Just a big suprise, because the Users Guide does not really gives hints
>> on
>> this ...
>>
>> Best regards and thank you in advance,
>>
>> stoff javascript:Nabble.smiley('anim_confused.gif',':confused:')
>>
>> Is it okay, to ask this here or do I have to ask it only in the autodesk
>> discussion group?
>>
>>
>>
>> Warren Medernach wrote:
>>   
>>> Perfect!
>>>
>>> Thanks for the info Kenneth.
>>>
>>>  
>>>
>>> Warren M
>>>
>>>  
>>>
>>>  
>>>
>>> From: mapguide-users-bounces at lists.osgeo.org
>>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth
>>> Skovhede, GEOGRAF A/S
>>> Sent: Friday, October 03, 2008 11:54 AM
>>> To: MapGuide Users Mail List
>>> Subject: Re: [mapguide-users] Re: Print Layout - 2 questions...
>>>
>>>  
>>>
>>> Not sure if he got the answers, but here they are:
>>> 1. You must change it in ajaxmappane.templ (line 293):
>>> Look for:
>>>
>>> var us = true;
>>>
>>> and change to:
>>>
>>> var us = false;
>>>
>>> You have to change this every time update your MapGuide installation.
>>>
>>> 2. There is no built in way to do this, you must modify
>>> printablepage.templ.
>>> Its a HTML file that gets sent to the browser with the map items
>>> injected.
>>> You can set a logo anywhere on the page using some html:
>>>
>>>  mylogo.gif 
>>>
>>> If you want different printable pages for different solutions, you have
>>> to modify 
>>> at least printablepageui.templ.
>>>
>>> Again, you have to change this every time update your MapGuide
>>> installation.
>>>
>>>
>>> The files I mention are all located in:
>>>
>>> C:\Program
>>> files\MapGuideOpenSource2.0\WebServerExtensions\www\viewerfiles
>>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>>
>>>
>>>
>>> Warren Medernach skrev: 
>>>
>>> Hi Andrew,
>>> Were you ever able to resolve this print layout issue?
>>>  
>>> Warren M
>>>  
>>>  
>>>   
>>>
>>> 	I've got 2 questions about PrintLayouts....1) How do I make my
>>> units
>>> 	    
>>>
>>> metres? I've got >every instance of <units> set to metres in my
>>> PrintLayout, and yet my scale bar insists >that the units are feet. 2)
>>> How the heck do you get a custom logo?? It seems so simple, >but I can't
>>> get it to work for the life of me....I've got a symbol library called
>>>   
>>>
>>> 	"Logo", and in it there is one symbol called "Gemlogo-smaller".
>>> I've
>>> 	    
>>>
>>> tried all sorts of >variations on ResourceIDs, but can't get it. 
>>>  
>>>   
>>>
>>> 	Andrew
>>> 	    
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>   
>>>
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>>     
>> :confused:
>>   
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-Print-Layout---2-questions...-tp19801245p20015926.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list