Convert space to barcode

salemmsalemm Member Posts: 38
Hi

I have some items in my database with space for example xxxxx 123 i created a report to print barcode but the items which have a space in the barcode also there will be a space you can see the picture below how it looks like so the scanner cannot read these barcodes.

How to avoid such a problem or there is a way to convert space to barcode lines

Comments

  • kinekine Member Posts: 12,562
    Which barcode you are using?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • gerrykistlergerrykistler Member Posts: 149
    You can use a DELCHR to remove blanks before printing the bar code.
    Gerry Kistler
    KCP Consultores
  • salemmsalemm Member Posts: 38
    kine wrote:
    Which barcode you are using?

    Am using code 39 barcode font
  • kinekine Member Posts: 12,562
    3 of 9 is able to code space. But, I think that you are missing asterisk at beginning and end too... ;-) May be the font is wrong and does not include space.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • salemmsalemm Member Posts: 38
    You can use a DELCHR to remove blanks before printing the bar code.

    My friends thanks a lot i tried this function but while scanning it is scanning the bar code without space so it is not matching the bar code in my database.

    If there is function convert spaces to bar code or font please

    Regards,
  • gerrykistlergerrykistler Member Posts: 149
    Have you confirmed the font is really 3 of 9?
    Gerry Kistler
    KCP Consultores
  • salemmsalemm Member Posts: 38
    Have you confirmed the font is really 3 of 9?

    I installed this font same problem it is not reading the bar code,

    I need a font to convert space to bar code
  • gerrykistlergerrykistler Member Posts: 149
    Look for another source for 3 of 9 as it definitely covers blank spaces. Also verify that your spaces are really spaces and not an unprintable character.
    Gerry Kistler
    KCP Consultores
  • SavatageSavatage Member Posts: 7,142
    You can try this download to see if it solves your issues:
    Barcode 39 in Pure C/AL
    http://www.mibuso.com/dlinfo.asp?FileID=1043
    Barcode 3 of 9 (code39) generation codeunit
    This upload contains a codeunit that will generate a code 3 of 9 barcode without using any external resources; no fonts, no DLLs, nothing.
  • fverkelfverkel Member Posts: 66
    I found this tip.

    "To print the space symbol in Code 39 Fonts or Code 93 Fonts, use "=" (the equal character) instead of a space character."
    Keep It Simple and Stupid (KISS), but never oversimplify.
Sign In or Register to comment.