LinkBase.PrintDirect(PrintQueue) Method
In This Article
OBSOLETE
This method is now obsolete. Use the Print
Prints the current document to the printer specified by the print queue.
Namespace: DevExpress.Xpf.Printing
Assembly: DevExpress.Xpf.Printing.v24.2.dll
NuGet Package: DevExpress.Wpf.Printing
#Declaration
[Obsolete("This method is now obsolete. Use the DevExpress.Xpf.Printing.LinkBase.PrintDirect(string printerName) method instead.")]
public void PrintDirect(
PrintQueue queue
)
#Parameters
Name | Type | Description |
---|---|---|
queue | Print |
A Print |
#Remarks
Use the PrintDirect method without parameters, to immediately send the document to a default printer, and the PrintDirect method with the queue parameter, to send the document to a specific printer.
Also, you can use the LinkBase.Print method to print the document using custom printing settings, specified by an end-user via the Print dialog.
See Also