Multirange barcode generator