Sie sind auf Seite 1von 71

I.

INTERFACE CONNECTOR

Rear Side View

Drawer port

PC communication port
Display port

1) PC COMMUNICATION PORT

PC-PORT: Command Communication Protocol 9 pin D-sub female

6 7 8 9 1. NC 6. NC
2. RXD (IN) 7. NC
3. TXD (OUT) 8. CTS (IN)
4. DTR (OUT) 9. NC
1 2 3 4 5 5. S G

After the CTS are active , the DTR signal will be active
and then the printer will be possible to communicate.
When CTS signal is inactive, DTR signal will be change
inactive. Then communication will be stopped.
Accordingly PC must set active CTS of the fiscal printer
to check if the fiscal printer is ready or not.

2) DRAWER KICK PORT

1. /DRIVE
2. P.GND
3. P.GND
3 1 4. P.GND
5. NC
5 4
2

1
II. SWITCH OPERATION
1. PANEL SWITCH

1) Paper feed
Paper is feed during [FEED] key pushing.
2) Fiscal function mode
Keep Pushing [ FEED ] + [ ] until the 0.1 sec buzzer sounds 3 times.
After the buzzer sounds Fiscal printer enter the Panel switch operation
mode. ( If dip switch isnt set to off position, it cannot to enter fiscal
function mode. )
Display [ FISCAL FUNCTION ]
[ ***** EXIT ***** ]
This operation turns out the mode that dose not recognize any
command
from outside.
Menu consists of three jobs including Exit as below, they can be chosen
by scrolling [][] key.
Lower display
[ ***** EXIT ***** ]

[ FISCAL Z REPORT ]

[ READING REP.BY Z ]

[ READING REP.BY DATE ]

Key sequence
[] [ I ] .... Scroll menu
[ III ] .... Execution of job

2
Displayed job is executed by depressing [ III ].
In case of chosen Reading report by date, following data is displayed
on
lower display.
Lower display
[ - - / - - / - - -> 22/06/99 A ]
- - / - - / - - is area to put start date of period.
22/06/99 is area to put end date of period (Current date is
automatically
set at first of this job. It is possible to change this data).
A of last digit is type of execution (All/Sum). You can select A or S by
[] key. Reading report is issued by depressing [ III ] key after data
entry
when the cursor is in this position.
If [ III ] key depress in another position, it quit from fiscal function.
Period date entry and issuing reading report are by following key
sequence.
Key sequence
[ II ] ..... move cursor to right
[] ..... increment number of digit on current cursor
position.
[ I ] ..... decrement number of digit on current cursor
position.
[ III ] ..... execute reading report or exit from fiscal
function
mode
Example * is cursor position.
Start [ * - / - - / - - -> 22 / 06 / 99 A ]
Push [ *0 / 00 / 00 -> 22 / 06 / 99 A ]
Push I [ 1* / 00 / 00 -> 22 / 06 / 99 A ]
Push II [ 19 / 00 / 00 -> 22 / 06 / 99 A ]
Push III quit from fiscal function mode

Start
Data entry [ 11 / 01 / 99 -> 31 / 01 / 9* A ]
Push I [ 11 / 01 / 99 -> 31 / 01 / 99 * ]
Push III Issue reading report from 11/01/99 to 31/01/99.

If both days of start and end date is entered 00, it issue fiscal reading
report
by monthly.

3
In case of chosen Reading report by Z, following data is displayed on
lower display.
Lower display
[ Z 0001 -> Z - - - - A ]

The way of entering data and issuing report are same as reading report
by
date.

2. SWITCH ON MPU BOARD


MPU Board (Solder side)

Printer connector
(on Parts side)
Tact switch Dip switch

1) System reset
System reset is available by following way.
Dip switch 1 & 2 slide to off position.
Power switch is put on while tact switch depressing, then system reset
is
done.
2) Ram clear
Transaction total and counter on RAM is cleared by RAM clear
operation.
Dip switch 1 slide to on position.
Power switch is put on while tact switch depressing, then RAM clear is
done with system reset.
3) Auto programming
Default programming data is loaded by auto programming operation.
Dip switch 2 slide to on position.
Power switch is put on while tact switch depressing, then auto
programming is done with system reset.

4
3. POWER SWITCH
1) Fiscal memory checking (compare with RAM data)
When power switch is turned on, fiscal printer compare fiscal data and
daily block of fiscal memory and RAM memory .
Fiscal printer is not ready to execute command operation during this
checking. ( When this checking is finished, short buzzer sounds 2
times
and DTR is active if PC makes to activate DCD and CTS of fiscal
printer.)
If error data is found, fiscal printer prints error message and block the
machine until exchange correct fiscal memory.
2) Exit from fiscal function mode
When fiscal printer is in fiscal function mode by panel switch, it is
available to exit from this mode by power switch is off and on.
3) Error recovery from printer error or paper end
When fiscal printer is in printer error or paper end condition( warned by
continuous buzzer ), this error condition can be recovered by power
switch
turn off and remove cause of problem and power switch turn on .

5
III. COMMAND COMMUNICATION PROTOCOL

1. Basic

When the DCD and CTS are active , the DTR signal will be active and be
possible to receive.

Method A sync serial


Speed: 9600 bps
Data: 8 bit even parity 1 stop bit

2. Control code

STX = 02h
ENQ = 05h
ETX = 03h
EOT = 04h
ACK = 06h
When the following condition is satisfied, ACK will be sent back.
*LRC and data format OK
*COMMAND is acceptable
*COMMAND job has been operated
NAK = 15h
When the following condition is satisfied, NAK will be sent back.
*LRC and data format is not acceptable
ETB = 17h
LRC = Exclusive OR from DATA TO ETX

STX DATA ETX LRC

Exclusive OR

6
3. Command Communication Sequence

1) Status Read

P C side F.P. side


__________________________________________________________________

ENQ -->
<-- STX- STATUS - ETX -LRC

status

STX STS1 STS2 ETX LRC


1 2 3 4 5

STS1 for FP STATUS 1 BYTE

STS1..... 0 1 x x x x x x
--------------------
01xxxxx1 ( in fiscal transaction )
01xxxx1x ( in non fiscal transaction )
01xxx1xx ( busy buffer full )
01xx1xxx ( fiscal memory full)
01x1xxxx ( fiscal memory near full )
011xxxxx ( fiscal mode )

bit 2 = 1 (busy) ---> Previous command/data should be sent


again
STS1 for FP ERROR STATUS 1 BYTE

This status has possibility to set plural condition flags ( bits ).


For example)
0 1 1 1 0 0 0 1 already fiscal initiation
fiscal memory near full
in fiscal transaction

The status bit of STS1 all 0 (STS1 = 40) means following


condition.
out of transaction
not busy / not buffer full
fiscal memory is not full
fiscal memory is not near full
before fiscal initiation

7
STS2..... 0 1 x x x x x x
--------------------
ERR = 70h
0 1 1 1 0 0 x x ( date hasnt programmed yet )

ERR >= 60h


01101 1 x x ( fiscal memory full )
01100 1 x x ( fiscal memory error )
01100 0 x x ( fiscal error )

ERR >= 50h


01011 1xx ( invalid command / command format error)
01011 0xx ( not assigned clerk )
01010 1xx ( invalid tax )
01010 0xx ( invalid value / over limitation)

ERR <= 43h


0 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 )

STS2 > 43h ---> Previous command/data should be sent


again
STS2 = 43h ---> PC should be inform to customer should
remove the cause of printer error and
exchange roll paper, after that turn off and
on
power switch on fiscal.
STS2 = 42h ---> PC should be inform to customer should
remove the cause of printer error and turn
off and on power switch on fiscal printer.
STS2 = 41h ---> PC should be inform to customer should
exchange roll paper.
It will be restart printing by power switch
off and on after exchanging roll .

8
2) Basic

P C side F.P. side


__________________________________________________________________
NORMAL END (ACK)
STX-CMD-DATA-ETX-LRC -->
<-- ACK

COMMUNICATION ERROR (NAK)


STX-CMD-DATA-ETX-LRC -->
<-- NAK( communication error)
If NAK is sent back, the command is invalid.

COMMAND ERROR or STATUS ERROR (ENQ)


STX-CMD-DATA-ETX-LRC -->
<-- ENQ( command error or status
error )
ACK -->
<-- STX-ST1-ST2-ETX-LRC
When PC received ENQ from fiscal printer, PC should be sent
ACK.
Then fiscal printer will send back status.
PC should decide next operation is possible or not depend on this
status.
STX-CMD-DATA-ETX-LRC -->
<-- ENQ
<-- ENQ ( retry 1 )
<-- ENQ ( retry 2 )
<-- ENQ ( retry 3 )
ENQ -->
<-- STX-ST1-ST2-ETX-LRC
If PC didnt send back ACK, fiscal printer retry sending ENQ
maximum 3 times. After retry sequence PC can require status
from fiscal printer by ENQ.

