Skip to content

Give it an input string and it will output a scannable barcode made entirely of Block Element characters

Notifications You must be signed in to change notification settings

505e06b2/Barcode-to-Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barcode to Text

Give it an input string and it will output a scannable barcode made entirely of Block Element characters

                        █▐▁▌▁▐█▁▌▐▌█▁▌▁▐▐▐█▁▐▌█▁▐█▐▐▌

Recommended Scanners

Implemented Barcode Symbologies

  • Interleaved 2 of 5 (ITF)

    • Pros
      • Small barcode size
    • Cons
      • No error checking, which can occasionally lead to misinterpreted scans
      • Can only encode digits
      • Input length must be a multiple of 2
      • Scanners may not accept data that is less than 6 digits (ITF-6)
  • Code 128

    • Pros
      • Can encode any printable 7-bit ASCII character
      • Error checking
    • Cons
      • Barcodes can become rather long
    • Optimisation Hints
      • If input is entirely made of digits, the encoder employs a system similar to ITF, but with error checking and allowing odd input lengths
      • If 4 or more digits (in multiples of 2) are encountered, the last digit adds no length to the barcode

About

Give it an input string and it will output a scannable barcode made entirely of Block Element characters

Resources

Stars

Watchers

Forks