41
BMC ® International FISCAL PRINTER PROGRAMMER’S & OPERATION MANUAL SERBIA FISCAL VERSION 1.00 / 4.00 March, 2004

V100 CAMEL Manual Serbia

Embed Size (px)

Citation preview

Page 1: V100 CAMEL Manual Serbia

BMC® International

FISCAL PRINTER

PROGRAMMER’S& OPERATION

MANUAL

SERBIA FISCALVERSION 1.00 / 4.00

March, 2004

Page 2: V100 CAMEL Manual Serbia

TABLE OF CONTENTS

I. INTERFACE CONNECTION..........................................................................41) REAR SIDE VIEW........................................................................................42) PC COMMUNICATION PORT.....................................................................43) DISPLAY PORT...........................................................................................44) DRAWER KICK PORT.................................................................................4

II. SWITCH OPERATION...................................................................................51. PANEL SWITCH..........................................................................................51-1) Receipt Feed............................................................................................51-2) Journal Feed.............................................................................................51-3) Recovery after Paper End........................................................................51-4) System Self-Test......................................................................................51-5) Print Font Pattern & Software Version......................................................51-6) Panel Key Usage During Transaction.......................................................51-7) Fiscal Function Mode................................................................................62. SWITCH ON MPU BOARD..........................................................................72.1) System Reset without Memory Clear, Type “Н”........................................72.2) System Reset with Working Memory Clear, Type “П”..............................72.3) System Reset with Database Clear and Auto Programming, Type “Б”.. . .72.4) System Reset with Working Memory and Database Clear, Type “Ц”.......73. POWER SWITCH.........................................................................................7

III. COMMAND COMMUNICATION PROTOCOL..............................................81. Basic.............................................................................................................82. Control code.................................................................................................83. Command Communication Sequence.........................................................9

1-1) Status 1 Read........................................................................................91-2) Status 2 Read......................................................................................102) Basic.......................................................................................................113) Up loading command sequence.............................................................114) Command Control...................................................................................125) Command Sequence..............................................................................145-1) Transaction Command Sequence.......................................................145-2) Fiscal Initiation Command Sequence..................................................15

4. COMMAND FORMAT DETAIL..................................................................161) Fiscal Printer Open.................................................................................162) Fiscal Printer Closing..............................................................................163) Log On Clerk...........................................................................................164) Log Off Clerk...........................................................................................165) Item Sales & Void Item Sales Transaction..............................................176) Display subtotal without print..................................................................177) Media Direct Closing...............................................................................188) Media Tendering.....................................................................................189) Paid Out, Received On Account.............................................................1810) P/O, R/A Total.......................................................................................1811) No Sale ( Drawer Opening ).................................................................1812) Restart After Error or Paper End..........................................................1813) Text Printing..........................................................................................1914) Direct Drawer Open..............................................................................19

2

Page 3: V100 CAMEL Manual Serbia

15) Test Pattern Printout.............................................................................1916) Self Test & Report.................................................................................1917) Information Read S1 (General).............................................................1918) Information Read S2 (Current Transaction)..........................................2019) Information Read S3 (Preset Data)......................................................2020) Programming........................................................................................21

Programming Tax Payer Code.............................................................21Save Tax Payer Code Into Fiscal Memory..............................21

Programming Machine Fiscal ID..........................................................21Save Machine Fiscal ID Into Fiscal Memory............................21

Programming Tax Rate........................................................................21Save Tax Rate Into Fiscal Memory..........................................21

Fiscal Initiation......................................................................................21Programming Shop Name....................................................................22Programming Printer #.........................................................................22Programming Clerk Secret Code & Name............................................22Change Winter/Summer Time +/– 1 Hour ...........................................22Programming Time...............................................................................22Programming Date...............................................................................22Programming Commercial Message....................................................22Programming Measurement Unit Name...............................................23Add/Modify PLU Item to Database.......................................................23Delete PLU Item(s) from Database......................................................23Programming System Function Flag....................................................24System Function Flag Details...............................................................24

21) Programming Dump.............................................................................2622) Date & Time Display............................................................................2623) Message Display..................................................................................2624) Transaction & Database Report Commands........................................2725) Fiscal Reading Report..........................................................................28

IV. CHARACTER CODE TABLE......................................................................29

3

Page 4: V100 CAMEL Manual Serbia

I. INTERFACE CONNECTION

1) REAR SIDE VIEW

2) PC COMMUNICATION PORT

9 pin D-sub female

1. DCD (not used)3. TXD (OUT)5. S.G.7. RTS (OUT)9. (not used)

2. RXD (IN)4. DTR (OUT)6. DSR (not used)8. CTS (IN)

When CTS input is active, Fiscal Printer sets DTR output active, indicating that Printer is ready to communicate.When CTS input is inactive, Fiscal Printer will turn DTR to inactive; the communication will be stopped.

RTS output active state indicates that Fiscal Printer is able to execute the next command.RTS output inactive state indicates Fiscal Printer busy state (printing report etc.).

3) DISPLAY PORT

9 pin D-sub male

1. NC3. TXD (OUT)5. S.G.7. NC9. NC

2. RXD (IN)4. NC6. NC8. CTS (IN)

4) DRAWER KICK PORT

1. +24 V (1 A max)2. GND 3. /DRIVE

4

Display Port

PC Communication Port Drawer Port

2

5

43

1

6

Page 5: V100 CAMEL Manual Serbia

4. GND 5. SENSOR 6. N C

5

Page 6: V100 CAMEL Manual Serbia

II. SWITCH OPERATION1. PANEL SWITCH

1-1) RECEIPT FEED.................................................................................................. [RF]This key is effective for paper feed both outside and during transaction.

1-2) JOURNAL FEED.................................................................................................[JF]This key is effective for paper feed both outside and during transaction.

1-3) RECOVERY AFTER PAPER END......................................................................[F2]This key is effective for recovery both outside and during transaction.

1-4) SYSTEM SELF-TEST...............................................................................[F2] + [JF]1. Keep pushing [F2] and [JF] keys for 3 seconds to start Fiscal Printer hardware self-test.2. Test starts by 3 pip tone buzzer.3. Drawer will be opened (if connected).4. RAM, Clock, PC Port and Fiscal Memory check will be performed.5. PC Port test requires the loop-back connector with the two pairs of pins short:

2 (RXD) – 3 (TXD), and 4 (DTR) – 8 (CTS)6. Result of test will be printed in the report:

********************************** RAM TEST OK CLOCK TEST OK LOOPBACK TEST OK FM TEST NG ( 2) REMAINING 1998 VAT CHANGE 1 SYSTEM RESET 6**********************************

1-5) PRINT FONT PATTERN & SOFTWARE VERSION.................................[F2] + [F1]Keep pushing [F2] and [F1] keys for 3 seconds to print test pattern (character set) and software version number.

1-6) PANEL KEY USAGE DURING TRANSACTION[RF] and [JF] keys are effective for paper feed both outside and during transaction.[F1] key is ineffective during transaction.[F2] key is effective only for recovery after paper end both outside and during transaction.Any other key combination is ineffective during transaction.

6

RF JF F1 F2

Page 7: V100 CAMEL Manual Serbia

1-7) FISCAL FUNCTION MODE..........................................................[F2] + [RF] [JF]Keep pushing [F2] + [RF] keys (for at least 7 sec) until the short buzzer sounds 3 times. Then without releasing the two keys, push [JF] key, and keep pushing the three keys for another 7 sec, until the buzzers sounds again 3 times. Then the Fiscal Printer turns into Fiscal function mode. While in this mode, Fiscal Printer will not recognize any command from the PC port.Three functions are available:

[JF] Exit from Fiscal Function Mode

[F1] Issue Daily Z1 Report

[F2] Issue Fiscal Reading ReportYou can stop printing the report by pressing [F1] and [F2].

7

Page 8: V100 CAMEL Manual Serbia

2. SWITCH ON MPU BOARD

2-1) SYSTEM RESET WITHOUT MEMORY CLEAR, TYPE " Н "A) Slide Dip Switch 1 & 2 both to OFF position.B) While depressing the Tact Switch, turn the Power ON.Machine will be reset. Current transaction receipt buffer will be cleared. All the other (program and report) data in RAM will be safe.

2-2) SYSTEM RESET WITH WORKING MEMORY CLEAR, TYPE " П "A) Slide Dip Switch 1 to ON position, Dip Switch 2 is OFF.B) While depressing the Tact Switch, turn the Power ON.Machine will be reset. Current transaction receipt buffer, daily sales totals and counters in RAM will be cleared. Accumulated fiscal data will be recovered from the fiscal memory.

2-3) SYSTEM RESET WITH DATABASE CLEAR AND AUTO PROGRAMMING, TYPE " Б "A) Slide Dip Switch 1 to OFF position, Dip Switch 2 is ON.B) While depressing the Tact Switch, turn the Power ON.Machine will be reset. Current transaction receipt buffer will be cleared. PLU Database will be all cleared. Default programming data will be preset

2-4) SYSTEM RESET WITH WORKING MEMORY AND DATABASE CLEAR, TYPE " Ц "A) Slide both Dip Switches 1 and 2 to ON position.B) While depressing the Tact Switch, turn the Power ON.Machine will be reset. This is a combination of types 2-3 and 2-4.

Note 1. System Reset record, with current Z counter, date and time, and type of reset, will be written into the Fiscal Memory.

Note 2. It is necessary to turn both Dip Switches to OFF position immediately after performing any of above operations.

Note 3. Maximum number of all System Reset operations, during the Machine life after Fiscal Mode initiation, is limited to 50. An attempt of 51-st System Reset operation will result in the Fiscal Printer blocked: no operation is available except Periodic report.

3. POWER SWITCHWhen Power switch is turned ON, the Fiscal Printer compares Machine Fiscal ID in the Fiscal memory and RAM memory. Fiscal Printer is not ready to execute any command operation during this checking. After this checking is finished, short buzzer sounds 2 times. If error is detected, the Fiscal Printer becomes blocked.

8

Tact Switch

Printer Connector

Dip Switch 1,2

MPU Board

Page 9: V100 CAMEL Manual Serbia

III. COMMAND COMMUNICATION PROTOCOL

1. BASIC

When the CTS signal is active, the DTR signal is set to active and Fiscal Printer is ready to communicate.

Method:..........A sync serialSpeed:...........9600 bps Data:..............8 bit even parity 1 stop bit

2. CONTROL CODE

STX = 02hENQ = 05hETX = 03hACK = 06hEOT = 04hENQ2 = 11hNAK = 15hLRC = Exclusive OR from DATA TO ETX

STX DATA ETX LRC

Exclusive OR

When the following condition is satisfied, ACK will be sent back to PC.*LRC and data format OK*COMMAND is acceptable*COMMAND job has been operated

9

Page 10: V100 CAMEL Manual Serbia

3. COMMAND COMMUNICATION SEQUENCE

1-1) Status 1 Read

Console side F.P. sideENQ STX – STS1 – STS2 – ETX – LRC

STATUS 1:STX STS1 STS2 ETX LRC

1 2 3 4 5

STS1 = 0 1 x x x x x x (1 byte)--------------------0 1 x x x x x 1 ( in fiscal transaction )0 1 x x x x 1 x ( in non fiscal transaction )0 1 x x x 1 x x ( busy / buffer full )0 1 x x 1 x x x ( fiscal memory full )0 1 x 1 x x x x ( fiscal memory near full )0 1 1 x x x x x ( fiscal mode )

STS2 = 0 1 x x x x x x (1 byte)--------------------ERR 60h0 1 1 0 1 1 x x ( fiscal memory full )0 1 1 0 0 1 x x ( fiscal memory error )0 1 1 0 0 0 x x ( fiscal error )

ERR 50h0 1 0 1 1 1 x x ( invalid command / command format error)0 1 0 1 1 0 x x ( not assigned clerk )0 1 0 1 0 1 x x ( invalid tax )0 1 0 1 0 0 x x ( invalid value / over limitation)

ERR 43h0 1 x x x x 1 x ( printer / display error )0 1 x x x x x 1 ( paper end )0 1 0 0 0 0 0 0 ( no error )

NOTE:STS1,bit 2 = 1 (busy) Previous command/data should be sent againSTS2 > 43h Previous command/data should be sent againSTS2 60h Clear error command should be sent, then

previous command/data should be sent again40h < STS2 43h Restart command or next command/data should be sent

10

Page 11: V100 CAMEL Manual Serbia

1-2) Status 2 Read

Console side F.P. sideENQ2 (11h) STX – STS3 –STS4 – ETX – LRC

STATUS 2:STX STS3 STS4 ETX LRC

1 2 3 4 5

STS3 = 0 1 x 0 0 0 0 x (1 byte)--------------------0 1 x 0 x x 0 1 ( FP Open )0 1 x 0 x 1 0 x ( Printer Failure Error )0 1 x 0 1 x 0 x ( Drawer Sensor Short )0 1 1 0 x x 0 x ( Shop Name Not Preset )

STS4 = 0 1 0 0 0 0 0 0 (1 byte) – not used--------------------

11

Page 12: V100 CAMEL Manual Serbia

2) Basic

Console side F.P. sideSTX-CMD1-DATA-ETX-LRC

ACKSTX-CMD2-DATA-ETX-LRC

NAK(communication error)STX-CMD2-DATA-ETX-LRC

ACKSTX-CMD3-DATA-ETX-LRC

ENQ (command error or status error)ACK

STX-ST1-ST2-ETX-LRCSTX-CMD4-DATA-ETX-LRC

ACKSTX-CMD5-DATA-ETX-LRC

x–

4 sec. MAX(time-out / no answer)

ENQ STX- STATUS - ETX -LRC

case 1: STS2 50hSTX-CMD5-DATA-ETX-LRC

ENQACK

STX-ST1-ST2-ETX-LRC

case 2: 40h < STS2 43hSTX-CMD6-DATA-ETX-LRC

ENQACK

STX-ST1-ST2-ETX-LRCSTX-Restart-ETX-LRC

ACK / NAK / ENQ

3) Up loading command sequence

Console side F.P. sideSTX-CMD1-DATA-ETX-LRC

ENQACK

STX-DATA0-ETB-LRCACK

STX-DATA2-ETB-LRC

ACK STX-DATAn-ETX-LRC

ACK EOT

12

Page 13: V100 CAMEL Manual Serbia

4) Command Control

CMD HEX SUB OPERATION20h-28h Item Sale (Taxable 1-9)A0h-A8h Item Void (Taxable 1-9)

