JPH0976598A - Positioning apparatus and printer - Google Patents

Positioning apparatus and printer

Info

Publication number
JPH0976598A
JPH0976598A JP7241818A JP24181895A JPH0976598A JP H0976598 A JPH0976598 A JP H0976598A JP 7241818 A JP7241818 A JP 7241818A JP 24181895 A JP24181895 A JP 24181895A JP H0976598 A JPH0976598 A JP H0976598A
Authority
JP
Japan
Prior art keywords
sensor
bar code
reflection type
detecting
type sensor
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
JP7241818A
Other languages
Japanese (ja)
Other versions
JP3345533B2 (en
Inventor
Nobuyuki Kawai
信行 川合
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP24181895A priority Critical patent/JP3345533B2/en
Publication of JPH0976598A publication Critical patent/JPH0976598A/en
Application granted granted Critical
Publication of JP3345533B2 publication Critical patent/JP3345533B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a positioning apparatus capable of inexpensively determining the position from the end surface of a sheet. SOLUTION: A positioning apparatus is constituted of a reflection type sensor 25 wherein a spot diameter is smaller than the width of the bar code applied to a sheet, feed means 23a, 23b, 26 feeding the sheet and a controller detecting the end part of a bar code from the detection output of the reflection type sensor and determining the position on the sheet separated from the end part of the bar code by a predetermined distance after the detection of the end part of the detected bar code.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は例えば、単票のよう
な被搬送部材の決められた位置に印刷を行う印字装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus that prints on a determined position of a conveyed member such as a single-cut sheet.

【0002】[0002]

【従来の技術】従来、単票に印刷を行う場合に、単票の
端面を透過センサ等の光学的センサを用いて検出し、そ
の端面からの距離を考慮することにより、所定位置に印
字を行うようにしていた。
2. Description of the Related Art Conventionally, when printing on a single-cut sheet, the end surface of the single-cut sheet is detected by using an optical sensor such as a transmission sensor, and the distance from the end surface is taken into consideration to print at a predetermined position. I was going to do it.

【0003】[0003]

【発明が解決しようとする課題】しかし、単票の端面を
透過センサで検出する場合に、用紙のカッティング状態
によっては、単票の端面から印字行までの距離が異なっ
てしまうため、最悪の場合単票に予め印刷されている文
字の上に印字をしてしまうという問題がある。
However, in the worst case, when the end surface of a single-cut sheet is detected by the transmission sensor, the distance from the end surface of the single-cut sheet to the print line varies depending on the cutting state of the paper. There is a problem that printing is performed on the characters that are printed in advance on the single-cut sheet.

【0004】この問題を解消するために、単票の端部近
傍のバ−コ−ドを付しておき、このバ−コ−ドをCCD
ラインセンサにより検出し、このCCDの検出出力を画
像処理して、バ−コ−ドを検出して、そのバ−コ−ドか
ら所定距離のところに印字を行なう印字装置もある。
In order to solve this problem, a bar code near the end of the cut sheet is attached, and this bar code is used as a CCD.
There is also a printer which detects the output by the line sensor, performs image processing on the detection output of the CCD, detects the bar code, and prints at a predetermined distance from the bar code.

【0005】しかし、このようにCCDラインセンサを
用いることにより、バ−コ−ドを検出する精度は上昇す
るが、CCDラインセンサを用いることにより、CCD
ラインセンサの検出出力を画像処理する処理回路も必要
となり、コストが大幅に上昇するという問題があった。
However, although the accuracy of detecting the bar code is improved by using the CCD line sensor as described above, the CCD line sensor is used to detect the CCD.
A processing circuit for image-processing the detection output of the line sensor is also required, and there is a problem that the cost is significantly increased.

【0006】本発明は上記の点に鑑みてなされたもの
で、その目的は、被搬送部材の端面からの位置を安価に
決定することができる位置決め装置及び印刷装置を提供
することにある。
The present invention has been made in view of the above points, and an object thereof is to provide a positioning device and a printing device that can inexpensively determine the position of the transported member from the end face.

【0007】[0007]

【課題を解決するための手段】請求項1に係わる位置決
め装置は、被搬送部材に付与されたバ−コ−ドの幅より
スポット径が小さい反射型センサと、上記被搬送部材を
搬送させる搬送手段と、上記反射型センサの検出出力か
ら上記バ−コ−ドの端部を検出する検出手段と、この端
部検出手段により上記バ−コ−ドの端部が検出されてか
ら、上記バ−コ−ドの端部から所定距離隔てた被搬送部
材上の位置を位置決めする位置決め手段とを具備したこ
とを特徴とする。
According to a first aspect of the present invention, there is provided a positioning device including a reflection type sensor having a spot diameter smaller than a width of a bar code provided on a member to be conveyed, and a conveyer for conveying the member to be conveyed. Means for detecting the end of the bar code from the detection output of the reflection type sensor, and the bar end after the end of the bar code is detected by the end detecting means. -Positioning means for positioning a position on the member to be conveyed which is separated from the end of the cord by a predetermined distance.

【0008】請求項2に係わる位置決め装置は、請求項
1の反射型センサはレンズ組み込み型であることを特徴
とする。請求項3に係わる位置決め装置は、請求項1の
被搬送部材の端部を検出する透過センサを備え、この透
過センサにより上記被搬送部材の前端部が検出されてか
ら所定時間だけ上記反射型センサの検出出力を取り込む
ようにしたことを特徴とする。
A positioning device according to a second aspect of the present invention is characterized in that the reflective sensor according to the first aspect is a lens built-in type. According to a third aspect of the present invention, there is provided a positioning device including a transmissive sensor for detecting an end of the transported member according to the first aspect, and the reflective sensor for a predetermined time after the front end of the transported member is detected by the transmissive sensor. It is characterized in that the detection output of is taken in.

【0009】請求項4に係わる印字装置は、被搬送部材
に付与されたバ−コ−ドの幅よりスポット径が小さい反
射型センサと、上記被搬送部材を搬送させる搬送手段
と、上記反射型センサの検出出力から上記バ−コ−ドの
端部を検出する端部検出手段と、この端部検出手段によ
り上記バ−コ−ドの端部が検出されてから、上記バ−コ
−ドの端部から所定距離隔てた被搬送部材上の位置を位
置決めする位置決め手段と、この位置決め手段で決定さ
れた位置に印字を行う印字手段を具備したことを特徴と
する。
According to a fourth aspect of the present invention, there is provided a printing apparatus in which a reflection type sensor having a spot diameter smaller than a width of a bar code applied to a member to be conveyed, a conveying means for conveying the member to be conveyed, and the reflection type sensor. An end detecting means for detecting the end of the bar code from the detection output of the sensor, and the bar code after the end of the bar code is detected by the end detecting means. It is characterized by further comprising a positioning means for positioning a position on the member to be conveyed which is separated from the end portion by a predetermined distance, and a printing means for printing at the position determined by the positioning means.

【0010】請求項5に係わる印字装置は、請求項4記
載の反射型センサはレンズ組み込み型であることを特徴
とする。請求項6に係わる印字装置は、請求項4記載の
被搬送部材の端部を検出する透過センサを備え、この透
過センサにより上記被搬送部材の前端部が検出されてか
ら所定時間だけ上記反射型センサの検出出力を取り込む
ようにしたことを特徴とする。
According to a fifth aspect of the present invention, the reflection type sensor according to the fourth aspect is a lens built-in type. According to a sixth aspect of the present invention, there is provided a printing device including a transmission sensor for detecting an end portion of the transported member according to the fourth aspect, and the reflection type is provided for a predetermined time after the front end portion of the transported member is detected by the transmission sensor. It is characterized in that the detection output of the sensor is fetched.

【0011】つまり、本発明は、被搬送部材に付与され
たバ−コ−ドを安価な反射型センサで検出し、このバ−
コ−ドから所定距離隔てた位置を位置決めするようにし
ている。
That is, according to the present invention, the bar code applied to the member to be conveyed is detected by an inexpensive reflection type sensor, and the bar code is detected.
It is positioned at a position separated from the code by a predetermined distance.

【0012】[0012]

【発明の実施の形態】以下図面を参照して本発明の一実
施の形態について説明する。図1は図6に示すように印
刷欄と共にバ−コ−ドが印刷された被搬送部材としての
単票用紙の印刷欄に精度良く印刷を行う印刷装置の概略
構成を示す図である。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a schematic configuration of a printing apparatus for performing accurate printing on a printing column of a cut sheet sheet as a member to be conveyed on which a bar code is printed together with the printing column as shown in FIG.

【0013】まず、図6を参照して単票用紙について説
明する。図6において、11は直方形状の単票用紙であ
る。この単票用紙11の上部には、NAME(名前),DATE
OFBIRTH (誕生日),SEX (性別)、CORPORATION
(会社)という文字が予め印刷(プレ印刷)された印刷
欄12を備えている。
First, a cut sheet will be described with reference to FIG. In FIG. 6, 11 is a rectangular cut sheet. At the top of this cut sheet 11 is NAME, DATE
OFBIRTH (Birthday), SEX (Gender), CORPORATION
The printing column 12 is preprinted with the letters (company).

【0014】そして、この単票用紙11の下部には幅が
Xのバ−コ−ド13,14が単票用紙11の下部両端に
予め印刷されている。この単票用紙11の下部の辺11
aから上記バ−コ−ド13,14とを含むような幅Yの
領域はバ−コ−ドを検知する検知領域15として設定さ
れている。
Barcodes 13 and 14 having a width of X are printed on the lower portion of the single-cut sheet 11 in advance on both ends of the lower portion of the single-cut sheet 11. The lower side 11 of this cut sheet 11
An area having a width Y from a to bar codes 13 and 14 is set as a detection area 15 for detecting the bar code.

【0015】この単票用紙11は矢印16方向に印刷装
置に挿入される。そして、バ−コ−ド13あるいは14
の後縁辺13a,14aから上記印刷欄12のNAME行、
DATEOF BIRTH 行、CORPORATION 行までの距離Z1,Z
2,Z3までの距離は予め設定されている。
The cut sheet 11 is inserted into the printer in the direction of arrow 16. And bar code 13 or 14
From the trailing edges 13a, 14a to the NAME line of the printing column 12,
Distance Z1, Z to DATEOF BIRTH line, CORPORATION line
The distances to 2 and Z3 are preset.

【0016】ところで、バ−コ−ド13,14の幅X、
検知領域15の幅Y、バ−コ−ド13あるいは14の後
縁辺13aあるいは14aから上記印刷欄12のNAME
行、DATE OF BIRTH 行、CORPORATION 行までの距離Z
1,Z2,Z3は後述するコントロ−ラ内のメモリ(図
示しない)に予め設定されている。
By the way, the widths X of the bar codes 13 and 14 are
The width Y of the detection area 15 and the rear edge 13a or 14a of the bar code 13 or 14 to the NAME of the print column 12
Distance to line, DATE OF BIRTH line, CORPORATION line Z
1, Z2 and Z3 are preset in a memory (not shown) in the controller described later.

【0017】次に、図1を参照して図6の単票用紙11
の印刷欄12に印刷を行う印刷を行う印刷装置について
説明する。図1において、この印刷装置には、図6の単
票用紙11を矢印16方向に沿って搬送する搬送路21
が形成されている。
Next, referring to FIG. 1, the cut sheet 11 of FIG.
A printing device that performs printing in the print column 12 will be described. In FIG. 1, the printing apparatus includes a transport path 21 for transporting the single-cut sheet 11 of FIG. 6 in the direction of arrow 16.
Are formed.

【0018】そして、搬送路21の入口には、単票用紙
11が挿入されたことを検出するための第1の透過セン
サ22が設置されている。この第1の透過センサ22は
発光素子と受光素子が上記搬送路21を挟むように設置
されており、上記単票用紙11の下部の辺11aが第1
の透過センサ22の光軸を遮ると、検知信号aを出力す
る。
A first transmission sensor 22 for detecting the insertion of the cut sheet 11 is installed at the entrance of the transport path 21. The first transmission sensor 22 is installed so that the light emitting element and the light receiving element sandwich the conveyance path 21, and the lower side 11a of the cut sheet 11 is the first side.
When the optical axis of the transmission sensor 22 is blocked, the detection signal a is output.

【0019】そして、この第1の透過センサ22の後方
に単票用紙11を取り込む一対の駆動ロ−ラ23a,2
3bが設置されている。さらに、この駆動ロ−ラ23
a,23bの後方には、さらに、上記単票用紙11の下
部の辺11aの到着を検出するための第2の透過センサ
24が設置されている。この第2の透過センサ24の構
成は第1の透過センサ22と同一であり、検知信号bを
出力する。
Then, a pair of drive rollers 23a, 2 for taking in the single-cut sheet 11 behind the first transmission sensor 22.
3b is installed. Furthermore, this drive roller 23
A second transmission sensor 24 for detecting the arrival of the lower side 11a of the cut sheet 11 is further provided behind the a and 23b. The configuration of the second transmission sensor 24 is the same as that of the first transmission sensor 22, and outputs the detection signal b.

【0020】さらに、この第2の透過センサ24の後方
には、単票用紙11に印刷されているバ−コ−ド14を
検出するための反射型センサ25が設置されている。そ
して、この反射型センサ25と搬送路21を挟んで向か
い合う位置に、反射型センサ用ピンチロ−ラ26が設置
されている。この反射型センサ25の詳細な構成につい
ては図3を参照して後述する。この反射型センサ25は
検知信号cを出力する。
Further, behind the second transmission sensor 24, a reflection type sensor 25 for detecting the bar code 14 printed on the single-cut sheet 11 is installed. A reflective sensor pinch roller 26 is installed at a position facing the reflective sensor 25 with the conveyance path 21 in between. The detailed configuration of the reflective sensor 25 will be described later with reference to FIG. The reflective sensor 25 outputs a detection signal c.

【0021】そして、この反射型センサ25から所定距
離だけ搬送路21の下流に印字ヘッド27が設置されて
いる。この印字ヘッド27と搬送路21を挟んで向かい
合う位置に、プラテン28が配設されている。
A print head 27 is installed downstream of the conveyance path 21 by a predetermined distance from the reflection type sensor 25. A platen 28 is arranged at a position facing the print head 27 with the transport path 21 in between.

【0022】さらに、印字ヘッド27の下流側には搬送
路21を挟んで一対の搬送用駆動ロ−ラ29a,29b
が設けられている。次に、図1のように構成された印刷
装置の制御ブロック図について図2のブロック図を参照
して説明する。
Further, on the downstream side of the print head 27, a pair of transport drive rollers 29a and 29b are provided with the transport path 21 interposed therebetween.
Is provided. Next, a control block diagram of the printing apparatus configured as shown in FIG. 1 will be described with reference to the block diagram of FIG.

【0023】図2において、第1及び第2の透過センサ
22,24の検知信号a,b及び反射型センサ25の検
知信号cはコントロ−ラ31に入力される。このコント
ロ−ラ31は図示はしないが、CPU(中央処理装置)
とその周辺回路であるメモリ等が中心に構成されてい
る。このメモリには、前述したバ−コ−ド13,14の
幅X、検知領域15の幅Y、バ−コ−ド14の14aか
ら上記印刷欄12のNAME行、DATE OF BIRTH 行、CORPOR
ATION 行までの距離Z1,Z2,Z3が予め記憶されて
いる。さらに、このコントロ−ラ31のメモリには図7
のフロ−チャ−トのように制御プログラムが記憶されて
いる。
In FIG. 2, the detection signals a and b of the first and second transmission sensors 22 and 24 and the detection signal c of the reflection type sensor 25 are input to the controller 31. Although not shown, this controller 31 is a CPU (central processing unit)
And its peripheral circuits, such as a memory, are mainly configured. In this memory, the width X of the bar codes 13 and 14 described above, the width Y of the detection area 15, the 14a of the bar code 14 to the NAME line, the DATE OF BIRTH line, and the CORPOR line of the print column 12 are stored.
Distances Z1, Z2, Z3 to the ATION line are stored in advance. Further, the memory of the controller 31 has a structure shown in FIG.
The control program is stored as in the flowchart of FIG.

【0024】さらに、コントロ−ラ31には前述した一
対の駆動ロ−ラ23a,23b、反射型センサ用ピンチ
ロ−ラ26、プラテン26を駆動する駆動モ−タ31が
接続されている。このモ−タ31は例えばステッピング
モ−タにより構成されており、このステッピングモ−タ
に供給するパルス信号pを制御することにより、単票用
紙11の搬送路21上での搬送距離を制御できるように
なっている。
Further, the controller 31 is connected to the pair of drive rollers 23a and 23b, the reflection type sensor pinch roller 26, and the drive motor 31 for driving the platen 26 described above. The motor 31 is composed of, for example, a stepping motor. By controlling the pulse signal p supplied to the stepping motor, the transport distance of the single-cut sheet 11 on the transport path 21 can be controlled. Has become.

【0025】次に、図3を参照して反射型センサ25の
詳細な構成について説明する。図3において、41は筒
状筐体である。この筐体41の一開放端は、基台42が
取り付けられた底板43が装着されている。
Next, the detailed structure of the reflective sensor 25 will be described with reference to FIG. In FIG. 3, reference numeral 41 is a cylindrical housing. A bottom plate 43 to which a base 42 is attached is attached to one open end of the housing 41.

【0026】この基台42には、所定距離隔てて、発光
素子としてのLED(発光ダイオ−ド)44及び受光素
子としてのフォトダイオ−ド45が設置されている。こ
の筐体41の内周面には、2つの凸レンズ46a及び4
6bが隣合うように一体成形されたレンズ46が装着さ
れている。
An LED (light emitting diode) 44 as a light emitting element and a photo diode 45 as a light receiving element are installed on the base 42 at a predetermined distance. Two convex lenses 46 a and 4 are provided on the inner peripheral surface of the housing 41.
A lens 46 integrally formed is mounted so that 6b are adjacent to each other.

【0027】凸レンズ46aはLED44から放射され
た光を単票用紙11上に集光されるためのもので、凸レ
ンズ46bは単票用紙11で反射された光をフォトダイ
オ−ド45上に集光させる機能を有する。
The convex lens 46a collects the light emitted from the LED 44 on the single-cut sheet 11, and the convex lens 46b collects the light reflected on the single-cut sheet 11 on the photo diode 45. It has the function of

【0028】例えば、単票用紙11のバ−コ−ド14上
にLED44からの光を集光させた場合のスポット51
の直径は0.2mm である。このスポット51の直径はバ−
コ−ド13,14の幅Xより小さければ、小さいほど精
度を上げることができるが、図3に示すように、バ−コ
−ド13の幅Xの1/5程度で良い。
For example, a spot 51 when the light from the LED 44 is condensed on the bar code 14 of the cut-sheet paper 11
Has a diameter of 0.2 mm. The diameter of this spot 51 is
If the width is smaller than the width X of the cords 13 and 14, the accuracy can be improved as the width is smaller, but as shown in FIG. 3, it may be about 1/5 of the width X of the bar code 13.

【0029】図1のピンチロ−ラ26は、搬送路21を
介して搬送された単票用紙11を反射型センサ25に押
し当てて、単票用紙11を凸レンズ46a,46bの焦
点距離fの位置にとどめるようにしている。
The pinch roller 26 of FIG. 1 presses the cut-sheet paper 11 conveyed through the conveyance path 21 against the reflection type sensor 25 to position the cut-sheet paper 11 at the focal length f of the convex lenses 46a and 46b. I try to keep it.

【0030】なお、図3において、47は透明板であ
る。次に、図4を参照して、反射型センサ25の検出信
号cを処理するコントロ−ラ31内の回路について説明
する。
In FIG. 3, 47 is a transparent plate. Next, with reference to FIG. 4, a circuit in the controller 31 that processes the detection signal c of the reflective sensor 25 will be described.

【0031】まず、反射型センサ25からのアナログの
検知信号cはプリアンプ61,アンプ62で増幅された
後、コンパレ−タ63の+端子に入力される。また、ア
ンプ62の出力は積分器を中心にして構成されるエンベ
ロ−プ作成部64に入力されて、検知信号cのエンベロ
−プ信号が作成される。そして、このエンベロ−プ信号
はレベルシフト部65で電圧が下げられて、図5に示す
ような波形eを持つ電圧がコンパレ−タ63の−端子に
入力される。
First, the analog detection signal c from the reflection type sensor 25 is amplified by the preamplifier 61 and the amplifier 62, and then input to the + terminal of the comparator 63. Further, the output of the amplifier 62 is input to an envelope creating section 64 mainly composed of an integrator, and an envelope signal of the detection signal c is created. Then, the voltage of the envelope signal is lowered by the level shifter 65, and the voltage having the waveform e as shown in FIG. 5 is input to the minus terminal of the comparator 63.

【0032】つまり、反射型センサ25の検知出力は図
5(A)に示すように、バ−コ−ド13以外の白地の部
分では、反射光の量が多いので、C1に示すようにレベ
ルが高く、バ−コ−ド14の部分の黒地の部分では、反
射光量が下がるため、C2に示すようにレベルが下が
る。
That is, as shown in FIG. 5 (A), the detection output of the reflection type sensor 25 has a large amount of reflected light in the portion of the white background other than the bar code 13, so that the level is as shown in C1. Is high, and the amount of reflected light is low in the black area of the bar code 14, so the level is low as indicated by C2.

【0033】そして、エンベロ−プ作成部64で作成さ
れたエンベロ−プはレベルシフト部65で電圧が下げら
れているため、C2の部分(つまり、バ−コ−ド14の
部分)だけ、ハイレベルとなるデジタル信号Cdが得ら
れる。従って、デジタル信号Cdのパルス幅はバ−コ−
ド13の幅Xに相当する幅を有する。
Since the voltage of the envelope created by the envelope creating unit 64 is lowered by the level shift unit 65, only the C2 portion (that is, the bar code 14 portion) is high. A level digital signal Cd is obtained. Therefore, the pulse width of the digital signal Cd is
It has a width corresponding to the width X of the cord 13.

【0034】次に、上記のように構成された本発明の一
実施の形態について図7のフロ−チャ−トを参照しなが
ら説明する。単票用紙11を矢印16方向を先頭して図
1の印刷装置に挿入して印刷する場合について説明す
る。まず、単票用紙11を搬送路21方向に向かって挿
入しようとすると、第1の透過センサ22の検知信号a
がオンする。この検知信号aがオンしたかを判定し(ス
テップS1)、オンした場合には、コントロ−ラ31に
より駆動モ−タ31が駆動される(ステップS2)。
Next, an embodiment of the present invention configured as described above will be described with reference to the flowchart of FIG. A case where the cut sheet 11 is inserted into the printing apparatus of FIG. First, when trying to insert the cut-sheet paper 11 toward the transport path 21, the detection signal a of the first transmission sensor 22 is detected.
Turns on. It is determined whether or not the detection signal a is turned on (step S1), and when it is turned on, the drive motor 31 is driven by the controller 31 (step S2).

【0035】この駆動モ−タ31の駆動により単票用紙
11が搬送路21を介して搬送される。次に、第2の透
過センサ24がオンしたかが判定される(ステップS
3)。ここで、単票用紙11が搬送路21を搬送され、
単票用紙11の辺11aが第2の透過センサ24の位置
にさしかかると、ステップS3で「YES」と判定され
る。
By driving the driving motor 31, the single-cut sheet 11 is conveyed through the conveying path 21. Next, it is determined whether the second transmission sensor 24 is turned on (step S
3). Here, the cut sheet 11 is conveyed through the conveyance path 21,
When the side 11a of the cut sheet 11 approaches the position of the second transmission sensor 24, it is determined as "YES" in step S3.

【0036】このように第2の透過センサ24で、単票
用紙11の辺11aが検出されてから、搬送路21の搬
送速度を考慮して、反射型センサ25に単票用紙11の
辺11aが到着してから検知領域15が通過するまで間
だけ、反射型センサ25の出力を取り込む処理を行う
(ステップS4)。
As described above, after the side 11a of the cut sheet 11 is detected by the second transmission sensor 24, the side of the side 11a of the cut sheet 11 is reflected by the reflective sensor 25 in consideration of the conveying speed of the conveying path 21. The process of capturing the output of the reflective sensor 25 is performed only during the period from the arrival of the signal to the passage of the detection region 15 (step S4).

【0037】これは、検知領域15以外で、バ−コ−ド
14と誤検出するのを防止するためである。このステッ
プS5で反射型センサ25の検知信号cの取り込みが行
われて、図5(B)のデジタル信号Cdの後縁部Cdeが
検出される(ステップS5)。この後縁部Cdeは単票用
紙11に印刷されているバ−コ−ド14の後縁辺14a
が反射型センサ25を横切るタイミングに一致してい
る。
This is to prevent erroneous detection of the bar code 14 outside the detection area 15. In step S5, the detection signal c of the reflective sensor 25 is taken in, and the trailing edge portion Cde of the digital signal Cd in FIG. 5B is detected (step S5). The trailing edge Cde is the trailing edge 14a of the bar code 14 printed on the cut-sheet paper 11.
Coincides with the timing of crossing the reflective sensor 25.

【0038】そして、このバ−コ−ド14の後縁辺14
aから印刷すべき印字位置までの距離z1〜z3はメモ
リに設定されているため、搬送路21上での単票用紙1
1の搬送速度を考慮して、バ−コ−ド14の後縁辺14
aが反射型センサ25を横切った時点から印刷開始まで
の時間を計算して、その所定時間後に印刷を開始するよ
うにしている(ステップS6)。
The rear edge 14 of this bar code 14
Since the distances z1 to z3 from a to the printing position to be printed are set in the memory, the cut sheet 1 on the transport path 21
Considering the transport speed of 1, the rear edge 14 of the bar code 14
The time from when the a crosses the reflective sensor 25 to the start of printing is calculated, and the printing is started after the predetermined time (step S6).

【0039】このように、バ−コ−ド14を基準して印
字位置を決定しているので、単票用紙11の辺11aが
欠けていても正確に印字位置を決定することができる。
また、反射型センサ25はレンズ46a,46bを内蔵
しているため、スポット径をバ−コ−ド13,14の幅
Xより小さでき、バ−コ−ド13,14のエッジ検出を
精度良く行うことができる。しかも、反射型センサ25
はCCDセンサよりかなり安価であるので、安価な位置
決め装置を提供できる。
Since the print position is determined with reference to the bar code 14 as described above, the print position can be accurately determined even if the side 11a of the cut sheet 11 is missing.
Further, since the reflection type sensor 25 has the lenses 46a and 46b built therein, the spot diameter can be made smaller than the width X of the bar codes 13 and 14, and the edge detection of the bar codes 13 and 14 can be performed accurately. It can be carried out. Moreover, the reflective sensor 25
Is much cheaper than a CCD sensor, so an inexpensive positioning device can be provided.

【0040】上記実施の形態では、反射型センサ25を
1つだけ使用したが、反射型センサを2つ使用して、図
6に示すように、単票用紙の端部の両端にバ−コ−ド1
3,14を印刷しておき、2つ反射型センサでそれぞれ
のバ−コ−ド13,14の位置を検出して、バ−コ−ド
13,14からの信号を比較することにより、スキュ−
検出を行うことができる。さらに、単票用紙が傾いてす
る場合には、その補正に用いても良い。なお、本発明は
印刷装置に限らず、バ−コ−ドの位置を検出して、その
バ−コ−ドを基準として他の処理を行う処理装置にも適
用することができる。
In the above embodiment, only one reflection type sensor 25 is used. However, two reflection type sensors are used, and as shown in FIG. -Do 1
3 and 14 are printed, the positions of the respective bar codes 13 and 14 are detected by two reflection type sensors, and the signals from the bar codes 13 and 14 are compared. −
Detection can be performed. Further, when the cut sheet is tilted, it may be used for the correction. The present invention can be applied not only to the printing apparatus but also to a processing apparatus which detects the position of the bar code and performs other processing with the bar code as a reference.

【0041】[0041]

【発明の効果】以上詳述したように本発明によれば、安
価な反射型センサを用いてバ−コ−ドの位置を検出し、
その位置を基準として、例えば印字する位置を決定する
ようにしたので、位置を安価に決定することができる位
置決め装置を提供することができる。
As described in detail above, according to the present invention, an inexpensive reflective sensor is used to detect the position of the bar code,
Since, for example, the printing position is determined based on the position, it is possible to provide a positioning device that can determine the position at low cost.

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

【図1】本発明の一実施の形態に係わる印刷装置の概略
構成を示す図。
FIG. 1 is a diagram showing a schematic configuration of a printing apparatus according to an embodiment of the invention.

【図2】同印刷装置の制御ブロック図。FIG. 2 is a control block diagram of the printing apparatus.

【図3】反射型センサの詳細な構成を示す図。FIG. 3 is a diagram showing a detailed configuration of a reflective sensor.

【図4】反射型センサの検知信号を処理する処理回路を
示す図。
FIG. 4 is a diagram showing a processing circuit for processing a detection signal of a reflective sensor.

【図5】反射型センサの検知信号を処理を説明するため
のタイミング図。
FIG. 5 is a timing diagram for explaining processing of a detection signal of a reflective sensor.

【図6】単票用紙を示す図。FIG. 6 is a view showing a cut sheet.

【図7】一実施の形態の動作を説明するためのフロ−チ
ャ−ト。
FIG. 7 is a flowchart for explaining the operation of one embodiment.

【符号の説明】[Explanation of symbols]

21…搬送路、22…第1の透過センサ、23a,23
b…駆動ロ−ラ、24…第2の透過センサ、25…反射
型センサ、26…ピンチロ−ラ、27…印字ヘッド、2
8…プラテン
21 ... Transport path, 22 ... First transmission sensor, 23a, 23
b ... drive roller, 24 ... second transmission sensor, 25 ... reflective sensor, 26 ... pinch roller, 27 ... print head, 2
8 ... Platen

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 被搬送部材に付与されたバ−コ−ドの幅
よりスポット径が小さい反射型センサと、 上記被搬送部材を搬送させる搬送手段と、 上記反射型センサの検出出力から上記バ−コ−ドの端部
を検出する検出手段と、 この端部検出手段により上記バ−コ−ドの端部が検出さ
れてから、上記バ−コ−ドの端部から所定距離隔てた被
搬送部材上の位置を位置決めする位置決め手段とを具備
したことを特徴とする位置決め装置。
1. A reflection type sensor having a spot diameter smaller than the width of a bar code applied to a member to be conveyed, a conveying means for conveying the member to be conveyed, and a detection output of the reflection type sensor to detect the bar. -Detecting means for detecting the end portion of the code, and an object which is separated from the end portion of the bar code by a predetermined distance after the end portion of the bar code is detected by the end detecting means. A positioning device comprising: positioning means for positioning the position on the conveying member.
【請求項2】 上記反射型センサはレンズ組み込み型で
あることを特徴とする請求項1記載の位置決め装置。
2. The positioning device according to claim 1, wherein the reflection type sensor is a lens built-in type.
【請求項3】 上記被搬送部材の端部を検出する透過セ
ンサを備え、この透過センサにより上記被搬送部材の前
端部が検出されてから所定時間だけ上記反射型センサの
検出出力を取り込むようにしたことを特徴とする請求項
1記載の位置決め装置。
3. A transmission sensor for detecting an end of the transported member is provided, and the detection output of the reflection type sensor is taken in only for a predetermined time after the front end of the transported member is detected by the transmission sensor. The positioning device according to claim 1, wherein the positioning device is provided.
【請求項4】 被搬送部材に付与されたバ−コ−ドの幅
よりスポット径が小さい反射型センサと、 上記被搬送部材を搬送させる搬送手段と、 上記反射型センサの検出出力から上記バ−コ−ドの端部
を検出する端部検出手段と、 この端部検出手段により上記バ−コ−ドの端部が検出さ
れてから、上記バ−コ−ドの端部から所定距離隔てた被
搬送部材上の位置を位置決めする位置決め手段と、 この位置決め手段で決定された位置に印字を行う印字手
段を具備したことを特徴とする印字装置。
4. A reflection type sensor having a spot diameter smaller than the width of a bar code applied to a conveyed member, a conveying means for conveying the conveyed member, and a barometer based on a detection output of the reflection sensor. -End detecting means for detecting the end of the code; and after the end of the bar code is detected by the end detecting means, a predetermined distance from the end of the bar code. A printing apparatus comprising: a positioning unit that positions a position on the transported member; and a printing unit that prints at the position determined by the positioning unit.
【請求項5】 上記反射型センサはレンズ組み込み型で
あることを特徴とする請求項4記載の印字装置。
5. The printer according to claim 4, wherein the reflective sensor is a lens built-in type.
【請求項6】 上記被搬送部材の端部を検出する透過セ
ンサを備え、この透過センサにより上記被搬送部材の前
端部が検出されてから所定時間だけ上記反射型センサの
検出出力を取り込むようにしたことを特徴とする請求項
4記載の印字装置。
6. A transmission sensor for detecting an end of the transported member is provided, and the detection output of the reflection type sensor is taken in only for a predetermined time after the front end of the transported member is detected by the transmission sensor. The printing device according to claim 4, wherein
JP24181895A 1995-09-20 1995-09-20 Positioning device and printing device Expired - Fee Related JP3345533B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24181895A JP3345533B2 (en) 1995-09-20 1995-09-20 Positioning device and printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24181895A JP3345533B2 (en) 1995-09-20 1995-09-20 Positioning device and printing device

Publications (2)

Publication Number Publication Date
JPH0976598A true JPH0976598A (en) 1997-03-25
JP3345533B2 JP3345533B2 (en) 2002-11-18

Family

ID=17079960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24181895A Expired - Fee Related JP3345533B2 (en) 1995-09-20 1995-09-20 Positioning device and printing device

Country Status (1)

Country Link
JP (1) JP3345533B2 (en)

Also Published As

Publication number Publication date
JP3345533B2 (en) 2002-11-18

Similar Documents

Publication Publication Date Title
JP2001206595A (en) Method and apparatus for detecting printing medium
JP4398797B2 (en) Medium width detection device
JP2007297176A (en) Page-pitch detecting method, page-pitch detecting device and printer
JP2004276396A (en) Method for calculating positional shift correction amount of heading and printer
JPH0976598A (en) Positioning apparatus and printer
JP4650507B2 (en) Medium conveying apparatus and image forming apparatus
JPH1148556A (en) Paper position detecting mechanism for printer
JPH08133530A (en) Sheet carrying device and image reader and image forming device
JP4736597B2 (en) Medium detection device
JP2020019233A (en) Recording device and recording method
JPH07309039A (en) Printer
JPH07334630A (en) Form tilt correction mechanism
JP2000163624A (en) Discriminating device for paper sheet or the like
JP3411869B2 (en) Form processing device
JP2007033841A (en) Image forming apparatus
JP2854506B2 (en) Printer
JP3338988B2 (en) Printer device
JPH02300985A (en) Optical reading device for printing medium
JP2638031B2 (en) Passbook printer
JPS63125364A (en) Printer
JP2003008832A (en) Method for positioning read sensor, and image reader
JP2000062262A (en) Printer
JP2875432B2 (en) Micro rotary camera
JP2002302310A (en) Image recording device
JP2008183873A (en) Print medium handling device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070830

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080830

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090830

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090830

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100830

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100830

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110830

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110830

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120830

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120830

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130830

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees