Index: /CKEditor/trunk/_source/core/config.js
===================================================================
--- /CKEditor/trunk/_source/core/config.js	(revision 3072)
+++ /CKEditor/trunk/_source/core/config.js	(revision 3073)
@@ -148,5 +148,5 @@
 	 */
 
-	plugins : 'basicstyles,button,elementspath,horizontalrule,htmldataprocessor,image,keystrokes,newpage,pagebreak,preview,removeformat,smiley,indent,link,list,justify,blockquote,sourcearea,table,specialchar,tab,toolbar,wysiwygarea',
+	plugins : 'basicstyles,blockquote,button,elementspath,horizontalrule,htmldataprocessor,image,indent,justify,keystrokes,link,list,newpage,pagebreak,preview,print,removeformat,smiley,sourcearea,table,specialchar,tab,toolbar,wysiwygarea',
 
 	/**
Index: /CKEditor/trunk/_source/core/editor.js
===================================================================
--- /CKEditor/trunk/_source/core/editor.js	(revision 3072)
+++ /CKEditor/trunk/_source/core/editor.js	(revision 3073)
@@ -347,5 +347,5 @@
 		addCommand : function( commandName, commandDefinition )
 		{
-			this._.commands[ commandName ] = new CKEDITOR.command( this, commandDefinition );
+			return this._.commands[ commandName ] = new CKEDITOR.command( this, commandDefinition );
 		},
 
Index: /CKEditor/trunk/_source/plugins/print/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/print/plugin.js	(revision 3073)
+++ /CKEditor/trunk/_source/plugins/print/plugin.js	(revision 3073)
@@ -0,0 +1,43 @@
+/*
+Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Print Plugin
+ */
+
+CKEDITOR.plugins.add( 'print',
+{
+	init : function( editor )
+	{
+		var pluginName = 'print';
+
+		// Register the command.
+		var command = editor.addCommand( pluginName, CKEDITOR.plugins.print );
+
+		// It is imposible to print the inner document in Opera.
+		if ( CKEDITOR.env.opera )
+			command.state = CKEDITOR.TRISTATE_DISABLED;
+
+		// Register the toolbar button.
+		editor.ui.addButton( 'Print',
+			{
+				label : editor.lang.print,
+				command : pluginName
+			});
+	}
+} );
+
+CKEDITOR.plugins.print =
+{
+	exec : function( editor )
+	{
+		if ( CKEDITOR.env.opera )
+			return;
+		else if ( CKEDITOR.env.gecko )
+			editor.window.$.print();
+		else
+			editor.document.$.execCommand( "Print" );
+	}
+};
Index: /CKEditor/trunk/_source/plugins/toolbar/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/toolbar/plugin.js	(revision 3072)
+++ /CKEditor/trunk/_source/plugins/toolbar/plugin.js	(revision 3073)
@@ -208,5 +208,5 @@
 	[
 		'Source', '-',
-		'NewPage', 'Preview', '-',
+		'NewPage', 'Preview', 'Print', '-',
 		'Bold', 'Italic', 'Underline', 'Strike', '-',
 		'NumberedList', 'BulletedList', '-',
