Thanks Mike,<br><br>I am trying to find out if it is some issue with Adobe or Primo print to pdf software.<br><br>It doesn't make sense that the Google layer prints but the MapGuide fails.<br><br>A head scratcher.<br><br>
I will post code if I cannot resolve<br><br><br><br><br>Cheers,<br><br>Kori Maleski<br><br><div class="gmail_quote">On Tue, Mar 23, 2010 at 11:55 AM, Mike Adair <span dir="ltr"><<a href="mailto:madair@dmsolutions.ca">madair@dmsolutions.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I checked the MapGuide Layer hierarchy in OpenLayers and I couldn't find a tile size restriction anywhere.<br>
<br>
Mike<div class="im"><br>
<br>
Kori Maleski wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
I am developing a custom printing widget that prints the MapGuide map with a<br>
Commercial overlay such as Google to all ANSI paper sizes. To do this I am<br>
using an OpenLayers.Map object to display a print preview.<br>
<br>
The widget and code is sound (I think) - working as expected but:<br>
<br>
When printing to PDF, the MapGuide layer does not print when the<br>
OpenLayers.Layer.MapGuide tileSize width is greater than 1000px.<br>
<br>
So 11x17 portrait w 792px h 1224px MapGuide Layer displays in the preview and<br>
prints to PDF 17x22 portrait w 1224px h 1584px MapGuide Layer displays in the preview and<br>
fails to appear in the PDF<br>
<br>
The Google layer does print to the PDF with no issue no matter what ANSI<br>
size is used.<br>
<br>
Is there some kind of MapGuide tileSize constraint for the<br>
OpenLayers.Layer.MapGuide? Or does anyone have an idea or suggestion of<br>
what may be wrong? I set the tileSize.w and tileSize.h to the layer before<br>
rendering.<br>
<br>
I don't have a plotter to test if the Print Preview actually prints to<br>
printer with/or without the same issue.<br>
Hence why I need this to go to PDF.<br>
<br>
Any pointers would be most welcome.<br>
<br>
Cheers,<br>
<br>
Kori Maleski<br>
<br>
<br>
</blockquote>
<br>
-- <br></div>
Michael Adair<br>
Senior Software Architect<br>
DM Solutions Group Inc.<br>
<br>
Office: (613) 565-5056 x26<br>
<a href="mailto:madair@dmsolutions.ca" target="_blank">madair@dmsolutions.ca</a><br>
<a href="http://www.dmsolutions.ca" target="_blank">http://www.dmsolutions.ca</a><br>
<a href="http://research.dmsolutions.ca" target="_blank">http://research.dmsolutions.ca</a><br>
<br>
<br>
</blockquote></div><br>