FiscalPrinter

Summary: Inherited Constants | Ctors | Methods | Inherited Methods | [Expand All]
public class

# DP25ROU

extends FPBase

java.lang.Object
↳ | com.datecs.fiscalprinter.FPBase
| ↳ | com.datecs.fiscalprinter.rou.DP25ROU

## Summary

[Expand] Inherited Constants
From class com.datecs.fiscalprinter.FPBase
int | ENCODING_1251 |
int | ENCODING_1252 |

Public Constructors
| DP25ROU(InputStream in, OutputStream out)

Public Methods
void | INIT(boolean ChekInputParams, boolean AutoCutInputParams)
boolean | checkAndResolve()
FiscalResponse | closeFiscalCheck() 38h(56) CLOSING A FISCAL RECEIPT
FiscalResponse | command100Variant0Version0(String inputText) 64h(100) ПОКАЗВАНЕ НА ТЕКСТ НА ДИСПЛЕЯ
FiscalResponse | command101Variant0Version0(String operatorCode, String oldOperatorPassword, String newOperatorPassword) 65h(101) SETTING THE OPERATOR'S PASSWORD
FiscalResponse | command102Variant0Version0(String operatorCode, String operatorPassword, String operatorName) 66h(102) ENTERING OPERATOR'S NAME
FiscalResponse | command103Variant0Version0() 67h(103) INFORMATION ON THE CURRENT RECEIPT
FiscalResponse | command105Variant0Version0() 68h(105) OPERATOR'S REPORT
FiscalResponse | command106Variant0Version0(String mSec) 6Ah(106) ОТВАРЯНЕ НА ЧЕКМЕДЖЕ
FiscalResponse | command108Variant0Version0(String reportTypeOption) 6Ch (108) EXTENDED DAILY FINANCIAL REPORT
FiscalResponse | command109Variant0Version0(String receiptCount) 6Dh(109) PRINTING A DUPLICATE RECEIPT
FiscalResponse | command110Variant0Version0() 6Eh(110) ADDITIONAL DAILY INFORMATION
FiscalResponse | command111Variant0Version0(String printOption, String startItemNumber, String endItemNumber) 6Fh(111) ITEMS REPORT
FiscalResponse | command111Variant1Version0(String Option, String StartNum, String EndNum, String itemGroup) 6Fh(111) ITEMS REPORT
FiscalResponse | command111Variant2Version0(String printOption) 6Fh(111) ITEMS REPORT
FiscalResponse | command112Variant0Version0(String operatorCode) 70h(112) READING INFORMATION ON THE OPERATOR
FiscalResponse | command113Variant0Version0() 71h(113) READING THE NUMBER OF THE LAST PRINTED DOCUMENT
FiscalResponse | command114Variant0Version0(String fiscalRecordNumber) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant1Version0(String fiscalRecordNumber) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant1Version1(String fiscalRecordNumber1, String fiscalRecordNumber2) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant2Version0(String fiscalRecordNumber) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant2Version1(String fiscalRecordNumber1, String fiscalRecordNumber2) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant3Version0(String fiscalRecordNumber) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant3Version1(String fiscalRecordNumber1, String fiscalRecordNumber2) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant4Version0(String fiscalRecordNumber) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant5Version0(String fiscalRecordNumber) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command114Variant6Version0(String fiscalRecordNumber) 72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse | command115Variant0Version0(String rowNumber, String rowData) 73h(115) PROGRAMMING A GRAPHIC LOGO
FiscalResponse | command115Variant1Version0(String rowNumber) 73h(115) PROGRAMMING A GRAPHIC LOGO
FiscalResponse | command122Variant2Version0() 7Ah(122) JOURNAL SUPPORT Print electronic journal using half-height font starting from the first journal line.
FiscalResponse | command122Variant2Version1() 7Ah(122) JOURNAL SUPPORT Print electronic journal using normal font starting from the first journal line.
FiscalResponse | command122Variant3Version0() 7Ah(122) JOURNAL SUPPORT Continue printing of the electronic journal using half-height font - starting with the first non-printed line.
FiscalResponse | command122Variant3Version1() 7Ah(122) JOURNAL SUPPORT Continue printing of the electronic journal using normal font - starting with the first non-printed line.
FiscalResponse | command122Variant4Version0() 7Ah(122) JOURNAL SUPPORT Erase electronic journal.
FiscalResponse | command33Variant0Version0() 21h(33) ИЗЧИСТВАНЕ НА ДИСПЛЕЯ
FiscalResponse | command35Variant0Version0(String inputText) 23h(35) ПОКАЗВАНЕ НА ТЕКСТ НА ДОЛНИЯ РЕД НА ДИСПЛЕЯ
FiscalResponse | command38Variant0Version0() 26h (38) Opening a non-fiscal receipt.
FiscalResponse | command39Variant0Version0() 27h (39) Closing a non-fiscal receipt
FiscalResponse | command42Variant0Version0(String inputText) 2Ah (42) PRINTING OF A FREE NON-FISCAL TEXT
FiscalResponse | command43Variant0Version0(String itemIndex, String dataValue) 2Bh (43) SETTING FOOTER AND PRINTING OPTIONS
FiscalResponse | command44Variant0Version0(String targetLines) 2Ch(44) ADVANCING PAPER
FiscalResponse | command47Variant0Version0(String inputText) 2Fh(47) CLOSING A RECEIPT FOR 90 DEGREES ROTATED TEXT
FiscalResponse | command48Variant0Version0(String operatorCode, String operatorPassword, String tillNumber) 30h(48) OPENING A FISCAL CLIENT'S RECEIPT
FiscalResponse | command49Variant0Version0(String taxGroup, String itemPrice) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant0Version10(String textRow1, String taxGroup, String itemPrice, String itemQuantity) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant0Version12(String textRow1, String textRow2, String taxGroup, String itemPrice) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant0Version14(String textRow1, String textRow2, String taxGroup, String itemPrice, String itemQuantity) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant0Version2(String taxGroup, String itemPrice, String itemQuantity) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant0Version4(String textRow2, String taxGroup, String itemPrice) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant0Version6(String textRow2, String taxGroup, String itemPrice, String itemQuantity) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant0Version8(String textRow1, String taxGroup, String itemPrice) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant1Version0(String taxGroup, String itemPrice, String sellWithAbsoluteSumDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant1Version10(String textRow1, String taxGroup, String itemPrice, String itemQuantity, String sellWithAbsoluteSumDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant1Version12(String textRow1, String textRow2, String taxGroup, String itemPrice, String sellWithAbsoluteSumDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant1Version14(String textRow1, String textRow2, String taxGroup, String itemPrice, String itemQuantity, String sellWithAbsoluteSumDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant1Version2(String taxGroup, String itemPrice, String itemQuantity, String sellWithAbsoluteSumDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant1Version4(String textRow2, String taxGroup, String itemPrice, String sellWithAbsoluteSumDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant1Version6(String textRow2, String taxGroup, String itemPrice, String itemQuantity, String sellWithAbsoluteSumDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant1Version8(String textRow1, String taxGroup, String itemPrice, String sellWithAbsoluteSumDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant2Version0(String taxGroup, String itemPrice, String sellWithPercentDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant2Version10(String textRow1, String taxGroup, String itemPrice, String itemQuantity, String sellWithPercentDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant2Version12(String textRow1, String textRow2, String taxGroup, String itemPrice, String sellWithPercentDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant2Version14(String textRow1, String textRow2, String taxGroup, String itemPrice, String itemQuantity, String sellWithPercentDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant2Version2(String taxGroup, String itemPrice, String itemQuantity, String sellWithPercentDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant2Version4(String textRow2, String taxGroup, String itemPrice, String sellWithPercentDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant2Version6(String textRow2, String taxGroup, String itemPrice, String itemQuantity, String sellWithPercentDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command49Variant2Version8(String textRow1, String taxGroup, String itemPrice, String sellWithPercentDiscount) 31h(49) REGISTRATION OF SALES
FiscalResponse | command50Variant0Version0(String StartDate, String EndDate) 32h(50) TAX RATES ENTERED DURING THE ACCOUNTED PERIOD
FiscalResponse | command51Variant0Version0() 33h(51) SUBTOTAL
FiscalResponse | command51Variant0Version1(String subtotalWithPercentDiscount) 33h(51) SUBTOTAL
FiscalResponse | command51Variant0Version2(String subtotalWithAbsoluteSumDiscount) 33h(51) SUBTOTAL
FiscalResponse | command53Variant0Version0(String paidMode, String amountIn) 35h(53) CALCULATION OF A TOTAL
FiscalResponse | command53Variant0Version1(String textRow2, String paidMode, String amountIn) 35h(53) CALCULATION OF A TOTAL
FiscalResponse | command53Variant0Version2(String textRow1, String paidMode, String amountIn) 35h(53) CALCULATION OF A TOTAL
FiscalResponse | command53Variant0Version4(String textRow1, String textRow2, String paidMode, String amountIn) 35h(53) CALCULATION OF A TOTAL
FiscalResponse | command53Variant1Version0() 35h(53) CALCULATION OF A TOTAL
FiscalResponse | command53Variant1Version1(String textRow2) 35h(53) CALCULATION OF A TOTAL
FiscalResponse | command53Variant1Version2(String textRow1) 35h(53) CALCULATION OF A TOTAL
FiscalResponse | command53Variant1Version3(String textRow1, String textRow2) 35h(53) CALCULATION OF A TOTAL
FiscalResponse | command54Variant0Version0(String inputText) 36h(54) PRINTING A FREE FISCAL TEXT
FiscalResponse | command56Variant0Version0() 38h(56) CLOSING A FISCAL RECEIPT
FiscalResponse | command60Variant0Version0() 3Ch (60) CANCEL FISCAL RECEIPT
FiscalResponse | command61Variant0Version0(String targetDate, String targetTime) 3Dh(61) SETTING THE CLOCK - DATE AND HOUR
FiscalResponse | command62Variant0Version0() 3Eh (62) READING CURRENT DATE AND HOUR
FiscalResponse | command63Variant0Version0() 3Fh(63) ПОКАЗВАНЕ НА ДАТАТА И ЧАСА
FiscalResponse | command64Variant0Version0() 40h(64) LAST FISCAL CLOSURE DETAILS
FiscalResponse | command65Variant0Version0() 41h(65) DAILY TOTALS
FiscalResponse | command68Variant0Version0() 44h (68) THE NUMBER OF FREE FIELDS IN THE FISCAL MEMORY
FiscalResponse | command69Variant0Version0(String reportTypeOption) 45h(69) DAILY FINANCIAL REPORT
FiscalResponse | command70Variant0Version0(String amountInOut) 46h(70) INTERNAL DEBITING AND CREDITING (servICE In and Out)
FiscalResponse | command70Variant0Version1() 46h(70) INTERNAL DEBITING AND CREDITING (read only)
FiscalResponse | command71Variant0Version0() 47h (71) PRINTING DIAGNOSTIC INFORMATION
FiscalResponse | command73Variant0Version0(String startRecordNumber, String endRecordNumber) 49H(73) DETAILED FISCAL MEMORY REPORT BY CLOSURE NUMBER
FiscalResponse | command74Variant0Version0() 4Ah(74) READING THE STATUS BYTES
FiscalResponse | command74Variant1Version0() 4Ah(74) READING THE STATUS BYTES
FiscalResponse | command76Variant0Version0() 4Ch(76) STATUS OF THE FISCAL TRANSACTION
FiscalResponse | command79Variant0Version0(String startDate, String endDate) 4Fh(79) SHORT FISCAL MEMORY REPORT BY CLOSURE DATE
FiscalResponse | command80Variant0Version0(String soundData) 50h(80) SOUND SIGNAL
FiscalResponse | command83Variant0Version0(String inputMultiplier, String inputDecimals, String inputCurrency, String inputEnabledTaxesArray, String inputTaxGroupA, String inputTaxGroupB, String inputTaxGroupC, String inputTaxGroupD, String inputTaxGroupE, String inputTaxGroupF, String inputTaxGroupG) 53h(83) SETTING THE MULTIPLIER, DECIMALS, CURRENCY NAME AND DISABLED TAXES
FiscalResponse | command83Variant1Version0() 53h(83) SETTING THE MULTIPLIER, DECIMALS, CURRENCY NAME AND DISABLED TAXES
FiscalResponse | command85Variant0Version0(String additionalPaymentTypeOption, String inputAdditionalPaymentName) 55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME
FiscalResponse | command85Variant0Version1(String additionalPaymentTypeOption) 55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME
FiscalResponse | command86Variant0Version0() 56H(86) GET LATEST FISCAL MEMORY RECORD DATE
FiscalResponse | command90Variant0Version0() 5Ah(90) RETURNS DIAGONSTIC INFORMATION
FiscalResponse | command92Variant0Version0(String lineType) 5Ch(92) ПЕЧАТ НА РАЗДЕЛИТЕЛНА ЛИНИЯ
FiscalResponse | command94Variant0Version0(String startDate, String endDate) 5Eh(94) DETAILED FISCAL MEMORY REPORT BY CLOSURE DATE
FiscalResponse | command95Variant0Version0(String startFiscalRecordNumber, String endFiscalRecordNumber) 5Fh(95) SHORT FISCAL MEMORY REPORT BY CLOSURE NUMBER
FiscalResponse | command97Variant0Version0() 61h(97) READING THE SET TAX RATES
FiscalResponse | command99Variant0Version0() 63h(99) Reading the TAX REGISTRATION NUMBER
int | getBuildNumber()
int | getCountryCode()
int | getDealerCode()
String | getDeviceName()
int | getDeviceType()
int | getMajorVersion()
int | getModelType()
String | getSerialNumber()
String | getStatusBitEnStr(int byteIndex, int bitIndex)
FiscalResponse | openFiscalCheck(String operatorCode, String operatorPassword, String tillNumber) 30h(48) OPENING A FISCAL CLIENT'S RECEIPT
FiscalResponse | openFiscalCheckWithDefaultValues()
FiscalResponse | totalInCash() 35h(53) CALCULATION OF A TOTAL

[Expand] Inherited Methods
From class com.datecs.fiscalprinter.FPBase
synchronized final void | close()
String | customCommand(int cmd, String data) Sends a custom command to the printer and returns the result
boolean | getAutoCutInputParams()
boolean | getChkInputParams()
int | getLanguageIndex()
byte[] | getLastStatus()
boolean | getStatusBitBol(int byteIndex, int bitIndex)
boolean | notDbl(String value)
boolean | notInt(String value)
byte[] | queryStatus()
void | setAutoCutInputParams(boolean toValue)
void | setChkInputParams(boolean toValue)
void | setLanguageIndex(int toValue)
double | toDouble(String value)
int | toInt(String value)
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Public Constructors

#### public DP25ROU (InputStream in, OutputStream out)

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

## Public Methods

#### public void INIT (boolean ChekInputParams, boolean AutoCutInputParams)

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

#### public boolean checkAndResolve ()

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

#### public FiscalResponse closeFiscalCheck ()

38h(56) CLOSING A FISCAL RECEIPT

##### Returns

- FiscalResponse allReceipt All issued receipts from the last daily closure up to the moment fiscalReceipt All issued fiscal receipts from the last daily closure up to the moment Note: The accumulated sums from the fiscal receipt are added to the daily sums in the registries of operational memory. The command will not be successful if: - No fiscal receipt has been opened, - Command 53 (35h) has failed, - The sum paid under command 53 is less than the total sum on the fiscal receipt.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command100Variant0Version0 (String inputText)

64h(100) ПОКАЗВАНЕ НА ТЕКСТ НА ДИСПЛЕЯ

##### Parameters

inputText |

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command101Variant0Version0 (String operatorCode, String oldOperatorPassword, String newOperatorPassword)

65h(101) SETTING THE OPERATOR'S PASSWORD

##### Parameters

operatorCode | Operator's code (1 to 16)
oldOperatorPassword | Old password (4 to 8 digits)
newOperatorPassword | New password (4 to 8 digits) Note: Sets one of the 16 operator's passwords, which will be demanded upon opening a fiscal receipt. After three erroneous password entries, the printer will block, it must then be switched OFF and ON again to continue operating. After initialization or reset of the operational memory, all 16 passwords are "0000".

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command102Variant0Version0 (String operatorCode, String operatorPassword, String operatorName)

66h(102) ENTERING OPERATOR'S NAME

##### Parameters

operatorCode | Operator's code (1 to 16)
operatorPassword | Password (4 to 8 digits)
operatorName | Name of the operator (up to 30 symbols)

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command103Variant0Version0 ()

67h(103) INFORMATION ON THE CURRENT RECEIPT

##### Returns

- FiscalResponse saleVoidIsPossible Possible/impossible return (sale registration with a negative sign) ['0' / '1'] taxGroupA The sum accumulated under tax A taxGroupB The sum accumulated under tax B taxGroupC The sum accumulated under tax C taxGroupD The sum accumulated under tax D taxGroupE The sum accumulated under tax E taxGroupF taxGroupG Inv InvNmb Note: The command offers information on sums accumulated so far under the different tax groups and whether it is possible to return the registered items sold.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command105Variant0Version0 ()

68h(105) OPERATOR'S REPORT

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command106Variant0Version0 (String mSec)

6Ah(106) ОТВАРЯНЕ НА ЧЕКМЕДЖЕ

##### Parameters

mSec | Note: Изпраща импулс за отваряне на чекмедже. Параметърът задава нова стойност на дължината на импулса, която се запомня от касата. Ако параметъра се пропусне, използва се последната зададена стойност. След RESET на паметта се установява стойност 15 ms.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command108Variant0Version0 (String reportTypeOption)

6Ch (108) EXTENDED DAILY FINANCIAL REPORT

##### Parameters

reportTypeOption | Parameter controlling the type of generated report. '0' A Z-report is printed. The printout ends with inscriptions "NON-FISCAL RECEIPT" if the printer is not fiscalised. '2' A X-report is generated, i.e., no entry into the fiscal memory is made and no closures are performed. The printout ends with inscription "NON-FISCAL RECEIPT". The same actions may be generated directly from the printer if during switching on the "FEED" button is hold for 2 to 4 seconds. N The presence of this symbol at the end of the data cancels the option to clear the data accumulated on the operators during a Z-report. A The presence of this symbol at the end of the data cancels the option to clear the data about sold article quantities during a Z-report.

##### Returns

- FiscalResponse fiscalRecordNumber Fiscal closure (Daily report) number - 4 bytes. totalSumForTheDay The sum of all sales for the day - 12 bytes with a sign. totalSumInTaxGroupA The total under tax category - 12 bytes with a sign. totalSumInTaxGroupB The total under tax category - 12 bytes with a sign. totalSumInTaxGroupC The total under tax category - 12 bytes with a sign. totalSumInTaxGroupD The total under tax category - 12 bytes with a sign. totalSumInTaxGroupE The total under tax category - 12 bytes with a sign. totalSumInTaxGroupF totalSumInTaxGroupG Note: totalSumInTaxGroupX The totals under all tax categories - A, B, C, D and E - 12 bytes with a sign. totalSumInSpecialTax Special tax sum (12 bytes with sign). The command with option '0' (Z-report) must be executed immediately after printing and deleting the electronic journal. If there is information in the journal, the command is not permitted. In the beginning is printed a list of the sold articles with PLU's less or equal than 100.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command109Variant0Version0 (String receiptCount)

6Dh(109) PRINTING A DUPLICATE RECEIPT

##### Parameters

receiptCount | Number of duplicate receipts (only a value of 1 is accepted!). Note: The command initiates the printing of a copy of the last closed receipt containing registered sales. Immediately after the tax registration number the inscription "DUPLICATE" is printed out in bold letters. The printer will refuse to execute this command twice.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command110Variant0Version0 ()

6Eh(110) ADDITIONAL DAILY INFORMATION

##### Returns

- FiscalResponse paidInCash Paid in cash paidWithCreditCart Payment credited paidWithDebitCard Paid with a debit card paidWithCheque Paid with a cheque paidInAdditionalPaymentType1 Payd with one of the additional payment types ('I'). paidInAdditionalPaymentType2 Payd with one of the additional payment types ('J'). paidInAdditionalPaymentType3 Payd with one of the additional payment types ('K'). paidInAdditionalPaymentType4 Payd with one of the additional payment types ('L'). currentFiscalRecordNumber Current (last) fiscal entry nextFiscalReceiptNumber Number of the next fiscal receipt Note: Returns information on distribution of the daily sum according to terms of payment used.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command111Variant0Version0 (String printOption, String startItemNumber, String endItemNumber)

6Fh(111) ITEMS REPORT

##### Parameters

printOption | Defines the type of information under print. Possible values: - 'S' Only sold items are printed out. The data on these items include: the individual number, VAT group, group, name, single price, sold quantity and total sum for the day. - 'P' All programmed items are printed out, containing their number, VAT group, group, name, sold quantity, available quantity and single price.
startItemNumber | First article number (PLU) printed. PLUs less than this are not included in the report. Default: 1.
endItemNumber | Last article number (PLU) printed. PLUs greater than this are not included in the report. Default: 999999999.

##### Returns

- FiscalResponse errorCode One byte, showing the result from the operation and having the following meaning: 'P' Successful command 'F' Unsuccessful command Note: 'P' Successful command 'F' Unsuccessful command Items are arranged according to their individual numbers. When a Z-report is printed, then the accumulated sums are cleared, if the parameter 'A' is not present in the command line.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command111Variant1Version0 (String Option, String StartNum, String EndNum, String itemGroup)

6Fh(111) ITEMS REPORT

##### Parameters

Option | Defines the type of information under print. Possible values: 'S' Only sold items are printed out. The data on these items include: the individual number, VAT group, group, name, single price, sold quantity and total sum for the day. 'P' All programmed items are printed out, containing their number, VAT group, group, name, sold quantity, available quantity and single price.
StartNum | First article number (PLU) printed. PLUs less than this are not included in the report. Default: 1.
EndNum | Last article number (PLU) printed. PLUs greater than this are not included in the report. Default: 999999999.
itemGroup | A number from 1 to 99. If present, only articles from this group are printed, otherwise all articles are printed.

##### Returns

- FiscalResponse errorCode One byte, showing the result from the operation and having the following meaning: 'P' Successful command 'F' Unsuccessful command Note: 'P' Successful command 'F' Unsuccessful command Items are arranged according to their individual numbers. When a Z-report is printed, then the accumulated sums are cleared, if the parameter 'A' is not present in the command line.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command111Variant2Version0 (String printOption)

6Fh(111) ITEMS REPORT

##### Parameters

printOption | Defines the type of information under print. Possible values: - 'S' Only sold items are printed out. The data on these items include: the individual number, VAT group, group, name, single price, sold quantity and total sum for the day. - 'P' All programmed items are printed out, containing their number, VAT group, group, name, sold quantity, available quantity and single price.

##### Returns

- FiscalResponse errorCode One byte, showing the result from the operation and having the following meaning: 'P' Successful command 'F' Unsuccessful command Note: 'P' Successful command 'F' Unsuccessful command Items are arranged according to their individual numbers. When a Z-report is printed, then the accumulated sums are cleared, if the parameter 'A' is not present in the command line.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command112Variant0Version0 (String operatorCode)

70h(112) READING INFORMATION ON THE OPERATOR

##### Parameters

operatorCode | Number of the operator (1 to 16)

##### Returns

- FiscalResponse receiptCountForOperator Number of fiscal receipts, issued by the operator registeredSalesCountForOperator Number of registered sales totalAccumulatedSum Total accumulated sum discountCountForOperator Number of discounts totalDiscounts Total number of discounts surchargeCountForOperator Number of surcharges totalSurcharges Total number of surcharges made voidCountForOperator Number of voids (and corrections of sums) totalVoidSum Total sum of the voids operatorName Name of the operator operatorPassword Operators password. Present only if the printer is in service mode. Note: The command leads to the reading of the available information, which will be printed out in the operator's report. The sums are returned as floating-point numbers incorporating the currently set number of decimal places.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command113Variant0Version0 ()

71h(113) READING THE NUMBER OF THE LAST PRINTED DOCUMENT

##### Returns

- FiscalResponse lastDocumentNumber The number of the last issued document (7 digits)

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant0Version0 (String fiscalRecordNumber)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. lastTaxRatesRecordNumber Last (active) decimals and VAT rates record number. decimalsCount Decimals count for this Z-report record. enabledTaxArray Enabled VAT rates mask - 4 bytes with values '0' or '1', where '1' means "enabled". taxPercentRateA VAT rate for the corresponding VAT group in percents. taxPercentRateB VAT rate for the corresponding VAT group in percents. taxPercentRateC VAT rate for the corresponding VAT group in percents. taxPercentRateD VAT rate for the corresponding VAT group in percents. dateAndTime Date and time of the data in format: DD-MM-YY hh:mm:ss.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant1Version0 (String fiscalRecordNumber)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. outputFiscalRecordNumber Z-report record number. fiscalReceiptsCount Fiscal receipts count for the day. totalTurnoverInTaxGroupA Total (turnover) sum for the corresponding VAT group. totalTurnoverInTaxGroupB Total (turnover) sum for the corresponding VAT group. totalTurnoverInTaxGroupC Total (turnover) sum for the corresponding VAT group. totalTurnoverInTaxGroupD Total (turnover) sum for the corresponding VAT group. totalTurnoverInTaxGroupE Total (turnover) sum for the corresponding VAT group. specialTax Special tax accumulated sum.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant1Version1 (String fiscalRecordNumber1, String fiscalRecordNumber2)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber1 | Number of the fiscal memory record.
fiscalRecordNumber2 | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. outputFiscalRecordNumber Z-report record number. fiscalReceiptsCount Fiscal receipts count for the day. totalTurnoverInTaxGroupA Total (turnover) sum for the corresponding VAT group. totalTurnoverInTaxGroupB Total (turnover) sum for the corresponding VAT group. totalTurnoverInTaxGroupC Total (turnover) sum for the corresponding VAT group. totalTurnoverInTaxGroupD Total (turnover) sum for the corresponding VAT group. totalTurnoverInTaxGroupE Total (turnover) sum for the corresponding VAT group. specialTax Special tax accumulated sum.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant2Version0 (String fiscalRecordNumber)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. outputFiscalRecordNumber Z-report record number. fiscalReceiptsCount Fiscal receipts count for the day. netAmountInTaxGroupA Net sum for the corresponding VAT group. netAmountInTaxGroupB Net sum for the corresponding VAT group. netAmountInTaxGroupC Net sum for the corresponding VAT group. netAmountInTaxGroupD Net sum for the corresponding VAT group. netAmountInTaxGroupE Net sum for the corresponding VAT group. specialTax Special tax accumulated sum.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant2Version1 (String fiscalRecordNumber1, String fiscalRecordNumber2)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber1 | Number of the fiscal memory record.
fiscalRecordNumber2 | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. outputFiscalRecordNumber Z-report record number. fiscalReceiptsCount Fiscal receipts count for the day. netAmountInTaxGroupA Net sum for the corresponding VAT group. netAmountInTaxGroupB Net sum for the corresponding VAT group. netAmountInTaxGroupC Net sum for the corresponding VAT group. netAmountInTaxGroupD Net sum for the corresponding VAT group. netAmountInTaxGroupE Net sum for the corresponding VAT group. specialTax Special tax accumulated sum.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant3Version0 (String fiscalRecordNumber)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. outputFiscalRecordNumber Z-report record number. fiscalReceiptsCount Fiscal receipts count for the day. vatSumInTaxGroupA VAT sum for the corresponding VAT group. vatSumInTaxGroupB VAT sum for the corresponding VAT group. vatSumInTaxGroupC VAT sum for the corresponding VAT group. vatSumInTaxGroupD VAT sum for the corresponding VAT group. Note: vatSumInTaxGroupX VAT sum for the corresponding VAT group. specialTax Special tax accumulated sum.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant3Version1 (String fiscalRecordNumber1, String fiscalRecordNumber2)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber1 | Number of the fiscal memory record.
fiscalRecordNumber2 | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. outputFiscalRecordNumber Z-report record number. fiscalReceiptsCount Fiscal receipts count for the day. vatSumInTaxGroupA VAT sum for the corresponding VAT group. vatSumInTaxGroupB VAT sum for the corresponding VAT group. vatSumInTaxGroupC VAT sum for the corresponding VAT group. vatSumInTaxGroupD VAT sum for the corresponding VAT group. Note: vatSumInTaxGroupX VAT sum for the corresponding VAT group. specialTax Special tax accumulated sum.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant4Version0 (String fiscalRecordNumber)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. outputFiscalRecordNumber Z-report record number. lastTaxRatesRecordNumber Last (active) decimals and VAT rates record number. lastResetRecordNumber Last RAM reset number for this Z-report record. lastElectronicJournalNumber Last electronic journal number for this Z-report record. dateAndTime Date and time of the data in format: DD-MM-YY hh:mm:ss.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant5Version0 (String fiscalRecordNumber)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. decimalsCount Decimals count for this Z-report record. enabledTaxArray Enabled VAT rates mask - 4 bytes with values '0' or '1', where '1' means "enabled". taxPercentRateA VAT rate for the corresponding VAT group in percents. taxPercentRateB VAT rate for the corresponding VAT group in percents. taxPercentRateC VAT rate for the corresponding VAT group in percents. taxPercentRateD VAT rate for the corresponding VAT group in percents. dateAndTime Date and time of the data in format: DD-MM-YY hh:mm:ss.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command114Variant6Version0 (String fiscalRecordNumber)

72h(114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD

##### Parameters

fiscalRecordNumber | Number of the fiscal memory record.

##### Returns

- FiscalResponse errorCode One byte with a value of: - 'P' The data are valid. - 'F' Wrong control sum in the entry. No data available. - 'E' The selected entry is empty. No data available. dateAndTime Date and time of the data in format: DD-MM-YY hh:mm:ss.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command115Variant0Version0 (String rowNumber, String rowData)

73h(115) PROGRAMMING A GRAPHIC LOGO

##### Parameters

rowNumber | Shows the line, which is being programmed - a number between 0 and 95
rowData | Graphic data. Two symbols for each byte of information are entered in the hexadecimal code (Two symbols for every byte). The length of the data is up to 48 bytes, and if they are less, an automatic addition of "00" follows. Note: This command offers the option to define a graphic logo with dimensions 48 x 12 mm (384 x 96 dots) designed by the user themselves. The printing of this logo is activated with command 43. It is printed out immediately before the HEADER - at the beginning of each fiscal or non-fiscal receipt. In order to define the whole logo, the command must be executed 96 times - once for each line. After RESET of memory, default logo is active.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command115Variant1Version0 (String rowNumber)

73h(115) PROGRAMMING A GRAPHIC LOGO

##### Parameters

rowNumber | Shows the line, which is being programmed - a number between 0 and 95

##### Returns

- FiscalResponse rowData Graphic data. Two symbols for each byte of information are entered in the hexadecimal code (Two symbols for every byte). The length of the data is up to 48 bytes, and if they are less, an automatic addition of "00" follows. Note: This command offers the option to define a graphic logo with dimensions 48 x 12 mm (384 x 96 dots) designed by the user themselves. The printing of this logo is activated with command 43. It is printed out immediately before the HEADER - at the beginning of each fiscal or non-fiscal receipt. In order to define the whole logo, the command must be executed 96 times - once for each line. After RESET of memory, default logo is active.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command122Variant2Version0 ()

7Ah(122) JOURNAL SUPPORT

Print electronic journal using half-height font starting from the first journal line.

- Data field: None - Response: None

##### Returns

- TRUE upon success, FALSE otherwise

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

#### public FiscalResponse command122Variant2Version1 ()

7Ah(122) JOURNAL SUPPORT

Print electronic journal using normal font starting from the first journal line.

- Data field: None - Response: None

##### Returns

- TRUE upon success, FALSE otherwise

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

#### public FiscalResponse command122Variant3Version0 ()

7Ah(122) JOURNAL SUPPORT

Continue printing of the electronic journal using half-height font - starting with the first non-printed line.

- Data field: None - Response: None

##### Returns

- TRUE upon success, FALSE otherwise

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

#### public FiscalResponse command122Variant3Version1 ()

7Ah(122) JOURNAL SUPPORT

Continue printing of the electronic journal using normal font - starting with the first non-printed line.

- Data field: None - Response: None

##### Returns

- TRUE upon success, FALSE otherwise

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

#### public FiscalResponse command122Variant4Version0 ()

7Ah(122) JOURNAL SUPPORT

Erase electronic journal. Before this the journal must be printed!

- Data field: None - Response: None

##### Returns

- TRUE upon success, FALSE otherwise

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

#### public FiscalResponse command33Variant0Version0 ()

21h(33) ИЗЧИСТВАНЕ НА ДИСПЛЕЯ

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command35Variant0Version0 (String inputText)

23h(35) ПОКАЗВАНЕ НА ТЕКСТ НА ДОЛНИЯ РЕД НА ДИСПЛЕЯ

##### Parameters

inputText |

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command38Variant0Version0 ()

26h (38) Opening a non-fiscal receipt.

##### Returns

- FiscalResponse Allreceipt The number of all issued receipts (fiscal and non-fiscal) from the last daily closure on (4 bytes). Note: The command cannot be executed, S1.1 is raised if. The fiscal memory has not been formatted There is an opened fiscal or non-fiscal receipt There is no paper The clock is not set The electronic journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command39Variant0Version0 ()

27h (39) Closing a non-fiscal receipt

##### Returns

- FiscalResponse AllReceipt The number of all issued receipts (fiscal and non-fiscal) from the last daily closure on (4 bytes).

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command42Variant0Version0 (String inputText)

2Ah (42) PRINTING OF A FREE NON-FISCAL TEXT

##### Parameters

inputText | A text of 18 symbols (at most). The symbols after 30 are cut off.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command43Variant0Version0 (String itemIndex, String dataValue)

2Bh (43) SETTING FOOTER AND PRINTING OPTIONS

##### Parameters

itemIndex | One symbol having the following meaning: "6" to "7" "6" and "7" select the first or second FOOTER line. "B" Set bar code height in pixels (0.125 mm). Possible values from 24 (3 mm) to 240 (30 mm). The barcode is printed with command 84 (54H). "D" Set print darkness. Possible values: '1': Very low '2': Low '3': Normal '4': Dark '5': Very dark "E" Disable / enable printing of total receipt sum in EUR when first Total (53) command is executed. Optionally the command sets the valid exchange rate EUR / LEI. Syntax of the data: [,Rate] Enable Disable / enable flag. One byte: '0' or '1'. Rate Exchange rate. A float number with up to 5 decimal places and 8 significant digits. If not preset, then old value remains active. If 0.00000, then EUR value is not printed independent of the value of Enable flag. "L" Height of graphic logo and permission/rejection of the printing of graphic logo immediately before the header. This logo is defined with command 115 (73H). "Z" Set auto off time in seconds. Possible values from 60 to 3600. Setting 0 disables the auto off. "I" Gives us the option to read values, set earlier with command 43. After the letter "I" only one more symbol follows which coincides with some of the above.
dataValue | A text string: If is '0' to '7' - the text of the header / footer line (up to 38 symbols). If = 'B' - A number - the height of bar code in pixels. If = 'D' - The print darkness (1 to 5). If = 'E' - Returns Enable,Rate, where Enable is Disable / enable flag and Rate is current exchange rata EUR / LEI. If = `L' Syntax , Height Graphics logo height in lines (0.125 mm). A number from 8 to 96. Enabled '0' or '1', where '1' means, that logo printing is enabled. If = `Z' Syntax

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command44Variant0Version0 (String targetLines)

2Ch(44) ADVANCING PAPER

##### Parameters

targetLines | Advancing paper measured in text lines. The programmed line count cannot be greater than 99 (1 or 2 bytes). If the parameter is not there, the default setting is 1 line.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command47Variant0Version0 (String inputText)

2Fh(47) CLOSING A RECEIPT FOR 90 DEGREES ROTATED TEXT

##### Parameters

inputText |

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command48Variant0Version0 (String operatorCode, String operatorPassword, String tillNumber)

30h(48) OPENING A FISCAL CLIENT'S RECEIPT

##### Parameters

operatorCode | Operator's number (1 to 16)
operatorPassword | Operator's password (4 to 8 digits)
tillNumber | Number of point of sale (a whole number of maximum 5 digits)

##### Returns

- FiscalResponse allReceiptNumber The number of all issued receipts (fiscal or non-) from the last daily closure up to the moment (4 bytes). fiscalReceiptNumber The number of all fiscal receipts from the last daily closure up to the moment (4 bytes). Note: The FP performs the following actions: Prints the HEADER Prints the tax registration number Prints the number and name of operator as well as the cashier desk number Allreceipt and FiscReceipt are returned The command will not be successful if: There is an opened fiscal or non-fiscal receipt The maximum number of receipts, as fixed for the day, has already been issued The fiscal memory is full The fiscal memory is damaged No code or operator password, or cashier desk number available Less than 2 HEADER lines are programmed No VAT registration number available Wrong operator password The clock needs setting Journal is full After entering three wrong operator's passwords, the printer blocks and must be switched off and on again to restart operation.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant0Version0 (String taxGroup, String itemPrice)

31h(49) REGISTRATION OF SALES

##### Parameters

taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant0Version10 (String textRow1, String taxGroup, String itemPrice, String itemQuantity)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | A non-mandatory parameter setting the quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant0Version12 (String textRow1, String textRow2, String taxGroup, String itemPrice)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant0Version14 (String textRow1, String textRow2, String taxGroup, String itemPrice, String itemQuantity)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | A non-mandatory parameter setting the quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant0Version2 (String taxGroup, String itemPrice, String itemQuantity)

31h(49) REGISTRATION OF SALES

##### Parameters

taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | A non-mandatory parameter setting the quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant0Version4 (String textRow2, String taxGroup, String itemPrice)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant0Version6 (String textRow2, String taxGroup, String itemPrice, String itemQuantity)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | A non-mandatory parameter setting the quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant0Version8 (String textRow1, String taxGroup, String itemPrice)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant1Version0 (String taxGroup, String itemPrice, String sellWithAbsoluteSumDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
sellWithAbsoluteSumDiscount | The value of discount or surcharge (depending on the sign) over the currently performed sale. Up to 8 significant digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant1Version10 (String textRow1, String taxGroup, String itemPrice, String itemQuantity, String sellWithAbsoluteSumDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | The quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits.
sellWithAbsoluteSumDiscount | The value of discount or surcharge (depending on the sign) over the currently performed sale. Up to 8 significant digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant1Version12 (String textRow1, String textRow2, String taxGroup, String itemPrice, String sellWithAbsoluteSumDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
sellWithAbsoluteSumDiscount | The value of discount or surcharge (depending on the sign) over the currently performed sale. Up to 8 significant digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant1Version14 (String textRow1, String textRow2, String taxGroup, String itemPrice, String itemQuantity, String sellWithAbsoluteSumDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | The quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits.
sellWithAbsoluteSumDiscount | The value of discount or surcharge (depending on the sign) over the currently performed sale. Up to 8 significant digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant1Version2 (String taxGroup, String itemPrice, String itemQuantity, String sellWithAbsoluteSumDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | The quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits.
sellWithAbsoluteSumDiscount | The value of discount or surcharge (depending on the sign) over the currently performed sale. Up to 8 significant digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant1Version4 (String textRow2, String taxGroup, String itemPrice, String sellWithAbsoluteSumDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
sellWithAbsoluteSumDiscount | The value of discount or surcharge (depending on the sign) over the currently performed sale. Up to 8 significant digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant1Version6 (String textRow2, String taxGroup, String itemPrice, String itemQuantity, String sellWithAbsoluteSumDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | The quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits.
sellWithAbsoluteSumDiscount | The value of discount or surcharge (depending on the sign) over the currently performed sale. Up to 8 significant digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant1Version8 (String textRow1, String taxGroup, String itemPrice, String sellWithAbsoluteSumDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
sellWithAbsoluteSumDiscount | The value of discount or surcharge (depending on the sign) over the currently performed sale. Up to 8 significant digits. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant2Version0 (String taxGroup, String itemPrice, String sellWithPercentDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
sellWithPercentDiscount | The value of discount or surcharge (depending on the sign) in percent over the currently performed sale. Possible values are between - 99.00% and 99.00%, where up to 2 decimal places are acceptable. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant2Version10 (String textRow1, String taxGroup, String itemPrice, String itemQuantity, String sellWithPercentDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | The quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits.
sellWithPercentDiscount | The value of discount or surcharge (depending on the sign) in percent over the currently performed sale. Possible values are between - 99.00% and 99.00%, where up to 2 decimal places are acceptable. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant2Version12 (String textRow1, String textRow2, String taxGroup, String itemPrice, String sellWithPercentDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
sellWithPercentDiscount | The value of discount or surcharge (depending on the sign) in percent over the currently performed sale. Possible values are between - 99.00% and 99.00%, where up to 2 decimal places are acceptable. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant2Version14 (String textRow1, String textRow2, String taxGroup, String itemPrice, String itemQuantity, String sellWithPercentDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | The quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits.
sellWithPercentDiscount | The value of discount or surcharge (depending on the sign) in percent over the currently performed sale. Possible values are between - 99.00% and 99.00%, where up to 2 decimal places are acceptable. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant2Version2 (String taxGroup, String itemPrice, String itemQuantity, String sellWithPercentDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | The quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits.
sellWithPercentDiscount | The value of discount or surcharge (depending on the sign) in percent over the currently performed sale. Possible values are between - 99.00% and 99.00%, where up to 2 decimal places are acceptable. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant2Version4 (String textRow2, String taxGroup, String itemPrice, String sellWithPercentDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
sellWithPercentDiscount | The value of discount or surcharge (depending on the sign) in percent over the currently performed sale. Possible values are between - 99.00% and 99.00%, where up to 2 decimal places are acceptable. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant2Version6 (String textRow2, String taxGroup, String itemPrice, String itemQuantity, String sellWithPercentDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow2 | A text of up to 30 bytes containing a second line describing the sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
itemQuantity | The quantity of items for sale. By default, this is 1.000.The length of this parameter is 9 meaningful digits (not more than 3 after the decimal point). The result Price*Quan is rounded up to the set number of digits and cannot be longer than 8 meaningful digits.
sellWithPercentDiscount | The value of discount or surcharge (depending on the sign) in percent over the currently performed sale. Possible values are between - 99.00% and 99.00%, where up to 2 decimal places are acceptable. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command49Variant2Version8 (String textRow1, String taxGroup, String itemPrice, String sellWithPercentDiscount)

31h(49) REGISTRATION OF SALES

##### Parameters

textRow1 | A text of up to 30 bytes containing one line of description of sale.
taxGroup | One byte containing letter, which indicates the type of tax. There is a restriction, depending on the enabled tax groups (command 83).
itemPrice | This is a single price that consists of 8 meaningful digits.
sellWithPercentDiscount | The value of discount or surcharge (depending on the sign) in percent over the currently performed sale. Possible values are between - 99.00% and 99.00%, where up to 2 decimal places are acceptable. Note: FP performs the following actions: - The text, describing sale is printed out together with the price and code of discount or surcharge. If there is a set quantity, the information on it is printed out too. - The price of the items sold is accumulated to the sums already stored in the operational memory. In case of memory overflow the value of respective bites of the status field will be set. - If there is a discount or surcharge, it is printed out on a separate line and is then added to a specially maintained registers within the printer. The values for the day are printed out together with the daily financial report. The command will not be correctly executed if and when: No fiscal receipt has been opened - The maximum number of sales for one receipt have already been performed (380) - The 35h command has been successfully executed - The sum for some of the tax groups has become negative - The sum of discounts and surcharges within the same receipt has become negative - Journal is full

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command50Variant0Version0 (String StartDate, String EndDate)

32h(50) TAX RATES ENTERED DURING THE ACCOUNTED PERIOD

##### Parameters

StartDate | The starting date of the period - DDMMYY/6 bytes/
EndDate | The end date of the period - DDMMYY /6 bytes/

##### Returns

- FiscalResponse F_RESULT 'F' if no tax rates for the period have been found, or in case of error 'P' means 'PASS' after which the last active rates for the period AA The last active rates for the period are listed out as well as the date of their entry. If there are unused groups (disabled by command 83) for them, instead of rate in percent a 'DT' is returned (Disabled tax). BB The last active rates for the period are listed out as well as the date of their entry. If there are unused groups (disabled by command 83) for them, instead of rate in percent a 'DT' is returned (Disabled tax). CC The last active rates for the period are listed out as well as the date of their entry. If there are unused groups (disabled by command 83) for them, instead of rate in percent a 'DT' is returned (Disabled tax). DD The last active rates for the period are listed out as well as the date of their entry. If there are unused groups (disabled by command 83) for them, instead of rate in percent a 'DT' is returned (Disabled tax). DDMMYY Day Month Year Note: If there are unused groups (disabled by command 83) for them, instead of rate in percent a 'DT' is returned (Disabled tax). The command prints a report on the changes made in the decimal points and tax rates during the selected period.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command51Variant0Version0 ()

33h(51) SUBTOTAL

##### Returns

- FiscalResponse subTotal The sum accumulated for the current fiscal receipt (10 bytes). taxGroupA The sum over tax group A /10 bytes/ taxGroupB The sum over tax group B /10 bytes/ taxGroupC The sum over tax group C /10 bytes/ taxGroupD The sum over tax group D /10 bytes/ taxGroupE The sum over tax group E - VAT exempt /10 bytes/ taxGroupF taxGroupG Note: The sum of all sales registered in the fiscal receipt is calculated. The calculated total sum and the accumulated separate sums for each tax group are returned to the PC.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command51Variant0Version1 (String subtotalWithPercentDiscount)

33h(51) SUBTOTAL

##### Parameters

subtotalWithPercentDiscount | The value of discount or surcharge in percent over the sum accumulated so far.

##### Returns

- FiscalResponse subTotal The sum accumulated for the current fiscal receipt (10 bytes). taxGroupA The sum over tax group A /10 bytes/ taxGroupB The sum over tax group B /10 bytes/ taxGroupC The sum over tax group C /10 bytes/ taxGroupD The sum over tax group D /10 bytes/ taxGroupE The sum over tax group E - VAT exempt /10 bytes/ specialTax The sum over special tax /10 bytes/ Note: taxGroupF The sum over tax group E - VAT exempt /10 bytes/ taxGroupG The sum over tax group E - VAT exempt /10 bytes/ The sum of all sales registered in the fiscal receipt is calculated. The calculated total sum and the accumulated separate sums for each tax group are returned to the PC.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command51Variant0Version2 (String subtotalWithAbsoluteSumDiscount)

33h(51) SUBTOTAL

##### Parameters

subtotalWithAbsoluteSumDiscount | The value of discount as absolute value (up to 8 digits).

##### Returns

- FiscalResponse subTotal The sum accumulated for the current fiscal receipt (10 bytes). taxGroupA The sum over tax group A /10 bytes/ taxGroupB The sum over tax group B /10 bytes/ taxGroupC The sum over tax group C /10 bytes/ taxGroupD The sum over tax group D /10 bytes/ taxGroupE The sum over tax group E - VAT exempt /10 bytes/ specialTax The sum over special tax /10 bytes/ Note: taxGroupF The sum over tax group E - VAT exempt /10 bytes/ taxGroupG The sum over tax group E - VAT exempt /10 bytes/ The sum of all sales registered in the fiscal receipt is calculated. The calculated total sum and the accumulated separate sums for each tax group are returned to the PC.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command53Variant0Version0 (String paidMode, String amountIn)

35h(53) CALCULATION OF A TOTAL

##### Parameters

paidMode | Code indicating the terms of payment. It may have the following values: 'P' Payment in cash 'N' Payment via credit 'C' Payment in cheques 'D' Payment with a debit card 'I' Programmable payment 1 'J' Programmable payment 2 'K' Programmable payment 3 'L' Programmable payment 4
amountIn | The sum tendered (up to 10 meaningful symbols). Depending on the code, the sums are accumulated in different registers and may be recovered in the daily report.

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command53Variant0Version1 (String textRow2, String paidMode, String amountIn)

35h(53) CALCULATION OF A TOTAL

##### Parameters

textRow2 | A text of 30 bytes containing the second line
paidMode | Code indicating the terms of payment. It may have the following values: 'P' Payment in cash 'N' Payment via credit 'C' Payment in cheques 'D' Payment with a debit card 'I' Programmable payment 1 'J' Programmable payment 2 'K' Programmable payment 3 'L' Programmable payment 4
amountIn | The sum tendered (up to 10 meaningful symbols). Depending on the code, the sums are accumulated in different registers and may be recovered in the daily report.

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command53Variant0Version2 (String textRow1, String paidMode, String amountIn)

35h(53) CALCULATION OF A TOTAL

##### Parameters

textRow1 | A text of 30 bytes containing the first line
paidMode | Code indicating the terms of payment. It may have the following values: 'P' Payment in cash 'N' Payment via credit 'C' Payment in cheques 'D' Payment with a debit card 'I' Programmable payment 1 'J' Programmable payment 2 'K' Programmable payment 3 'L' Programmable payment 4
amountIn | The sum tendered (up to 10 meaningful symbols). Depending on the code, the sums are accumulated in different registers and may be recovered in the daily report.

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command53Variant0Version4 (String textRow1, String textRow2, String paidMode, String amountIn)

35h(53) CALCULATION OF A TOTAL

##### Parameters

textRow1 | A text of 30 bytes containing the first line
textRow2 | A text of 30 bytes containing the second line
paidMode | Code indicating the terms of payment. It may have the following values: 'P' Payment in cash 'N' Payment via credit 'C' Payment in cheques 'D' Payment with a debit card 'I' Programmable payment 1 'J' Programmable payment 2 'K' Programmable payment 3 'L' Programmable payment 4
amountIn | The sum tendered (up to 10 meaningful symbols). Depending on the code, the sums are accumulated in different registers and may be recovered in the daily report.

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command53Variant1Version0 ()

35h(53) CALCULATION OF A TOTAL

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command53Variant1Version1 (String textRow2)

35h(53) CALCULATION OF A TOTAL

##### Parameters

textRow2 | A text of 30 bytes containing the second line

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command53Variant1Version2 (String textRow1)

35h(53) CALCULATION OF A TOTAL

##### Parameters

textRow1 | A text of 30 bytes containing the first line

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command53Variant1Version3 (String textRow1, String textRow2)

35h(53) CALCULATION OF A TOTAL

##### Parameters

textRow1 | A text of 30 bytes containing the first line
textRow2 | A text of 30 bytes containing the second line

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command54Variant0Version0 (String inputText)

36h(54) PRINTING A FREE FISCAL TEXT

##### Parameters

inputText | Up to 30 bytes text

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command56Variant0Version0 ()

38h(56) CLOSING A FISCAL RECEIPT

##### Returns

- FiscalResponse allReceipt All issued receipts from the last daily closure up to the moment fiscalReceipt All issued fiscal receipts from the last daily closure up to the moment Note: The accumulated sums from the fiscal receipt are added to the daily sums in the registries of operational memory. The command will not be successful if: - No fiscal receipt has been opened, - Command 53 (35h) has failed, - The sum paid under command 53 is less than the total sum on the fiscal receipt.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command60Variant0Version0 ()

3Ch (60) CANCEL FISCAL RECEIPT

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command61Variant0Version0 (String targetDate, String targetTime)

3Dh(61) SETTING THE CLOCK - DATE AND HOUR

##### Parameters

targetDate | DD-MM-YY
targetTime | HH:MM[:SS] Note: Response: None You cannot set a date, which is earlier than the date of the last entry into the fiscal memory of device and the capacity of this memory includes the year 2099. After RESET of memory, this command must be executed - otherwise, the normal functioning of device cannot be resumed. The printer's real-time clock must always be set correctly.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command62Variant0Version0 ()

3Eh (62) READING CURRENT DATE AND HOUR

##### Returns

- FiscalResponse outputText DD-MM-YY HH:MM:SS

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command63Variant0Version0 ()

3Fh(63) ПОКАЗВАНЕ НА ДАТАТА И ЧАСА

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command64Variant0Version0 ()

40h(64) LAST FISCAL CLOSURE DETAILS

##### Returns

- FiscalResponse errorCode 'P' Successful command. Data present after ',' symbol. 'F' Can't read last record. No data present. receiptCount Receipt count totalSumInTaxGroupA VAT group total (12 bytes with sign). totalSumInTaxGroupB VAT group total (12 bytes with sign). totalSumInTaxGroupC VAT group total (12 bytes with sign). totalSumInTaxGroupD VAT group total (12 bytes with sign). totalSumInTaxGroupE VAT group total (12 bytes with sign). totalSumInTaxGroupF totalSumInTaxGroupG fiscalRecordDate Closure date in format DDMMYY.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command65Variant0Version0 ()

41h(65) DAILY TOTALS

##### Returns

- FiscalResponse totalSumInTaxGroupA VAT group total (12 bytes with sign). totalSumInTaxGroupB VAT group total (12 bytes with sign). totalSumInTaxGroupC VAT group total (12 bytes with sign). totalSumInTaxGroupD VAT group total (12 bytes with sign). totalSumInTaxGroupE VAT group total (12 bytes with sign). totalSumInTaxGroupF totalSumInTaxGroupG Note: specialTax totalSumInTaxGroupX VAT group total (12 bytes with sign). specialTax Special tax sum (12 bytes with sign).

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command68Variant0Version0 ()

44h (68) THE NUMBER OF FREE FIELDS IN THE FISCAL MEMORY

##### Returns

- FiscalResponse logicalFiscalRecordsCount The number of logical locations for fiscal entries (4 bytes) Note: The number of free fields in the fiscal memory, reserved for saving information from the daily report.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command69Variant0Version0 (String reportTypeOption)

45h(69) DAILY FINANCIAL REPORT

##### Parameters

reportTypeOption | Parameter controlling the type of generated report. '0' A Z-report is printed. The printout ends with inscriptions "NON-FISCAL RECEIPT" if the printer is not fiscalised. '2' A X-report is generated, i.e., no entry into the fiscal memory is made and no closures are performed. The printout ends with inscription "NON-FISCAL RECEIPT". The same actions may be generated directly from the printer if during switching on the "FEED" button is hold for 2 to 4 seconds. N The presence of this symbol at the end of the data cancels the option to clear the data accumulated on the operators during a Z-report. A The presence of this symbol at the end of the data cancels the option to clear the data about sold article quantities during a Z-report.

##### Returns

- FiscalResponse fiscalRecordNumber Fiscal closure (Daily report) number - 4 bytes. totalSumForTheDay The sum of all sales for the day - 12 bytes with a sign. totalSumInTaxGroupA The totals under all tax categories - A, B, C, D and E - 12 bytes with a sign. totalSumInTaxGroupB The totals under all tax categories - A, B, C, D and E - 12 bytes with a sign. totalSumInTaxGroupC The totals under all tax categories - A, B, C, D and E - 12 bytes with a sign. totalSumInTaxGroupD The totals under all tax categories - A, B, C, D and E - 12 bytes with a sign. totalSumInTaxGroupE The totals under all tax categories - A, B, C, D and E - 12 bytes with a sign. totalSumInTaxGroupF totalSumInTaxGroupG Note: totalSumInTaxGroupX The totals under all tax categories - A, B, C, D and E - 12 bytes with a sign. totalSumInSpecialTax Special tax sum (12 bytes with sign). The command with option '0' (Z-report) must be executed immediately after printing and deleting the electronic journal. If there is information in the journal, the command is not permitted.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command70Variant0Version0 (String amountInOut)

46h(70) INTERNAL DEBITING AND CREDITING (servICE In and Out)

##### Parameters

amountInOut | The sum, which will be registered (up to 9 bytes). Depending on the sign of the digit, this sum is interpreted either as credit or debit (serveIn or serveOut).

##### Returns

- FiscalResponse exitCode 'P' The order has been completed. If the ordered sum is not 0, the printer will print an interior receipt for registering the operation. 'F' The order has been canceled. This happens if: - the cash sum available is less than the ordered interior credit (serveIn), - there is an opened fiscal and non-fiscal receipt. sumInCashRegister Available cash. Apart from this command, the sum grows after each payment in cash. totalForAllInputs The sum from all commands "Interior credit" totalForOutputs The sum from all commands "Interior debit" Note: Changes the content of the cash availability register. Depending on the sign of the sum in question, it is accumulated in the register for interior debit-credit. The information is not saved in the fiscal memory of device and is accessible until the performance of the daily closure. It is printed out at the command 69 (45h) and at the generation of the daily report without closure from the printer itself. At successful completion of this command, the drawer "kick-out" function is automatically activated.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command70Variant0Version1 ()

46h(70) INTERNAL DEBITING AND CREDITING (read only)

##### Returns

- FiscalResponse exitCode 'P' The order has been completed. If the ordered sum is not 0, the printer will print an interior receipt for registering the operation. 'F' The order has been canceled. This happens if: - the cash sum available is less than the ordered interior credit (serveIn), - there is an opened fiscal and non-fiscal receipt. sumInCashRegister Available cash. Apart from this command, the sum grows after each payment in cash. totalForAllInputs The sum from all commands "Interior credit" totalForOutputs The sum from all commands "Interior debit" Note: Changes the content of the cash availability register. Depending on the sign of the sum in question, it is accumulated in the register for interior debit-credit. The information is not saved in the fiscal memory of device and is accessible until the performance of the daily closure. It is printed out at the command 69 (45h) and at the generation of the daily report without closure from the printer itself. At successful completion of this command, the drawer "kick-out" function is automatically activated.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command71Variant0Version0 ()

47h (71) PRINTING DIAGNOSTIC INFORMATION

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command73Variant0Version0 (String startRecordNumber, String endRecordNumber)

49H(73) DETAILED FISCAL MEMORY REPORT BY CLOSURE NUMBER

##### Parameters

startRecordNumber | The number of the starting fiscal entry - 4 bytes
endRecordNumber | The number of the ending fiscal entry - 4 bytes Note: The command leads to printing of a detailed report of the fiscal memory from one selected number to another.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command74Variant0Version0 ()

4Ah(74) READING THE STATUS BYTES

##### Returns

- FiscalResponse statusByte0 statusByte1 statusByte2 statusByte3 statusByte4 statusByte5 Note: All printer buffers must be printed out first.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command74Variant1Version0 ()

4Ah(74) READING THE STATUS BYTES

##### Returns

- FiscalResponse statusByte0 statusByte1 statusByte2 statusByte3 statusByte4 statusByte5 Note: The status is returned immediately (default).

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command76Variant0Version0 ()

4Ch(76) STATUS OF THE FISCAL TRANSACTION

##### Returns

- FiscalResponse receiptIsOpened One byte, which is '1' - if a fiscal or a non-fiscal receipt has been opened (which can be understood from the status bytes); '0' - if there is no opened receipt; countOfRegisteredSales The number of sales registered on the current or last fiscal receipt - 4 bytes. lastFiscalReceiptAmount The sum from the last fiscal receipt - 9 bytes with a sign. lastFiscalReceiptTender The sum tendered against the current or the last receipt - 9 bytes with a sign. Note: The command supports the PC application's ability to monitor the status and, if needed, to restore and complete an already started fiscal operation, which has been interrupted on emergency or out of time - for example, as a result of a power failure.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command79Variant0Version0 (String startDate, String endDate)

4Fh(79) SHORT FISCAL MEMORY REPORT BY CLOSURE DATE

##### Parameters

startDate | Starting date - 6 bytes (DDMMYY)
endDate | End date - 6 bytes (DDMMYY) Note: The command generates printing out of a short periodic financial report.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command80Variant0Version0 (String soundData)

50h(80) SOUND SIGNAL

##### Parameters

soundData | If the input data looks like: , where Hz and mSec are integer numbers, then a sound signal with frequency Hz (100-5000) and duration mSec milliseconds (50-2000) is generated. In all other cases data must be in format, similar to the one used for writing notes and can be of any length up to 218 bytes. The first invalid character cancels the command. SoundData format is a sequence of the following subcommands: Notes of the scale: One latine letter with value from 'A' to 'G'. 'C' - Do 'D' - Re 'E' - Mi 'F' - Fa 'G' - Sol 'A' - La 'B' - Si If immediately after the note comes character '#', then the note is higher in pitch by a semitone (sharp). If immediately after the note comes character '&', then the note is lower in pitch by a semitone (flat). Pause: Character space (ASCII 20h). After a note or pause there can be one or a few bytes, which specify the duration. Valid are characters from '0' to '5', they have the following meaning: '0' basic duration of a note/pause '1' basic duration * 2 '2' basic duration * 4 '3' basic duration * 8 '4' basic duration * 16 '5' basic duration * 32 If there are a few durations one after another they are summed up. Going to higher scale: character '+'. Going to lower scale: character '-'. Specifying tempo: character '^', followed by a number. The number specifies the percentage: duration of notes and intervals to basic duration. Values: '1' 200 % '2' 175 % '3' 140 % '4' 120 % '5' 100 % '6' 80 % '7' 60 % '8' 50 % '9' 40 % Return to scale 1 (it is default). Character '@'. Tone 'La' in it is 440 Hz. Note: 'C' - Do 'D' - Re 'E' - Mi 'F' - Fa 'G' - Sol 'A' - La 'B' - Si If immediately after the note comes character '#', then the note is higher in pitch by a semitone (sharp). If immediately after the note comes character '&', then the note is lower in pitch by a semitone (flat). Pause: Character space (ASCII 20h). After a note or pause there can be one or a few bytes, which specify the duration. Valid are characters from '0' to '5', they have the following meaning: '0' basic duration of a note/pause '1' basic duration * 2 '2' basic duration * 4 '3' basic duration * 8 '4' basic duration * 16 '5' basic duration * 32 If there are a few durations one after another they are summed up. Going to higher scale: character '+'. Going to lower scale: character '-'. Specifying tempo: character '^', followed by a number. The number specifies the percentage: duration of notes and intervals to basic duration. Values: '1' 200 % '2' 175 % '3' 140 % '4' 120 % '5' 100 % '6' 80 % '7' 60 % '8' 50 % '9' 40 % Return to scale 1 (it is default). Character '@'. Tone 'La' in it is 440 Hz.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command83Variant0Version0 (String inputMultiplier, String inputDecimals, String inputCurrency, String inputEnabledTaxesArray, String inputTaxGroupA, String inputTaxGroupB, String inputTaxGroupC, String inputTaxGroupD, String inputTaxGroupE, String inputTaxGroupF, String inputTaxGroupG)

53h(83) SETTING THE MULTIPLIER, DECIMALS, CURRENCY NAME AND DISABLED TAXES

##### Parameters

inputMultiplier | A multiplier between 0 and 3 which shows the degree of 10 before multiplying it times the input or output value (at present deactivated and out of use).
inputDecimals | One byte with a value 0 or 2 and shows the exact place of the decimal point.
inputCurrency | The currency name. Up to 6 bytes.
inputEnabledTaxesArray | 4 bytes with value '0' or '1', corresponding to VAT groups 'A', 'B', 'C', 'D'. '0' means disabled VAT group, '1' - enabled VAT group.
inputTaxGroupA | The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inputTaxGroupB | The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inputTaxGroupC | The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inputTaxGroupD | The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inputTaxGroupE |
inputTaxGroupF |
inputTaxGroupG |

##### Returns

- FiscalResponse outputMultiplier A multiplier between 0 and 3 which shows the degree of 10 before multiplying it times the input or output value (at present deactivated and out of use). outputDecimals One byte with a value 0 or 2 and shows the exact place of the decimal point. outputCurrency The currency name. Up to 6 bytes. outputEnabledTaxesArray 4 bytes with value '0' or '1', corresponding to VAT groups 'A', 'B', 'C', 'D'. '0' means disabled VAT group, '1' - enabled VAT group. outputTaxA The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). outputTaxB The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). outputTaxC The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). outputTaxD The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). outputTaxGroupE outputTaxGroupF outputTaxGroupG Note: outputTaxGroupA outputTaxGroupB outputTaxGroupC outputTaxGroupD (input/output)Multiplier A multiplier between 0 and 3 which shows the degree of 10 before multiplying it times the input or output value (at present deactivated and out of use). (input/output)Decimals One byte with a value 0 or 2 and shows the exact place of the decimal point. (input/output)Currency The currency name. Up to 6 bytes. (input/output)EnabledTaxesArray 4 bytes with value '0' or '1', corresponding to VAT groups 'A', 'B', 'C', 'D'. '0' means disabled VAT group, '1' - enabled VAT group. (input/output)TaxGroupX The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). If nothing is entered in the data field, the FP returns the currently valid values. Even when only one of the parameters must be changed, the rest must be entered too. The fiscal memory has a fixed capacity for a set number of entries, and for that reason the command can be performed not more than 20 times after the fiscalisation. Before the fiscalisation the data are hold in RAM only and may be changed without limitations. The command may be executed only before the first fiscal receipt for the day.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command83Variant1Version0 ()

53h(83) SETTING THE MULTIPLIER, DECIMALS, CURRENCY NAME AND DISABLED TAXES

##### Returns

- FiscalResponse outputMultiplier A multiplier between 0 and 3 which shows the degree of 10 before multiplying it times the input or output value (at present deactivated and out of use). outputDecimals One byte with a value 0 or 2 and shows the exact place of the decimal point. outputCurrency The currency name. Up to 6 bytes. outputEnabledTaxesArray 4 bytes with value '0' or '1', corresponding to VAT groups 'A', 'B', 'C', 'D'. '0' means disabled VAT group, '1' - enabled VAT group. outputTaxA The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). outputTaxB The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). outputTaxC The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). outputTaxD The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). outputTaxGroupE outputTaxGroupF outputTaxGroupG Note: outputTaxGroupA outputTaxGroupB outputTaxGroupC outputTaxGroupD (input/output)Multiplier A multiplier between 0 and 3 which shows the degree of 10 before multiplying it times the input or output value (at present deactivated and out of use). (input/output)Decimals One byte with a value 0 or 2 and shows the exact place of the decimal point. (input/output)Currency The currency name. Up to 6 bytes. (input/output)EnabledTaxesArray 4 bytes with value '0' or '1', corresponding to VAT groups 'A', 'B', 'C', 'D'. '0' means disabled VAT group, '1' - enabled VAT group. (input/output)TaxGroupX The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00). If nothing is entered in the data field, the FP returns the currently valid values. Even when only one of the parameters must be changed, the rest must be entered too. The fiscal memory has a fixed capacity for a set number of entries, and for that reason the command can be performed not more than 20 times after the fiscalisation. Before the fiscalisation the data are hold in RAM only and may be changed without limitations. The command may be executed only before the first fiscal receipt for the day.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command85Variant0Version0 (String additionalPaymentTypeOption, String inputAdditionalPaymentName)

55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME

##### Parameters

additionalPaymentTypeOption | 'I' Additional payment 1 'J' Additional payment 2 'K' Additional payment 3 'L' Additional payment 4
inputAdditionalPaymentName | Comment text of the payment. Up to 31 bytes. If not present, the current name is returned.

##### Returns

- FiscalResponse outputText 'P' No error. 'F' Name longer than 31 bytes. Note: 'P' No error. 'F' Name longer than 31 bytes. The command defines the comment text, printed before the additional (programmable) payments. The command is not permitted after the first fiscal receipt for the day.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command85Variant0Version1 (String additionalPaymentTypeOption)

55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME

##### Parameters

additionalPaymentTypeOption | 'I' Additional payment 1 'J' Additional payment 2 'K' Additional payment 3 'L' Additional payment 4

##### Returns

- FiscalResponse outputAdditionalPaymentName Comment text of the payment. Up to 31 bytes. If not present, the current name is returned.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command86Variant0Version0 ()

56H(86) GET LATEST FISCAL MEMORY RECORD DATE

##### Returns

- FiscalResponse lastFiscalMemoryDate Date of last (latest) record in the fiscal memory in format:DD-MM-YYYY

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command90Variant0Version0 ()

5Ah(90) RETURNS DIAGONSTIC INFORMATION

##### Returns

- FiscalResponse printerName Fiscal device name. firmwareRevision The version of the software program - 4 bytes. firmwareDate The date of the software program DDMmmYY - 7 bytes. firmwareTime Hour of the software program HHMM - 4 bytes. checkSum The EPROM control sum - a 4 bytes string in the hexadecimal code. softwareSwitches The configuration switches from Sw1 to Sw8 - an 8 bytes string with '0' or '1'. serialNumber The serial number - 8 bytes.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command92Variant0Version0 (String lineType)

5Ch(92) ПЕЧАТ НА РАЗДЕЛИТЕЛНА ЛИНИЯ

##### Parameters

lineType |

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command94Variant0Version0 (String startDate, String endDate)

5Eh(94) DETAILED FISCAL MEMORY REPORT BY CLOSURE DATE

##### Parameters

startDate | Starting date of selected fiscal entry - 6 bytes (DDMMYY)
endDate | End date of the fiscal entry - 6 bytes (DDMMYY) Note: This command prints out a detailed financial report of the period between two selected dates.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command95Variant0Version0 (String startFiscalRecordNumber, String endFiscalRecordNumber)

5Fh(95) SHORT FISCAL MEMORY REPORT BY CLOSURE NUMBER

##### Parameters

startFiscalRecordNumber | Starting number of fiscal entry
endFiscalRecordNumber | End number of fiscal entry Note: The command starts the calculation and the printing of a short periodic financial report.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command97Variant0Version0 ()

61h(97) READING THE SET TAX RATES

##### Returns

- FiscalResponse taxGroupA Current tax rate A taxGroupB Current tax rate B taxGroupC Current tax rate C taxGroupD Current tax rate D taxGroupE taxGroupF taxGroupG

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse command99Variant0Version0 ()

63h(99) Reading the TAX REGISTRATION NUMBER

##### Returns

- FiscalResponse vatNumber The VAT number as a text (up to 14 bytes).

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public int getBuildNumber ()

#### public int getCountryCode ()

#### public int getDealerCode ()

#### public String getDeviceName ()

#### public int getDeviceType ()

#### public int getMajorVersion ()

#### public int getModelType ()

#### public String getSerialNumber ()

#### public String getStatusBitEnStr (int byteIndex, int bitIndex)

#### public FiscalResponse openFiscalCheck (String operatorCode, String operatorPassword, String tillNumber)

30h(48) OPENING A FISCAL CLIENT'S RECEIPT

##### Parameters

operatorCode | Operator's number (1 to 16)
operatorPassword | Operator's password (4 to 8 digits)
tillNumber | Number of point of sale (a whole number of maximum 5 digits)

##### Returns

- FiscalResponse allReceiptNumber The number of all issued receipts (fiscal or non-) from the last daily closure up to the moment (4 bytes). fiscalReceiptNumber The number of all fiscal receipts from the last daily closure up to the moment (4 bytes). Note: The FP performs the following actions: Prints the HEADER Prints the tax registration number Prints the number and name of operator as well as the cashier desk number Allreceipt and FiscReceipt are returned The command will not be successful if: There is an opened fiscal or non-fiscal receipt The maximum number of receipts, as fixed for the day, has already been issued The fiscal memory is full The fiscal memory is damaged No code or operator password, or cashier desk number available Less than 2 HEADER lines are programmed No VAT registration number available Wrong operator password The clock needs setting Journal is full After entering three wrong operator's passwords, the printer blocks and must be switched off and on again to restart operation.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |

#### public FiscalResponse openFiscalCheckWithDefaultValues ()

##### Throws

FiscalPrinterException |
IOException |
IllegalArgumentException |

#### public FiscalResponse totalInCash ()

35h(53) CALCULATION OF A TOTAL

##### Returns

- FiscalResponse paidCode One byte - resulting from the execution of the command 'F' Error 'E' The calculated sub-total sum is negative. Payment is withheld and Amount will contain a negative sub-total. 'D' If the paid sum is less than the sum on the receipt. The residual sum due for payment is returned to Amount 'R' When the paid sum is greater than the sum on the receipt. A message "CHANGE" will be printed out and the change will be returned to Amount. 'I' An error has occurred because the sum under one of the tax groups is negative. The current subtotal is returned to Amount. Notes: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums. amountOut Up to 9 digits with a sign. Depends on PaidCode. Note: 1. After the successful completion of the command, fiscal printer will not perform the commands 49 and 51 within the opened receipt, although it can still perform command 53. 2. The codes of error 'E' and 'I' will never appear in this version of the printer because commands 49 and 52 (registering a sale) do not accept negative sums.

##### Throws

| IOException
| FiscalPrinterException
IllegalArgumentException |
FiscalPrinterException |
IOException |