<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><div><br></div><div>Hi,</div><div>Problem: I canīt print any tiles coming from geowebcache!</div><div>gridset: 900913</div><div>System: Linux Ubuntu 10.04 / tomcat6 / Geoserver 2.1.2&nbsp;</div><div><br></div><div><span><b><u>Javscript</u></b></span></div><div><span><b><u><br></u></b></span></div><div><span><span>// map</span></span></div><div><div>var map = new OpenLayers.Map("map", {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; id: 'map',</div><div>&nbsp; &nbsp; &nbsp; &nbsp; projection: new OpenLayers.Projection("EPSG:900913"),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; displayProjection: new OpenLayers.Projection("EPSG:4326"),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; units: "m",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; maxResolution: 156543.0339,</div><div>&nbsp;
 &nbsp; &nbsp; &nbsp; maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; numZoomLevels: 17,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; controls: [new OpenLayers.Control.MouseDefaults(), new OpenLayers.Control.PanZoomBar(), new OpenLayers.Control.MousePosition(), new OpenLayers.Control.ScaleLine({</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; geodesic: true</div><div>&nbsp; &nbsp; &nbsp; &nbsp; })]</div><div>&nbsp; &nbsp; });</div></div><div><br></div><div>// layer GWC</div><div><div>var layer_topo = new OpenLayers.Layer.WMS("Topographischekarte", "http://maps.zgb.de/geoserver/gwc/service/wms/", {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; layers: 'zgb:tk50',</div><div>&nbsp; &nbsp; &nbsp; &nbsp; projection: "EPSG:900913",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; format: 'image/png',</div><div>&nbsp; &nbsp; &nbsp; &nbsp; transparent: true,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; singleTile:
 false</div><div>&nbsp; &nbsp; }, {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; 'buffer': 0,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; 'opacity': 1,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; 'isBaseLayer': true,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; visibility: true</div><div>&nbsp; &nbsp; });</div></div><div><br></div><div><u><b>Geoserver log</b></u></div><div><u><b><br></b></u></div><div>2011-11-24 07:39:54,199 ERROR [geowebcache.GeoWebCacheDispatcher] - The requested tile dimensions 625x458 do not match those of the grid set (256x256) http://maps.zgb.de/geoserver/gwc/service/wms</div><div>2011-11-24 07:39:54,200 WARN [print.PDFUtils] - Server returned an error for
 http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1176787.0%2C6892762.5%2C1181754.1%2C6899536.0&amp;HEIGHT=625&amp;WIDTH=458&amp;map_resolution=75&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&amp;TRANSPARENT=true&amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;PROJECTION=EPSG%3A900913&amp;format_options=dpi%3A75&amp;LAYERS=zgb%3Atk50&amp;SINGLETILE=false&amp;SRS=EPSG%3A900913: Error (status=400) while reading the image from http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1176787.0%2C6892762.5%2C1181754.1%2C6899536.0&amp;HEIGHT=625&amp;WIDTH=458&amp;map_resolution=75&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;STYLES=&amp;TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&amp;TRANSPARENT=true&amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;PROJECTION=EPSG%3A900913&amp;format_options=dpi%3A75&amp;LAYERS=zgb%3Atk50&amp;SINGLETILE=false&amp;SRS=EPSG%3A900913: Bad Request</div></font></div><div><font
 class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><u><b>pdf error attatchment</b></u></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><u><b><br></b></u></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">java.io.IOException: Error (status=400) while reading the image from http://maps.zgb.de/geoserver/gwc/service/wms?BBOX=1091694.4%2C6741760.5%2C1250642.0%2C6958507.0</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">&amp;</font><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">HEIGHT=625&amp;WIDTH=458</span></div><div><font class="Apple-style-span" face="arial,
 helvetica, sans-serif" size="2">&amp;map_resolution=75&amp;SERVICE=WMS&amp;REQUEST=GetMap</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">&amp;STYLES=&amp;TILESIZE=%7B%22w%22%3A256%2C%22h%22%3A256%7D&amp;TRANSPARENT=true</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">&amp;VERSION=1.1.1&amp;FORMAT=image%2Fpng&amp;PROJECTION=EPSG%3A900913&amp;format_options=dp</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">i%3A75&amp;LAYERS=zgb%3Atk50&amp;SINGLETILE=false&amp;SRS=EPSG%3A900913: Bad Request<br></font></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size:
 10pt; "><div style="font-size: 13px; ">Can anyone tell me why the mapfish print is requesting tile&nbsp;dimensions &nbsp;of 625x458?</div><div style="font-size: 13px; "><br></div><div style="font-size: 13px; "><br></div><div style="font-size: 13px; "><br></div><div style="font-size: 13px; ">Yours with thanks,</div><div style="font-size: 13px; "><br></div><div style="font-size: 13px; ">Rob</div><div><br></div></div></div></div></body></html>