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

Specifies the type of barcode to encode. More...

Inherits Enum.

Static Public Member Functions

def parse (encodeTypeName)
 

Static Public Attributes

int AUSTRALIA_POST = 38
 Represents Australia Post Customer BarCode. More...
 
int AUSTRALIAN_POSTE_PARCEL = 49
 Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification. More...
 
int AZTEC = 35
 Specifies that the data should be encoded with Aztec barcode specification. More...
 
int CODABAR = 0
 Specifies that the data should be encoded with CODABAR barcode specification. More...
 
int CODABLOCK_F = 64
 Specifies that the data should be encoded with Codablock-F barcode specification. More...
 
int CODE_11 = 1
 Specifies that the data should be encoded with CODE 11 barcode specification. More...
 
int CODE_128 = 6
 Specifies that the data should be encoded with CODE 128 barcode specification. More...
 
int CODE_16_K = 31
 Represents Code 16K barcode. More...
 
int CODE_32 = 58
 Specifies that the data should be encoded with Code32 barcode specification. More...
 
int CODE_39 = 2
 Specifies that the data should be encoded with. More...
 
int CODE_39_FULL_ASCII = 3
 Specifies that the data should be encoded with. More...
 
int CODE_93 = 5
 Specifies that the data should be encoded with. More...
 
int DATA_LOGIC_2_OF_5 = 59
 Specifies that the data should be encoded with DataLogic 2 of 5 barcode specification. More...
 
int DATA_MATRIX = 33
 2D barcode symbology DataMatrix More...
 
int DATABAR_EXPANDED = 46
 Represents GS1 Databar expanded barcode. More...
 
int DATABAR_EXPANDED_STACKED = 52
 Represents GS1 Databar expanded stacked barcode. More...
 
int DATABAR_LIMITED = 45
 Represents GS1 DATABAR limited barcode. More...
 
int DATABAR_OMNI_DIRECTIONAL = 43
 Specifies that the data should be encoded with GS1 Databar omni-directional barcode specification. More...
 
int DATABAR_STACKED = 53
 Represents GS1 Databar stacked barcode. More...
 
int DATABAR_STACKED_OMNI_DIRECTIONAL = 54
 Represents GS1 Databar stacked omni-directional barcode. More...
 
int DATABAR_TRUNCATED = 44
 Specifies that the data should be encoded with GS1 Databar truncated barcode specification. More...
 
int 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) More...
 
int DEUTSCHE_POST_LEITCODE = 28
 Represents Deutsch Post Leitcode Barcode,also known as German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsch Post AG (DHL). More...
 
int DOT_CODE = 60
 Specifies that the data should be encoded with DotCode barcode specification. More...
 
int DUTCH_KIX = 61
 Specifies that the data should be encoded with Dutch KIX barcode specification. More...
 
int EAN_13 = 9
 Specifies that the data should be encoded with EAN-13 barcode specification. More...
 
int EAN_14 = 10
 Specifies that the data should be encoded with EAN14 barcode specification. More...
 
int EAN_8 = 8
 Specifies that the data should be encoded with EAN-8 barcode specification. More...
 
int GS_1_AZTEC = 81
 Specifies that the data should be encoded with. More...
 
int GS_1_CODABLOCK_F = 65
 Specifies that the data should be encoded with GS1 Codablock-F barcode specification. More...
 
int GS_1_CODE_128 = 7
 Specifies that the data should be encoded with GS1 Code 128 barcode specification. More...
 
int GS_1_COMPOSITE_BAR = 67
 Specifies that the data should be encoded with GS1 Composite Bar barcode specification. More...
 
int GS_1_DATA_MATRIX = 48
 2D barcode symbology DataMatrix with GS1 string format More...
 
int GS_1_DOT_CODE = 78
 Specifies that the data should be encoded with. More...
 
int GS_1_HAN_XIN = 80
 2D barcode symbology QR with GS1 string format More...
 
int GS_1_MICRO_PDF_417 = 82
 Specifies that the data should be encoded with GS1MicroPdf417 barcode specification. More...
 
