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

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Thu Oct 16 07:14:28 EDT 2008


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:
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081016/c3b9416b/attachment.html


More information about the mapguide-users mailing list