Aspose.Barcode for PHP via Java Generation and Recognition API docs

Static Public Member Functions

static parse (string $encodeTypeName)
 

Public Attributes

const NONE = -1
 
const CODABAR = 0
 
const CODE_11 = 1
 
const CODE_39 = 2
 
const CODE_39_FULL_ASCII = 3
 
const CODE_93 = 5
 
const CODE_128 = 6
 
const GS_1_CODE_128 = 7
 
const EAN_8 = 8
 
const EAN_13 = 9
 
const EAN_14 = 10
 
const SCC_14 = 11
 
const SSCC_18 = 12
 
const UPCA = 13
 
const UPCE = 14
 
const ISBN = 15
 
const ISSN = 16
 
const ISMN = 17
 
const STANDARD_2_OF_5 = 18
 
const INTERLEAVED_2_OF_5 = 19
 
const MATRIX_2_OF_5 = 20
 
const ITALIAN_POST_25 = 21
 
const IATA_2_OF_5 = 22
 
const ITF_14 = 23
 
const ITF_6 = 24
 
const MSI = 25
 
const VIN = 26
 
const DEUTSCHE_POST_IDENTCODE = 27
 
const DEUTSCHE_POST_LEITCODE = 28
 
const OPC = 29
 
const PZN = 30
 
const CODE_16_K = 31
 
const PHARMACODE = 32
 
const DATA_MATRIX = 33
 
const QR = 34
 
const AZTEC = 35
 
const GS_1_AZTEC = 81
 
const PDF_417 = 36
 
const MACRO_PDF_417 = 37
 
const GS_1_DATA_MATRIX = 48
 
const MICRO_PDF_417 = 55
 
const GS_1_MICRO_PDF_417 = 82
 
const GS_1_QR = 56
 
const MAXI_CODE = 57
 
const DOT_CODE = 60
 
const AUSTRALIA_POST = 38
 
const POSTNET = 39
 
const PLANET = 40
 
const ONE_CODE = 41
 
const RM_4_SCC = 42
 
const MAILMARK = 66
 
const DATABAR_OMNI_DIRECTIONAL = 43
 
const DATABAR_TRUNCATED = 44
 
const DATABAR_LIMITED = 45
 
const DATABAR_EXPANDED = 46
 
const DATABAR_EXPANDED_STACKED = 52
 
const DATABAR_STACKED = 53
 
const DATABAR_STACKED_OMNI_DIRECTIONAL = 54
 
const SINGAPORE_POST = 47
 
const AUSTRALIAN_POSTE_PARCEL = 49
 
const SWISS_POST_PARCEL = 50
 
const PATCH_CODE = 51
 
const CODE_32 = 58
 
const DATA_LOGIC_2_OF_5 = 59
 
const DUTCH_KIX = 61
 
const UPCA_GS_1_CODE_128_COUPON = 62
 
const UPCA_GS_1_DATABAR_COUPON = 63
 
const CODABLOCK_F = 64
 
const GS_1_CODABLOCK_F = 65
 
const GS_1_COMPOSITE_BAR = 67
 
const HIBC_CODE_39_LIC = 68
 
const HIBC_CODE_128_LIC = 69
 
const HIBC_AZTEC_LIC = 70
 
const HIBC_DATA_MATRIX_LIC = 71
 
const HIBCQRLIC = 72
 
const HIBC_CODE_39_PAS = 73
 
const HIBC_CODE_128_PAS = 74
 
const HIBC_AZTEC_PAS = 75
 
const HIBC_DATA_MATRIX_PAS = 76
 
const HIBCQRPAS = 77
 
const GS_1_DOT_CODE = 78
 
const HAN_XIN = 79
 
const GS_1_HAN_XIN = 80
 
const MICRO_QR = 83
 
const RECT_MICRO_QR = 84
 

Detailed Description

Specifies the type of barcode to encode.

Member Function Documentation

◆ parse()

static EncodeTypes::parse ( string  $encodeTypeName)
static

Member Data Documentation

◆ AUSTRALIA_POST

const EncodeTypes::AUSTRALIA_POST = 38

Represents Australia Post Customer BarCode

◆ AUSTRALIAN_POSTE_PARCEL

const EncodeTypes::AUSTRALIAN_POSTE_PARCEL = 49

Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification

◆ AZTEC

const EncodeTypes::AZTEC = 35

Specifies that the data should be encoded with Aztec barcode specification

◆ CODABAR

const EncodeTypes::CODABAR = 0

Specifies that the data should be encoded with CODABAR barcode specification

◆ CODABLOCK_F

