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

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

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans