The barcode generated using Ax is not being detected by the barcode scanner. I have bought a barcode scanner yesterday and tested it on various price labels, it was working fine but it not able to scan the barcode generated by the AX .
I have used the folowing 2 codes yet it was not working
Thanks for a quick reply. I tried what you have suggested, but still it’s not working. Do we have to use any specific printers or something i mean the type???
I don’t think you have to specify the printer, it may be the size of you barcode, I forgot to specify it yesterday, in the class declaration of barcode128 class,
declare the following: #Define.MaxReturnStringSize(200), we had problems with the size of the barcode, in our case we couldn’t encode more than a 25 char string.
in the fetch() method of our report it’s like this:
you don’t need to have a special BarCodePrinter, the class Barcode128 take a string and generate the barcode, the barcode object of our report is a string with the a datamethod that returns barcode128.barcodeStr(), I remember there was also problems with font, we use BC C128 HD Medium with font size 80, make a few tests and let me know
I worked on similar requirement some time ago. Based on memory, try adjusting the font size and see whether that helps. In our case, we had to print the barcode and scan it on two different printers - an industrial and normal printer. Once we got the right font size (after many trials), we were able to print and scan in both printers.
Yes, this will fix the space issue, but try to encode string containing uppercase,lowercase letter,numbers and space - it even doesn’t read. This thing fixed me only the space issue in string containing uppercase letters, numbers and space. Do you know how to fixed the first problem?