const EncodeTypes::CODABLOCK_F = 64

Specifies that the data should be encoded with Codablock-F barcode specification.

◆ CODE_11

const EncodeTypes::CODE_11 = 1

Specifies that the data should be encoded with CODE 11 barcode specification

◆ CODE_128

const EncodeTypes::CODE_128 = 6

Specifies that the data should be encoded with CODE 128 barcode specification

◆ CODE_16_K

const EncodeTypes::CODE_16_K = 31

Represents Code 16K barcode.

◆ CODE_32

const EncodeTypes::CODE_32 = 58

Specifies that the data should be encoded with Code32 barcode specification

◆ CODE_39

const EncodeTypes::CODE_39 = 2

Specifies that the data should be encoded with

<b>Code 39</b>

basic charset barcode specification: ISO/IEC 16388

◆ CODE_39_FULL_ASCII

const EncodeTypes::CODE_39_FULL_ASCII = 3

Specifies that the data should be encoded with

<b>Code 39</b>

full ASCII charset barcode specification: ISO/IEC 16388

◆ CODE_93

const EncodeTypes::CODE_93 = 5

Specifies that the data should be encoded with

<b>CODE 93</b>

barcode specification

◆ DATA_LOGIC_2_OF_5

const EncodeTypes::DATA_LOGIC_2_OF_5 = 59

Specifies that the data should be encoded with DataLogic 2 of 5 barcode specification

◆ DATA_MATRIX

const EncodeTypes::DATA_MATRIX = 33

2D barcode symbology DataMatrix

◆ DATABAR_EXPANDED

const EncodeTypes::DATABAR_EXPANDED = 46

Represents GS1 Databar expanded barcode.

◆ DATABAR_EXPANDED_STACKED

const EncodeTypes::DATABAR_EXPANDED_STACKED = 52

Represents GS1 Databar expanded stacked barcode.

◆ DATABAR_LIMITED

const EncodeTypes::DATABAR_LIMITED = 45

Represents GS1 DATABAR limited barcode.

◆ DATABAR_OMNI_DIRECTIONAL

const EncodeTypes::DATABAR_OMNI_DIRECTIONAL = 43

Specifies that the data should be encoded with GS1 Databar omni-directional barcode specification.

◆ DATABAR_STACKED

const EncodeTypes::DATABAR_STACKED = 53

Represents GS1 Databar stacked barcode.

◆ DATABAR_STACKED_OMNI_DIRECTIONAL

const EncodeTypes::DATABAR_STACKED_OMNI_DIRECTIONAL = 54

Represents GS1 Databar stacked omni-directional barcode.

◆ DATABAR_TRUNCATED

const EncodeTypes::DATABAR_TRUNCATED = 44

Specifies that the data should be encoded with GS1 Databar truncated barcode specification.

◆ DEUTSCHE_POST_IDENTCODE

const EncodeTypes::DEUTSCHE_POST_IDENTCODE = 27

Represents Deutsch Post barcode, This EncodeType is also known as Identcode,CodeIdentcode,German Postal 2 of 5 Identcode, Deutsch Post AG Identcode, Deutsch Frachtpost Identcode, Deutsch Post AG (DHL)

◆ DEUTSCHE_POST_LEITCODE

const EncodeTypes::DEUTSCHE_POST_LEITCODE = 28

Represents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL).

◆ DOT_CODE

const EncodeTypes::DOT_CODE = 60

Specifies that the data should be encoded with DotCode barcode specification

◆ DUTCH_KIX

const EncodeTypes::DUTCH_KIX = 61

Specifies that the data should be encoded with Dutch KIX barcode specification

◆ EAN_13

const EncodeTypes::EAN_13 = 9

Specifies that the data should be encoded with EAN-13 barcode specification

◆ EAN_14

const EncodeTypes::EAN_14 = 10

Specifies that the data should be encoded with EAN14 barcode specification

◆ EAN_8

const EncodeTypes::EAN_8 = 8

Specifies that the data should be encoded with EAN-8 barcode specification

◆ GS_1_AZTEC

const EncodeTypes::GS_1_AZTEC = 81

Specifies that the data should be encoded with

<b>GS1 Aztec</b>

barcode specification. The codetext must contains parentheses for AI.

◆ GS_1_CODABLOCK_F

const EncodeTypes::GS_1_CODABLOCK_F = 65

Specifies that the data should be encoded with GS1 Codablock-F barcode specification. The codetext must contains parentheses for AI.

◆ GS_1_CODE_128

const EncodeTypes::GS_1_CODE_128 = 7

