Class cmdConfig
java.lang.Object
com.datecs.fiscalprinter.SDK.model.DatecsFiscalDevice
com.datecs.fiscalprinter.SDK.model.UserLayerV2.cmdConfig
- Direct Known Subclasses:
cmdConfig.DateTime,cmdConfig.HeaderFooter
public class cmdConfig extends DatecsFiscalDevice
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classcmdConfig.DateTimeMaintenance date and time of fiscal devicesstatic classcmdConfig.HeaderFooterProvides methods for setting header and footer *static classcmdConfig.MainInterfaceTypeMainInterfaceType - PC interface type. -
Constructor Summary
Constructors Constructor Description cmdConfig() -
Method Summary
Modifier and Type Method Description java.lang.StringGetAPN(int index)java.lang.StringGetAPN_Pass(int index)java.lang.StringGetAPN_User(int index)intGetAutoPowerOff()intGetBarcodeHeight()booleanGetBarcodePrint()intGetBkLightAutoOff()booleanGetBoldPayments()booleanGetCondensedPrint()java.lang.BooleanGetDHCPenable()booleanGetDoveritelPrint()booleanGetDuplicateRec()booleanGetEcrConnectedCashReport()booleanGetEcrConnectedGroupsReport()booleanGetEcrExtendedReceipt()booleanGetEcrPluDailyClearing()booleanGetEcrSafeOpening()booleanGetEmptyLineAfterTotal()intGetForeignPrint()java.lang.StringGetIMEI()java.util.ArrayList<java.lang.String>GetInvoiceInterval()java.lang.StringGetLANGateway()java.lang.StringGetLANIP()java.lang.StringGetLanMAC()java.lang.StringGetLANNetMask()java.lang.StringGetLANport()java.lang.StringGetLANPriDNS()java.lang.StringGetLANSecDNS()booleanGetLogoPrint()cmdConfig.MainInterfaceTypeGetMainInterfaceType()MainInterfaceType - PC interface type.intGetModemModel()booleanGetNearPaperEndEnabled()intGetPrintColumns()java.lang.String[]GetPrintColumnsSupported()intGetPrnQuality()java.lang.StringGetSimICCID()java.lang.StringGetSimIMSI()java.lang.StringGetSimPin()java.lang.StringGetSimTelNumber()booleanGetVatPrint()voidLogo_DataLoading(java.lang.String data)Customer graphic logo loading.voidLogo_Restart()Customer graphic logo loading.voidLogo_StartLoading()Customer graphic logo loading.voidLogo_StopLoading()Customer graphic logo loading.voidLogo_Updtae()Customer graphic logo loading.voidSetAPN(int index, java.lang.String value)voidSetAPN_Passr(int index, java.lang.String value)voidSetAPN_User(int index, java.lang.String value)voidSetAutoPaperCutting(boolean value)param value Permission/rejection of the automatic cutting of paper after each receipt.voidSetAutoPowerOff(int value)voidSetAutoPowerOff(java.lang.String value)param value Minutes to automatically turn off FPR if it is idle.voidSetBarcodeHeight(int value)Set Barcode height from '1' (7mm) to '10' (70mm);voidSetBarCodeHeight(int value)param value BarCodeHeight - Barcode height from '1' (7mm) to '10' (70mm); throws IOException, FiscalExceptionvoidSetBarcodeName(boolean value)param value Enable/Disable printing of the barcode data; throws IOException, FiscalExceptionvoidSetBarcodePrint(boolean value)voidSetBkLightAutoOff(int value)voidSetBoldPayments(boolean value)param value If [true] Print the payments with bolded in fiscal receipt throws IOException, FiscalExceptionvoidSetBthDiscoverability(boolean value)param value -If [true] turn on bluetooth device discoverability; throws IOException, FiscalExceptionvoidSetBthPairing(int value)param value 0-unsecure, 1-reset and save, 2-reset; (only for bluetooth enabled devices) throws IOException, FiscalExceptionvoidSetBthPinCode(java.lang.String pinCode)param pinCode pin code for bluetooth pairing( default: 0000 ); (only for bluetooth enabled devices) throws IOException, FiscalExceptionvoidSetCondensedPrint(boolean value)voidSetCurrNameForeign(java.lang.String newCurrForeign)param newCurrForeign Foreign currency name( up to 3 chars ); throws IOException, FiscalExceptionvoidSetCurrNameLocal(java.lang.String newCurrLocal)param newCurrLocal Local currency name( up to 3 chars ) throws IOException, FiscalExceptionvoidSetDeptName(int index, java.lang.String name)param index - Number of department param name - Name of department.voidSetDeptPrice(int index, java.lang.String name)param index - Number of department param name - Programmed price of department( from 0 to 999999999 ).voidSetDeptVAT(int index, java.lang.String name)param index - Number of department param name - VAT group of department( from 1 to 8 ).voidSetDHCPenable(java.lang.Boolean value)param value Enable use of DHCP throws IOException, FiscalExceptionvoidSetDoveritelPrint(boolean value)voidSetDsblKeyCancelReceipt(boolean value)param value If [true] Disable manually cancellation of the receipt; throws IOException, FiscalExceptionvoidSetDsblKeyCloseReceipt(boolean value)param value If [true] Disable manually closing of the receipt throws IOException, FiscalExceptionvoidSetDsblKeyDateTime(boolean value)param value If [true] Disable changing the date and time; throws IOException, FiscalExceptionvoidSetDsblKeyDiagnostics(boolean value)param value If [true] Disable diagnostic info throws IOException, FiscalExceptionvoidSetDsblKeyFmReports(boolean value)param value If [true] Disable fiscal memory reports throws IOException, FiscalExceptionvoidSetDsblKeyJournal(boolean value)param value If [true] Disable electronic journal menu throws IOException, FiscalExceptionvoidSetDsblKeyXreport(boolean value)param value If [true] Disable X report generating from the keyboard throws IOException, FiscalExceptionvoidSetDsblKeyZreport(boolean value)param value If [true] Disable Z report generating from the keyboard throws IOException, FiscalExceptionvoidSetDuplicateRec(boolean value)voidSetEcrConnectedCashReport(boolean value)param value If [true] When making Z-report, automatically make "FPr report" throws IOException, FiscalExceptionvoidSetEcrConnectedDeptReport(boolean value)param value If [true] When making Z-report, automatically make "Report by Departments" throws IOException, FiscalExceptionvoidSetEcrConnectedGroupsReport(boolean value)param value If [true] When making Z-report, automatically make "Group report" throws IOException, FiscalExceptionvoidSetEcrConnectedOperReport(boolean value)param value If [true] When making Z-report, automatically make "Operator report" throws IOException, FiscalExceptionvoidSetEcrExtendedReceipt(boolean value)voidSetEcrMidnightWarning(boolean value)voidSetEcrPluDailyClearing(boolean value)param value If [true] When making Z-report, automatically clear PLU turnover throws IOException, FiscalExceptionvoidSetEcrSafeOpening(boolean value)voidSetEmptyLineAfterTotal(boolean value)param value If [true] Print empty line after TOTAL line in fiscal receipts throws IOException, FiscalExceptionvoidSetExchangeRate(java.lang.String value)param value Exchange rate( from 0 to 999999999, decimal point is before last five digits ); throws IOException, FiscalExceptionintSetExInvoiceInterval(java.lang.String endNumber)If the current invoice counter didn't reached the end of the interval.voidSetForeignPrint(int value)voidSetFpComBaudRate(java.lang.String value)param value Baud rate of COM port for communication with PC ( from 0 to 9 ) throws IOException, FiscalExceptionlongSetInvoiceInterval(java.lang.String startNumber, java.lang.String endNumber)Use If the current invoice counter have reached the end of the interval.voidSetLANGateway(java.lang.String value)voidSetLANIP(java.lang.String value)param value - IP address when DHCP is disabled( up to 15 chars ) throws IOException, FiscalExceptionvoidSetLanMAC(java.lang.String value)voidSetLANNetMask(java.lang.String value)param value Net mask when DHCP is disabled( up to 15 chars ) throws IOException, FiscalExceptionvoidSetLANport(java.lang.String value)voidSetLANPriDNS(java.lang.String value)param value Primary DNS when DHCP is disabled( up to 15 chars ) throws IOException, FiscalExceptionvoidSetLANSecDNS(java.lang.String value)param value Second DNS when DHCP is disabled( up to 15 chars ) throws IOException, FiscalExceptionvoidSetLogoPrint(boolean value)voidSetMainInterfaceType(cmdConfig.MainInterfaceType value)voidSetModemModel(int value)voidSetNearPaperEndEnabled(boolean value)voidSetOperName(int index, java.lang.String name)param index Number of operator param name Name of operator.voidSetOperPasw(int operIndex, java.lang.String oldPass, java.lang.String newPass)param operIndex - Operator number from 1...30 param oldPass - Password of operator.voidSetPaperCuttingType(boolean value)param value Partial=0/Full=1 cutting of paper (FP-705 only); throws IOException, FiscalExceptionvoidSetPaymentForbidden(int index, boolean value)param index Number of payment param value If [true] Forbid the payment throws IOException, FiscalExceptionvoidSetPayName(int index, java.lang.String name)param index Number of payment param name Name of payment.voidSetPrintColumns(int value)voidSetPrnQuality(java.lang.String value)Contrast of Printing ( from 0 to 20 );voidSetServiceDate(java.lang.String serviceDate)param serviceDate Service date( Format: DD-MM-YY HH:MM:SS ); throws IOException, FiscalExceptionvoidSetServMessage(java.lang.String[] messsageLines)param messsageLines Message that will be printed when "ServDate" is reached, up to 42 symbols.( Require Service jumper )voidSetSimPin(java.lang.String value)voidSetUnitname(int UnitIndex, java.lang.String UnitName)voidSetVatPrintEnable(boolean value)booleanStamp_DataLoading(java.lang.String data)Stamp image loading.voidStamp_Operation(java.lang.String typeOper, java.lang.String stampName)Stamp image loading.voidStamp_Restart()Stamp image loading.voidStamp_StartLoading()Stamp image loading.voidStamp_StopLoading()Stamp image loading.voidStamp_Updtae()Methods inherited from class com.datecs.fiscalprinter.SDK.model.DatecsFiscalDevice
checkErrorCode, close, getConnectedECRV1, getConnectedModelV2, getConnectedPrinterV1, getCountryCode, getMaxDepartments, getMaxStockGroup, isCheckLastError, isConnectedDeviceV2, isConnectedECR, isConnectedPrinter, isEditItemPrice, isEditItemQTY, isFontSupported, isPaperCuttingDevice, setCheckLastError, setConnectedModel, setConnectedModel, setConnectedModel, setCountryCode
-
Constructor Details
-
cmdConfig
public cmdConfig()
-
-
Method Details
-
SetDsblKeyZreport
param value If [true] Disable Z report generating from the keyboard throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDsblKeyXreport
param value If [true] Disable X report generating from the keyboard throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDsblKeyDiagnostics
param value If [true] Disable diagnostic info throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDsblKeyFmReports
param value If [true] Disable fiscal memory reports throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDsblKeyJournal
param value If [true] Disable electronic journal menu throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDsblKeyDateTime
param value If [true] Disable changing the date and time; throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDsblKeyCloseReceipt
param value If [true] Disable manually closing of the receipt throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDsblKeyCancelReceipt
param value If [true] Disable manually cancellation of the receipt; throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetFpComBaudRate
param value Baud rate of COM port for communication with PC ( from 0 to 9 ) throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetBthDiscoverability
param value -If [true] turn on bluetooth device discoverability; throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetBthPairing
param value 0-unsecure, 1-reset and save, 2-reset; (only for bluetooth enabled devices) throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetBthPinCode
param pinCode pin code for bluetooth pairing( default: 0000 ); (only for bluetooth enabled devices) throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetBarCodeHeight
param value BarCodeHeight - Barcode height from '1' (7mm) to '10' (70mm); throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetBarcodeName
param value Enable/Disable printing of the barcode data; throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetAutoPaperCutting
param value Permission/rejection of the automatic cutting of paper after each receipt. (FP-705 only); throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetPaperCuttingType
param value Partial=0/Full=1 cutting of paper (FP-705 only); throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetEcrConnectedOperReport
param value If [true] When making Z-report, automatically make "Operator report" throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetEcrConnectedDeptReport
param value If [true] When making Z-report, automatically make "Report by Departments" throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetAutoPowerOff
param value Minutes to automatically turn off FPR if it is idle. ( 0 - disable; from 1 minute to 15 minutes ); throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetCurrNameLocal
public void SetCurrNameLocal(java.lang.String newCurrLocal) throws java.io.IOException, FiscalExceptionparam newCurrLocal Local currency name( up to 3 chars ) throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetCurrNameForeign
public void SetCurrNameForeign(java.lang.String newCurrForeign) throws java.io.IOException, FiscalExceptionparam newCurrForeign Foreign currency name( up to 3 chars ); throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetExchangeRate
param value Exchange rate( from 0 to 999999999, decimal point is before last five digits ); throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetUnitname
public void SetUnitname(int UnitIndex, java.lang.String UnitName) throws java.io.IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetOperName
public void SetOperName(int index, java.lang.String name) throws java.io.IOException, FiscalExceptionparam index Number of operator param name Name of operator. Text up to 20 symbols. throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetOperPasw
public void SetOperPasw(int operIndex, java.lang.String oldPass, java.lang.String newPass) throws java.io.IOException, FiscalExceptionparam operIndex - Operator number from 1...30 param oldPass - Password of operator. Text up to 8 symbols param newPass - Operator password, ascii string of digits. Lenght from 1...8 throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDeptName
public void SetDeptName(int index, java.lang.String name) throws java.io.IOException, FiscalExceptionparam index - Number of department param name - Name of department. Text up to 32 symbols throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDeptPrice
public void SetDeptPrice(int index, java.lang.String name) throws java.io.IOException, FiscalExceptionparam index - Number of department param name - Programmed price of department( from 0 to 999999999 ). throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetDeptVAT
public void SetDeptVAT(int index, java.lang.String name) throws java.io.IOException, FiscalExceptionparam index - Number of department param name - VAT group of department( from 1 to 8 ). throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetPaymentForbidden
public void SetPaymentForbidden(int index, boolean value) throws java.io.IOException, FiscalExceptionparam index Number of payment param value If [true] Forbid the payment throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetPayName
public void SetPayName(int index, java.lang.String name) throws java.io.IOException, FiscalExceptionparam index Number of payment param name Name of payment. Text up to 10 symbols. throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetServMessage
public void SetServMessage(java.lang.String[] messsageLines) throws java.io.IOException, FiscalExceptionparam messsageLines Message that will be printed when "ServDate" is reached, up to 42 symbols.( Require Service jumper )- Throws:
java.io.IOExceptionFiscalException
-
SetServiceDate
public void SetServiceDate(java.lang.String serviceDate) throws java.io.IOException, FiscalExceptionparam serviceDate Service date( Format: DD-MM-YY HH:MM:SS ); throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetEcrMidnightWarning
- Throws:
java.io.IOExceptionFiscalException
-
Logo_StartLoading
Customer graphic logo loading. Praparation for data loading- Throws:
java.io.IOExceptionFiscalException
-
Logo_StopLoading
Customer graphic logo loading. End of data;- Throws:
java.io.IOExceptionFiscalException
-
Logo_DataLoading
Customer graphic logo loading.- Parameters:
data- - base64 coded data of the grahpic logo;- Throws:
java.io.IOExceptionFiscalException
-
Logo_Updtae
Customer graphic logo loading.- Throws:
java.io.IOExceptionFiscalException
-
Logo_Restart
Customer graphic logo loading. Device restarting- Throws:
java.io.IOExceptionFiscalException
-
Stamp_StartLoading
Stamp image loading. Praparation for data loading- Throws:
java.io.IOExceptionFiscalException
-
Stamp_StopLoading
Stamp image loading. End of data- Throws:
java.io.IOExceptionFiscalException
-
Stamp_DataLoading
public boolean Stamp_DataLoading(java.lang.String data) throws java.io.IOException, FiscalExceptionStamp image loading.- Parameters:
data- - base64 coded data of the grahpic logo- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
Stamp_Updtae
- Throws:
java.io.IOExceptionFiscalException
-
Stamp_Restart
Stamp image loading.- Throws:
java.io.IOExceptionFiscalException
-
Stamp_Operation
public void Stamp_Operation(java.lang.String typeOper, java.lang.String stampName) throws java.io.IOException, FiscalExceptionStamp image loading.- Parameters:
typeOper-stampName-- Throws:
java.io.IOExceptionFiscalException
-
SetPrnQuality
Contrast of Printing ( from 0 to 20 );- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
GetPrnQuality
- Returns:
- Contrast of Printing ( from 0 to 20 );
- Throws:
java.io.IOExceptionFiscalException
-
SetBarcodePrint
- Parameters:
value- - Print PLU barcode in the receipt ( 1 - enable, 0 -disable );- Throws:
java.io.IOExceptionFiscalException
-
GetBarcodePrint
- Throws:
java.io.IOExceptionFiscalException
-
SetLogoPrint
- Throws:
java.io.IOExceptionFiscalException
-
GetLogoPrint
- Throws:
java.io.IOExceptionFiscalException
-
SetForeignPrint
- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
GetForeignPrint
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetPrintColumns
- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
GetPrintColumns
- Throws:
java.io.IOExceptionFiscalException
-
SetEcrExtendedReceipt
- Throws:
java.io.IOExceptionFiscalException
-
GetEcrExtendedReceipt
- Throws:
java.io.IOExceptionFiscalException
-
GetCondensedPrint
- Throws:
java.io.IOExceptionFiscalException
-
SetCondensedPrint
- Throws:
java.io.IOExceptionFiscalException
-
GetDuplicateRec
- Throws:
java.io.IOExceptionFiscalException
-
SetDuplicateRec
- Throws:
java.io.IOExceptionFiscalException
-
GetNearPaperEndEnabled
- Throws:
java.io.IOExceptionFiscalException
-
GetPrintColumnsSupported
public java.lang.String[] GetPrintColumnsSupported() -
GetDoveritelPrint
- Throws:
java.io.IOExceptionFiscalException
-
GetVatPrint
- Throws:
java.io.IOExceptionFiscalException
-
SetNearPaperEndEnabled
- Throws:
java.io.IOExceptionFiscalException
-
SetDoveritelPrint
- Throws:
java.io.IOExceptionFiscalException
-
SetVatPrintEnable
- Throws:
java.io.IOExceptionFiscalException
-
GetBarcodeHeight
- Returns:
- -Barcode height from '1' (7mm) to '10' (70mm);
- Throws:
java.io.IOExceptionFiscalException
-
SetBarcodeHeight
Set Barcode height from '1' (7mm) to '10' (70mm);- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
GetAutoPowerOff
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetAutoPowerOff
- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
GetBkLightAutoOff
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetBkLightAutoOff
- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
GetEcrSafeOpening
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetEcrSafeOpening
- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
GetEcrConnectedGroupsReport
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetEcrConnectedGroupsReport
param value If [true] When making Z-report, automatically make "Group report" throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetEcrPluDailyClearing
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetEcrPluDailyClearing
param value If [true] When making Z-report, automatically clear PLU turnover throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetEcrConnectedCashReport
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetEcrConnectedCashReport
param value If [true] When making Z-report, automatically make "FPr report" throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
SetInvoiceInterval
public long SetInvoiceInterval(java.lang.String startNumber, java.lang.String endNumber) throws java.io.IOException, FiscalExceptionUse If the current invoice counter have reached the end of the interval.- Parameters:
startNumber- - The starting number of the interval. Max 10 digits (1...9999999999).endNumber- - The ending number of the interval. Max 10 digits (1...9999999999).- Returns:
- The current invoice receipt number (1...9999999999)
- Throws:
java.io.IOExceptionFiscalExceptionFiscalException
-
SetExInvoiceInterval
public int SetExInvoiceInterval(java.lang.String endNumber) throws java.io.IOException, FiscalExceptionIf the current invoice counter didn't reached the end of the interval.- Parameters:
endNumber- - The ending number of the interval. Max 10 digits (1...9999999999).- Returns:
- The current invoice receipt number (1...9999999999)
- Throws:
java.io.IOExceptionFiscalExceptionFiscalException
-
GetInvoiceInterval
public java.util.ArrayList<java.lang.String> GetInvoiceInterval() throws java.io.IOException, FiscalException- Returns:
- Start - The current starting value of the interval (1...9999999999) End - The current ending value of the interval (1...9999999999) Current - The current invoice receipt number (1...9999999999)
- Throws:
java.io.IOExceptionFiscalException
-
GetEmptyLineAfterTotal
- Returns:
- Print empty line after TOTAL line in fiscal receipts
- Throws:
java.io.IOExceptionFiscalException
-
SetEmptyLineAfterTotal
param value If [true] Print empty line after TOTAL line in fiscal receipts throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetBoldPayments
- Returns:
- Print the payments with bolded in fiscal receipt
- Throws:
java.io.IOExceptionFiscalException
-
SetBoldPayments
param value If [true] Print the payments with bolded in fiscal receipt throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetLANport
public java.lang.String GetLANport() throws java.lang.Exception- Returns:
- Throws:
java.io.IOExceptionFiscalExceptionFiscalExceptionjava.lang.Exception
-
SetLANport
- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
SetLanMAC
- Parameters:
value-- Throws:
java.io.IOExceptionFiscalException
-
GetLanMAC
public java.lang.String GetLanMAC() throws java.lang.Exception- Returns:
- Throws:
java.io.IOExceptionFiscalExceptionFiscalExceptionjava.lang.Exception
-
SetDHCPenable
param value Enable use of DHCP throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetDHCPenable
- Returns:
- Throws:
java.io.IOExceptionFiscalExceptionFiscalException
-
SetLANIP
param value - IP address when DHCP is disabled( up to 15 chars ) throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetLANIP
- Returns:
- Throws:
java.io.IOExceptionFiscalExceptionFiscalException
-
SetLANNetMask
param value Net mask when DHCP is disabled( up to 15 chars ) throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetLANNetMask
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetLANGateway
- Parameters:
value- Default gateway when DHCP is disabled( up to 15 chars )- Throws:
java.io.IOExceptionFiscalException
-
GetLANGateway
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetLANPriDNS
param value Primary DNS when DHCP is disabled( up to 15 chars ) throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetLANPriDNS
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetLANSecDNS
param value Second DNS when DHCP is disabled( up to 15 chars ) throws IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetLANSecDNS
- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetMainInterfaceType
public void SetMainInterfaceType(cmdConfig.MainInterfaceType value) throws java.io.IOException, FiscalException- Throws:
java.io.IOExceptionFiscalException
-
GetMainInterfaceType
public cmdConfig.MainInterfaceType GetMainInterfaceType() throws java.io.IOException, FiscalExceptionMainInterfaceType - PC interface type. 0-auto select, 1-RS232, 2-BLUETOOTH, 3- USB, 4-LAN;- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
SetModemModel
public void SetModemModel(int value) throws java.lang.Exception- Parameters:
value- ModemModel - Model of the modem ( 0 - Quectel M72, 1 - Quectel UC20, 2 - Quectel M66, 3- Quectel UG96 );- Throws:
java.lang.Exception
-
GetModemModel
public int GetModemModel() throws java.lang.Exception- Returns:
- ModemModel - Model of the modem ( 0 - Quectel M72, 1 - Quectel UC20, 2 - Quectel M66, 3- Quectel UG96 );
- Throws:
java.lang.Exception
-
SetSimPin
public void SetSimPin(java.lang.String value) throws java.lang.Exception- Parameters:
value- PIN code of SIM card. Text up to 16 symbols;- Throws:
java.lang.Exception
-
GetSimPin
public java.lang.String GetSimPin() throws java.lang.Exception- Returns:
- ModemModel - PIN code of SIM card. Text up to 16 symbols;
- Throws:
java.lang.Exception
-
SetAPN
public void SetAPN(int index, java.lang.String value) throws java.lang.Exception- Parameters:
index- Number of APN 1/2value- Access Point Name. Text up to 64 symbols.- Throws:
java.lang.Exception
-
GetAPN
public java.lang.String GetAPN(int index) throws java.lang.Exception- Parameters:
index- Number of APN 1/2- Returns:
- Access Point Name. Text up to 64 symbols.
- Throws:
java.lang.Exception
-
SetAPN_User
public void SetAPN_User(int index, java.lang.String value) throws java.lang.Exception- Parameters:
index- Number of APN 1/2value- APN Username. Text up to 32 symbols.- Throws:
java.lang.Exception
-
GetAPN_User
public java.lang.String GetAPN_User(int index) throws java.lang.Exception- Parameters:
index- Number of APN 1/2- Returns:
- APN Username. Text up to 32 symbols.
- Throws:
java.lang.Exception
-
SetAPN_Passr
public void SetAPN_Passr(int index, java.lang.String value) throws java.lang.Exception- Parameters:
index- Number of APN 1/2value- APN Password. Text up to 32 symbols.- Throws:
java.lang.Exception
-
GetAPN_Pass
public java.lang.String GetAPN_Pass(int index) throws java.lang.Exception- Parameters:
index- Number of APN 1/2- Returns:
- APN Password. Text up to 32 symbols.
- Throws:
java.lang.Exception
-
GetSimICCID
public java.lang.String GetSimICCID() throws java.lang.Exception- Returns:
- ICC number of the SIM card. Text up to 31 symbols ( readonly );
- Throws:
java.lang.Exception
-
GetSimIMSI
public java.lang.String GetSimIMSI() throws java.lang.Exception- Returns:
- IMSI number of the SIM card. Text up to 16 symbols ( readonly );
- Throws:
java.lang.Exception
-
GetSimTelNumber
public java.lang.String GetSimTelNumber() throws java.lang.Exception- Returns:
- MSISDN number of the SIM card. Text up to 16 symbols ( readonly );
- Throws:
java.lang.Exception
-
GetIMEI
public java.lang.String GetIMEI() throws java.lang.Exception- Returns:
- IMEI of the modem( read only );
- Throws:
java.lang.Exception
-