Back to Devexpress

LinkBase.PrintDirect(PrintQueue) Method

wpf-devexpress-dot-xpf-dot-printing-dot-linkbase-dot-printdirect-x28-system-dot-printing-dot-printqueue-x29.md

latest2.0 KB
Original Source

LinkBase.PrintDirect(PrintQueue) Method

OBSOLETE

This method is now obsolete. Use the PrintDirect method instead.

Prints the current document to the printer specified by the print queue.

Namespace : DevExpress.Xpf.Printing

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

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
[Obsolete("This method is now obsolete. Use the DevExpress.Xpf.Printing.LinkBase.PrintDirect(string printerName) method instead.")]
public void PrintDirect(
    PrintQueue queue
)
vb
<Obsolete("This method is now obsolete. Use the DevExpress.Xpf.Printing.LinkBase.PrintDirect(string printerName) method instead.")>
Public Sub PrintDirect(
    queue As PrintQueue
)

Parameters

NameTypeDescription
queuePrintQueue

A PrintQueue object specifying the print queue.

|

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

LinkBase Class

LinkBase Members

DevExpress.Xpf.Printing Namespace