Specifies that the data should be encoded with GS1 Code 128 barcode specification. The codetext must contains parentheses for AI.

◆ GS_1_COMPOSITE_BAR

const EncodeTypes::GS_1_COMPOSITE_BAR = 67

Specifies that the data should be encoded with GS1 Composite Bar barcode specification. The codetext must contains parentheses for AI. 1D codetext and 2D codetext must be separated with symbol '/'

◆ GS_1_DATA_MATRIX

const EncodeTypes::GS_1_DATA_MATRIX = 48

2D barcode symbology DataMatrix with GS1 string format

◆ GS_1_DOT_CODE

const EncodeTypes::GS_1_DOT_CODE = 78

Specifies that the data should be encoded with

<b>GS1 DotCode</b>

barcode specification. The codetext must contains parentheses for AI.

◆ GS_1_HAN_XIN

const EncodeTypes::GS_1_HAN_XIN = 80

2D barcode symbology QR with GS1 string format

◆ GS_1_MICRO_PDF_417

const EncodeTypes::GS_1_MICRO_PDF_417 = 82

Specifies that the data should be encoded with GS1MicroPdf417 barcode specification

◆ GS_1_QR

const EncodeTypes::GS_1_QR = 56

2D barcode symbology QR with GS1 string format

◆ HAN_XIN

const EncodeTypes::HAN_XIN = 79

Specifies that the data should be encoded with Han Xin barcode specification

◆ HIBC_AZTEC_LIC

const EncodeTypes::HIBC_AZTEC_LIC = 70

Specifies that the data should be encoded with

<b>HIBC LIC Aztec</b>

barcode specification.

◆ HIBC_AZTEC_PAS

const EncodeTypes::HIBC_AZTEC_PAS = 75

Specifies that the data should be encoded with

<b>HIBC PAS Aztec</b>

barcode specification.

◆ HIBC_CODE_128_LIC

const EncodeTypes::HIBC_CODE_128_LIC = 69

Specifies that the data should be encoded with

<b>HIBC LIC Code128</b>

barcode specification.

◆ HIBC_CODE_128_PAS

const EncodeTypes::HIBC_CODE_128_PAS = 74

Specifies that the data should be encoded with

<b>HIBC PAS Code128</b>

barcode specification.

◆ HIBC_CODE_39_LIC

const EncodeTypes::HIBC_CODE_39_LIC = 68

Specifies that the data should be encoded with

<b>HIBC LIC Code39Standart</b>

barcode specification.

◆ HIBC_CODE_39_PAS

const EncodeTypes::HIBC_CODE_39_PAS = 73

Specifies that the data should be encoded with

<b>HIBC PAS Code39Standart</b>

barcode specification.

◆ HIBC_DATA_MATRIX_LIC

const EncodeTypes::HIBC_DATA_MATRIX_LIC = 71

Specifies that the data should be encoded with

<b>HIBC LIC DataMatrix</b>

barcode specification.

◆ HIBC_DATA_MATRIX_PAS

const EncodeTypes::HIBC_DATA_MATRIX_PAS = 76

Specifies that the data should be encoded with

<b>HIBC PAS DataMatrix</b>

barcode specification.

◆ HIBCQRLIC

const EncodeTypes::HIBCQRLIC = 72

Specifies that the data should be encoded with

<b>HIBC LIC QR</b>

barcode specification.

◆ HIBCQRPAS

const EncodeTypes::HIBCQRPAS = 77

Specifies that the data should be encoded with

<b>HIBC PAS QR</b>

barcode specification.

◆ IATA_2_OF_5

const EncodeTypes::IATA_2_OF_5 = 22

Represents IATA 2 of 5 barcode.IATA (International Air Transport Assosiation) uses this barcode for the management of air cargo.

◆ INTERLEAVED_2_OF_5

const EncodeTypes::INTERLEAVED_2_OF_5 = 19

Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification

◆ ISBN

const EncodeTypes::ISBN = 15

Specifies that the data should be encoded with isBN barcode specification

◆ ISMN

const EncodeTypes::ISMN = 17

Specifies that the data should be encoded with ISMN barcode specification

◆ ISSN

const EncodeTypes::ISSN = 16

Specifies that the data should be encoded with ISSN barcode specification

◆ ITALIAN_POST_25

const EncodeTypes::ITALIAN_POST_25 = 21

Represents Italian Post 25 barcode.

◆ ITF_14

const EncodeTypes::ITF_14 = 23

Specifies that the data should be encoded with ITF14 barcode specification

◆ ITF_6

const EncodeTypes::ITF_6 = 24

