java.lang.Object | ||
↳ | com.datecs.fiscalprinter.FPBase | |
↳ | com.datecs.fiscalprinter.kos.FMP10KOS |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
38H(56) CLOSING A FISCAL RECEIPT
65H(101) SETTING THE OPERATOR'S PASSWORD
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". |
66H(102) ENTERING OPERATOR'S NAME
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. |
67H (103) INFORMATION ON THE CURRENT RECEIPT
6BH (107) DEFINING AND READING ITEMS - Article information
6BH (107) DEFINING AND READING ITEMS - Fills the name in additional language for an already programmed PLU
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) |
6BH (107) DEFINING AND READING ITEMS - Programming an item
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. |
6BH (107) DEFINING AND READING ITEMS - Programming an item with 3 languages
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. |
6BH (107) DEFINING AND READING ITEMS - Change the quantity of an item
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. |
6BH (107) DEFINING AND READING ITEMS - Change the price of an item
pluCode | Article number (1 to 999999999). |
---|---|
singularPrice | Singular price - up to 8 meaningful digits. |
6BH (107) DEFINING AND READING ITEMS - Delete all items with non-zero accumulated sums
6BH (107) DEFINING AND READING ITEMS - Delete item by PLU
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. |
---|
6BH (107) DEFINING AND READING ITEMS - Delete item in the PLU interval
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. |
6BH (107) DEFINING AND READING ITEMS - Reading Item data
inputPLUCode | Number of the item (1 to 999999999) |
---|
6BH (107) DEFINING AND READING ITEMS - Returning the data on the first found programmed item
inputPLUCode | Number of the item (1 to 999999999) |
---|
6BH (107) DEFINING AND READING ITEMS - Returning the data on the first sold item
inputPLUCode | Number of the item (1 to 999999999) |
---|
6BH (107) DEFINING AND READING ITEMS - Returning the data on the programmed item with the greatest number
inputPLUCode | Number of the item (1 to 999999999) |
---|
6BH (107) DEFINING AND READING ITEMS - Returning the data on the sold item with the greatest number
inputPLUCode | Number of the item (1 to 999999999) |
---|
6BH (107) DEFINING AND READING ITEMS - Returning the data on the next found programmed item
6BH (107) DEFINING AND READING ITEMS - Returning the data on the next found sold item
6BH (107) DEFINING AND READING ITEMS - Returning the data on the first free item
inputPLUCode | Number of the item (1 to 999999999) |
---|
6BH (107) DEFINING AND READING ITEMS - Returning the data on the last free item
inputPLUCode | Number of the item (1 to 999999999) |
---|
6EH (110) ADDITIONAL DAILY INFORMATION (PAYMENT INFO)
6FH (111) ITEMS REPORT
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. |
6FH (111) ITEMS REPORT
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. |
6FH (111) ITEMS REPORT
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. |
---|
70H (112) READING INFORMATION ON THE OPERATOR
operatorNumber | Number of the operator (1 to 16) |
---|
71H (113) READING THE NUMBER OF THE LAST PRINTED DOCUMENT
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordNumber | Start number of the fiscal memory record. |
---|
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordNumber | Start number of the fiscal memory record. |
---|
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordStartNumber | Start number of the fiscal memory record. |
---|---|
fmRecordEndNumber | End number of the fiscal memory record. |
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordNumber | Start number of the fiscal memory record. |
---|
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordStartNumber | Start number of the fiscal memory record. |
---|---|
fmRecordEndNumber | End number of the fiscal memory record. |
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordNumber | Start number of the fiscal memory record. |
---|
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordStartNumber | Start number of the fiscal memory record. |
---|---|
fmRecordEndNumber | End number of the fiscal memory record. |
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordNumber | Start number of the fiscal memory record. |
---|
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordNumber | Start number of the fiscal memory record. |
---|
72H (114) INFORMATION ON THE FISCAL ENTRY OR A FISCAL PERIOD
fmRecordNumber | Start number of the fiscal memory record. |
---|
IOException | |
FiscalPrinterException | |
IllegalArgumentException | |
FiscalPrinterException | |
IOException |
73H (115) PROGRAMMING A GRAPHIC LOGO
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. |
73H (115) PROGRAMMING A GRAPHIC LOGO
rowNumber | Shows the line, which is being programmed - a number between 0 and 95 |
---|
74H (116) READ FISCAL MEMORY BLOCK
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. |
77H (119) READ AND PRINT MONTHLY REPORT - Get the first monthly report line (the header)
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) |
77H (119) READ AND PRINT MONTHLY REPORT - Get the next monthly report line (Z-report data or control sum)
77H (119) READ AND PRINT MONTHLY REPORT - Prints the monthly report
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! |
---|
78H (120) JOURNAL SUPPORT - Electronic journal information
78H (120) JOURNAL SUPPORT - Get first journal line
78H (120) JOURNAL SUPPORT - Get journal line
rowNumber | If contains a number, then this line is returned (if exists). |
---|
78H (120) JOURNAL SUPPORT - Get next journal line
78H (120) JOURNAL SUPPORT - Erase electronic journal
78H (120) JOURNAL SUPPORT - Print electronic journal using half-height font starting from the first journal line
78H (120) JOURNAL SUPPORT - Print electronic journal using normal font starting from the first journal line
78H (120) JOURNAL SUPPORT - Continue (start with the first non-printed line) electronic journal using half-height font
78H (120) JOURNAL SUPPORT - Continue (start with the first non-printed line) electronic journal using normal font
79h (121) SWITCHING THE PRINTER OFF
22h(34) READING MAGNETIC CARD
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. |
23h(35) GET THE MAGNETIC CARD DATA
trackNumber | Track number. Possible values: 1, 2 or 3. |
---|
29H(41) WRITE CURRENT SETTINGS AND SWITCHES TO FLASH
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 |
---|
29H(41) WRITE CURRENT SETTINGS AND SWITCHES TO FLASH
2BH(43) SETTING HEADER, FOOTERS AND PRINTING OPTIONS
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 |
2BH(43) SETTING HEADER, FOOTERS AND PRINTING OPTIONS
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. |
---|
2CH(44) ADVANCING PAPER
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. |
---|
30H(48) OPENING A FISCAL CLIENT'S RECEIPT
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) |
32H(50) TAX RATES ENTERED DURING THE ACCOUNTED PERIOD
startDate | The starting date of the period - DDMMYY/6 bytes/ |
---|---|
endDate | The end date of the period - DDMMYY /6 bytes/ |
33H(51) SUBTOTAL
33H(51) SUBTOTAL
adjustmentPercent | The value of the discount or surcharge in percent over the sum accumulated so far |
---|
33H(51) SUBTOTAL
adjustmentSum | Tthe value of discount as absolute value (up to 8 digits). |
---|
35H(53) CALCULATION OF A TOTAL
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) |
38H(56) CLOSING A FISCAL RECEIPT
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
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 |
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
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 |
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
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 |
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
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 |
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
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 |
3AH(58) REGISTERING THE SALE OF A PROGRAMMED ITEM
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 |
3DH (61) SETTING THE CLOCK - DATE AND TIME
targetDateTime | Format: DD-MM-YY |
---|
3EH (62) READING CURRENT DATE AND TIME
40H(64) LAST FISCAL CLOSURE DETAILS
41H(65) DAILY TOTALS
42H(66) SELECT PRINTER LANGUAGE
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 |
43H(67) PRINT HEADER CHANGES REPORT
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) |
44H(68) THE NUMBER OF FREE FIELDS IN THE FISCAL MEMORY
45H(69) DAILY FINANCIAL REPORT
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. |
46H(70) INTERNAL DEBITING AND CREDITING (SERVICE IN AND OUT)
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). |
---|
48H(72) FISCALIZATION OR REFISCALIZATION
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. |
49H(73) DETAILED FISC. MEMORY REPORT BY CLOSURE NUMBER
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. |
4CH(76) STATUS OF THE FISCAL TRANSACTION
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. |
---|
4FH(79) SHORT PERIODICAL FISCAL REPORT
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. |
50H(80) SOUND SIGNAL
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. |
---|
52H(82) SETTING NEXT SERVICE DATE
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. |
53H(83) SETTING THE MULTIPLIER, DECIMALS AND ENABLED TAXES
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). |
53H(83) SETTING THE MULTIPLIER, DECIMALS AND ENABLED TAXES
55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME
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. |
55H(85) DIFINE ADDITIONAL PAYMENT TYPES NAME
paymentIndex | 'I' Additional payment 1 'J' Additional payment 2 'K' Additional payment 3 'L' Additional payment 4 |
---|
56H(86) GET LATEST FISCAL MEMORY RECORD DATE AND TIME
57H(87) GET PRINT HEAD TEMPERATURE ANND BATTERY
5AH(90) RETURNS DIAGONSTIC INFORMATION
5BH(91) PROGRAMMING THE SERIAL NUMBER AND FISCAL MEMORY NUMBER
serialNumber | The serial number. 10 symbols - 2 letters and digits. |
---|---|
fiscalNumber | The fiscal memory number. From 8 to 10 symbols - all digits. |
5CH(92) PRINT SEPARATOR LINE
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 |
---|
5EH(94) DETAILED FISCAL MEMORY REPORT BY CLOSURE DATE
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. |
5FH(95) SHORT FISCAL MEMORY REPORT BY CLOSURE NUMBER
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. |
61H(97) READING THE SET TAX RATES
62H(98) SETTING THE TAX REGISTRATION NUMBER
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. |
---|
63H(99) READING THE TAX REGISTRATION NUMBER
30H(48) OPENING A FISCAL CLIENT'S RECEIPT
35H(53) CALCULATION OF A TOTAL