C1PrintDocument -> Print vs PrintDialog

Posted by: ivan.stanojkovski on 17 March 2023, 1:19 am EST

  • Posted 17 March 2023, 1:19 am EST - Updated 17 March 2023, 1:24 am EST

    Hello

    Is it possible in future release versions to add the possibility, method C1PrintDocument.PrintDialog can accept PageSettings parameter, in the same way as it is in C1PrintDocument.Print ?

    Picture in the attachment.

    The idea is, that we want to set custom parameters (Height and Width) of the paper with which to set the printer settings, at the moment when the Dialog appears on the screen so that the user can continue, but to decide later to send to the printer or not.

    Best regards.

  • Posted 20 March 2023, 6:37 pm EST

    Hi Ivan,

    We apologize for the delay in response.

    Thank you for sharing the screenshot, but unfortunately, we could not clearly understand the idea that you shared behind this requirement. Could you please share your idea in a little more detail, maybe with a screenshot or detailed steps? This will help us understand your use-case better, and then we can share the same with the development team.

    Thanks, and Best Regards,

    Kartik

  • Posted 21 March 2023, 1:56 am EST

    Hi

    This is my idea/suggestion.

    I want the method PrintDialog can accept argument of type PageSettings

    Line 42 in source: C1PrintDocument1.PrintDialog(printerSettings, null, false, defaultPageSettings);

    In line 38 in source, method Print accept this type of argument.

    You have entire example in attachment.

    tmpPrintClass.zip

  • Posted 21 March 2023, 7:41 pm EST

    Hi Ivan,

    Thanks a lot for sharing your code. We have escalated your request to the development team to get their insights on it and will let you know the updates as soon as possible.

    [Internal Tracking ID: C1WIN-29415]

    Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels