Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Exporting Report into pdf format leads to plain text instead of barcode

Posted on by 2,427

Hi All,

I am getting barcode while printing the report to screen but while exporting report to pdf or word format, 

it leads to plain text which is starting and ending with asterisk symbol instead of barcode.

This is working perfectly in dev environment and testing environment but it is not working in production environment.

e.g., * PO-0000156*

Thanks,

Raziq

  • Anton Venter Profile Picture
    Anton Venter 5,028 Super User on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    You're welcome :)

  • Suggested answer
    Mohammad Raziq Ali Profile Picture
    Mohammad Raziq Ali 2,427 on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    Hi Anton,

    I restarted server itself and I got resolved.

    Thanks,

    Raziq

  • Suggested answer
    RamK Profile Picture
    RamK 2,580 on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    Follow Adam's steps.  Step 4 & 5 are must

  • Anton Venter Profile Picture
    Anton Venter 5,028 Super User on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    Can you tell us which actions you took? Did you restart?

  • adam260 Profile Picture
    adam260 1,869 on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    The others are correct you need to install the barcode font if it does not export correctly.  Try the following

    1. Install font on AOS
      1. If you are running an AX Cluster be sure to install it on all AOS's
    2. Install font on SQL/SSRS box
      1. If you are running a SQL cluster be sure to install it on all AOS's
    3. When installing be sure to install the font thru the control panel>fonts and not C:\windows\fonts for some odd reason windows server 2012 R1+ does not always install the font correctly when you copy to the specific folder but it does if you use the control panel Reboot SQL boxes Reboot AX AOS boxes
    4. Reboot SQL boxes
    5. Reboot AX AOS boxes

    axcalated.blogspot.com/.../custom-barcode-and-micr-fonts-on-ssrs.html

  • Mohammad Raziq Ali Profile Picture
    Mohammad Raziq Ali 2,427 on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    Hi Anton,

    It is not working. Please help with different work around.

    Thanks,

    Raziq

  • Verified answer
    Anton Venter Profile Picture
    Anton Venter 5,028 Super User on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    Hi Raziq, you will need to identify which font was used for the barcode. Then get hold of the file and follow these instructions on the SSRS server (from Internet):

    To install a font

    1. Open Fonts by clicking the Start button , clicking Control Panel, clicking Appearance and Personalization, and then clicking Fonts.
    2. Click File, and then click Install New Font. ... 
    3. In the Add Fonts dialog box, under Drives, click the drive where the font that you want to install is located.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    Hi Raziq,

    go to: Control Panel -> Appearance -> Fonts and check if the font was install.

  • Mohammad Raziq Ali Profile Picture
    Mohammad Raziq Ali 2,427 on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    Hi Anton,

    I really don't how to and where to install. Could you please show me path to look into that?

    Thanks,

    Raziq

  • Suggested answer
    Anton Venter Profile Picture
    Anton Venter 5,028 Super User on at
    RE: Exporting Report into pdf format leads to plain text instead of barcode

    Hi Raziq, the file is probably not installed in the SSRS production server. Can you verify if the barcode font file is present on the SSRS production server?

Helpful resources

Quick Links

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,663 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,741 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans