Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LinkBase.PrintDirect(String) Method

Prints the current document to the specified printer.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v24.2.dll

NuGet Package: DevExpress.Wpf.Printing

#Declaration

public void PrintDirect(
    string printerName
)

#Parameters

Name Type Description
printerName String

A String that specifies the target printer name.

#Remarks

Use the PrintDirect method without parameters to immediately send the document to the default printer, and the PrintDirect method with the printerName parameter to send the document to a specific printer.

You can use the LinkBase.Print method to print the document using custom printing settings specified in the Print dialog.

See Also