‘ 0 ’ 30h No Sale‘ 1 ’ 31h Media Direct Closing‘ 2 ’ 32h Media Tendering‘ 4 ‘ 34h Display subtotal without print‘ 5 ’ 35h Log On Clerk‘ 6 ’ 36h Log Off Clerk‘ 8 ’ 38h Text Printing‘ 9 ’ 39h Paid Out, Received On Account‘ E ‘ 45h Self Test & Report‘ P ’ 50h ‘ A ’ Programming Tax Payer Code

‘ a ’ Save Tax Payer Code Into Fiscal Memory‘ B ‘ Programming Machine Fiscal ID‘ b ‘ Save Machine Fiscal ID Into Fiscal Memory‘ E ’ Programming Shop Name‘ C ’ Programming Clerk Secret Code & Name‘ D ’ Change Time +/– 1 hour‘ F ’ Programming Time‘ G ’ Programming Date‘ H ‘ Programming Commercial Message‘ K ‘ Programming Measurement Unit Name‘ J ’ Programming System Function Flag‘ M ’ Fiscal Initiation‘ N ’ Programming Printer #‘ T ’ Programming Tax Rate & Save Into Fiscal Memory

‘ S ’ 53h ‘ 1 ‘ Information Read (General Data)‘ 2 ‘ Information Read (Current Transaction Data)‘ 3 ‘ Information Read (Preset Data)

‘ I ’ 49h E0h ‘X’ Issue Cut Off Report ‘Z’ Issue Daily Report ‘P’ Issue Database Report

EEh Issue Periodic Report (by Date)EFh Issue Fiscal Memory Report (by Z counter)

‘ U ’ 55h EEh Upload Periodical Report (by Date)EFh Upload Fiscal Memory Report (by Z counter)

‘P’ Upload PLU database‘ d ‘ 64h Programming Dump‘ e ’ 65h Restart‘ h ’ 68h Date & Time Display‘ i ‘ 69h Message Display‘ o ’ 6Fh Fiscal Printer Open‘ s ‘ 73h Delete PLU item(s) from database‘ t ’ 74h Paid Out Total, Received On Account Total‘ u ‘ 75h Add/Modify PLU item to database

13

Page 14: V100 CAMEL Manual Serbia

‘ w ‘ 77h Direct Drawer Open‘ x ’ 78h Test Pattern Print‘ z ’ 7Ah Fiscal Printer Close

14

Page 15: V100 CAMEL Manual Serbia

5) Command Sequence

5-1) Transaction Command Sequence

15

Log On Clerk

FP Open

Item Sale

Item Void Media Tendering

Direct Closing

Log Off Clerk

Received Acc / Paid Out

Daily Z Report

Cut Off Report

Periodic Report

FP Close

RA / PO Closing

Page 16: V100 CAMEL Manual Serbia

5-2) Fiscal Initiation Command Sequence

Fiscal Initiation requires the following operation sequence.

1 SYSTEM RESET

2

3

‘PA’

‘PB’

Program Tax Payer Code

Program Machine Fiscal ID

4

5

‘Pa’

‘Pb’

Write Tax Payer Code into FM

Write Machine Fiscal ID into FM

6

7

‘PF’

‘PG’

Program Time (optional)

Program Date (optional)

8 ‘PMFS’ Fiscal Mode Start

9

10

‘PT’

‘PE’

Program & Save Tax Rates (optional)

Program Shop Name (optional)NOTE. 1. The sequence of operations (before Fiscal Mode Start) is arbitrary.2. After writing into the fiscal memory (steps 4,5), correction of data is impossible.3. It is recommended to program time & date (steps 6,7) before Fiscal Mode Start.4. After Fiscal Start, transaction entries are prohibited until Tax Rates are programmed and

saved into the fiscal memory (step 9).5. Transaction entries are prohibited until Shop Name is programmed (step 10).

16

Page 17: V100 CAMEL Manual Serbia

4. COMMAND FORMAT DETAIL

1) Fiscal Printer OpenThis command should be executed before the first transaction.

STX ‘o’ PR# CLERK SECRET# ETX LRC1 2 3 4 5 6 7 8 9 10 11

A) PR# Printer # 01 - 99B) CLERK SECRET# 00000 - 99999

2) Fiscal Printer CloseIf this command is executed without issuing Daily Z1 Report, it will be issued automatically, provided the daily transaction data are non-zero. Daily report data will be written into Fiscal memory. After that all DAILY REPORT DATA will be cleared.

STX ‘ z ‘ ‘ z’ ETX LRC1 2 3 4 5

3) Log On ClerkThis command is effective only after FP open, not effective within transaction.

STX ‘5’ CLERK SECRET # ETX LRC1 2 3 4 5 6 7 8 9

CLERK SECRET #: 00000 - 99999

4) Log Off ClerkThis command is effective only after FP open, provided clerk is already logged on.It is not effective within transaction.After this operation, transaction entries are blocked.

STX ‘ 6 ‘ ETX LRC1 2 3 4

17

Page 18: V100 CAMEL Manual Serbia

5) Item Sales & Item Void Transaction

STX CMD UNIT PRICE QUANTITY MSR1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

DESCRIPTOR (35 characters) INDEX ETX LRC21 22 - - - - - 54 55 56 57 58 59 60 61 62

A) CMD 20h – 28h...Sale Item, Linked Tax ( 1 – 9 ) respectively.A0h – A8h..Void Item, Linked Tax ( 1 – 9 ) respectively.

B) Unit price ASCII code: Fixed 6 full digits and 2 decimals10.00 ----> 30h,30h,30h,30h,31h,30h,30h,30h

C) Quantity ASCII code: Fixed 5 full digits and 3 decimals12345.678 ----> 31h,32h,33h,34h,35h,36h,37h,38hThe following values are allowed: Printout0000N 000 Leading zeroes will be ignored 5x000NN 000 Leading zeroes will be ignored 45x00NNN 000 Leading zeroes will be ignored 345x0NNNN 000 Leading zero will be ignored 2345xNNNNN xxx 3 decimals “xxx” will be ignored 12345x0NNNN xxx 3 decimals “xxx” will be ignored 2345x00NNN Nxx 2 last decimals “xx” will be ignored 123.4x000NN NNx 1 last decimal “x” will be ignored 12.34x0000N NNN 3 decimals will be accepted 1.234x

D) MSR ASCII code: Measurement Unit Number 00-09As default, the following measurement units are used:01 g (gram); 02 kg (kilogram);03 t (ton); 04 l liter);05 m (meter); 06 m2 (square meter);07 m3 (cubic meter);08-09 blank (reserved for user choice).

E) Index ASCII code: 5 full digits from 00000 to 99999. It is database index00120 ----> 30h,30h,31h,32h,30h

If the Index is registered for the first time, this item will be added to database.Further, the Tax, Measurement Unit and Descriptor should be same.If not equal, then Fiscal Printer will respond with error.Maximum number of sales entries within one transaction is 250. After transaction buffer is full it is allowed to void items and/or to close the receipt.With standard 128 Kb memory, and default descriptor length of 35 characters, the max index is 02448. Please refer to Technical Manual for optional upgraded memory size.

6) Subtotal Print

STX ‘3’ ETX LRC1 2 3 4

18

Page 19: V100 CAMEL Manual Serbia

7) Media direct closing

STX ‘ 1 ‘ MEDIA# ETX LRC1 2 3 4 5

MEDIA # ‘1’ ( 31h ) = CARD‘6’ ( 36h ) = CHECK‘8’ ( 38h ) = CASH

8) Media Tendering

STX ‘ 2 ’ MEDIA# TENDERING AMOUNT ETX LRC1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

MEDIA # ‘1’ ( 31h ) = CARD‘6’ ( 36h ) = CHECK‘8’ ( 38h ) = CASH

9) Paid Out, Received On Account

STX ‘ 9 ’ PR MEDIA# AMOUNT ETX LRC1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

PR: ’0’ (30H).......PAID-OUT’1’ (31H).......RECEIVED ON ACCOUNT

10) P/O, R/A TotalThis command issues P/O, R/A receipt.

STX ‘ t ’ ETX LRC1 2 3 4

11) No Sale ( Drawer Opening )A drawer will be opened and a no-sale receipt will be printed.

STX ‘ 0 ’ ETX LRC1 2 3 4

12) Restart After Error or Paper EndRelease error condition, process data in buffer memory, display last correct command.

STX ‘ e ‘ ETX LRC1 2 3 4

19

Page 20: V100 CAMEL Manual Serbia

13) Text Printing

STX ‘8’ STS PRINT MESSAGE (40 characters) ‘1’ ETX LRC1 2 3 4 5 - - - - 42 43 44 45 46

STS..............’0’ (30H) normal: print one line and continue......................‘1’ (31H) finish: print one line & non fiscal receipt closing.

14) Direct Drawer OpenA drawer will be opened without printing a receipt (can be used before or within transaction).

STX ‘ w ‘ ETX LRC1 2 4 5

15) Test Pattern Printout

STX ‘ x ‘ ETX LRC1 2 4 5

16) Self Test & ReportAfter testing the hardware (RAM, Clock, Port and Fiscal Memory), a status report is issued.

STX ‘ E ‘ ETX LRC1 2 4 5

17) Information Read S1 (General)

STX ‘ S ’ ‘ 1 ’ ETX LRC1 2 3 4 5

ANSWERSTX ‘ S ’ ‘ 1 ’ DATA (81 bytes) ETX LRC

1 2 3 4 - - - - - 84 85 86NOTE. After ANSWER received, PC should send ACK to F.P.

DATA DETAILSBYTE ITEM (ASCII) DELIMITER

From To Size Code Byte4 5 2 ASSIGNED CLERK NUMBER 0Ah 67 19 13 SIGN + DAILY SALES TOTAL 0Ah 20

21 28 8 LAST FISCAL RECEIPT COUNTER 0Ah 2930 33 4 FISCAL Z REPORT COUNTER 0Ah 3435 42 8 NON-FISCAL RECEIPT COUNTER 0Ah 4344 51 8 CONSECUTIVE COUNTER 0Ah 5253 61 9 TAX PAYER CODE 0Ah 6263 70 8 MACHINE FISCAL ID 0Ah 7172 77 6 CURRENT TIME hh:mm:ss 0Ah 7879 84 6 CURRENT DATE dd:mm:yy 0Ah 84

20

Page 21: V100 CAMEL Manual Serbia

18) Information Read S2 (Current Transaction)

STX ‘ S ’ ‘ 2 ’ ETX LRC1 2 3 4 5

ANSWERSTX ‘ S ’ ‘ 2 ’ DATA (32 bytes) ETX LRC

1 2 3 4 - - - - - 35 36 37NOTE. After ANSWER received, PC should send ACK to F.P.

DATA DETAILS BYTE ITEM (ASCII) DELIMITER

From To Size Code Byte4 13 10 TRANSACTION TOTAL 0Ah 14

15 24 10 TRANSACTION TAX TOTAL 0Ah 2526 28 3 ITEM COUNT 0Ah 2930 32 3 PAYMENT COUNT 0Ah 3334 34 1 TRANSACTION STATUS 0Ah 35

TRANSACTION STATUS:‘0’ (30H) = Out of transaction (receipt closed)‘1’ (31H) = Sales transaction open: before tendering‘2’ (32H) = Sales transaction open: after tendering‘3’ (33H) = R/A or P/O transaction open‘4’ (34H) = Text printing receipt open

19) Information Read S3 (Preset Data)

STX ‘ S ’ ‘ 3 ’ ETX LRC1 2 3 4 5

ANSWER

STX ‘ S ’ ‘ 3 ’ DATA (86 bytes) ETX LRC1 2 3 4 - - - - - 89 90 91

NOTE. After ANSWER received, PC should send ACK to F.P.

DATA DETAILSBYTE ITEM (ASCII) DELIMITER

From To Size Code Byte4 7 4 TAX RATE 1 0Ah 89 12 4 TAX RATE 2 0Ah 13

14 17 4 TAX RATE 3 0Ah 1819 22 4 TAX RATE 4 0Ah 2324 27 4 TAX RATE 5 0Ah 2829 32 4 TAX RATE 6 0Ah 3334 37 4 TAX RATE 7 0Ah 3839 42 4 TAX RATE 8 0Ah 4344 47 4 TAX RATE 9 0Ah 4849 88 40 SYSTEM FUNCTION FLAGS 0Ah 89

21

Page 22: V100 CAMEL Manual Serbia

20) PROGRAMMING

Programming Tax Payer Code

STX ‘P’ ‘A’ Tax Payer Code (9 characters) ETX LRC1 2 3 4 5 6 7 8 9 10 11 12 13 14

Save Tax Payer Code into Fiscal Memory

STX ‘P’ ‘a’ ETX LRC1 2 3 4 5

Programming Machine Fiscal ID

STX ‘P’ ‘B’ Fiscal ID (8 characters) ETX LRC1 2 3 4 5 6 7 8 9 10 11 12 13

Save Machine Fiscal ID Into Fiscal Memory

STX ‘P’ ‘b’ ETX LRC1 2 3 4 5

Programming Tax Rate & Save Into Fiscal Memory(available max. 30 times)

STX ‘P’ ‘T’ TAX 1 TAX 2 TAX 3 TAX 41 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

TAX 5 TAX 6 TAX 7 TAX 8 TAX 9 ETX LRC20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41Example: Tax rate 12.34% is set as 31h, 32h, 33h, 34h

Not used tax should be set as FFh,FFh,FFh,FFhIn fiscal mode, tax rates are automatically saved into the fiscal memory immediately after this command.

Fiscal InitiationBefore this command:a) Transaction memory data must be zero (by Daily Z Report), andb) Tax Payer Code, Machine Fiscal ID must be programmed and saved into fiscal memory.FISCAL MODE will starts by this command.

STX ‘P’ ‘ M’ ‘ F’ ‘S’ ETX LRC1 2 3 4 5 6 7

Tax rates will be cleared after Fiscal initiation. Need to be programmed before start sales.

22

Page 23: V100 CAMEL Manual Serbia

Programming Shop NameWithout Shop Name programmed, it is prohibited to start sales transactions.STX ‘P’ ‘E’ LN MESSAGE (35 characters + 5 spaces) ETX LRC

1 2 3 4 5 6 - - - - - 43 44 45 46LN...... LINE NUMBER( 1 - 3): 31h - 33h

Programming Printer #Printer # ID is used to identify the machine # at Fiscal printer open.

STX ‘P’ ‘N’ PRINTER# ETX LRC1 2 3 4 5 6 7

Programming Clerk Secret Code & Name

STX ‘P’ ‘C’ CLK# SECRET CODE CLERK NAME (16 characters) ETX LRC1 2 3 4 5 6 7 8 9 10 11 12 - - - - - 25 26 27 28

CLERK# 1 ~ 15 (30h,31h ~ 31h,35h), SECRET CODE ‘00000’-‘99999’

Change winter/summer time +/– 1 hour

