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

2008-10-17 Thread Andy Morsell
You may want to look at the existing Scribble code in the code samples
section of the Wiki.  That application outputs the map as a PDF

http://trac.osgeo.org/mapguide/wiki/CodeSamples/ASP.Net/ScribbleApp


Andy Morsell, P.E.
Spatial Integrators, Inc.
www.SpatialGIS.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of BradM
Sent: Friday, October 17, 2008 8:10 AM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] Print Layout - 2 questions...


Is anyone interested in giving me a reasonable quote which would build the
code to allow viewers/ users to increase the DPI and to print to pdf?


Gary Morin wrote:
> 
> 
> I would back both of those proposals
> 
> 
> Gary
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jason Birch
> Sent: 16 October 2008 17:36
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] Print Layout - 2 questions...
> 
> No, there is no PDF support in MapGuide.  I'd sure love to see GeoPDF
> (and geo-referenced DWF) supported.
> 
> This has been mentioned to the appropriate ADSK product manager more
> than once, but it would be awesome if there was enough community support
> and a C++ coder willing to get into the guts of MapGuide to make this
> happen :)
> 
> Jason
> 
> -----Original Message-
> From: BradM
> Subject: Re: [mapguide-users] Print Layout - 2 questions...
> 
> With respect to printing,  can we print to PDF and can we specify the
> DPI so
> that images will print with a higher resolution?
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
> ___
> mapguide-users mailing list
> mapguide-users@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...-tp19801245p2003521
0.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2008-10-17 Thread BradM

Is anyone interested in giving me a reasonable quote which would build the
code to allow viewers/ users to increase the DPI and to print to pdf?


Gary Morin wrote:
> 
> 
> I would back both of those proposals
> 
> 
> Gary
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jason Birch
> Sent: 16 October 2008 17:36
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] Print Layout - 2 questions...
> 
> No, there is no PDF support in MapGuide.  I'd sure love to see GeoPDF
> (and geo-referenced DWF) supported.
> 
> This has been mentioned to the appropriate ADSK product manager more
> than once, but it would be awesome if there was enough community support
> and a C++ coder willing to get into the guts of MapGuide to make this
> happen :)
> 
> Jason
> 
> -----Original Message-
> From: BradM
> Subject: Re: [mapguide-users] Print Layout - 2 questions...
> 
> With respect to printing,  can we print to PDF and can we specify the
> DPI so
> that images will print with a higher resolution?
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
> ___
> mapguide-users mailing list
> mapguide-users@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...-tp19801245p20035210.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2008-10-17 Thread Kenneth Skovhede, GEOGRAF A/S

Yes, you can specify DPI in the querystring with the parameter DPI.
There are no PDF tools present in MapGuide, so you would have to build 
that yourself, or use a thirdparty PDF library.
The image you can get from MapGuide is a plain image, and can easily be 
inserted into a PDF or other document.
You can see the querystring for on, if you right click on a map image in 
the "Print preview".


Regards, Kenneth Skovhede, GEOGRAF A/S



BradM skrev:

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 PrintLayouts1) How do I make my
units
	


metres? I've got >every instance of  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 meI'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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users





:confused:
  
  

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users





  
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2008-10-16 Thread Gary Morin

I would back both of those proposals


Gary


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Birch
Sent: 16 October 2008 17:36
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Print Layout - 2 questions...

No, there is no PDF support in MapGuide.  I'd sure love to see GeoPDF
(and geo-referenced DWF) supported.

This has been mentioned to the appropriate ADSK product manager more
than once, but it would be awesome if there was enough community support
and a C++ coder willing to get into the guts of MapGuide to make this
happen :)

Jason

-Original Message-
From: BradM
Subject: Re: [mapguide-users] Print Layout - 2 questions...

With respect to printing,  can we print to PDF and can we specify the
DPI so
that images will print with a higher resolution?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2008-10-16 Thread Jason Birch
No, there is no PDF support in MapGuide.  I'd sure love to see GeoPDF
(and geo-referenced DWF) supported.

This has been mentioned to the appropriate ADSK product manager more
than once, but it would be awesome if there was enough community support
and a C++ coder willing to get into the guts of MapGuide to make this
happen :)

Jason

-Original Message-
From: BradM
Subject: Re: [mapguide-users] Print Layout - 2 questions...

With respect to printing,  can we print to PDF and can we specify the
DPI so
that images will print with a higher resolution?
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2008-10-16 Thread BradM

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: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] 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 PrintLayouts1) How do I make my
>>> units
>>> 
>>>
>>> metres? I've got >every instance of  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 meI'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@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>   
>>>
>>> ___
>>> mapguide-users mailing list
>>> mapguide-users@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>> 
>> :confused:
>>   
> 
> ___
> mapguide-users mailing list
> mapguide-users@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.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2008-10-16 Thread Kenneth Skovhede, GEOGRAF A/S
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 PrintLayouts1) How do I make my
units
	


metres? I've got >every instance of  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 meI'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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




:confused:
  
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: Re: [mapguide-users] Print Layout - 2 questions...

2008-10-16 Thread stoff

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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 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 PrintLayouts1) How do I make my
> units
>   
> 
> metres? I've got >every instance of  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 meI'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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
> 
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
:confused:
-- 
View this message in context: 
http://www.nabble.com/Re%3A-Print-Layout---2-questions...-tp19801245p20010308.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users