title: Is it possible to print just the canvas element?
body: <p>I've created a web page that lets you input some information and then draws an image in a canvas element based on that info.  I have it pretty much working the way I want except for the printing.</p>
  
  <p>Is there a way to print out the canvas element or is creating a new window to draw in, the only way to do it?</p>
  
  <p>Update:</p>
  
  <p>The answer was so simple.  I was thinking of a lot more complicated solution.  </p>
  
  <p>I wish I could pick more than 1 answer.  I wasn't able to get the canvas to print when I used * to disable display.  The simplest solution was to just turn off the form that I was using for input, using form {display:none;} in the CSS inside an @media print{}. Thanks for the quick response.</p>
  
  <pre><code>
  
      @media print {
             form {
           display:none;
         }
      }
  
  </code></pre>