EXAMPLE)
case1: STS2 >= 50h
STX-CMD-DATA-ETX-LRC -->
<-- ENQ
ACK -->
<-- STX- STATUS - ETX -LRC
( PC operate error process depend on error status )
If STS2 more than or equal to the value 50h, PC should operate
error process depend on error condition of fiscal printer.

9
case2: STS2 = 43h ( printer error and paper end )
STX-CMD-DATA-ETX-LRC -->
[ Printer error and paper end
are happened ]
<-- ENQ
ACK -->
<-- STX- STATUS - ETX -LRC
PC informs the operator to do
fiscal printer power off and on
and to exchange roll paper.
( Power switch is off )
( Remove the cause of printer
error )
( Exchange roll paper )
( Power switch is on )
[ Recover printer error and
Restart printing ]
STX-CMD-ETX-LRC -->
( It is able to send next command )

case3: STS2 = 42h ( printer error )


STX-CMD-DATA-ETX-LRC -->
[ Printer error is happened ]
<-- ENQ
ACK -->
<-- STX- STATUS - ETX -LRC
PC informs the operator to
do fiscal printer power off
and on.
( Power switch is off )
( Remove the cause of printer
error )
( Power switch is on )
[ Recover printer error and
Restart printing ]
STX-CMD-ETX-LRC -->
( It is able to send next command )

10
case4: STS1 = 41h ( paper end )
STX-CMD-DATA-ETX-LRC -->
[ Paper end is happened ]
<-- ENQ
ACK -->
<-- STX- STATUS - ETX -LRC
PC informs the operator to do
fiscal printer power off ,
exchange roll paper and power
on.
( Power switch is off )
( Exchange roll paper )
( Power switch is on )
[ Restart printing ]
STX-CMD-ETX-LRC -->
( It is able to send next command )

COMMUNICATION ERROR (NO RESPONSE)


STX-CMD-DATA-ETX-LRC -->

5 sec. MAX <--X--- ACK / NAK / ENQ


( time-out / no answer)
ENQ -->
<-- STX- STATUS - ETX -LRC
If PC hasnt received the answer until 5 seconds passed, PC
should be send ENQ for taking status.
PC can decide next operation depend on this status.

11
3) Information read command sequence

P C side F.P. side


__________________________________________________________________

STX-CMD-DATA-ETX-LRC -->
<-- STX - DATA - ETX - LRC
ACK -->
( ENQ or NAK is send back from fiscal printer if
communication/command
error happens. )

4) Up loading command sequence

P C side F.P. side


__________________________________________________________________

STX-CMD1-DATA-ETX-LRC -->
<-- ENQ
ACK -->
<-- STX - DATA0 - ETB - LRC
ACK -->
<-- STX - DATAn - ETB - LRC
ACK -->
<-- STX - DATA - ETX - LRC
ACK -->
<-- EOT

12
5) Command Control

CMD Hex Sub CMD Operation


20-25 Item sales
A0-A5 Void item sales
0 30 No sale
1 31 Media direct closing
2 32 Media tendering
3 33 Sub total w/ printing
4 33 Sub total w/o printing
5 35 Log on clerk
6 36 Log off
8 38 Text printing
9 39 P/O , R/A
@ 40 Link message / Badge# print
B 42 Fiscal printer blocking
C 43 PLU data base checking
D 44 Programming dump
I 49 0 Transaction ( Fiscal Z ) report issue
1 Transaction report issue
2 Fiscal reading report by date issue
3 Fiscal reading report by Z counter issue
P 50 A Tax payer code programming
B Registration ID programming
C Clerk secret code & name programming
E Closing media name programming
F Time programming
G Date programming
H Header logo message programming
I Commercial message programming
J System function flag programming
K Transaction symbol programming
L Print message programming
M Fiscal initiation
T Tax rate programming
a Save tax payer code into fiscal memory
b Save registration ID code into fiscal memory
t Save tax rate into fiscal memory
S 53 1 Information read
T 54 Training mode start / finish
U 55 0 Transaction ( Fiscal Z ) report upload
1 Transaction report upload
2 Fiscal reading report by date upload
3 Fiscal reading report by Z counter upload
T Last transaction data upload
X 58 1 Transaction accumulate data clear
a 61 Date / Time display
b 62 Commercial message display
c 63 Message display
e 65 Restart

13
CMD Hex Sub CMD Operation
i 65 Customer information entry (for invoice)
k 6B Error correct
o 6F Fiscal printer open
p 70 Item / Subtotal straight percent
F0 Void straight percent
t 74 P/O, R/A Total
x 78 Test print
z 7A Fiscal printer closing
Marked command is not supported on this version .

14
6) Command Sequence

A) Fiscalize sequence

Fiscal initiation from non fiscal mode needs the following operations
before
Initiation command.

Tax payer programming PA, Pa

Registration ID program PB, Pb

Tax rate programming PT,Pt Fiscal Initiation PMFS

Date / Time programming PG

Header programming "PH"

Training mode finish "T2"

*) FP doesnt check tax rate and header was programmed or not at fiscal
initiation.

15
B) Sample sequence until fiscalization

1. System reset / Ram clear / Auto program loading


( Usually this operation already has done in factory )
2. Date / time programming (CMD: STX-P-F-[hhmmss]-ETX-LRC)
3. Header / footer message programming
(CMD: STX-P-H-[Line number]-[Message]-ETX-LRC)
4. Clerk code & name programming
(CMD: STX-P-C-[CLERK#]-[SECRET#]-[NAME]-ETX-
LRC)
5. Closing media name programming
(CMD: STX-P-E-[MEDIA#]-[STS]-[MEDIA NAME]-ETX-
LRC)
6. Tax rate programming
(CMD: STX-P-T-[Tax rate 1-3]-ETX-LRC)
7. Tax rate write to fiscal memory
(CMD: STX-P-t-ETX-LRC)
8. Training mode operation ( If you dont need training operation before
fiscal initiation, you can skip following sequence 7.1-7.8.)
8.1 Fiscal printer open (CMD: STX-o-[PC#]-[CLERK SECRET#]-ETX-LRC)
8.2 Training mode start (CMD: STX-T-1-ETX-LRC)
8.3 Clerk log on (CMD: STX-5-[SECRET#]-ETX-LRC)
8.4 Sales operations (See sample sequence for daily operation)
8.5 Transaction Z report (CMD: STX-I-0-Z-ETX-LRC)
8.6 Clerk log off (CMD: STX-6-ETX-LRC)
8.7 Training mode finish (CMD: STX-T-2-ETX-LRC)
8.8 Fiscal printer close (CMD: STX-z-z-ETX-LRC)
9. Tax payer code programming (CMD: STX-P-A-[PAYER#]-ETX-LRC)
10.Tax payer code write to fiscal memory (CMD: STX-P-a-ETX-LRC)
11.Registration ID programming (CMD: STX-P-B-[REG ID#]-ETX-LRC)
12.Registration ID write to fiscal memory (CMD: STX-P-b-ETX-LRC)
13.Fiscal initiation (CMD: STX-P-M-F-S-ETX-LRC)

16
4. COMMAND FORMAT DETAIL

All commands must be put full length data (information),


even if you doesnt need all length data.
If data area of ASCII code is input the code that more than f0h or less
than
1fh, printer automatically notice this code as blank (20h).

Command for system log on

1) Fiscal Printer Open

This command and clerk log on command should be executed before


Sales and receipt commands.

STX o PC# CLERK SECRET# ETX LRC


1 2 3 4 5 6 7 8 9 10 11

A) PC# (ASCII) 01-99


This number is printed out as machine number.(no need to program
beforehand)
B) CLERK SECRET# (ASCII) 00000 99999
It is necessary to input clerk secret# that the number of person to open
fiscal printer.
It is only available to enter secret # programmed by clerk secret code
programming. -> See 27. M) Clerk secret code & name programming

Fiscal Clerk on Sales / Report


Printer Open Commands

Fiscal Clerk off


Printer Close

2) Fiscal Printer Closing


In case this command is executed without issuing FISCAL Z
REPORT, FISCAL DAILY Z REPORT will be issued automatically, Tax
information and other information which as Data that supposed to
be recorded will be written into Fiscal memory. After that all DAILY
REPORT DATA will be cleared. If REPORT DATA you need exist ,
execute in advance before this command.

STX z z ETX LRC



1 2 3 4 5

17
3) Training Mode Start / Finish

STX T Sub CMD ETX LRC



1 2 3 4 5

If you need to operate registration/report command before fiscal


initiation,
it is necessary to start training mode.
A) Sub CMD (ASCII): 1 ... Start training Mode
2 ... Finish training Mode
Training mode must be finished until fiscal initiation.

Sample sequence

Fiscal Training mode Clerk on


Printer Open Start

Training Mode
Operation
Sales / Report
commands

Fiscal Training mode Clerk off


Printer Close Finish

18
4) Log on clerk
It is necessary to assign clerk by this command before the first
registration
after fiscal printer open command.
This command is effective only after FP open , not effective in the middle
of transaction.

STX 5 SECRET # ETX LRC


1 2 3 4 5 6 7 8 9

A) SECRET NUMBER(ASCII) 00000 - 99999


-> See 27. M) Clerk secret code & name programming

