title: Automatically Print Image from Website
body: <p>A coworker and I were having a discussion about what is and isn't possible within the browser.</p>
  
  <p>Then a question came up that neither of us could answer with certainty. </p>
  
  <p>Can you create a webpage such that when you navigate to it, it engages the client-side printer and attempts to print a document. For instance, whenever you visit my personal website, you'll be treated to a print out of a picture of me, smiling. </p>
  
  <p>Now, this is a hideous idea. I'm aware. But the discussion intrigued me as to if it could be done, and how. My friend insisted that the best you could do was pop up the print dialog for the user, they would have to click print themselves. </p>
  
  <p>Would it be possible to bypass this step? Or just some fancy script to move the mouse over the print button and click on it? Or use an activeX control to interface with a Printer API directly?</p>