class-Com.Tecnick.Barcode.Type.Linear.RoyalMailFourCc

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class RoyalMailFourCc

Com\Tecnick\Barcode\Type\Linear\RoyalMailFourCc;

RoyalMailFourCC Barcode type class RMS4CC (Royal Mail 4-state Customer Bar Code)

Com\Tecnick\Barcode\Type\Convert
Extended by Com\Tecnick\Barcode\Type
Extended by Com\Tecnick\Barcode\Type\Linear
Extended by Com\Tecnick\Barcode\Type\Linear\RoyalMailFourCc
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/RoyalMailFourCc.php
Methods summary
protected char
# getChecksum( $code )

Calculate the checksum.

protected
# formatCode( )

Format code

protected
# getCoreBars( )

Get the central bars

protected
# setBars( )

Get the bars array

Methods inherited from Com\Tecnick\Barcode\Type
__construct(), getArray(), getBarsArray(), getExtendedCode(), getGd(), getGrid(), getHtmlDiv(), getPng(), getPngData(), getPngDataImagick(), getRgbColorObject(), getSvg(), getSvgCode(), setBackgroundColor(), setColor(), setPadding(), setParameters(), setSize()
Methods inherited from Com\Tecnick\Barcode\Type\Convert
convertDecToHex(), convertHexToDec(), getBarRectXYWH(), getBarRectXYXY(), getGridArray(), getRotatedBarArray(), processBinarySequence()
Properties summary
protected string $format

Barcode format

# 'RMS4CC'
protected array $chbar

Map characters to barcodes

# array( '0' => '3322', '1' => '3412', '2' => '3421', '3' => '4312', '4' => '4321', '5' => '4411', '6' => '3142', '7' => '3232', '8' => '3241', '9' => '4132', 'A' => '4141', 'B' => '4231', 'C' => '3124', 'D' => '3214', 'E' => '3223', 'F' => '4114', 'G' => '4123', 'H' => '4213', 'I' => '1342', 'J' => '1432', 'K' => '1441', 'L' => '2332', 'M' => '2341', 'N' => '2431', 'O' => '1324', 'P' => '1414', 'Q' => '1423', 'R' => '2314', 'S' => '2323', 'T' => '2413', 'U' => '1144', 'V' => '1234', 'W' => '1243', 'X' => '2134', 'Y' => '2143', 'Z' => '2233' )
protected array $chksum

Characters used for checksum

# array( '0' => '11', '1' => '12', '2' => '13', '3' => '14', '4' => '15', '5' => '10', '6' => '21', '7' => '22', '8' => '23', '9' => '24', 'A' => '25', 'B' => '20', 'C' => '31', 'D' => '32', 'E' => '33', 'F' => '34', 'G' => '35', 'H' => '30', 'I' => '41', 'J' => '42', 'K' => '43', 'L' => '44', 'M' => '45', 'N' => '40', 'O' => '51', 'P' => '52', 'Q' => '53', 'R' => '54', 'S' => '55', 'T' => '50', 'U' => '01', 'V' => '02', 'W' => '03', 'X' => '04', 'Y' => '05', 'Z' => '00' )
Properties inherited from Com\Tecnick\Barcode\Type\Linear
$type
Properties inherited from Com\Tecnick\Barcode\Type
$bars, $bg_color_obj, $code, $color_obj, $extcode, $height, $height_ratio, $ncols, $nrows, $padding, $params, $width, $width_ratio
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy