public class cmdConfig extends DatecsFiscalDevice
Modifier and Type | Class and Description |
---|---|
static class |
cmdConfig.DateTime
Maintenance date and time of fiscal devices
|
static class |
cmdConfig.HeaderFooter
Provides methods for setting header and footer
*
|
Constructor and Description |
---|
cmdConfig() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isConnectedPrinterV1() |
void |
SetAutoPaperCutting(boolean value) |
void |
SetAutoPowerOff(java.lang.String value) |
void |
SetBarCodeHeight(int value) |
void |
SetBarcodeName(boolean value) |
void |
SetCurrNameForeign(java.lang.String newCurrForeign) |
void |
SetCurrNameLocal(java.lang.String newCurrLocal) |
void |
SetDeptartment(java.lang.String index,
java.lang.String taxGr,
java.lang.String nameL1,
java.lang.String nameL2)
Name of department Number of department is determined by "Index";
|
void |
SetEcrConnectedDeptReport(boolean value) |
void |
SetEcrConnectedGroupsReport(boolean value) |
void |
SetEcrPluDailyClearing(boolean value) |
void |
SetExchangeRate(java.lang.String value) |
void |
SetFpComBaudRate(java.lang.String value) |
void |
SetOperName(int index,
java.lang.String name)
Set operator name
|
void |
SetOperPasw(int operIndex,
java.lang.String oldPass,
java.lang.String newPass)
Set operator password
|
void |
SetPaperCuttingType(boolean value) |
void |
SetPayName(int index,
java.lang.String name)
Name of payment.
|
void |
SetTimeOutBeforePrintFlush(int value) |
checkErrorCode, close, getConnectedECRV1, getConnectedModelV2, getConnectedPrinterV1, isConnectedDeviceV2, isConnectedECR, isConnectedPrinter, setConnectedModel, setConnectedModel, setConnectedModel
protected boolean isConnectedPrinterV1()
public void SetFpComBaudRate(java.lang.String value) throws java.lang.Exception
value
- Baud rate of COM port for communication with PC ( from 0 to 9 )java.lang.Exception
public void SetBarCodeHeight(int value) throws java.lang.Exception
value
- BarCodeHeight - Barcode height from '1' (7mm) to '10' (70mm);java.lang.Exception
public void SetBarcodeName(boolean value) throws java.lang.Exception
value
- Enable/Disable printing of the barcode data;java.lang.Exception
public void SetAutoPaperCutting(boolean value) throws java.lang.Exception
value
- Permission/rejection of the automatic cutting of paper after each receipt.
(FP-705 only);java.lang.Exception
public void SetPaperCuttingType(boolean value) throws java.lang.Exception
value
- Partial=0/Full=1 cutting of paper (FP-705 only);java.lang.Exception
public void SetTimeOutBeforePrintFlush(int value) throws java.lang.Exception
value
- Time out between fiscal printer commands before start auto print
( in milliseconds ). value 1...999999999;java.lang.Exception
public void SetEcrConnectedGroupsReport(boolean value) throws java.lang.Exception
value
- If [true] When making Z-report, automatically make "Group report"java.lang.Exception
public void SetEcrConnectedDeptReport(boolean value) throws java.lang.Exception
value
- If [true] When making Z-report, automatically make "Report by
Departments"java.lang.Exception
public void SetEcrPluDailyClearing(boolean value) throws java.lang.Exception
value
- If [true] When making Z-report, automatically clear PLU turnoverjava.lang.Exception
public void SetAutoPowerOff(java.lang.String value) throws java.lang.Exception
value
- Minutes to automatically turn off FPR if it is idle.
( 0 - disable; from 1 minute to 15 minutes );java.lang.Exception
public void SetCurrNameLocal(java.lang.String newCurrLocal) throws java.lang.Exception
newCurrLocal
- Local currency name( up to 3 chars )java.lang.Exception
public void SetCurrNameForeign(java.lang.String newCurrForeign) throws java.lang.Exception
newCurrForeign
- Foreign currency name( up to 3 chars );java.lang.Exception
public void SetExchangeRate(java.lang.String value) throws java.lang.Exception
value
- Exchange rate( from 0 to 999999999, decimal point is before last five digits );java.lang.Exception
public void SetOperName(int index, java.lang.String name) throws java.lang.Exception
index
- Number of operatorname
- Name of operator. Text up to 20 symbols.java.lang.Exception
public void SetOperPasw(int operIndex, java.lang.String oldPass, java.lang.String newPass) throws java.lang.Exception
operIndex
- - Operator number from 1...30oldPass
- - Password of operator. Text up to 8 symbolsnewPass
- - Operator password, ascii string of digits. Lenght from 1...8java.lang.Exception
public void SetDeptartment(java.lang.String index, java.lang.String taxGr, java.lang.String nameL1, java.lang.String nameL2) throws java.lang.Exception
index
- taxGr
- nameL1
- nameL2
- java.lang.Exception
public void SetPayName(int index, java.lang.String name) throws java.lang.Exception
index
- Number of paymentname
- Name of payment. Text up to 10 symbols.java.lang.Exception