What GS1 DataBar Expanded Stacked is
GS1 DataBar Expanded Stacked re-flows the same GS1 DataBar Expanded data across two or more stacked rows instead of one long single row, for labels too narrow for the full-length linear layout. bwip-js draws it by forcing the "expandedstacked" layout format and delegating entirely to its already-covered GS1 DataBar Expanded encoder -- confirmed directly reading the complete function body: this is a real, non-obvious finding, since it reuses the "Expanded" family's own drawing routine rather than the "Omni"/"Stacked" family's routine that the separately-covered databarstacked/databarstackedomni capabilities reuse for their own stacked layouts.
Generate it now
Enter GS1 Application Identifier data -- for example "(01)09521234543213(3103)000123" -- to see a live preview.
Valid input
The value must be valid GS1 Application Identifier data, the same structural rules the plain GS1 DataBar Expanded encoder enforces. The segments-per-row option, if set explicitly, must be an even integer from 2 to 22 inclusive (bwipp.gs1databarexpandedBadSegments rejects anything else).
Key options
Supported options include linkage and height (both real options of the underlying GS1 DataBar Expanded encoder, genuinely reaching this capability because it forwards the caller's live options unchanged). Real, literal defaults: linkage false (no linked-composite-component flag set), height -1 (bwip-js auto-computes a bar height). Turning linkage on adds a small linkage-flag pattern indicating a 2D composite component is meant to be printed above the symbol -- it does not itself draw a composite component.
Output and printing
Export SVG for vector-precise label artwork or PNG for a quick proof.
Common uses
GS1 DataBar Expanded Stacked is used on small variable-measure retail items where a full-length single-row DataBar Expanded symbol would not fit the available label width.
Example
See the live preview above, seeded with a bwip-js-verified valid value.
Size guidance
Row count depends on the amount of data encoded and the segments-per-row setting. A fixed height changes only the bar height, independent of row count.
Troubleshooting
A rejected value usually means the data is not valid GS1 Application Identifier structure, or an explicitly set segments value is not an even number from 2 to 22.
Related formats
Related formats: the separately-covered plain GS1 DataBar Expanded generator (single-row layout) and GS1 DataBar Expanded Composite generator (this symbology paired with a linked 2D composite component).
FAQ
How is this different from plain GS1 DataBar Expanded?
Same underlying data and encoder, but drawn as two or more stacked rows instead of one long row -- useful when the label is too narrow for the full-length single-row layout.