Fastreport export Problem: DataMatrixCode is deformed

  • Hello,

    we got a problem with a FastReport generated report that containing a 26x26 DataMatrixCode.
    I use components from PSoft (http://www.psoft.sk/) to generate the code.

    The preview of the Report looks fine, but when I export it through the TWPDF_FrPDFExport component the DataMatrixCode is deformed.
    I think there is a relation to the resolution which used in the PDF.
    First: The problem only exists when the Code is smaller than 2x2 cm.
    At my needed size (1,1x1,1cm) the single dots are different in size an aspect ratio.
    Second: The same problem comes up, if I use the internal BMP Export function of the FastReport and choose a too low resolution. However I use a resolution about 300dpi the Code looks fine.
    The result of the internal PDF export of FastReport looks exact (with little bit blurring) when I choose ‘print optimized’.
    That’s why I have to ask for your help. I would be glad if you could give me the answer where I can configure the resolution of the TWPDF_FrPDFExport component.

    german version: http://wpcubed.com/forum/viewtopic.php?t=5904

    best regards
    Crackmaniac

    • Offizieller Beitrag

    Hi,

    I think I sent you an answer as e-mail alreadys.

    For barcodes like this You need to embed those barcodes as bitmaps. If they are exported as vectors they can suffer during reproduction.

    You component must have a setting to print as a bitmap - if not, it is pretty easy to make. Just create a bitmap, paint to ist canvase and the print the bitmap.

    Julian