JSPM

datamatrix-2d-decode

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q36621F
  • License ISC

Module for decoding data from 2d decode to use with Europen Medical Verification System (EMVS)

Package Exports

  • datamatrix-2d-decode

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (datamatrix-2d-decode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Datamatrix 2D code decode

Module for parsing data read from 2D scanner, especially made for EMVS (European medical verification system). Input is some variant of these codes:

Pure FNC1 Syntax

01050004560134821000001[GS]17201200210000000001[CR]

Mixed GS1 05 syntax and german IFA / MH10.8.2 (05[GS] = 05 syntax, 06[GS] = MH10.8.2 / IFA syntax)

[)>[RS]05[GS]0105000456013482[RS]06[GS]S0000000001[GS]1T00001[GS]D201200[RS][EOT][CR]

Currently are decoded these tags, according to EMVS needs:

  • product number (GTIN)
  • expiration
  • lot
  • serial number

If you need another tags according to GS1 specifications to be decoded, don't hesitate to contact me, I'll do my best.

Scanner setup

This module to work on client side in browser, you have to setup your scanner to send also unreadable characters.

Voyager 1450g setup

User manual Page 2-17, switch on Control Character Output - this will send also unreadable characters

Page 2-3, switch to PAP124, USB Keyboard PC

Zebra DS4308 setup

Install 123Scan configuration sw and load configuration from config folder.

Output is Object with

  • productcode
  • serial_no
  • expiration
  • lot

keys decoded from scanned code.