JPS59136276A - Detector for print reference mark - Google Patents

Detector for print reference mark

Info

Publication number
JPS59136276A
JPS59136276A JP1246083A JP1246083A JPS59136276A JP S59136276 A JPS59136276 A JP S59136276A JP 1246083 A JP1246083 A JP 1246083A JP 1246083 A JP1246083 A JP 1246083A JP S59136276 A JPS59136276 A JP S59136276A
Authority
JP
Japan
Prior art keywords
mark
print medium
printing
reference mark
detection
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.)
Granted
Application number
JP1246083A
Other languages
Japanese (ja)
Other versions
JPH0433627B2 (en
Inventor
Takenori Nemoto
根本 武記
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.)
Omron Corp
Original Assignee
Tateisi Electronics Co
Omron Tateisi Electronics Co
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 Tateisi Electronics Co, Omron Tateisi Electronics Co filed Critical Tateisi Electronics Co
Priority to JP1246083A priority Critical patent/JPS59136276A/en
Publication of JPS59136276A publication Critical patent/JPS59136276A/en
Publication of JPH0433627B2 publication Critical patent/JPH0433627B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J13/00Devices or arrangements of selective printing mechanisms, e.g. ink-jet printers or thermal printers, specially adapted for supporting or handling copy material in short lengths, e.g. sheets
    • B41J13/26Registering devices

Abstract

PURPOSE:To raise the reliability of mark detection as well as shorten the time of detecting the position of print reference mark by a method in which on the basis of the sending amount of printing medium, the positions of print reference mark are obtained. CONSTITUTION:A print reference mark detector is provided with a circuit 12 to count the sending amount of printing medium, a circuit 11 to generate a detection section pulse corresponding to a print reference mark detection section on the printing medium, set up on the basis of the generation time of a medium detection signal, a start mark memory circuit 20 to store the sending amount of printing medium, corresponding to the initial marking position in the print reference mark detection section, an end mark memory circuit 21 to store the sending amount of printing medium, corresponding to the final marking position, and a circuit 22 to read out selectively the sending amount of printing medium from the memory circuit 20 or 21, correspondingly to the running direction of the printing medium. On the basis of the selected sending amount of the printing medium, the position of print reference mark is obtained.

Description

【発明の詳細な説明】 (a)技術分野 この発明は通帳などの印字媒体の印字状態を検出する装
置に関し、特に印字媒体上で次に印字するべき行を求め
るための基準となる印字基準マークを検出する印字基準
マーク検出装置に関する。
Detailed Description of the Invention (a) Technical Field This invention relates to a device for detecting the printing condition of a printing medium such as a bankbook, and in particular to a printing reference mark that serves as a reference for determining the next line to be printed on the printing medium. The present invention relates to a printed reference mark detection device that detects a printed reference mark.

(bl従来技術とその欠点 ATM装置などに使用される通帳には、通常ページコー
ドや取引コードなどが所定の位置に印刷されている。次
に印字すべき行を設定するための基準位置となる印字基
準マークは、多くの場合、このページコードや取引コー
ドなどの印刷マークを兼用するようにしているが、これ
らのコードは一般に多数のマークで構成されるために通
帳の走行段階において常に正しく選択するようにしなけ
ればならない。そこで従来の印字基準マーク検出装置は
、通帳が搬送されてきたときの先端部検出時点から一定
の距離にあるマークを印字基準マークとして読み取るよ
うにした。
(bl Prior Art and Its DisadvantagesPassbooks used in ATM devices, etc. usually have page codes, transaction codes, etc. printed in predetermined positions.This is the reference position for setting the next line to be printed. In many cases, the printed reference mark is also used as a printed mark such as the page code or transaction code, but since these codes are generally composed of many marks, it is difficult to always select them correctly during the passbook transport stage. Therefore, the conventional printing reference mark detection device reads a mark located at a certain distance from the time when the leading edge of the passbook is detected as the printing reference mark.

しかしながら上記の装置では、印字基準マークを読み取
るのに印字媒体を予め定めた一定の方向に搬送する必要
があるため、ページめくり後、あるいは印字終了後の印
字内容確認時等には、印字媒体の走行方向を一定の方向
に調整する必要があった。このため、印字媒体の延べ搬
送距離が長くなって、処理時間を短縮するのに限界を生
じ、また信頼性を十分に上げることができない不都合が
あった。
However, with the above devices, it is necessary to transport the print medium in a predetermined direction in order to read the print reference mark, so when checking the print content after turning the page or after printing, it is necessary to It was necessary to adjust the running direction to a certain direction. For this reason, the total conveyance distance of the printing medium becomes long, which limits the ability to shorten the processing time, and also makes it impossible to sufficiently improve reliability.

(C)発明の目的 この発明の目的は、印字媒体上の印字基準マークの位置
および印刷媒体の走行方向に無関係に1方向への1回の
走行によって、印字基準マークを正確に検出する印字基
準マーク検出装置を提供することにある。
(C) Object of the Invention The object of the present invention is to provide a printing standard that accurately detects a printing reference mark by one run in one direction, regardless of the position of the printing reference mark on the printing medium and the running direction of the printing medium. An object of the present invention is to provide a mark detection device.

(d)発明の構成および効果 この発明は要約すれば、通過検知センサによって媒体通
過を検知したときを基準にして印字媒体上の印字基準マ
ーク検知区間を設定し、その区間に対応する検知区間パ
ルスを発生する検知区間設定回路を設け、さらに前記印
字基準マーク検知区間の最初のマーク位置に対応する印
字媒体送り量および最後のマーク位置に対応する印字媒
体送り量をそれぞれ記憶するスタートマーク記憶回路お
よびエンドマーク記憶回路を設け、印字媒体の走行方向
に対応してスタートマーク記憶回路に記憶される印字媒
体送り量またはエンドマーク記憶回路に記憶される印字
媒体送り量を選択し、その選択した送り量に基づいて印
字基準マークの位置を求めるようにしたものである。す
なわち、印字基準マーク検知区間内の始めと終りのマー
クのいずれかを印字基準マークにするとともに、印字媒
体の右または左方向へのそれぞれの走行時に上記二つの
マーク位置に対応する印字媒体送り量をそれぞれ記憶し
、印字媒体の走行方向が右方向であるときには、一方の
記憶回路に記憶される印字媒体送り量を選択し、印字媒
体の左方向への走行時には他方の記憶回路に記憶される
印字媒体送り量を選択するようにして、印字媒体の走行
方向がどちらであっても印字基準マークとなるマーク位
置に対応する印字媒体送り量が選択されるようにしたも
のである。
(d) Structure and Effects of the Invention To summarize, the present invention sets a printing reference mark detection section on a printing medium based on the time when the passage of the medium is detected by a passage detection sensor, and sets a detection section pulse corresponding to the section. a start mark storage circuit that stores a print medium feed amount corresponding to the first mark position and a print medium feed amount corresponding to the last mark position of the printing reference mark detection period; An end mark storage circuit is provided, and the print medium feed amount stored in the start mark storage circuit or the print medium feed amount stored in the end mark storage circuit is selected corresponding to the running direction of the print medium, and the selected feed amount is The position of the printing reference mark is determined based on the following. In other words, one of the starting and ending marks within the printing reference mark detection area is used as the printing reference mark, and the printing medium feed amount corresponding to the above two mark positions is set when the printing medium travels to the right or left, respectively. are stored respectively, and when the print medium travels in the right direction, the print medium feed amount is selected to be stored in one memory circuit, and when the print medium travels in the left direction, the print medium feed amount is selected to be stored in the other memory circuit. The print medium feed amount is selected so that the print medium feed amount corresponding to the mark position serving as the printing reference mark is selected regardless of which direction the print medium is traveling.

この発明によれば、印字基準マーク検知区間を、その区
間に対応する検知区間パルスの長さを変えることによっ
て任意に設定できるため、印字基準マークの位置に無関
係に、また、印字媒体の走行方向に無関係に印字媒体の
1回だけの1方向への走行によって印字基準マークの位
置を求めることができる。
According to this invention, since the printing reference mark detection section can be arbitrarily set by changing the length of the detection section pulse corresponding to the section, it is possible to set the printing reference mark detection section as desired by changing the length of the detection section pulse corresponding to the section. The position of the print reference mark can be determined by running the print medium only once in one direction, regardless of the print reference mark.

したがって、印字基準マークの位置検知動作のために要
する延べI!送待時間少なくてすみ、処理時間を大幅に
短縮でき、また印字基準マーク検出の信頼性も高めるこ
とができる。
Therefore, the total I! required for the position detection operation of the printing reference mark! The waiting time is reduced, the processing time can be significantly shortened, and the reliability of printed reference mark detection can be improved.

(e)実施例 第1図はこの発明の実施例である印字媒体搬送装置の概
略機構図である。また、第2図は走行方向がA方向(右
方向)であるときの印字媒体とセンサとの位置関係を示
す図である。
(e) Embodiment FIG. 1 is a schematic mechanical diagram of a printing medium conveying device which is an embodiment of the present invention. Further, FIG. 2 is a diagram showing the positional relationship between the print medium and the sensor when the running direction is the A direction (rightward direction).

第1図において、印字媒体の入力側に対向配置される搬
送ローラla、lb、および出力側に対向配置される搬
送ローラ1c、1dは、駆動ベルト2a、2bを介して
パルスモータ3によって一駆動される。印字媒体4はこ
れらの搬送ローラにより、印字媒また印字後、その印字
内容の確認のためB方向(左方向)に搬送される。搬送
ローラla、lcO間には、発光器6a、受光器6bか
ら構成される通過検知センサ6が配置され、このセンサ
によって印字媒体の右方向への通過、または左方向への
通過を検出する。また通過検知センサ6と搬送ローラ1
a間には光源7とこの光源7の反射光を受光する反射型
センサ8とが配置され、反射型センサ8によって印字媒
体4の印字マークまたは印刷マークを検知する。
In FIG. 1, conveyance rollers la and lb placed oppositely on the input side of the print medium and conveyance rollers 1c and 1d placed oppositely on the output side are driven by a pulse motor 3 via drive belts 2a and 2b. be done. The print medium 4 is conveyed in the B direction (to the left) by these conveyance rollers in order to confirm the print content after printing. A passage detection sensor 6 composed of a light emitter 6a and a light receiver 6b is arranged between the transport rollers la and lcO, and this sensor detects passage of the print medium to the right or to the left. In addition, the passage detection sensor 6 and the conveyance roller 1
A light source 7 and a reflective sensor 8 that receives reflected light from the light source 7 are arranged between the light source 7 and the reflective sensor 8, and the reflective sensor 8 detects a print mark or a print mark on the print medium 4.

第2図に示すように印字媒体4上に印刷されている印刷
マーク40a、40b、40cの移動方向には反射型セ
ンサ8が位置し、また印字媒体4の中心線0方向には通
過検知センサ6が位置している。なお、上記印刷マーク
40a、40b、40cはページマークを構成し、この
実施例ではこれらの3本のマークのうちマーク40aが
印字基準マークとして用いられる。以上の構成で印字媒
体4が入方向に走行すると、まず通過検知センサ6によ
って印字媒体4の先端部を検出し、続いて反射型センサ
8によってマーク40’a、4(lb、40cを順に検
知して行く。ここで図示するエリア40は後述の印字基
準マーク検出装置によって設定される印字基準マーク検
知区間を表す。
As shown in FIG. 2, a reflective sensor 8 is located in the moving direction of print marks 40a, 40b, and 40c printed on the print medium 4, and a passage detection sensor is located in the direction of the center line 0 of the print medium 4. 6 is located. The printing marks 40a, 40b, and 40c constitute page marks, and in this embodiment, the mark 40a among these three marks is used as a printing reference mark. When the printing medium 4 runs in the input direction with the above configuration, the passing detection sensor 6 first detects the leading edge of the printing medium 4, and then the reflective sensor 8 sequentially detects the marks 40'a, 4(lb, 40c). The area 40 shown here represents a print reference mark detection section set by a print reference mark detection device to be described later.

第3図は印字媒体4が矢印B方向(左方向)に走行する
ときの印字媒体とセンサとの位置関係を示す図である。
FIG. 3 is a diagram showing the positional relationship between the print medium and the sensor when the print medium 4 travels in the direction of arrow B (to the left).

この場合は、印字媒体4が走行するとまず、通過検知セ
ンサ6によって印字媒体4の後端部を検出し、続いて反
射型センサ8によって印字内容およびマーク4.Oc、
40b、40aを順に検知して行くことになる。
In this case, when the print medium 4 runs, the passage detection sensor 6 first detects the rear end of the print medium 4, and then the reflective sensor 8 detects the printed content and marks 4. Oc,
40b and 40a are sequentially detected.

次に上記通過検知センサ6および反射型センサ8を含む
印字基準マーク検出装置について説明する。
Next, a printing reference mark detection device including the passage detection sensor 6 and the reflective sensor 8 will be explained.

第4図はこの印字基準マーク検出装置のブロック図であ
る。また、第5図、第6図は同装置の動作を説明するた
めのタイミングチャートである。
FIG. 4 is a block diagram of this printing reference mark detection device. Further, FIGS. 5 and 6 are timing charts for explaining the operation of the device.

第4図において通過検知センサ6で検出した信号はアン
プ10で適当なレベルに増幅され、媒体検知信号aとし
て検知区間設定回路11および送り量計数回路12に導
かれる。基準信号を形成する発振器13の発振出力は、
図示しないCPUから走行方向によって正負が逆転する
パルスモータ動作信号pを受けたときに動作するパルス
モータ制御回路14に導かれる。パルスモータ動作信号
pがCPUから出力されると、パルスモータ制御回路1
4は発振出力に基づき検知区間設定回路11.パルスモ
ータ相発生回路15および送り置針数回′g!f12に
パルスモータシフトパルスbを供給する。相発生回路1
5の出力はパルスモータドライバー16によって増幅さ
れ、パルスモータ3を駆動する。これによって搬送ロー
ラ1a〜1dが駆動され、搬送ローラ5上を印字媒体4
が走行することになる。
In FIG. 4, the signal detected by the passage detection sensor 6 is amplified to an appropriate level by an amplifier 10, and is led to a detection section setting circuit 11 and a feed amount counting circuit 12 as a medium detection signal a. The oscillation output of the oscillator 13 that forms the reference signal is
It is led to a pulse motor control circuit 14 that operates when it receives a pulse motor operation signal p whose polarity is reversed depending on the running direction from a CPU (not shown). When the pulse motor operation signal p is output from the CPU, the pulse motor control circuit 1
4 is a detection interval setting circuit 11 based on the oscillation output. Pulse motor phase generation circuit 15 and feed position needle several times'g! A pulse motor shift pulse b is supplied to f12. Phase generation circuit 1
The output of 5 is amplified by a pulse motor driver 16 to drive the pulse motor 3. As a result, the conveyance rollers 1a to 1d are driven, and the print medium 4 is moved over the conveyance roller 5.
will be running.

上記検知区間設定回路11は媒体検知信号aを検出した
ときパルスモータシフトパルスbを所定の回数(noと
する)カウントし、そのカウントが終了した時点から最
初のマーク信号を検出するまでのパルス幅を有するスタ
ートマーク検知区間パルスC1およびそのパルスCと同
時に立ち上がり、上記印字基準マーク検知区間(第2図
参照)40の長さしに対応するパルス幅を有する検知区
間パルスdを形成する。令弟2図に示すように印字媒体
4がA方向に走行されているものとすれば、媒体検知信
号aを得てスタートマーク検知区間パルスCを発生する
までのシフトパルスカウント数は、第2図の印字媒体4
の先端から印字基準マーク検知区間40の先端部分Sま
での距離に相当する数に設定され、また検知区間パルス
dの幅は第2図の印字基準マーク検知エリア40の長さ
しに相当する数に設定される。これに対して第3図に示
すように印字媒体4がB方向に走行している状態では、
媒体検知信号aを得てスタートマーク検知区間パルスC
を発生するまでのシフトパルスカウント数は、第3図の
印字媒体4の後端から印字状態検知区間40の後端部分
S′までの距離に相当する数に設定される。そしてこの
場合も検知区間パルスdの幅は、上記と同様に印字基準
マーク検知区間40の長さしに相当する数に設定される
When the detection section setting circuit 11 detects the medium detection signal a, it counts the pulse motor shift pulse b a predetermined number of times (assumed to be no), and the pulse width from the time when the count ends until the first mark signal is detected. A start mark detection period pulse C1 having a start mark detection period pulse C1 and a detection period pulse d rising simultaneously with the pulse C and having a pulse width corresponding to the length of the printing reference mark detection period 40 (see FIG. 2) are formed. Assuming that the print medium 4 is running in the direction A as shown in Figure 2, the number of shift pulse counts from when the medium detection signal a is obtained until the start mark detection section pulse C is generated is the second Diagram print medium 4
The width of the detection section pulse d is set to a number corresponding to the length of the printing reference mark detection area 40 in FIG. 2. is set to On the other hand, when the printing medium 4 is traveling in the direction B as shown in FIG.
Obtain medium detection signal a and start mark detection section pulse C
The number of shift pulses counted until the shift pulse is generated is set to a number corresponding to the distance from the rear end of the print medium 4 to the rear end portion S' of the print state detection section 40 in FIG. In this case as well, the width of the detection section pulse d is set to a number corresponding to the length of the print reference mark detection section 40 in the same manner as described above.

反射型セン−9−8の検知出力は、アンプ17で適当な
レベルに増幅され、その増幅された信号はアンドゲート
18,19で上記スタートマーク検知区間パルスC1上
記検知区間パルスdと論理積して、それぞれ検知区間ス
タートマーク信号e、検知区間マーク信号fとしてスタ
ートマーク記憶回路20.エンドマーク記憶回路21に
導かれる。この結果印字媒体4をA方向に走行している
状態では、検知区間スタートマーク信号eはマーク40
aの位置に対応する信号となり、また印字媒体4がB方
向に走行している状態では、検知区間スタートマーク信
号eはマーク40cの位置に対応する信号となる。また
、検知区間マーク信号fは印字媒体4をA方向に走行し
ている状態では、マーク40a、40b、40cの順に
検知する時系列パルス信号となり、印字媒体4がB方向
に走行している状態では、マーク40c。
The detection output of the reflective sensor 9-8 is amplified to an appropriate level by an amplifier 17, and the amplified signal is ANDed with the start mark detection period pulse C1 and the detection period pulse d by AND gates 18 and 19. The detection section start mark signal e and the detection section mark signal f are respectively stored in the start mark storage circuit 20. It is guided to the end mark storage circuit 21. As a result, when the print medium 4 is traveling in the direction A, the detection section start mark signal e is at the mark 40.
The detection section start mark signal e becomes a signal corresponding to the position of the mark 40c when the print medium 4 is traveling in the direction B. Further, the detection section mark signal f becomes a time-series pulse signal that detects the marks 40a, 40b, and 40c in order when the printing medium 4 is running in the A direction, and when the printing medium 4 is running in the B direction. Now, Mark 40c.

40b、40aの順に検知する時系列パルスとなる上記
送り量計数回路12は上記媒体検知f言号aを受けたと
きにシフトパルスbを計数し、印字媒体の送り量に対応
するシフトパルスの計数(直を言f数出力信号gとして
スタートマーク記憶回路20およびエンドマーク記憶回
路21に出力する。した力(つて、スタートマーク記憶
回路20は、上記検知区間スタートマーク信号eを受け
たときそのときのδ十数出力信号gを取込んで記憶し、
一方エンドマーク記憶回路21は、上記検知区間マーク
信号fを受しナたときそのときの計数出力信号gを取込
み記1怠する。この場合、検知区間マーク信号fは合計
3(固発生するため、エンドマーク記憶回路21はその
]<パルスの入力のたびに記憶データを新たな計数出力
信号Gこ更新する。したがってスタートマーク記憶回路
204こむま印字基準マーク検知区間40の最初のマー
ク(立置Gこ対応する印字媒体送り量が記憶され、また
エンドマーク記憶回路21には最終的に印字基準マーク
キ灸知区間40の最後のマーク位置に対応する印字媒体
送り量が記憶されることになる。具体約4こ番よ、印字
媒体4がA方向に走行したときにはマーク40aの位置
に対応する印字媒体送り量がスタートマーク記憶回路2
0に記憶され、かつマーク40Cの位置に対応する印字
媒体送り量がエンドマーク記憶回路21に記憶される。
The feed amount counting circuit 12, which is a time series pulse detected in the order of 40b and 40a, counts shift pulses b when receiving the medium detection f word a, and counts the shift pulses corresponding to the feed amount of the printing medium. (In other words, the f number output signal g is output to the start mark storage circuit 20 and the end mark storage circuit 21.) When the start mark storage circuit 20 receives the detection section start mark signal e, Capture and store the δ ten-odd output signal g of
On the other hand, when the end mark storage circuit 21 receives the detection section mark signal f, it takes in and records the count output signal g at that time. In this case, the detection section mark signal f is 3 in total (because it occurs constantly, the end mark storage circuit 21 updates the stored data with a new count output signal G every time a pulse is input. Therefore, the start mark storage circuit 204 The first mark of the printing reference mark detection section 40 (vertical G) The corresponding printing medium feed amount is stored, and the end mark storage circuit 21 finally stores the printing reference mark and the last mark of the moxibustion detection section 40. The print medium feed amount corresponding to the position is stored. Specifically, when the print medium 4 travels in the direction A, the print medium feed amount corresponding to the position of the mark 40a is stored in the start mark storage circuit 2.
0, and the print medium feed amount corresponding to the position of the mark 40C is stored in the end mark storage circuit 21.

一方、印字媒体4がB方向に走行したときにはマーク4
0Cの位置に対応する印字媒体送り量がスタートマーク
記憶回路20に記憶され、またマーク40aの位置に対
応する印字媒体送り量がエンドマーク記憶回路21に記
憶されることになる上記スタートマーク記憶回路20お
よびエンドマーク記憶回路21のそれぞれの記憶データ
は印字媒体送り両信号選択回路22に導かれる。この回
路22は印字媒体選択スイッチ23の出力と、パルスモ
ータ動作信号pとをEXOR回路24で排他的論理和し
た選択信号jによって、図示しないCPUに出力する印
字媒体送り両信号を選択する。パルスモータ動作信号p
は印字媒体4の走行方向に応じて、反転する信号である
から、印字媒体送り両信号選択回路22は印字媒体4の
走行方向に対応してスタートマーク位置までの印字媒体
送り両信号りまたはエンドマーク位置までの印字媒体送
り両信号iを選択する。印字媒体選択スイッチ23はデ
ィップスイッチなどで構成され、使用する印字媒体の種
類を設定する。印字基準マークが印字媒体の先端部付近
に設定される第2図および第3図に示す種類の印字媒体
であれば、印字媒体4がA方向に搬送されるときのパル
スモータ動作信号pがハイであるとすると、ローレベル
にクランプされている接点23bがオン状態に設定され
る。このようにすると、パルスモータ動作信号pがハイ
のときすなわち、印字媒体4がA方向に走行していると
きには選択、信号jが)1イとなり、選択回路22はス
タートマーク位置に対応する印字媒体送り両信号りを選
択する。一方、パルスモータ動作信号pがローになれば
、すなわち印字媒体4がB方向に走行すれば、選択信号
jがローになって選択回路22がエンドマーク位置まで
の印字媒体送り両信号jを選択するようになる。
On the other hand, when the printing medium 4 travels in the direction B, the mark 4
The start mark storage circuit in which the print medium feed amount corresponding to the position of 0C is stored in the start mark storage circuit 20, and the print medium feed amount corresponding to the position of the mark 40a is stored in the end mark storage circuit 21. The data stored in the end mark storage circuit 20 and the end mark storage circuit 21 are led to the print medium feed signal selection circuit 22. This circuit 22 selects both print medium feed signals to be output to a CPU (not shown) using a selection signal j obtained by exclusive ORing the output of the print medium selection switch 23 and the pulse motor operation signal p in an EXOR circuit 24. Pulse motor operation signal p
is a signal that is reversed depending on the running direction of the print medium 4, so the print medium feed both signal selection circuit 22 selects the print medium feed both signal or end signal up to the start mark position corresponding to the running direction of the print medium 4. Select both print medium feed signals i to the mark position. The print medium selection switch 23 is composed of a dip switch or the like, and sets the type of print medium to be used. If the printing medium is of the type shown in FIGS. 2 and 3 in which the printing reference mark is set near the leading edge of the printing medium, the pulse motor operation signal p is high when the printing medium 4 is conveyed in the A direction. If so, the contact 23b, which is clamped at the low level, is set to the on state. In this way, when the pulse motor operation signal p is high, that is, when the print medium 4 is traveling in the direction A, the selection signal j becomes 1a, and the selection circuit 22 selects the print medium corresponding to the start mark position. Select both feed signals. On the other hand, if the pulse motor operation signal p becomes low, that is, if the printing medium 4 travels in the direction B, the selection signal j becomes low, and the selection circuit 22 selects both signals j for feeding the printing medium to the end mark position. I come to do it.

次に上記印字基準マーク検出装置の動作を説明する。Next, the operation of the printing reference mark detection device will be explained.

印字媒体4はA方向に走行して行き、その先端が通過検
知センサ6によって検知さ咋ると、媒体検知信号aが立
ち上がる。それと同時に送り量計数回路12がパルスモ
ータシフトパルスbを計数して印字媒体4の送り量を計
数し、さらに検知区間設定回路11が第2図に示す印字
媒体4の先端から印字基準マーク検知区間40の先端部
Sまでの距離に対応する計数値に達したときにスタート
マーク検知区間パルスCを発生し、またそのパルスと同
じ立ち上がりの検知区間パルスdを発生する。印字媒体
4がさらに走行していくと、反射型センサ8によってマ
ーク40a、40b、40cが順に検知されて行く。こ
のマーク信号には上記検知区間設定回路11で発生した
スタートマーク検知区間パルスCと論理積されて検知区
間スタートマーク信号eとしてスタートマーク記憶回路
20に導かれ、同記憶回路を書込みイネーブル状態にす
る。このためスタートマーク記憶回路20はそのときの
計数出力信号gを記憶する。
The print medium 4 travels in the direction A, and when the leading edge of the print medium 4 is detected by the passage detection sensor 6, the medium detection signal a rises. At the same time, the feed amount counting circuit 12 counts the pulse motor shift pulse b to count the feed amount of the printing medium 4, and furthermore, the detection area setting circuit 11 starts the printing reference mark detection area from the leading edge of the printing medium 4 as shown in FIG. When the count value corresponding to the distance to the tip S of 40 is reached, a start mark detection section pulse C is generated, and a detection section pulse d having the same rising edge as that pulse is generated. As the print medium 4 further travels, the marks 40a, 40b, and 40c are sequentially detected by the reflective sensor 8. This mark signal is ANDed with the start mark detection interval pulse C generated by the detection interval setting circuit 11, and is led to the start mark storage circuit 20 as the detection interval start mark signal e, which puts the storage circuit into a write enable state. . Therefore, the start mark storage circuit 20 stores the count output signal g at that time.

また、上記マーク信号には上記検知区間パルスdと論理
積されて検知区間マーク信号fとしてエンドマ−ク記憶
回路21に導かれる。同記す、a回路21は検知区間マ
ーク信号fが入力するたびに書込みイネーブル状態とな
るため、そのたびに上記計数出力信号gを更新記憶して
行く。以上の動作から第2図に示すA方向に印字媒体4
が走行していくと、スタートマーク記憶回路20にはマ
ーク40aの位置までの印字媒体送りI(nl)が記憶
され、またエンドマーク記憶回路21には、最終的にマ
ーク40cの位置までの印字媒体送り量(n3)が記憶
される。
Further, the mark signal is logically ANDed with the detection section pulse d and is led to the end mark storage circuit 21 as a detection section mark signal f. Since the a circuit 21 described above enters the write enable state every time the detection section mark signal f is input, the count output signal g is updated and stored each time. From the above operations, the printing medium 4 is moved in the direction A shown in FIG.
As it travels, the start mark storage circuit 20 stores the print medium feed I(nl) to the position of the mark 40a, and the end mark storage circuit 21 stores the print medium feed I(nl) to the position of the mark 40c. The medium feed amount (n3) is stored.

一方、印字媒体4をA方向に走行させているときにはパ
ルスモータ動作信号pはハイの状態にあるから、選択信
号jもハイとなり、印字媒体送り量信号選択回路22は
スタートマーク位置までの印字媒体送り量信号りをCP
Uに対して出力する。
On the other hand, when the print medium 4 is running in the direction A, the pulse motor operation signal p is in a high state, so the selection signal j is also high, and the print medium feed amount signal selection circuit 22 moves the print medium up to the start mark position. CP feed amount signal
Output to U.

次に第3図に示すように印字媒体4の走行方向が逆転し
てB方向に走行を開始すると、上記と同じようにして送
り量計数回路12および検知区間設定回路11が計数動
作を始めるが、このとき検知区間設定回路11は印字媒
体4の後端を検出して印字基準マーク検知区間40の後
端部までの計数(nlo)をしたときにスタートマーク
検知区間パルスCおよび検知区間パルスdを立ち上がら
せる(第3図および第6図参照)。そして、スタートマ
ーク記憶回路20は上記スタートマーク検知区間パルス
Cに応じてそのパルスの立ち上がり直後に検出したマー
ク4Qcの位置までの印字媒体送り量(nil)を記憶
し、同様にエンドマーク記憶回路21は上記検知区間パ
ルスdに応じてその期間に検知したマーク信号の位置ま
での印字媒体送り量を更新記憶して行く。
Next, as shown in FIG. 3, when the running direction of the print medium 4 is reversed and starts running in the B direction, the feed amount counting circuit 12 and the detection section setting circuit 11 start counting operations in the same manner as described above. , at this time, the detection section setting circuit 11 detects the rear end of the printing medium 4 and counts (nlo) up to the rear end of the printing reference mark detection section 40, and then outputs the start mark detection section pulse C and the detection section pulse d. (See Figures 3 and 6). Then, the start mark storage circuit 20 stores the printing medium feed amount (nil) to the position of the mark 4Qc detected immediately after the rise of the pulse C according to the start mark detection interval pulse C, and similarly the end mark storage circuit 21 corresponds to the detection interval pulse d, and updates and stores the print medium feed amount to the position of the mark signal detected during that period.

したがって、スタートマーク記憶回路20にはマーク4
0cまでの印字媒体送り量(nil)が記憶さ−れ、エ
ンドマーク記憶回路21にはマーク40aまでの印字媒
体送り31’(n13)が記憶される。一方印字媒体4
をB方向に走行するときにはモータパルス動作信号pは
ロー状態にあるため、選択信号jもローとなって、印字
媒体送り量信号選択回路22が今度はエンドマーク位置
までの印字媒体送り量信号iをCPUに対して出力する
Therefore, the mark 4 is stored in the start mark storage circuit 20.
The print medium feed amount (nil) up to 0c is stored, and the print medium feed 31' (n13) up to the mark 40a is stored in the end mark storage circuit 21. On the other hand, print medium 4
When traveling in direction B, the motor pulse operation signal p is in a low state, so the selection signal j also becomes low, and the print medium feed amount signal selection circuit 22 in turn selects the print medium feed amount signal i to the end mark position. is output to the CPU.

以上の動作から印字媒体4がA方向に走行しているとき
もB方向に走行しているときもマーク40aの位置まで
の印字媒体送り量が求められることになる。すなわち、
このマーク40aが印字媒体の走行方向に無関係に検出
することのできる印字基準マークとして使用することが
できる。
From the above operations, the amount of print medium feed to the position of the mark 40a can be determined both when the print medium 4 is traveling in the A direction and when the print medium 4 is traveling in the B direction. That is,
This mark 40a can be used as a print reference mark that can be detected regardless of the running direction of the print medium.

以上の実施例では、第2図および第3図に示すように、
使用する印字媒体4を印字基準マークが先端付近に設定
される種類のものとしたが、第7図に示すように印字基
準マーク40a′が印字媒体4′の後端付近に設定され
る種類のものを用(、−)てもよい。
In the above embodiment, as shown in FIGS. 2 and 3,
The printing medium 4 to be used is of the type in which the printing reference mark is set near the leading edge, but as shown in FIG. You may also use (, -).

この場合は、印字媒体選択スイッチ23のハイに接続さ
れている接点23aを閉じて、モータパルス動作信号p
がハイのとき、すなわち印字媒体4′がA方向に搬送さ
れるときに選択信号jがローになるようにする。このよ
うにすると、第8図のタイミングチャートから分るよう
に印字媒体4′が入方向に走行しているときにはスター
トマーク記憶回路20にマーク400′の位置までの印
字媒体送り量(n21)が記憶され、またエンドマーク
記憶回路21には(印字基準)マーク40a′の位置ま
での印字媒体送り量(n23)が記憶される。そして、
このときの選択信号jはローであるから、(印字基準)
マーク40a′の位置までの印字媒体送り量がcPUに
対して出力される。一方、印字媒体4′が入方向とは逆
のB方向に走行しているときには、スタートマーク記憶
回路20にはく印字基準)マーク40a′の位置までの
印字媒体送り量が記憶され、またエンドマーク記憶回路
21にはマーク40c ”の位置までの印字媒体送り量
が記憶されるとともに選択信号jがハイであるから、上
記と同様に(印字基準)マーク40a′の位置までの印
字媒体送り量信号りがCPUに対して出力されることに
なる。
In this case, close the contact 23a connected to the high level of the print medium selection switch 23 and use the motor pulse operation signal p.
The selection signal j is set to be low when is high, that is, when the print medium 4' is conveyed in the A direction. In this way, as can be seen from the timing chart in FIG. 8, when the print medium 4' is running in the input direction, the start mark storage circuit 20 stores the print medium feed amount (n21) to the position of the mark 400'. The end mark storage circuit 21 also stores the print medium feed amount (n23) to the position of the (print reference) mark 40a'. and,
Since the selection signal j at this time is low, (printing standard)
The print medium feed amount to the position of mark 40a' is output to the cPU. On the other hand, when the printing medium 4' is running in direction B, which is opposite to the input direction, the start mark storage circuit 20 stores the printing medium feeding amount to the position of the printing reference mark 40a', and The mark storage circuit 21 stores the print medium feed amount to the mark 40c'' position, and since the selection signal j is high, the print medium feed amount to the mark 40a' position (printing reference) is stored in the mark storage circuit 21. A signal will be output to the CPU.

以上のようにして印字基準マークの設定位置に応じて印
字媒体選択スイッチ23の設定状態を変えることにより
、必要な印字基準マークの位置までの媒体送り量を正し
く求めることができる。
By changing the setting state of the printing medium selection switch 23 in accordance with the setting position of the printing reference mark as described above, it is possible to accurately determine the amount of medium feed to the required position of the printing reference mark.

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

第1図はこの発明の実施例である印字媒体搬送装置の概
略機構図である。また、第2図は走行方向がへ方向(右
方向)であるときの印字媒体とセンサとの位置関係を示
す図である。   ” 第3図は印字媒体4が矢印B方向(左方向)に走行する
ときの印字媒体とセンサとの位置関係を示す図である。 第4図は印字基準マーク検出装置のブロック図である。 また、第5図、第6図は同装置の動作を説明するための
タイミングチャートである。 第7図は他の種類の印字媒体が矢印A方向に走行すると
きの印字媒体とセンサとの位置関係を示す図である。ま
た、第8図は同印字媒体を使用したときの動作を示すフ
ローチャートである。 4−印字媒体、  6−通過検知センサ、  8−反射
型センサ(マーク検知センサ)、  11−検知区間設
定回路、  12−送り量計数回路、  20−スター
トマーク記憶回路、  21−エンドマーク記憶回路、
  22−印字媒体送り量信号選択回路。 出願人  立石電機株式会社 代理人  弁理士 小森久夫 is1図 第゛5図 In1 第6図 b      −−−−−−−−一一一一一1    
             ’     1111ルハ
13第7図 第8図 【n23
FIG. 1 is a schematic mechanical diagram of a print medium conveying device according to an embodiment of the present invention. Further, FIG. 2 is a diagram showing the positional relationship between the print medium and the sensor when the running direction is toward (rightward). 3 is a diagram showing the positional relationship between the print medium and the sensor when the print medium 4 travels in the direction of arrow B (to the left). FIG. 4 is a block diagram of the print reference mark detection device. 5 and 6 are timing charts for explaining the operation of the device. FIG. 7 shows the position of the print medium and the sensor when another type of print medium runs in the direction of arrow A. FIG. 8 is a flowchart showing the operation when the same printing medium is used. 4-printing medium, 6-passage detection sensor, 8-reflective sensor (mark detection sensor), 11-detection section setting circuit, 12-feed amount counting circuit, 20-start mark storage circuit, 21-end mark storage circuit,
22-Print medium feed amount signal selection circuit. Applicant Tateishi Electric Co., Ltd. Agent Patent Attorney Hisao Komori is1 Figure ゛Figure 5 In1 Figure 6b --------------------111111
' 1111 Luha 13 Figure 7 Figure 8 [n23

Claims (1)

【特許請求の範囲】[Claims] (1)右方向または左方向への走行状態にある印字媒体
の通過を検知したとき媒体検知信号を出力する通過検知
センサと、印字媒体面を走査6て印字または印刷マーク
を検知したときマーク検知信号を出力するマーク検知そ
ンサとを備え、前記媒体検知信号と前記マーク検知信号
とに基づいて印字基準マークの位置を求めるようにした
印字基準マーク検出装置において、前記印字媒体の送り
量を計数する送り量計数回路と、前記媒体検知信号の発
生時を基準にして印字媒体上の印字基準マーク検知区間
を設定し、その区間に対応する検知区間パルスを発生す
る検知区間設定回路と、前記印字基準マーク検知区間の
最初のマーク位置に対応する印字媒体送り量を記憶する
スタートマーク記憶回路および最後のマーク位置に対応
する印字媒体送り量を記憶するエンドマーク記憶回路と
、前記印字媒体の走行方向に対応して前記スタートマー
ク記憶回路または前記エンドマーク記憶回路から印字媒
体送り量を選択的に読み出す印字媒体送り量選択回路と
、を備え、前記印字媒体送り量選択回路で選択した印字
媒体送り量に基づいて印字基準マークの位置を求めるよ
うにした印字基準マーク検出装置。
(1) Passage detection sensor that outputs a medium detection signal when it detects the passage of a print medium running in the right or left direction, and mark detection when it scans the surface of the print medium and detects printing or print marks. and a mark detection sensor that outputs a signal, the printing reference mark detection device is configured to determine the position of the printing reference mark based on the medium detection signal and the mark detection signal, and the printing reference mark detection device calculates the feed amount of the printing medium. a detection section setting circuit that sets a printing reference mark detection section on the print medium based on the time when the medium detection signal is generated, and generates a detection section pulse corresponding to the section; a start mark storage circuit that stores a print medium feed amount corresponding to the first mark position in the reference mark detection section; an end mark storage circuit that stores a print medium feed amount that corresponds to the last mark position; and a running direction of the print medium. a print medium feed amount selection circuit that selectively reads a print medium feed amount from the start mark storage circuit or the end mark storage circuit in response to the print medium feed amount selected by the print medium feed amount selection circuit; A printing reference mark detection device that determines the position of a printing reference mark based on.
JP1246083A 1983-01-26 1983-01-26 Detector for print reference mark Granted JPS59136276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1246083A JPS59136276A (en) 1983-01-26 1983-01-26 Detector for print reference mark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1246083A JPS59136276A (en) 1983-01-26 1983-01-26 Detector for print reference mark

Publications (2)

Publication Number Publication Date
JPS59136276A true JPS59136276A (en) 1984-08-04
JPH0433627B2 JPH0433627B2 (en) 1992-06-03

Family

ID=11805958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1246083A Granted JPS59136276A (en) 1983-01-26 1983-01-26 Detector for print reference mark

Country Status (1)

Country Link
JP (1) JPS59136276A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5085528A (en) * 1989-05-31 1992-02-04 Seikosha Co., Ltd. Data card and serial printer using same
JPH0691746A (en) * 1992-09-11 1994-04-05 Toppan Printing Co Ltd Drawn polyester container and manufacture thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5085528A (en) * 1989-05-31 1992-02-04 Seikosha Co., Ltd. Data card and serial printer using same
JPH0691746A (en) * 1992-09-11 1994-04-05 Toppan Printing Co Ltd Drawn polyester container and manufacture thereof

Also Published As

Publication number Publication date
JPH0433627B2 (en) 1992-06-03

Similar Documents

Publication Publication Date Title
US3794812A (en) Sensing apparatus
US5014324A (en) MICR character reader using magnetic peaks to update timing clocks
US3832686A (en) Bar code font
GB1496320A (en) Computer accounting system
JPS59136276A (en) Detector for print reference mark
US3558862A (en) Circuit for dimensional verification of punched tapes
US4345278A (en) Acceleration correction for self-clocking write-head
US3710078A (en) Document scanning apparatus and method
US4608705A (en) Information retrieval apparatus capable of stopping an information bearing medium accurately at a desired location
US4157783A (en) Item responsive print inhibiting apparatus
US4276469A (en) Data card reader
US4184180A (en) File protect and amount of tape sensing apparatus
US4056849A (en) High speed buffered tape reader with low tape stress
US4381524A (en) Self-clocking write head
JPS59160272A (en) Bar-code detecting device
JPS5935473B2 (en) Information card recording device
JPH113119A (en) Guiding device for carrier wagon
EP0053224A2 (en) Magnetic recording apparatus
JP3544552B2 (en) Information recording medium reader
JPH0820455A (en) Passbook printer
JP2578920B2 (en) Printer print positioning mechanism
JP2918190B2 (en) Magnetic writing device
JPS6320576A (en) Medium recognizing device
JPS59145172A (en) Printing condition detector
JP3245902B2 (en) Redundant bit setting device for magnetic ticket