Index: /CKEditor/branches/prototype/_source/core/config.js
===================================================================
--- /CKEditor/branches/prototype/_source/core/config.js	(revision 2856)
+++ /CKEditor/branches/prototype/_source/core/config.js	(revision 2857)
@@ -162,5 +162,5 @@
 	 * config.plugins = 'elementspath,toolbar,wysiwygarea';
 	 */
-	plugins : 'basicstyles,button,dialog,elementspath,horizontalrule,htmldataprocessor,keystrokes,removeformat,smiley,link,sourcearea,tab,toolbar,wysiwygarea,forms,image,find,table,specialchar,flash',
+	plugins : 'basicstyles,button,dialog,elementspath,horizontalrule,htmldataprocessor,keystrokes,removeformat,smiley,link,sourcearea,tab,toolbar,wysiwygarea,forms,image,find,table,specialchar,flash,print',
 
 	/**
Index: /CKEditor/branches/prototype/_source/lang/en.js
===================================================================
--- /CKEditor/branches/prototype/_source/lang/en.js	(revision 2856)
+++ /CKEditor/branches/prototype/_source/lang/en.js	(revision 2857)
@@ -46,4 +46,5 @@
 	// Toolbar buttons without dialogs.
 	source			: 'Source',
+	print			: 'Print',
 	underline		: 'Underline',
 	bold			: 'Bold',
Index: /CKEditor/branches/prototype/_source/plugins/print/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/print/plugin.js	(revision 2857)
+++ /CKEditor/branches/prototype/_source/plugins/print/plugin.js	(revision 2857)
@@ -0,0 +1,56 @@
+/*
+ * CKEditor - The text editor for Internet - http://ckeditor.com
+ * Copyright (C) 2003-2008 Frederico Caldeira Knabben
+ *
+ * == BEGIN LICENSE ==
+ *
+ * Licensed under the terms of any of the following licenses at your
+ * choice:
+ *
+ *  - GNU General Public License Version 2 or later (the "GPL")
+ *    http://www.gnu.org/licenses/gpl.html
+ *
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
+ *    http://www.gnu.org/licenses/lgpl.html
+ *
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")
+ *    http://www.mozilla.org/MPL/MPL-1.1.html
+ *
+ * == END LICENSE ==
+ */
+
+/**
+ * @file Print CKE Document
+ */
+
+// Register a plugin named "print".
+CKEDITOR.plugins.add( 'print',
+{
+	init : function( editor, pluginPath )
+	{	
+		editor.addCommand( 'print', CKEDITOR.plugins.print );
+		editor.ui.addButton( 'HorizontalRule',
+			{
+				label : editor.lang.print,
+				command : 'print'
+			});
+	}
+});
+
+CKEDITOR.plugins.print =
+{
+	// Print CKE document.
+	printCKEDocument : function( editor ){
+		editor.window.$.print();
+	},
+
+	// Print the whole page.
+	printPage : function( editor ){
+		window.print();
+	},
+
+	exec : function( editor )
+	{
+		CKEDITOR.plugins.print.printCKEDocument( editor );
+	}
+};
Index: /CKEditor/branches/prototype/_source/plugins/toolbar/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/toolbar/plugin.js	(revision 2856)
+++ /CKEditor/branches/prototype/_source/plugins/toolbar/plugin.js	(revision 2857)
@@ -222,5 +222,5 @@
 CKEDITOR.config.toolbar =
 [
-	[ 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript', '-', 'Find','Replace','-',
+	[ 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript', '-', 'Print' ,'Find','Replace','-',
 	'SelectAll', 'RemoveFormat', '-',
 	'Link', 'Unlink', 'Anchor', 'Image', 'Flash', 'Table', 'Smiley', 'HorizontalRule', 'SpecialChar', '-',
Index: /CKEditor/branches/prototype/_source/skins/default/toolbar.css
===================================================================
--- /CKEditor/branches/prototype/_source/skins/default/toolbar.css	(revision 2856)
+++ /CKEditor/branches/prototype/_source/skins/default/toolbar.css	(revision 2857)
@@ -258,4 +258,9 @@
 }
 
+.cke_skin_default a.cke_button_print .cke_icon
+{
+	background-position: 0 -176px;
+}
+
 .cke_skin_default a.cke_button_form .cke_icon
 {
