Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset=utf-8 />
  
  <title>JS Bin</title>
  
  <!-- Your Stylesheet -->
  
  <style type="text/css">
     @media print {    
       .noprint { display: none; }
     }
  </style>
  
  <!-- Your Javascrip Function -->
  
  <script>
    function printpage() {       
          window.print();
      }
  </script>
  
</head>
<body>
  
  <!-- Your Body -->
  <p>Only This text will print</p>
  
  
  <!-- Your Button -->
  <input class="noprint" type="button" value="PRINT" onclick="printpage()" />
  
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers