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 AX (Archived)

SSRS Report Barcode is not being scanned with a Scanner

(0) ShareShare
ReportReport
Posted on by 3,945

Hi All ,

I have created an SSRS report which has a Barcode field.  When i tried to scan the Barcode , its is not getting scanned . We are using Font  "BC C128 Narrow" with size 40

I have used following code : -

public str getBarcode(str _barCodeText)
{
BarcodeCode128 barcode;

barcode = Barcode::construct(BarcodeType::Code128);
barcode.string(true, _barCodeText);
barcode.encode();

return barcode.barcodeStr();
}

please suggest me , any help will be greatly appreciated.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rodolfo Recalde Profile Picture
    on at

    Hi Gautam,

    a. Review the report design. Try printing the barcode font at different sizes. Review the size of the control.

    0624.barCode_5F00_Report_5F00_DAX_5F00_Recalde2.png

    b. If the barcode appears to be truncated, increase the height and width of the field the font is displayed in so there is extra white space before and after the resulting barcode.

    c. Make sure the material the barcode is printed on has proper contrast.

    d. Check the print quality and DPI of the printer.

    e. Test your scan with this barcode:

    0624.barCode_5F00_Report_5F00_DAX_5F00_Recalde2.png

    f. I believe the X ++ code is correct. However, make sure that the field size in the tmp AX table used is correct.

    I Hope this Helps!

    Regards,

    Rodolfo Recalde.

  • Gautam Profile Picture
    3,945 on at

    Hi Rodolfo Recalde ,

    Thanks for a quick reply , I tried what you have suggested and it worked for me .

    We are using Font BC C128 HD Wide with size 40pt and now its getting scanned .

    Regards,

    Gautam

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans