HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body onbeforeprint="myFunction()"> <p>Print me</p> <p>Press Ctrl+P / Cmd+P/ Use Mouse</p> <script> function myFunction(){ alert("This document is about to print"); } </script> </body> </html>
OUTPUT
×

Save as Private