title: cross-browser print command?
body: <p>i want to know if there is any cross-browser print code, that is if i need other then just simple:</p>
  
  <pre><code>//print page
      $('.print').click(function() {
          window.print();
          return false;
      });
  </code></pre>
  
  <p>i did found for bookmark and thats why i was more concern about print too, but couldn't find anything useful on google.</p>
  
  <p>following code is for bookmark cross-browser</p>
  
  <pre><code>//bookmark page
  $("a.bookmark").click(function(e)
  {
      e.preventDefault(); // this will prevent the anchor tag from going the user off to the link
      var bookmarkUrl = this.href;
      var bookmarkTitle = this.title;
  
      if (window.sidebar) { // For Mozilla Firefox Bookmark
          window.sidebar.addPanel(bookmarkTitle, bookmarkUrl,"");
      } else if( window.external || document.all) { // For IE Favorite
          window.external.AddFavorite( bookmarkUrl, bookmarkTitle);
      } else if(window.opera) { // For Opera Browsers
          $("a.jQueryBookmark").attr("href",bookmarkUrl);
          $("a.jQueryBookmark").attr("title",bookmarkTitle);
          $("a.jQueryBookmark").attr("rel","sidebar");
      } else { // for other browsers which does not support
          alert('Your browser does not support this bookmark action');
          return false;
      }
  });
  </code></pre>