web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Wahaj Rashid Profile Picture
    11,323 on at

    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)) , " ","_") + "*"

  • Satoko Profile Picture
    25 on at

    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

  • Suggested answer
    Satoko Profile Picture
    25 on at

    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.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 166

#2
ManoVerse Profile Picture

ManoVerse 54 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans