public class

FMP10KOS

extends FPBase
java.lang.Object
   ↳ com.datecs.fiscalprinter.FPBase
     ↳ com.datecs.fiscalprinter.kos.FMP10KOS

Summary

[Expand]
Inherited Constants
From class com.datecs.fiscalprinter.FPBase
Public Constructors
FMP10KOS(InputStream in, OutputStream out)
Public Methods
boolean checkAndResolve()
FiscalResponse closeFiscalCheck()
38H(56) CLOSING A FISCAL RECEIPT
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 command107Variant0Version0()
6BH (107) DEFINING AND READING ITEMS - Article information
FiscalResponse command107Variant10Version0(String inputPLUCode, String itemName)
6BH (107) DEFINING AND READING ITEMS - Fills the name in additional language for an already programmed PLU
FiscalResponse command107Variant1Version0(String taxGroup, String pluCode, String groupNumber, String singularPrice, String replaceOption, String availableQuantity, String itemName)
6BH (107) DEFINING AND READING ITEMS - Programming an item
FiscalResponse command107Variant1Version1(String taxGroup, String pluCode, String groupNumber, String singularPrice, String replaceOption, String availableQuantity, String englishItemName, String albanianItemName, String serbianItemName)
6BH (107) DEFINING AND READING ITEMS - Programming an item with 3 languages
FiscalResponse command107Variant2Version0(String pluCode, String quantityCorrection)
6BH (107) DEFINING AND READING ITEMS - Change the quantity of an item
FiscalResponse command107Variant3Version0(String pluCode, String singularPrice)
6BH (107) DEFINING AND READING ITEMS - Change the price of an item
FiscalResponse command107Variant4Version0()
6BH (107) DEFINING AND READING ITEMS - Delete all items with non-zero accumulated sums
FiscalResponse command107Variant4Version1(String pluCode)
6BH (107) DEFINING AND READING ITEMS - Delete item by PLU
FiscalResponse command107Variant4Version2(String startPLUCode, String endPLUCode)
6BH (107) DEFINING AND READING ITEMS - Delete item in the PLU interval
FiscalResponse command107Variant5Version0(String inputPLUCode)
6BH (107) DEFINING AND READING ITEMS - Reading Item data
FiscalResponse command107Variant6Version0(String inputPLUCode)
6BH (107) DEFINING AND READING ITEMS - Returning the data on the first found programmed item
FiscalResponse command107Variant6Version1(String inputPLUCode)
6BH (107) DEFINING AND READING ITEMS - Returning the data on the first sold item
FiscalResponse command107Variant7Version0(String inputPLUCode)
6BH (107) DEFINING AND READING ITEMS - Returning the data on the programmed item with the greatest number
FiscalResponse command107Variant7Version1(String inputPLUCode)
6BH (107) DEFINING AND READING ITEMS - Returning the data on the sold item with the greatest number
FiscalResponse command107Variant8Version0()
6BH (107) DEFINING AND READING ITEMS - Returning the data on the next found programmed item
FiscalResponse command107Variant8Version1()
6BH (107) DEFINING AND READING ITEMS - Returning the data on the next found sold item
FiscalResponse command107Variant9Version0(String inputPLUCode)
6BH (107) DEFINING AND READING ITEMS - Returning the data on the first free item
FiscalResponse command107Variant9Version1(String inputPLUCode)
6BH (107) DEFINING AND READING ITEMS - Returning the data on the last free item
FiscalResponse command109Variant0Version0()
6DH (109) PRINTING A DUPLICATE RECEIPT
FiscalResponse command110Variant0Version0()
6EH (110) ADDITIONAL DAILY INFORMATION (PAYMENT INFO)
FiscalResponse command111Variant0Version0(String reportTypeOption, String startPLU, String endPLU, String groupNumber)
6FH (111) ITEMS REPORT
FiscalResponse command111Variant1Version0(String reportTypeOption, String startPLU, String endPLU)
6FH (111) ITEMS REPORT
FiscalResponse command111Variant2Version0(String reportTypeOption)
6FH (111) ITEMS REPORT
FiscalResponse command112Variant0Version0(String operatorNumber)
70H (112) READING INFORMATION ON THE OPERATOR
FiscalResponse command113Variant0Version0()
71H (113) READING THE NUMBER OF THE LAST PRINTED DOCUMENT
FiscalResponse command114Variant0Version0(String fmRecordNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant1Version0(String fmRecordNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant1Version1(String fmRecordStartNumber, String fmRecordEndNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant2Version0(String fmRecordNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant2Version1(String fmRecordStartNumber, String fmRecordEndNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant3Version0(String fmRecordNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant3Version1(String fmRecordStartNumber, String fmRecordEndNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant4Version0(String fmRecordNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant5Version0(String fmRecordNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command114Variant6Version0(String fmRecordNumber)
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
FiscalResponse command115Variant0Version0(String RowNum, String RowData)
73H (115) PROGRAMMING A GRAPHIC LOGO
FiscalResponse command115Variant1Version0(String rowNumber)
73H (115) PROGRAMMING A GRAPHIC LOGO
FiscalResponse command116Variant0Version0(String startingAddress, String blockLength)
74H (116) READ FISCAL MEMORY BLOCK
FiscalResponse command119Variant0Version0(String startDate, String endDate)
77H (119) READ AND PRINT MONTHLY REPORT - Get the first monthly report line (the header)
FiscalResponse command119Variant1Version0()
77H (119) READ AND PRINT MONTHLY REPORT - Get the next monthly report line (Z-report data or control sum)
FiscalResponse command119Variant2Version0(String checkSum)
77H (119) READ AND PRINT MONTHLY REPORT - Prints the monthly report
FiscalResponse command120Variant0Version0()
78H (120) JOURNAL SUPPORT - Electronic journal information
FiscalResponse command120Variant1Version0()
78H (120) JOURNAL SUPPORT - Get first journal line
FiscalResponse command120Variant1Version1(String rowNumber)
78H (120) JOURNAL SUPPORT - Get journal line
FiscalResponse command120Variant2Version0()
78H (120) JOURNAL SUPPORT - Get next journal line
FiscalResponse command120Variant3Version0()
78H (120) JOURNAL SUPPORT - Erase electronic journal
FiscalResponse command120Variant4Version0()
78H (120) JOURNAL SUPPORT - Print electronic journal using half-height font starting from the first journal line
FiscalResponse command120Variant5Version0()
78H (120) JOURNAL SUPPORT - Print electronic journal using normal font starting from the first journal line
FiscalResponse command120Variant6Version0()
78H (120) JOURNAL SUPPORT - Continue (start with the first non-printed line) electronic journal using half-height font
FiscalResponse command120Variant7Version0()
78H (120) JOURNAL SUPPORT - Continue (start with the first non-printed line) electronic journal using normal font
FiscalResponse command121Variant0Version0()
79h (121) SWITCHING THE PRINTER OFF
FiscalResponse command34Variant0Version0(String inputTrack1, String inputTrack2, String inputTrack3, String readingTimeout)
22h(34) READING MAGNETIC CARD
FiscalResponse command35Variant0Version0(String trackNumber)
23h(35) GET THE MAGNETIC CARD DATA
FiscalResponse command41Variant0Version0(String switches)
29H(41) WRITE CURRENT SETTINGS AND SWITCHES TO FLASH
FiscalResponse command41Variant0Version1()
29H(41) WRITE CURRENT SETTINGS AND SWITCHES TO FLASH
FiscalResponse command43Variant0Version0(String itemIndex, String dataValue)
2BH(43) SETTING HEADER, FOOTERS AND PRINTING OPTIONS
FiscalResponse command43Variant0Version1(String itemIndex)
2BH(43) SETTING HEADER, FOOTERS AND PRINTING OPTIONS
FiscalResponse command44Variant0Version0(String targetLines)
2CH(44) ADVANCING PAPER
FiscalResponse command48Variant0Version0(String operatorCode, String operatorPassword, String TillNmb)
30H(48) OPENING A FISCAL CLIENT'S RECEIPT
FiscalResponse command50Variant0Version0(String startDate, String endDate)
32H(50) TAX RATES ENTERED DURING THE ACCOUNTED PERIOD
FiscalResponse command51Variant0Version0()
33H(51) SUBTOTAL
FiscalResponse command51Variant1Version0(String adjustmentPercent)
33H(51) SUBTOTAL
FiscalResponse command51Variant2Version0(String adjustmentSum)
33H(51) SUBTOTAL
FiscalResponse command53Variant0Version0(String paidMode, String inputAmount)
35H(53) CALCULATION OF A TOTAL
FiscalResponse command56Variant0Version0()
38H(56) CLOSING A FISCAL RECEIPT
FiscalResponse command58Variant0Version0(String toExchange, String pluCode, String quantity)
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
FiscalResponse command58Variant0Version1(String toExchange, String pluCode, String quantity, String customPrice)
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
FiscalResponse command58Variant1Version0(String toExchange, String pluCode, String quantity, String adjustmentPercent)
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
FiscalResponse command58Variant1Version1(String toExchange, String pluCode, String quantity, String adjustmentPercent, String customPrice)
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
FiscalResponse command58Variant2Version0(String toExchange, String pluCode, String quantity, String adjustmentSum)
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
FiscalResponse command58Variant2Version1(String toExchange, String pluCode, String quantity, String adjustmentSum, String customPrice)
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
FiscalResponse command60Variant0Version0()
3CH(60) CANCEL FISCAL RECEIPT
FiscalResponse command61Variant0Version0(String targetDateTime)
3DH (61) SETTING THE CLOCK - DATE AND TIME
FiscalResponse command62Variant0Version0()
3EH (62) READING CURRENT DATE AND TIME
FiscalResponse command64Variant0Version0()
40H(64) LAST FISCAL CLOSURE DETAILS
FiscalResponse command65Variant0Version0()
41H(65) DAILY TOTALS
FiscalResponse command66Variant0Version0(String baseLanguage, String languageIndex)
42H(66) SELECT PRINTER LANGUAGE
FiscalResponse command67Variant0Version0(String startDate, String endDate)
43H(67) PRINT HEADER CHANGES REPORT
FiscalResponse command68Variant0Version0()
44H(68) THE NUMBER OF FREE FIELDS IN THE FISCAL MEMORY
FiscalResponse command69Variant0Version0(String reportType, String nOption, String aOption)
45H(69) DAILY FINANCIAL REPORT
FiscalResponse command70Variant0Version0(String registeredSum)
46H(70) INTERNAL DEBITING AND CREDITING (SERVICE IN AND OUT)
FiscalResponse command71Variant0Version0()
47H(71) PRINTING DIAGNOSTIC INFORMATION
FiscalResponse command72Variant0Version0(String oldPassword, String newPassword, String stNumber)
48H(72) FISCALIZATION OR REFISCALIZATION
FiscalResponse command73Variant0Version0(String reportTypeOption, String startRecordNumber, String endRecordNumber)
49H(73) DETAILED FISC.
FiscalResponse command76Variant0Version0(String tenderOption)
4CH(76) STATUS OF THE FISCAL TRANSACTION
FiscalResponse command79Variant0Version0(String startDate, String endDate)
4FH(79) SHORT PERIODICAL FISCAL REPORT
FiscalResponse command80Variant0Version0(String soundData)
50H(80) SOUND SIGNAL
FiscalResponse command82Variant0Version0(String oldPassword, String newPassword, String nextServiceDate, String infoMessage)
52H(82) SETTING NEXT SERVICE DATE
FiscalResponse command83Variant0Version0(String inMultiplier, String inDecimals, String inEnabledTaxesArray, String inTaxGroupB, String inTaxGroupC, String inTaxGroupD, String inTaxGroupE, String inTaxGroupF, String inTaxGroupG, String inTaxGroupH)
53H(83) SETTING THE MULTIPLIER, DECIMALS AND ENABLED TAXES
FiscalResponse command83Variant1Version0()
53H(83) SETTING THE MULTIPLIER, DECIMALS AND ENABLED TAXES
FiscalResponse command85Variant0Version0(String paymentIndex, String paymentName)
55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME
FiscalResponse command85Variant1Version0(String paymentIndex)
55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME
FiscalResponse command86Variant0Version0()
56H(86) GET LATEST FISCAL MEMORY RECORD DATE AND TIME
FiscalResponse command89Variant0Version0()
57H(87) GET PRINT HEAD TEMPERATURE ANND BATTERY
FiscalResponse command90Variant0Version0()
5AH(90) RETURNS DIAGONSTIC INFORMATION
FiscalResponse command91Variant0Version0(String serialNumber, String fiscalNumber)
5BH(91) PROGRAMMING THE SERIAL NUMBER AND FISCAL MEMORY NUMBER
FiscalResponse command92Variant0Version0(String separatorLineType)
5CH(92) PRINT SEPARATOR LINE
FiscalResponse command94Variant0Version0(String reportTypeOption, 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 command98Variant0Version0(String taxRegistrationNumber)
62H(98) SETTING THE TAX REGISTRATION NUMBER
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 openFiscalCheckWithDefaultValues()
30H(48) OPENING A FISCAL CLIENT'S RECEIPT
FiscalResponse totalInCash()
35H(53) CALCULATION OF A TOTAL
[Expand]
Inherited Methods
From class com.datecs.fiscalprinter.FPBase
From class java.lang.Object

Public Constructors

Public Methods

public boolean checkAndResolve ()

public FiscalResponse closeFiscalCheck ()

38H(56) CLOSING A FISCAL RECEIPT

Returns
  • FiscalResponse
    fiscalReceipt The number of all fiscal receipts since last fiscal closure (4 bytes).


    Note:

    The accumulated sums from the fiscal receipt are added to the daily sums in the registries of the operational memory.
    The command will not be successful if:
    No fiscal receipt has been opened,
    Command 53 (35h) has failed,
    The sum paid in command 53 is less than the total sum of the fiscal receipt.

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

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 24 symbols)


Note:

Enters one of the 16 operator names.
The number and the name of the operator are printed at the beginning of each fiscal (clients) 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 locations are empty.

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 for each VAT group (9 digits with sign each field)
    taxGroupB The sum accumulated for each VAT group (9 digits with sign each field)
    taxGroupC The sum accumulated for each VAT group (9 digits with sign each field)
    taxGroupD The sum accumulated for each VAT group (9 digits with sign each field)
    taxGroupE The sum accumulated for each VAT group (9 digits with sign each field)
    taxGroupF The sum accumulated for each VAT group (9 digits with sign each field)
    taxGroupG The sum accumulated for each VAT group (9 digits with sign each field)
    taxGroupH The sum accumulated for each VAT group (9 digits with sign each field)


    Note:
    taxGroup..x The sum accumulated for each VAT group (9 digits with sign each field)

    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.

public FiscalResponse command105Variant0Version0 ()

68H (105) OPERATOR'S REPORT

public FiscalResponse command107Variant0Version0 ()

6BH (107) DEFINING AND READING ITEMS - Article information

Returns
  • FiscalResponse
    totalArticleCount Total programmable article count (6800 for this printer).
    programmedArticleCount Programmed article count.
    maximumNameLength Maximum length of the "Article name" - 32 symbols for this printer.

public FiscalResponse command107Variant10Version0 (String inputPLUCode, String itemName)

6BH (107) DEFINING AND READING ITEMS - Fills the name in additional language for an already programmed PLU

Parameters
inputPLUCode Number of the item (1 to 999999999)
itemName English name of the item - up to 32 bytes.


Note:

errorCode One byte, showing the result from the operation and having the following meaning:
- 'P' Successful command
- 'F' Unsuccessful command (If the item cannot be found)

public FiscalResponse command107Variant1Version0 (String taxGroup, String pluCode, String groupNumber, String singularPrice, String replaceOption, String availableQuantity, String itemName)

6BH (107) DEFINING AND READING ITEMS - Programming an item

Parameters
taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H')
pluCode Number of the item (1 to 999999999)
groupNumber Article group (1 - 99).
singularPrice Singular price - up to 8 meaningful digits.
replaceOption A non-mandatory parameter - one byte with value 'A'. Changes the meaning of the next parameter (Quantity).
availableQuantity A number with up to 3 decimals - the available quantity of the article.
If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
Every sale command of this article will decrease this value.
itemName Name of the item - up to 32 bytes. It is possible to program the name in two lines - the separator is line feed (ASCII code 0Ah).
The name is written for the currently selected language.
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
    freeItemsNumber The number of the free items is returned after an ErrorCode parameter.


    Up to 6800 different items may be programmed and the command will be rejected if a similar item has already been programmed in the memory of printer and sales of this item have been registered.
    An item with zero accumulated sums is subject to change.

public FiscalResponse command107Variant1Version1 (String taxGroup, String pluCode, String groupNumber, String singularPrice, String replaceOption, String availableQuantity, String englishItemName, String albanianItemName, String serbianItemName)

6BH (107) DEFINING AND READING ITEMS - Programming an item with 3 languages

Parameters
taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H')
pluCode Number of the item (1 to 999999999)
groupNumber Article group (1 - 99).
singularPrice Singular price - up to 8 meaningful digits.
replaceOption A non-mandatory parameter - one byte with value 'A'. Changes the meaning of the next parameter (Quantity).
availableQuantity A number with up to 3 decimals - the available quantity of the article.
If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
Every sale command of this article will decrease this value.
englishItemName English name of the item - up to 32 bytes.
albanianItemName Albanian name of the item - up to 32 bytes
serbianItemName Serbian name of the item - up to 32 bytes.
Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command
    freeItemsNumber The number of the free items is returned after an ErrorCode parameter.


    Note:


    Up to 6800 different items may be programmed and the command will be rejected if a similar item has already been programmed in the memory of printer and sales of this item have been registered.
    An item with zero accumulated sums is subject to change.

public FiscalResponse command107Variant2Version0 (String pluCode, String quantityCorrection)

6BH (107) DEFINING AND READING ITEMS - Change the quantity of an item

Parameters
pluCode Article number (1 to 999999999).
quantityCorrection Quantity correction - a floating-point number with 3 decimal places. Positive number increases the available quantity, negative decreases it.
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

    Changing the quantity is possible, if the article is programmed.

public FiscalResponse command107Variant3Version0 (String pluCode, String singularPrice)

6BH (107) DEFINING AND READING ITEMS - Change the price of an item

Parameters
pluCode Article number (1 to 999999999).
singularPrice Singular price - up to 8 meaningful digits.
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

    Changing the price is possible, if the article is programmed and no sales of this article are made in the fiscal receipt (if a fiscal receipt is open).

public FiscalResponse command107Variant4Version0 ()

6BH (107) DEFINING AND READING ITEMS - Delete all items with non-zero accumulated sums

public FiscalResponse command107Variant4Version1 (String pluCode)

6BH (107) DEFINING AND READING ITEMS - Delete item by PLU

Parameters
pluCode Article number (1 to 999999999)


Note:
errorCode One byte, showing the result from the operation and having the following meaning:
- 'P' Successful command
- 'F' Unsuccessful command


Deletes article with selected number if there are no accumulated sums.

public FiscalResponse command107Variant4Version2 (String startPLUCode, String endPLUCode)

6BH (107) DEFINING AND READING ITEMS - Delete item in the PLU interval

Parameters
startPLUCode Article number (1 to 999999999) - start PLU code
endPLUCode Article number (1 to 999999999) - end PLU code


Note:



errorCode One byte, showing the result from the operation and having the following meaning:
- 'P' Successful command
- 'F' Unsuccessful command


Deletes the articles within a set interval which do not have accumulated sums.

public FiscalResponse command107Variant5Version0 (String inputPLUCode)

6BH (107) DEFINING AND READING ITEMS - Reading Item data

Parameters
inputPLUCode Number of the item (1 to 999999999)
Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command107Variant6Version0 (String inputPLUCode)

6BH (107) DEFINING AND READING ITEMS - Returning the data on the first found programmed item

Parameters
inputPLUCode Number of the item (1 to 999999999)
Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command107Variant6Version1 (String inputPLUCode)

6BH (107) DEFINING AND READING ITEMS - Returning the data on the first sold item

Parameters
inputPLUCode Number of the item (1 to 999999999)
Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command107Variant7Version0 (String inputPLUCode)

6BH (107) DEFINING AND READING ITEMS - Returning the data on the programmed item with the greatest number

Parameters
inputPLUCode Number of the item (1 to 999999999)
Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command107Variant7Version1 (String inputPLUCode)

6BH (107) DEFINING AND READING ITEMS - Returning the data on the sold item with the greatest number

Parameters
inputPLUCode Number of the item (1 to 999999999)
Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command107Variant8Version0 ()

6BH (107) DEFINING AND READING ITEMS - Returning the data on the next found programmed item

Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command107Variant8Version1 ()

6BH (107) DEFINING AND READING ITEMS - Returning the data on the next found sold item

Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command107Variant9Version0 (String inputPLUCode)

6BH (107) DEFINING AND READING ITEMS - Returning the data on the first free item

Parameters
inputPLUCode Number of the item (1 to 999999999)
Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command107Variant9Version1 (String inputPLUCode)

6BH (107) DEFINING AND READING ITEMS - Returning the data on the last free item

Parameters
inputPLUCode Number of the item (1 to 999999999)
Returns
  • FiscalResponse
    errorCode One byte, showing the result from the operation and having the following meaning:
    - 'P' Successful command
    - 'F' Unsuccessful command (If the item cannot be found)
    pluCode Number of the item (1 to 999999999)
    taxGroup Tax group. One byte ('A', 'B', 'C', 'D', 'E, 'F', 'G' or 'H').
    groupNumber Article group (1 - 99).
    singularPrice Singular price - up to 8 meaningful digits.
    accumulatedSum Accumulated sum for this article.
    soldQuantity Accumulated quantity - a floating-point number with 3 decimal places.
    availableQuantity A number with up to 3 decimals - the available quantity of the article.
    If "replaceOption" is present, then the available quantity is replaced with this parameter, otherwise it is added to the old value (if the article is already programmed, of course).
    Every sale command of this article will decrease this value.
    englishItemName English name of the item - up to 32 bytes.
    albanianItemName Albanian name of the item - up to 32 bytes.
    serbianItemName Serbian name of the item - up to 32 bytes.

public FiscalResponse command109Variant0Version0 ()

6DH (109) PRINTING A DUPLICATE RECEIPT

public FiscalResponse command110Variant0Version0 ()

6EH (110) ADDITIONAL DAILY INFORMATION (PAYMENT INFO)

Returns
  • FiscalResponse
    paidInCash Paid in cash
    paidWithCoupon Payment credited
    paidWithDebitCard Paid with a debit card
    paidWithCheque Paid with a cheque
    paidInAdditionalPaymentType1 Paid with one of the additional payment types ('I').
    paidInAdditionalPaymentType2 Paid with one of the additional payment types ('J').
    paidInAdditionalPaymentType3 Paid with one of the additional payment types ('K').
    paidInAdditionalPaymentType4 Paid with one of the additional payment types ( 'L').
    currentFiscalRecordNumber Current (last) fiscal entry
    nextFiscalReceiptNumber Number of the next fiscal receipt
    nextExchangeReceiptNumber Number of the next exchange receipt


    Note:

    Returns information on the distribution of the daily sum according to the terms of payment used.

public FiscalResponse command111Variant0Version0 (String reportTypeOption, String startPLU, String endPLU, String groupNumber)

6FH (111) ITEMS REPORT

Parameters
reportTypeOption 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, available quantity, single price and name in currently selected base language. The items with empty names in current language are not printed.
- 'p' All programmed items are printed out, containing their number, VAT group, group, available quantity, single price and the names in all 3 languages, which are not empty. Before the name is printed one-letter prefix:
'A' - Albanian name,
'E' - English name,
'S' - Serbian name.
startPLU First article number (PLU) printed. PLUs less than this are not included in the report. Default: 1.
endPLU Last article number (PLU) printed. PLUs greater than this are not included in the report. Default: 999999999.
groupNumber A number from 1 to 99. If present, only articles from this group are printed, otherwise all articles are printed.


Note:

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.

public FiscalResponse command111Variant1Version0 (String reportTypeOption, String startPLU, String endPLU)

6FH (111) ITEMS REPORT

Parameters
reportTypeOption 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, available quantity, single price and name in currently selected base language. The items with empty names in current language are not printed.
- 'p' All programmed items are printed out, containing their number, VAT group, group, available quantity, single price and the names in all 3 languages, which are not empty. Before the name is printed one-letter prefix:
'A' - Albanian name,
'E' - English name,
'S' - Serbian name.
startPLU First article number (PLU) printed. PLUs less than this are not included in the report. Default: 1.
endPLU Last article number (PLU) printed. PLUs greater than this are not included in the report. Default: 999999999.


Note:

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.

public FiscalResponse command111Variant2Version0 (String reportTypeOption)

6FH (111) ITEMS REPORT

Parameters
reportTypeOption 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, available quantity, single price and name in currently selected base language. The items with empty names in current language are not printed.
- 'p' All programmed items are printed out, containing their number, VAT group, group, available quantity, single price and the names in all 3 languages, which are not empty. Before the name is printed one-letter prefix:
'A' - Albanian name,
'E' - English name,
'S' - Serbian name.


Note:
- '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, available quantity, single price and name in currently selected base language. The items with empty names in current language are not printed.
- 'p' All programmed items are printed out, containing their number, VAT group, group, available quantity, single price and the names in all 3 languages, which are not empty. Before the name is printed one-letter prefix: 'A' - Albanian name, 'E' - English name, 'S' - Serbian name.


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.

public FiscalResponse command112Variant0Version0 (String operatorNumber)

70H (112) READING INFORMATION ON THE OPERATOR

Parameters
operatorNumber Number of the operator (1 to 16)
Returns
  • FiscalResponse
    registeredSalesNumber Number of registered sales
    totalAcumulatedSum Total accumulated sum (sales)
    discountsNumber Number of discounts
    totalDiscountsSum Total accumulated sum (discounts)
    surchargesNumber Number of surcharges
    totalSurchargesSum Total accumulated sum (surcharges)
    adjustmentsNumber Number of voids (and corrections of sums)
    totalAdjustmentsSum Total accumulated sum (voids and corrections)
    operatorName Name of the operator


    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.

public FiscalResponse command113Variant0Version0 ()

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

Returns
  • FiscalResponse
    lastDocumentNumber The number of the last issued document (8 digits)

public FiscalResponse command114Variant0Version0 (String fmRecordNumber)

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

Parameters
fmRecordNumber Start number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    fmDecimalsNumber Fiscal memory decimals record number.
    decimals Decimals
    enabledTaxArray Enabled taxes mask
    vatRateA VAT rate (in %)
    vatRateB VAT rate (in %)
    vatRateC VAT rate (in %)
    vatRateD VAT rate (in %)
    dateTime Date and time in format DD-MM-YY hh:mm:ss

public FiscalResponse command114Variant1Version0 (String fmRecordNumber)

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

Parameters
fmRecordNumber Start number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    closureCount Closure count for the period
    fiscalReceiptCount Fiscal receipt count for the period
    totalA Accumulated turnover sum for the period
    totalB Accumulated turnover sum for the period
    totalC Accumulated turnover sum for the period
    totalD Accumulated turnover sum for the period
    totalE Accumulated turnover sum for the period
    totalF Accumulated turnover sum for the period
    totalG Accumulated turnover sum for the period
    totalH Accumulated turnover sum for the period

public FiscalResponse command114Variant1Version1 (String fmRecordStartNumber, String fmRecordEndNumber)

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

Parameters
fmRecordStartNumber Start number of the fiscal memory record.
fmRecordEndNumber End number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    closureCount Closure count for the period
    fiscalReceiptCount Fiscal receipt count for the period
    totalA Accumulated turnover sum for the period
    totalB Accumulated turnover sum for the period
    totalC Accumulated turnover sum for the period
    totalD Accumulated turnover sum for the period
    totalE Accumulated turnover sum for the period
    totalF Accumulated turnover sum for the period
    totalG Accumulated turnover sum for the period
    totalH Accumulated turnover sum for the period


    Note:
    total..X Accumulated turnover sum for the period


    The command returns information on the accumulated turnover sums.
    Periodic references for longer time periods may take a few seconds to process.
    Information on the active decimals and VAT rates record for the Z-report with number "fmRecordNumber" is returned

public FiscalResponse command114Variant2Version0 (String fmRecordNumber)

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

Parameters
fmRecordNumber Start number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    closureCount Closure count for the period
    fiscalReceiptCount Fiscal receipt count for the period
    netSumA Accumulated net sum for the period
    netSumB Accumulated net sum for the period
    netSumC Accumulated net sum for the period
    netSumD Accumulated net sum for the period
    netSumE Accumulated net sum for the period
    netSumF Accumulated net sum for the period
    netSumG Accumulated net sum for the period
    netSumH Accumulated net sum for the period

public FiscalResponse command114Variant2Version1 (String fmRecordStartNumber, String fmRecordEndNumber)

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

Parameters
fmRecordStartNumber Start number of the fiscal memory record.
fmRecordEndNumber End number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    closureCount Closure count for the period
    fiscalReceiptCount Fiscal receipt count for the period
    netSumA Accumulated net sum for the period
    netSumB Accumulated net sum for the period
    netSumC Accumulated net sum for the period
    netSumD Accumulated net sum for the period
    netSumE Accumulated net sum for the period
    netSumF Accumulated net sum for the period
    netSumG Accumulated net sum for the period
    netSumH Accumulated net sum for the period


    Note:
    netSum..X Accumulated net sum for the period


    The command returns information on the accumulated net sums.
    Periodic references for longer time periods may take a few seconds to process.
    Information on the active decimals and VAT rates record for the Z-report with number "fmRecordNumber" is returned

public FiscalResponse command114Variant3Version0 (String fmRecordNumber)

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

Parameters
fmRecordNumber Start number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    closureCount Closure count for the period
    fiscalReceiptCount Fiscal receipt count for the period
    vatSumA Accumulated VAT sum for the period
    vatSumB Accumulated VAT sum for the period
    vatSumC Accumulated VAT sum for the period
    vatSumD Accumulated VAT sum for the period
    vatSumE Accumulated VAT sum for the period
    vatSumF Accumulated VAT sum for the period
    vatSumG Accumulated VAT sum for the period
    vatSumH Accumulated VAT sum for the period

public FiscalResponse command114Variant3Version1 (String fmRecordStartNumber, String fmRecordEndNumber)

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

Parameters
fmRecordStartNumber Start number of the fiscal memory record.
fmRecordEndNumber End number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    closureCount Closure count for the period
    fiscalReceiptCount Fiscal receipt count for the period
    vatSumA Accumulated VAT sum for the period
    vatSumB Accumulated VAT sum for the period
    vatSumC Accumulated VAT sum for the period
    vatSumD Accumulated VAT sum for the period
    vatSumE Accumulated VAT sum for the period
    vatSumF Accumulated VAT sum for the period
    vatSumG Accumulated VAT sum for the period
    vatSumH Accumulated VAT sum for the period


    Note:
    vatSum..X Accumulated VAT sum for the period


    The command returns information on the accumulated VAT sums.
    Periodic references for longer time periods may take a few seconds to process.
    Information on the active decimals and VAT rates record for the Z-report with number "fmRecordNumber" is returned

public FiscalResponse command114Variant4Version0 (String fmRecordNumber)

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

Parameters
fmRecordNumber Start number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    closureNumber Z-report record number
    fmDecimalsRecord Fiscal memory decimals record number
    resetRecord RAM reset count for this fiscal memory record
    dateTime Date and time in format DD-MM-YY hh:mm:ss

public FiscalResponse command114Variant5Version0 (String fmRecordNumber)

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

Parameters
fmRecordNumber Start number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    decimals Decimals
    enabledTaxArray Enabled taxes mask
    vatRateA VAT rate (in %)
    vatRateB VAT rate (in %)
    vatRateC VAT rate (in %)
    vatRateD VAT rate (in %)
    dateTime Date and time in format DD-MM-YY hh:mm:ss

public FiscalResponse command114Variant6Version0 (String fmRecordNumber)

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

Parameters
fmRecordNumber Start number of the fiscal memory record.
Returns
  • FiscalResponse
    errorCode One byte with a value of:
    'P' Valid data found
    'F' Wrong control sum (Data is invalid)
    'E' The selected entry is empty
    dateTime Date and time in format DD-MM-YY hh:mm:ss
Throws
IOException
FiscalPrinterException
IllegalArgumentException
FiscalPrinterException
IOException

public FiscalResponse command115Variant0Version0 (String RowNum, String RowData)

73H (115) PROGRAMMING A GRAPHIC LOGO

Parameters
RowNum 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.

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:
    The length of the data is up to 48 bytes, and if they are less, an automatic addition of "00" follows.

    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.

public FiscalResponse command116Variant0Version0 (String startingAddress, String blockLength)

74H (116) READ FISCAL MEMORY BLOCK

Parameters
startingAddress Starting address in the fiscal memory in hexadecimal representation (up to 5 hexadecimal digits). From 00000 to 3FFFF for 2 Mbit fiscal memory.
blockLength Block length. From 1 to 64.
Returns
  • FiscalResponse
    fiscalMemoryData The data, read from the fiscal memory in hexadecimal form (2 symbols for each data byte).


    Note:

    This command offers the option to read directly a block of data from the fiscal memory.
    It is possible to read the whole fiscal memory, sending the command many times with different start addresses.

public FiscalResponse command119Variant0Version0 (String startDate, String endDate)

77H (119) READ AND PRINT MONTHLY REPORT - Get the first monthly report line (the header)

Parameters
startDate YYMMDD (Starting date)
YY Starting year - 2 bytes (00-99)
MM Starting month - 2 bytes (01-12)
DD Starting day - 2 bytes (01-31)
endDate YYMMDD (End date)
YY Starting year - 2 bytes (00-99)
MM Starting month - 2 bytes (01-12)
DD Starting day - 2 bytes (01-31)
Returns
  • FiscalResponse
    fpAnswer Contains returned data or the letter 'F' if not successful, or monthly report data line.


    Note:
    - Send command command_119_2_0 with the control sum.

    The control sum can be calculated, or the string of the last Answer before 'F' can be used.
    The monthly report is printed.
    When calculating the MD5 control sum, the bytes CR (0Dh) and LF (0Ah) must be added to the end of the line in this order (the answer does not contain these symbols, only pure text).

    All this command sequence must be sent without switching the printer off!

public FiscalResponse command119Variant1Version0 ()

77H (119) READ AND PRINT MONTHLY REPORT - Get the next monthly report line (Z-report data or control sum)

Returns
  • FiscalResponse
    fpAnswer Contains returned data or the letter 'F' if not successful, or monthly report data line.


    Note:
    - Send command command_119_2_0 with the control sum.

    The control sum can be calculated, or the string of the last Answer before 'F' can be used.
    The monthly report is printed.
    When calculating the MD5 control sum, the bytes CR (0Dh) and LF (0Ah) must be added to the end of the line in this order (the answer does not contain these symbols, only pure text).

    All this command sequence must be sent without switching the printer off!

public FiscalResponse command119Variant2Version0 (String checkSum)

77H (119) READ AND PRINT MONTHLY REPORT - Prints the monthly report

Parameters
checkSum 32 hexadecimal digits - the MD5 control sum of the report data. If the control sum is correct, the report is printed.


Note:

The command must be used as follows:
- Send once command command_119_0_0;
- Send command command_119_1_0 until fpAnswer 'F' is returned.
- Send command command_119_2_0 with the control sum.

The control sum can be calculated, or the string of the last Answer before 'F' can be used.
The monthly report is printed.
When calculating the MD5 control sum, the bytes CR (0Dh) and LF (0Ah) must be added to the end of the line in this order (the answer does not contain these symbols, only pure text).

All this command sequence must be sent without switching the printer off!

public FiscalResponse command120Variant0Version0 ()

78H (120) JOURNAL SUPPORT - Electronic journal information

Returns
  • FiscalResponse
    journalNumber Journal number
    cnt Journal number after last Z-report
    nextJournalNumber Next journal number (Subcommand 'N' will get this line number).
    totalLines Total journal lines written after last erase.
    freeBytes Free bytes count in el. journal.
    totalBytes Total bytes count in el. journal

public FiscalResponse command120Variant1Version0 ()

78H (120) JOURNAL SUPPORT - Get first journal line

Returns
  • FiscalResponse
    errorCode 'F' No journal line found
    'P' Journal line successfully read
    theText The journal line, ready to be stored in a file.

public FiscalResponse command120Variant1Version1 (String rowNumber)

78H (120) JOURNAL SUPPORT - Get journal line

Parameters
rowNumber If contains a number, then this line is returned (if exists).
Returns
  • FiscalResponse
    errorCode 'F' No journal line found
    'P' Journal line successfully read
    theText The journal line, ready to be stored in a file.

public FiscalResponse command120Variant2Version0 ()

78H (120) JOURNAL SUPPORT - Get next journal line

Returns
  • FiscalResponse
    errorCode 'F' No journal line found
    'P' Journal line successfully read
    theText The journal line, ready to be stored in a file.

public FiscalResponse command120Variant3Version0 ()

78H (120) JOURNAL SUPPORT - Erase electronic journal

public FiscalResponse command120Variant4Version0 ()

78H (120) JOURNAL SUPPORT - Print electronic journal using half-height font starting from the first journal line

public FiscalResponse command120Variant5Version0 ()

78H (120) JOURNAL SUPPORT - Print electronic journal using normal font starting from the first journal line

public FiscalResponse command120Variant6Version0 ()

78H (120) JOURNAL SUPPORT - Continue (start with the first non-printed line) electronic journal using half-height font

public FiscalResponse command120Variant7Version0 ()

78H (120) JOURNAL SUPPORT - Continue (start with the first non-printed line) electronic journal using normal font

public FiscalResponse command121Variant0Version0 ()

79h (121) SWITCHING THE PRINTER OFF

Returns
  • FiscalResponse
    fpAnswer Contains the text 'OFF'.


    Note:

    The printer is switched off (eventually after finishing the printing).

public FiscalResponse command34Variant0Version0 (String inputTrack1, String inputTrack2, String inputTrack3, String readingTimeout)

22h(34) READING MAGNETIC CARD

Parameters
inputTrack1
inputTrack2
inputTrack3
readingTimeout The time, which the printer will wait for reading the magnetic card in seconds.
From 3 to 120. Default is 10 seconds.
The command ends when the card is read or this time has elapsed.
Returns
  • FiscalResponse
    outputTrack1
    outputTrack2
    outputTrack3


    Note:

    TrackX...
    One symbol, indicating if the corresponding track must be read (if this are the input data) or if there are any data in this track (response data). Possible values: '0' (no) or '1' (yes).

    Timeout
    The time, which the printer will wait for reading the magnetic card in seconds. From 3 to 120. Default is 10 seconds. The command ends when the card is read or this time has elapsed.

    The command is not permitted, if the magnetic card reader is disabled using the memory switches (Switch 9).

    WARNING!
    After reading the card command 23H (35) must be executed for each successfully read track. If not, all command different than 34 and 35 are refused.

public FiscalResponse command35Variant0Version0 (String trackNumber)

23h(35) GET THE MAGNETIC CARD DATA

Parameters
trackNumber Track number. Possible values: 1, 2 or 3.
Returns
  • FiscalResponse
    trackData Track information as text.


    Note:

    The command returns the data, read using command 22H (34).
    Only tracks, which are successfully read will be returned (answer '1' in command 34). Otherwise status bit 1.1 is set (Command not permited).

public FiscalResponse command41Variant0Version0 (String switches)

29H(41) WRITE CURRENT SETTINGS AND SWITCHES TO FLASH

Parameters
switches 12 bytes with value '0' or '1' - the configuration


Note:



Switch 1 Switch 2 Switch 3 RS232 speed
0 0 0 1200 bps
0 0 1 2400 bps
0 1 0 4800 bps
0 1 1 9600 bps
1 0 0 19200 bps
1 0 1 38400 bps
1 1 0 57600 bps
1 1 1 115200 bps

Switch 4 USB interface enable / disable
0 Disabled
1 Enabled

Switch 5 USB mode
0 USB Device mode
1 USB Host mode

Switch 8 Bluetooth Discoverability
0 Discoverable
1 Non discoverable

Switch 9 Magnetic card reader
0 Disabled
1 Enabled

Switch 11 Bluetooth module
0 Disabled
1 Enabled

public FiscalResponse command41Variant0Version1 ()

29H(41) WRITE CURRENT SETTINGS AND SWITCHES TO FLASH

public FiscalResponse command43Variant0Version0 (String itemIndex, String dataValue)

2BH(43) SETTING HEADER, FOOTERS AND PRINTING OPTIONS

Parameters
itemIndex One symbol having the following meaning:
"0" to "5"
Programs one of the header lines.
The printer must NOT be switched off while programming the header.
After setting all header lines the command with option "W" must be executed.

"6" or "7"
Programs the footer lines: "6" is the first line; "7" is the second.

"D" Set print darkness. Possible values:
'1': Very low
'2': Low
'3': Normal
'4': Dark
'5': Very dark
"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).
"W" Makes new header lines active. If printer is fiscalized, writes them tu fiscal memory.
dataValue A text string:
_ If is from '0'to '7' - the text of the header / footer line (up to 36 symbols). '0' to '5' are header lines (set using command 98), '6' and '7' are footer lines.
_ If = 'B' - A number - the height of bar code in pixels.
_ If = 'D' - The print darkness (1 to 5).
_ 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.


Note:
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.

Warning!
The command uses the current language selected.
To program the messages in all 3 languages, this command must be executed 3 times (selecting different language with command 66).
Header lines are writtten to fiscal memory. There is place for 10 header records inside.

public FiscalResponse command43Variant0Version1 (String itemIndex)

2BH(43) SETTING HEADER, FOOTERS AND PRINTING OPTIONS

Parameters
itemIndex One symbol having the following meaning:
"0" to "5"
Programs one of the header lines.
The printer must NOT be switched off while programming the header.
After setting all header lines the command with option "W" must be executed.

"6" or "7"
Programs the footer lines: "6" is the first line; "7" is the second.

"D" Set print darkness. Possible values:
'1': Very low
'2': Low
'3': Normal
'4': Dark
'5': Very dark
"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).
"W" Makes new header lines active. If printer is fiscalized, writes them tu fiscal memory.
Returns
  • FiscalResponse
    OUTP_STR dataValue A text string:
    _ If is from '0'to '7' - the text of the header / footer line (up to 36 symbols). '0' to '5' are header lines (set using command 98), '6' and '7' are footer lines.
    _ If = 'B' - A number - the height of bar code in pixels.
    _ If = 'D' - The print darkness (1 to 5).
    _ 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.


    Note:
    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.

    Warning!
    The command uses the current language selected.
    To program the messages in all 3 languages, this command must be executed 3 times (selecting different language with command 66).
    Header lines are writtten to fiscal memory. There is place for 10 header records inside.

public FiscalResponse command44Variant0Version0 (String targetLines)

2CH(44) ADVANCING PAPER

Parameters
targetLines Advancing paper measured in 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.

public FiscalResponse command48Variant0Version0 (String operatorCode, String operatorPassword, String TillNmb)

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

Parameters
operatorCode Operator's number (1 to 16)
operatorPassword Operator's password (4 to 8 digits)
TillNmb Point of sale ID (a whole number of maximum 5 digits)
Returns
  • FiscalResponse
    FiscReceipt The count of all fiscal receipts - from last closure till now.


    Note:
    tillNumber Number of point of sale (a whole number of maximum 5 digits)

    fiscalReceiptNumber The count of all fiscal receipts - from last closure till now.

    The FP performs the following actions:
    Prints the header
    Prints the tax registration number
    Prints the number and name of the operator
    Sends receipt counts
    The command will not be successful if:
    There is an opened 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
    The operators password is not correct
    No tax registration number available
    Wrong operator password
    The clock needs setting
    Les than two header lines programmed (depends on the selected language!).
    After entering three wrong operator's passwords the printer blocks and must be switched off and ON again to restart operating.

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
    fResult '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
    taxRateA If rates have been found - the active rates are listed out as well as the date of their entry.
    If there are unused groups (Enabled field in command 83) for them instead of a rate in percent a 'DT' is returned (Disabled tax).
    taxRateB If rates have been found - the active rates are listed out as well as the date of their entry.
    If there are unused groups (Enabled field in command 83) for them instead of a rate in percent a 'DT' is returned (Disabled tax).
    taxRateC If rates have been found - the active rates are listed out as well as the date of their entry.
    If there are unused groups (Enabled field in command 83) for them instead of a rate in percent a 'DT' is returned (Disabled tax).
    taxRateD If rates have been found - the active rates are listed out as well as the date of their entry.
    If there are unused groups (Enabled field in command 83) for them instead of a rate in percent a 'DT' is returned (Disabled tax).
    taxRateE If rates have been found - the active rates are listed out as well as the date of their entry.
    If there are unused groups (Enabled field in command 83) for them instead of a rate in percent a 'DT' is returned (Disabled tax).
    taxRateF If rates have been found - the active rates are listed out as well as the date of their entry.
    If there are unused groups (Enabled field in command 83) for them instead of a rate in percent a 'DT' is returned (Disabled tax).
    taxRateG If rates have been found - the active rates are listed out as well as the date of their entry.
    If there are unused groups (Enabled field in command 83) for them instead of a rate in percent a 'DT' is returned (Disabled tax).
    taxRateH If rates have been found - the active rates are listed out as well as the date of their entry.
    If there are unused groups (Enabled field in command 83) for them instead of a rate in percent a 'DT' is returned (Disabled tax).
    ddMMYY 'AA,BB,CC,DD,DDMMYY' 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).


    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.

public FiscalResponse command51Variant0Version0 ()

33H(51) SUBTOTAL

Returns
  • FiscalResponse
    sumTaxGroupA The sum over tax group A (VAT exempt)
    sumTaxGroupB The sum over tax group B (VAT exempt)
    sumTaxGroupC The sum over tax group C (VAT exempt)
    sumTaxGroupD The sum over tax group D (VAT exempt)
    sumTaxGroupE The sum over tax group E (VAT exempt)
    sumTaxGroupF The sum over tax group F (VAT exempt)
    sumTaxGroupG The sum over tax group G (VAT exempt)
    sumTaxGroupH The sum over tax group H (VAT exempt)


    Note:

    sumTaxGroup..X The sum over tax group A (VAT exempt), B, C, D, E, F, G and H - 10 bytes each field.

    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.

public FiscalResponse command51Variant1Version0 (String adjustmentPercent)

33H(51) SUBTOTAL

Parameters
adjustmentPercent The value of the discount or surcharge in percent over the sum accumulated so far
Returns
  • FiscalResponse
    sumTaxGroupA The sum over tax group A (VAT exempt)
    sumTaxGroupB The sum over tax group B (VAT exempt)
    sumTaxGroupC The sum over tax group C (VAT exempt)
    sumTaxGroupD The sum over tax group D (VAT exempt)
    sumTaxGroupE The sum over tax group E (VAT exempt)
    sumTaxGroupF The sum over tax group F (VAT exempt)
    sumTaxGroupG The sum over tax group G (VAT exempt)
    sumTaxGroupH The sum over tax group H (VAT exempt)


    Note:

    sumTaxGroup..X The sum over tax group A (VAT exempt), B, C, D, E, F, G and H - 10 bytes each field.

    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.

public FiscalResponse command51Variant2Version0 (String adjustmentSum)

33H(51) SUBTOTAL

Parameters
adjustmentSum Tthe value of discount as absolute value (up to 8 digits).
Returns
  • FiscalResponse
    sumTaxGroupA The sum over tax group A (VAT exempt)
    sumTaxGroupB The sum over tax group B (VAT exempt)
    sumTaxGroupC The sum over tax group C (VAT exempt)
    sumTaxGroupD The sum over tax group D (VAT exempt)
    sumTaxGroupE The sum over tax group E (VAT exempt)
    sumTaxGroupF The sum over tax group F (VAT exempt)
    sumTaxGroupG The sum over tax group G (VAT exempt)
    sumTaxGroupH The sum over tax group H (VAT exempt)


    Note:

    sumTaxGroup..X The sum over tax group A (VAT exempt), B, C, D, E, F, G and H - 10 bytes each field.

    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.

public FiscalResponse command53Variant0Version0 (String paidMode, String inputAmount)

35H(53) CALCULATION OF A TOTAL

Parameters
paidMode A non-mandatory code indicating the terms of payment.
It may have the following values:
'P' Payment in cash
'N' Payment with coupon
'C' Payment in checks
'D' Payment with a card
'I' Programmable payment 1
'J' Programmable payment 2
'K' Programmable payment 3
'L' Programmable payment 4
Depending on the code, the sums are accumulated in different registers and are printed in the daily report.
inputAmount The sum tendered (up to 10 meaningful symbols)
Returns
  • FiscalResponse
    paidCode 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.
    outputAmount The sum tendered (up to 9 meaningful symbols)

public FiscalResponse command56Variant0Version0 ()

38H(56) CLOSING A FISCAL RECEIPT

Returns
  • FiscalResponse
    fiscalReceipt The number of all fiscal receipts since last fiscal closure (4 bytes).


    Note:

    The accumulated sums from the fiscal receipt are added to the daily sums in the registries of the operational memory.
    The command will not be successful if:
    No fiscal receipt has been opened,
    Command 53 (35h) has failed,
    The sum paid in command 53 is less than the total sum of the fiscal receipt.

public FiscalResponse command58Variant0Version0 (String toExchange, String pluCode, String quantity)

3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM

Parameters
toExchange One byte - the symbol '^'.
A non-mandatory parameter.
If present, this is an exchange (turn back) operation.
pluCode The individual number of the item - a whole number between 1 and 999999999 (not more than 9 digits).
quantity The of the items for sale. Length cannot be longer than 8 meaningful digits (not more than 3 after the decimal point).
The resulting singular price is rounded up to the set number of digits after the decimal point and also cannot be greater than 8 meaningful digits.


Note:
The price of the item is added to the accumulated sums in the registries of operational memory. In case of overflow, the respective bytes from the status field will be set.
If there is a discount or surcharge, it is printed out on a separate line and is added in specially selected registries in the printer. The values from the whole day will be printed together with the daily financial report.

The exchange operation must be with value <= of the accumulated sum for this tax group in the receipt.
After the first exchange command, all other registration commands in this receipt must be of exchange type.
Exchange commands didn't allow using of discount or mark up.

The command will not be successful if:
No item has been programmed under the given number
The item is programmed, but the name for the selected receipt language is empty
No fiscal receipt has been opened
The maximum number of sales for one receipt (512) has already been registered
The command 35h has been successfully executed
The sum under one or more of the tax groups has turned out negative

public FiscalResponse command58Variant0Version1 (String toExchange, String pluCode, String quantity, String customPrice)

3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM

Parameters
toExchange One byte - the symbol '^'.
A non-mandatory parameter.
If present, this is an exchange (turn back) operation.
pluCode The individual number of the item - a whole number between 1 and 999999999 (not more than 9 digits).
quantity The of the items for sale. Length cannot be longer than 8 meaningful digits (not more than 3 after the decimal point).
The resulting singular price is rounded up to the set number of digits after the decimal point and also cannot be greater than 8 meaningful digits.
customPrice Up to 8 significant digits. The article is sold using this price.
The value is used in this command only - the programmed price of the PLU remains unchanged.
The printer checks the article group (see command 107) and following restrictions apply:
If article group is 1, then new prise is used.
If article group is 2, then new price is used is it is less or equal than the programmed price, otherwise command is not permitted.
If article group is greater than 2, then it is not permitted to replace the programmed PLU price.


Note:
The price of the item is added to the accumulated sums in the registries of operational memory. In case of overflow, the respective bytes from the status field will be set.
If there is a discount or surcharge, it is printed out on a separate line and is added in specially selected registries in the printer. The values from the whole day will be printed together with the daily financial report.


The exchange operation must be with value <= of the accumulated sum for this tax group in the receipt.
After the first exchange command, all other registration commands in this receipt must be of exchange type.
Exchange commands didn't allow using of discount or mark up.

The command will not be successful if:
No item has been programmed under the given number
The item is programmed, but the name for the selected receipt language is empty
No fiscal receipt has been opened
The maximum number of sales for one receipt (512) has already been registered
The command 35h has been successfully executed
The sum under one or more of the tax groups has turned out negative

public FiscalResponse command58Variant1Version0 (String toExchange, String pluCode, String quantity, String adjustmentPercent)

3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM

Parameters
toExchange One byte - the symbol '^'.
A non-mandatory parameter.
If present, this is an exchange (turn back) operation.
pluCode The individual number of the item - a whole number between 1 and 999999999 (not more than 9 digits).
quantity The of the items for sale. Length cannot be longer than 8 meaningful digits (not more than 3 after the decimal point).
The resulting singular price is rounded up to the set number of digits after the decimal point and also cannot be greater than 8 meaningful digits.
adjustmentPercent The value of surcharge or discount (depending on the symbol) in percent over the current sale.
Possible values are between -99.00% to 99.00%. Up to 2 digits after the decimal point are acceptable.


Note:
The price of the item is added to the accumulated sums in the registries of operational memory. In case of overflow, the respective bytes from the status field will be set.
If there is a discount or surcharge, it is printed out on a separate line and is added in specially selected registries in the printer. The values from the whole day will be printed together with the daily financial report.


The exchange operation must be with value <= of the accumulated sum for this tax group in the receipt.
After the first exchange command, all other registration commands in this receipt must be of exchange type.
Exchange commands didn't allow using of discount or mark up.

The command will not be successful if:
No item has been programmed under the given number
The item is programmed, but the name for the selected receipt language is empty
No fiscal receipt has been opened
The maximum number of sales for one receipt (512) has already been registered
The command 35h has been successfully executed
The sum under one or more of the tax groups has turned out negative

public FiscalResponse command58Variant1Version1 (String toExchange, String pluCode, String quantity, String adjustmentPercent, String customPrice)

3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM

Parameters
toExchange One byte - the symbol '^'.
A non-mandatory parameter.
If present, this is an exchange (turn back) operation.
pluCode The individual number of the item - a whole number between 1 and 999999999 (not more than 9 digits).
quantity The of the items for sale. Length cannot be longer than 8 meaningful digits (not more than 3 after the decimal point).
The resulting singular price is rounded up to the set number of digits after the decimal point and also cannot be greater than 8 meaningful digits.
adjustmentPercent The value of surcharge or discount (depending on the symbol) in percent over the current sale.
Possible values are between -99.00% to 99.00%. Up to 2 digits after the decimal point are acceptable.
customPrice Up to 8 significant digits. The article is sold using this price.
The value is used in this command only - the programmed price of the PLU remains unchanged.
The printer checks the article group (see command 107) and following restrictions apply:
If article group is 1, then new prise is used.
If article group is 2, then new price is used is it is less or equal than the programmed price, otherwise command is not permitted.
If article group is greater than 2, then it is not permitted to replace the programmed PLU price.


Note:
The price of the item is added to the accumulated sums in the registries of operational memory. In case of overflow, the respective bytes from the status field will be set.
If there is a discount or surcharge, it is printed out on a separate line and is added in specially selected registries in the printer. The values from the whole day will be printed together with the daily financial report.


The exchange operation must be with value <= of the accumulated sum for this tax group in the receipt.
After the first exchange command, all other registration commands in this receipt must be of exchange type.
Exchange commands didn't allow using of discount or mark up.

The command will not be successful if:
No item has been programmed under the given number
The item is programmed, but the name for the selected receipt language is empty
No fiscal receipt has been opened
The maximum number of sales for one receipt (512) has already been registered
The command 35h has been successfully executed
The sum under one or more of the tax groups has turned out negative

public FiscalResponse command58Variant2Version0 (String toExchange, String pluCode, String quantity, String adjustmentSum)

3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM

Parameters
toExchange One byte - the symbol '^'.
A non-mandatory parameter.
If present, this is an exchange (turn back) operation.
pluCode The individual number of the item - a whole number between 1 and 999999999 (not more than 9 digits).
quantity The of the items for sale. Length cannot be longer than 8 meaningful digits (not more than 3 after the decimal point).
The resulting singular price is rounded up to the set number of digits after the decimal point and also cannot be greater than 8 meaningful digits.
adjustmentSum The value of discount or surcharge (depending on the sign) over the current sale. Up to 8 significant digits. Only one of the parameters Perc and Abs allowed.


Note:
The price of the item is added to the accumulated sums in the registries of operational memory. In case of overflow, the respective bytes from the status field will be set.
If there is a discount or surcharge, it is printed out on a separate line and is added in specially selected registries in the printer. The values from the whole day will be printed together with the daily financial report.


The exchange operation must be with value <= of the accumulated sum for this tax group in the receipt.
After the first exchange command, all other registration commands in this receipt must be of exchange type.
Exchange commands didn't allow using of discount or mark up.

The command will not be successful if:
No item has been programmed under the given number
The item is programmed, but the name for the selected receipt language is empty
No fiscal receipt has been opened
The maximum number of sales for one receipt (512) has already been registered
The command 35h has been successfully executed
The sum under one or more of the tax groups has turned out negative

public FiscalResponse command58Variant2Version1 (String toExchange, String pluCode, String quantity, String adjustmentSum, String customPrice)

3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM

Parameters
toExchange One byte - the symbol '^'.
A non-mandatory parameter.
If present, this is an exchange (turn back) operation.
pluCode The individual number of the item - a whole number between 1 and 999999999 (not more than 9 digits).
quantity The of the items for sale. Length cannot be longer than 8 meaningful digits (not more than 3 after the decimal point).
The resulting singular price is rounded up to the set number of digits after the decimal point and also cannot be greater than 8 meaningful digits.
adjustmentSum The value of discount or surcharge (depending on the sign) over the current sale. Up to 8 significant digits. Only one of the parameters Perc and Abs allowed.
customPrice Up to 8 significant digits. The article is sold using this price.
The value is used in this command only - the programmed price of the PLU remains unchanged.
The printer checks the article group (see command 107) and following restrictions apply:
If article group is 1, then new prise is used.
If article group is 2, then new price is used is it is less or equal than the programmed price, otherwise command is not permitted.
If article group is greater than 2, then it is not permitted to replace the programmed PLU price.


Note:
The price of the item is added to the accumulated sums in the registries of operational memory. In case of overflow, the respective bytes from the status field will be set.
If there is a discount or surcharge, it is printed out on a separate line and is added in specially selected registries in the printer. The values from the whole day will be printed together with the daily financial report.


The exchange operation must be with value <= of the accumulated sum for this tax group in the receipt.
After the first exchange command, all other registration commands in this receipt must be of exchange type.
Exchange commands didn't allow using of discount or mark up.

The command will not be successful if:
No item has been programmed under the given number
The item is programmed, but the name for the selected receipt language is empty
No fiscal receipt has been opened
The maximum number of sales for one receipt (512) has already been registered
The command 35h has been successfully executed
The sum under one or more of the tax groups has turned out negative

public FiscalResponse command60Variant0Version0 ()

3CH(60) CANCEL FISCAL RECEIPT

public FiscalResponse command61Variant0Version0 (String targetDateTime)

3DH (61) SETTING THE CLOCK - DATE AND TIME

Parameters
targetDateTime Format: DD-MM-YYHH:MM:SS


Note:

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.

public FiscalResponse command62Variant0Version0 ()

3EH (62) READING CURRENT DATE AND TIME

Returns
  • FiscalResponse
    fpAnswer Date and time in format: DD-MM-YYHH:MM:SS

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 each field).
    totalSumInTaxGroupB VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupC VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupD VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupE VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupF VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupG VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupH VAT group total (12 bytes with sign each field).
    closureDate Closure date in format DDMMYY.


    Note:

    The command returns the accumulated sums by VAT groups for the last fiscal closure.

public FiscalResponse command65Variant0Version0 ()

41H(65) DAILY TOTALS

Returns
  • FiscalResponse
    totalSumInTaxGroupA VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupB VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupC VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupD VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupE VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupF VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupG VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupH VAT group total (12 bytes with sign each field).


    Note:

    totalSumInTaxGroup..X VAT group total (12 bytes with sign each field).

    The command returns the accumulated sums by VAT groups for the day.

public FiscalResponse command66Variant0Version0 (String baseLanguage, String languageIndex)

42H(66) SELECT PRINTER LANGUAGE

Parameters
baseLanguage Optional parameter - one letter 'Z'.
If present, the base language is set.
If not present, receipt language is set.
languageIndex Optional parameter - one byte with possible value:
'0' English
'1' Albanian
'2' Serbian
Returns
  • FiscalResponse
    baseIndex One byte, containing the current base language.
    '0' English
    '1' Albanian
    '2' Serbian
    receiptIndex One byte, containing current receipt language.
    '0' English
    '1' Albanian
    '2' Serbian


    Note:
    '0' English
    '1' Albanian
    '2' Serbian

    The command selects printing languages.

    Receipt language is used in fiscal (customer) receipts only. It may be changed before every fiscal receipt.
    Base language is used for all other documents. It can be changed only before the first document for the day (immediately after Z-report).

    Warning! Header lines, footer lines, additional payment types and programmed PLU names are in one of the languages, too.
    If You intend to use some of the languages, You must program these strings for this language.
    Some of the commands will not work, if the strings in the current language are not programmed!

public FiscalResponse command67Variant0Version0 (String startDate, String endDate)

43H(67) PRINT HEADER CHANGES REPORT

Parameters
startDate Starting date in format YYMMDD where:
YY Starting year - 2 bytes (00-99)
MM Starting month - 2 bytes (01-12)
DD Starting day - 2 bytes (01-31)
endDate End date in format YYMMDD where:
YY Starting year - 2 bytes (00-99)
MM Starting month - 2 bytes (01-12)
DD Starting day - 2 bytes (01-31)
Returns
  • FiscalResponse
    errorCode 1 byte:
    'F' if no tax rates for the period have been found or in case of error
    'P' Valid data found for this period.


    Note:
    'F' if no tax rates for the period have been found or in case of error
    'P' Valid data found for this period.

    The command prints a report on the changes made in the header during the selected period (all 3 languages).
    If end date is before start date, then nothing is printed.

public FiscalResponse command68Variant0Version0 ()

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

Returns
  • FiscalResponse
    freeLogicalNumbers 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.

public FiscalResponse command69Variant0Version0 (String reportType, String nOption, String aOption)

45H(69) DAILY FINANCIAL REPORT

Parameters
reportType The type of generated report:
'0' A Z-report (Daily report with writing to fiscal memory and clearing the daily registers).
'2' A X-report (Daily report without writing to fiscal memory and clearing the daily registers).
nOption Optional parameter - one byte with possible value 'N'.
The presence of this symbol cancels the option to clear the data accumulated on the operators during a Z-report.
aOption Optional parameter - one byte with possible value 'A'.
The presence of this symbol cancels the option to clear the data about sold article quantities during a Z-report.
Returns
  • FiscalResponse
    closureNumber Fiscal closure (Daily report) number - 4 bytes.
    totalSumInTaxGroupA VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupB VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupC VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupD VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupE VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupF VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupG VAT group total (12 bytes with sign each field).
    totalSumInTaxGroupH VAT group total (12 bytes with sign each field).

public FiscalResponse command70Variant0Version0 (String registeredSum)

46H(70) INTERNAL DEBITING AND CREDITING (SERVICE IN AND OUT)

Parameters
registeredSum 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
    erroCode One byte:
    '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 (interiorCreditSum),
    - There is an opened fiscal receipt.
    cashSum Available cash. Apart from this command, the sum grows after each payment in cash.
    interiorCreditSum The sum from all commands "Interior credit"
    interiorDebitSum 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.

public FiscalResponse command71Variant0Version0 ()

47H(71) PRINTING DIAGNOSTIC INFORMATION

public FiscalResponse command72Variant0Version0 (String oldPassword, String newPassword, String stNumber)

48H(72) FISCALIZATION OR REFISCALIZATION

Parameters
oldPassword Old password for refiscalization. 4 to 8 digits. For first fiscalization the password is "000000".
newPassword New password. 4 to 8 digits. Must be entered correctly for refiscalization of the printer.
stNumber - Serial The serial number of device - it must be the number entered with command 5Bh. Used in the fiscalization command only.
or
- TaxNo The new tax registration number as a text (from 8 to 14 bytes) - for refiscalization only.
Returns
  • FiscalResponse
    errorCode Error or 'P' code when the action has been successful.


    Note:

    The command will not be executed (and an error code will be set) if:
    '1' The serial number is invalid,
    '2' The printer has been refiscalised more than 11 times,
    '3' No serial number has been programmed,
    '4' The serial number is different from the one programmed,
    '5' There is an opened receipt in progress,
    '6' There are some already issued fiscal receipts or the 70 (46h) command has been executed after the last daily report with closure,
    '7' No tax rates have been entered into the memory of device,
    '8' The tax registration number consists only of zeros,
    '9' The clock needs setting.

    Fiscalization of device must be performed and after successful execution of the command, the returning of printer to a "non-fiscalized" mode becomes impossible.
    The tax number and current VAT rates is entered in the fiscal memory, together with the current date and hour.
    All registries are cleared (to zero) after which the printer opens the first fiscal receipt, marks the moment of fiscalization on this receipt and closes it.
    If the command is executed after fiscalisation, the printer is registered with new tax registration number.
    There is place for 15 refiscalizations in fiscal memory.
    The command is permited in service mode only.

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

49H(73) DETAILED FISC. MEMORY REPORT BY CLOSURE NUMBER

Parameters
reportTypeOption One optional byte 'S'. If present, a shorter form of the report is printed - for every Z-report is printed date and time only.
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 the printing of a detailed report of the fiscal memory from one selected number to another.

public FiscalResponse command76Variant0Version0 (String tenderOption)

4CH(76) STATUS OF THE FISCAL TRANSACTION

Parameters
tenderOption One optional byte 'T'. If present, the command will return the information on the current state of the sum due for payment by the client.
Returns
  • FiscalResponse
    openedReceipt One byte which is '1' if a fiscal or a non-fiscal receipt has been opened (which it is can be understood from the status bytes) and '0' if there is no opened receipt.
    salesNumber The number of sales registered on the on the current or last fiscal receipt - 4 bytes.
    lastFiscalReceiptSum The sum from the last fiscal receipt - 9 bytes with a sign.
    tenderedSum The sum tendered against the current or the last receipt - 9 bytes with a sign (Only if "tenderOption" is present).


    Note:

    The command supports the PC application's ability to monitor the status and if needed to restore and complete am already started fiscal operation which has been interrupted on emergency or out of time - for example as a result of a power failure.

public FiscalResponse command79Variant0Version0 (String startDate, String endDate)

4FH(79) SHORT PERIODICAL FISCAL REPORT

Parameters
startDate Start date in format YYMMDD

YY year - 2 bytes (00-99)
MM month - 2 bytes (01-12)
DD day - 2 bytes (01-31)
endDate End date in format YYMMDD

YY year - 2 bytes (00-99)
MM month - 2 bytes (01-12)
DD day - 2 bytes (01-31)


Note:

YY year - 2 bytes (00-99)
MM month - 2 bytes (01-12)
DD day - 2 bytes (01-31)

If month or day from start date is missing, then they are replaced with the first month of the year and first day of the month.
If month or day from end date is missing, then they are replaced with the last month of the year and last day of the month.
If the second date is missing, then year or monthly report is printing.

If end date is before start date, then nothing is printed.
This command prints out a short financial report on the period between two selected dates or on the selected month or year.



public FiscalResponse command80Variant0Version0 (String soundData)

50H(80) SOUND SIGNAL

Parameters
soundData This command is used for making (beeping) a sequence of sounds with a certain frequency and duration.
The data is 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.
If the input string is empty, the one sound signal with frequency 2 kHz and duration 300 ms is emitted.
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.

public FiscalResponse command82Variant0Version0 (String oldPassword, String newPassword, String nextServiceDate, String infoMessage)

52H(82) SETTING NEXT SERVICE DATE

Parameters
oldPassword Old password. 4 to 8 digits. For first use of the command the password is "000000".
newPassword New password. 4 to 8 digits. Must be entered correctly last valid password.
nextServiceDate Next service date. Must be after the current date. 6 digits (DDMMHH).
infoMessage Text up to 24 symbols, which is printed in the warning message. For example - the phone number of the service company.


Note:

There is place for 20 service dates. 30 days before the period expires, the printer starts to print a warning message before the Z-report.
If the period expires, the printer stops executing command 48 (Open fiscal receipt) and allows only one Z-report to be done.
If no service date is entered, no restrictions exists (expiration date is assumed 31.12.2099).
The command is permitted in service mode only.

public FiscalResponse command83Variant0Version0 (String inMultiplier, String inDecimals, String inEnabledTaxesArray, String inTaxGroupB, String inTaxGroupC, String inTaxGroupD, String inTaxGroupE, String inTaxGroupF, String inTaxGroupG, String inTaxGroupH)

53H(83) SETTING THE MULTIPLIER, DECIMALS AND ENABLED TAXES

Parameters
inMultiplier 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 not used).
inDecimals One byte with a value 0 or 2 and shows the exact place of the decimal point.
inEnabledTaxesArray 9 bytes with value '0' or '1', corresponding to VAT groups 'B', 'C', 'D', 'E, 'F', 'G' and 'H' in this order. '0' means disabled VAT group, '1' - enabled VAT group. VAT group A is always enabled and is with VAT rate 0.00%.
inTaxGroupB The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inTaxGroupC The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inTaxGroupD The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inTaxGroupE The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inTaxGroupF The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inTaxGroupG The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
inTaxGroupH The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
Returns
  • FiscalResponse
    outMultiplier 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 not used).
    outDecimals One byte with a value 0 or 2 and shows the exact place of the decimal point.
    outEnabledTaxesArray 9 bytes with value '0' or '1', corresponding to VAT groups 'B', 'C', 'D', 'E, 'F', 'G' and 'H' in this order. '0' means disabled VAT group, '1' - enabled VAT group. VAT group A is always enabled and is with VAT rate 0.00%.
    outTaxGroupB The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupC The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupD The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupE The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupF The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupG The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupH The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).


    Note:

    (in/out)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 not used).
    (in/out)Decimals One byte with a value 0 or 2 and shows the exact place of the decimal point.
    (in/out)EnabledTaxesArray 9 bytes with value '0' or '1', corresponding to VAT groups 'B', 'C', 'D', 'E, 'F', 'G' and 'H' in this order. '0' means disabled VAT group, '1' - enabled VAT group. VAT group A is always enabled and is with VAT rate 0.00%.
    (in/out)TaxGroup..X 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 19 times after the fiscalization.
    Before the fiscalization 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.

public FiscalResponse command83Variant1Version0 ()

53H(83) SETTING THE MULTIPLIER, DECIMALS AND ENABLED TAXES

Returns
  • FiscalResponse
    outMultiplier 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 not used).
    outDecimals One byte with a value 0 or 2 and shows the exact place of the decimal point.
    outEnabledTaxesArray 9 bytes with value '0' or '1', corresponding to VAT groups 'B', 'C', 'D', 'E, 'F', 'G' and 'H' in this order. '0' means disabled VAT group, '1' - enabled VAT group. VAT group A is always enabled and is with VAT rate 0.00%.
    outTaxGroupB The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupC The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupD The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupE The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupF The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupG The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).
    outTaxGroupH The VAT rate for the corresponding VAT group in % with up to 2 decimals (0.00 to 99.00).


    Note:
    outTaxGroup..X 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 19 times after the fiscalization.
    Before the fiscalization 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.

public FiscalResponse command85Variant0Version0 (String paymentIndex, String paymentName)

55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME

Parameters
paymentIndex 'I' Additional payment 1
'J' Additional payment 2
'K' Additional payment 3
'L' Additional payment 4
paymentName Name (comment text) of the payment. Up to 20 bytes. If not present, the current name is returned.
Returns
  • FiscalResponse
    errorCode 'P' No error.
    'F' Name longer than 20 bytes.


    Note:
    'P' No error.
    'F' Name longer than 20 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.

    Warning! The command uses the current language selected.
    To program the messages in all 3 languages, this command must be executed 3 times (selecting different language with command 66).

public FiscalResponse command85Variant1Version0 (String paymentIndex)

55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME

Parameters
paymentIndex 'I' Additional payment 1
'J' Additional payment 2
'K' Additional payment 3
'L' Additional payment 4
Returns
  • FiscalResponse
    paymentName Name (comment text) of the payment. Up to 20 bytes. If not present, the current name is returned.


    Note:

    Warning! The command uses the current language selected.
    To program the messages in all 3 languages, this command must be executed 3 times (selecting different language with command 66).

public FiscalResponse command86Variant0Version0 ()

56H(86) GET LATEST FISCAL MEMORY RECORD DATE AND TIME

Returns
  • FiscalResponse
    lastRecordDateTime Date and time of last (latest) record in the fiscal memory in format:"DD-MM-YYYY hh:mm:ss"

public FiscalResponse command89Variant0Version0 ()

57H(87) GET PRINT HEAD TEMPERATURE ANND BATTERY

Returns
  • FiscalResponse
    headTemperature Print head temperature in degrees Celsius.
    batteryVoltage Battery voltage.

public FiscalResponse command90Variant0Version0 ()

5AH(90) RETURNS DIAGONSTIC INFORMATION

Returns
  • FiscalResponse
    printerName Name of the printer (the string "FMP-10").
    firmwareVersion The version of the software program - 4 bytes.
    firmwareDate The date of the software program DDMmmmYY - 8 bytes.
    firmwareTime Hour of the software program HHMM - 4 bytes.
    checkSum The EPROM control sum - a 4 bytes string in the hexadecimal code. For example if the control sum is 214Ah it will be presented as 32h, 31h, 34h, 42h
    switchesArray The configuration switches from Sw1 to Sw12 - a 12 bytes string with '0' or '1', plus 2 hardware switches, separated by ','.
    serialNumber The serial number - 10 bytes.
    fiscalModuleNumber Number of the fiscal module - 8 bytes.

public FiscalResponse command91Variant0Version0 (String serialNumber, String fiscalNumber)

5BH(91) PROGRAMMING THE SERIAL NUMBER AND FISCAL MEMORY NUMBER

Parameters
serialNumber The serial number. 10 symbols - 2 letters and digits.
fiscalNumber The fiscal memory number. From 8 to 10 symbols - all digits.
Returns
  • FiscalResponse
    errorCode One byte.
    'P' - OK;
    'F' - errors.
    countryName The name of the country. For example: "KOSOVO"


    Note:

    If only SerialNum is present, then FiscalNum is not programmed and the command must be executed later again to set the fiscal number.
    Programming of serial number is permitted only in service mode and is performed by the manufacturer of the printer.
    The printer is handed over to the owner with the serial number programmed.
    Fiscal number may be programmed in customer mode or in service mode.
    If the serial number is programmed and the command is executed to set the fiscal number, the printer checks is the SerialNum in the parameters is equal to the already programmed serial number, otherwise the command will not pass.
    If Result = 'F' and the S1.1 flag is raised the command has not been successful because either the fiscal memory has not been formatted or the serial number has already been entered.

public FiscalResponse command92Variant0Version0 (String separatorLineType)

5CH(92) PRINT SEPARATOR LINE

Parameters
separatorLineType The type of the separator line. One symbol with possible value:
'1' 36 times the symbol '-'.
'2' 18 times the sequence '-' and ' '.
'3' 36 times the symbol '='.


Note:
'1' 36 times the symbol '-'.
'2' 18 times the sequence '-' and ' '.
'3' 36 times the symbol '='.

The command prints a separator line using the full paper width. Permitted in a fiscal receipt only

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

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

Parameters
reportTypeOption One optional byte 'S'. If present, a shorter form of the report is printed - for every Z-report is printed date and time only.
startDate Starting date of selected fiscal entry - 6 bytes (DDMMYY)
YY Starting year - 2 bytes (00-99)
MM Starting month - 2 bytes (01-12)
DD Starting day - 2 bytes (01-31)
endDate End date of the fiscal entry - 6 bytes (DDMMYY)
YY Starting year - 2 bytes (00-99)
MM Starting month - 2 bytes (01-12)
DD Starting day - 2 bytes (01-31)


Note:

YY Starting year - 2 bytes (00-99)
MM Starting month - 2 bytes (01-12)
DD Starting day - 2 bytes (01-31)


If month or day from start date is missing, then they are replaced with the first month of the year and first day of the month.
If month or day from end date is missing, then they are replaced with the last month of the year and last day of the month.
If the second date is missing, then year or monthly report is printing.
If end date is before start date, then nothing is printed.

This command prints out a detailed financial report on the period between two selected dates or on the selected month or year.

public FiscalResponse command95Variant0Version0 (String startFiscalRecordNumber, String endFiscalRecordNumber)

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

Parameters
startFiscalRecordNumber Starting number of the fiscal entry
endFiscalRecordNumber End number of fiscal entry


Note:

The command starts the calculation and the printing of a short periodic financial report.

public FiscalResponse command97Variant0Version0 ()

61H(97) READING THE SET TAX RATES

Returns
  • FiscalResponse
    taxGroupA Current tax rate value.
    taxGroupB Current tax rate value.
    taxGroupC Current tax rate value.
    taxGroupD Current tax rate value.
    taxGroupE Current tax rate value.
    taxGroupF Current tax rate value.
    taxGroupG Current tax rate value.
    taxGroupH Current tax rate value.

public FiscalResponse command98Variant0Version0 (String taxRegistrationNumber)

62H(98) SETTING THE TAX REGISTRATION NUMBER

Parameters
taxRegistrationNumber The tax registration number as a text (from 8 to 14 bytes).


Note:

The command changes the tax registration. Before fiscalization this data are hold in RAM only, so they can be changed unlimited times.
The fiscalization writes the current data set using this command to the fiscal memory.

public FiscalResponse command99Variant0Version0 ()

63H(99) READING THE TAX REGISTRATION NUMBER

Returns
  • FiscalResponse
    taxRegistrationNumber The tax registration number as a text.

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 openFiscalCheckWithDefaultValues ()

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

Returns
  • FiscalResponse
    FiscReceipt The count of all fiscal receipts - from last closure till now.


    Note:
    tillNumber Number of point of sale (a whole number of maximum 5 digits)

    fiscalReceiptNumber The count of all fiscal receipts - from last closure till now.

    The FP performs the following actions:
    Prints the header
    Prints the tax registration number
    Prints the number and name of the operator
    Sends receipt counts
    The command will not be successful if:
    There is an opened 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
    The operators password is not correct
    No tax registration number available
    Wrong operator password
    The clock needs setting
    Les than two header lines programmed (depends on the selected language!).
    After entering three wrong operator's passwords the printer blocks and must be switched off and ON again to restart operating.

public FiscalResponse totalInCash ()

35H(53) CALCULATION OF A TOTAL

Returns
  • FiscalResponse
    paidCode 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.
    outputAmount The sum tendered (up to 9 meaningful symbols)