Best Practice to use MICR Font for Checks?

Posted by: jyoder on 28 August 2024, 11:51 pm EST

    • Post Options:
    • Link

    Posted 28 August 2024, 11:51 pm EST

    In ActiveReports (we’re on v16) we want to use the MICR Font used in checks. I’m unable to find a definite/best way. I’ve found some websites to download their font (some free and others costly) but I don’t know which ones to trust or if any can work with ActiveReports v16. They range from this…

    https://www.1001fonts.com/micr-encoding-font.html

    … to this…

    https://www.idautomation.com/barcode-fonts/micr-ocr-fonts/

    Do you (or anyone on this forum) have any input/experience on how I should best proceed?

    We’re using a Windows form-based app with ActiveReports v16, which is distributed to users’ machines. Would the users also need to install a new font or can our app embed the font? Is ActiveReports definitely compatible with MICR Font? What’s the best one to use? Etc.

    Thanks for any and all help.

  • Posted 29 August 2024, 7:33 am EST

    Hi Jeremy,

    Thanks for reaching out to us!

    Firstly, you need to add a Custom Font Resolver in your ActiveReports application to embed the MICR font into the exported PDF. For that, you would have to include the font file (.ttf format) in your application and assign a CustomFontResolver object to the FontResolver property of the report.

    Please refer to the following link for more information about the same: Custom Font Resolver

    Along with this, make sure that the .ttf file is installable. The MICR font file shouldn’t have Restricted License Font embeddability (see RestrictedLicense.png), but rather it should have Installable Font embeddability (see InstallableMICRFont.png).

    Also, after using the Custom Font Resolver, the fonts are embedded even if the system doesn’t have the fonts installed. Please refer to the attached sample demonstrating the same.

    We hope this helps!

    Attachment:v16_MICRFont.zip

  • Posted 30 August 2024, 11:38 am EST

    This looks very promising! Thanks much!

    I’ll play with it and see how to best implement it into our product and get back to you.

  • Posted 30 August 2024, 4:47 pm EST

    Could you do the same in VB.NET? I’m having trouble converting the posted code to it.

  • Posted 30 August 2024, 4:50 pm EST

    Also, if it matters, I’m trying to do it in a SectionReport.

  • Posted 2 September 2024, 3:15 am EST

    Hi Jeremy,

    Sure! Please refer to the attached Custom Font Resolver sample using VB.NET, demonstrating embedding MICR font to the Section Report’s exported PDF.

    We hope this helps!

    v15_MICRFontVB.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels