Bar-code not visible on report in Web Client

krreggkrregg Member Posts: 4
I have a problem with report in Web Client, it doesn't show actual bar code, it shows numbers instead. If I open same report in RTC, bar code appear normally as expected. I installed test font fre3of9x.ttf (from here: https://www.fontsupply.com/fonts/F/Fre3of9x.html?fn=Fre3of9x) on my computer. Report is being developed locally on my computer so font is somehow accessible. I also check IIS for any additional settings, where I can see files *.ttf are allowed and no other settings found.

I am not sure why bar codes are not visible on reports which are generated trough Web Client, but they are when report is generated from RTC.

The same story is with Preview or Direct Print to printer or PDF (Web client doesn't want to show bar codes, but RTC will).

I am working on latest version of NAV Dynamics 365 and report is developed trough extension and not directly trough Devel. Env.

Does anyone know what could be the problem?

Answers

  • krreggkrregg Member Posts: 4
    I realized that any non-standard font isn't working in web client. I tried to download random font from google fonts and I add it to the report. This font didn't appear in web client, but it is in RTC.
    Any idea how to solve it?
  • SanderDkSanderDk Member Posts: 497
    Have you installed the font on the NAV Server?
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • krreggkrregg Member Posts: 4
    @SanderDk thank you for your reply!

    I fixed it, not really sure how but I did it this way: Because I am working on local machine I installed font only on my machine. After, I opened IIS (Internet Information Services) and I restarted the instance and then it started to work as expected. Custom font (for bar-code) is now visible on report from Web Client, also printing work smoothly. I guess you need to restart service after any change like this.
    SanderDk wrote: »
    Have you installed the font on the NAV Server?

    I am still little bit confused because I am not truly sure why it started working after restart besides font is installed like any other on my local machine... Any thoughts? Maybe I didn't understand everything totally. @SanderDk where and how to install font on the NAV server? If you could explain bit more about that I would appreciate it very much. I couldn't find any useful information on Internet about it.
  • SanderDkSanderDk Member Posts: 497
    @krregg

    When you do a custom font, and it needs to be visible for NAV I usually do.
    - Install the Font on the NAV server (ControlPanel -> Fonts -> check if it is installed correctly)
    - Enable Font to be embedded
    q2ji7p14gibk.png

    - And in the report set PDFFontEmbedding
    g3dqwk84jt1f.png

    After that I haven't had any fonts that does not work :-)
    But it is good to hear that you fixet it yourself :-)
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • krreggkrregg Member Posts: 4
    Thank you for that! I think I understood that right, yes it's good feeling when we fix it by yourself. :)
Sign In or Register to comment.