Table of contents
Namespace: Com\Tecnick\Barcode\Type\Linear
class GsOneDataBarOmni extends GsOneDataBar
Extends: GsOneDataBar
Source: src/Type/Linear/GsOneDataBarOmni.php:50
Com\Tecnick\Barcode\Type\Linear\GsOneDataBarOmni;
GsOneDataBarOmni Barcode type class GS1 DataBar Omnidirectional (ISO/IEC 24724)
Symbol of 46 elements and 96 modules encoding the element string of the Global Trade Item Number, Application Identifier (01). The input is the plain digit string: a code of the full length must carry a valid check digit, a shorter one is left-padded with zeros and the check digit is appended.
The value of the symbol is the linkage flag followed by the 13 data digits of the key. It is split into a left and a right data character pair, and each pair into an outside (16,4) and an inside (15,4) data character. The two finder patterns between them carry the modulo 79 checksum of the data character elements.
GS1 and GS1 DataBar are registered trademarks of GS1 AISBL.
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