GrapeCity.ActiveReports.Printing.IPrinterSettings

Posted by: sagar.vadodaria on 6 February 2023, 10:15 am EST

    • Post Options:
    • Link

    Posted 6 February 2023, 10:15 am EST

    IPrinterSettings was introduced in ActiveReports.net 17 . Is there any API or method which converts IPrinterSettings to System.Drawing.Printing.PrinterSettings ?

    If you make a breaking change, we expect you to be backwards compatible. We have been using System.Drawing.Printing.PrinterSettings for so long, now how do we convert IPrinterSettings to System.Drawing.Printing.PrinterSettings ??

  • Posted 7 February 2023, 5:44 am EST

    Hi Sagar,

    We understand your concerns regarding the change in the class from using ‘System.Drawing.Printing.PrinterSettings’ to ‘GrapeCity.ActiveReports.Printing.IPrinterSettings’ which has caused some issues wherein you are no longer able to access Printer events, etc. like you used to therefore, we have informed our development team regarding this issue [Ticket ID: AR-30213], we will get back to you in your created support ticket: CAS-37751-P3C3N1 as soon as we have an update regarding the same.

    Also, we could notice you have posted this question in ‘ComponentOne’ Forums. For queries related to ActiveReports.NET we would request you post your query in ActiveReports Forum here: https://www.grapecity.com/forums/ar-dev or raise a Support Ticket with ‘Product’ selected as “ActiveReports”.

    Regards,

    Anand

  • Posted 21 June 2024, 9:47 am EST

    Any chance you can post the results for that ticket?

  • Posted 24 June 2024, 7:07 am EST

    Hi Greg,

    As per the developers unfortunately, it is not possible to convert the IPrinterSettings to ‘System.Drawing.Printing.PrinterSettings’ and you are required to manually update the settings in the newer Printer Settings. This change has been made to support the cross-platform compatibility of the reports instead of the legacy GDI compatibility that we had to follow with ‘System.Drawing.Printer’.

    However, you may refer to our attached sample in which we have created an extension in order to copy your IPrinterSettings to PrinterSettings or vice-versa, you may implement something like the same in your project.

    Please Note: For queries related to ActiveReports.NET we would request you post your query in ActiveReports Forum here: https://www.grapecity.com/forums/ar-dev or raise a Support Ticket with ‘Product’ selected as “ActiveReports”.

    Regards,

    Anand

    PrintSectionReport (1).zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels