Devexpress Print Pdf

Active8 years, 8 months ago

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 pdf viewer print

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.

msarchetmsarchet
13.4k2 gold badges35 silver badges62 bronze badges

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
11k2 gold badges20 silver badges23 bronze badges

Not the answer you're looking for? Browse other questions tagged devexpressxtrareport or ask your own question.