Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [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]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Collapse]Scheduler
   [Expand]Product Information
   [Expand]Getting Started
   [Collapse]Fundamentals
    [Expand]Scheduler Elements
    [Expand]Scheduler Structure
    [Expand]Appointments
     Resources for Appointments
    [Expand]Views
    [Expand]Data Binding
    [Expand]Mappings
    [Expand]Supported Formats
    [Expand]Services
    [Expand]Time Zones
     Printing
    [Expand]Scheduler Reporting
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Printing

This document describes techniques which can be used to compose a printable document, based on the Scheduler information, or representing one of the Scheduler views.

Expanded 1. Print via the XtraPrinting Library

To print a SchedulerControl you should use the SchedulerControl.Print method. To show its Print Preview, use the SchedulerControl.ShowPrintPreview method.

Note

The SchedulerControl can be printed and previewed only if the XtraPrinting Library is available. To verify that printing the scheduler is possible, use the SchedulerControl.IsPrintingAvailable property.

When printing a Scheduler, the current print settings are used. You can access and change these settings via the SchedulerControl.OptionsPrint property. If you wish an end-user to manually select the printer settings, you can use the SchedulerControl.ShowPrintOptionsForm method to invoke the Print Options window.

Predefined print styles are available via the SchedulerControl.PrintStyles property.

Expanded 2. Print Appointment Details

You can use the SchedulerStorage object as the data source providing appointments data. A collection of appointments can be obtained via the SchedulerStorageBase.GetAppointments method.

Then, you can specify this collection as the data source, for example, the data source of the XtraReport created in the XtraReports Suite.

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E1183.

Expanded 3. Reporting

You can construct and print the XtraSchedulerReport. This kind of report is inherited from the XtraReport class and is used to compose a printable report, based on the Scheduler information.

Please see the Reporting and How to: Print a Scheduler Using a Report Preview (Step-by-Step Guide) documents to learn more on this subject.

Expanded See Also

How would you rate this topic?​​​​​​​