Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/main/java/jpos/ElectronicValueRWConst.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@
// EVRW_TE_NOTIFY_LOCK
// EVRW_TE_NOTIFY_CENTER_CHECK_COMPLETE
// EVRW_TE_CONFIRM_PIN_ENTRY_BY_OUTER_PINPAD
// 2025-Feb-04 JavaPOS Release 1.15.2 MC
// Added new constants:
// EVRW_TAG_VR_VOID
// EVRW_TAG_VR_RETURN
// EVRW_TAG_VTT_SALES
// EVRW_TAG_VTT_CHARGE
// EVRW_TAG_VTT_CANCEL
// EVRW_TAG_VTT_RETURN
//
/////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -314,6 +322,14 @@ public interface ElectronicValueRWConst
public static final int EVRW_TAG_TT_COMPLETION = 10; // Added in release 1.15
public static final int EVRW_TAG_TT_PRE_SALES = 11; // Added in release 1.15

public static final int EVRW_TAG_VR_VOID = 1; // Added in release 1.15.2
public static final int EVRW_TAG_VR_RETURN = 2; // Added in release 1.15.2

public static final int EVRW_TAG_VTT_SALES = 1; // Added in release 1.15.2
public static final int EVRW_TAG_VTT_CHARGE = 2; // Added in release 1.15.2
public static final int EVRW_TAG_VTT_CANCEL = 3; // Added in release 1.15.2
public static final int EVRW_TAG_VTT_RETURN = 4; // Added in release 1.15.2

/////////////////////////////////////////////////////////////////////
// "transactionAccess" Method: "Control" Parameter Constants
/////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/jpos/FiscalPrinterConst.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
// FPTR_RT_EOD_ORDINAL
// Added new ErrorCodeExtended constant:
// JPOS_EFPTR_DAY_END_REQUIRED
// 2025-Feb-04 JavaPOS Release 1.15.2 MC
// Added new GetData constant:
// FPTR_GD_VAT_ID_LIST
//
/////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -284,6 +287,7 @@ public interface FiscalPrinterConst
public static final int FPTR_GD_TENDER = 26;
public static final int FPTR_GD_LINECOUNT = 27;
public static final int FPTR_GD_DESCRIPTION_LENGTH = 28;
public static final int FPTR_GD_VAT_ID_LIST = 29; // Added in release 1.15.2

public static final int FPTR_PDL_CASH = 1;
public static final int FPTR_PDL_CHEQUE = 2;
Expand Down
19 changes: 19 additions & 0 deletions src/main/java/jpos/POSPrinterConst.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@
// Re-added dropped, misspelled slip cartridge constant for backwards
// compatibility.
// PTR_SUE_SLP_CARTDRIGE_OK
// 2025-Feb-04 JavaPOS Release 1.15.2 MC
// Marked Bar Code Symbology value as deprecated:
// PTR_BCS_EAN128
// Added Bar Code Symbology value as replacement for PTR_BCS_EAN128:
// PTR_BCS_GS1128
// Added Bar Code Symbology values:
// PTR_BCS_DOTCODE
// PTR_BCS_HANXIN
//
/////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -275,6 +283,12 @@ public interface POSPrinterConst
// barcode
public static final int PTR_BCS_EAN13_S = 119; // EAN 13 with supplemental
// barcode
/**
* EAN-128 is deprecated and has been replaced by GS1-128. Therefore,
* PTR_BCS_EAN128 has been replaced by PRT_BCS_GS1128. See specification
* of UPOS 1.15.1.
*/
@Deprecated // Deprecated JavaPOS 1.15.2
public static final int PTR_BCS_EAN128 = 120; // EAN 128
public static final int PTR_BCS_OCRA = 121; // OCR "A"
public static final int PTR_BCS_OCRB = 122; // OCR "B"
Expand All @@ -290,6 +304,11 @@ public interface POSPrinterConst
public static final int PTR_BCS_GS1DATABAR_E = 132; // GS1 DataBar Expanded
public static final int PTR_BCS_GS1DATABAR_S = 133; // GS1 DataBar Stacked Omnidirectional
public static final int PTR_BCS_GS1DATABAR_E_S = 134; // GS1 DataBar Expanded Stacked

// Added in Release 1.15.2
public static final int PTR_BCS_GS1128 = 120; // GS1-128
public static final int PTR_BCS_DOTCODE = 124; // Dot Code
public static final int PTR_BCS_HANXIN = 125; // Han Xin Code

// Two dimensional symbologies
public static final int PTR_BCS_PDF417 = 201;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/jpos/ScannerConst.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@
// SCAN_SDT_UsIntelligent
// SCAN_SDT_UsPlanet
// SCAN_SDT_PostNet
// 2025-Feb-04 JavaPOS Release 1.15.2 MC
// Marked ScanDataType constant as deprecated:
// SCAN_SDT_EAN128
// Added ScanDataType constant as replacement for SCAN_SDT_EAN128:
// SCAN_SDT_GS1128
// Added new ScanDataType constant:
// SCAN_SDT_DWCODE
//
/////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -124,6 +131,13 @@ public interface ScannerConst
// supplemental barcode
public static final int SCAN_SDT_EAN13_S = 119; // EAN 13 with
// supplemental barcode

/**
* EAN-128 is deprecated and has been replaced by GS1-128. Therefore,
* SCAN_SDT_EAN128 has been replaced by SCAN_SDT_GS1128. See specification
* of UPOS 1.15.1.
*/
@Deprecated // Deprecated JavaPOS 1.15.2
public static final int SCAN_SDT_EAN128 = 120; // EAN 128
public static final int SCAN_SDT_OCRA = 121; // OCR "A"
public static final int SCAN_SDT_OCRB = 122; // OCR "B"
Expand Down Expand Up @@ -153,6 +167,10 @@ public interface ScannerConst
public static final int SCAN_SDT_PLESSEY = 144; // Plessey Code
public static final int SCAN_SDT_TELEPEN = 145; // Telepen

// One dimensional symbologies (added in Release 1.15.2)
public static final int SCAN_SDT_GS1128 = 120; // GS1-128
public static final int SCAN_SDT_DWCODE = 146; // Digital Watermarking

// Composite Symbologies (Added in Release 1.8)
public static final int SCAN_SDT_CCA = 151; // Composite Component A.
public static final int SCAN_SDT_CCB = 152; // Composite Component B.
Expand Down
Loading