EasyManua.ls Logo

Datecs FP-550F - Page 23

Datecs FP-550F
49 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FP-550F 23
The fiscal printer saves the same <CMD> in the return message. If the printer receives
a non-existing code it returns a wrapped message with zero length in the data field and
sets the respective status bit.
<DATA> Data
length: 0-91 bytes for Host to printer
0-84 bytes for Printer to Host.
value: 20H - FFH
The format and length of the field for storing data depends on the command. If the
command has no data the lenth of this field is zero. If there is a syntax error the respec-
tive status bit is established in the data and a wrapped message is returned with zero
field length.
<04> Separator (only for printer-to-Host massages)
Length: 1 byte
value: 04H
<STATUS> The field with the current status of the fiscal device.
length: 6 bytes
value: 80H-FFH
<05> Postamble
length: 1 byte
value:05H
<BCC> Control sum (0000H-FFFFH)
length: 4 bytes
value: 30H-3FH
The sum includes between <01> preamble (excluded) to <05>. Each digit from the
two bytes is sent after 30H is added to it. For example the sum 1AE3H is presented
as 31H, 3AH, 3EH, 33H.
<03> Terminator
length: 1 byte
value: 03H
MESSAGE COMPOSITION, SYNTAX, AND MEANINGS
a) The data field depends on the command.
b) The parameters sent to the printer may be separated with a comma and/or may have
a fixed length.
c) The comma between the parameters shows that it is mandatory.
When the parameters are closed by <> they are mandatory although the brackets them-
selves are not present in the message. When a given parameter is closed in [ ] it is not
mandatory - the bracket themselves are also not present in the message.
The symbols with ADCII codes under 32(20H) have special meanings and their use is
explained whenever necessary. If such a symbol has to be sent for some reason (for
example in an ESCAPE-command to the display) it must be preceded by 16(10H) with
an added offset 40H.

Related product manuals