Code Monkey home page Code Monkey logo

Comments (6)

terryburton avatar terryburton commented on May 18, 2024 1

Option added to support Royal Mail Mailmark encoding requirements.

from postscriptbarcode.

terryburton avatar terryburton commented on May 18, 2024

Plan is to create a dedicated encoder for the Royal Mail Mailmark application of non-standard DataMatrix which mandates the use of C40 encoding except for the customer detail field where a latch to any other encoding can be used. Too specific a specialisation to pollute the datamatrix encoder with this.

Requires introducing a raw mode to the datamatrix encoder so that the encoded codewords can be passed directly.

from postscriptbarcode.

ken-sands avatar ken-sands commented on May 18, 2024

For anyone in need of enforcing a c40 encoding before that is done, the earlier version here https://github.com/bwipp/postscriptbarcode/blob/5dfc33e823c582a1ffa47e9d6c768095c637203e/src/datamatrix.ps allows passing the encoding=c40 flag, which will give you a compliant barcode (if not one that allows the freedom of any encoding for the last bit).

from postscriptbarcode.

luxlux avatar luxlux commented on May 18, 2024

Is there a way to use a base256 encoding, which is used by Deutsche Post?

When I try libdmtx with the -e8 option for base256, the resulting Data Matrix code is 100% the same as the matrix code generated by Deutsche Post. So it looks like they use a pure base256 encoding, for their completely HEX encoded stamps.
Unfortunately libdmtx does not help me, because i need to do it in javascript for a chrome app...

from postscriptbarcode.

andreygursky avatar andreygursky commented on May 18, 2024

To have a control over encoding would be a good feature (e.g., auto, ascii, text, base256,..).

from postscriptbarcode.

terryburton avatar terryburton commented on May 18, 2024

Coming, but stuck behind some tricky rendering enhancements...

from postscriptbarcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.