background image

Fiscal Printer SYNERGY PF-550 

Where: 

<01> 

Preamble.  

1 byte long. Value: 01H. 

<LEN> 

Number of bytes from <01> preamble (excluded) to <05> (included) plus the fixed offset of 20H. 
Length: 1 byte. Value: 20H - 7FH. 

<SEQ> 

Sequence number of the frame. 

Length : 1 byte. Value: 20H – FFH. 
The fiscal printer saves the same <SEQ> in the return message. If the FP  gets a message with the 
same <SEQ> as the last message received it will not perform any operation, but will repeat the last 
sent message. 

<CMD> 

The code of the command. 

Length: 1 byte. Value: 20H - 7FH.

 

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 length of this field is zero. If there is a syntax error the respective 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 of each byte: 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. 

d) When the parameters are closed by <> they are mandatory although the brackets themselves 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. When parameters are separated by ‘

|

’ symbol, only one of them may present in the input data. 

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.

 

Example

:

 when we write 

2500, 100, Text

 for the data field then in that field there will be 

2D 32 35 30 2C 31 30 30 

2C

 

54 65 78 74

 where each hexadecimal digit is an ASCII value. 

 

 

 

 

 

 

 

Содержание PF-550

Страница 1: ...mands however are related to the starting initialization diagnostics and the generating of reports thus decreasing greatly the number of commands directly engaged with the issuing of receipts and other user s operations As an example may serve the commands which must be sent to the printer to make it generate a fiscal and a non fiscal receipt Only the order numbers of the commands will be presente...

Страница 2: ...ent footer the reg number of the document the quantity of the sales registered and the compulsory elements of any fiscal receipt fiscal logo date and hour serial number of the printer and the reg number of the fiscal memory After sending the command the paper is cut if automatic cutting is enabled The printer is ready for a new document PROGRAM SUPPORT To function normally the program for operatin...

Страница 3: ...fiscal device and the number of the fiscal memory Saves fiscal parameters like the tax registration number the date of entering into exploitation etc Saves information on the owner name and address etc Saves the daily turnover in the fiscal memory and generates a daily report Generating reports on concluded sales and the content of the fiscal memory Dispatching data to the application program TAXA...

Страница 4: ...daily turnover report with clear but it will not be saved into the fiscal memory A tax registration number is also entered but not into the fiscal memory and is subject to change The clearing of the memory does not cause an entry in the fiscal memory The clock may be set arbitrarily E A FISCALIZED PRINTER In this functional status fiscal receipts may be issued and they will be marked fiscal The da...

Страница 5: ...ls 2 0 No paper valid for both paper rolls If the flag is raised during a print related command it will be rejected and the status of the printer will remain unchanged Byte 3 The status of the configuration keys 3 7 Reserved 3 6 Reserved 3 5 Not used 3 4 Not used 3 3 SW4 state Sets the baud rate of the serial port 3 2 SW3 state Enables the transparent display mode 3 1 SW2 state Not used 3 0 SW1 st...

Страница 6: ...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 th...

Страница 7: ...urrent 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 of each byte 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 COMPOSITIO...

Страница 8: ...e fiscal memory from number to number 5FH 95 Short report of the fiscal memory from date to date 6FH 111 Items report INFORMATION TO HOST 3EH 62 Turns back the date and the hour 40H 64 Information on the last fiscal entry 41H 65 Information on daily taxation 43H 67 Information on daily sums 44H 68 Number of free entries in the fiscal memory 4AH 74 Receiving the status bytes 4CH 76 Status of the fi...

Страница 9: ...Fiscal Printer SYNERGY PF 550 46H 70 Office cash in and cash out 47H 71 Print diagnostic information 6AH 106 Drawer kick out ...

Страница 10: ...n of the command P Successful cut off F The automatic cutter has blocked The command causes the cutting off of the printed ready document It must be considered that the program must advance the paper with at least two lines or the document will not be cut off correctly If the printer is in the automatic cut off mode it positions the paper itself and the command becomes redundant When the printing ...

Страница 11: ...ing of the type of currency for use with command 83 53H Sign One byte with a value of Non mandatory Price This is a singular price and it consists 8 meaningful digits Quan A non mandatory parameter setting the quantity of the items for sale By default this is 1 000 The length of this parameter is 8 meaningful digits not more than 3 after the decimal point The result Price Quan is rounded up to the...

Страница 12: ...he accumulated separate sums for each tax group are returned to the PC If a discount or surcharge is entered it is printed out on a separate line and the accumulated sums over the different tax groups are respectively corrected 34H 52 REGISTRATION AND DISPLAY Data field Line Tab TaxCd Sign Price Quan Perc Response None Line A 20 byte string containing a text which describes the sale Tab One byte c...

