0

I use the following code

Dim PrintR_ As Printing.PrinterSettings = ReportViewer1.PrinterSettings
PrintR_.PrinterName = "Microsoft XPS Document Writer"
ReportViewer1.PrintDialog(PrintR_)

However, when executed, the following form appears enter image description here

All I want is not to see this screen and to print directly based on the printer's specific name

Thanks for everyone who helps.

2
  • Possible duplicate of Print a ReportViewer Without Preview, which is in C# but won't need much effort to change to VB.NET. Commented May 23, 2018 at 13:48
  • Unfortunately I do not need all that All I want is to skip the printer selection screen and print directly to the name of the predefined printer Commented May 23, 2018 at 15:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.