5) Log off clerk


No clerk will be assigned by this command.
This command is effective only after FP open , CLERK is already Logged
on.
It is not effective in the middle of transaction.
It is not necessary to execute this command for only changing assign
clerk.

STX 6 ETX LRC



1 2 3 4

19
Command for sales
These commands are available after fiscal printer open and clerk log on
Commands execution.

(only before fiscal initiation)

Training mode
FP open Log on clerk
Start T1
o 5

Customer Item Straight Error


Error Subtotal
Informati transaction percent Correct
Correct 4/3
on i 20h - 25h p k
k

Void item
transaction
A0h - A5h LinkLink message
message command is
available during
@ transaction

Media Tendering 2

Media Direct closing 1

(only before fiscal initiation)

Training mode finish


Log off clerk FP close z
T2
6

20
Sample sequence for daily sales operation.

1. Fiscal printer open (STX-o-[PC#]-[CLERK SECRET#]-ETX-LRC)


2. Clerk log on (STX-5-[CLERK SECRET#]-ETX-LRC)
3. Received on account operation

SENIAT
123456789AB
Header message

No.NF00000010
21/02/99
20:09

FONDO R/A command


EFECTIVO Bs100,00 (STX-9-1-[Media#]-[Amount]-ETX-LRC)
----------------------------- R/A Total command (STX-t-ETX-LRC)
FONDO TTL Bs100,00

TOT.NF0010 #01A

NO FISCAL

4. Item sales transaction (1)


SENIAT
123456789AB
Header message

No.CF00001234
21/02/99 20:09

COCA COLA Bs1,00 Item command (STX-21h-..-ETX-LRC)


SPRITE Bs1,00
Item command (STX-22h-..-ETX-LRC)
SUB TTL Bs2,00
-------------------------- Subtotal command (STX-3-ETX-LRC)
TOTAL Bs2,00
EFECTIVO Bs2,00 Media direct command (STX-1-1-ETX-LRC)

CANT.ART 2

TOT.NF0012 #01A

MH AB12345678

SIN DERECHO A
CREDITO FISCAL

21
5. Item sales transaction (2)
SENIAT
123456789AB
Header message

No.CF00001235
21/02/99 20:09

## SPECIAL OFFER ## Link message command (STX-@-.....-ETX-LRC)


COCA COLA Bs1,00
Item command (STX-21h-..-ETX-LRC)
SPRITE Bs1,00
SUBTTL Bs1,90 Item command (STX-22h-..- ETX-LRC)
-10,00% 1,90 Subtotal command (STX-3-ETX-LRC)
DESCTO Bs0,19 Percent command (STX-p-..-ETX-LRC)
---------------------- [Subtotal discount]
TOTAL Bs1,71
EFECTIVO Bs2,00 Media tendering command
CAMBIO Bs0,29
(STX-2-01-$2,00-ETX-LRC)
TOT.CF0013 #01A

MH AB12345678

SIN DERECHO A
CREDITO FISCAL

6. Item sales transaction (3)


SENIAT
123456789AB
Header message

No.CF00001236
21/02/99 20:09

COCA COLA Bs1,00 Item command (STX-21h-..-ETX-LRC)


-CORREC-
Error correct command (STX-k-ETX-LRC)
COCA COLA -1,00
SPRITE Bs1,00 Item command (STX-22h-..-ETX-LRC)
ORANGE JUICE Bs1,00 Item command (STX-21h-..-ETX-LRC)
-ANULAR-
SPRITE -1,00 Void command (STX-a2h-..-ETX-LRC)
----------------------
TOTAL Bs1,00
EFECTIVO Bs1,00 Media direct command (STX-1-01-ETX-LRC)
TOT.CF0014 #01A

MH AB12345678

SIN DERECHO A
CREDITO FISCAL

22
7. No sale

SENIAT
123456789AB
Header message

No.NF00000210
21/02/99
20:09
No sale command (STX-0-ETX-LRC)
APERTURA

TOT.NF0014 01A
NO FISCAL

9. Received on account operation

SENIAT
123456789AB
Header message

No.NF00000211
21/02/99
20:09
P/O command
RETIRO (STX-9-2-[Media#]-[Amount]-ETX-LRC)
EFECTIVO Bs100,00 (STX-9-2-[Media#]-[Amount]-ETX-LRC)
CHEQUE Bs100,00
------------------------------
RETIRO TL Bs100,00 P/O Total command (STX-t-ETX-LRC)

TOT.NF0015 01A
NO FISCAL

10. Daily Z (Fiscal Z) Report (CMD: STX-I-0-Z-ETX-LRC)


11. Clerk log off (CMD: STX-6-ETX-LRC)
12. Fiscal printer close (CMD: STX-z-z-ETX-LRC)

23
6) Customer information for Invoice

STX i LINE# DESCRIPTOR 0-40 CHARACTERS


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

DESCRIPTOR ETX LRC


25 2 2 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
6 7

This command is only available before item registration.


The ticket is issued as invoice, even if this command sent before sales
transaction.

A) LINE# 1-12
B) DESCRIPTOR
When the descriptor doesnt enter (0 byte), that lines
data
entry is canceled.
7) Item Registration

STX CMD UNIT PRICE 10 digits QUANTITY 8 digits


1 2

DESCRIPTOR 40 CHARACTERS
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

DESCRIPTOR ETX LRC


4 5 5 5 5 5 5 5 5 5 5 6 61 62
9 0 1 2 3 4 5 6 7 8 9 0

A) CMD (HEX) 20h........Non taxable item A0h........ Void of non taxable


item
21h....... Taxable 1 item A1h........ Void of taxable 1 item
22h....... Taxable 2 item A2h........ Void of taxable 2 item
23h....... Taxable 3 item A3h........ Void of taxable 3 item
24h....... Taxable 3 item A4h........ Void of taxable 3 item
25h....... Taxable 3 item A5h........ Void of taxable 3 item
If it is choose invalid tax (hasnt programmed rate), it occurs
error.
D) Unit price (ASCII) Fixed 2 decimals
10,00 ----> 30h,30h,30h,30h,31h,30h,30h,30h
E) Quantity (ASCII) Fixed 3 decimals
9999,999----> 30h,39h,39h,39h,39h,39h,39h,39h

Void item operation is possible only for item that has registrated as
same data ( tax#, unit price, quantity, descriptor) in current transaction.

It is available to register until Bs 9999999999,99 by one transaction.


It is available to register until Bs 99999999999,99 by one day. ( If fiscal

24
printer
is registered over this value, that registration is refused.) In this case it
must
be issue Z report.

25
8) Error correct

STX k ETX LRC



1 2 3 4

This command cancels item transaction or straight percent that


registered
just before this command.
It is not available to correct Void item, media tendering and direct
closing.

| COCA COLA Bs100,00 |


| CORREC |
| COCA COLA - 100,00 |

9) Subtotal display with print / without print

STX 3 / 4 ETX LRC



1 2 3 4

Subtotal amount is printed by 3 command.


4 command doesnt print.
This command must be execute, before discount command that used for
subtotal discount.

|COCA COLA Bs1,00 |


|COCA COLA Bs1,00 |
|HAMBURGER Bs1,50 |
|SUBTOTAL Bs3,50 |

26
10) Straight percent

Present item amount or subtotal amount will be calculated with


percentage

STX CMD Sign RATE ETX LRC


1 2 3 4 5 6 7 8 9

A) CMD percent operation ..... p ( 70h )


void operation ........... ( f0h )
B) Sign + ...... 20h
- ....... 2dh
C) RATE 0000 - 9999 (Ascii) ..... 00,00 - 99,99 %

This command is only possible after item registration or subtotal.

It is possible to cancel this command by Error Correction command


after this
operation.

After subtotal discount or surcharge, item registration (also void item)


will be
impossible.

When the subtotal discount is executed, each taxable amount are


discount or
surcharge by input rate.

Ex) Before subtotal %


Subtotal 800,00
Taxable 1 200,00
Taxable 2 300,00
Non Taxable 300,00

Subtotal % minus 15%

After Subtotal % minus


Subtotal 680,00
Taxable 1 170,00
Taxable 2 255,00
Non taxable 255,00

27
11) Media direct closing

STX 1 MEDIA# ETX LRC



1 2 3 4 5 6

A) MEDIA # 01 - 16
(ASCII 2 Bytes)
Default programming value is
CASH 0104
CHECK 0508
A CARD 0912
B CARD 1316

12) Media tendering

STX 2 MEDIA# TENDERING AMOUNT 12 digits ETX LRC


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

13) Link message / Badge# print

STX @ MESSAGE(BADGE#) 1-30 character


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

MESSAGE ETX LRC


23 24 25 26 27 28 29 30 31 32 33 34

Item or payment media link message is printed with link message mark
##.
This command is available during transaction. If this command is
executed
at the condition out of transaction, the fiscal printer turn to in
transaction.

| 23/06/99 10:16 |
| |
| ##CUSTMER: 1## |
| ##SPECIAL OFFER## |
| ## 15 % DISCOUNT ## |
| COCA COLA Bs1,00 |
| --------------------------------------------------- |
| CANT.ART 1 |
| TOTAL Bs1,00 |
| EFECTIVO Bs13,45 |
| CAMBIO Bs12,45 |

28
Command for sales (non fiscal homologate document)

(before fiscal initiation)

Training mode
FP open Log on clerk
Start T1
o 5

P/O 90 P/O TOTAL t

R/A 91 R/A TOTAL t

NO SALE 0

Training mode finish


Log off clerk FP close z
T2
6
14) P/O , R/A

STX 9 PR MEDIA# AMOUNT 12 digits ETX LRC


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

A) PR ....... 0 (30H) PAID-OUT


....... 1 (31H) RECEIVED ON ACCOUNT
P/O, R/A total command should be send for closing P/O, R/A ticket.
It is available to operate P/O or R/A by plural media until P/O, R/A total
closing. ( It is not possible to mixed P/O, R/A in one ticket. )

15) P/O, R/A TOTAL

STX t ETX LRC


1 2 3 4

This command is closed P/O, R/A receipt.

16) NO SALE( DRAWER OPENING )

STX 0 ETX LRC


1 2 3 4

This command issues no sale ticket.

29
Command for buffer data printing
17) Restart / print out holding data
This command prints out holding data in transaction buffer before
closing.

STX e ETX LRC



1 2 3 4

Command for free format data printing / test printing

Training mode
FP open Log on clerk
Start T1
o 5

Text Print Text print 81


(Receipt closing)
80
Test Print x

Training mode finish


Log off clerk T2 FP close z
6
18) Text printing ( printed nonfiscal receipt mode )

STX 8 STS Print Message 40 characters



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Print message PF ETX LRC


2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 4 4 4 4 44 45 46
4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3

A) STS......0 (30H) 1 line print without ticket closing


...... 1 (31H) 1 line print with non fiscal receipt closing.
B) PF....... 1 (31H) RECEIPT 2 (32H) JOURNAL 3 (33H) BOTH

Free format data can be printed by this command on non fiscal


document.
Fiscal logo (MH mark) code is refused to print by this command. If Fiscal
logo code is exist in print message, Fiscal printer replaced to another
code (asterisk *) automatically.

30
19) Test Print

STX x ETX LRC



1 2 4 5

A test pattern is printed out by this command.

31
Command for display

20) Date /Time display

STX a ETX LRC


1 2 3 4

This command displays DATE, TIME on upper display.


It is not available during transaction.

21) Commercial message display

STX b ETX LRC


1 2 3 4

Preset message of 50 characters is scrolled upper part of display.


See 27.) Commercial message programming.
This command is effective only after FP open , CLERK is already Logged
on.
It is not available during transaction.
It stopped by transaction entry or another display command execution.

22) Message Display

STX c Locate MESSAGE 20 CHARACTER



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

ETX LRC
20 21 22 23 24 25

Location: U(55H).... Upper Line


L(4Ch)..... Lower Line

Message of 20 characters is displayed on selected part of display.


This command is effective only after FP open , CLERK is already Logged
on.
It is not available during transaction.
It stopped by transaction entry or another display command execution.

32
Command for reading printer status
23) Information Read

This command is informed fiscal printer internal setting data to host PC.
This command is possible to use at every condition.
See 3.3) Information read command sequence

STX S 1 ETX LRC


1 2 3 4 5

ANSWER
STX S 1 DATA 100bytes ETX LRC
1 2 3 4 103 104 105
100 BYTES DATA DETAIL
FROM TO SIZE KIND ITEM
1 2 2 ASCII ASSIGNED CLERK NUMBER
3 3 1 0Ah DELIMITER
4 22 19 ASCII sign(1 byte) +
DAILY SALES TOTAL(18
bytes)
23 23 1 0Ah DELIMITER
24 31 8 ASCII FISCAL RECEIPT NUMBER
32 32 1 0Ah DELIMITER
33 37 5 ASCII DAILY FISCAL RECEIPT NUMBER
38 38 1 0Ah DELIMITER
39 46 8 ASCII NON FISCAL RECEIPT NUMBER
47 47 1 0Ah DELIMITER
48 52 5 ASCII DAILY NON FISCAL RECEIPT
NUM.
53 53 1 0Ah DELIMITER
54 57 4 ASCII FISCAL Z REPORT COUNTER
58 58 1 0Ah DELIMITER
59 62 4 ASCII READING REPORT AUDIT NUMBER
63 63 1 0Ah DELIMITER
64 74 11 ASCII TAX PAYER CODE
75 75 1 0Ah DELIMITER
76 85 10 ASCII REGISTRATION ID CODE
86 86 1 0Ah DELIMITER
87 92 6 ASCII CURRENT TIME hh:mm:ss
93 93 1 0Ah DELIMITER
94 99 6 ASCII CURRENT DATE dd:mm:yy
100 100 1 0Ah DELIMITER

33
Command for checking

24) Data base checking


This is special command for tax officer.
This command is checked the kind of tax linked item is modified
injustice.
Loaded item information is checked one by one, if it is recorded before
as
different tax rate even once. FP will issue that information.

STX C Flag Tax# Descriptor 40 characters


1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4

Descriptor ETX LRC


2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 45 46
5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4

: : :

STX C Flag Tax# Descriptor 40 characters


1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4

ETX LRC
2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 45 46
5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4

A) Flag ...... LAST FLAG In case of last data 1 31


In case of not last data 0 30
B) Tax#
Linked Non tax : 0 (30h)
SENIAT
Linked tax 1(A) 1 (31h)
Linked tax 2(B) : 2 (32h)
123456789AB Linked tax 3(C) 3 (33h)
Header message

No.NF00000123
22/06/99 10:31

DATA BASE CHECKING

DESCRIPTOR HOST IF
-----------------------
HAMBURGER A A
tax data base of the host
CHEESE BURGER A A *
COCA COLA B B side
ORANGE JUICE C C tax data base of the fiscal
ILLIGAL DB 15 printer side

TOT.NF0015 #01A

NO FISCAL 34
detect tax kind changing
(ILLIGAL DATA)
Remaining illegal data
(that hasnt checked yet)

35
Command for programming

25) Programming

A) TAX PAYER CODE PROGRAMMING

STX P A TAX PAYER CODE 11BYTES ETX LRC


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
If tax payer code is invalid number, fiscal printer prints out error
message.

B) SAVE TAX PAYER CODE INTO FISCAL MEMORY

STX P a ETX LRC


1 2 3 4 5
It is necessary to program tax payer code before this command.

C) REGISTRATION ID CODE PROGRAMMING

STX P B REGISTRATION ID CODE 10 BYTES ETX LRC


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

D) SAVE REGISTRATION ID CODE INTO FISCAL MEMORY

STX P b ETX LRC


1 2 3 4 5
It is necessary to program registration ID code before this command.

E) FISCAL INITIATION

FISCAL MODE will starts by this command.

STX P F S ETX LRC


M
1 2 3 4 5 6 7

Before this command following operation is necessary.


Programming and write to fiscal memory :
Tax payer code, Registration ID code
Programming :
Date,(Tax rate),(Header logo)
Operation :
Finish Training mode

36
F) TAX RATE PROGRAMMING

This programming is available to execute only before 1st fiscal ticket


issue. ( Transaction total is all 0. )

STX P T TAX A TAX B TAX C


Kind Rate Kind Rate Kind Rate
1 2 3 4 5 6 7 8 9 1 1 1 1 14 1 1 1 18
0 1 2 3 5 6 7

TAX D TAX E ETX LRC


Kind Rate Kind Rate
19 2 2 2 2 24 2 2 2 2 29 30
0 1 2 3 5 6 7 8

Kind: kind of calculation 1 ... External (Add on tax)


0 ... Internal (VAT)
Rate: ASCII 4 bytes 0000-9999 (00,00% - 99,99%)
In case of 22.00 32h, 32h, 30h, 30h
Not used tax should be set 20h, 20h, 20h, 20h (all blank)

G) SAVE TAX RATE INTO FISCAL MEMORY

