Fiscal Printer DATECS FP-2000 Version 3.10
Data field: <Option>[Parameters]
Response: ErrorCode[,Data]
Option One byte, defining the type of the selected operation. Depending on this, the command might - or
might not - demand the entering of additional parameters. The possible values are: ‘I’, ‘P’, ‘D’,
‘A’, ‘C’, ‘R’, ‘F’, ‘L’, ‘N’, ’X’, ’f’, ‘l’, ‘n’, ‘x’.
ErrorCode One byte, showing the result from the operation and having the following meaning:
- ‘P’ Successful command
- ‘F’ Unsuccessful command
Parameters Data on the command - described in detail further on.
SUBCOMMANDS (depending on Option):
- ‘I’ Article information
Syntax: <I>
Returns: <Total>,<Prog>,<Len>
Total Total programmable article count (10000 for this printer).
Progr Programmed article count.
Len Maximal article name length (36 for this printer).
- ‘P’ Programming an item
Syntax: <P><TaxGr><PLU>,<Group>,<SPrice>,[<Replace>]<Quantity>,<Name>
TaxGr Tax group. One byte (‘A’, ‘B’, ‘C’, ‘D’, ‘E, ‘F’, ‘G’, ‘H’ or ‘P’).
PLU Number of the item (1 to 999999999)
Group Article group (1 – 99).
SPrice Singular price - up to 8 meaningful digits.
Replace A non-mandatory parameter – one byte with value ‘A’. Changes the meaning of the
next parameter (Quantity).
Quantity A number with up to 3 decimals – the available quantity of the article. If Replace 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.
Name Name of the item - up to 36 bytes.
Up to 10000 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. The number of the free items is returned after an ErrorCode parameter.
- ‘A’ Change the quantity of an item
Syntax: <A><PLU>,<Quantity>
PLU Article number (1 to 999999999).
Quantity Quantity correction - a floating-point number with 3 decimal places. Positive
number increases the available quantity, negative decreases it.
Changing the quantity is possible, if the article is programmed.
- ‘C’ Change the price of an item
Syntax: <C><PLU>,<Sprice>
PLU Article number (1 to 999999999).
SPrice Singular price - up to 8 meaningful digits.
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).
- ‘D’ Deleting an item
Syntax: <D><A | PLU | PLU1, PLU2>
A Delete all items with non-zero accumulated sums.
PLU Deletes article with selected number if there are no accumulated sums.
PLU1,PLU2 Deletes the articles within a set interval which do not have accumulated sums.
- ‘R’ Reading Item data
Syntax: <R><PLU>
PLU Item number. 9 digits.
Returns: <P><PLU>,<TaxGr>,<Group>,<SPrice>,<Total>,<Sold>,<Available>,<Name>
PLU Individual number of the item. 9 digits (000000001 to 999999999)
TaxGr Tax group - 1 byte
Group Article group. 2 digits (01 - 99).