STX ‘P’ ‘D’ Dir ETX LRC1 2 3 4 5 6

Change +/– 1 hour ( 1 – 23 hour )Dir ( direction ) ‘0’ – increment one hour

‘1’ – decrement one hour

Programming Time

STX ‘P’ ‘F’ Hh Mm ss ETX LRC1 2 3 4 5 6 7 8 9 10 11

It is allowed for authorized service man only by opening the cabinet and setting any of DIP switches 1 or 2 to ON.

Programming Date

STX ‘P’ ‘G’ dd mm yy ETX LRC1 2 3 4 5 6 7 8 9 10 11

Programming of the date is allowed only after Daily Z Report.Programming of the date earlier than last date in the fiscal memory is prohibited.If the date is changing further for 2 or more days, then the first time the FP answers “error”. Then repeat the command to confirm the new date.

Programming Commercial Message

STX ‘P’ ‘H’ LN MESSAGE (35 characters + 5 spaces) ETX LRC1 2 3 4 5 6 - - - - - 43 44 45 46

LN...... LINE NUMBER 1 - 8 (31h - 38h)It is not allowed to set the full line of “separator” characters “– – –“ or “===”.Programming Measurement Unit Name (2 char)

23

Page 24: V100 CAMEL Manual Serbia

STX ‘P’ ‘K’ UNIT # DESCRIPTOR (2 characters + 12 spaces) ETX LRC1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

UNIT# 115-123 correspond to Measurement Unit numbers 01-09.It is only allowed after Daily Report.

Add/Modify PLU Item to Database

STX ‘u’ Index Tax Msr Price DESCRIPTOR ETX LRC1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 - - - 51 52 53 54

Index ASCII code: 5 full digits from 00000 to 99999. It is database indexTax ASCII code: Linked Tax 1-9.MSR ASCII code: Measurement Unit Number 1-9Price ASCII code: Fixed 6 full digits and 2 decimalsDescriptor ASCII code: 35 characters.

If database record is empty, new PLU is added, otherwise it is modified (updated).Before Daily Report it is only allowed to add new PLU or change the price.After Daily Report it is allowed to modify Tax, Unit and Descriptor.

Delete PLU Item(s) from Database

STX ‘s’ Index “FROM” Index “TO” ETX LRC1 2 3 4 5 6 7 8 9 10 11 12 13 14

Index “FROM/TO”: ASCII code: 5 full digits from 00000 to 99999.

It is only allowed after Daily Report.It is not allowed to delete all the database.If “FROM” = “TO”, then only one PLU item is deleted.If “FROM” < ”TO”, then a series of PLU items will be deleted.If “FROM” > ”TO”, then error.

24

Page 25: V100 CAMEL Manual Serbia

Programming System Function Flag

STX ‘P’ ‘J’ FLAG# FLAG (hex) ETX LRC1 2 3 4 5 6 7 8 9

FLAG # 01...10FLAG(hex) 00h...FFh : ‘0’’0’ (30h,30h) --’F’’F’(46h,46h)

This command is effective only before FP opening, after Daily Z Report.

SYSTEM FUNCTION FLAG DETAILS

FLAG BIT 0 1PF 1 7

65

DECIMAL 43210

PF 2 765

Q’TY 4321 0 QTY Calculation 0 QTY Calculation 1 QTY Calculation0 0 Round Down 1 4/5 0 Round Up

PF 3 7 Display OFF Display ON / RESET65 EPSON BIRCH

DISPLAY 4CUTTER 3

210 Partial Paper Cut Full Paper Cut

PF 4 76

RECEIPT 5FORMAT 4

3210

25

Page 26: V100 CAMEL Manual Serbia

FLAG BIT 0 1PF 5 7

6NOT 5

USED 43210

PF 6 7 Media 8 not open drawer Media 8 open drawer6 Media 7 not open drawer Media 7 open drawer

DRAWER 5 Media 6 not open drawer Media 6 open drawer4 Media 5 not open drawer Media 5 open drawer3 Media 4 not open drawer Media 4 open drawer2 Media 3 not open drawer Media 3 open drawer1 Media 2 not open drawer Media 2 open drawer0 Media 1 not open drawer Media 1 open drawer

PF 7 76 Report issued if daily data > 0 Issued always at FP close

DAILY 5REPORT 4

3210

PF 8 765

N = 0 – 27PLU name size = (N + 8)

Max. PLU index = Round ( 8192 / (N + 13) ) x 12

PLU 4NAME 3SIZE 2

10

PF 9 7 Tendering prohibited by media 8 Permitted6 Tendering prohibited by media 7 Permitted

MEDIA2 5 Tendering prohibited by media 6 Permitted4 Tendering prohibited by media 5 Permitted3 Tendering prohibited by media 4 Permitted2 Tendering prohibited by media 3 Permitted1 Tendering prohibited by media 2 Permitted0 Tendering prohibited by media 1 Permitted

26

Page 27: V100 CAMEL Manual Serbia

FLAG BIT 0 1PF 10 7

65

MISC 43210 Closing prohibit if total is zero Don’t care

21) PROGRAMMING DUMP

STX ‘d’ ETX LRC1 2 3 4

The following items are printed.1. Current Tax Rate 1...92. Currently programmed clerk 1..163. System Function Flags4. Measurement Unit Names 01...09

22) DATE & TIME DISPLAY

STX ‘h’ ETX LRC1 2 3 4

23) MESSAGE DISPLAY

STX ‘ i ’ ‘ U ‘‘ L ‘

MESSAGE (20 characters) ETX LRC

1 2 3 4 5 - - - - - 22 23 24 25

LINE: ‘ U ‘ (55h).....Upper Display Line‘ L ‘ (4Ch).....Lower Display Line

27

Page 28: V100 CAMEL Manual Serbia

24) TRANSACTION & DATABASE REPORT COMMANDS

STX CMD KIND MODE ETX LRC1 2 3 4 5 6

CMD KIND MODE OPERATION

‘ I ’ (49h) E0h‘ X ‘‘ Z ‘‘ P ‘

Issue CUT OFF Report Issue DAILY Report Issue DATABASE Report

‘ U ‘ (55h) EFh ‘ P ‘ Upload DATABASE

ANSWER to UPLOAD (1 Block 58 bytes)

STX DATA (55 bytes) ETBETX

LRC

1 2 - - - - - 56 57 58

DATA DETAILS

BYTE ITEM (ASCII) DELIMITER

From To Size Code Byte

2 6 5 Index 0Ah 7

8 8 1 Tax (1-9) 0Ah 9

10 10 1 Measurement Unit (1-9) 0Ah 11

12 19 8 Price 0Ah 20

21 55 35 Descriptor 0Ah 56

NOTE. After ANSWER received, PC should send ACK to FP.

28

Page 29: V100 CAMEL Manual Serbia

25) FISCAL READING REPORT

BY DATE (Periodic Report)STX CMD KIND MODE DAY MONTH YEAR DAY MONTH YEAR ETX LRC

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18<------- from date -------> <-------- to date --------->

BY Z-COUNTER (Fiscal Memory Report)STX CMD KIND MODE ‘0’ ‘0’ START Z counter ‘0’ ‘0’ END Z counter ETX LRC

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

CMD: ‘I’ (49h).......ISSUE'U' (55h).....UPLOAD (only Full Report by Z counter)

with KIND = EFh, MODE = ‘A‘.

KIND: EEh............Periodical Report ( by Date) EFh............Fiscal Memory Report ( by Z counter)

MODE: ‘A’ (41h).....FULL'S' (53h).....SUMMARY

ANSWER to UPLOAD (1 Block 165 bytes)

STX DATA (161 bytes) ETBETX

LRC

1 2 - - - - - 163 164 165

DATA DETAILSBYTE ITEM (ASCII) DELIMITER

From To Size Code Byte2 5 4 Z Report Counter 0Ah 67 12 6 Date 0Ah 13

14 17 4 Time 0Ah 1819 31 13 Sign + Sales 1 (daily) 0Ah 3233 45 13 Sign + Sales 2 (daily) 0Ah 4647 59 13 Sign + Sales 3 (daily) 0Ah 6061 73 13 Sign + Sales 4 (daily) 0Ah 7475 87 13 Sign + Sales 5 (daily) 0Ah 8889 101 13 Sign + Sales 6 (daily) 0Ah 102

103 115 13 Sign + Sales 7 (daily) 0Ah 116117 129 13 Sign + Sales 8 (daily) 0Ah 130131 143 13 Sign + Sales 9 (daily) 0Ah 144145 148 4 Daily Fiscal Receipt Counter 0Ah 149150 155 6 Last Fiscal Receipt Counter 0Ah 156157 162 6 Last Non-Fiscal Receipt Counter 0Ah 163

NOTE. After ANSWER received, PC should send ACK to FP.

29

Page 30: V100 CAMEL Manual Serbia

IV. CHARACTER CODE TABLE

0 1 2 3 4 5 6 7 8 9 A B C D E F

0 DLE 0 @ P ` p Ђ ђ А Р а Р .1 ! 1 A Q a q Ѓ ѓ Б С б С2 STX « 2 B R b r Ў ў В Т в Т3 ETX # 3 C S c s Г У г У4 EOT $ 4 D T d t Д Ф д Ф5 ENQ NAK % 5 E U e u Е Х е Х6 ACK & 6 F V f v Ж Ц ж Ц7 ETB ‘ 7 G W g w Ґ ґ З Ч з Ч8 ( 8 H X h x Ё ё И Ш и Ш9 ) 9 I Y i y Є є Й Й й ЩA LF : J Z j z Љ љ К Ъ к ЪB ESC + ; K [ k { Ї ї Л Ы л ЫC , < L \ l | Њ њ М Ь м ЬD CR - = M ] m } Ќ ќ Н Э н ЭE . > N ^ n ~ Ћ ћ О Ю о ЮF / ? O _ o DW Џ џ П Я п Я €

30