STX P t ETX LRC


1 2 3 4 5

H) HEADER LOGO MESSAGE

STX P H LN MESSAGE 40 CHARACTERS


1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 1 2 2 2 23
0 1 2 3 4 5 6 7 8 9 0 1 2

MESSAGE ETX LRC


24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

LN...... LINE NUMBER(ASCII)


HEADER .. 01 12 ( 12 lines )

If line 1-12 set all blank, sales transaction isnt possible to operate.

By auto programming, header logo message are programmed all


blank.

37
I) CLERK SECRET CODE & NAME

STX P C CLK# SECRET CODE CLERK NAME 16 characters


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

ETX LRC
18 19 20 21 22 23 24 25 26 27 28
CLERK# 30h,31h --> 31h,35h SECRET CODE 00000-99999

Clerk code is programmed to following by auto programming.

CLERK# SYMBOL DEFAULT DEFAULT CLERK NAME


SECRET#
1 A 00001 CAJERO No 000001
2 B 00002 CAJERO No 000002
3 C 00003 CAJERO No 000003
4 D 00004 CAJERO No 000004
5 E 00005 CAJERO No 000005
6 F 00006 CAJERO No 000006
7 G 00007 CAJERO No 000007
8 H 00008 CAJERO No 000008
9 I 00009 CAJERO No 000009
10 J 00010 CAJERO No 000010
11 K 00011 CAJERO No 000011
12 L 00012 CAJERO No 000012
13 M 00013 CAJERO No 000013
14 N 00014 CAJERO No 000014
15 O 00015 CAJERO No 000015

38
J) CLOSING MEDIA NAME

STX P E MEDIA# CLOSING MEDIA NAME 14 CHARACTERS


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

ETX LRC
20 21

It is also able to change the media name by using symbol change


command.

Closing media name is programmed to following by auto


programming.

MEDIA# MEDIA NAME


01 EFECTIVO 1
02 EFECTIVO 2
03 EFECTIVO 3
04 EFECTIVO 4
05 CHEQUE 1
06 CHEQUE 2
07 CHEQUE 3
08 CHEQUE 4
09 A TARJETA 1
10 A TARJETA 2
11 A TARJETA 3
12 A TARJETA 4
13 B TARJETA 1
14 B TARJETA 2
15 B TARJETA 3
16 B TARJETA 4

K) TIME PROGRAMMING

STX P F hh mm ss ETX LRC


1 2 3 4 5 6 7 8 9 10 11
It is effective only printer isnt opening

L) DATE PROGRAMMING

STX P G dd mm yy ETX LRC


1 2 3 4 5 6 7 8 9 10 11
This command is effective only when transaction memory total and count
are
zero.
As start on fiscal mode, the former date of Z report will be error.

39
M) TRANSACTION SYMBOL PROGRAMMING

STX P K symbol # SYMBOL NAME 14 CHARACTERS


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
000-123
ETX LRC
21 22

The description of each transaction symbol is appeared the table from


next
page.

N) PRINT MESSAGE PROGRAMMING

STX P L MESS # MESSAGE 20 CHARACTERS


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
00- 59
ETX LRC
20 21 22 23 24 25 26 27

The description of each print message is appeared the table from next
page.

O) COMMERCIAL MESSAGE PROGRAMMING

STX P I MESSAGE 50 CHARACTERS


1 2 3 4 5 6 7 8 9 10 11 12 13 14

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

ETX LRC
47 48 49 50 51 52 53 54 55

The message is programmed that used for commercial message


display
command. See Commercial message display

40

Changeable
000 TAXABLE A SALES IMPSL A Y
001 TAXABLE B SALES IMPSL B Y
002 TAXABLE C SALES IMPSL C Y
003 NOT USED - Y
004 NOT USED - Y
005 NOT USED - Y
006 NOT USED - Y
007 NOT USED - Y
008 TAX A AMOUNT IMP A Y
009 TAX B AMOUNT IMP B Y
010 TAX C AMOUNT IMP C Y
011 NOT USED - Y
012 NOT USED - Y
013 NOT USED - Y
014 NOT USED - Y
015 NOT USED - Y
016 NOT USED - Y
017 NOT USED - Y
018 NOT USED - Y
019 NOT USED - Y
020 NOT USED - Y
021 NOT USED - Y
022 NOT USED - Y
023 NOT USED - Y
024 TOTAL AMOUNT TOTAL Y
025 %+ RECARGO Y
026 %- DESCTO Y
027 NON TAXABLE AMOUNT NO IMPSL Y
028 VOID ITEM ANULAR Y
029 NOT USED - Y
030 ERROR CORRECTION CORREC Y

41
Changeable
031 CANCELATION CANCELADO Y
032 NOT USED - Y
033 NO SALE APERRTURA Y
034 RECEIVED ON ACCOUNT (R/A) FONDO Y
035 PAID OUT (P/O) RETIRO Y
036 R/A TOTAL FONDO TL Y
037 P/O TOTAL RETIRO TL Y
038 CHANGE CAMBIO Y
039 NOT USED - Y
040 NOT USED - Y
041 COUNT / QTY in 1 Transaction CANT. ART Y
042 NOT USED - Y
043 NOT USED - Y
044 SUB TOTAL SUBTTL Y
045 NOT USED - Y
046 NOT USED - Y
047 NOT USED - Y
048 NOT USED - Y
049 NOT USED - Y
050 NOT USED - Y
051 NOT USED - Y
052 NOT USED - Y
053 MEDIA IN DRAWER on report ARQUEO Y
054 NOT USED - Y
055 NOT USED - Y
056 NOT USED - Y
057 NOT USED - Y
058 NOT USED - Y
059 NOT USED - Y
060 NOT USED - Y

42
Changeable
061 NOT USED - Y
062 NOT USED - Y
063 NOT USED - Y
064 NOT USED - Y
065 NOT USED - Y
066 NOT USED - Y
067 NOT USED - Y
068 NOT USED - Y
069 NOT USED - Y
070 DATA BASE MODIFIED DB MODIFIED N
071 DATA BASE ILLIGAL ILLIGAL DB N
072 DATA BASE REPORT DB REPORTE N
073 DATA BASE ERASED DB ERASED N
074 NOT USED - Y
075 X1 COUNTER X1CTN Y
076 Z1 COUNTER for training mode Z1CTN Y
077 X2 COUNTER X2CTN Y
078 Z2 COUNTER Z2CTN Y
079 NOT USED - Y
080 NOT USED - Y
081 CLERK LOG ON for display --> Y
082 NOT USED - Y
083 NOT USED - Y
084 NOT USED - Y
085 NOT USED - Y
086 NOT USED - Y
087 NOT USED - Y
088 NOT USED - Y
089 NOT USED - Y
090 Z COUNTER for report Z: N

43
Changeable
091 NOT USED - Y
092 LAST FISCAL# TOT.CF N
093 LAST NON FISCAL RECEIPT# TOT.NF N
094 DAILY FISCAL# No.CF N
095 DAILY NON FISCAL# No.NF N
096 X1 REPORT MESSAGE **** X1 **** N
097 X2 REPORT MESSAGE **** X2 **** N
098 Z1 REP. MESSAGE (on training) **** Z1 **** N
099 Z2 REPORT MESSAGE **** Z2 **** N
100 DAILY REPORT MESSAGE DIARIO N
101 ACCUMLATED REP. MESSAGE ACUMULADAS N
102 NOT USED - Y
103 NOT USED - Y
104 SALES TOTAL on report VTA TL Y
105 NOT USED - Y
106 MEDIA NAME 1 EFECTIVO 1 Y
107 MEDIA NAME 2 EFECTIVO 2 Y
108 MEDIA NAME 3 EFECTIVO 3 Y
109 MEDIA NAME 4 EFECTIVO 4 Y
110 MEDIA NAME 5 CHEQUE 1 Y
111 MEDIA NAME 6 CHEQUE 2 Y
112 MEDIA NAME 7 CHEQUE 3 Y
113 MEDIA NAME 8 CHEQUE 4 Y
114 MEDIA NAME 9 A TARJETA 1 Y
115 MEDIA NAME 10 A TARJETA 2 Y
116 MEDIA NAME 11 A TARJETA 3 Y
117 MEDIA NAME 12 A TARJETA 4 Y
118 MEDIA NAME 13 B TARJETA 1 Y
119 MEDIA NAME 14 B TARJETA 2 Y
120 MEDIA NAME 15 B TARJETA 3 Y

44
Changeable
121 MEDIA NAME 16 B TARJETA 4 Y
122 NOT USED - Y
123 ACCUMULATED SALES TOTAL VTA TL 2 Y
124 ACCUMULATED TAX TOTAL IMP TL 2 Y

45