Страница 13: ...f the tax groups is negative The current subtotal is returned to Amount Amount Up to 9 digits with a sign Depends on PaidCode This command starts the calculation of the sums from the fiscal receipt the printing of the sum with a special font and showing the result on the display An additional text may also be printed When the command has been successfully executed a further command for opening a c...

Страница 14: ...RECEIPT Data field No data Response Allreceipt FiscReceipt Allreceipt All issued receipts from the last daily closure up to the moment FiscReceipt All issued fiscal receipts from the last daily closure up to the moment The accumulated sums from the fiscal receipt are added to the daily sums in the registries of the operational memory The command will not be successful if No fiscal receipt has been...

Страница 15: ...e the normal functioning of the device cannot be resumed The printer s real time clock must always be set correctly especially when more than 14 days have passed from the date of the last executed command 3EH 62 READING CURRENT DATE AND HOUR Data field None Response DD MM YY Space HH MM SS 3FH 63 DISPLAYING THE DATE AND HOUR Data field None Response None Current date and time are displayed on lowe...

Страница 16: ...mance of the daily closure It is printed out at the command 69 45h and at the generation of the daily report without closure from the printer itself At the successful completion of this command the drawer kick out function is automatically activated 47H 71 PRINTING DIAGNOSTIC INFORMATION Data field No data Response None The command initiates the generation of an interior receipt containing diagnos...

Страница 17: ...fiscal operation which has been interrupted on emergency or out of time for example as a result of a power failure 4FH 79 SUMS ACCUMULATED IN THE FISCAL MEMORY FOR A SELECTED PERIOD Data field Start End Response None Start Starting date 6 bytes DDMMYY End End date 6 bytes DDMMYY The command generates the printing out of a short periodic financial report 5AH 90 RETURNS DIAGONSTIC INFORMATION Data f...

Страница 18: ... by 10h Example To send 1Bh 4Bh 00h the data field will have to contain 10h 5Bh 10h 40h 65H 101 SETTING THE OPERATOR S PASSWORD Data field OpCode OldPwd NewPwd Response None OpCode Operator s code 1 to 16 OldPwd Old password 4 to 6 digits NewPwd New password 4 to 6 digits Sets one of the 16 operator s passwords which will be demanded upon opening a fiscal receipt After three erroneous password ent...

Страница 19: ...ng of additional parameters The possible values are P D R F N ErrorCode One byte showing the result from the operation and having the following meaning P A successful command F Unsuccessful command Parameters Data on the command described in detail further on SUBCOMMANDS depending on Option P Programming an item Syntax P TaxGr PLU SPrice Name TaxGr Tax group One byte A B C or D PLU Number of the i...

Страница 20: ... the next fiscal receipt Returns information on the distribution of the daily sum according to the terms of payment used 6FH 111 ITEMS REPORT Data field Option Reponse ErrorCode Option Defines the type of the information under print Possible values 0 Only sold items are printed out The data on these items includes the individual number name singular price as well as the sold quantities and total t...

Страница 21: ...ax groups are returned 3 The tax rates are returned 4 The sums under the different tax groups for a selected time period are returned 5 The net sums under the different tax groups for a selected time period are returned 6 The accumulated taxes during the selected period are returned Closure1 Number of the fiscal entry for references 4 5 and 6 For references 0 1 2 and 3 this field is empty ErrorCod...

Страница 22: ..._ F_ _0 0 P P А Р а р _1 1 A Q a Q Б С б с _2 2 B R b R В Т в т _3 3 C S c S Г У г у _4 4 D T d T Д Ф д ф _5 5 E U e u Е Х е х _6 6 F V f v Ж Ц ж ц _7 7 G W g w З Ч з ч _8 8 H X h x И Ш и ш _9 9 I Y I y Й Щ й щ _A J Z j z К Ъ к ъ _B K k Л Ы л ы _C L l М Ь м ь _D M m Н Э н э _E N n О Ю о ю _F O _ o П Я п я ...

Страница 23: ...ng 47h 71 Print diagnostic info 49h 73 Detailed report of the fiscal memory selected by number of entry 4Ah 74 Read statuses 4Ch 76 Status of the fiscal transaction 4Fh 79 Short report of the fiscal memory selected by date of entry 5Ah 90 Return diagnostic info 5Bh 91 Program serial number country number and Fiscal memory number 5Eh 94 Detailed of fiscal memory selected by date of entry 5Fh 95 Sho...

Отзывы: