Does we really need to execute `document,write` for each line of html, for readability I think it's better to use a string variable then do only one `windowPrint.document.write(my_string)`