Changeable
000 TRANSACTION REPORT REPORTE TRANSAC. N
001 NOT USED - N
002 NOT USED - N
003 NOT USED - N
004 NOT USED - N
005 DATA BASE REPORT REPORTE DATABASE N
006 NOT USED - N
007 NOT USED - N
008 NOT USED - N
009 NOT USED - N
010 NOT USED - N
011 PAPER END MESSAGE - FIN DE PAPEL - N
012 NOT CONNECT DISP./PRINTER -ERR CONECT.IMP/PANT- N
013 SALES BUFFER FULL - VTA BUFFER LLENA - N
014 FISCAL MEMORY FULL - MEMORIA FISCAL LLENA - N
015 INVALID DATA ERROR - DATOS INVALIDO - N
016 INVALID TAX ERROR - TASA IMP INVALIDO - N
017 CLERK ISNT ASSGINED - CAJERO NO ASIGNADO - N
018 INVALID COMMAND - COMANDO INVALIDA - N
019 FISCAL ERROR - ERROR FISCAL - N
020 FISCAL MEMORY ERROR - ERROR MEM FISCAL - N
021 POWER DOWN MESSAGE ** FALLA DE PADER ** N
022 STATUS CHECKING MESSAGE -- STATUS CHECK -- N
023 NOT USED - N
024 NOT USED - N
025 TASA IMP NO COINCIDE N
026 NOT USED -MEMORIA IMCOMPLETE- N
027 NOT USED -FISCAL STATUS ERR- N
028 NOT USED - DATE INVALID - N
029 NOT USED - DATOS INVALIDO - N
030 NOT USED N

46
Changeable
031 NOT USED - Y
032 NOT USED - Y
033 RESET COUNTER BLOQ. N
034 FM CHECK MESSAGE for display CHEQUEAR MEM.FISCAL Y
035 SYSTEM OPEN SISTEMA ABIERTO Y
036 SYSTEM CLOSE SISTEMA CERRADO Y
037 NOT USED - Y
038 TRAINING MODE START for disp INICIO ENTRENAMIENTO Y
039 TRAINING MODE END for display FIN ENTRENAMIENTO Y
040 FISCAL Z REPORT REPORTE DIARIO Z N
041 FISCAL READING REPORT LECTURA MEM. FISCAL N
042 NON FISCAL MESSAGE - NO FISCAL - N
043 NOT USED - N
044 FISCAL INITIATION INICIO MODO FISCAL -> N
045 PERIODICAL TOTAL of report TOTAL DE PERIODO N
046 NOT USED - N
047 NOT USED - N
048 NOT USED - N
049 NOT USED - N
050 SWITCH FUNCTION MESSAGE ** FISCAL FUNCTION ** N
051 EXIT SWITCH FUNCTION < EXIT > N
052 FISCAL Z REPORT REPORTE DIARIO Z N
053 READING REPORT BY DATE LECTURA MEM.DIARIO N
054 READING REPORT BY Z LECTURA MEM. Z N
055 NOT USED - N
056 NOT USED - N
057 NOT USED - N
058 NOT USED - N
059 NOT USED - N

47
P) SYSTEM FUNCTION FLAG PROGRAMMING

STX P J FLAG# FLAG STATUS ETX LRC


1 2 3 4 5 6 7 8 9
01-20

FLAG# (ASCII) Number of PF 01 20


FLAG STATUS(ASCII) ...... It should be expressed ASCII code 2 digits
for Hex data 00h FFh
00- FF : 00 (30h,30h) --FF(46h,46h)

This command is able to executed only before stating registration.


The meaning of each flag# and flag are appeared the table from next
page.

48
SYSTEM FUNCTION FLAG
BIT 0 1
PF 1 7
6
5
4
3
2 Decimal point is dot . Decimal point is comma ,
1 0 Punctuation 0 Punctuation 1 Punctuation
0 0 not operated 1 between 1&2 0 between 2&3

PF 2 7
6
5
4
3
2
1 0 QTY calculation 0 QTY calculation 1 QTY calculation
0 0 Round down 1 4/5 0 Round up

PF 3 7
6
5
4
3
2
1
0

PF 4 7 Article counter is item number Article counter is quantity


6
5
4 Due amount prints double-wide
3
2 Print sale counter
1
0

49
BIT 0 1
PF 5 7
6
5
4
3
2
1
0

PF 6 7
6
5
4
3
2
1
0

PF 7 7
6
5
4
3
2
1
0

PF 8 7 Skip zero non taxable on transaction report Print even zero


6
REPORT 5
FORMAT 4 Skip zero tax / taxable 5 on transaction report Print even zero
3 Skip zero tax / taxable 4 on transaction report Print even zero
2 Skip zero tax / taxable 3 on transaction report Print even zero
1 Skip zero tax / taxable 2 on transaction report Print even zero
0 Skip zero tax / taxable 1 on transaction report Print even zero
* Not affect on fiscal report

50
BIT 0 1
PF 9 7
6
5
4
3
2
1
0

PF 10 7
6
5
4
3
2
1
0

PF 11 7
6
5
MEMORY 4 Daily only Amount is added to all accumulated memory
3
2
1
0

BIT 0 1
PF 12 7
6
MEDIA 5
4
3
2
1
0

51
BIT 0 1
PF 13 7 Tendering prohibit by media 16 permitted
6 Tendering prohibit by media 15 permitted
MEDIA2 5 Tendering prohibit by media 14 permitted
4 Tendering prohibit by media 13 permitted
3 Tendering prohibit by media 12 permitted
2 Tendering prohibit by media 11 permitted
1 Tendering prohibit by media 10 permitted
0 Tendering prohibit by media 9 permitted

BIT 0 1
PF 14 7 Tendering prohibit by media 8 permitted
6 Tendering prohibit by media 7 permitted
MEDIA2 5 Tendering prohibit by media 6 permitted
4 Tendering prohibit by media 5 permitted
3 Tendering prohibit by media 4 permitted
2 Tendering prohibit by media 3 permitted
1 Tendering prohibit by media 2 permitted
0 Tendering prohibit by media 1 permitted

BIT 0 1
PF 15 7
6
MEDIA 0 5
4
3
2
1
0

BIT 0 1
PF 16 7 Closing media 16 is not added to CID Closing media 16 is added to CID
6 Closing media 15 is not added to CID Closing media 15 is added to CID
MEDIA 0 5 Closing media 14 is not added to CID Closing media 14 is added to CID
4 Closing media 13 is not added to CID Closing media 13 is added to CID
3 Closing media 12 is not added to CID Closing media 12 is added to CID
2 Closing media 11 is not added to CID Closing media 11 is added to CID
1 Closing media 10 is not added to CID Closing media 10 is added to CID
0 Closing media 9 is not added to CID Closing media 9 is added to CID

52
BIT 0 1
PF 17 7 Closing media 8 is not added to CID Closing media 8 is added to CID
6 Closing media 7 is not added to CID Closing media 7 is added to CID
MEDIA 0 5 Closing media 6 is not added to CID Closing media 6 is added to CID
4 Closing media 5 is not added to CID Closing media 5 is added to CID
3 Closing media 4 is not added to CID Closing media 4 is added to CID
2 Closing media 3 is not added to CID Closing media 3 is added to CID
1 Closing media 2 is not added to CID Closing media 2 is added to CID
0 Closing media 1 is not added to CID Closing media 1 is added to CID

BIT 0 1
PF 18 7
6
5
4
3
2
1
0

BIT 0 1
PF 19 7 Not drawer open by Closing media 16 Drawer open
6 15
5 14
4 13
3 12
2 11
1 10
0 9

BIT 0 1
PF 20 7 Not drawer open by Closing media 8 Drawer open
6 7
5 6
4 5
3 4
2 3
1 2
0 1

53
26) Programming Dump
.
STX D ETX LRC
1 2 3 4
The following items are printed.

1. CURRENT TAX RATE 1-3


2. CLERK NAME
3. CLOSING MEDIA NAME
4. SYSTEM FLAG
5. TRANSACTION DESCRIPTOR 000-123 ( include CLOSING MEDIA )
Its impossible to change because of * mark symbols are fixed.
6. PRINT/DISPLAY MESSAGE 00-59
Its impossible to change because of * mark symbols are fixed.

54
Command for report
27) Report Command
Report command is possible when fiscal printer open, clerk log on and
out of transaction (not during ticket issue).

FISCAL Z / TRANSACTION REPORT

[1] ISSUE
Report data is printed out by issue command.
ISSUE
STX I KIND MODE ETX LRC
1 2 3 4 5 6
A) KIND(ASCII)............KIND OF REPORT DATA
' 0 ' ........ Full transaction report daily (Daily transaction data)

' 1 ' ....... Full transaction accumulated (Transaction accumulated data from last

accumulated Z report issue or clear)

B) MODE(ASCII)........... X mode ----> X(58h) Z mode ------>


