Print Preview for WPF. The documents in this section provide information on the capabilities of the Print Preview, which is used to display an interactive document preview. The Print Preview provides a toolbar and menu that contain commands related to document viewing, navigating, exporting and printing. October 25, 2014 December 29, 2014 Brendon customization, Gmail, PDF, printing, XtraReports I happened upon a cool question on the Support Center the other day, asking how to override the default functionality in the Print Preview window to email a document via Gmail.
I am having some trouble trying to get a report to print from a service that does not allow UI interaction.
Currently I can do the following
However nothing happens when I do this. I don't get any exceptions just no document is printed.
Adobe Pdf Printer For Windows 10
Devexpress Print Pdf Download
CallingmyReport.Print()
will print the correct document but with UI interaction. What am I missing or is this just not intended to be viable.
I have also tried using the myReport.PritingSystem.ExecCommand(PrintDirectly)
but it also doesn't print anything.
C# Devexpress Print Pdf
1 Answer
You only need to call the Report's Print method:
I've tried this and it works. If it does not work, I suggest that you post a sample in the support center and we will try to help you.
DevExpress TeamDevExpress Team