Table of contents
Namespace: Com\Tecnick\Barcode\Type\Linear
class Mailmark extends FourState
Extends: FourState
Source: src/Type/Linear/Mailmark.php:52
Com\Tecnick\Barcode\Type\Linear\Mailmark;
Mailmark Barcode type class Royal Mail Mailmark 4-state barcode, types C and L
The Application String is split into six fields, each field is converted to an integer, the integers are consolidated into a single value, the value is split into data numbers of thirty or thirty two values, Reed Solomon check numbers over GF(32) are appended, every number becomes a six bit symbol of a fixed parity, the symbols are reordered into extender groups and each group drives the ascenders and descenders of three bars.
The type of the barcode follows from the length of the Application String: twenty two characters for the type C, twenty six for the type L.
Mailmark and Royal Mail are registered trademarks of Royal Mail Group Ltd.
Inherited members
From Convert
- getGridArray(): Get a raw barcode grid array
From Type
- __construct(): Initialize a new barcode object
- getArray(): Get the barcode raw array
- getBarsArrayXYWH(): Get the array containing all the formatted bars coordinates (x, y, width, height)
- getBarsArrayXYXY(): Get the array containing all the formatted bars coordinates (x1, y1, x2, y2)
- getExtendedCode(): Get the extended code (code + checksum)
- getGd(): Get the barcode as GD image object (requires GD library)
- getGrid(): Get a raw barcode string representation using characters
- getHtmlDiv(): Get an HTML representation of the barcode.
- getInlineSvgCode(): Get the barcode as inline SVG code.
- getPng(): Get Barcode as PNG Image (requires GD or Imagick library)
- getPngData(): Get the barcode as PNG image (requires GD or Imagick library)
- getPngDataImagick(): Get the barcode as PNG image (requires Imagick library)
- getSvg(): Get the barcode as SVG image object.
- getSvgCode(): Get the barcode as SVG code, including the XML declaration.
- setBackgroundColor(): Set the background color
- setColor(): Set the color of the bars.
- setSize(): Set the size of the barcode to be exported