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

Problem with RB 14 and PDF417

edited April 2013 in General
Again, one more problem moving from RB 10 to RB 14.

In RB 10, I have a barcode printing report for labels, that uses PDF417
Trucanted. It works fine, and the customer barcode reader can read the
labels with no problem.

In RB 14, the same report prints the same barcode with half the height
of the barcode generated by RB 10. The barcode reader doesnt understand
the barcode.

I did some tests with RB 14 and the non-DB version of the component
seems to scale "correctly", at last in design time. For some reason, the
DB version of the barcode component in RB14 seems to not be scaling when
the barcode data is loaded from the DB.

So, how to solve this?

Carlos

Comments

  • edited April 2013
    I compared sources from RB10 and RB 14, and seems that in RB14, the method

    procedure
    TppCustom2DBarCode.PropertiesToDrawCommand(aDrawCommand:TppDrawCommand);

    misses the last line:

    lDrawCommand.CalcBarCodeSize;

    Including this line seems to make the size of the barcode scale
    correctly, altought I dont have a barcode reader here now to test if it
    the result is readable.

    Can someone from DM please check if this would be the right fix for the
    problem?

    Carlos

    Em 19/04/2013 17:08, Carlos escreveu:
  • edited April 2013
    Hi Carlos,

    We made this change after RB 10 to handle specific scaling issues with
    the PDF417 barcode. If possible, please send a simple example showing
    the issue to us in .zip format (using only Delphi and RB components) and
    I'll take a look at it for you. Send the example to
    support@digital-metaphors.com.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2013
    I just sent a sample app to the support email. Please take a look and
    get back to me.

    I'm still waiting for the solution of the EOutOfRecourses error
    exporting RTF containing images as bitmap in PDF. This is the most
    traumatic version upgrade I ever did. For now, I had to go back to
    previous version since lots of customers became really mad with me :(
    Plz also confirm if you received the sample PDFs I sent to you in the
    last Friday.

    Carlos

    Em 22/04/2013 10:20, Nico Cizik (Digital Metaphors) escreveu:
  • edited April 2013
    Hi Nico!

    Did you check the sample app that I sent? Any news about this subject?

    []s
    Carlos

    Em 22/04/2013 10:20, Nico Cizik (Digital Metaphors) escreveu:
  • edited April 2013
    Sorry for the delay. We are still researching this and will respond
    here once a solution is found. Thanks for your patience.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2013
    There is now a patch for RB 14.08 available that solves this issue.
    Send an email to support@digital-metaphors.com to receive the patch.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2013
    Seems that you have a regression in RB 15.01. The problem with incorrect
    PDF417 barcode size is back :(

    You can use the same sample app that I sent to you in the past to
    reproduce it.

    Please send me a fix asap!

    Carlos

    Em 24/04/2013 16:15, Nico Cizik (Digital Metaphors) escreveu:
  • edited September 2013
    There is a patch available that fixes this issue. Registered RB 15
    users can send an email to support@digital-metaphors to receive the patch.

    For future reference, please use only one support outlet when asking a
    question. Email or Newsgroups.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.