Fiscal Printer SYNERGY PF-550
POWER SUPPLY CUT-OFF
The status of the printer at each particular moment is reflected in the so-called “status bytes”. The application
program must get information on the status of the printer when switched ON after a power cut-off. This is performed
by the commands
76 (4AH)
and
103 (67H)
.
The application program must make a decision on the future behavior of the printer depending on its current status.
It is guaranteed that the fiscal memory will not be affected by the power failure as well as that all accumulated sums in
the operational memory of the device will be valid. If the power cut-off has occurred during a printing session, when
switched ON, again the printer will print a line containing the text
“* POWER DROP *”
in an expanded bold type and
will then complete the print.
If power has failed during the printing of a daily report, after switch ON, the device will print the message
REPEAT”
in an expanded bold type and will restart the execution of the command (i.e., printing will be resumed).
ISSUING FISCAL RECEIPTS
A fiscal receipt is first opened, the sales are registered, payment is performed and the receipt is finally closed.
The following commands are used:
48 (30H)
,
49 (31H)
,
51 (33H)
,
52 (34H)
,
53 (35H)
,
54 (36H)
and
56 (38H)
. At
the end of the day a daily financial report and clear are performed in order to enter and save the accumulated
information in the fiscal memory. The function is started with the command
69 (45H)
.
GENERATING REPORTS
Reports are generated singularly by the fiscal printer upon receiving the respective command from the PC. In these
reports the user’s program will not add any changes to the appearance and content of the reports, i.e., they appear
exactly as they have been defined in the fiscal printer. The following commands are used for the generation of reports:
50 (32H)
Report on changes in tax rates and decimal points
69 (45H)
Daily financial report with or without clear
79 (4FH) / 95 (5FH)
Short financial report from date to date /from number to number of the respective fiscal
entries
LOW LEVEL PROTOCOL
A) PROTOCOL TYPE - MASTER (HOST) / SLAVE
The fiscal printer performs the commands sent by the Host and returns messages, which depend on the result.
The fiscal printer cannot instigate asynchronous communications itself. Only responses to commands from the Host
are sent to the Host. These messages are either wrapped or single byte control codes. The fiscal printer maintains the
communication via the RS232 serial connection at baud rates of 19200 and 9600 b/s, 8N1. The baud rate is set by
adjusting the configuration switch SW4.
B) NON-WRAPPED MESSAGES - TIME-OUT
When the transmitting of messages from the Host is normal, Slave answers not later than 60 ms either with a
wrapped message or with a 1 byte code. Host must have 500 ms of time-out for receiving a message from Slave. If
there is no message during this period of time the Host will transmit the message again with the same sequence number
and the same command. After several unsuccessful attempts Host must indicate that there is either no connection to the
fiscal printer or there is a hardware fault.
Non-wrapped messages consist of one byte and they are:
A) NAK 15H
This code is sent by Slave when an error in the control sum or the form of the received message is found. When
Host receives a NAK it must again send a message with the same sequence number.
B) SYN 16H
This code is sent by Slave upon receiving a command which needs longer processing time. SYN is sent every 60
ms until the wrapped message is not ready for transmitting.
C) WRAPPED MESSAGES
a) Host to printer (Send)
<01><LEN><SEQ><CMD><DATA><05><BCC><03>
b) Printer to Host (Receive)
<01><LEN><SEQ><CMD><DATA><04><STATUS><05><BCC><03>