Expanded, folded into rows, for labels that are taller than they are wide. A row holds an even number of segments, from 2 to 20, and the default of 4 suits most label shapes.
Type Token Item Value Type token DATABAREXPSTACKEnum case BarcodeType::DATABAREXPSTACKFamily Linear Standard ISO/IEC 24724 Class \Com\Tecnick\Barcode\Type\Linear\GsOneDataBarExpandedStacked
Item Value Character set the printable ASCII characters, in the bracketed element string form Length 4 to 22 symbol characters, up to 252 bits of compacted data Check per Application Identifier, where the definition specifies one Extra parameters 2 (see below)
Appended to the type token after commas, as in DATABAREXPSTACK,0,6.
Position Meaning Values Default 1 2D component linkage flag 1 sets the linkage bitunset 2 segments per row an even number from 2 to 20 4
Examples Four segments per row, the default <? php
require_once __DIR__ . '/vendor/autoload.php' ;
$barcode = new \Com\Tecnick\Barcode\Barcode();
$bobj = $barcode -> getBarcodeObj(
type: 'DATABAREXPSTACK' ,
code: '(01)90614141000015(3202)000150' ,
width: - 3 ,
height: - 3 ,
color: 'black' ,
padding: [0 , 0 , 0 , 0 ],
)-> setBackgroundColor('white' );
echo $bobj -> getInlineSvgCode();
Six segments per row, a wider symbol $bobj = $barcode -> getBarcodeObj(
type: 'DATABAREXPSTACK,0,6' ,
code: '(01)90614141000015(3202)000150' ,
width: - 3 ,
height: - 3 ,
color: 'black' ,
padding: [0 , 0 , 0 , 0 ],
)-> setBackgroundColor('white' );
Errors These payloads raise \Com\Tecnick\Barcode\Exception:
Payload Message (01)9061414100001AThe data field of the Application Identifier (01) must be a number
See Also 78 pages in tc-lib-barcode