Class UpcE
Com\Tecnick\Barcode\Type\Linear\UpcE;
UpcE Barcode type class UPC-E
UPC-E is a variation of UPC-A which allows for a more compact barcode by eliminating "extra" zeros. Since the resulting UPC-E barcode is about half the size as an UPC-A barcode, UPC-E is generally used on products with very small packaging where a full UPC-A barcode couldn't reasonably fit.
- Com\Tecnick\Barcode\Type\Convert
Com\Tecnick\Barcode\Type
Com\Tecnick\Barcode\Type\Linear
Com\Tecnick\Barcode\Type\Linear\EanOneThree
Com\Tecnick\Barcode\Type\Linear\UpcA
Com\Tecnick\Barcode\Type\Linear\UpcE
Namespace: Com\Tecnick\Barcode\Type\Linear
Package: Barcode
Category: Library
Copyright: 2010-2016 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2015-02-21
Link: https://github.com/tecnickcom/tc-lib-barcode
Located at Type/Linear/UpcE.php
Package: Barcode
Category: Library
Copyright: 2010-2016 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2015-02-21
Link: https://github.com/tecnickcom/tc-lib-barcode
Located at Type/Linear/UpcE.php
protected string |
|
protected |
formatCode() |
getChecksum() |
convertDecToHex(),
convertHexToDec(),
getBarRectXYWH(),
getBarRectXYXY(),
getGridArray(),
getRotatedBarArray(),
processBinarySequence() |
protected string |
$format
Barcode format |
#
'UPCE' |
protected integer |
$code_length
Fixed code length |
#
12 |
protected array |
$parities
Map parities |
#
array( 0 =>
array( '0' => array('B','B','B','A','A','A'),
'1' => array('B','B','A','B','A','A'),
'2' => array('B','B','A','A','B','A'),
'3' => array('B','B','A','A','A','B'),
'4' => array('B','A','B','B','A','A'),
'5' => array('B','A','A','B','B','A'),
'6' => array('B','A','A','A','B','B'),
'7' => array('B','A','B','A','B','A'),
'8' => array('B','A','B','A','A','B'),
'9' => array('B','A','A','B','A','B') ),
1 => array( '0'
=> array('A','A','A','B','B','B'),
'1' => array('A','A','B','A','B','B'),
'2' => array('A','A','B','B','A','B'),
'3' => array('A','A','B','B','B','A'),
'4' => array('A','B','A','A','B','B'),
'5' => array('A','B','B','A','A','B'),
'6' => array('A','B','B','B','A','A'),
'7' => array('A','B','A','B','A','B'),
'8' => array('A','B','A','B','B','A'),
'9' => array('A','B','B','A','B','A') )
) |
$chbar,
$check |
$type |
$bars,
$bg_color_obj,
$code,
$color_obj,
$extcode,
$height,
$height_ratio,
$ncols,
$nrows,
$padding,
$params,
$width,
$width_ratio |