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)

Barcode Printing

(0) ShareShare
ReportReport
Posted on by

please guide me how to get barcode number printed in the product label ? i am getting the barcode, variant number and item number but not the barcode number.

secondly i want to know how to customize the barcode label in a way i want?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hello Huma,

    If you are using a class that extends barcode, there are methods on the classes that will return a string representation of the barcode.

    If you want to customize the label, you will need to either modify an existing inherited barcode class or create one of your own.

    Hope this helps you get on track!

    Kindest Regards.

  • Brad Docimo Profile Picture
    485 on at

    Huma, we probably need a bit more information to assist you.  What software are you using to generate your labels?  Are you printing them directly from AX, or using a third party labeling program?  Using an AX report or a custom query that you wrote?

    Brad Docimo

    www.ScanWorkX.com

  • Community Member Profile Picture
    on at

    I am printing it directly from AX, using an AX report. i want to use a 15 digit number. and if i am using code 39 only then i am getting the barcode number otherwise i am getting special characters instead of the barcode numbers on product label and i am confused why it is showing special characters.

  • Community Member Profile Picture
    on at

    its related to font and its size

  • Brad Docimo Profile Picture
    485 on at

    Code 3 of 9 is a plain-text format.  It only contains your barcode contents plus a start and stop character (*).  In general, it also does not support special characters.  If you have numeric or simple item names without special characters, you can use it.

    All the other formats are encoded one way or another and/or contain check digits.  In order to use those formats, you will need to tap into one of AX's internal barcode generating classes, use an off-the-shelf barcode library, or if you're really brave, write your own.

    Simply selecting the Code 128 font will not work.  You have to encode the values first.

  • Battery Boy Profile Picture
    445 on at

    Huma, we have done this by using a display method that adds the * start and stop characters.e.g.

    display str QuantityBarCode()

    {

       return "*" +int2str(pqty)+ "*" ;

    }

    You can then add this to the report using the BC C39 2 to 1 Medium font or similar.

    You might find you need to stretch it out a bit as code 39 fonts do take up a lot of space.

  • Community Member Profile Picture
    on at

    okayy thankyouu,

    please tell me one more thing, how can i generate barcodes automatically, like i setup the barcode masks and according to that i want the system to generate barcode itself. if i go to the barcode form , in functions tab there are two functionality, create or update barcode and create barcodes thru number sequence. in number sequence giving a vendor name is mandatory and with vendor we have to generate number sequences.

    i did associate number sequences with it but still it is giving the error that number sequence must be assigned..

    and if i am using create/ update barcodes it is giving the error that no size/color etc group exist in its invent table thou i have set up the variants and its groups. what should i do?

  • Community Member Profile Picture
    on at

    and is it possible to generate barcodes of multiple products at a time? cause if we have like 1000s of products do we have to manually generate barcodes for each of it one by one ?

  • Community Member Profile Picture
    on at

    i still dint get it

  • Brad Docimo Profile Picture
    485 on at

    How are you consuming the barcodes?  The easiest way would just be to barcode your ItemID in the report instead of using barcode cross references.  Then, you wouldn't have to add any data.

    If you are tied to the barcode table, you could also write a query to just copy the item ID into the barcode table for each item.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight 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