[Expand]General Information
[Collapse]WinForms Controls
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Map Control
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Product Class Structure
    Supported Formats
   [Expand]Getting Started
   [Expand]RichEditControl Document
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Spell Checking
    Mail Merge
    Restrictions and Protection
    Syntax Highlighting
   [Expand]Visual Elements
    Keyboard Shortcuts
    HTML Tag Support
    [Expand]Text Boxes
    [Expand]Document Elements
    [Expand]Search and Replace
    [Expand]Mail Merge
    [Expand]Spell Check
    [Expand]Import and Export
      How to: Print a Document
      How to: Utilize a Print Preview Dialog to Adjust Margins in the RichEditControl Document
    [Expand]User Interface Customization
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

How to: Print a Document

To enable end-users to print documents, you can provide Bars or Ribbon UI for RichEditControl (see How to: Create the RichEditControl with a Bar UI or How to: Create the RichEditControl with a Ribbon UI), and create the Common toolbar or Ribbon page group from the File group of bars.

Expanded Preview a Document Before Printing

To preview a document prior to printing, click the Print Preview command button.

The Print Preview form will be invoked. This form's command buttons allow end-users to zoom, navigate, print out, set printing options, export and perform other standard tasks with the document currently shown in the form.

You can also use the PrintPreviewCommand command to invoke the Print Preview form.

Expanded Print a Document

Click the Print button or press CTRL+P.

This will invoke the Print dialog allowing end-users to specify all necessary print settings.

You can also use the PrintCommand command to invoke the Print dialog.

Expanded Print a Document Using Default Settings

To send a document directly to the default printer without customizing print settings, click the Quick Print button.

You can also use the QuickPrintCommand command to send a document to the default printer immediately.

Is this topic helpful?​​​​​​​