<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ah, the key is at the bottom (content type):<br>
<div class="Ih2E3d"><br>
OpenLayers.Request.POST({<br>
url: printURL,<br>
data: OpenLayers.Util.getParameterString(<br>
{width:size.w, height:size.h}<br>
),<br>
</div> headers: {<br>
"Content-Type": "application/x-www-form-urlencoded"<br>
},<br>
callback: function(request) {<br>
alert(request.responseText);<br>
}<br>
});<br>
<br></blockquote></div><br>That was it thank you. I didn't know that the default encoding for forms is "application/x-www-form-urlencoded". I'll update the Printing wiki.<br><br>Ian<br>