title: how to define width and height in autotable
body: <p>my code</p>
  <pre><code>$(&quot;#button1&quot;).on('click', exportOne);
  function exportOne()
   {
   var pdf = new jsPDF(&quot;p&quot;, &quot;pt&quot;,&quot;a4&quot;);
  
   var res = pdf.autoTableHtmlToJson(document.getElementById(&quot;table2&quot;));
  
   pdf.autoTable(res.columns, res.data);
  
  var res2 = pdf.autoTableHtmlToJson(document.getElementById(&quot;table&quot;));
  pdf.autoTable(res2.columns, res2.data, {
  startY: pdf.autoTableEndPosY() + 16.6
  });
  
  pdf.fromHTML($(&quot;#otherdivcontent&quot;).get(0), 70, 300, {
  'width': 500
  });
  
  // pdf.autoPrint();
  
  pdf.save('Report.pdf');
  };
  </code></pre>
  <p>the generated pdf is this
  <a href="https://i.stack.imgur.com/YZXS6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YZXS6.png" alt="output" /></a></p>
  <p>how can i solve this..i want to print the whole table inside in the page...</p>