Preferred modern pattern — the afterprint event targets the window.
afterprint
window
Lines: 0 | Characters: 0