Skip to main content

PrintingSystem Class

Implements the basic printing functionality of the XtraPrinting Library.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

public class PrintingSystem :
    PrintingSystemBase,
    IDocumentSource,
    ILink

Remarks

Note

The PrintingSystem class is intended to be used in Windows Forms applications. On other platforms, use the PrintingSystemBase class.

This class is no longer used separately. It is automatically created after assigning a PrintingSystem to the DocumentViewer.DocumentSource property of a DocumentViewer control.

document-viewer-select-document-source-standard-printing-system

To print a Windows Forms control’s content using DocumentViewer, add a link of the required type to the PrintingSystem.Links collection and assign the control to this link.

printing-system-links-printable-component-link-assign-rich-edit-control

To learn what link types are used to print different controls, see Document Creation Approaches.

For a sample of using PrintingSystem to print a Windows Forms control’s content, see Lesson 1 - Show the Print Preview for a Link.

To print documents that are generated by remote sources (such as a ReportService or Report Server), use the RemotePrintingSystem class.

See Also