JPH0237306B2 - - Google Patents

Info

Publication number
JPH0237306B2
JPH0237306B2 JP55103433A JP10343380A JPH0237306B2 JP H0237306 B2 JPH0237306 B2 JP H0237306B2 JP 55103433 A JP55103433 A JP 55103433A JP 10343380 A JP10343380 A JP 10343380A JP H0237306 B2 JPH0237306 B2 JP H0237306B2
Authority
JP
Japan
Prior art keywords
line
density
print
medium
printed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP55103433A
Other languages
Japanese (ja)
Other versions
JPS5727779A (en
Inventor
Yoshihiro Numazawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10343380A priority Critical patent/JPS5727779A/en
Publication of JPS5727779A publication Critical patent/JPS5727779A/en
Publication of JPH0237306B2 publication Critical patent/JPH0237306B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Impression-Transfer Materials And Handling Thereof (AREA)

Description

【発明の詳細な説明】 本発明は媒体に印字する記帳機に関し、特に印
字濃度を判定する方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a bookkeeping machine that prints on a medium, and more particularly to a method for determining print density.

有帳式の現金自動支払機においては、取引内容
を通帳に印字するための記帳機が内蔵されてい
る。顧客は現金引出時に通帳を挿入すると、記帳
機は挿入された通帳の印字情報を光学的に検出し
て通帳上の次に印字すべき印字行を決定し、かか
る印字行が印字部の印字位置と対向するように通
帳を移送してセツトする。印字部ではかかる通帳
に取引内容を印字する。所定の印字が終了する
と、通帳は顧客に返却すべく記帳機の挿入口に排
出する。
A book-type automatic teller machine has a built-in bookkeeping machine for printing transaction details on a passbook. When a customer inserts a passbook when withdrawing cash, the bookkeeping machine optically detects the printed information on the inserted passbook and determines the next print line to be printed on the passbook. Transfer and set the passbook so that it is facing the bank. The printing section prints transaction details on the passbook. When the predetermined printing is completed, the bankbook is ejected into the insertion slot of the bookkeeping machine to be returned to the customer.

このような記帳機において印字部における印字
濃度は一定以上の濃度で印字情報を印字しないと
すなわち、印字濃度が極端に薄いと、次回の取引
時に次に印字すべき印字行が正確に得られず、2
重印字などを生じてしまう。
In such a bookkeeping machine, the printing density in the printing section must be higher than a certain level to print the information. In other words, if the printing density is extremely low, the next line to be printed will not be accurately obtained for the next transaction. ,2
Double printing may occur.

そのために、従来は一定の期間経過した時点で
インクリボンを交換することが行なわれている
が、特に現金自動支払機などのように使用頻度が
一定しないものについては、前記定期交換では解
決することができない。
For this reason, conventionally, the ink ribbon has been replaced after a certain period of time, but in particular for products that are not used regularly, such as in automatic teller machines, regular replacement may not solve the problem. I can't.

本発明はかかる点に鑑みなされたものであり、
通帳の排出時に印字最終行の印字濃度を判定する
ことを目的としたものであり、挿入された媒体の
印字情報を読み取ることにより次に印字すべき印
字行を決定し、かかる印字行が印字部の印字位置
に対向するように媒体をセツトして、印字を行な
い、印字終了後媒体を排出するとき媒体の最終印
字行における印字情報の濃度を検出する記帳機に
おいて、排出時に印字最終行の所定の領域を媒体
の排出する方向とは交差する方向に光学的に走査
して得られた印字の濃度を表わす信号を異なる2
つのレベルでスライスし、第1のレベルを超える
画素数と第2のレベルを超える画素数との比によ
つて濃度を判定することを特徴とする。
The present invention has been made in view of these points,
The purpose of this is to determine the print density of the last line of printing when the passbook is ejected.By reading the print information on the inserted medium, the next line to be printed is determined, and this line is the one that will be printed on the printing section. A recording machine that detects the density of the printed information on the last printed line of the medium when printing is performed by setting the medium so as to face the printing position of the medium, and when the medium is ejected after printing is finished, detects the density of the printed information on the last printed line of the medium when ejecting the medium. 2 different signals representing the density of the print obtained by optically scanning the area in a direction crossing the direction in which the medium is ejected.
It is characterized by slicing at two levels and determining the density based on the ratio of the number of pixels exceeding the first level to the number of pixels exceeding the second level.

以下、図面に沿つて本発明による印字濃度判定
方法を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A print density determination method according to the present invention will be described below with reference to the drawings.

第1図は通帳1と印字情報読取部との原理図を
示す。図において、通帳1は実線矢印方向に挿入
され、破線矢印方向に排出される。SENは通帳
1の所定の範囲における印字情報を光学的に検出
するものであり、第2図に示すように、通帳1の
給排方向と交差する方向にN回走査し、その反射
光量に応じた電気信号を出力する。この電気信号
は増幅回路AMPを経て検出信号S1として判定部
JAに入力する。判定部JAはこの検出信号S1に基
づいて、次に印字すべき印字行情報と、印字最終
行における印字濃度の濃度情報を出力する。印字
行情報はOUT1より、濃度情報はOUT2より出
力される。
FIG. 1 shows a principle diagram of the bankbook 1 and the printed information reading section. In the figure, the passbook 1 is inserted in the direction of the solid line arrow and is ejected in the direction of the broken line arrow. SEN optically detects the printed information in a predetermined range of the passbook 1. As shown in Figure 2, the SEN scans the passbook 1 N times in a direction intersecting the feeding and discharging direction, and detects the information according to the amount of reflected light. Outputs an electrical signal. This electric signal passes through the amplifier circuit AMP and is sent to the judgment unit as a detection signal S1 .
Enter in JA. Based on this detection signal S1 , the determination unit JA outputs information on the print line to be printed next and density information on the print density of the last line to be printed. Print line information is output from OUT1, and density information is output from OUT2.

判定部JAの回路構成の詳細を第3図に示す。
第3図において、SL1〜SL3はスライス回路、
CNT1〜CNT3はカウンタ、MEM1,2はメ
モリ、REG1,REG3は書込レジスタ、REG
2,REG4は読出レジスタ、ADC1,ADC3は
メモリMEM1,2に対する書込アドレスを発生
するアドレスカウンタ、ADC2,ADC4は読出
アドレスを発生するアドレスカウンタ、G1はゲ
ート、COMPは比較回路である。
FIG. 3 shows the details of the circuit configuration of the determination section JA.
In Fig. 3, SL1 to SL3 are slice circuits,
CNT1 to CNT3 are counters, MEM1 and 2 are memories, REG1 and REG3 are write registers, REG
2, REG4 is a read register, ADC1 and ADC3 are address counters that generate write addresses for the memories MEM1 and MEM2, ADC2 and ADC4 are address counters that generate read addresses, G1 is a gate, and COMP is a comparison circuit.

第1図における増幅器AMPの出力信号S1はア
ナログ信号であり、これはセンサSENの走査速
度に同期したサンプリング周期でサンプリングさ
れ、例えば16値のデイジタル値に変換される。こ
の技術は公知のものなので図示省略する。そのデ
イジタル値S2はスライス回路SL1に、アンド回
路AND1を介してスライス回路SL2に入力して
いる。スライス回路SL1にはPOSAが入力され、
スライス回路SL3にはPCSBが入力している。
これらPCSA、PCSBはある値であり、Aは0.25、
Bは0.4である。PCSは印字濃淡信号(Print
Contrast Signal)の略号であり、印字用紙の地
に対する印字情報の濃度を示すものである。した
がつてPCSの値が大きいものは地に対する濃度が
濃く、PCS=1は照射された光を全部吸収し、反
射は零であり、反対にPCS=0は全部の照射光を
反射する。今、この例ではPCSA=0.25、PCSB
=0.4とする。
The output signal S1 of the amplifier AMP in FIG. 1 is an analog signal, which is sampled at a sampling period synchronized with the scanning speed of the sensor SEN, and converted into, for example, 16 digital values. Since this technique is well known, illustration thereof is omitted. The digital value S2 is input to the slice circuit SL1 and then to the slice circuit SL2 via the AND circuit AND1. POSA is input to slice circuit SL1,
PCSB is input to the slice circuit SL3.
These PCSA and PCSB are certain values, A is 0.25,
B is 0.4. PCS is a print density signal (Print
This is an abbreviation for Contrast Signal, which indicates the density of printed information relative to the background of printing paper. Therefore, when the PCS value is large, the density with respect to the ground is high; PCS=1 absorbs all of the irradiated light and reflection is zero, and conversely, PCS=0 reflects all of the irradiated light. Now, in this example, PCSA=0.25, PCSB
= 0.4.

スライス回路SL1は入力信号S2の値が0.25以
上のときだけその出力が論理1(以下“1”とす
る)となり、同様にスライス回路SL3は0.4以上
のときだけその出力が“1”となる。
The output of the slice circuit SL1 becomes logic 1 (hereinafter referred to as "1") only when the value of the input signal S2 is 0.25 or more, and similarly, the output of the slice circuit SL3 becomes "1" only when the value is 0.4 or more. .

カウンタCNT1,CNT3はスライス回路SL
1,SL3の出力の“1”の個数を計数する。カ
ウンタCNT1,CNT3には信号SNが入力して
いる。この信号SNはセンサSENがN回の走査で
通帳の1行を走査するものであればN回走査する
毎に入力する。信号SNが到来すると、その計数
値M1,M2はレジスタREG1,3に送出される。
従つて値M1,M2は1行内におけるPCS0.25以上
および0.4以上の画素数を示すことになる。
Counters CNT1 and CNT3 are slice circuits SL
1. Count the number of "1"s in the output of SL3. A signal SN is input to the counters CNT1 and CNT3. If the sensor SEN scans one line of the bankbook in N scans, this signal SN is input every N scans. When the signal SN arrives, its count values M 1 and M 2 are sent to the registers REG1 and REG3.
Therefore, the values M 1 and M 2 indicate the number of pixels with a PCS of 0.25 or more and 0.4 or more in one row.

レジスタREG1の内容はアドレスカウンタ
ADC1によつて指定されたアドレスに記憶され
る。そのアドレス第24行目(通帳の1ページにお
ける最終行)より第23行、第22行……第1行を指
定するように送出される。同様に、アドレスカウ
ンタADC2もアドレスを第24行目より第23行、
第22行……第1行を指定するように送出する。し
たがつて、アドレスカウンタADC1,ADC3の
歩進は通帳の実線矢印方向の移動と同期する。
The contents of register REG1 are address counters.
It is stored at the address specified by ADC1. The address is sent from the 24th line (the last line on one page of the passbook) to specify the 23rd line, the 22nd line, and so on to the first line. Similarly, address counter ADC2 also inputs addresses from the 24th line to the 23rd line,
Line 22: Sends to specify the first line. Therefore, the increments of the address counters ADC1 and ADC3 are synchronized with the movement of the bankbook in the direction of the solid line arrow.

読出用アドレスカウンタADC2,ADC4は読
出アドレスを送出するものであるが、それらは同
期して、第24行目より第23行、第22行,…第1行
の順序で読み出される。その読み出された内容
M1,M2はそれぞれ読出レジスタREG2,REG
4に一旦記憶される。レジスタREG2の内容は
スライス回路SL2と比較回路COMPに送出され、
レジスタREG4の内容は比較回路COMPに送出
される。
The read address counters ADC2 and ADC4 send out read addresses, which are read out in the order of the 24th line, 23rd line, 22nd line, . . . 1st line in synchronization. The read content
M 1 and M 2 are read registers REG2 and REG, respectively
4 is temporarily stored. The contents of register REG2 are sent to slice circuit SL2 and comparison circuit COMP,
The contents of register REG4 are sent to comparison circuit COMP.

スライス回路SL2の一方にはREF1が入力され
る。これはある数値であり、1行においてその行
が印字情報ありと判断してよい数であり、このス
ライス回路SL2の出力はレジスタREG2の内容
M1とREF1の内容がM1REF1のとき“1”とな
る。この出力が“1”となることによつてフリツ
プフロツプFF1のQ出力が“1”となり、それ
によつてカウンタCNT2の内容はゲート回路G
1を介して出力端子OUT1より出力される。ス
ライス回路SL2の出力が“0”すなわちM1
REF1のときにフリツプフロツプFF1のQ出力は
“0”を維持し続けるので、そのときにはカウン
タCNT2の内容はゲートG1より出力されるこ
とはない。ゲートGからの出力が表わすものは前
述の説明より理解されるように、M1REF1にな
つた初めての行数を表わし、これは換言すれば通
帳上に印字されている最終行を表わすこととな
る。カウンタCNT2は読出アドレスカウンタ
ADC2のクロツクを計数することにより、行数
を計数することとなる。
REF1 is input to one side of the slice circuit SL2. This is a certain number, and it is a number that can be judged as having print information in one line, and the output of this slice circuit SL2 is the content of register REG2.
It becomes “1” when the contents of M 1 and REF1 are M 1 REF1. When this output becomes "1", the Q output of flip-flop FF1 becomes "1", and the contents of counter CNT2 change to gate circuit G.
1 and is output from the output terminal OUT1. The output of slice circuit SL2 is “0”, that is, M 1 <
Since the Q output of flip-flop FF1 continues to maintain "0" at REF1, the contents of counter CNT2 are not output from gate G1 at that time. As understood from the above explanation, what the output from gate G represents represents the first line number that became M 1 REF1, and in other words, this represents the last line printed on the passbook. Become. Counter CNT2 is a read address counter
By counting the clocks of ADC2, the number of lines is counted.

フリツプフロツプFF1のQ出力はまた比較回
路COMPにも入力されている。比較回路COMP
はQ出力が“0”から“1”に変化することによ
り、2つの入力値すなわちレジスタREG2,
REG4の内容を比較する。比較回路COMPは値
M1とM2とを比較し、M1≒M2の場合と、M1
M2の場合とに区別する。そして、出力OUT2よ
りM1≒M2の場合は“0”を出力し、M1≫M2
場合は“1”を出力する。
The Q output of flip-flop FF1 is also input to the comparison circuit COMP. Comparison circuit COMP
When the Q output changes from “0” to “1”, the two input values, namely register REG2,
Compare the contents of REG4. The comparison circuit COMP is the value
Compare M 1 and M 2 , and compare M 1 ≒ M 2 and M 1
Distinguish between the case of M2 . Then, the output OUT2 outputs "0" when M 1 ≒M 2 , and outputs "1" when M 1 ≫M 2 .

第4図を使用して比較回路COMPの機能につ
いて、更に詳細に説明すると、第4図は第3図に
おける入力信号S2と、POSA=0.25、PCSB=0.4
との関係を示すものである(第4図については説
明を簡単にするために、センサSENの1走査に
のみ着目した)。PCSA=0.25以上の画素数m1は
図示の如く「10」とし、PCSB=0.4以上の画素数
m2を「2」とすると、m1≫m2となるので比較
回路COMPの出力は“1”となる。この“1”
はPCS0.4を超えるものが少なく、そのほとんど
は0.25と0.4の間に存在することを示し、従つて、
“1”は印字部におけるインクリボン濃度が薄く
なつたことを表わすリボン交換アラーム信号とな
る。
The function of the comparator circuit COMP will be explained in more detail using FIG. 4. FIG. 4 shows input signal S 2 in FIG. 3, POSA=0.25, PCSB=0.4
(In order to simplify the explanation, only one scan of the sensor SEN was focused on in FIG. 4). The number of pixels m1 with PCSA = 0.25 or more is "10" as shown in the figure, and the number of pixels with PCSB = 0.4 or more.
If m2 is "2", m1≫m2, so the output of the comparator COMP becomes "1". This “1”
shows that there are few PCSs exceeding 0.4, and most of them exist between 0.25 and 0.4, and therefore,
"1" is a ribbon replacement alarm signal indicating that the ink ribbon density in the printing section has become thinner.

一方、m1≒m2の場合には、0.4を超える画素
数と0.25を超える画素数が略等しいことを表わす
ので、出力端子OUT2の“0”はインクリボン
濃度が一定以上あることを示す。
On the other hand, when m1≈m2, it means that the number of pixels exceeding 0.4 and the number of pixels exceeding 0.25 are approximately equal, so "0" at the output terminal OUT2 indicates that the ink ribbon density is above a certain level.

このときゲートG1を介して当然のことながら
PCSA=0.25以上と判断した行数もOUT1より出
力される。この行数は媒体の吸入時は次に印字す
べき行として使用されるが、媒体の排出時には印
字部にて直前に印字した行がわかつているので、
それとの照合が行なわれる。これによつて印字の
際にインクリボンが印字部にセツトされていない
こと等も同時に検出できる。
At this time, as a matter of course, through gate G1
The number of lines judged as PCSA=0.25 or more is also output from OUT1. This number of lines is used as the next line to be printed when the medium is sucked in, but when the medium is ejected, the print unit knows the line that was printed immediately before.
A comparison is made with that. This makes it possible to simultaneously detect that the ink ribbon is not set in the printing section during printing.

媒体の吸入すなわち、媒体を印字位置にセツト
する際にはPCSB=0.4の内容は必要としないの
で、アンド回路AND1の一方の入力には排出信
号(排出時“1”)が入力している。またアドレ
スカウンタADC3,ADC4も媒体吸入時は動作
しない。
Since the content of PCSB=0.4 is not required when sucking the medium, that is, setting the medium at the print position, an ejection signal ("1" when ejecting) is input to one input of the AND circuit AND1. Further, address counters ADC3 and ADC4 do not operate when the medium is sucked.

なお、第1図、第3図に示す回路はその1例で
あり、図示の回路構成に限定されるものではな
い。更にPCSA、PCSBは例に限定されるもので
はないが、A<Bに設定する必要があることは勿
論である。
Note that the circuits shown in FIGS. 1 and 3 are just one example, and the circuit configuration is not limited to the illustrated circuit configuration. Furthermore, although PCSA and PCSB are not limited to the example, it is of course necessary to set A<B.

従来、考えられる技術すなわち、画素数レベル
を1つとし、その行全体の画素数がそのレベルを
超えたかどうかで濃度を判定したものは印字情報
の文字構成により目視によつては文字判定が困難
な薄さの時でも濃度良と判定されたり、反対に濃
度が充分にも拘らず、濃度否と判定されることが
あつたが、本発明によれば2つの異なるレベルで
スライスし、第1のレベルを超える画素数だけで
なく、それと第2のレベルを超える画素数の比に
よつて濃度を判定するものであるから、目視によ
り近い濃度判定が可能となる。
Conventional techniques that have been considered, that is, one in which the number of pixels is set at one level and density is determined based on whether the number of pixels in the entire row exceeds that level, are difficult to judge by visual inspection due to the character structure of the printed information. However, according to the present invention, slices are sliced at two different levels, and the density is determined to be good even when the density is sufficient. Since the density is determined not only by the number of pixels exceeding the second level, but also by the ratio of this number to the number of pixels exceeding the second level, it is possible to determine the density closer to visual observation.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は通帳と光学センサとの関係を示す原理
図、第2図はセンサの走査を示す原理図、第3図
は第1図における判定回路の詳細を示す回路、第
4図は1走査におけるその出力と2つのレベルと
の関係を示す。 図中、1……通帳、SEN……光学センサ、JA
……判定回路、SL1〜SL3……スライス回路、
CNT1〜CNT3……カウンタ、MEM1,
MEM2……メモリ、COMP……比較回路を示
す。
Fig. 1 is a principle diagram showing the relationship between a bankbook and an optical sensor, Fig. 2 is a principle diagram showing sensor scanning, Fig. 3 is a circuit showing details of the judgment circuit in Fig. 1, and Fig. 4 is a one-scanning diagram. shows the relationship between its output and two levels in . In the diagram, 1...Passbook, SEN...Optical sensor, JA
... Judgment circuit, SL1 to SL3 ... Slice circuit,
CNT1~CNT3...Counter, MEM1,
MEM2...Memory, COMP...Comparison circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 挿入された媒体の印字情報を読み取ることに
より次に印字すべき印字行を決定し、かかる印字
行が印字部の印字位置に対向するように媒体をセ
ツトして、印字を行ない、印字終了後媒体を排出
するとき媒体の最終印字行における印字情報の濃
度を検出する記帳機において、排出時に印字最終
行の所定の領域を媒体の排出する方向とは交差す
る方向に光学的に走査して得られた印字の濃度を
表わす信号を異なる2つのレベルでスライスし、
第1のレベルを超える画素数と第2のレベルを超
える画素数との比によつて濃度を判定することを
特徴とする記帳機における濃度判定方法。
1. Determine the next print line to be printed by reading the print information on the inserted medium, set the medium so that the print line faces the print position of the print section, print, and after printing is completed. In a bookkeeping machine that detects the density of printed information in the last printed line of a medium when a medium is ejected, a predetermined area of the last printed line is optically scanned in a direction crossing the direction in which the medium is ejected. The signal representing the printed density is sliced at two different levels,
A method for determining density in a bookkeeping machine, characterized in that density is determined based on the ratio of the number of pixels exceeding a first level to the number of pixels exceeding a second level.
JP10343380A 1980-07-28 1980-07-28 Judging of printing density in printer Granted JPS5727779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10343380A JPS5727779A (en) 1980-07-28 1980-07-28 Judging of printing density in printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10343380A JPS5727779A (en) 1980-07-28 1980-07-28 Judging of printing density in printer

Publications (2)

Publication Number Publication Date
JPS5727779A JPS5727779A (en) 1982-02-15
JPH0237306B2 true JPH0237306B2 (en) 1990-08-23

Family

ID=14353897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10343380A Granted JPS5727779A (en) 1980-07-28 1980-07-28 Judging of printing density in printer

Country Status (1)

Country Link
JP (1) JPS5727779A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58140750U (en) * 1982-03-17 1983-09-21 株式会社日立製作所 printing device
US4699531A (en) * 1984-11-30 1987-10-13 Rjs Enterprises, Inc. Self-correcting printer-verifier

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5843787B2 (en) * 1978-07-12 1983-09-29 オムロン株式会社 Printing condition inspection device

Also Published As

Publication number Publication date
JPS5727779A (en) 1982-02-15

Similar Documents

Publication Publication Date Title
US4143355A (en) Character recognition system
CN1082296A (en) Measure the device of skew timing errors
JPS58106464A (en) Glitch detecting and measuring instrument
US3831009A (en) Timing system for optically scanned documents
JPH0237306B2 (en)
JPS5848956B2 (en) Paper leaf identification device
JPH0814858B2 (en) Bill validator
US3588818A (en) Character recognition system employing continuity detection and registration means
JPH0419025B2 (en)
JPS6331828B2 (en)
JPS59200387A (en) Printed matter discriminator
US4074332A (en) Method and digital circuit for measuring skew of magnetic heads
JPS5949669A (en) Data reader
JPS63182798A (en) Paper sheet soiling discrimination device
JP2999022B2 (en) Printed line judgment device
JP2918190B2 (en) Magnetic writing device
JPH0357505B2 (en)
JPS6411995B2 (en)
JP2000306136A (en) Method and device for paper sheet discrimination
JPS6079487A (en) Discrimination of paper money
JPS5994181A (en) Pattern recognizing device
JPS62180487A (en) Level correcting system
SU1294402A1 (en) System of automatic rejection of sheets by quality
JPS6118087A (en) Pattern reader for sheet paper
JPH04290770A (en) Device for taking out form