Michael Klem
Michael Klem
I was thinking of this, this morning.
Have you tried something like this: page.set('paperSize',{format: 'Letter', orientation: 'landscape'},function(err){});
This worked for me: See http://www.webtoolkit.info/javascript-base64.html#.UwCSKEJdVcg for Base64 code. ph.createPage(function(err,page) { var authentication_data = {"Authorization": "Basic " + Base64.encode("my_domain:my_password")}; page.set('customHeaders', authentication_data, function(err){ // do something now }); }); btoa was...
Need this.
+1 Thank you @avk for the work around.