Neither will help you with printing, as long as you try to trigger the print dialog within the sandbox (which isn't allowed).
In order to trigger a print dialog (or really be able to print in any way) you need to open the contents in a separate window, e.g.:
window.open().document.body.innerHTML = svg_A5_dots.outerHTML
I haven't tried it yet, but you might be able to include print styles in the SVG itself.
Here is another example that opens an object URL. Here we force "text/html" so that the browser does not force a download (as would be the case for, e.g., "image/svg"):
window.open(URL.createObjectURL(new Blob([svg_A5_dots.outerHTML], {type: 'text/html'})))