CATEGORII DOCUMENTE |
Bulgara | Ceha slovaca | Croata | Engleza | Estona | Finlandeza | Franceza |
Germana | Italiana | Letona | Lituaniana | Maghiara | Olandeza | Poloneza |
Sarba | Slovena | Spaniola | Suedeza | Turca | Ucraineana |
2. Command
number 1, 2, 3, 4, 5, 6, 7, 8 , 9
Command |
Description |
PLU sale |
|
PLU refund |
|
Finish sale simulation of TOTAL key pressing |
|
Finish PC ONLINE communication |
|
Payment |
|
PLU void |
|
Surcharge/Discount |
|
Subtotal |
|
Receipt void |
DATA description according to commands:
Command: 1 PLU sale |
|||
No. |
Byte |
Size |
Description |
Name of sale item (ECR internal hexadecimal codes) |
|||
Sales unit assignment range (0 - 7), 8 descriptive PLU |
|||
DPT assignment range (1 8) (1 - 30 for Euro-500T/TX Handy) |
|||
VAT assignment range (1 MAXTAX, MAXTAX means no VAT) |
|||
Item price |
|||
Item quantity |
|||
PLU Database of ECR Index * |
|||
Command 1 |
Note *: Linked
PLU with another one will be sold too.
1.1. The name of PLU item
the name (or text) of the sales item consists of 14 chars (or 20 chars for Euro-2500T) coded by ECR internal hexadecimal codes. The name can contain character 0x00 (0 string ending character this character determines the number of available chars), but all consecutive chars up to 14 have to be 0x00
Note: performing test 200 in P MODE can print hexadecimal code table.
1.2. Sales unit
number from 0 to 7 determines the unit name which will be printed behind quantity information on receipt
number 8 means actual PLU will be sold as descriptive one (PLU ECR Database index should be 0):
PLU name is (in this case only) important, another bytes are ignored
1.3. DTP assignment
number from 1 to 8 (1 - 30 for Euro-500T/TX Handy) determines the assignment to department
1.4. VAT assignment
number from 1 to MAXTAX determines assignment to VAT. If number MAXTAX is set, item will be sold as non-taxable.
1.5. Item price
price -
value must not be negative, zero and more then 99,999,999
Example: if system flag 1 digit 6 is set to 2, a price is 123.50 => 123.50 * 10^2 = 123.50 * 100 = 12350 = 0000303Eh and bytes are placed as follows:
Byte |
Value |
0x3E |
|
0x30 |
|
0x00 |
|
0x00 |
1.6. Item quantity
quantity -
value must not be negative, zero and more then 10,000,000
Example: quantity 1.234 => 1.234 *1000 = 1234 = 000004D2h, bytes are placed in packet as follows:
Byte |
Value |
0xD2 |
|
0x04 |
|
0x00 |
|
0x00 |
1.7. PLU Index in ECR PLU database
index
0 item will be sold PLU name, sale unit, assignment to DPT and VAT, price and quantity will be used in sale
1
MAXPLU item will be sold from ECR PLU database. PLU name and flags are used
from PLU database. Price is used from packet (if more then 0) or from
ECR PLU database if price = 0, quantity is used from packet.
Command: 2 Refund PLU |
|||
No. |
Byte |
Size |
Description |
Name of sale item (internal hexadecimal codes ECR) |
|||
Sale item assignment (0 - 7), 8 descriptive PLU |
|||
DPT assignment (1 8) (1 - 30 for Euro-500T/TX Handy) |
|||
VAT assignment (1 MAXTAX, MAXTAX means no VAT) |
|||
Item price |
|||
Quantity |
|||
Index for ECR PLU database |
|||
Command 2 |
The same item description as command 1
Command: 6 Void PLU |
|||
No. |
Byte |
Size |
Description |
The name of sale item (internal hexadecimal codes of ECR) |
|||
Sales unit assignment range (0 - 7), 8 descriptive PLU |
|||
DPT assignment range (1 8) (1 - 30 for Euro-500T/TX Handy) |
|||
VAT assignment range (1 MAXTAX, MAXTAX means no VAT) |
|||
Item price |
|||
Item quantity |
|||
Index 0 or index of sold item buffer |
|||
Command 6 |
The same item description as for command 1
6.7. Index
index
0 means immediate voiding last item will be voided:
bytes 0 24 are ignored
>0 means index to sold item buffer item
with this index will be voided:
if item was sold using command 1 - index 0 (byte 25,26):
- quantity assignment range, DPT, VAT and price assignment are controlled by
sold item buffer, PLU name and PLU sale unit are not controlled but should be
the same as void item
if adequate item was sold using command 1 - index 1-MAXPLU (byte 25, 26):
- quantity and price (more then 0) is controlled by sold item buffer
Example:
Operation |
Content of sold item buffer |
Number of buffer items |
Result |
|
Index in sold item buffer |
Content |
|||
PLU 1 sale (command 1) |
PLU 1 |
OK |
||
PLU 2 sale (command 1) |
PLU 1 PLU 2 |
OK |
||
PLU 1 void (command 6) item 7 in packet with number 1 |
PLU 2 |
OK |
||
Sale of descriptive PLU 3 (command 1) |
PLU 2 |
OK |
||
PLU 2 voiding (command 6) Item 7 in packet with number 2 |
PLU 2 |
Error |
||
PLU 2 voiding (command 6) item 7 in packet with number 1 |
Empty |
OK |
||
PLU 4 sale (command 1) |
PLU 4 |
OK |
As we can see in this example, void operation decrements and relocate content of sold item buffer in ECR and descriptive PLU are not saved in buffer.
Command: 5 payment |
|||
No. |
Byte |
Size |
Description |
Paid value |
|||
Form of payment |
|||
Flag paid in currency |
|||
max. 20 |
Credit card number |
||
Not used |
|||
Command 5 |
5.1. Paid value
Paid value
Value must not be negative, zero and more then 2.100.000.000
5.2. Form of payment
0 cash
1 check
2 credit (credit card number can be involved item 4)
Note: It is possible to print credit card number only if the system flag 4 number 2 is set.
5.3. Flag: paid in currency
0 paid in base currency
1 paid in second currency
flag make a difference in Euro phase 1, 2 and 3.
5.4. Credit card number
ASCII string contents numbers
ending of string 0 zero byte
Command: 3 finish sale |
|||
No. |
Byte |
Size |
Description |
Not used ignored bytes |
|||
Command 3: Finish sale by simulation of TOTAL key pressing |
Command: 4 Finish ON-LINE communication |
|||
No. |
Byte |
Size |
Description |
Not used ignored byte |
|||
Command 4: Finish PC ONLINE communication sale must be finished by pressing keyboard key |
Note: The conditions for invoking ON LINE mode are: ECR must be in R or T mode, sale started through the keyboard of the ECR before has to be ended before the starting ON LINE communication. Once ON LINE is started, the keyboard of ECR is not functional except the key CLEAR, which cannot be used to abort ON LINE mode. Aborting ON LINE mode it is necessary to end sale through ECR keyboard. After that the next ON LINE transmission can be invoked. Sale in ON LINE mode (command 1, 2 and index 0) is printed in PLU report and it is defined as PC ONLINE text.
Note: Byte numbers in parentheses are for ECR type Euro 2500T
Command: 7 Surcharge/Discount |
|||
No. |
Byte |
Size |
Description |
Surcharge/Discount flag |
|||
Surcharge/Discount type |
|||
Database type |
|||
Percentual value |
|||
Not used |
|||
Command 7 |
7.1. Flag surcharge/discount
0 surcharge will be applied
discount will be applied
Surcharge/Discount type
0 on last sold item
1 on whole subtotal
7.3. Database type
0 percentual value of surcharge/discount will be taken from internal ECR database
1 - percentual value of surcharge/discount will be taken from data in this paket
7.4. Percentual value
Percentual value
Percentual value stored on 2 decimal places. For example 12.00% value will be stored as 1200.
Notes for command 7
only one surcharge/discount is possible on last sold item
after applying surcharge/discount on last sold item, it is not possible to void this surcharge/discount. Only voiding whole item is possible (command 6).
Command: 8 Subtotal |
|||
No. |
Byte |
Size |
Description |
Not used ignored bytes |
|||
Command 8 |
Notes for command 8
this command only shows subtotal value on ECR display and if system flag 4.1 equals 1, prints it on receipt
Command: 9 Receipt void |
|||
No. |
Byte |
Size |
Description |
Not used ignored bytes |
|||
Command 9 |
Politica de confidentialitate | Termeni si conditii de utilizare |
Vizualizari: 723
Importanta:
Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved