JPS5843787B2 - Printing condition inspection device - Google Patents
Printing condition inspection deviceInfo
- Publication number
- JPS5843787B2 JPS5843787B2 JP53085546A JP8554678A JPS5843787B2 JP S5843787 B2 JPS5843787 B2 JP S5843787B2 JP 53085546 A JP53085546 A JP 53085546A JP 8554678 A JP8554678 A JP 8554678A JP S5843787 B2 JPS5843787 B2 JP S5843787B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- level
- printed
- printing
- pattern
- 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
Links
Landscapes
- Image Input (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
- Handling Of Cut Paper (AREA)
Description
【発明の詳細な説明】 この発明は、印字状態検査装置に関する。[Detailed description of the invention] The present invention relates to a printing condition inspection device.
印字装置を長い間使用すると印字リボンがうずくなって
印字された文字などが不鮮明になったりする場合がある
。If a printing device is used for a long time, the printing ribbon may swell and the printed characters may become unclear.
また、印字ヘッドが傾いていたり、印字圧が低かったり
しても明瞭な印字を期待することはできない。Further, even if the print head is tilted or the printing pressure is low, clear printing cannot be expected.
この発明は、常に鮮明な字などが印字されるよう、印字
された字などの濃度、品質を検査することにより、印字
装置の印字リボン、印字ヘッドの状態を監視するための
、印字状態検出装置を提供するものである。This invention is a printing condition detection device for monitoring the condition of a printing ribbon and a printing head of a printing device by inspecting the density and quality of printed letters so that the letters are always printed clearly. It provides:
この発明による印字状態検査装置は、印字された字など
の濃度および品質を検査する装置であって、印字された
字などを走査してその画像信号を出力する撮像装置、こ
の画像信号をそれぞれ異なる基準レベルでレベル弁別し
かつ符号化することにより、濃度に応じたレベル分離デ
ータ信号を出力する複数のレベル弁別、符号化装置、複
数のレベル弁別、符号化装置のうちのいずれか所定のも
のから出力されるレベル分離データのうちの印字有を示
すデータの数を、水平−走査ごとに計数し計数値が第1
の所定数以上の場合にその走査線を有効とする計数手段
、走査線が有効とされた場合に、その走査線に関する各
レベル弁別、符号化装置のレベル分離データをそれぞれ
別個の場所にストアするメモリ、有効とされた走査線が
第2の所定数以上連続して出現するかどうかを検査し、
第2の所定数以上連続しない場合にメモリにストアされ
たデータをクリヤし、所定数以上連続した場合にはメモ
リにストアされたデータを状態検査すべきレベル分離デ
ータと判定する手段、およびすべきものであると判定さ
れたレベル分離データによるデータ・パターンと所要の
パターンとを比較することにより印字状態を判定する手
段を備えていることを特徴とする。The printing condition inspection device according to the present invention is a device for inspecting the density and quality of printed characters, etc., and includes an imaging device that scans the printed characters, etc. and outputs an image signal thereof, and an imaging device that scans the printed characters and outputs an image signal. A plurality of level discrimination and encoding devices outputting level separated data signals according to density by performing level discrimination and encoding at a reference level; The number of data indicating the presence of printing among the output level separation data is counted for each horizontal scan, and the counted value is the first
a counting means for validating a scanning line if the number is greater than a predetermined number, and storing level separation data of each level discrimination and encoding device for the scanning line in separate locations when the scanning line is validated. the memory, checking whether or not valid scanning lines appear consecutively at least a second predetermined number;
means for clearing the data stored in the memory when the data is not consecutive for a second predetermined number or more, and determining that the data stored in the memory is level-separated data whose state should be checked when the data is consecutive for the predetermined number or more; and what should be done. The present invention is characterized by comprising means for determining the printing state by comparing the data pattern based on the level separation data determined to be equal to the desired pattern with a desired pattern.
この発明では、印字された字などの画像信号を複数の異
なる基準レベルでレベル弁別して濃度ニ応じたレベル分
離データを得、これらのレベル分離データによるデータ
・パターンと所要のパターンとを比較しているから、印
字された文字や数字が鮮明であるか、濃度かうすいか、
品質が不良か、判読不可能かなどを検査することができ
、印字状態の常時の連袂が可能となる。In this invention, image signals such as printed characters are level-discriminated using a plurality of different reference levels to obtain level-separated data according to density, and data patterns based on these level-separated data are compared with a desired pattern. Because of this, check whether the printed characters and numbers are clear, dark, or faint.
It is possible to inspect whether the quality is poor or illegible, and it is possible to constantly monitor the printed state.
また、複数のレベル弁別、符号化装置のうちのいずれか
所定のもの。Also, any predetermined one among a plurality of level discrimination and encoding devices.
たとえば目視判読可能な最低限の濃度レベルを基準レベ
ルとするレベル弁別、符号化装置から出力されるレベル
分離データのうちの印字有を示す(すなわち基準レベル
よりも濃度の高い)データの数を、撮像装置の水平−走
査ごとに計数し、その走査線のデータが有効かどうかを
判定している。For example, level discrimination using the minimum visually readable density level as the reference level, and the number of data indicating the presence of printing (that is, the density is higher than the reference level) among the level separation data output from the encoding device, Each horizontal scan of the imaging device is counted and it is determined whether the data for that scan line is valid.
このことにより、雑音のみを含み印字された字などを表
わしていない走査線のデータを排除している。This eliminates scanning line data that contains only noise and does not represent printed characters.
そして計数値が第1の所定数以上で有効と判定された走
査線に関する各レベル分離データのみをメモリにストア
しているので、雑音にもとづく不要なデータのストアの
ためにメモリの記憶場所が占められてしまうことがなく
、メモリの記憶容量を少なくすることができる。Since only the level separation data related to the scanning line whose count value is equal to or greater than the first predetermined number and is determined to be valid is stored in the memory, the storage space in the memory is occupied by the storage of unnecessary data based on noise. The storage capacity of the memory can be reduced.
さらにこの発明においては、有効とされた走査線が第2
の所定数以上連続して出現するかどうかを検査しており
、第2の所定数以上連続しない場合には判定すべき字な
どが印字されているのではなくて何らかの汚れなどがあ
るものとみなしてメモリのデータをクリヤしているから
、このような汚れにもとづく誤判定を排除することがで
きるとともに、メモリの記憶場所の節約を図ることがで
きる。Furthermore, in this invention, the valid scanning line is
It is checked whether or not they appear consecutively for a predetermined number or more, and if they do not appear consecutively for a predetermined number or more, it is assumed that the characters to be determined are not printed and that there is some kind of dirt. Since the data in the memory is cleared by using the filter, it is possible to eliminate such erroneous judgments due to contamination, and it is also possible to save storage space in the memory.
そうして、所定数以上連続した場合にのみメモリにスト
アされたデータを状態検査すべきレベル分離データであ
ると判断しているから、判定すべき字などのみを正しく
判定の対象とすることが可能であり、メモリの容量は判
定すべき字などを表わすデータのみをストアしうるもの
で足りる。Since the data stored in the memory is judged to be level-separated data whose status should be checked only when a predetermined number or more are consecutive, it is possible to correctly judge only the characters that should be judged. It is possible, and the memory capacity is sufficient to store only the data representing the character to be determined.
以下、この発明の実施例を、現金自動預金機、支払機そ
の他の記帳機に内蔵されている印字装置によって印字さ
れた通帳の印字状態検査に適用した場合について詳しく
説明する。Hereinafter, a case in which an embodiment of the present invention is applied to inspecting the printing state of a passbook printed by a printing device built in an automatic teller machine, a payment machine, or other bookkeeping machine will be described in detail.
第1図において、通帳50は、おもておよびうら表紙5
2a 、52bの内がわに印字用紙53が綴じられてな
る。In FIG. 1, a bankbook 50 has a front cover 5 and a back cover 5.
Printed paper 53 is bound inside 2a and 52b.
印字用紙53には、目付、払戻し金額、預り金額、およ
び差引残高を印字すべき欄が設けられている。The printing paper 53 is provided with columns for printing the basis weight, refund amount, deposit amount, and balance.
また、所定の余白部分にはページ数をあられすアラビヤ
数字54が印刷されている。Furthermore, Arabic numerals 54 indicating the page number are printed in a predetermined margin.
印字された数字などの検査は、日付、各金額欄のすべて
の数字などについて行なうことが好ましいが、通常、同
一印字リボン、同一印字ヘッドを用いてすべての欄が印
字されるから、1つの印字欄の検査で足りる。It is preferable to inspect printed numbers, etc. for all numbers in the date and amount columns, but normally, all columns are printed using the same printing ribbon and the same print head, so one print Inspecting the columns is sufficient.
以下の例では日付欄に印字された数字などの濃度および
品質を検査する。In the example below, the density and quality of numbers printed in the date field are inspected.
第2図は、現金自動預金機、支払機その他の記帳機内に
設けられている通帳搬送路60を示している。FIG. 2 shows a passbook transport path 60 provided in an automatic teller machine, payment machine, or other bookkeeping machine.
こ5では搬送路60は上下方向にのびているものとする
。In this example, it is assumed that the conveyance path 60 extends in the vertical direction.
搬送路60は、ローラ61と、ローラ61に掛けられた
ベルト62とから構成され、通帳50はベルト62間に
挾まれた状態で矢印C方向(下方とする)に搬送される
。The conveyance path 60 is composed of a roller 61 and a belt 62 placed on the roller 61, and the passbook 50 is conveyed in the direction of arrow C (downward) while being held between the belts 62.
この搬送路60にのぞんで搬入口から搬送方向に向って
、操作素子としての電荷結合素子(以下、CCDという
)63.64、および通帳位置検出スイッチ65.66
が順次配置され、かつ適当な高さ位置に印字ヘッド67
が設けられている。Looking into this conveyance path 60 from the import entrance toward the conveyance direction, there are charge-coupled devices (hereinafter referred to as CCDs) 63 and 64 as operating elements, and passbook position detection switches 65 and 66.
are arranged sequentially, and the print head 67 is placed at an appropriate height position.
is provided.
CCD63はページ数をあられす数字54を読取るもの
であって、通帳50の搬送にともない数字54が通過す
る巾方向位置に設けられている(第3b図参照)。The CCD 63 is for reading the number 54 that indicates the page number, and is provided at a position in the width direction where the number 54 passes as the bankbook 50 is conveyed (see FIG. 3b).
CCD64は日付欄に印字されている数字などを読取る
ものであって、日付欄にそう巾方向位置に設けられてい
る。The CCD 64 is for reading numbers printed in the date column, and is provided at a position across the width of the date column.
検出スイッチ65は、搬送されてきた通帳50の印字用
紙の最下桁の最下位部分がCCD64と対向したときに
通帳50の最下端を検出する高さ位置にあり(第3a図
参照)、後述するように印字行の位置決め動作において
は、このスイッチ65の検出信号が出力された時点から
CCD64による読取りが開始される。The detection switch 65 is located at a height position that detects the lowest end of the passbook 50 when the lowest part of the lowest digit of the printing paper of the passed passbook 50 faces the CCD 64 (see Figure 3a), and will be described later. In the print line positioning operation, reading by the CCD 64 is started from the moment the detection signal of this switch 65 is output.
検出スイッチ66は同印字用紙の最上行の最上位部分が
CCD64と対向したときに通帳50の最下端を検出す
る位置にあり(第3c図参照)、印字行位置決め動作に
おいては、このスイッチ66の検出信号が出力されるま
でCCD64による読取りが続行していればこの検出信
号によって上記読取りが停止され′る。The detection switch 66 is located at a position to detect the bottom edge of the bankbook 50 when the uppermost part of the uppermost line of the printing paper faces the CCD 64 (see Figure 3c). If the reading by the CCD 64 continues until the detection signal is output, the reading is stopped by this detection signal.
CCD64は、この実施例では256ビツト1列の一次
元素子であるが、256ビツト×4などの二次元素子を
用いることも可能である。In this embodiment, the CCD 64 is a primary element having one row of 256 bits, but it is also possible to use a secondary element such as 256 bits x 4.
さらに、撮像素子としてはパケット・ブリゲート素子B
BDやホトダイオードを用いてもよく、さらにこれらが
マトリクス状に配列されてなりかつ水平走査および垂直
走査回路によって駆動され、通帳50の印字面を水平、
垂直方向に順次読出す二次元撮像素子を用いることもで
きる。Furthermore, as an image sensor, a packet brigade element B
BDs and photodiodes may also be used, and these are arranged in a matrix and driven by horizontal scanning and vertical scanning circuits, so that the printing surface of the passbook 50 is horizontally and
It is also possible to use a two-dimensional image sensor that sequentially reads out data in the vertical direction.
通帳位置検出スイッチ65.66としては光電スイッチ
、マイクロ・スイッチなどを採用しうる。As the passbook position detection switches 65 and 66, a photoelectric switch, a micro switch, etc. can be adopted.
さて、通帳の日付欄には、「52−10−10J1’−
52−10−11J、「52−11−23」などのよう
に、年、月、日をあられす数字とこれらの数字をつなぐ
バーとが各行ごとに必ず印字されており、(第1図、第
6図参照)、また印字行位置決めののちには同様な数字
など印字されるが、この実施例では便宜的に年と月およ
びこれらをつなぐバーのみをCCD64で読取るものと
する。Now, in the date column of the passbook, it says "52-10-10J1'-
52-10-11J, ``52-11-23,'' etc., numbers representing the year, month, and day, and a bar connecting these numbers are always printed on each line (Fig. 1, (See FIG. 6), and similar numbers are printed after positioning the print line, but in this embodiment, for convenience, only the year, month, and the bar connecting them are read by the CCD 64.
第4図にl’−52−11JをCCD64で読取った場
合のモデルが示されている。FIG. 4 shows a model when l'-52-11J is read by CCD 64.
方形の鎖線Eで示される範囲がl−52−11Jを認識
するために必要な検知領域である。The range indicated by the rectangular chain line E is the detection area necessary to recognize l-52-11J.
領域Eの横り方向が256に分割されその各分割点がC
CD64の1ビツトに相当する。The horizontal direction of area E is divided into 256 parts, and each dividing point is C.
Corresponds to 1 bit of CD64.
L=10mmとすれば1ビット当り0.04mrrtの
解像度が得られる。If L=10 mm, a resolution of 0.04 mrrt per bit can be obtained.
これはレンズ71(第6図参照)を用いることにより充
分達成し得る。This can be fully achieved by using a lens 71 (see FIG. 6).
縦り方向には30〜60回程度走査される。この走査回
数は通帳50の搬送速度と、横方向への走査速度によっ
て適宜に定めるとよい。It is scanned about 30 to 60 times in the vertical direction. The number of times of scanning may be appropriately determined depending on the conveying speed of the bankbook 50 and the scanning speed in the horizontal direction.
CCD64による印字面の1走査は、第5図に示すよう
に時間T3の周期で行なわれる。One scan of the print surface by the CCD 64 is performed at a period of time T3, as shown in FIG.
走査周期T3内には走査期間T1と休止期間T2とがあ
り、走査期間T1内でたとえば走査線S1の走査が完了
し、休止期間T2経過後次の走査期間T1で次の走査線
S2にそう走査を行ない、通帳50の搬送にともない順
次各走査線にそって走査していく。The scanning period T3 includes a scanning period T1 and a pause period T2. For example, scanning of the scanning line S1 is completed within the scanning period T1, and after the pause period T2 has elapsed, scanning is performed on the next scanning line S2 in the next scanning period T1. As the passbook 50 is conveyed, it is sequentially scanned along each scanning line.
第6図において、通帳挿入検出器74は搬送路60の通
帳挿入口付近に設けられた充電スイッチなどからなるも
のであり、その検出信号は中央演算処理装置(以下CP
Uという)70および通帳搬送装置78に送られる。In FIG. 6, the passbook insertion detector 74 consists of a charging switch etc. provided near the passbook insertion slot on the conveyance path 60, and its detection signal is sent to the central processing unit (hereinafter referred to as CP).
) 70 and a passbook transport device 78.
通帳搬送装置78は通帳挿入検出信号が入力すると、ロ
ーラ61を駆動して通帳50を搬送路60上を搬送する
。When the passbook insertion detection signal is input, the passbook conveyance device 78 drives the rollers 61 to convey the passbook 50 on the conveyance path 60 .
搬送開始後においては搬送装置78はCPU70によっ
て制御される。After the start of transport, the transport device 78 is controlled by the CPU 70.
送り量計数装置75は、ローラ61の軸に設けられた回
転トランスデユーサからなるもので、たとえば通帳50
の搬送速度に比例した周波数の一連のパルスを発生する
。The feed amount counting device 75 is composed of a rotary transducer provided on the shaft of the roller 61, and is, for example, a passbook 50.
generates a series of pulses with a frequency proportional to the transport speed.
このパルスはCPU70に送られる。This pulse is sent to CPU 70.
通帳位置検出器76は上述の検出スイッチ65.66を
含み、これらの位置検出信号はCPU70および駆動回
路77に送られる。The bankbook position detector 76 includes the above-mentioned detection switches 65 and 66, and these position detection signals are sent to the CPU 70 and the drive circuit 77.
駆動回路77は三相クロック・パルスと第5図に示す走
査サイクル信号とを出力し、CCD64を駆動する。The drive circuit 77 outputs three-phase clock pulses and the scan cycle signal shown in FIG. 5 to drive the CCD 64.
CCD64からは駆動回路77の三相クロック・パルス
毎に各ビットのデータが取出され、各走査期間T1毎に
各走査線S1・・・Sn・・・にそう画像の時系列信号
が出力される。Each bit of data is taken out from the CCD 64 every three-phase clock pulse of the drive circuit 77, and a time-series image signal is output to each scanning line S1...Sn... every scanning period T1. .
この時系列信号は画像増巾器72で増巾されたのち画像
信号■O8として処理回路73に送られる。This time-series signal is amplified by an image amplification device 72 and then sent to a processing circuit 73 as an image signal O8.
処理回路73は画像信号■O8に対して後に詳述する処
理を行なう。The processing circuit 73 performs processing to be described in detail later on the image signal ①O8.
この処理のために、駆動回路77から三相クロック・パ
ルスに同期した基準タイミング信号STR,および走査
サイクル信号に同期した画像入力信号INTが処理回路
73に送られている。For this processing, a reference timing signal STR synchronized with three-phase clock pulses and an image input signal INT synchronized with a scanning cycle signal are sent from the drive circuit 77 to the processing circuit 73.
メモリ80には、データ・パターン・エリヤとモデル・
パターン・エリヤとカする。The memory 80 contains a data pattern area and a model area.
Play with Pattern Elijah.
データ・パターン・エリヤには、第7図に示すように開
始フラグF1として使用する記憶場所、連続走査回数計
数用カウンタF2として使用する記憶場所、および後述
するように4段階のレベルに分離された各データCMD
I 、CMD2゜CMD3 、CMD4を記憶するデー
タ・エリヤCMAI 、CMA2 、CMA3 、CM
A4が設けられている。The data pattern area includes a memory location used as a start flag F1, a memory location used as a counter F2 for counting the number of consecutive scans, and a memory location separated into four levels as described later. Each data CMD
Data area for storing I, CMD2°CMD3, CMD4 CMAI, CMA2, CMA3, CM
A4 is provided.
これらの各データ・エリヤCMA1〜CMA4は、1つ
の検知領域Eの全データを記憶しうる容量256ビツト
×(30〜60)を有している。Each of these data areas CMA1 to CMA4 has a capacity of 256 bits (30 to 60) capable of storing all data of one detection area E.
モデル・パターン・エリアには、判定の標準となる日付
欄に印字される数字のモデル・パターンがあらかじめ設
定されている。In the model pattern area, a model pattern of numbers to be printed in the date field that serves as a standard for determination is set in advance.
メモリ80としては、コアメモリ、リード・オンリ・メ
モリ(ROM)、ランダム・アクセス・メモl)(RA
M)などが用いられ、モデル・パターンはコアメモリま
たはROMに、データ・パターンはコアメモリまたはR
AMにそれぞれストアするとよい。The memory 80 includes core memory, read-only memory (ROM), and random access memory (RA).
M) etc. are used, the model pattern is stored in the core memory or ROM, and the data pattern is stored in the core memory or R
It is best to store each in AM.
表示装置79はパターン判別結果および印字濃度、品質
検査結果を表示するのに用いられ、詳細は後述する。The display device 79 is used to display pattern discrimination results, print density, and quality inspection results, and details will be described later.
第8図には、処理回路73の具体的構成が示されている
。FIG. 8 shows a specific configuration of the processing circuit 73.
タイミング・パルス発生回路90は駆動回路77からの
画像入力信号INTおよび基準タイミング信号STRに
もとづいて、3種類のタイミング・パルスTP1.TP
2.TP3を発生する。The timing pulse generation circuit 90 generates three types of timing pulses TP1 . . . based on the image input signal INT from the drive circuit 77 and the reference timing signal STR. T.P.
2. Generate TP3.
第9図に示すようにタイミング・パルスTP1は信号S
TRに同期した信号であり、タイミング・パルスTP2
はパルスTP1よりも半周期だけ位相が遅れた信号であ
る。As shown in FIG.
A signal synchronized with TR, timing pulse TP2
is a signal whose phase is delayed by half a cycle from the pulse TP1.
また、タイミンク・パルスTP3はパルスTP2の8個
毎にパルスTP1と同期して出力される。Further, the timing pulse TP3 is outputted every eight pulses TP2 in synchronization with the pulse TP1.
これらのタイミング・パルスTP1〜TP3はいずれも
入力信号INTが“H“レベルにある間(走査期間T1
)だけ出力される。These timing pulses TP1 to TP3 are all applied while the input signal INT is at "H" level (scanning period T1).
) are output.
さて、画像増巾器72からの画像信号■O8はレベル多
重分離用のレベル弁別器101,102゜103.10
4に送られる。Now, the image signal ■O8 from the image intensifier 72 is transferred to the level discriminator 101, 102, 103, 10 for level demultiplexing.
Sent to 4.
各レベル弁別器101〜104はそれぞれ異なる基準レ
ベルVT1 。Each level discriminator 101-104 has a different reference level VT1.
VT2 、VT3 、VT4をそれぞれ有し、画像信号
vO8をこれらの基準レベルVTI〜VT4でレベル弁
別して符号化し、かつ反転してレベル分離信号CMV1
、CMV2 、CMV3 、CMV4として出力する
。VT2, VT3, and VT4, the image signal vO8 is level-discriminated and encoded using these reference levels VTI to VT4, and is inverted to produce a level-separated signal CMV1.
, CMV2, CMV3, and CMV4.
第9図には、第4図の走査線S1にそう画像信号VO3
1と走査線Snにそう画像信号VO8nとが示されてい
る。In FIG. 9, an image signal VO3 is shown on the scanning line S1 in FIG.
1 and the image signal VO8n is shown on the scanning line Sn.
画像信号■O8は白い部分に対してはそのレベルが高く
、黒い部分の濃度が濃くなるほどレベルが低くなる。The level of the image signal ■O8 is high for the white part, and the level becomes lower as the density of the black part becomes higher.
走査線S1に宅う部分には黒い部分はなくすべて白いか
ら、画像信号VO31は均一に高いレベルの信号となっ
ている。Since there is no black part in the area corresponding to the scanning line S1 and the area is all white, the image signal VO31 is a uniformly high level signal.
走査線Snは印字されている部分を横切っているから、
画像信号VO8nのレベルは印字の濃度に応じて変動し
ている。Since the scanning line Sn crosses the printed part,
The level of the image signal VO8n varies depending on the density of the print.
画像信号VO8nの低いレベルの部分のうちZlで示す
部分は急激にレベルが低下し黒レベルに近づいているか
ら、はっきりと印字されている部分を示している。Among the low-level portions of the image signal VO8n, the portion indicated by Zl rapidly decreases in level and approaches the black level, so it indicates a clearly printed portion.
これに対して、Z2で示す部分は信号VO8nのレベル
が緩慢に変化している。On the other hand, in the portion indicated by Z2, the level of the signal VO8n changes slowly.
この部分Z2は印字が不明確であることを示しており、
たとえば印字リボンが薄くなってその印字能力が減退し
ていたり、印字された部分を指などで擦った結果印字の
輪郭が不明確になってしまった場合などにあられれる。This part Z2 shows that the printing is unclear,
For example, this can occur when the printing ribbon becomes thin and its printing ability is reduced, or when the printed area is rubbed with a finger or the like and the outline of the print becomes unclear.
レベル弁別器101〜104の各基準レベル■T1〜v
T4は、VT4>VT3>VT2>VTlの関係にあり
、かつ基準レベルVT4は画像信号■O8の白レベルよ
りも低い。Each reference level of the level discriminators 101 to 104 ■T1 to v
T4 has a relationship of VT4>VT3>VT2>VTl, and the reference level VT4 is lower than the white level of the image signal ①O8.
基準レベルVTIによってレベル弁別されたレベル分離
信号CMV1は最も濃度の高い分割点による画像を表わ
し、信号CMV2は基準レベルVT2に対応する濃度よ
りも高い濃度の分割点による画像を表わしている。The level separation signal CMV1 whose level has been discriminated based on the reference level VTI represents an image formed by a division point with the highest density, and the signal CMV2 represents an image formed by a division point whose density is higher than that corresponding to the reference level VT2.
同様に、他の信号CMV3 、CMV4は、基準レベル
vT3.vT4に対応する濃度よりも濃い分割点による
画像をそれぞれ表わしている。Similarly, the other signals CMV3, CMV4 are at the reference level vT3. Each image is represented by a dividing point that is darker than the density corresponding to vT4.
基準レベルVT3は印字された数字などを目視して判読
可能な濃度に対応するレベルに設定され、基準レベルV
T3に対応する濃度よりも濃い画像のみが目視判読可能
であるから、その意味でレベル分離信号CMV3は臨界
的な信号として利用される。The reference level VT3 is set to a level corresponding to the density of printed numbers etc. that can be visually read.
Since only images darker than the density corresponding to T3 can be visually read, the level separation signal CMV3 is used as a critical signal in that sense.
各レベル弁別器101〜104からのレベル分離信号C
MV1〜CM′v4はANDゲート105に送られる。Level separation signal C from each level discriminator 101 to 104
MV1 to CM'v4 are sent to AND gate 105.
ANDゲート105は画像入力信号INTによって制御
されており、信号INTが“H“レベルの場合にそのゲ
ートが開かれるので、この間に各レベル分離信号CMV
1〜CMV4はANDゲート105を経て、次階の端縁
修正回路にそれぞれ送られる。The AND gate 105 is controlled by the image input signal INT, and the gate is opened when the signal INT is at "H" level, so during this time, each level separation signal CMV
1 to CMV4 are respectively sent to the next-level edge correction circuit via an AND gate 105.
端縁修正回路は、直列入力直列出力形式の256ビツト
・シフト・レジスタが4列に並べられたシフト・レジス
タ群111.112,113,114と、これらのシフ
ト・レジスタ群111〜114に含まれる4つのシフト
・レジスタの各出力のAND論理をとるAND回路11
5とから構成されている。The edge correction circuit is included in shift register groups 111, 112, 113, and 114 in which serial input serial output type 256-bit shift registers are arranged in four columns, and these shift register groups 111 to 114. AND circuit 11 that takes AND logic of each output of four shift registers
It consists of 5.
各シフト・レジスタ群111〜114において、第1シ
フト・レジスタの出力端Lf−OUT1は第2シフト・
レジスタの入力端子IN2に、第2シフト・レジスタの
出力端子0UT2は第3シフトレジスタの入力端子IN
3に、第3シフト・レジスタの出力端子0UT3は第4
シフト・レジスタの入力端子IN4にそれぞれ接続され
ている。In each shift register group 111 to 114, the output terminal Lf-OUT1 of the first shift register is connected to the second shift register group 111-114.
The output terminal 0UT2 of the second shift register is connected to the input terminal IN2 of the register, and the output terminal 0UT2 of the second shift register is connected to the input terminal IN2 of the third shift register.
3, the output terminal 0UT3 of the third shift register is
They are respectively connected to the input terminal IN4 of the shift register.
シフト・レジスタ群、111〜11.4の各シフト・レ
ジスタのシフト・パルス入力端子Tにはタイミング・パ
ルスTP1が入力しており、このタイミング・パルスT
P1毎に各シフト・レジスタはその入力を読込むととも
にそれらの内容を1ビツトずつシフトする。A timing pulse TP1 is input to the shift pulse input terminal T of each shift register in the shift register group 111 to 11.4.
Every P1, each shift register reads its input and shifts its contents one bit at a time.
最初の走査期間T1において、ANDゲート105を経
て送られてくる走査線S1にそうレベル分離信号CMV
1は、まずシフト・レジスタ群111の入力端子IN1
から第1シフト・レジスタに入り、タイミング・パルス
TP1毎に順次シフトされて丁度走査期間T1経過した
時点で、走査線S1にそう256ビツトのデータが第1
シフト・レジスタに満たされる。During the first scanning period T1, the level separation signal CMV is applied to the scanning line S1 sent through the AND gate 105.
1 is the input terminal IN1 of the shift register group 111.
The first 256-bit data is entered into the first shift register from the first shift register and shifted sequentially every timing pulse TP1, and when exactly the scanning period T1 has elapsed, the first 256-bit data is transferred to the scanning line S1.
The shift register is filled.
次の走査期間T1では、第2番目の走査線S2にそうレ
ベル分離信号CM■1が入力端子IN1から第1シフト
・レジスタに入るとともに、第1シフト・レジスタの出
力端子0UT1から走査線S1にそうデータが出力して
AND回路115に送られかつ入力端子IN2から第2
シフト・レジスタに入る。In the next scanning period T1, the level separation signal CM1 enters the first shift register from the input terminal IN1 to the second scanning line S2, and also enters the scanning line S1 from the output terminal 0UT1 of the first shift register. Then, the data is outputted and sent to the AND circuit 115, and from the input terminal IN2 to the second
Enter shift register.
そして、第2番目の走査期間T1が経過した時点で、走
査線81.S2にそう各256ビツトずつのデータが第
1、第2シフト・レジスタに満たされる。Then, when the second scanning period T1 has elapsed, the scanning line 81. At S2, data of 256 bits each is filled into the first and second shift registers.
以下、同様にして各走査期間T1毎に入力するレベル分
離信号CMVIが第1シフト・レジスタに、第1シフト
・レジスタの内容が第2シフト・レジスタに、第2シフ
ト・レジスタの内容が第3シフト・レジスタに、第3シ
フト・レジスタの内容が第4シフト・レジスタにそれぞ
れ入れられ、かつ各シフト・レジスタの内容が各出力端
子0UTI〜0UT4からAND回路115に送られる
。Thereafter, in the same manner, the level separation signal CMVI input for each scanning period T1 is input to the first shift register, the contents of the first shift register are input to the second shift register, and the contents of the second shift register are input to the third shift register. The contents of the third shift register are respectively input to the fourth shift register, and the contents of each shift register are sent to the AND circuit 115 from each output terminal 0UTI to 0UT4.
いま、第10図および第11図を参照して第4図に鎖線
F1〜F4で囲まれた部分を考えてみる。Now, with reference to FIGS. 10 and 11, consider the portion surrounded by chain lines F1 to F4 in FIG. 4.
第10図は第4図の一部分の拡大図であり、第11図は
第10図に示す画像を走査して得られるレベル分離信号
CMV1を“0〃“1“の符号で表わしたものである。FIG. 10 is an enlarged view of a part of FIG. 4, and FIG. 11 shows the level separation signal CMV1 obtained by scanning the image shown in FIG. 10, expressed by the symbols "0" and "1". .
第(m+4)番目の走査期間T1経過した時点では走査
線(S(m+4))〜(S(m + 1 ))にそうデ
ータがシフト・レジスタ群111の第1〜第4レジスタ
に入っていることになる。At the time when the (m+4)th scanning period T1 has elapsed, data is stored in the first to fourth registers of the shift register group 111 in scanning lines (S(m+4)) to (S(m+1)). It turns out.
そして、第(m+5)番目の走査期間T1において、こ
れらの内容が各シフト・レジスタから出力されAND回
路115に送られる。Then, in the (m+5)th scanning period T1, these contents are output from each shift register and sent to the AND circuit 115.
走査線(S(m + 1 ))のデータ゛は12〜j2
ビツト目が“1“であり、走査線(S(m + 2 )
)のデータはi3〜jOビット目が“1“であり、走査
線(S(m+3))のデータはi4〜jOビ゛ット目が
“1〃であり、走査線(s(m+4))のデータはi3
〜joビ゛ント目が“1〃である。The data of the scanning line (S(m + 1)) is 12 to j2
The bit is “1” and the scanning line (S(m + 2)
), the i3 to jO bits are "1", and the data of the scanning line (S(m+3)) is "1" in the i4 to jO bits, and the data of the scanning line (s(m+4)) is "1". The data is i3
~jo bit is “1”.
しかし、AND回路115の出力はこれらのデータのA
ND論理となるから、第(m+5)番目の走査期間T1
におけるAND回路115の出力は、第11図に鎖線G
1で示すようにi4〜joビ゛ント目のデータのみが“
1“となる。However, the output of the AND circuit 115 is A of these data.
Since it is ND logic, the (m+5)th scanning period T1
The output of the AND circuit 115 in FIG.
As shown in 1, only the data of bits i4 to jo are “
1".
同様にして、第(m+6)番目の走査期間T1における
AND回路115の出力は走査線(s(m+2)) 〜
(S(m+ 5 ))のデータのAND論理(G2で示
す)となるからi4〜jOビ゛ント目のみが“1“とな
り、さらに第(m+7)、(m+s)番目の走査期間に
おいてもAND回路115の出力はi4〜jO,i5〜
joビ゛ット目がそれぞれ“1“となる(G3゜G4で
示す)。Similarly, the output of the AND circuit 115 in the (m+6)th scanning period T1 is the scanning line (s(m+2)) ~
Since it is an AND logic (indicated by G2) of the data of (S(m+5)), only bits i4 to jO are "1", and furthermore, AND logic is applied in the (m+7) and (m+s)th scanning periods. The outputs of the circuit 115 are i4~jO, i5~
The jo bits each become "1" (indicated by G3 and G4).
このようにして、鎖線Hで囲まれているような1走査線
においてのみあらかれる特殊なデータ“1“が排除され
、印字された数字などの走査線と直交する方向の端縁が
整えられる。In this way, the special data "1" that appears only in one scanning line, such as the one surrounded by the chain line H, is eliminated, and the edges of printed numbers and the like in the direction perpendicular to the scanning line are adjusted.
他のレベル分離信号CMV2〜CMV4を処理する端縁
修正回路も全く同様の機能を果たし、印字の端縁に発生
したつぶれ、かすれ、または切れなどが修正される。The edge correction circuits that process the other level separation signals CMV2 to CMV4 also perform exactly the same function, correcting any smudges, blurring, or cuts occurring at the edges of the print.
なお、隣接する4つの走査線のデータにおいて、同一ビ
゛ント目がともに“1“でないとAND回路115を通
過しないから、印字された数字などの上端または下端付
近のデータは多少圧縮されるが特に支障は生じない。In addition, in the data of four adjacent scanning lines, unless the same bit is "1", it will not pass through the AND circuit 115, so data near the top or bottom end, such as printed numbers, will be compressed to some extent. There are no particular problems.
各AND回路115からの修正されたレベル分離信号は
直列入力並列出力形式の8ビツト・シフト・レジスタ1
16の入力端子にそれぞれ送られる。The modified level separated signals from each AND circuit 115 are transferred to an 8-bit shift register 1 in series input parallel output format.
Each signal is sent to 16 input terminals.
これらのシフト・レジスタ116のシフト・パルス入力
端子CKにはタイミング・パルスTP2が送られており
、シフト・レジスタ116はこのパルスTP2毎に入力
信号を読込みかつ読込んだ各データをシフトし、8ビツ
トずつの並列データに変換する。A timing pulse TP2 is sent to the shift pulse input terminal CK of these shift registers 116, and the shift register 116 reads the input signal and shifts each read data every pulse TP2. Convert to bit-by-bit parallel data.
そして、シフト・レジスタ116の内容は8ビツトずつ
FIFO(First −In −F 1rst−Ou
t)バッファ・レジスタ121゜122.123,12
4に送られる。The contents of the shift register 116 are stored in 8-bit FIFO format (First-In-F 1rst-Ou).
t) Buffer register 121゜122.123,12
Sent to 4.
このFIFOバッファ・レジスタ121〜124は、送
られてくるデータを順にメモリしながら先着順に送り出
すレジスタであって、1つの走査線にそうすべてのデー
タをストアしうる容量を有し、8ビツト32段で構成さ
れている。These FIFO buffer registers 121 to 124 are registers that sequentially store incoming data and send it out on a first-come, first-served basis.They have a capacity to store all the data in one scanning line, and have 32 8-bit stages. It consists of
FIFOレジスタ121〜124のシフト・パルス入力
端子CKには、タイミング・パルスTP2の8個毎に出
力されるタイミング・パルスTP3が入力しており、タ
イミング・パルスTP3毎にシフト・レジスタ116か
らのデータを8ビツトずつ読込み、かつ読込んだ内容を
前段にシフトする。Timing pulses TP3, which are output every eight timing pulses TP2, are input to the shift pulse input terminals CK of the FIFO registers 121 to 124, and the data from the shift register 116 is output every eight timing pulses TP3. is read 8 bits at a time, and the read contents are shifted to the previous stage.
第12図を参照して、FIFOレジスタ121〜124
は丁度1走査分のデータをストアしうる容量を有してい
るから、走査期間T1の最後のタイミング・パルスTP
3が送られたときFIFOレジスタ121〜124には
容量一杯のデータが入れられたことになり、このときF
IFOレジスタ121から信号FULLが割込信号とし
てCPU70に送られる。With reference to FIG. 12, FIFO registers 121 to 124
has a capacity to store exactly one scan's worth of data, so the last timing pulse TP of the scan period T1
3 is sent, it means that the FIFO registers 121 to 124 have been filled with data to their full capacity, and at this time
A signal FULL is sent from the IFO register 121 to the CPU 70 as an interrupt signal.
すると、CPU70においての割込が受付けられ、FI
FOレジスク121〜124からのデータ入力処理が実
行される。Then, the interrupt in the CPU 70 is accepted and the FI
Data input processing from the FO registers 121 to 124 is executed.
この処理はIN命令により行なわれ、まずFIFOレジ
スタ121を指定する選択信号SS1がチップ・セレク
ト端子C8に送られ、FIFOレジスタ121の最前段
の8ビツト・データがデータ・バス118を通ってCP
U70内のアキュムレータに転送され、このアキュムレ
ータからメモリ80内のデータ・エリヤCMAIに転送
される。This process is performed by the IN command. First, a selection signal SS1 specifying the FIFO register 121 is sent to the chip select terminal C8, and the 8-bit data at the front stage of the FIFO register 121 is sent to the CP via the data bus 118.
It is transferred to an accumulator in U70, and from this accumulator to data area CMAI in memory 80.
次にFIFO122を指定する選択信号SS2が出力さ
れ、同様にしてFIFOレジスタ122の最前段の8ビ
ツト・データがデータ・バス118、CPU70を経て
データ・エリヤCMA2に送られる。Next, a selection signal SS2 designating the FIFO 122 is output, and similarly, the 8-bit data at the forefront of the FIFO register 122 is sent to the data area CMA2 via the data bus 118 and the CPU 70.
同様にして、順次FIFOレジスク123.124を指
定する選択信号883.SS4が送られ、各FIFOレ
ジスタ123.124の最前段のデータが各データ・エ
リヤCMA3 、CMA4にストアされる。Similarly, selection signals 883 . SS4 is sent, and the data at the first stage of each FIFO register 123, 124 is stored in each data area CMA3, CMA4.
FIFOレジスタ121の最前段のデータが出力されれ
ば、FIFOレジスタ121は一杯ではなくなるから信
号FULLは消滅する。When the data at the first stage of the FIFO register 121 is output, the signal FULL disappears because the FIFO register 121 is no longer full.
また、各FIFOレジスタ121〜124の最前段のデ
ータが送出されると、最前段が空になるからストアされ
ている全データが1段だけ前方にシフトされ、最後段(
入力がわ)が空となって次の走査線のデータの入力に備
える。Also, when the data in the first stage of each FIFO register 121 to 124 is sent out, the first stage becomes empty, so all stored data is shifted forward by one stage, and the last stage (
The input area (input area) becomes empty and is ready for inputting data for the next scanning line.
このようにして、FIFOレジスタ121〜124内の
データが8ビツトずつ順次各データ・エリアCMA1〜
CMA4に転送される。In this way, the data in the FIFO registers 121-124 are sequentially transferred 8 bits at a time to each data area CMA1-CMA1-124.
Transferred to CMA4.
そして、休止期間T2の間に、各FIFOレジスタ12
1〜124内の256ビツトのすべてのテ゛−夕をメモ
リ80内にストアする。Then, during the pause period T2, each FIFO register 12
All data of 256 bits from 1 to 124 are stored in memory 80.
なお、休止期間T2においてFIFOレジスタ121〜
124の最前段のデータのみの転送を行なうようにして
もよい。Note that during the pause period T2, the FIFO registers 121 to
It is also possible to transfer only the first stage data of 124.
この場合には、休止期間T2は1回のデータ入力時間T
4よりもやや長ければよいから、非常に短い時間とする
ことができる。In this case, the pause period T2 corresponds to one data input time T.
It only needs to be a little longer than 4, so it can be a very short time.
また、直接メモリ・アクセス・チャネル装置を設け、信
号FULLがあったときに上記装置にデータ・エリヤC
MA1〜CMA4の先頭番地を指定して、CPU70の
動作とは独立にFIFOレジスク121〜124のデー
タを順次データ・エリアCMA1〜CMA4に入力させ
るようにすることもできる。In addition, a direct memory access channel device is provided, and when there is a signal FULL, the device is provided with data area C.
It is also possible to designate the starting addresses of MA1 to CMA4 so that the data in the FIFO registers 121 to 124 are sequentially input to the data areas CMA1 to CMA4 independently of the operation of the CPU 70.
この場合にも休止時間T2が1回のデータ入力時間T4
よりも長ければ、次の走査期間T1の開始時点にはFI
FOレジスタ121〜124内に空が生ずるから次の走
査線のデータをFIFOレジスタ121〜124にスト
アさせることができる。In this case as well, the pause time T2 is one data input time T4.
If it is longer than FI, at the start of the next scanning period T1
Since the FO registers 121-124 are empty, data for the next scanning line can be stored in the FIFO registers 121-124.
このように、FIFOレジスク121〜124は、デー
タの入力に関し、FIFOレジスタ121〜124の前
段の回路とCPU70の動作を分離して能率的な処理を
保障する。In this way, the FIFO registers 121-124 separate the operation of the CPU 70 from the circuits preceding the FIFO registers 121-124 regarding data input, thereby ensuring efficient processing.
さらに第8図において、カウンタ117は、レジスフ群
113の出力がわに接続されたAND回路115の出力
の“H“レベルのデータ数を計数する。Furthermore, in FIG. 8, a counter 117 counts the number of "H" level data of the output of the AND circuit 115 connected across the output of the register group 113.
このAND回路115の出力はレベル分離信号C]M、
V3の端縁修正された信号であるから、カウンタ117
は、基準レベルVT3に相当する濃度よりも濃い分割点
の数を計数することになる。The output of this AND circuit 115 is the level separation signal C]M,
Since it is an edge-corrected signal of V3, the counter 117
The number of dividing points whose density is darker than the density corresponding to the reference level VT3 is counted.
このカウンタ117は信号FULLによって次の走査期
間T1が開始されるときにリセットされる。This counter 117 is reset by the signal FULL when the next scanning period T1 is started.
信号FULLは各走査線の走査終了毎に出力されるから
、カウンタ117は各走査毎に上記分割点の数を計数す
る。Since the signal FULL is output every time the scanning of each scanning line is completed, the counter 117 counts the number of division points for each scanning.
カウンタ117、および上述した通帳位置検出スイッチ
65.66の各出力はFIFOレジスタ121〜124
と同じようにIN命令によってCPU70に読込まれる
。The outputs of the counter 117 and the passbook position detection switches 65 and 66 described above are stored in FIFO registers 121 to 124.
Similarly, it is read into the CPU 70 by the IN command.
カウンタ117、スイッチ65.66はそれぞれ選択信
号SS5 、SS6 、SS7によって指定される。Counter 117 and switches 65 and 66 are designated by selection signals SS5, SS6 and SS7, respectively.
次に第13図を参照して、通帳50の日付欄の前回印字
行に印字された数字などを読取り、かつパターン判別す
ることによって、通帳50の次に印字すべき行が印字ヘ
ッド67と対向するように位置決めするとともに、位置
決めしたのち印字へラド67により所要の数字などを各
欄に印字し、この印字した数字などの濃度および品質を
検査する動作について述べる。Next, referring to FIG. 13, by reading the numbers etc. printed on the previous print line in the date column of the passbook 50 and identifying the pattern, the next line to be printed on the passbook 50 is aligned with the print head 67. The following describes the operation of positioning the printer so that the printer is positioned, printing necessary numbers, etc. in each column using the printing pad 67 after positioning, and inspecting the density and quality of the printed numbers, etc.
まず、通帳50の所定ページを開いて記帳機C挿入口に
差込む(ステップ1)と、これが通張挿入検出器74に
よって検出され通帳搬送装置78が駆動されるので、通
帳50は搬送路60にそって下方に搬送されていく(ス
テップ2)。First, when a predetermined page of the passbook 50 is opened and inserted into the entry slot of the bookkeeping machine C (step 1), this is detected by the passbook insertion detector 74 and the passbook transport device 78 is driven, so that the passbook 50 is inserted into the transport path 60. It is conveyed downward along the (step 2).
そして選択信号SS6により通張位置検出スイッチ65
を指定して、このスイッチ65の出力状態を読取る(ス
テップ3)。Then, the tension position detection switch 65 is activated by the selection signal SS6.
is specified, and the output state of this switch 65 is read (step 3).
通帳50の最下端がスイッチ65によって検出され、ス
イッチ65から検出信号が出力されていれば、通帳50
は、その日付欄の最下行の最下位部分がCCD64と対
向する位置に至ったのであるから、この位置を基準とし
て送り量計数装置75による送り量計数が開始される(
ステップ4)とともに、CCD64による通帳50の日
付欄の走査を開始する(ステップ5)。If the lowest end of the passbook 50 is detected by the switch 65 and a detection signal is output from the switch 65, the passbook 50
Since the lowest part of the bottom row of the date field has reached the position facing the CCD 64, the feed amount counting device 75 starts counting the feed amount based on this position (
At the same time as step 4), scanning of the date column of the bankbook 50 by the CCD 64 is started (step 5).
CCD64によってまず第1番目の走査線にそう256
ビツトのデータを読取ると、信号FULLによる割込み
にもとづいてこれらのデータをメモリ80のデータ・エ
リヤにストアする。The CCD 64 first scans the first scanning line with 256
When bit data is read, these data are stored in the data area of memory 80 based on an interrupt by signal FULL.
(ステップ6)。(Step 6).
次に、選択信号SS5によりカウンタ117を指定して
カウンタ117の計数値を読取り、計数値が10以上で
あるか否かを判断する(ステップ7)。Next, the counter 117 is designated by the selection signal SS5, the counted value of the counter 117 is read, and it is determined whether the counted value is 10 or more (step 7).
カウンタ117の計数値は、上述のように1つの走査線
における基準レベルVT3に対応する濃度よりも濃い分
割点の数を示している。As described above, the count value of the counter 117 indicates the number of dividing points in one scanning line whose density is higher than the density corresponding to the reference level VT3.
各走査線において、何らかの印字された数字などが存在
するか、または紙面雑音であるかの判定基準を10とし
、上記分割点が10以上存在すれば印字された数字など
によるものとし、10未満であれば雑音であるとみなす
。In each scanning line, the criterion for determining whether there is some kind of printed number or the like or whether it is paper noise is set as 10. If there are 10 or more division points, it is considered to be a printed number, etc., and if it is less than 10, If so, it is considered to be noise.
日付欄走査の初期においては印字されていない白い部分
を走査しているから、通常カウンタ117の計数値は1
0よりも小さくステップ7における判断はNOであって
ステップ8に移る。At the beginning of scanning the date field, the unprinted white area is being scanned, so the count value of the counter 117 is usually 1.
If it is smaller than 0, the determination in step 7 is NO and the process moves to step 8.
ステップ8では開始フラグF1が既にセットされている
かを判断する。In step 8, it is determined whether the start flag F1 has already been set.
開始フラグF1については後述するが、走査初期では未
だフラグF1はセットされていないからステップ15に
移って、ステップ6でストアしたメモリ80内のデータ
をクリヤする。The start flag F1 will be described later, but since the flag F1 is not yet set at the beginning of scanning, the process moves to step 15, and the data stored in the memory 80 in step 6 is cleared.
そして、選択信号SS7により通張位置検出スイッチ6
6を指定してこのスイッチ66の出力状態を読取り(ス
テップ16)、未だスイッチ66から検出信号が出力さ
れていなければ、ステップ6に戻る。Then, the tension position detection switch 6 is activated by the selection signal SS7.
6 is designated and the output state of this switch 66 is read (step 16), and if no detection signal has been output from the switch 66 yet, the process returns to step 6.
通帳50の搬送にともない同様にしてステップ6.7,
8,15.16を繰返していき、CCD64が印字され
ている部分に至ると、カウンタ117の計数値が10以
上になるからステップ7からステップ17に移ってフラ
グF1をセットする。As the passbook 50 is transported, step 6.7,
Steps 8, 15, and 16 are repeated, and when the CCD 64 reaches the printed area, the count value of the counter 117 becomes 10 or more, so the process moves from step 7 to step 17, and flag F1 is set.
そして、フラグF1セット後の連続走査回数を計数する
ためにカウンタF2の内容に+1する。Then, in order to count the number of consecutive scans after the flag F1 is set, the content of the counter F2 is incremented by 1.
この後、再びステップ6に戻り、CCD64の印字され
ている部分を走査している間、ステップ6゜7.17.
18を繰返す。After this, the process returns to step 6 again, and while the printed portion of the CCD 64 is being scanned, steps 6゜7.17.
Repeat step 18.
印字されている部分の走査が完了すると、CCD64は
再び白い部分を走査することになるから、ステップ7に
おける判断はNOとなってステップ8に移り、フラグF
1は既にセラ(されているのでステップ8からステップ
9に移行する。When the scanning of the printed area is completed, the CCD 64 will scan the white area again, so the determination in step 7 is NO and the process moves to step 8, where the flag F is
1 has already been sold, so the process moves from step 8 to step 9.
ステップ9ではカウンタF2の計数値が20以上である
か否かを判断する。In step 9, it is determined whether the count value of the counter F2 is 20 or more.
カウンタ117の計数値が10以上である走査線に対し
てカウンタF2の内容が+1されるから、カウンタF2
の内容はこのような走査線が何本連続して存在するかを
表わしている。Since the contents of counter F2 are incremented by 1 for scanning lines for which the count value of counter 117 is 10 or more, counter F2
The content of indicates how many such scanning lines exist consecutively.
ステップ9では、カウンタ117の計数値が10以上で
ある走査線が20本以上連続して存在している場合に、
走査した部分に数字などが印字されているとみなしてス
テップ10に移る。In step 9, if there are 20 or more consecutive scanning lines whose count value of the counter 117 is 10 or more,
It is assumed that numbers or the like are printed in the scanned area, and the process moves to step 10.
カウンタF2の内容が20未満の場合には、数字などが
印字されているのではなくて何らかの汚れなどがあるも
のとみなしてステップ15に移りストアしたデータをク
リアする。If the content of the counter F2 is less than 20, it is assumed that there is some kind of dirt or the like rather than numbers being printed, and the process moves to step 15 to clear the stored data.
このとき、フラグF1およびカウンタF2もクリアし、
ステップ6に戻って上記同様な処理を繰返す。At this time, flag F1 and counter F2 are also cleared,
Return to step 6 and repeat the same process as above.
ステップ9で数字などが印字されていると判断した場合
に、この判断された印字行は通帳50の下端から上端に
向ってみた場合にはじめてあられれる印字行、すなわち
通帳50の前回印字行であるから、次に印字すべき行は
この判断された印字行の下端から上端に向ってみた前の
行である。When it is determined in step 9 that numbers etc. are printed, the determined printing line is the printing line that appears for the first time when looking from the bottom to the top of the bankbook 50, that is, the previous printing line of the bankbook 50. Therefore, the next line to be printed is the previous line viewed from the bottom to the top of this determined print line.
この次に印字すべき行の位置決めの準備としてステップ
10で、通帳50の最下行から上記数字などが印字され
ていると判断された行までの送り量を計数装置75から
読取り、ストアしておく。In preparation for positioning the next line to be printed, in step 10, the amount of feed from the bottom line of the passbook 50 to the line where it is determined that the above numbers etc. are printed is read from the counting device 75 and stored. .
次にステップ11において、読取ったデータによるパタ
ーンとあらかじめモデル・パターン・工リヤに設定され
ているモデル・パターンとを比較し、パターン判別を実
行する。Next, in step 11, the pattern based on the read data is compared with a model pattern set in advance in the model pattern factory, and pattern discrimination is executed.
メモリ80のデータ・エリヤCMAI〜CMA4には、
レベル分離された4種類のデータCMD1〜CMD4が
ステップ6.7,17.18の繰返しにより既にストア
されている。In the data areas CMAI to CMA4 of the memory 80,
Four types of level-separated data CMD1 to CMD4 have already been stored by repeating steps 6.7 and 17.18.
他方、メモリ80のモデル・パターン・エリヤには日付
欄に印字される数字の標準となる多数のモチ゛ル・パタ
ーンがあらかじめストアされているから、データ・パタ
ーンのうちいずれか1つたとえばデータCMD3からな
るデータ・パターンと多数のモデル・パターンとを順次
比較し、一致するものがあるかどうかを調べる。On the other hand, since the model pattern area of the memory 80 stores in advance a large number of standard model patterns for numbers printed in the date column, any one of the data patterns, for example, consisting of data CMD3, is stored in advance. Compare a data pattern to a number of model patterns sequentially to see if there are any matches.
両パターンの比較は、たとえば両パターンを構成するデ
ータを1ビツトずつ取出し、これらの各データが一致す
るかどうかを判定して総データ数に対する一致したデー
タの数の割合を求め、この割合が所定値以−ヒである場
合に両パターンが一致したとみなす。To compare both patterns, for example, data constituting both patterns is taken out one bit at a time, and it is determined whether each of these pieces of data match, and the ratio of the number of matching data to the total number of data is calculated, and this ratio is set to a predetermined value. If the value is greater than or equal to H, both patterns are considered to match.
データを1ビツトずつ比較せずに数ビットずつ比較して
もよい。The data may be compared several bits at a time instead of comparing each bit one by one.
なお、年と月の組み合わせの数字は種類が多いので、年
あるいは月の一方、または年あるいは月のうちの1桁の
数字について比較しても本発明の目的を達成できる。Note that, since there are many types of numeric combinations of year and month, the object of the present invention can be achieved even by comparing either the year or the month, or one digit of the year or month.
この後者の場合には、モデル・パターンとしてO〜9の
数字を記憶しておけばよい。In this latter case, numbers 0 to 9 may be stored as model patterns.
このようにして、データCMD3からなるデータ・パタ
ーンが多数のモデル・パターンのいずれか1つと一致す
れば可(OK)であり、データ・パターンがどのモデル
・パターンとも一致しない場合には不可(NG)である
。In this way, if the data pattern consisting of data CMD3 matches any one of the many model patterns, it is OK (OK), and if the data pattern does not match any model pattern, it is OK (NG). ).
ステップ11において可(OK)であれば、ステップ1
0でストアした送り量にもとづいて、次に印字すべき行
が印字ヘッド67に対向する位置に通帳50を位置決め
しくステップ12)、この後通帳50の印字すべき行に
所定の印字を行なって(ステップ13)、メモリ80の
データ、フラグF1およびカウンタF2をクリヤしたの
ち(ステップ14)、印字濃度と印字品質の検査のステ
ップに移る。If OK in step 11, step 1
Based on the feed amount stored at 0, the bankbook 50 is positioned at a position where the next line to be printed faces the print head 67 (Step 12), and after this, predetermined printing is performed on the line to be printed on the bankbook 50. (Step 13) After clearing the data in the memory 80, the flag F1, and the counter F2 (Step 14), the process moves to the step of inspecting print density and print quality.
第1図に示すように、通帳50には、通帳50を閉じた
ときに印字された数字などが対面する印字用紙面に転写
されたり(Aで示す)、うら面に印字された数字などが
印字面にあられれたりする(これを、うら移りという、
Bで示す)ことがある。As shown in FIG. 1, when the passbook 50 is closed, the numbers printed on it are transferred to the facing printing paper side (indicated by A), and the numbers printed on the back side are transferred. It may appear on the printed surface (this is called bleed).
(shown as B).
このような転写A1 うら移りBなどがあった場合に、
仮にステップ9でYESとなり例らかの数字などが印字
されていると判断されたとしても転写A1うら移りBな
どのデータ・パターンは正しい数字のパターンではない
ので、いずれのモデル・パターンとも一致せず、ステッ
プ11のパターン判別において不可NGと判断される。If there is such transfer A1 or back transfer B, etc.,
Even if the answer in step 9 is YES and it is determined that certain numbers are printed, the data patterns such as transfer A1 and transfer B are not correct number patterns, so they cannot match any model pattern. First, in the pattern determination in step 11, it is determined that the pattern is not acceptable.
この場合には印字すべき行を決定することは不可能であ
るから、表示装置79に「取扱不能」などの表示をして
(ステップ19)、通帳を返却する(ステップ29)。In this case, it is impossible to determine the line to be printed, so a message such as "Unavailable" is displayed on the display device 79 (step 19), and the passbook is returned (step 29).
通帳50の開いたページが誤っており全く印字されてい
ない面を開いて記帳機内に挿入された場合には、通帳5
0の下端がスイッチ66によって検出されたときにステ
ップ16でYESと判断され、通帳50が返却される(
ステップ29)。If the page of the passbook 50 is opened incorrectly and is inserted into the bookkeeping machine with the side completely unprinted open, the passbook 50
When the lower end of 0 is detected by the switch 66, YES is determined in step 16, and the passbook 50 is returned (
Step 29).
このときには、ステップ10以降に移行することはない
から、パターン判別はもちろん行なわれない。At this time, since there is no transition to step 10 or later, pattern discrimination is of course not performed.
ステップ13で印字された日付欄の数字などの印字濃度
および印字品質の検査はステップ20からはじまる。Inspection of the print density and print quality of the numbers in the date field printed in step 13 begins in step 20.
まず、通帳50を通帳挿入口の方向に搬送して、ステッ
プ13で印字した行の最上位部分がCCD64と対向す
る位置に一旦停止させ、この後再び通帳50を逆方向(
下方)に搬送しながら(ステップ20)、ステップ13
で印字された部分をCCD64によって走査していく(
ステップ21)。First, the passbook 50 is transported in the direction of the passbook insertion slot, and is temporarily stopped at a position where the topmost part of the line printed in step 13 faces the CCD 64. After that, the passbook 50 is transported in the opposite direction (
(downward) (step 20), step 13
The printed part is scanned by CCD64 (
Step 21).
そして、1つの走査線にそって走査完了毎にそのレベル
分離されたデータをメモリ80のデータ・エリアCMA
I〜CMA4にそれぞれストアしくステップ22)、カ
ウンタ117の内容を読取って10以上であるか否かを
判断する(ステップ23)。Then, each time scanning is completed along one scanning line, the level-separated data is stored in the data area CMA of the memory 80.
The counter 117 is stored in each of I to CMA4 (step 22), and the content of the counter 117 is read to determine whether it is 10 or more (step 23).
最初の走査線数本に対しては通常カウンタ117の計数
値は10よりも小さいからステップ24に移り、未だフ
ラグF1はセットされていないからステップ22に戻る
。For the first number of scanning lines, the count value of the counter 117 is usually smaller than 10, so the process moves to step 24, and since the flag F1 has not been set yet, the process returns to step 22.
走査線が印字された数字などにさしかかりカウンタ11
7の計数値が10以上となると、ステップ25に移って
フラグF1をセットし、ステップ22に戻る。When the scanning line reaches the printed number etc., the counter 11
When the count value of 7 becomes 10 or more, the process moves to step 25, sets the flag F1, and returns to step 22.
印字された数字などを走査している間は、ステップ22
,23.25を繰返す。While scanning printed numbers etc., step 22
, 23. Repeat 25.
そして、再びCCD64が白い部分を走査するようにな
るとステップ23でNOと判断されステップ24に移り
、このステップ24ではYESであるから、ステップ2
6に移って印字濃度および印字品質の検査を実行する。Then, when the CCD 64 starts scanning the white part again, it is determined NO in step 23 and the process moves to step 24. Since the answer is YES in step 24, step 2
Moving on to step 6, the print density and print quality are inspected.
この時点では、ステップ13で印字された数字などは既
に読取られそのデ−タがデータ・エリヤCMAI〜CM
A4にストアされている。At this point, the numbers printed in step 13 have already been read and the data is stored in the data areas CMAI to CM.
It is stored on A4.
後述するように、印字濃度と印字品質の検査は、これら
のデータ・エリヤCMAI〜CMA4にストアされてい
るデータCMD1〜CMD4と、モデル・パターン・エ
リヤにストアされているモデルのデータとを読出し、デ
ータCMD1〜CMD4からなるデータ・パターンと多
数のモデル・パターンとをそれぞれ比較することにより
実行する。As will be described later, the print density and print quality are inspected by reading data CMD1 to CMD4 stored in these data areas CMAI to CMA4 and model data stored in the model pattern area. This is executed by comparing a data pattern consisting of data CMD1 to CMD4 with a large number of model patterns.
この比較はパターン判別(ステップ11)における処理
と同様である。This comparison is similar to the process in pattern discrimination (step 11).
また、必要ならば、データCMD1〜CMD3中に含ま
れる黒レベルをあられす“1“のデータの数を計数する
。Further, if necessary, the number of data of "1" included in the data CMD1 to CMD3 is counted.
この処理はステップ23におけるカウンタ117の計数
値を用いることができる。This process can use the count value of the counter 117 in step 23.
この検査が終了すると、検査結果にもとづき「鮮明であ
る」、「濃度かうすい」、「品質が不良である」。When this inspection is completed, based on the inspection results, it is determined that the image is "clear", "dense", or "quality is poor".
「識別不可能である」などを表示装置79に表示する(
ステップ27)。A message such as “unidentifiable” is displayed on the display device 79 (
Step 27).
こののち、メモリ80のデータ、フラグF1、カウンタ
F2をクリヤして、通帳50を返却する(ステップ29
)。After that, the data in the memory 80, the flag F1, and the counter F2 are cleared, and the passbook 50 is returned (step 29).
).
印字濃度と印字品質との検査は、原則的にレベル分離さ
れた信号による4種類のデータCMD1〜CMD4から
なるデータ・パターンとモデル・パターンとを比較する
ことにより行なわれる。Inspection of print density and print quality is basically performed by comparing a model pattern with a data pattern consisting of four types of data CMD1 to CMD4 based on level-separated signals.
第14図に示す印字された数字「5」の濃度が全体的に
均一な場合(後述する印字品質が良好な場合〕には、数
字「5」のP−P線にそう濃度分布としては、第19図
に示すようなグラフが得られるであろう。When the density of the printed number "5" shown in FIG. 14 is uniform throughout (when the printing quality described later is good), the density distribution is as shown on the P-P line of the number "5". A graph like the one shown in FIG. 19 will be obtained.
第19図において、Plは印字濃度が濃く鮮明な数字「
5」の濃度分布を示しており、P2はPlよりもややう
すい濃度の濃度分布である。In Figure 19, Pl is a clear number with a dark print density.
5'', and P2 has a slightly lighter concentration distribution than Pl.
P3は目視識別可能ではあるが(レベルVT3は目視識
別可能限界レベルである)、非常にうすい場合であり、
P4は目視による識別が不可能なほどにうすい数字「5
」の濃度分布である。Although P3 is visually discernible (level VT3 is the limit level for visual discernment), it is a very faint case;
P4 is a number "5" so faint that it is impossible to visually identify it.
” concentration distribution.
分布P1を有する印字については4種類のデータCMD
1〜CMD4がほぼ同じになるから、これらのデータC
MD1〜CMD4によるデータ・パターンは同一であっ
て、かつモデル・パターンと比較した場合いずれかのモ
デル・パターンと一致する。There are four types of data CMD for printing with distribution P1.
Since 1 to CMD4 are almost the same, these data C
The data patterns MD1 to CMD4 are the same, and when compared with the model patterns, match any of the model patterns.
分布P2の場合にはデータCMD2〜CMD4によるデ
ータ・パターンが同一となり、かつモデル・パターンの
いずれかと一致するが、データCMDl中には黒レベル
をあられす符号“1“のデータはほとんどなく、モデル
・パターンのいずれとも一致しない。In the case of distribution P2, the data patterns of data CMD2 to CMD4 are the same and match any of the model patterns, but there is almost no data with the code "1" that indicates the black level in the data CMDl, and the model - Does not match any of the patterns.
分布P3の場合には、データCMD3とCMD4とによ
るデータ・パターンが同一となりモデル・パターンのい
ずれかと一致するが、データCMD2 、CMDIには
黒レベルをあられす“1“のデータはほとんどない。In the case of distribution P3, the data patterns of data CMD3 and CMD4 are the same and match any of the model patterns, but data CMD2 and CMDI have almost no data of "1" that would cause a black level.
さらに分布P4の場合には、データCMD3〜CMD1
に黒レベルをあられす“1“のデータはほとんどなく、
これらのデータCMD3〜CMD4によるデータ・パタ
ーンはモデル・パターンのいずれとも一致しない。Furthermore, in the case of distribution P4, data CMD3 to CMD1
There is almost no data on black level "1",
The data pattern based on these data CMD3 to CMD4 does not match any of the model patterns.
分布P4に対しては、データCMD4によるデータ・パ
ターンがモデル・パターンと一致する場合と一致しない
場合があろう。For distribution P4, the data pattern according to data CMD4 may or may not match the model pattern.
このように、各データCMDI〜CMD4とモデル・パ
ターンとを比較すること、により、印字された数字の濃
度が判定される。In this way, by comparing each data CMDI to CMD4 with the model pattern, the density of the printed numbers is determined.
分布P2〜P4は、印字リボンかうすい場合や印字圧が
低い場合にあられれ、印字リボンの交換、印字圧の設定
などが必要である。Distributions P2 to P4 occur when the printing ribbon is thin or the printing pressure is low, and it is necessary to replace the printing ribbon, set the printing pressure, etc.
第15図に示す数字「5」のように、場所によって濃度
に変化があり輪郭が不明確なもののQ−Q線にそう濃度
分布は第20図に示すようになる。Although the density varies depending on the location and the outline is unclear, such as the number "5" shown in FIG. 15, the density distribution along the Q-Q line is as shown in FIG. 20.
この分布のQ−Q線を走査線とする各データCMD1〜
CMD4において、黒レベルをあられす〃1“のデータ
の数を比較した場合、CMD4>CMD3>CMD2>
CMDIとなる。Each data CMD1~ whose scanning line is the Q-Q line of this distribution
In CMD4, when comparing the number of data with a black level of 1", CMD4>CMD3>CMD2>
It becomes CMDI.
またこのような濃度分布の数字は、それが目視して識別
可能であれば、データCMD1〜CMD4からなるデー
タ・パターンのうち少なくとも1つ、たとえばデータC
MD2からなるデータ・パターンがモデル・パターンと
一致するが、輪郭がきわめて不鮮明になり目視による識
別も困難になればデータ・パターンのいずれもがモデル
・パターンと一致しない。Further, if the number of such a concentration distribution can be visually identified, it is determined that the number corresponds to at least one of the data patterns consisting of data CMD1 to CMD4, for example, data C
The data pattern consisting of MD2 matches the model pattern, but if the outline becomes extremely unclear and visual identification becomes difficult, none of the data patterns match the model pattern.
第15図に示す濃度分布は、印字リボンの不良、印字ヘ
ッドの印字面の変形、インクのつけすぎなどによって起
こる。The density distribution shown in FIG. 15 is caused by defects in the printing ribbon, deformation of the printing surface of the print head, over-application of ink, and the like.
第16図および第17図は、いずれもデータCMDI
、CMD2によるデータ・パターンはモデル・パターン
と一致しないが、データCMD3によるデータ・パター
ンはモデル・パターンと一致する場合を示している。16 and 17 both show data CMDI
, CMD2 does not match the model pattern, but the data pattern based on data CMD3 matches the model pattern.
第16図は印字ヘッドが傾いている場合であり、第17
図は印字リボンが部分的に重なってその部分だけ濃く印
字される場合である。Figure 16 shows the case where the print head is tilted, and Figure 17 shows the case where the print head is tilted.
The figure shows a case where the printing ribbons partially overlap and the printing is darker in only those areas.
これらの文字を読取って得られるデ−夕のうちデータC
MD1および/またはCMD2にはデータ“1“が存在
する。Data C among the data obtained by reading these characters
Data “1” exists in MD1 and/or CMD2.
第18図はさらに極端に印字ヘッドが傾いている場合で
あり、データCMD4によるデータ・パターンさえもモ
デル・パターンと一致しないが、データCMDI 、C
MD2 、CMD3などにはデータ“1“が存在する。FIG. 18 shows a case where the print head is even more tilted, and even the data pattern based on data CMD4 does not match the model pattern, but data CMDI, C
Data “1” exists in MD2, CMD3, etc.
このように、レベル分離された4種類のデータCMDI
〜CMD4によるデータ・パターンとモデル・パターン
を比較し、さらに必要な場合にはテ゛−タCMD1〜C
MD3中に“1“のデータが所定数以上存在するか否か
を計数することにより、■)鮮明である(第14図、第
19図PI)2)品質は良好であって識別可能であるが
濃度がうすい(第19図P2.P3)
3)識別可能であるが品質不良(第15図〜第17図)
4)識別不可能(第19図P4、第18図)などの印字
濃度および印字品質の検査が実行される。In this way, four types of level-separated data CMDI
~ Compare the data pattern by CMD4 and the model pattern, and if necessary, use the data CMD1~C
By counting whether or not there is a predetermined number or more of "1" data in MD3, ■) It is clear (FIGS. 14 and 19 PI) 2) The quality is good and it can be identified. 3) Identifiable but poor quality (Figs. 15 to 17) 4) Print density and indistinguishable (Fig. 19 P4, Fig. 18) A print quality inspection is performed.
これらの検査にあたっては、レベル分離データCMD1
〜CMD4によるデータ・パターンとモデル・パターン
とを比較する他に、各データCMD1〜CMD4相互を
比較してもよい。For these inspections, level separation data CMD1
In addition to comparing the data pattern by CMD4 and the model pattern, each data CMD1 to CMD4 may be compared with each other.
ざらに、各レベル・データCMD1〜CMD4に対応し
てモデル・パターンも4種類あらかじめ設定しておくと
一層精密な判定が可能となろう。Roughly, if four types of model patterns are set in advance corresponding to each level data CMD1 to CMD4, more precise judgment will be possible.
第13図のフロー・チャートにおいて パター)
ン判別(ステップ11)のためのデータ読取りにおいて
はステップ9,18があり、印字濃度、品質検査のため
のデータ読取りにおいてはステップ9.18に対応する
ステップはないが、これは、後者のデータ読取りにおい
ては印字された行かあらかしめ分っており、ステップ2
0で立置決めしたのち走査しているからである。In the flow chart of FIG. 13, there are steps 9 and 18 in data reading for pattern determination (step 11), and steps corresponding to steps 9 and 18 in data reading for print density and quality inspection. However, this is because the printed line is roughly known in the latter data reading, and step 2
This is because scanning is performed after the vertical position is determined at 0.
通帳以外の印字状態検査において、印字されている行か
あらかじめ分っていない場合にはステップ9,18に対
応するステップを設けておくことが好ましいのは言うま
でもない。It goes without saying that it is preferable to provide steps corresponding to steps 9 and 18 when the printed line is not known in advance when inspecting the printing state of items other than bankbooks.
そうすれば、各印字行毎にレベル分離データをストアす
ることができる。This allows level separation data to be stored for each print line.
さらにステップ15を設けるとステップ9でNOと判断
された場合にはステップ15でメモリ80にストアされ
たデータをクリヤすることができるから、メモリ80の
データ・エリヤの容量は、1印字行分のデータをストア
しうるもので足り、メモリ容量を節約することができる
という利点がある。Furthermore, by providing step 15, if the determination is NO in step 9, the data stored in the memory 80 can be cleared in step 15, so the capacity of the data area of the memory 80 is equal to one print line. It has the advantage of being able to save memory capacity since it only needs to be able to store data.
上記の例では、日付欄のみをCCD64によって読取り
、印字状態を検査しているが、必要ならばさらに多くの
CCDを配置して払戻し金額、預り金額、および差引残
高の欄の印字状態を検査することもできる。In the above example, only the date column is read by the CCD 64 and the printing condition is inspected, but if necessary, more CCDs can be arranged to inspect the printing condition of the refund amount, deposit amount, and balance column. You can also do that.
また、ステップ20で通帳50を一旦挿入口がわに戻し
て位置決めしたのち再び通帳50を下方に搬送している
が、CCD64とは別の検査用のCCDを設けて印字の
のち通帳50を上方に戻すことなくさらに下方に搬送し
ながら印字された数字などを読取るようにすることもで
きる。In addition, in step 20, the passbook 50 is once returned to the side of the insertion slot and positioned, and then the passbook 50 is conveyed downward again. However, a CCD for inspection separate from the CCD 64 is provided, and after printing, the passbook 50 is moved upward. It is also possible to read printed numbers and the like while conveying the paper further downward without returning it.
なお、CCD63からの画像信号を上記と同様に処理し
かつパターン判別すれば、アラビヤ数字54であられさ
れているページ数の認識も可能である。Incidentally, if the image signal from the CCD 63 is processed in the same manner as described above and the pattern is discriminated, it is also possible to recognize the number of pages marked with Arabic numerals 54.
このように、ページ数をアラビヤ数字54であられして
おけば、バー・コードであられした場合に利用者が感す
る異和感をとりのぞくことができる。In this way, if the page number is prefixed with Arabic numerals 54, it is possible to eliminate the strange feeling that the user would feel if the page number is prefixed with a bar code.
また、検査結果を適宜の表示手段、音声報知手段などで
係員に通報するようにすれば、その都度、印字リボンの
交換、印字ヘッドの設定などを施こすことができるので
常に鮮明な印字を確保できる。In addition, by notifying the staff of the inspection results using appropriate display means, audio notification means, etc., they can replace the printing ribbon and set the print head each time, ensuring clear printing at all times. can.
この発明は、通帳の印字状態のみならず、あらゆる紙に
印字された文字、数字その他の印字状態の検査に適用し
うるのは言うまでもない。Needless to say, the present invention can be applied not only to the inspection of the printing condition of bankbooks, but also to the inspection of the printing condition of letters, numbers, and other characters printed on any paper.
第1図は通帳を示す斜視図、第2図は通帳搬送路を示す
側面図、第3図は通帳搬送路を示す正面図、第4図は印
字をCCDで読取った場合のモデルを示す説明図、第5
図は走査サイクルを示すタイム・チャート、第6図はこ
の発明の実施例を示すブロック図、第7図はメモリの内
容を示す図、第8図は処理回路の具体的構成を示すブロ
ック図、第9図は処理回路の動作を示すタイム・チャー
ト、第10図は第4図の1部の拡大図、第11図は第1
0図のモデルを符号で表わした説明図、第12図はCP
Uへのデータ入力のタイミングを示すタイム・チャート
、第13図はCPUによる処理を示すフロー・チャート
、第14図ないし第18図は印字された各種の数字を示
す図、第19図は第14図のP−P線にそう濃度分布を
表わすグラフ、第20図は第15図のQ−Q線にそう濃
度分布を表わすグラフである。
50・・・・・・通帳、53・・・・・・印字用紙、6
0・・・・・・通帳搬送路、63.64・・・・・・C
CD(撮像素子)、67・・・・・・印字ヘッド、70
・・・・・・中央演算処理装置CPU、80・・・・・
・メモリ、101〜104・・・・・・レベル弁別器、
111〜114・・・・・・端縁修正用シフト・レジス
タ群、115・・・・・・同AND回路。Fig. 1 is a perspective view showing the passbook, Fig. 2 is a side view showing the passbook transport path, Fig. 3 is a front view showing the passbook transport path, and Fig. 4 is an explanation showing the model when printing is read by CCD. Figure, 5th
6 is a block diagram showing an embodiment of the present invention, FIG. 7 is a diagram showing the contents of the memory, and FIG. 8 is a block diagram showing the specific configuration of the processing circuit. Fig. 9 is a time chart showing the operation of the processing circuit, Fig. 10 is an enlarged view of a portion of Fig. 4, and Fig. 11 is a time chart showing the operation of the processing circuit.
An explanatory diagram showing the model in Figure 0 with symbols, Figure 12 is CP
FIG. 13 is a flow chart showing the processing by the CPU; FIGS. 14 to 18 are diagrams showing various printed numbers; FIG. 19 is a flow chart showing the processing by the CPU; 20 is a graph showing the concentration distribution along the line PP in FIG. 15, and FIG. 20 is a graph showing the concentration distribution along the line Q-Q in FIG. 50... Passbook, 53... Printing paper, 6
0...Passbook conveyance path, 63.64...C
CD (imaging device), 67...Print head, 70
...Central processing unit CPU, 80...
・Memory, 101 to 104...Level discriminator,
111-114... Edge correction shift register group, 115... Same AND circuit.
Claims (1)
であって、 印字された字などを走査してその画像信号を出力する撮
像装置、 この画像信号をそれぞれ異なる基準レベルでレベル弁別
しかつ符号化することにより、濃度に応じたレベル分離
データ信号を出力する複数のレベル弁別、符号化装置、 複数のレベル弁別、符号化装置のうちのいずれか所定の
ものから出力されるレベル分離データのうちの印字有を
示すデータの数を、水平−走査ごとに計数し、計数値が
第1の所定数以上の場合にその走査線を有効とする計数
手段、 走査線が有効とされた場合に、その走査線に関する各レ
ベル弁別、符号化装置のレベル分離データをそれぞれ別
個の場所にストアするメモリ、有効とされた走査線が第
2の所定数以上連続して出現するかどうかを検査し、第
2の所定数以上連続しない場合にメモリにストアされた
データをクリヤし、所定数以上連続した場合にはメモリ
にストアされたデータを状態検査すべきレベル分離デー
タと判定する手段、および 状態検査すべきものであると判定されたレベル分離デー
タによるデータ・パターンと所要のパターンとを比較す
ることにより印字状態を判定する手段、 からなる印字状態検査装置。 2 上記所要のパターンがあらかじめ設定されたモデル
・パターンである、特許請求の範囲第1項記載の印字状
態検査装置。 3 上記所要のパターンにはモデル・パターンの他にレ
ベル分離されたデータによるデータ・パターンが含まれ
、複数のデータ・パターンが相互に比較される、特許請
求の範囲第1項記載の印字状態検査装置。[Scope of Claims] 1. A device for inspecting the density and quality of printed characters, etc., comprising: an imaging device that scans the printed characters and outputs image signals; A plurality of level discrimination and encoding devices output level separated data signals according to density by level discrimination and encoding. counting means for counting the number of data indicating the presence of printing among the level separation data to be printed for each horizontal scan, and validating the scanning line when the counted value is greater than or equal to a first predetermined number; In this case, each level discrimination regarding the scanning line, a memory for storing the level separation data of the encoding device in separate locations, and whether or not a second predetermined number or more of valid scanning lines appear consecutively. If the data is not continuous for a second predetermined number or more, the data stored in the memory is cleared, and if the data is continuous for a predetermined number or more, the data stored in the memory is determined to be level-separated data whose state should be checked. A printing condition inspection device comprising: means for determining a printing condition by comparing a data pattern based on level separation data determined to be subject to condition inspection with a required pattern. 2. The printing condition inspection device according to claim 1, wherein the required pattern is a preset model pattern. 3. The print condition inspection according to claim 1, wherein the required patterns include data patterns based on level-separated data in addition to model patterns, and a plurality of data patterns are compared with each other. Device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53085546A JPS5843787B2 (en) | 1978-07-12 | 1978-07-12 | Printing condition inspection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53085546A JPS5843787B2 (en) | 1978-07-12 | 1978-07-12 | Printing condition inspection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5513453A JPS5513453A (en) | 1980-01-30 |
| JPS5843787B2 true JPS5843787B2 (en) | 1983-09-29 |
Family
ID=13861842
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53085546A Expired JPS5843787B2 (en) | 1978-07-12 | 1978-07-12 | Printing condition inspection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5843787B2 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5727779A (en) * | 1980-07-28 | 1982-02-15 | Fujitsu Ltd | Judging of printing density in printer |
| JPS58168589A (en) * | 1982-03-31 | 1983-10-04 | Fujitsu Ltd | System for processing optical data |
| JPS60175187A (en) * | 1984-02-21 | 1985-09-09 | Nok Corp | Measuring method of printing quality |
| JPS61109176A (en) * | 1984-10-31 | 1986-05-27 | Konishiroku Photo Ind Co Ltd | Deciding device for print quality |
| JP2634049B2 (en) * | 1987-07-15 | 1997-07-23 | 凸版印刷株式会社 | Text printing quality control device |
| US5173850A (en) * | 1988-02-12 | 1992-12-22 | Hitachi, Ltd. | Apparatus and method for checking print quality of turnaround medium |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS548264B2 (en) * | 1972-09-25 | 1979-04-13 | ||
| JPS52781B2 (en) * | 1973-05-28 | 1977-01-10 | ||
| JPS554308B2 (en) * | 1974-02-19 | 1980-01-29 | ||
| JPS50125642A (en) * | 1974-03-20 | 1975-10-02 | ||
| JPS554309B2 (en) * | 1974-05-11 | 1980-01-29 |
-
1978
- 1978-07-12 JP JP53085546A patent/JPS5843787B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5513453A (en) | 1980-01-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5126540A (en) | Image recording apparatus for selective recording of originals | |
| EP2169638A2 (en) | Sheet processing system and checking method of the same | |
| JPH11110476A (en) | Apparatus for issuing / reading record carrier recording digital code signal and record carrier | |
| JPS5843787B2 (en) | Printing condition inspection device | |
| US5003627A (en) | Image file system | |
| JPS5939073B2 (en) | How to position the print line on a passbook | |
| JPS639421B2 (en) | ||
| JPS6382774A (en) | Printing line detecting method | |
| JPH0120795B2 (en) | ||
| JP2007072885A (en) | Paper sheet thickness discrimination device | |
| JPS5830270A (en) | Facsimile receiver | |
| JPS5936051A (en) | Bill hole detecting device | |
| JPH0442722B2 (en) | ||
| JP3693502B2 (en) | Processing device using passbook | |
| JP2815019B2 (en) | Character / mark detection device | |
| JP2777048B2 (en) | How to read barcodes | |
| CA2412619C (en) | Separator card | |
| JPH0831117B2 (en) | Reader | |
| JPS63202181A (en) | Line picture signal eliminating system | |
| JPS6223911B2 (en) | ||
| JPH0357505B2 (en) | ||
| JP2708620B2 (en) | Image processing device for rectangular paper sheets | |
| JPS61103285A (en) | Information recording media | |
| CA2048824A1 (en) | System for decoding bar codes on job programming separators for electronic reprographic/printing machines | |
| JPH04113484A (en) | Page mark reader |