int GS_1_QR = 56
 2D barcode symbology QR with GS1 string format More...
 
int HAN_XIN = 79
 Specifies that the data should be encoded with Han Xin barcode specification. More...
 
int HIBC_AZTEC_LIC = 70
 Specifies that the data should be encoded with. More...
 
int HIBC_AZTEC_PAS = 75
 Specifies that the data should be encoded with. More...
 
int HIBC_CODE_128_LIC = 69
 Specifies that the data should be encoded with. More...
 
int HIBC_CODE_128_PAS = 74
 Specifies that the data should be encoded with. More...
 
int HIBC_CODE_39_LIC = 68
 Specifies that the data should be encoded with. More...
 
int HIBC_CODE_39_PAS = 73
 Specifies that the data should be encoded with. More...
 
int HIBC_DATA_MATRIX_LIC = 71
 Specifies that the data should be encoded with. More...
 
int HIBC_DATA_MATRIX_PAS = 76
 Specifies that the data should be encoded with. More...
 
int HIBCQRLIC = 72
 Specifies that the data should be encoded with. More...
 
int HIBCQRPAS = 77
 Specifies that the data should be encoded with. More...
 
int 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. More...
 
int INTERLEAVED_2_OF_5 = 19
 Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification. More...
 
int ISBN = 15
 Specifies that the data should be encoded with isBN barcode specification. More...
 
int ISMN = 17
 Specifies that the data should be encoded with ISMN barcode specification. More...
 
int ISSN = 16
 Specifies that the data should be encoded with ISSN barcode specification. More...
 
int ITALIAN_POST_25 = 21
 Represents Italian Post 25 barcode. More...
 
int ITF_14 = 23
 Specifies that the data should be encoded with ITF14 barcode specification. More...
 
int ITF_6 = 24
 Represents ITF-6 Barcode. More...
 
int MACRO_PDF_417 = 37
 Specifies that the data should be encoded with MacroPdf417 barcode specification. More...
 
int MAILMARK = 66
 Represents Royal Mail Mailmark barcode. More...
 
int MATRIX_2_OF_5 = 20
 Represents Matrix 2 of 5 BarCode. More...
 
int MAXI_CODE = 57
 Specifies that the data should be encoded with MaxiCode barcode specification. More...
 
int MICRO_PDF_417 = 55
 Specifies that the data should be encoded with MicroPdf417 barcode specification. More...
 
int MICRO_QR = 83
 Specifies that the data should be encoded with MicroQR Code barcode specification. More...
 
int MSI = 25
 Specifies that the data should be encoded with MSI Plessey barcode specification. More...
 
int NONE = -1
 Unspecified encode type. More...
 
int ONE_CODE = 41
 Specifies that the data should be encoded with USPS OneCode barcode specification. More...
 
int OPC = 29
 Represents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode. More...
 
int PATCH_CODE = 51
 Represents Patch code barcode. More...
 
int PDF_417 = 36
 Specifies that the data should be encoded with Pdf417 barcode specification. More...
 
int PHARMACODE = 32
 Represents Pharmacode barcode. More...
 
int PLANET = 40
 Specifies that the data should be encoded with Planet barcode specification. More...
 
int POSTNET = 39
 Specifies that the data should be encoded with Postnet barcode specification. More...
 
int PZN = 30
 Represents PZN barcode.This EncodeType is also known as Pharmacy central number, Pharmazentralnummer. More...
 
int QR = 34
 Specifies that the data should be encoded with QR Code barcode specification. More...
 
int RECT_MICRO_QR = 84
 Specifies that the data should be encoded with RectMicroQR (rMQR) Code barcode specification. More...
 
int RM_4_SCC = 42
 Represents RM4SCC barcode. More...
 
int SCC_14 = 11
 Specifies that the data should be encoded with SCC14 barcode specification. More...
 
int SINGAPORE_POST = 47
 Specifies that the data should be encoded with Singapore Post Barcode barcode specification. More...
 
int SSCC_18 = 12
 Specifies that the data should be encoded with SSCC18 barcode specification. More...
 
