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

Notifications

Announcements

No record found.

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,321 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans