Home Devices
New Blog Posts: Merging Reports - Part 1 and Part 2

Change paper size on print time

I am using ReportBuilder mainly for visualizing images, so whenever I open an image, RB is called and both the paper, the TppImage and the main header (where the TppImage is located) have their sizes changed automatically to match the image's proportions.

But my RB viewer needs to be able to print images too, and this is where the problem starts. I open the Print Dialog, select Microsoft Print to PDF on the Printer Name field and follow the standard procedure, but when I open the newly generated PDF, the image appears cut out.

I figured that upon printing, RB changes the paper's dimensions to a size adequate for printing (A4, in my case), but the other components in the report seem to maintain their size, so this might be why the image is shown cut out in the PDF. Hence, I want to change the whole report's size to A4 only when the user presses the OK button in the Print Dialog and change it back to the image's size when the PDF is finished.

My question is: is there an event that can validate if the user has pressed the OK button in the Print Dialog when it closes?
DM-150407-Ent1700-001

Comments

  • Digital Metaphors only has the resources to provide support for registered customers with a valid software subscription. If you are a registered customer, please update your forum credentials to match your purchasing information so we can verify. If not, please consider purchasing a license to receive support. An email has been sent requesting the same information as well.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Thank you for the heads-up, I've just put my serial key in my Signature Settings now. So, could you please help me with this problem? And with my other problem, https://www.digital-metaphors.com/forums/discussion/21658/infinite-loop-when-trying-to-print-image-as-pdf#latest
    DM-150407-Ent1700-001
  • edited June 2022
    Hi Pedro,

    Thanks for the info however our records indicate that you last purchased ReportBuilder in April, 2015.

    We have moved to a software subscription model. When a license is purchased, 1 year of product updates, fixes, new releases, and support are included. Subscriptions may then be renewed yearly at a discounted price.

    Please consider purchasing a new license in order to receive support for your questions as well as the latest version of ReportBuilder. More information on pricing is below.

    https://www.digital-metaphors.com/order/



    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.