Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<iframe srcdoc="Some content"></iframe>
<script>
window.onload = function() {
document.querySelector("iframe").contentWindow.print();
};
</script>