https://webprog3.com,sametab

There's a small detail in the above that has been bothering me for some time.
This instruction was written to the DOM in order to open the print dialogue automatically:
printWindow.print();
In practice though, things sometimes get out of sequence, and instead of the dialogue using the font-family for the document as requested, it rushes ahead and uses the default font instead.
Including a normal Javascript handler in the script, in an attempt to make the execution wait until the documnt is fully loaded before assigning the font-family, just creates a big mess.
So the most practical solution is to stop opening the print dialogue automatically, and to let the operator do it manually:
//printWindow.print();