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

PDF417 bar codes

edited August 2009 in General
I am using version 10.08 with Delphi 2007. This version only prints
that bar code in one direction, which my customer says is wrong for
their scanners. Is there a newer version that allows this bar code to
be rotated 90 degrees as the other bar codes can be?

Thanks,
Don N

Comments

  • edited August 2009
    Hi Don,

    No, unfortunately it is not a feature of the 2D Barcodes to change the
    orientation. This is something we will consider for a later release.

    One option would be to create a Tpp2DBarCode in code and save it as a
    metafile, change the orientation of the image and display it in the report
    as a TppImage component.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2009
    Thanks, Nico. I have no clue how to go about trying your solution. Do
    you have some example to follow?
    Thanks.
  • edited August 2009
    Hi Don,

    Once you create a Tpp2DBarCode, and assign its properties, you can call the
    AsMetaFile routine to retrieve a generated metafile of the finished barcode.
    Then you will need to find a way to process this metafile and rotate it
    before placing it back into the report as a TppImage.

    In code you may need to use the ModifyWorldTransform API function to do this
    however you may also be able to find a library that has this functionality
    built-in as well. A quick search of Google provided numerous results.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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