Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Crystal Reports XI - print dialog not open

Good morning

In my Add-Ons I use the Crystal Reports 9 and It works good.

Now I have the necessity to bring up to date for the Crystal Reports XI.

I have already modified the DLL'S and the references and now my add-on already opens reports, but the button to print does not open the box of selection of the printers.

All the other buttons works,but not the button print.

I have SB1 2004A (6.70.193) SP:00 PL:43 and the Add-On is elaborated in the Visual Studio 2003.

Somebody can help me in this issue?

Thank you in advance

Sérgio Sousa

Former Member
Former Member replied

In my add-on I don't use the print button on the actual viewer, instead invoke the print dialog from the business one print button on the b1 toolbar.

You can easily remove the print button from the viewer form using:

objViewer.EnablePrintButton = False

You could then use your working code (printersetup/printout) and tie these to the B1 menu events for the print / print preview as appropriate. I took this approach to begin with as it offers a much more integrated feel to the application.

John.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question