Z(5Ah)
Mode: X Mode Z
Kind : 0 Daily X report Fiscal Z report
Kind : 1 Accumulated X Accumulated Z
report report

[2] CLEAR
Transaction accumulated total/amount is cleared by clear command.
Clear command is only available transaction accumulated data clear.
CLEAR transaction accumulated data
STX X 1 Z ETX LRC
1 2 3 4 5 6

[3] UP-LOAD
Report data is uploaded to PC (Host) by upload command.
UP-LOAD
STX U KIND X ETX LRC
1 2 3 4 5 6
Upload command doesnt clear transaction memory.
KIND(ASCII)............KIND OF REPORT DATA
' 0 ' ........ Full transaction report daily (Daily transaction data)

' 1 ' ....... Full transaction accumulated (Transaction accumulated data from last

accumulated Z report issue or clear)

55
56
Sample combination sequence for report command on daily sales
operation

(1) If you need the fiscal Z report data to PC, you should upload
transaction
daily report data just before issue fiscal Z report.
a. Upload transaction daily report (STX-U-0-X-ETX-LRC)
b. Issue fiscal Z report (STX-I-0-Z-ETX-LRC)
(2) If you need transaction accumulated report only as upload data, you
can
clear the transaction accumulated data without report issuing.
a. Upload transaction accumulated report (STX-U-1-X-ETX-LRC)
b. Clear transaction accumulated report data (STX-X-1-Z-ETX-
LRC)

57
FISCAL MEMORY READING REPORT

BY DATE
STX CMD 2 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
STX CMD 3 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
00Fixed 00Fixed
A) CMD............KIND OF DATA OUT
I Print out report
U .. Upload report data to host PC
B) MODE........ ALL ----> 'A' SUMMERY ----> 'S'
MODE option is effective only for print out report.
If upload command choose this option is ignored,
All daily data of periodical dates upload to host PC.
C) DATE ........ If both DAYs of periodical date set 00, fiscal printer
issues
reading report as monthly.

58
Upload Command Answer Data Format

(1) Transaction report

SEQUENCE
[HOST PC] [F P]
STX-U-..-ETX-LRC ->
<- ENQ
ACK ->
<- STX-[Answer 1]-ETX-LRC
ACK ->
<- STX-[Answer 2]-ETX-LRC
ACK ->
<- STX-[Answer 3]-ETX-LRC
ACK ->
<- STX-[Answer 4]-ETX-LRC
ACK ->
<- EOT

59
TRANSACTION REPORT ANSWER 1

STX DATA 200bytes ETB LRC


1 2 201 202 203

200 BYTES DATA DETAIL


FROM TO SIZE KIND ITEM
1 17 17 ASCII MEDIA 1 AMOUNT(sign+16bytes)
18 18 1 0Ah DELIMITER
19 24 6 ASCII MEDIA 1 COUNTER(sign+5bytes)
25 25 1 0Ah DELIMITER
26 42 17 ASCII MEDIA 2 AMOUNT(sign+16bytes)
43 43 1 0Ah DELIMITER
44 49 6 ASCII MEDIA 2 COUNTER(sign+5bytes)
50 50 1 0Ah DELIMITER
51 67 17 ASCII MEDIA 3 AMOUNT(sign+16bytes)
68 68 1 0Ah DELIMITER
69 74 6 ASCII MEDIA 3 COUNTER(sign+5bytes)
75 75 1 0Ah DELIMITER
76 92 17 ASCII MEDIA 4 AMOUNT(sign+16bytes)
93 93 1 0Ah DELIMITER
94 99 6 ASCII MEDIA 4 COUNTER(sign+5bytes)
100 100 1 0Ah DELIMITER
101 117 17 ASCII MEDIA 5 AMOUNT(sign+16bytes)
118 118 1 0Ah DELIMITER
119 124 6 ASCII MEDIA 5 COUNTER(sign+5bytes)
125 125 1 0Ah DELIMITER
126 142 17 ASCII MEDIA 6 AMOUNT(sign+16bytes)
143 143 1 0Ah DELIMITER
144 149 6 ASCII MEDIA 6 COUNTER(sign+5bytes)
150 150 1 0Ah DELIMITER
151 167 17 ASCII MEDIA 7 AMOUNT(sign+16bytes)
168 168 1 0Ah DELIMITER
169 174 6 ASCII MEDIA 7 COUNTER(sign+5bytes)
175 175 1 0Ah DELIMITER
176 192 17 ASCII MEDIA 8 AMOUNT(sign+16bytes)
193 193 1 0Ah DELIMITER
194 199 6 ASCII MEDIA 8 COUNTER(sign+5bytes)
200 200 1 0Ah DELIMITER

60
TRANSACTION REPORT ANSWER 2

STX DATA 200bytes ETB LRC


1 2 201 202 203

200 BYTES DATA DETAIL


FROM TO SIZE KIND ITEM
1 17 17 ASCII MEDIA 9 AMOUNT(sign+16bytes)
18 18 1 0Ah DELIMITER
19 24 6 ASCII MEDIA 9 COUNTER(sign+5bytes)
25 25 1 0Ah DELIMITER
26 42 17 ASCII MEDIA 10 AMOUNT(sign+16bytes)
43 43 1 0Ah DELIMITER
44 49 6 ASCII MEDIA 10 COUNTER(sign+5bytes)
50 50 1 0Ah DELIMITER
51 67 17 ASCII MEDIA 11 AMOUNT(sign+16bytes)
68 68 1 0Ah DELIMITER
69 74 6 ASCII MEDIA 11 COUNTER(sign+5bytes)
75 75 1 0Ah DELIMITER
76 92 17 ASCII MEDIA 12 AMOUNT(sign+16bytes)
93 93 1 0Ah DELIMITER
94 99 6 ASCII MEDIA 12 COUNTER(sign+5bytes)
100 100 1 0Ah DELIMITER
101 117 17 ASCII MEDIA 13 AMOUNT(sign+16bytes)
118 118 1 0Ah DELIMITER
119 124 6 ASCII MEDIA 13 COUNTER(sign+5bytes)
125 125 1 0Ah DELIMITER
126 142 17 ASCII MEDIA 14 AMOUNT(sign+16bytes)
143 143 1 0Ah DELIMITER
144 149 6 ASCII MEDIA 14 COUNTER(sign+5bytes)
150 150 1 0Ah DELIMITER
151 167 17 ASCII MEDIA 15 AMOUNT(sign+16bytes)
168 168 1 0Ah DELIMITER
169 174 6 ASCII MEDIA 15 COUNTER(sign+5bytes)
175 175 1 0Ah DELIMITER
176 192 17 ASCII MEDIA 16 AMOUNT(sign+16bytes)
193 193 1 0Ah DELIMITER
194 199 6 ASCII MEDIA 16 COUNTER(sign+5bytes)
200 200 1 0Ah DELIMITER

61
TRANSACTION REPORT ANSWER 3

STX DATA 157bytes ETB LRC


1 2 158 159 160

157 BYTES DATA DETAIL


FROM TO SIZE KIND ITEM
1 17 17 ASCII STRAIGHT %+ AMOUNT (sign+16bytes)
18 18 1 0Ah DELIMITER
19 24 6 ASCII STRAIGHT %+ COUNTER (sign+5bytes)
25 25 1 0Ah DELIMITER
26 42 17 ASCII STRAIGHT %- AMOUNT (sign+16bytes)
43 43 1 0Ah DELIMITER
44 49 6 ASCII STRAIGHT %- COUNTER (sign+5bytes)
50 50 1 0Ah DELIMITER
51 67 17 ASCII VOID AMOUNT (sign+16bytes)
68 68 1 0Ah DELIMITER
69 74 6 ASCII VOID COUNTER (sign+5bytes)
75 75 1 0Ah DELIMITER
76 92 17 ASCII ERROR CORRECT AMOUNT
(sign+16bytes)
93 93 1 0Ah DELIMITER
94 99 6 ASCII ERROR CORRECT COUNTER
(sign+5bytes)
100 100 1 0Ah DELIMITER
101 117 17 ASCII P.O. AMOUNT (sign+16bytes)
118 118 1 0Ah DELIMITER
119 124 6 ASCII P.O. COUNTER (sign+5bytes)
125 125 1 0Ah DELIMITER
126 142 17 ASCII R.A. AMOUNT (sign+16bytes)
143 143 1 0Ah DELIMITER
144 149 6 ASCII R.A. COUNTER (sign+5bytes)
150 150 1 0Ah DELIMITER
151 156 6 ASCII NONSALE COUNTER (sign+5bytes)
157 157 1 0Ah DELIMITER

62
TRANSACTION REPORT ANSWER 4

STX DATA 198bytes ETB LRC


1 2 199 200 201

198 BYTES DATA DETAIL