Represents ITF-6 Barcode.

◆ MACRO_PDF_417

const EncodeTypes::MACRO_PDF_417 = 37

Specifies that the data should be encoded with MacroPdf417 barcode specification

◆ MAILMARK

const EncodeTypes::MAILMARK = 66

Represents Royal Mail Mailmark barcode.

◆ MATRIX_2_OF_5

const EncodeTypes::MATRIX_2_OF_5 = 20

Represents Matrix 2 of 5 BarCode

◆ MAXI_CODE

const EncodeTypes::MAXI_CODE = 57

Specifies that the data should be encoded with MaxiCode barcode specification

◆ MICRO_PDF_417

const EncodeTypes::MICRO_PDF_417 = 55

Specifies that the data should be encoded with MicroPdf417 barcode specification

◆ MICRO_QR

const EncodeTypes::MICRO_QR = 83

Specifies that the data should be encoded with MicroQR Code barcode specification

◆ MSI

const EncodeTypes::MSI = 25

Specifies that the data should be encoded with MSI Plessey barcode specification

◆ NONE

const EncodeTypes::NONE = -1

Unspecified encode type.

◆ ONE_CODE

const EncodeTypes::ONE_CODE = 41

Specifies that the data should be encoded with USPS OneCode barcode specification

◆ OPC

const EncodeTypes::OPC = 29

Represents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode.

◆ PATCH_CODE

const EncodeTypes::PATCH_CODE = 51

Represents Patch code barcode

◆ PDF_417

const EncodeTypes::PDF_417 = 36

Specifies that the data should be encoded with Pdf417 barcode specification

◆ PHARMACODE

const EncodeTypes::PHARMACODE = 32

Represents Pharmacode barcode.

◆ PLANET

const EncodeTypes::PLANET = 40

Specifies that the data should be encoded with Planet barcode specification

◆ POSTNET

const EncodeTypes::POSTNET = 39

Specifies that the data should be encoded with Postnet barcode specification

◆ PZN

const EncodeTypes::PZN = 30

Represents PZN barcode.This EncodeType is also known as Pharmacy central number, Pharmazentralnummer

◆ QR

const EncodeTypes::QR = 34

Specifies that the data should be encoded with QR Code barcode specification

◆ RECT_MICRO_QR

const EncodeTypes::RECT_MICRO_QR = 84

Specifies that the data should be encoded with RectMicroQR (rMQR) Code barcode specification

◆ RM_4_SCC

const EncodeTypes::RM_4_SCC = 42

Represents RM4SCC barcode. RM4SCC (Royal Mail 4-state Customer Code) is used for automated mail sort process in UK.

◆ SCC_14

const EncodeTypes::SCC_14 = 11

Specifies that the data should be encoded with SCC14 barcode specification

◆ SINGAPORE_POST

const EncodeTypes::SINGAPORE_POST = 47

Specifies that the data should be encoded with Singapore Post Barcode barcode specification

◆ SSCC_18

const EncodeTypes::SSCC_18 = 12

Specifies that the data should be encoded with SSCC18 barcode specification

◆ STANDARD_2_OF_5

const EncodeTypes::STANDARD_2_OF_5 = 18

Specifies that the data should be encoded with Standard 2 of 5 barcode specification

◆ SWISS_POST_PARCEL

const EncodeTypes::SWISS_POST_PARCEL = 50

Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification. Supported types: Domestic Mail, International Mail, Additional Services (new)

◆ UPCA

const EncodeTypes::UPCA = 13

Specifies that the data should be encoded with UPC-A barcode specification

◆ UPCA_GS_1_CODE_128_COUPON

const EncodeTypes::UPCA_GS_1_CODE_128_COUPON = 62

Specifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification. An example of the input string: BarCodeBuilder->setCodetext("514141100906(8102)03"), where UPCA part is "514141100906", GS1Code128 part is (8102)03.

◆ UPCA_GS_1_DATABAR_COUPON

const EncodeTypes::UPCA_GS_1_DATABAR_COUPON = 63

Specifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification.

An example of the input string:

BarcodeGenerator->setCodetext("514141100906(8110)106141416543213500110000310123196000"),

where UPCA part is "514141100906", DATABAR part is "(8110)106141416543213500110000310123196000". To change the caption, use barCodeBuilder->getCaptionAbove()->setText("company prefix + offer code");

◆ UPCE

const EncodeTypes::UPCE = 14

Specifies that the data should be encoded with UPC-E barcode specification

◆ VIN

const EncodeTypes::VIN = 26

Represents VIN (Vehicle Identification Number) Barcode.