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

QR Code resizing

Hi,

I found a question on the forum that asks the same thing I want to know, but I think it was slightly misunderstood by Nico. The question was about whether it's possible to have a fixed size for a QR code, and the poster was saying that setting autosize to true allows the user to resize to the desired dimensions (in my case 46x46mm) at design time, but that the QR code resizes itself at runtime.

So, if I use the report designer, I can set the QR Version to 25 and the module size to 1, and this produces a QR code that is about 60mmx60mm. If I turn AutoSize on, I can then set the width and height to 46 and the QR code scales accordingly (it shrinks it, as it would an image). If I then run the report, however, it resizes it back to 60mmx60mm.

Is it possible to KEEP it at the size I want? This is a specific requirement of some financial documents for fund transfer in Europe. The QR codes *must* be 46x46, version 25, medium error correction.

Thanks,

Steve

Comments

  • Hi Steve,

    Which version of ReportBuilder are you using?

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • 15.05... unfortunately the company won't upgrade Delphi beyond 2009, so we're unable to upgrade report builder beyond 15.05, despite my pleading with them!
  • Precise measurements and scaling for 2D barcodes is not possible with your version of ReportBuilder. I also believe there were major issues with AutoSize for your version. 2D barcode rendering has since been completely redesigned to support the use of report units which are accurate to the nearest micron.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Thanks Nico. I'll add it to the list of "reasons to upgrade". Apparently Delphi 2009 not being compatible with my Windows 10 OS wasn't enough...
Sign In or Register to comment.