FROM TO SIZE KIND ITEM
1 17 17 ASCII TAXABLE 1 AMOUNT (sign+16bytes)
18 18 1 0Ah DELIMITER
19 35 17 ASCII TAXABLE 2 AMOUNT (sign+16bytes)
36 36 1 0Ah DELIMITER
37 53 17 ASCII TAXABLE 3 AMOUNT (sign+16bytes)
54 54 1 0Ah DELIMITER
55 71 17 ASCII TAXABLE 4 AMOUNT (sign+16bytes)
72 72 1 0Ah DELIMITER
73 89 17 ASCII TAXABLE 5 AMOUNT (sign+16bytes)
90 90 1 0Ah DELIMITER
91 107 17 ASCII NON TAXABLE AMOUNT
(sign+16bytes)
108 108 1 0Ah DELIMITER
109 125 17 ASCII TAX 1 AMOUNT (sign+16bytes)
126 126 1 0Ah DELIMITER
127 143 17 ASCII TAX 2 AMOUNT (sign+16bytes)
144 144 1 0Ah DELIMITER
145 161 17 ASCII TAX 3 AMOUNT (sign+16bytes)
162 162 1 0Ah DELIMITER
163 179 17 ASCII TAX 4 AMOUNT (sign+16bytes)
180 180 1 0Ah DELIMITER
181 197 17 ASCII TAX 5 AMOUNT (sign+16bytes)
198 198 1 0Ah DELIMITER

63
TRANSACTION REPORT ANSWER 5

STX S 1 DATA 100bytes ETX LRC


1 2 3 4 103 104 105
100 BYTES DATA DETAIL
FROM TO SIZE KIND ITEM
1 2 2 ASCII ASSIGNED CLERK NUMBER
3 3 1 0Ah DELIMITER
4 22 19 ASCII sign(1 byte) +
DAILY SALES TOTAL(18
bytes)
23 23 1 0Ah DELIMITER
24 31 8 ASCII FISCAL RECEIPT NUMBER
32 32 1 0Ah DELIMITER
33 37 5 ASCII DAILY FISCAL RECEIPT NUMBER
38 38 1 0Ah DELIMITER
39 46 8 ASCII NON FISCAL RECEIPT NUMBER
47 47 1 0Ah DELIMITER
48 52 5 ASCII DAILY NON FISCAL RECEIPT
NUM.
53 53 1 0Ah DELIMITER
54 57 4 ASCII FISCAL Z REPORT COUNTER
58 58 1 0Ah DELIMITER
59 62 4 ASCII READING REPORT AUDIT NUMBER
63 63 1 0Ah DELIMITER
64 74 11 ASCII TAX PAYER CODE
75 75 1 0Ah DELIMITER
76 85 10 ASCII REGISTRATION ID CODE
86 86 1 0Ah DELIMITER
87 92 6 ASCII CURRENT TIME hh:mm:ss
93 93 1 0Ah DELIMITER
94 99 6 ASCII CURRENT DATE dd:mm:yy
100 100 1 0Ah DELIMITER

64
(1) Fiscal reading report

SEQUENCE ex) upload daily data 1-n


[HOST PC] [F P]
STX-U-..-ETX-LRC ->
<- ENQ
ACK ->
<- STX-[Daily data 1]-ETX-LRC
ACK ->
<- STX-[Daily data 2]-ETX-LRC
ACK ->
|
|
<- STX-[Daily data n]-ETX-LRC
ACK ->
<- STX-[Receipt counter data]-ETX-LRC
ACK ->
<- STX-[Information read data]-ETX-LRC
ACK ->
<- EOT

65
FISCAL READING REPORT ANSWER (DAILY DATA BLOCK)

STX DATA 140bytes ETB LRC


1 2 141 142 143

140 BYTES DATA DETAIL


FROM TO SIZE KIND ITEM
1 4 4 ASCII Z COUNTER
5 5 1 0Ah DELIMITER
6 11 6 ASCII DATE
12 12 1 0Ah DELIMITER
13 16 4 ASCII TIME
17 17 1 0Ah DELIMITER
18 31 14 ASCII DAILY TAXABLE 1
TOTAL(sign+13byte)
32 32 1 0Ah DELIMITER
33 46 14 ASCII DAILY TAXABLE 2
TOTAL(sign+13byte)
47 47 1 0Ah DELIMITER
48 61 14 ASCII DAILY TAXABLE 3
TOTAL(sign+13byte)
62 62 1 0Ah DELIMITER
63 76 14 ASCII DAILY NON TAXABLE TOTAL
(sign+13b
yte)
77 77 1 0Ah DELIMITER
78 91 14 ASCII DAILT TAX 1 TOTAL (sign+13byte)
92 92 1 0Ah DELIMITER
93 106 14 ASCII DAILT TAX 2 TOTAL (sign+13byte)
107 107 1 0Ah DELIMITER
108 121 14 ASCII DAILT TAX 3 TOTAL (sign+13byte)
122 122 1 0Ah DELIMITER
123 130 8 ASCII LAST FISCAL RECEIPT#
131 131 1 0Ah DELIMITER
132 139 8 ASCII LAST NON FISCAL RECEIPT#
140 140 1 0Ah DELIMITER

66
FISCAL READING REPORT ANSWER (RECEIPT COUNTER BLOCK)

STX DATA 41bytes ETB LRC


1 2 42 43 44

41 BYTES DATA DETAIL


FROM TO SIZE KIND ITEM
1 8 8 ASCII LAST FISCAL RECEIPT# OF PERIOD
9 9 1 0Ah DELIMITER
10 17 8 ASCII TOTAL FISCAL RECEIPT OF PERIOD
18 18 1 0Ah DELIMITER
19 26 8 ASCII LAST NON FISCAL RECEIPT# OF
PERIOD
27 27 1 0Ah DELIMITER
28 35 8 ASCII TOTAL NON FISCAL RECEIPT OF
PERIOD
36 36 1 0Ah DELIMITER
37 40 4 ASCII SYSTEM RESET COUNTER OF PERIOD
41 41 1 0Ah DELIMITER

67
FISCAL READING REPORT (LAST BLOCK)

STX S 1 DATA 100bytes ETX LRC


1 2 3 4 103 104 105
100 BYTES DATA DETAIL
FROM TO SIZE KIND ITEM
1 2 2 ASCII ASSIGNED CLERK NUMBER
3 3 1 0Ah DELIMITER
4 22 19 ASCII sign(1 byte) +
DAILY SALES TOTAL(18
bytes)
23 23 1 0Ah DELIMITER
24 31 8 ASCII FISCAL RECEIPT NUMBER
32 32 1 0Ah DELIMITER
33 37 5 ASCII DAILY FISCAL RECEIPT NUMBER
38 38 1 0Ah DELIMITER
39 46 8 ASCII NON FISCAL RECEIPT NUMBER
47 47 1 0Ah DELIMITER
48 52 5 ASCII DAILY NON FISCAL RECEIPT
NUM.
53 53 1 0Ah DELIMITER
54 57 4 ASCII FISCAL Z REPORT COUNTER
58 58 1 0Ah DELIMITER
59 62 4 ASCII READING REPORT AUDIT NUMBER
63 63 1 0Ah DELIMITER
64 74 11 ASCII TAX PAYER CODE
75 75 1 0Ah DELIMITER
76 85 10 ASCII REGISTRATION ID CODE
86 86 1 0Ah DELIMITER
87 92 6 ASCII CURRENT TIME hh:mm:ss
93 93 1 0Ah DELIMITER
94 99 6 ASCII CURRENT DATE dd:mm:yy
100 100 1 0Ah DELIMITER

68
Command for transaction read

28) Last transaction command read (This command is not supported on this
version.)

STX U T ETX LRC


1 2 3 4 5

This command reads last or current sales transaction commands data


that FP
received. Return data format are same as each command in transaction
(See
Command for sales)
This command is available after or during sales transaction.

SEQUENCE
[HOST PC] [F P]
STX-U-T-ETX-LRC ->
<- ENQ
ACK ->
<- STX-[Transaction data 1]-ETX-LRC
ACK ->
<- STX-[Transaction data 2]-ETX-LRC
ACK ->
|
|
<- STX-[Transaction data n]-ETX-LRC
ACK ->
<- EOT

69
Command for system blocking
29) Fiscal printer blocking

STX B F S ETX LRC


1 2 3 4 5 6

This command is effective only the following condition.


"Func1" and "Func2" key is on.
Transaction data is cleared. (After fiscal Z report issue)

After fiscal printer is blocked, fiscal printer refuse all command without
Fiscal reading report issue command.

70
I V. CODE TABLE

0 1 2 3 4 5 6 7 8 9 A B C D E
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 F
5 ENQ NAK% 5 E U e u
6 ACK & 6 F V f v
7 ETB` 7 G W g w o
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 DW . > N ^ n ~ Z
F / ? O _ o DW

71

Das könnte Ihnen auch gefallen