int STANDARD_2_OF_5 = 18
 Specifies that the data should be encoded with Standard 2 of 5 barcode specification. More...
 
int SWISS_POST_PARCEL = 50
 Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification. More...
 
int UPCA = 13
 Specifies that the data should be encoded with UPC-A barcode specification. More...
 
int UPCA_GS_1_CODE_128_COUPON = 62
 Specifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification. More...
 
int UPCA_GS_1_DATABAR_COUPON = 63
 Specifies that the data should be encoded with UPC coupon with GS1 DataBar addition barcode specification. More...
 
int UPCE = 14
 Specifies that the data should be encoded with UPC-E barcode specification. More...
 
int VIN = 26
 Represents VIN (Vehicle Identification Number) Barcode. More...
 

Detailed Description

Specifies the type of barcode to encode.

Member Function Documentation

◆ parse()

def parse (   encodeTypeName)
static

Member Data Documentation

◆ AUSTRALIA_POST

int AUSTRALIA_POST = 38
static

Represents Australia Post Customer BarCode.

◆ AUSTRALIAN_POSTE_PARCEL

int AUSTRALIAN_POSTE_PARCEL = 49
static

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

◆ AZTEC

int AZTEC = 35
static

Specifies that the data should be encoded with Aztec barcode specification.

◆ CODABAR

int CODABAR = 0
static

Specifies that the data should be encoded with CODABAR barcode specification.

◆ CODABLOCK_F

int CODABLOCK_F = 64
static

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

◆ CODE_11

int CODE_11 = 1
static

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

◆ CODE_128

int CODE_128 = 6
static

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

◆ CODE_16_K

int CODE_16_K = 31
static

Represents Code 16K barcode.

◆ CODE_32

int CODE_32 = 58
static

Specifies that the data should be encoded with Code32 barcode specification.

◆ CODE_39

int CODE_39 = 2
static

Specifies that the data should be encoded with.

<b>Code 39</b>

basic charset barcode specification: ISO/IEC 16388

◆ CODE_39_FULL_ASCII

int CODE_39_FULL_ASCII = 3
static

Specifies that the data should be encoded with.

<b>Code 39</b>

full ASCII charset barcode specification: ISO/IEC 16388

◆ CODE_93

int CODE_93 = 5
static

Specifies that the data should be encoded with.

<b>CODE 93</b>

barcode specification

◆ DATA_LOGIC_2_OF_5

int DATA_LOGIC_2_OF_5 = 59
static

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

◆ DATA_MATRIX

int DATA_MATRIX = 33
static

2D barcode symbology DataMatrix

◆ DATABAR_EXPANDED

int DATABAR_EXPANDED = 46
static

Represents GS1 Databar expanded barcode.

◆ DATABAR_EXPANDED_STACKED

int DATABAR_EXPANDED_STACKED = 52
static

Represents GS1 Databar expanded stacked barcode.

◆ DATABAR_LIMITED

int DATABAR_LIMITED = 45
static

Represents GS1 DATABAR limited barcode.

◆ DATABAR_OMNI_DIRECTIONAL

int DATABAR_OMNI_DIRECTIONAL = 43
static

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

◆ DATABAR_STACKED

int DATABAR_STACKED = 53
static

Represents GS1 Databar stacked barcode.

◆ DATABAR_STACKED_OMNI_DIRECTIONAL

int DATABAR_STACKED_OMNI_DIRECTIONAL = 54
static

Represents GS1 Databar stacked omni-directional barcode.

◆ DATABAR_TRUNCATED

int DATABAR_TRUNCATED = 44
static

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

◆ DEUTSCHE_POST_IDENTCODE

int DEUTSCHE_POST_IDENTCODE = 27
static

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

int DEUTSCHE_POST_LEITCODE = 28
static

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

◆ DOT_CODE

int DOT_CODE = 60
static

Specifies that the data should be encoded with DotCode barcode specification.

◆ DUTCH_KIX

int DUTCH_KIX = 61
static

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

◆ EAN_13

int EAN_13 = 9
static

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

◆ EAN_14

int EAN_14 = 10
static

Specifies that the data should be encoded with EAN14 barcode specification.

◆ EAN_8

int EAN_8 = 8
static

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

◆ GS_1_AZTEC

int GS_1_AZTEC = 81
static

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

int GS_1_CODABLOCK_F = 65
static

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

The codetext must contains parentheses for AI.

◆ GS_1_CODE_128

int GS_1_CODE_128 = 7
static

Specifies that the data should be encoded with GS1 Code 128 barcode specification.

The codetext must contains parentheses for AI.

◆ GS_1_COMPOSITE_BAR

int GS_1_COMPOSITE_BAR = 67
static

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

int GS_1_DATA_MATRIX = 48
static

2D barcode symbology DataMatrix with GS1 string format

◆ GS_1_DOT_CODE

int GS_1_DOT_CODE = 78
static

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

int GS_1_HAN_XIN = 80
static

2D barcode symbology QR with GS1 string format

◆ GS_1_MICRO_PDF_417

int GS_1_MICRO_PDF_417 = 82
static

Specifies that the data should be encoded with GS1MicroPdf417 barcode specification.

◆ GS_1_QR

int GS_1_QR = 56
static

2D barcode symbology QR with GS1 string format

◆ HAN_XIN

int HAN_XIN = 79
static

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

◆ HIBC_AZTEC_LIC

int HIBC_AZTEC_LIC = 70
static

Specifies that the data should be encoded with.

<b>HIBC LIC Aztec</b>

barcode specification.

◆ HIBC_AZTEC_PAS

int HIBC_AZTEC_PAS = 75
static

Specifies that the data should be encoded with.

<b>HIBC PAS Aztec</b>

barcode specification.

◆ HIBC_CODE_128_LIC

int HIBC_CODE_128_LIC = 69
static

Specifies that the data should be encoded with.

<b>HIBC LIC Code128</b>

barcode specification.

◆ HIBC_CODE_128_PAS

int HIBC_CODE_128_PAS = 74
static

Specifies that the data should be encoded with.

<b>HIBC PAS Code128</b>

barcode specification.

◆ HIBC_CODE_39_LIC

int HIBC_CODE_39_LIC = 68
static

Specifies that the data should be encoded with.

<b>HIBC LIC Code39Standart</b>

barcode specification.

◆ HIBC_CODE_39_PAS

int HIBC_CODE_39_PAS = 73
static

Specifies that the data should be encoded with.

<b>HIBC PAS Code39Standart</b>

barcode specification.

◆ HIBC_DATA_MATRIX_LIC

int HIBC_DATA_MATRIX_LIC = 71
static

Specifies that the data should be encoded with.

<b>HIBC LIC DataMatrix</b>

barcode specification.

◆ HIBC_DATA_MATRIX_PAS

int HIBC_DATA_MATRIX_PAS = 76
static

Specifies that the data should be encoded with.

<b>HIBC PAS DataMatrix</b>

barcode specification.

◆ HIBCQRLIC

int HIBCQRLIC = 72
static

Specifies that the data should be encoded with.

<b>HIBC LIC QR</b>

barcode specification.

◆ HIBCQRPAS

int HIBCQRPAS = 77
static

Specifies that the data should be encoded with.

<b>HIBC PAS QR</b>

barcode specification.

◆ IATA_2_OF_5

int IATA_2_OF_5 = 22
static

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

◆ INTERLEAVED_2_OF_5

int INTERLEAVED_2_OF_5 = 19
static

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

◆ ISBN

int ISBN = 15
static

Specifies that the data should be encoded with isBN barcode specification.

◆ ISMN

int ISMN = 17
static

Specifies that the data should be encoded with ISMN barcode specification.

◆ ISSN

int ISSN = 16
static

Specifies that the data should be encoded with ISSN barcode specification.

◆ ITALIAN_POST_25

int ITALIAN_POST_25 = 21
static

Represents Italian Post 25 barcode.

◆ ITF_14

int ITF_14 = 23
static

Specifies that the data should be encoded with ITF14 barcode specification.

◆ ITF_6

int ITF_6 = 24
static

Represents ITF-6 Barcode.

◆ MACRO_PDF_417

int MACRO_PDF_417 = 37
static

Specifies that the data should be encoded with MacroPdf417 barcode specification.

◆ MAILMARK

int MAILMARK = 66
static

Represents Royal Mail Mailmark barcode.

◆ MATRIX_2_OF_5

int MATRIX_2_OF_5 = 20
static

Represents Matrix 2 of 5 BarCode.

◆ MAXI_CODE

int MAXI_CODE = 57
static

Specifies that the data should be encoded with MaxiCode barcode specification.

◆ MICRO_PDF_417

int MICRO_PDF_417 = 55
static

Specifies that the data should be encoded with MicroPdf417 barcode specification.

◆ MICRO_QR

int MICRO_QR = 83
static

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

◆ MSI

int MSI = 25
static

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

◆ NONE

int NONE = -1
static

Unspecified encode type.

◆ ONE_CODE

int ONE_CODE = 41
static

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

◆ OPC

int OPC = 29
static

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

◆ PATCH_CODE

int PATCH_CODE = 51
static

Represents Patch code barcode.

◆ PDF_417

int PDF_417 = 36
static

Specifies that the data should be encoded with Pdf417 barcode specification.

◆ PHARMACODE

int PHARMACODE = 32
static

Represents Pharmacode barcode.

◆ PLANET

int PLANET = 40
static

Specifies that the data should be encoded with Planet barcode specification.

◆ POSTNET

int POSTNET = 39
static

Specifies that the data should be encoded with Postnet barcode specification.

◆ PZN

int PZN = 30
static

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

◆ QR

int QR = 34
static

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

◆ RECT_MICRO_QR

int RECT_MICRO_QR = 84
static

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

◆ RM_4_SCC

int RM_4_SCC = 42
static

Represents RM4SCC barcode.

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

◆ SCC_14

int SCC_14 = 11
static

Specifies that the data should be encoded with SCC14 barcode specification.

◆ SINGAPORE_POST

int SINGAPORE_POST = 47
static

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

◆ SSCC_18

int SSCC_18 = 12
static

Specifies that the data should be encoded with SSCC18 barcode specification.

◆ STANDARD_2_OF_5

int STANDARD_2_OF_5 = 18
static

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

◆ SWISS_POST_PARCEL

int SWISS_POST_PARCEL = 50
static

Specifies that the data should be encoded with Swiss Post Parcel Barcode barcode specification.

Supported types: Domestic Mail, International Mail, Additional Services (new)

◆ UPCA

int UPCA = 13
static

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

◆ UPCA_GS_1_CODE_128_COUPON

int UPCA_GS_1_CODE_128_COUPON = 62
static

Specifies that the data should be encoded with UPC coupon with GS1-128 Extended Code barcode specification.

An example of the input string:
generator.setCodeText("514141100906(8102)03", None)
where UPCA part is "514141100906", GS1Code128 part is (8102)03.

generator = Generation.BarcodeGenerator(Generation.EncodeTypes.CODE_128, None)
generator.setCodeText("514141100906(8102)03", None),
generator.save(self.image_path_to_save4, Generation.BarCodeImageFormat.PNG)

◆ UPCA_GS_1_DATABAR_COUPON

int UPCA_GS_1_DATABAR_COUPON = 63
static

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

An example of the input string:
generator.setCodeText("514141100906(8110)106141416543213500110000310123196000", None),
where UPCA part is "514141100906", DATABAR part is "(8110)106141416543213500110000310123196000". To change the caption, use
generator.getParameters().getCaptionAbove().setText("company prefix + offer code")

generator = Generation.BarcodeGenerator(Generation.EncodeTypes.CODE_128, None)
generator.setCodeText("514141100906(8110)106141416543213500110000310123196000", None)
generator.getParameters().getCaptionAbove().setText("company prefix + offer code")
generator.save(self.image_path_to_save4, Generation.BarCodeImageFormat.PNG)

◆ UPCE

int UPCE = 14
static

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

◆ VIN

int VIN = 26
static

Represents VIN (Vehicle Identification Number) Barcode.