
## EncodeTypes enum

**Module:** `aspose_barcode.generation.encode_types`


Specifies the type of barcode to encode.


## Methods

| Name | Return Type | Static | Description |
| --- | --- | --- | --- |
| [parse](#parse) | `def` | Yes | Returns the corresponding Enum value for the given name. If the name does not exist, raises a ValueError. |
| [parseToInt](#parsetoint) | `def` | Yes |  |

## Enum Values

| Name | Value | Description |
| --- | --- | --- |
| [AUSTRALIA_POST](#australia_post) | `38` | Represents Australia Post Customer BarCode. |
| [AUSTRALIAN_POSTE_PARCEL](#australian_poste_parcel) | `49` | Specifies that the data should be encoded with Australian Post Domestic eParcel Barcode barcode specification. |
| [AZTEC](#aztec) | `35` | Specifies that the data should be encoded with Aztec barcode specification. |
| [CODABAR](#codabar) | `0` | Specifies that the data should be encoded with CODABAR barcode specification. |
| [CODABLOCK_F](#codablock_f) | `64` | Specifies that the data should be encoded with Codablock-F barcode specification. |
| [CODE_11](#code_11) | `1` | Specifies that the data should be encoded with CODE 11 barcode specification. |
| [CODE_128](#code_128) | `6` | Specifies that the data should be encoded with CODE 128 barcode specification. |
| [CODE_16_K](#code_16_k) | `31` | Represents Code 16K barcode. |
| [CODE_32](#code_32) | `58` | Specifies that the data should be encoded with Code32 barcode specification. |
| [CODE_39](#code_39) | `2` | Specifies that the data should be encoded with. basic charset barcode specification: ISO/IEC 16388 |
| [CODE_39_FULL_ASCII](#code_39_full_ascii) | `3` | Specifies that the data should be encoded with. full ASCII charset barcode specification: ISO/IEC 16388 |
| [CODE_93](#code_93) | `5` | Specifies that the data should be encoded with. barcode specification |
| [DATA_LOGIC_2_OF_5](#data_logic_2_of_5) | `59` | Specifies that the data should be encoded with DataLogic 2 of 5 barcode specification. |
| [DATA_MATRIX](#data_matrix) | `33` | 2D barcode symbology DataMatrix |
| [DATABAR_EXPANDED](#databar_expanded) | `46` | Represents GS1 Databar expanded barcode. |
| [DATABAR_EXPANDED_STACKED](#databar_expanded_stacked) | `52` | Represents GS1 Databar expanded stacked barcode. |
| [DATABAR_LIMITED](#databar_limited) | `45` | Represents GS1 DATABAR limited barcode. |
| [DATABAR_OMNI_DIRECTIONAL](#databar_omni_directional) | `43` | Specifies that the data should be encoded with GS1 Databar omni-directional barcode specification. |
| [DATABAR_STACKED](#databar_stacked) | `53` | Represents GS1 Databar stacked barcode. |
| [DATABAR_STACKED_OMNI_DIRECTIONAL](#databar_stacked_omni_directional) | `54` | Represents GS1 Databar stacked omni-directional barcode. |
| [DATABAR_TRUNCATED](#databar_truncated) | `44` | Specifies that the data should be encoded with GS1 Databar truncated barcode specification. |
| [DEUTSCHE_POST_IDENTCODE](#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](#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](#dot_code) | `60` | Specifies that the data should be encoded with DotCode barcode specification. |
| [DUTCH_KIX](#dutch_kix) | `61` | Specifies that the data should be encoded with Dutch KIX barcode specification. |
| [EAN_13](#ean_13) | `9` | Specifies that the data should be encoded with EAN-13 barcode specification. |
| [EAN_14](#ean_14) | `10` | Specifies that the data should be encoded with EAN14 barcode specification. |
| [EAN_8](#ean_8) | `8` | Specifies that the data should be encoded with EAN-8 barcode specification. |
| [GS_1_AZTEC](#gs_1_aztec) | `81` | Specifies that the data should be encoded with. barcode specification. The codetext must contains parentheses for AI. |
| [GS_1_CODABLOCK_F](#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](#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](#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](#gs_1_data_matrix) | `48` | 2D barcode symbology DataMatrix with GS1 string format |
| [GS_1_DOT_CODE](#gs_1_dot_code) | `78` | Specifies that the data should be encoded with. barcode specification. The codetext must contains parentheses for AI. |
| [GS_1_HAN_XIN](#gs_1_han_xin) | `80` | 2D barcode symbology QR with GS1 string format |
| [GS_1_MICRO_PDF_417](#gs_1_micro_pdf_417) | `82` | Specifies that the data should be encoded with GS1MicroPdf417 barcode specification. |
| [GS_1_QR](#gs_1_qr) | `56` | 2D barcode symbology QR with GS1 string format |
| [HAN_XIN](#han_xin) | `79` | Specifies that the data should be encoded with Han Xin barcode specification. |
| [HIBC_AZTEC_LIC](#hibc_aztec_lic) | `70` | Specifies that the data should be encoded with. barcode specification. |
| [HIBC_AZTEC_PAS](#hibc_aztec_pas) | `75` | Specifies that the data should be encoded with. barcode specification. |
| [HIBC_CODE_128_LIC](#hibc_code_128_lic) | `69` | Specifies that the data should be encoded with. barcode specification. |
| [HIBC_CODE_128_PAS](#hibc_code_128_pas) | `74` | Specifies that the data should be encoded with. barcode specification. |
| [HIBC_CODE_39_LIC](#hibc_code_39_lic) | `68` | Specifies that the data should be encoded with. barcode specification. |
| [HIBC_CODE_39_PAS](#hibc_code_39_pas) | `73` | Specifies that the data should be encoded with. barcode specification. |
| [HIBC_DATA_MATRIX_LIC](#hibc_data_matrix_lic) | `71` | Specifies that the data should be encoded with. barcode specification. |
| [HIBC_DATA_MATRIX_PAS](#hibc_data_matrix_pas) | `76` | Specifies that the data should be encoded with. barcode specification. |
| [HIBCQRLIC](#hibcqrlic) | `72` | Specifies that the data should be encoded with. barcode specification. |
| [HIBCQRPAS](#hibcqrpas) | `77` | Specifies that the data should be encoded with. barcode specification. |
| [IATA_2_OF_5](#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](#interleaved_2_of_5) | `19` | Specifies that the data should be encoded with INTERLEAVED 2 of 5 barcode specification. |
| [ISBN](#isbn) | `15` | Specifies that the data should be encoded with isBN barcode specification. |
| [ISMN](#ismn) | `17` | Specifies that the data should be encoded with ISMN barcode specification. |
| [ISSN](#issn) | `16` | Specifies that the data should be encoded with ISSN barcode specification. |
| [ITALIAN_POST_25](#italian_post_25) | `21` | Represents Italian Post 25 barcode. |
| [ITF_14](#itf_14) | `23` | Specifies that the data should be encoded with ITF14 barcode specification. |
| [ITF_6](#itf_6) | `24` | Represents ITF-6 Barcode. |
| [MACRO_PDF_417](#macro_pdf_417) | `37` | Specifies that the data should be encoded with MacroPdf417 barcode specification. |
| [MAILMARK](#mailmark) | `66` | Represents Royal Mail Mailmark barcode. |
| [MATRIX_2_OF_5](#matrix_2_of_5) | `20` | Represents Matrix 2 of 5 BarCode. |
| [MAXI_CODE](#maxi_code) | `57` | Specifies that the data should be encoded with MaxiCode barcode specification. |
| [MICRO_PDF_417](#micro_pdf_417) | `55` | Specifies that the data should be encoded with MicroPdf417 barcode specification. |
| [MICRO_QR](#micro_qr) | `83` | Specifies that the data should be encoded with MicroQR Code barcode specification. |
| [MSI](#msi) | `25` | Specifies that the data should be encoded with MSI Plessey barcode specification. |
| [NONE](#none) | `-1` | Unspecified encode type. |
| [ONE_CODE](#one_code) | `41` | Specifies that the data should be encoded with USPS OneCode barcode specification. |
| [OPC](#opc) | `29` | Represents OPC(Optical Product Code) Barcode,also known as , VCA Barcode VCA OPC, Vision Council of America OPC Barcode. |
| [PATCH_CODE](#patch_code) | `51` | Represents Patch code barcode. |
| [PDF_417](#pdf_417) | `36` | Specifies that the data should be encoded with Pdf417 barcode specification. |
| [PHARMACODE](#pharmacode) | `32` | Represents Pharmacode barcode. |
| [PLANET](#planet) | `40` | Specifies that the data should be encoded with Planet barcode specification. |
| [POSTNET](#postnet) | `39` | Specifies that the data should be encoded with Postnet barcode specification. |
| [PZN](#pzn) | `30` | Represents PZN barcode.This EncodeType is also known as Pharmacy central number, Pharmazentralnummer. |
| [QR](#qr) | `34` | Specifies that the data should be encoded with QR Code barcode specification. |
| [RECT_MICRO_QR](#rect_micro_qr) | `84` | Specifies that the data should be encoded with RectMicroQR (rMQR) Code barcode specification. |
| [RM_4_SCC](#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](#scc_14) | `11` | Specifies that the data should be encoded with SCC14 barcode specification. |
| [SINGAPORE_POST](#singapore_post) | `47` | Specifies that the data should be encoded with Singapore Post Barcode barcode specification. |
| [SSCC_18](#sscc_18) | `12` | Specifies that the data should be encoded with SSCC18 barcode specification. |
| [STANDARD_2_OF_5](#standard_2_of_5) | `18` | Specifies that the data should be encoded with Standard 2 of 5 barcode specification. |
| [SWISS_POST_PARCEL](#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](#upca) | `13` | Specifies that the data should be encoded with UPC-A barcode specification. |
| [UPCA_GS_1_CODE_128_COUPON](#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: generator.setCodeText("514141100906(8102)03", None) where UPCA part is "514141100906", GS1Code128 part is (8102)03. |
| [UPCA_GS_1_DATABAR_COUPON](#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: 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") |
| [UPCE](#upce) | `14` | Specifies that the data should be encoded with UPC-E barcode specification. |
| [VIN](#vin) | `26` | Represents VIN (Vehicle Identification Number) Barcode. |
### EncodeTypes.parse (static) {#parse}

```python
parse(str encodeTypeName) -> def
```

Returns the corresponding Enum value for the given name. If the name does not exist, raises a ValueError.

| Parameter | Type | Description |
| --- | --- | --- |
| `encodeTypeName` | `str` |  |

**Return Type:** `def`

### EncodeTypes.parseToInt (static) {#parsetoint}

```python
parseToInt(encodeTypeName) -> def
```

| Parameter | Type | Description |
| --- | --- | --- |
| `encodeTypeName` | `` |  |

**Return Type:** `def`

### EncodeTypes.AUSTRALIA_POST {#australia_post}

**Type:** `int`

**Value:** `38`

Represents Australia Post Customer BarCode.

### EncodeTypes.AUSTRALIAN_POSTE_PARCEL {#australian_poste_parcel}

**Type:** `int`

**Value:** `49`

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

### EncodeTypes.AZTEC {#aztec}

**Type:** `int`

**Value:** `35`

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

### EncodeTypes.CODABAR {#codabar}

**Type:** `int`

**Value:** `0`

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

### EncodeTypes.CODABLOCK_F {#codablock_f}

**Type:** `int`

**Value:** `64`

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

### EncodeTypes.CODE_11 {#code_11}

**Type:** `int`

**Value:** `1`

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

### EncodeTypes.CODE_128 {#code_128}

**Type:** `int`

**Value:** `6`

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

### EncodeTypes.CODE_16_K {#code_16_k}

**Type:** `int`

**Value:** `31`

Represents Code 16K barcode.

### EncodeTypes.CODE_32 {#code_32}

**Type:** `int`

**Value:** `58`

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

### EncodeTypes.CODE_39 {#code_39}

**Type:** `int`

**Value:** `2`

Specifies that the data should be encoded with. basic charset barcode specification: ISO/IEC 16388

### EncodeTypes.CODE_39_FULL_ASCII {#code_39_full_ascii}

**Type:** `int`

**Value:** `3`

Specifies that the data should be encoded with. full ASCII charset barcode specification: ISO/IEC 16388

### EncodeTypes.CODE_93 {#code_93}

**Type:** `int`

**Value:** `5`

Specifies that the data should be encoded with. barcode specification

### EncodeTypes.DATA_LOGIC_2_OF_5 {#data_logic_2_of_5}

**Type:** `int`

**Value:** `59`

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

### EncodeTypes.DATA_MATRIX {#data_matrix}

**Type:** `int`

**Value:** `33`

2D barcode symbology DataMatrix

### EncodeTypes.DATABAR_EXPANDED {#databar_expanded}

**Type:** `int`

**Value:** `46`

Represents GS1 Databar expanded barcode.

### EncodeTypes.DATABAR_EXPANDED_STACKED {#databar_expanded_stacked}

**Type:** `int`

**Value:** `52`

Represents GS1 Databar expanded stacked barcode.

### EncodeTypes.DATABAR_LIMITED {#databar_limited}

**Type:** `int`

**Value:** `45`

Represents GS1 DATABAR limited barcode.

### EncodeTypes.DATABAR_OMNI_DIRECTIONAL {#databar_omni_directional}

**Type:** `int`

**Value:** `43`

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

### EncodeTypes.DATABAR_STACKED {#databar_stacked}

**Type:** `int`

**Value:** `53`

Represents GS1 Databar stacked barcode.

### EncodeTypes.DATABAR_STACKED_OMNI_DIRECTIONAL {#databar_stacked_omni_directional}

**Type:** `int`

**Value:** `54`

Represents GS1 Databar stacked omni-directional barcode.

### EncodeTypes.DATABAR_TRUNCATED {#databar_truncated}

**Type:** `int`

**Value:** `44`

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

### EncodeTypes.DEUTSCHE_POST_IDENTCODE {#deutsche_post_identcode}

**Type:** `int`

**Value:** `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)

### EncodeTypes.DEUTSCHE_POST_LEITCODE {#deutsche_post_leitcode}

**Type:** `int`

**Value:** `28`

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

### EncodeTypes.DOT_CODE {#dot_code}

**Type:** `int`

**Value:** `60`

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

### EncodeTypes.DUTCH_KIX {#dutch_kix}

**Type:** `int`

**Value:** `61`

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

### EncodeTypes.EAN_13 {#ean_13}

**Type:** `int`

**Value:** `9`

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

### EncodeTypes.EAN_14 {#ean_14}

**Type:** `int`

**Value:** `10`

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

### EncodeTypes.EAN_8 {#ean_8}

**Type:** `int`

**Value:** `8`

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

### EncodeTypes.GS_1_AZTEC {#gs_1_aztec}

**Type:** `int`

**Value:** `81`

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

### EncodeTypes.GS_1_CODABLOCK_F {#gs_1_codablock_f}

**Type:** `int`

**Value:** `65`

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

### EncodeTypes.GS_1_CODE_128 {#gs_1_code_128}

**Type:** `int`

**Value:** `7`

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

### EncodeTypes.GS_1_COMPOSITE_BAR {#gs_1_composite_bar}

**Type:** `int`

**Value:** `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 '/'

### EncodeTypes.GS_1_DATA_MATRIX {#gs_1_data_matrix}

**Type:** `int`

**Value:** `48`

2D barcode symbology DataMatrix with GS1 string format

### EncodeTypes.GS_1_DOT_CODE {#gs_1_dot_code}

**Type:** `int`

**Value:** `78`

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

### EncodeTypes.GS_1_HAN_XIN {#gs_1_han_xin}

**Type:** `int`

**Value:** `80`

2D barcode symbology QR with GS1 string format

### EncodeTypes.GS_1_MICRO_PDF_417 {#gs_1_micro_pdf_417}

**Type:** `int`

**Value:** `82`

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

### EncodeTypes.GS_1_QR {#gs_1_qr}

**Type:** `int`

**Value:** `56`

2D barcode symbology QR with GS1 string format

### EncodeTypes.HAN_XIN {#han_xin}

**Type:** `int`

**Value:** `79`

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

### EncodeTypes.HIBC_AZTEC_LIC {#hibc_aztec_lic}

**Type:** `int`

**Value:** `70`

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

### EncodeTypes.HIBC_AZTEC_PAS {#hibc_aztec_pas}

**Type:** `int`

**Value:** `75`

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

### EncodeTypes.HIBC_CODE_128_LIC {#hibc_code_128_lic}

**Type:** `int`

**Value:** `69`

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

### EncodeTypes.HIBC_CODE_128_PAS {#hibc_code_128_pas}

**Type:** `int`

**Value:** `74`

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

### EncodeTypes.HIBC_CODE_39_LIC {#hibc_code_39_lic}

**Type:** `int`

**Value:** `68`

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

### EncodeTypes.HIBC_CODE_39_PAS {#hibc_code_39_pas}

**Type:** `int`

**Value:** `73`

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

### EncodeTypes.HIBC_DATA_MATRIX_LIC {#hibc_data_matrix_lic}

**Type:** `int`

**Value:** `71`

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

### EncodeTypes.HIBC_DATA_MATRIX_PAS {#hibc_data_matrix_pas}

**Type:** `int`

**Value:** `76`

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

### EncodeTypes.HIBCQRLIC {#hibcqrlic}

**Type:** `int`

**Value:** `72`

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

### EncodeTypes.HIBCQRPAS {#hibcqrpas}

**Type:** `int`

**Value:** `77`

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

### EncodeTypes.IATA_2_OF_5 {#iata_2_of_5}

**Type:** `int`

**Value:** `22`

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

### EncodeTypes.INTERLEAVED_2_OF_5 {#interleaved_2_of_5}

**Type:** `int`

**Value:** `19`

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

### EncodeTypes.ISBN {#isbn}

**Type:** `int`

**Value:** `15`

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

### EncodeTypes.ISMN {#ismn}

**Type:** `int`

**Value:** `17`

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

### EncodeTypes.ISSN {#issn}

**Type:** `int`

**Value:** `16`

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

### EncodeTypes.ITALIAN_POST_25 {#italian_post_25}

**Type:** `int`

**Value:** `21`

Represents Italian Post 25 barcode.

### EncodeTypes.ITF_14 {#itf_14}

**Type:** `int`

**Value:** `23`

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

### EncodeTypes.ITF_6 {#itf_6}

**Type:** `int`

**Value:** `24`

Represents ITF-6 Barcode.

### EncodeTypes.MACRO_PDF_417 {#macro_pdf_417}

**Type:** `int`

**Value:** `37`

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

### EncodeTypes.MAILMARK {#mailmark}

**Type:** `int`

**Value:** `66`

Represents Royal Mail Mailmark barcode.

### EncodeTypes.MATRIX_2_OF_5 {#matrix_2_of_5}

**Type:** `int`

**Value:** `20`

Represents Matrix 2 of 5 BarCode.

### EncodeTypes.MAXI_CODE {#maxi_code}

**Type:** `int`

**Value:** `57`

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

### EncodeTypes.MICRO_PDF_417 {#micro_pdf_417}

**Type:** `int`

**Value:** `55`

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

### EncodeTypes.MICRO_QR {#micro_qr}

**Type:** `int`

**Value:** `83`

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

### EncodeTypes.MSI {#msi}

**Type:** `int`

**Value:** `25`

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

### EncodeTypes.NONE {#none}

**Type:** `int`

**Value:** `-1`

Unspecified encode type.

### EncodeTypes.ONE_CODE {#one_code}

**Type:** `int`

**Value:** `41`

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

### EncodeTypes.OPC {#opc}

**Type:** `int`

**Value:** `29`

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

### EncodeTypes.PATCH_CODE {#patch_code}

**Type:** `int`

**Value:** `51`

Represents Patch code barcode.

### EncodeTypes.PDF_417 {#pdf_417}

**Type:** `int`

**Value:** `36`

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

### EncodeTypes.PHARMACODE {#pharmacode}

**Type:** `int`

**Value:** `32`

Represents Pharmacode barcode.

### EncodeTypes.PLANET {#planet}

**Type:** `int`

**Value:** `40`

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

### EncodeTypes.POSTNET {#postnet}

**Type:** `int`

**Value:** `39`

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

### EncodeTypes.PZN {#pzn}

**Type:** `int`

**Value:** `30`

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

### EncodeTypes.QR {#qr}

**Type:** `int`

**Value:** `34`

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

### EncodeTypes.RECT_MICRO_QR {#rect_micro_qr}

**Type:** `int`

**Value:** `84`

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

### EncodeTypes.RM_4_SCC {#rm_4_scc}

**Type:** `int`

**Value:** `42`

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

### EncodeTypes.SCC_14 {#scc_14}

**Type:** `int`

**Value:** `11`

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

### EncodeTypes.SINGAPORE_POST {#singapore_post}

**Type:** `int`

**Value:** `47`

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

### EncodeTypes.SSCC_18 {#sscc_18}

**Type:** `int`

**Value:** `12`

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

### EncodeTypes.STANDARD_2_OF_5 {#standard_2_of_5}

**Type:** `int`

**Value:** `18`

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

### EncodeTypes.SWISS_POST_PARCEL {#swiss_post_parcel}

**Type:** `int`

**Value:** `50`

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

### EncodeTypes.UPCA {#upca}

**Type:** `int`

**Value:** `13`

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

### EncodeTypes.UPCA_GS_1_CODE_128_COUPON {#upca_gs_1_code_128_coupon}

**Type:** `int`

**Value:** `62`

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.

### EncodeTypes.UPCA_GS_1_DATABAR_COUPON {#upca_gs_1_databar_coupon}

**Type:** `int`

**Value:** `63`

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")

### EncodeTypes.UPCE {#upce}

**Type:** `int`

**Value:** `14`

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

### EncodeTypes.VIN {#vin}

**Type:** `int`

**Value:** `26`

Represents VIN (Vehicle Identification Number) Barcode.

