Can't get ASCII 29 with barcode scanner

latronamarranlatronamarran Member Posts: 24
hi to all,

one of my clients is using a barcode scanner with serial port (Com1). barcodes are includes an ASCII 29 character between it's numbers. But when we scan it, ASCII 29 character doesn't show up (neither in NAV nor Word, Excel etc.) we can only get that ASCII 29 with hyper terminal screen. is it possible to get it with Navision 4.3?

Comments

  • PeterDPeterD Member Posts: 66
    ASCII 29 seems to be a Group Separator which is not a printable character and won't show in Navision / Word / etc.

    Maybe you can replace ASCII 29 by a printable character like - / # . ?

    Maybe you can get the barcode into a variable and process ASCII 29 before you put it into a field?
  • latronamarranlatronamarran Member Posts: 24
    it seems we've got two options right now.

    1. using an ocx called mscomm. this is for listening the serial port. by this way, we may get the barcode data, change the ASCII 29 with a character like "/", and then write it in Navision.

    2. i found some codes written in java to get the ASCII 29 and replace it with something else. but it's not possible to transform it to C/Al. that java codes include some functions like keynum, keypress, keydown etc.. So there's an option to build a different screen to get the barcode data with java or .net, and then transfer it in to Navision
Sign In or Register to comment.