Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to encode barcode space character in SSRS Report (CODE39)

(0) ShareShare
ReportReport
Posted on by 25

Hi all,

We were using a custom installed CODE39 font for barcodes in our SSRS report,
but since D365 environment has moved on to self service environment, we cannot use the custom installed font that we have been using.  

The reason why we were using a custom font for the CODE39 barcode was that pre-installed fonts seemed to be unable to encode space characters as barcodes;
they either showed big empty blank spaces instead of barcode character that complies with the CODE39 standard,
or just seem to skip the space character.  

Microsoft support has suggested using Bar-Code39 font, but we are still getting the latter result, and unable to encode the space character.  

Does anyone know CODE39 barcode font that can encode the space character, or an alternative way to print CODE39 barcodes with space characters encoded on a custom SSRS report?

Thanks in advance,
Satoko

  • Suggested answer
    Satoko Profile Picture
    Satoko 25 on at
    RE: How to encode barcode space character in SSRS Report (CODE39)

    Just updating on how this issue ended up.  Our conclusion was that there aren't any preinstalled CODE39 barcode font that can encode the space character.  Now, installing custom fonts to self service environments is possible so we fixed issue by requesting MS support to install the custom font we were using before.  

  • Satoko Profile Picture
    Satoko 25 on at
    RE: How to encode space character in SSRS Report (CODE39)

    Hi Wahaj,

    Thanks for your reply.  

    Unfortunately we cannot replace the space character with other character since it is used print EIAJ Invoice, which is a popular Japanese invoice format that is used widely in our nation, and needs to comply with the JEITA standard, which makes it mandatory to encode the space character.  

    Regards,

    Satoko

  • Wahaj Rashid Profile Picture
    Wahaj Rashid 11,321 on at
    RE: How to encode space character in SSRS Report (CODE39)

    Hi,

    Thank you for your query.

    If possible, can you try replacing the space characters with and underscore (or any other character you want to escape with)?

    Something like this:

    ="*" + Replace(UCase(Trim(Fields!barcode_val.Value)) , " ","_") + "*"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,791 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans