print-onload-with-image.html 302 B

12345678910111213
  1. <html>
  2. <head>
  3. <meta http-equiv=Content-Type content="text/html; charset=UTF-8">
  4. <title>Print Test</title>
  5. </head>
  6. <body onload="window.print()">
  7. <img src="http://code.google.com/p/chromium/logo?cct=1287781185">
  8. <H1>Hello, world.</h1>
  9. <p>
  10. This webpage should pop up a print dialog.
  11. </p>
  12. </body>
  13. </html>