# Print

## Content



GanttView lets you print the chart and perform basic as well as advanced print settings using built-in methods. To use the printing in the GanttView, follow the below steps:

*   Add a reference to the **C1.Win.Printing** assembly to enable the print preview feature. This assembly contains **C1.PrintDocument**, **C1.Win.PrintPreview** and **C1.Win.RibbonPreview** libraries that can be used with **GanttView** control.
*   Set the [EnablePrinting](/componentone/docs/win/online-ganttview/) property of C1GanttView to **True**. Once this property is enabled, the **Print** button, appears active on the GanttView toolbar.

GanttView assembly includes a [PrintInfo](/componentone/docs/win/online-ganttview/) class to control the information related to printing the schedule. The properties in the **PrintInfo** class are available at design-time, runtime, and programmatically.

To print your project schedule, follow the steps below:

1.  From the GanttView toolbar, click the **Print** button (![print button](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/printbutton.png)) to open the **Print** dialog box.
    
    ![print dialog box](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/printdialogganttview.png)
    
2.  Select the type of print styles from the **Print style** in the Print dialog box.
3.  Click the **Settings...** button to open **Style Settings** dialog box and customize the header, footer, and legend's appearance for each page.
    
    ![Print settings ganttview](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/printsettingsganttview.png)
    
4.  In the **Print** dialog box, click the **Page Setup** button to specify the page size, source, orientation, and margins.
    
    ![Page setup print ganttview](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/printpagesetupganttview.png)
    
5.  In the **Print** dialog box, you can choose to print either the entire project or a specific range by clicking the radio buttons. To print a specific range, click the **Print specific dates** radio button and select start and end date in the two combo boxes. By default, **Print entire project** radio button is selected.
    
    ![Select specific ranges](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/printselectrange.png)
    
6.  Click the **Print** button in the **Print** dialog box to start printing using the system default printer. Once the print process starts, the **Processing Document** form appears indicating the status and the completion percentage of progress.
7.  Click the **Preview...** button in the **Print** dialog box to preview the document. The **Print Preview** dialog appears after the preview document is generated that allows you to make changes in page setup, orientation, zoom, export, or print.
    
    ![Print preview dialog box](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/printpreviewscreen.png)