JP2005022130A - Method for positioning recording paper sheet for printer, program for performing this method in computer, recording medium recording this program for printer, recording paper sheet for printer, and printer - Google Patents

Method for positioning recording paper sheet for printer, program for performing this method in computer, recording medium recording this program for printer, recording paper sheet for printer, and printer Download PDF

Info

Publication number
JP2005022130A
JP2005022130A JP2003187908A JP2003187908A JP2005022130A JP 2005022130 A JP2005022130 A JP 2005022130A JP 2003187908 A JP2003187908 A JP 2003187908A JP 2003187908 A JP2003187908 A JP 2003187908A JP 2005022130 A JP2005022130 A JP 2005022130A
Authority
JP
Japan
Prior art keywords
recording paper
mark
printer
information
type
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.)
Withdrawn
Application number
JP2003187908A
Other languages
Japanese (ja)
Inventor
Tsutomu Nobetani
延谷  力
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003187908A priority Critical patent/JP2005022130A/en
Publication of JP2005022130A publication Critical patent/JP2005022130A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Sheets (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To realize cueing of a recording paper sheet in response to a judged result by judging accurately a type of the recording paper sheet based on a recognition mark. <P>SOLUTION: A method for positioning the recording paper sheet for a printer includes detecting of the recognition mark 104 having a length L in response to the type of the recording paper sheet 26 by a sensor while conveying the recording paper sheet 26, and judging of the type of the recording paper sheet by obtaining the length L. The method further includes acquiring of information indicating a positional relationship between a position of the recognition mark 104 and a print starting position S from the type of the judged recording paper sheet 26, and cueing of the recording paper sheet by conveying the recording paper sheet 26 from the detected position of the recognition mark 104 in an amount in response to the information. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、プリンタ用の記録紙に設けられた認識マークに基づいて当該記録紙の頭出しを行うプリンタ用記録紙の位置決め方法、この方法をコンピュータに実行させるプログラム、およびこのプログラムを記録した記録媒体に関する。また、本発明は、プリンタで頭出しを行うための認識マークが予め印刷されたプリンタ用の記録紙にも関する。さらに、本発明は、記録紙に予め印刷された認識マークに基づいて記録紙の頭出しを行う機能を有するプリンタにも関する。
【0002】
【従来の技術】
プリンタ用の記録紙には、所定フォーマットの罫線枠が予め印刷された帳票印刷用等の記録紙や、ラベル印刷用の記録紙等がある。このような記録紙では、予め記録された罫線枠や、貼付されたラベルに対して印刷位置がずれないように、印刷開始に先立って記録紙を所定位置に位置合わせすること(頭出し)が必要である。従来、このような記録紙の頭出しは、記録紙側に予め頭出し用のマーク(本明細書において、認識マークという)を印刷しておき、この認識マークがセンサで検出されてから所定量だけ記録紙を搬送することにより行われている。
【0003】
ところで、上記のような帳票印刷用やラベル印刷用等の記録紙には様々な種類があり、その種類により頭出し用のマークの位置が異なっている。すなわち、認識マークの位置と記録紙の印刷位置との関係が記録紙の種類によって異なることになるため、認識マークに基づいて記録紙の頭出しを行う場合には、認識マークが検出されてからの用紙の搬送量を、記録紙の種類に応じた大きさに設定しなければならない。
【0004】
そこで、従来は、認識マークに基づく頭出しを行う場合には、使用する記録紙の種類をユーザが設定し、設定された種類に応じてプリンタが頭出し動作を行うようにするのが一般的であった。しかし、これでは、ユーザは記録紙を異なる種類のものに交換する都度、設定操作を行わなければならず、操作性が悪い。また、記録紙の種類を記憶するためのメモリの書換回数には寿命があるため、頻繁に記録紙の種類が変更されると、メモリが劣化してしまうという問題も生じ得る。
【0005】
これに対して、例えば特開平11−309912号公報には、プリンタ用の連続記録紙に、印刷開始基準位置を表す位置決めマークと、記録紙種類を表す登録マークの2種類のマークを設けた構成が開示されている。かかる構成によれば、プリンタに設けられたセンサが位置決めマークと共に登録マークを検出することにより、プリンタは記録紙の種類を自動的に取得することができる。したがって、ユーザが記録紙の種類を設定することが不要となる。また、プリンタに記録紙の種類を記憶することも不要となるのでメモリ劣化の問題も解消する。
【0006】
【発明が解決しようとする課題】
しかしながら、上記公報に開示された構成では、記録紙の搬送方向前方側に位置決めマークが、後方側に登録マークが、夫々配置されている。すなわち、位置決めマークと登録マークの位置関係が固定されているため、記録紙の搬送方向が反転した場合には、各マークの検出順序も逆になる。したがって、記録紙を正逆両方向に搬送しながら頭出しを行おうとした場合には、記録紙の種類を正確に判別できないという問題がある。
【0007】
本発明は上記の点に鑑みてなされたものであり、認識マークに基づいて記録紙の種類を正確に判別し、その判別結果に応じて記録紙の頭出しを行えるようにすることを目的とする。
【0008】
【課題を解決するための手段】
上記の目的を達成するため、本発明は、プリンタ用の記録紙に設けられた認識マークに基づいて、当該記録紙の所定の印刷領域に印刷を行えるように当該記録紙を位置決めする方法であって、
前記認識マークが前記記録紙の搬送経路における所定の位置に達したことを検出するマーク検出ステップと、
前記認識マークの寸法を検出する寸法検出ステップと、
該検出した寸法に基づいて、前記記録紙の種類を判別する用紙判別ステップと、
該判別した記録紙の種類に基づいて、前記認識マークの位置と前記所定の印刷領域との位置関係を表す位置決め情報を取得する情報取得ステップと、
前記マーク検出ステップで前記認識マークが検出された位置から、前記取得した位置決め情報に応じた距離だけ、前記記録紙を搬送するステップとを備えることを特徴とする。
【0009】
本発明によれば、認識マークの寸法に基づいて記録紙の種類を判別し、認識マークが検出された位置から、記録紙の種類に応じた距離だけ搬送する。このため、記録紙の種類にかかわらず、記録紙の所定の印刷領域に印刷を行えるように記録紙の位置決めすること、すなわち、頭出しを行うことができる。そして、認識マークの寸法は、記録紙を正逆何れの方向に搬送しても同様に検出できる。したがって、本発明によれば、記録紙の搬送方向にかかわらず上記の頭出しを正しく行うことができる。
【0010】
また、本発明において、前記寸法検出ステップは、前記記録紙を搬送しながら、前記認識マークを横切る位置での前記記録紙の濃淡に応じた信号を取得する信号取得ステップと、該取得した信号をスレッシヨルド値と比較することにより前記認識マークのエッジ位置を検知し、該検知したエッジ位置から前記認識マークの寸法を求める寸法決定ステップとを含むこととしてもよい。
【0011】
この場合、前記認識マークは、前記記録紙の種類に応じた寸法を有する情報マーク部と、前記記録紙の種類にかかわらず一定の基準寸法を有する基準マーク部とを含んでおり、前記寸法検出ステップは、
前記信号取得ステップで取得された前記基準マーク部についての信号を前記スレッシヨルド値と比較することにより検出した前記基準マーク部の寸法が前記基準寸法に一致するように、前記スレッシヨルド値を決定するステップと、
前記情報マーク部についての前記信号と前記決定したスレッシヨルド値との比較に基づいて前記情報マーク部の寸法を検出するステップとを含むこととしてもよい。
【0012】
あるいは、前記認識マークは、前記記録紙の種類に応じた寸法を有する少なくとも2つの情報マーク部と、該情報マーク部の間に形成され、前記記録紙の種類にかかわらず一定の基準寸法を有するスペース部を含み、前記寸法検出ステップは、
前記信号取得ステップで取得された前記スペース部についての信号を前記スレッシヨルド値と比較することにより検出した前記スペース部の寸法が前記基準寸法に一致するように、前記スレッシヨルド値を決定するステップと、
前記情報マーク部についての前記信号と前記決定したスレッシヨルド値との比較に基づいて前記情報マーク部の寸法を検出するステップとを含むこととしてもよい。
【0013】
このようにすれば、一定の基準寸法を有する基準マークまたはスペース部の検出信号に基づいて、情報マークの寸法を検出するためのスレッシヨルド値を決めるので、検出信号のレベルに変動がある場合にも、情報マークの寸法検出を正確に行うことができる。
【0014】
また、本発明において、前記認識マークは、前記記録紙の種類に応じた寸法を有する情報マークが、前記記録紙の搬送方向に繰り返し配置されて構成されており、
前記用紙判別ステップで判別された記録紙の種類に基づいて、当該記録紙が、記録紙をプリンタ内へ戻す向きである逆方向への搬送が禁止された用紙であるか否かを判別し、禁止された用紙であると判別された場合は、当該記録紙の前記逆方向への搬送を禁止することとしてもよい。
【0015】
このようにすれば、情報マークが記録紙の搬送方向に繰り返し配置されることで、記録紙を僅かな距離だけ搬送すれば、情報マークの寸法を検出して記録紙の種類を判別できる。このため、使用中の記録紙が、逆方向へ搬送した際にラベルの剥れや紙詰まり等のトラブルが置き易いものである場合に、そのことを早期に判別して逆方向への搬送を禁止することで、上記のようなトラブルの発生を未然に防止することができる。
【0016】
また、本発明は、プリンタ用の記録紙であって、当該記録紙の所定の印刷領域に印刷を行えるように当該記録紙を位置決めするための認識マークが予め印刷されており、当該認識マークは当該記録紙の種類に応じた寸法を有することを特徴とする。
【0017】
この場合、前記認識マークは、当該記録紙の種類に応じた寸法を有する情報マーク部と、記録紙の種類にかかわらず一定の基準寸法を有する基準マーク部とからなることとしてもよい。また、前記認識マークは当該記録紙の種類に応じた寸法を有する少なくとも2つの情報マーク部と、該情報マーク部の間に形成され、記録紙の種類にかかわらず一定の基準寸法を有するスペース部とからなることとしてもよい。また、前記認識マークは、前記記録紙の搬送方向に繰り返し配置された、前記記録紙の種類に応じた寸法を有する情報マーク部を含むこととしてもよい。
【0018】
また、本発明は、プリンタ用の記録紙であって、当該記録紙の所定の印刷領域に印刷を行えるように当該記録紙を位置決めするための認識マークが予め印刷されており、当該認識マークは、前記記録紙の種類を判別するための情報マーク部と位置決め用の位置決めマーク部とを含むと共に、当該記録紙の送り方向において対称なパターンに構成されていることを特徴とする。
【0019】
本発明によれば、認識マークが記録紙の搬送方向において対称なパターンに構成されるので、記録紙を正逆何れの方向に搬送しても、同じ検出信号を得ることができる。したがって、本発明の記録紙によれば、記録紙の搬送方向にかかわらず、情報マーク部に基づく記録紙の種類の判別と、位置決めマーク部に基づく記録紙の位置決めとを正しく行うことができる。
【0020】
また、本発明のプリンタ用の記録紙において、前記認識マークのマーク部分は、所定波長の光に対する反射率が小さい第1の色で印刷されており、前記認識マークのスペース部分は、前記所定の波長に対する反射率が大きい第2の色で印刷されていることとしてもよい。このようにすれば、マーク部分とスペース部分の反射率の差を大きくして、認識マークの検出をより確実に行うことができる。
【0021】
この場合、前記第2の色は、メタリックインクまたは白色顔料で印刷されていることとしてもよい。
【0022】
また、本発明は、記録紙に設けられたマークを検出するためのセンサと、プリンタ用紙を搬送する搬送部とを備えるプリンタであって、
前記センサによる検出信号に基づいて、前記認識マークが前記記録紙の搬送経路における所定の位置に達したことを検出するマーク検出手段と、
前記検出信号に基づいて前記認識マークの寸法を検出する寸法検出手段と、
該検出した寸法に基づいて、前記記録紙の種類を判別する用紙判別手段と、
該判別した記録紙の種類に基づいて、前記認識マークの位置と、前記記録紙の所定の印刷領域との位置関係を表す位置決め情報を取得する情報取得手段と、
前記マーク検出手段で前記認識マークが検出された位置から、前記取得した位置決め情報に応じた距離だけ、前記搬送部により前記記録紙を搬送する位置決め手段とを備えることを特徴とする。
【0023】
【発明の実施の形態】
以下、図面を参照して、本発明の実施形態について説明する。
図1は、本発明の一実施形態であるプリンタ10の印字部およびその周辺部を示す斜視図であり、また、図2はプリンタ10の印字部およびその周辺部を示す断面図である。本実施形態では、一例として、プリンタ10が感熱式プリンタであるものとして説明するが、本発明は感熱式プリンタに限らずインクジェット方式のプリンタへ適用することも可能である。
【0024】
図1および図2に示すように、本実施形態のプリンタ10は、印刷ヘッド20、プラテンローラ22、センサ23(図1には不図示)、および、カッター装置24を備えている。記録紙26は、記録紙ロール28から上方へ引き出されて印刷ヘッド20とプラテンローラ22との間を通り、さらに、カッター装置24の刃32,34の間を通って、排出口36へ至っている。
【0025】
なお、本実施形態では、カッター装置24により記録紙26を自動的に切断できる構成としているが、これに限らず、操作者が手操作で記録紙26を切断する構成であってもよい。
【0026】
プラテンローラ22はバネ機構等の付勢手段(図示せず)により付勢されることにより、記録紙26を印刷ヘッド20のヘッド面へ押し付けている。印刷ヘッド20は各印字画素に対応した発熱素子を備えており、これら発熱素子が発熱させられることにより記録紙26への印字が行なわれる。
【0027】
プラテンローラ22の回転軸は駆動機構(図示せず)に連結されており、この駆動機構によりプラテンローラ22を両方向に回転駆動することができる。プラテンローラ22が回転駆動されると、記録紙26はプラテンローラ22との間の摩擦により、プラテンローラ22の回転方向に応じて、紙ロール28から引き出されて上向き(つまりカッター装置24へ向かう向き)またはこれとは逆向きに搬送される。以下、記録紙26が印字部からカッター装置24へ向けて送られる向きおよびその際のプラテンローラ22の回転方向を正方向といい、これとは逆の向きを逆方向という。
【0028】
センサ23は、発光部23aと受光部23bとを備える例えば反射型のセンサである。すなわち、発光部23aは記録紙26に向けて光を照射し、記録紙26からの反射光を受光部23bで受光して、その光の強度に応じた信号を出力する。後述するように、センサ23の出力信号に基づいて、記録紙26に予め印刷された認識マークの検出が行われる。なお、センサ23は反射型センサに限らず、発光部23aと受光部23bとが記録紙26を隔てて反対側に設けられ、記録紙26の透過光の強度に応じた信号を出力する透過型センサの構成としてもよい。
【0029】
記録紙26への印刷は、印刷ヘッド20により1行分を印字し、1行分に相当する距離だけ記録紙26を正方向に送るという動作を繰り返すことにより行われる。そして、印刷完了後、記録紙26の所定の切断位置がカッター装置24の刃の位置に達するまで正方向に搬送された後、印刷済みの記録紙26が切断される。
【0030】
図3は、プリンタ10の内部構成を示すブロック図である。同図に示すように、プリンタ10は、中央制御装置(CPU)50を備えている。CPU50は、インターフェース52を介してプリンタ外部のホストコンピュータに接続されている。プリンタ10は、また、プログラム記憶部54、用紙情報記憶部56、印字制御部58、カッター制御部60、搬送制御部62、マーク検出部64、用紙セット検出部66、紙送りスイッチ部68等を備えており、これらはCPU50に接続されている。
【0031】
印字制御部58は上記した印刷ヘッド20を制御するものであり、CPU50からの指示に応じて印刷ヘッド20により記録紙26へ印刷を行なわせる。また、カッター制御部60は、上記したカッター装置24を制御するものであり、CPU50からの指示に応じてカッター装置24により記録紙26を切断させる。
【0032】
搬送制御部62は、上記したプラテンローラ22の駆動機構を制御するものであり、CPU50からの指示に応じて、プラテンローラ22を正方向または逆方向に回転駆動することにより、記録紙26を正方向または逆方向に搬送させる。また、紙送りスイッチ部68はプリンタ10の操作パネルに設けられており、このスイッチが操作されると、CPU50は搬送制御部62によりプラテンローラ22を正方向または逆方向に回転駆動させる。このように、プラテンローラ22により記録紙26を正方向および逆方向の両方向に搬送することができる。
【0033】
マーク検出部64は、上記したセンサ23と、このセンサ23の出力信号(以下、センサ検出信号という)をAD変換してCPU50に供給するAD変換部とにより構成されている。CPU50は、マーク検出部64から供給されたセンサ検出信号に基づいて、位置決めマークの検出処理を行う。また、用紙セット検出部66は、記録紙26が交換されて新たにセットされたことを検出し、その検出結果をCPU50へ通知する。
【0034】
プログラム記憶部54には、制御プログラムが記憶されており、CPU12はこの制御プログラムを実行することにより、上記各部58〜66を制御する。また、用紙情報記憶部56には、プリンタ10において記録紙26として用いられ得る各種用紙に関する情報を格納した用紙情報テーブルが記憶されている。この用紙情報テーブルの内容については後述する。これら記憶部54,56はROM70内に設けられている。
【0035】
ところで、記録紙26として、所定フォーマットの罫線等が予め印刷された各種帳票印刷用の記録紙や、ラベル印刷用の記録紙等のように、記録紙26の所定の印刷領域内に印刷を行わなければならないものがある。図4は、帳票印刷用の記録紙の一例を、また、図5はラベル印刷用の記録紙の一例を示す。なお、図4および図5には、プリンタ10にセットされカッター装置24で切断された直後の記録紙26を平面的に展開した状態での、印刷ヘッド20、センサ23、および、カッター装置24の位置を併せて示している。各図に破線で示すように、記録紙26の表面(プリンタによる印刷面)には、所定の書式で印刷を行うための罫線枠100が予め印刷され(図4)、または、ラベル102が貼付されている(図5)。また、記録紙26の裏面には、長方形状の黒い認識マーク104が予め印刷されている。
【0036】
このような記録紙26の罫線枠100やラベル102の内側に正しく印刷を行うためには、印刷開始前に、各図に示す印刷開始位置Sが印刷ヘッド20の位置に来るように、記録紙26を頭出しすることが必要である。かかる頭出し処理は、例えば、1回の印刷処理が終了して記録紙26が切断された場合や、記録紙26が交換されて新たにセットされた場合に、記録紙26を逆方向に戻す際に必要となる。すなわち、記録紙26の切断時や、セット時には、記録紙26の次の印刷開始位置Sが印刷ヘッド位置よりも正方向に送られた位置にある。このため、記録紙26を無駄なく使用するためには、記録紙26を逆方向に搬送しながら、印刷開始位置Sが印刷ヘッド位置に達したこと検知して頭出ししなければならないのである。また、複数枚の帳票やラベルに連続して印刷する場合は、1枚の帳票またはラベルを印刷した後、次の印刷位置まで正方向に紙送りしながら頭出しすることが必要である。さらに、ユーザによるマニュアル操作により、記録紙26を正方向または逆方向に搬送しながら、頭出しを行う場合もある。このように、記録紙26を逆方向および正方向の何れの向きに搬送した場合にも記録紙26の頭出しを正しく行えなければならない。
【0037】
本実施形態のプリンタ10は、記録紙26に予め印刷された認識マーク104を検出し、その検出結果に基づいて、記録紙26の頭出しを正しく行なう機能を有している。
【0038】
先ず、認識マーク104の検出処理について説明する。図6は、例えば上記図4に示す記録紙26を搬送しながら採取されたセンサ検出信号の波形の一例を示す。なお、本実施形態では、認識マーク104がセンサ23により検出される場合(つまり、センサ23が検出する反射光が弱くなった場合)に、信号レベルが上がるものとしている。また、記録紙26の種類によっては、記録紙26の幅方向での認識マーク104の位置が大きく異なることがあり、そのような場合にも確実に認識マーク104を検出できるようにするため、センサ23を記録紙26の幅方向に複数設けることとしてもよい。
【0039】
記録紙26を例えば逆方向に搬送した場合、先ず、認識マーク104の後方側のエッジ104Aがセンサ23の正面に差し掛かると、図6のA部に示すように、センサ検出信号が立ち上がる。その後、認識マーク104の前方側エッジ104Bがセンサ23の正面を通過すると、同図のB部に示すように、センサ検出信号は立ち下がることとなる。したがって、適宜なスレッシヨルドレベルTHを用いて、センサ検出信号が所定のスレッシヨルドレベルTHを上向きに横切った場合に、認識マーク104の一方のエッジ(逆方向送りの場合は、後方側エッジ104A,正方向送りの場合は前方側エッジ104B)がセンサ23の正面を通過したと判断でき、また、センサ検出信号がスレッシヨルドレベルTHを下向きに横切った場合に、認識マーク104の他方のエッジがセンサ23の正面を通過したと判断できる。そして、これら両エッジの検出位置間の搬送距離を、認識マーク104の長さ(以下、マーク寸法Lと表す)として求めることができる。なお、本明細書において、記録紙26に印刷されたマークの長さとは、記録紙26の送り方向の長さを意味するものとする。
【0040】
次に、認識マーク104の検出結果に基づく記録紙26の頭出し処理について説明する。
【0041】
図7は、記録紙26の頭出し処理を説明するための図である。同図に示すように、認識マーク104の前方側エッジ104Bと印刷開始位置Sとの間の距離(以下、基準距離という)をp、センサ23と印刷ヘッド20との距離をd、印刷開始位置S間の距離(つまり、図4,図5に示す記録紙26の用紙1枚当り長さ;以下、用紙長さという)をqとする。このうち、p,qは用紙の種類に応じて定まる値であり、dはプリンタ10の機種に応じて定まる値である。この場合、図7に示すように認識マーク104の前方側エッジ104Bがセンサ23の正面に位置する状態から、印刷開始位置Sが印刷ヘッド20の位置に達するまでの記録紙26の逆方向の搬送量X1は、X1=q+p−dとなる。したがって、認識マーク104の先頭側エッジ104Bが検出された位置から、距離X1だけ逆方向に搬送することで、記録紙26の頭出しを行なうことができる。記録紙26を正方向に搬送しながら頭出しする場合も同様に、認識マーク104の前方側エッジ104Bがセンサ23により検出された位置から、X2=d−pだけ正方向に搬送することで、記録紙26の頭出しを行なうことができる。
【0042】
上記した基準距離pおよび用紙長さqは、記録紙26の種類によって異なる。したがって、上記のような認識マーク104に基づく頭出しを正しく行うには、記録紙26の種類を判別して、その種類に応じた基準距離pおよび用紙長さqの値を用いることが必要である。また、記録紙26の種類によって、印刷領域の幅や長さも異なり、さらに、感熱式プリンタでは、用紙種類によって、用紙に与えるべき熱エネルギー量(つまり、印刷ヘッドへの通電量)も異なるし、また、インクジェット式プリンタの場合も、普通紙やインクジェット専用紙などの用紙種類に応じた印刷処理を行う必要がある。したがって、記録紙26を正しく頭出しし、かつ、記録紙26への印刷を適切に行うためには、プリンタ10が記録紙の種類を判別できることが必要である。
【0043】
そこで、本実施形態では、図8に示すように、認識マーク104の長さ(つまりマーク寸法L)を、記録紙26の種類に応じた値となるように設定しておく。そして、上記図6を参照して説明した方法でマーク寸法Lを検出し、その検出値に基づき、用紙情報記憶部56に記憶された用紙情報テーブルを参照して、当該記録紙26についての用紙情報を取得する。
【0044】
図9は、用紙情報テーブルの内容の一例を示す。同図に示すように、用紙情報テーブルには、用紙の種類毎にマーク寸法L、基準距離p、用紙長さq、印刷長さ、印刷幅、用紙特性、用紙厚み等の用紙情報が格納されている。かかる用紙情報テーブルを参照して、検出したマーク寸法Lから基準距離p、用紙長さq、その他印刷に必要なパラメータを取得できる。そして、基準距離pおよび用紙長さqに基づいて記録紙26の頭出し処理を行なう。
【0045】
なお、上記の用紙情報のうち、印刷長さは、罫線枠100やラベル102の搬送方向の長さであり、罫線枠100内またはラベル102内の最終行まで印刷を完了して次の罫線枠100またはラベル102へ移動すべきタイミングを検知するために用いられる。印刷幅は、罫線枠100やラベル102の幅であり、改行タイミングを検知するために用いられる。また、用紙特性は、記録紙26が感熱紙である場合のエネルギー感度特性や加色/減色特性(熱エネルギー量が大きいほど濃い色となるか薄い色となるかの特性)を示すものであり、印刷ヘッド20への通電量を制御するために用いられる。さらに、用紙厚みは記録紙26の厚みを示すものであり、搬送時のバックラッシュ補償をする場合の制御に用いられる。なお、プリンタ10がインクジェット式プリンタである場合は、用紙特性として、普通紙、インクジェット専用紙といった用紙種別を示す情報が記憶されることになる。
【0046】
図10は、本実施形態において、記録紙26の頭出しを行なうべくCPU50が実行する処理の流れを表すフローチャートである。なお、本実施形態および以下に述べる各実施形態において、頭出しを行う際の記録紙26の搬送方向は予め設定されているものとする。
【0047】
先ず、ステップ150において、センサ23により認識マーク104が検出されているか否か、すなわち、センサ検出信号のレベルが所定レベル以上であるか否かが判別される。その結果、認識マーク104が検出されている場合には、センサ23の正面に認識マーク104が位置しているために、認識マーク104のエッジ104A,104Bを正しく検出できないことになる。そこで、この場合には、ステップ152において、認識マーク104がセンサ23で検出されなくなるまで記録紙26を搬送する処理が行われて、ステップ154へ進む。一方、ステップ150で、認識マーク104が検出されない場合は、直ちにステップ154へ進む。
【0048】
ステップ154では、設定された頭出し方向への記録紙26の搬送が開始される。ステップ156では、認識マーク104の何れかのエッジ104Aまたは104Bが検出されたかどうか(つまり、センサ検出信号が立ち上がってスレッシヨルド値THを超えたかどうか)が判別され、エッジが検出された場合は、ステップ158において、その検出時点の記録紙26の搬送位置Y1が取得される。そして、ステップ160では、認識マーク104の他方のエッジが検出されたかどうか(つまり、センサ検出信号が立ち下がってスレッシヨルド値THを下回ったかどうか)が判別され、検出された場合は、ステップ162においてその検出時点の搬送位置Y2が取得される。
【0049】
次に、ステップ164において、マーク寸法LがL=|Y1−Y2|により計算される。ステップ166では、記録紙26の搬送方向が正方向であれば、先にエッジが検出された搬送位置Y1が前方側エッジ104Bの検出位置Rとして設定され、搬送方向が逆方向であればエッジが後から検出された搬送位置Y2が前方側エッジ104Bの検出位置Rとして設定される。
【0050】
ステップ168では、マーク寸法Lに基づいて、用紙情報記憶部54に格納された用紙情報テーブルを参照して、記録紙26の各用紙情報(つまり、基準距離p、用紙長さq、印刷長さ、印刷幅、用紙特性、用紙厚み)が取得される。このうち、上記したように、印刷長さ、印刷幅、感度特性、および、用紙厚みは、印字制御部58で印刷を行う際の制御パラメータとして用いられる。
【0051】
ステップ170では、記録紙26の搬送方向に応じて、上記の搬送量X1=q+p−d(逆方向の場合)またはX2=d−p(正方向の場合)が計算される。そして、ステップ172において、前方側エッジ104Bの検出位置RからX1またはX2だけ記録紙26が搬送されることで、頭出し処理が終了する。
【0052】
以上説明したように、本実施形態では、認識マーク104の長さLに基づいて記録紙の種類を判別し、その種類に応じた認識マーク104と印刷開始位置Sとの位置関係(上記の例では、基準距離pおよび用紙長さq)を取得したうえで、頭出し処理を行う。このため、プリンタ10側でユーザが記録紙の種類を設定しなくても、記録紙26の種類に応じた適切な頭出し処理を行うことができる。したがって、本実施形態によれば、ユーザが別の種類の記録紙26に交換するたびに用紙設定を行うという煩雑な操作が不要となって操作性が向上すると共に、設定された記録紙26の種類を記憶する書換可能なメモリを設けることが不要となってメモリの寿命による記憶性能の低下という問題も生じない。
【0053】
また、本実施形態では、単一の認識マーク104のマーク寸法Lで用紙種別を判別するので、正方向および逆方向の何れの方向に記録紙26を搬送しても、用紙種別を正しく判別することができる。すなわち、上記従来技術の如く、位置決め用のマークと用紙種類判別用のマークとを別個に設ける場合のように、記録紙26の搬送方向によって各マーク検出順序が異なるという問題は生じない。また、単一の認識マーク104で位置決めおよび用紙種類の判別を行うので、マークに必要なスペースも削減され、小型記録紙への対応も可能となる。
【0054】
なお、上記実施形態では、認識マーク104の前方側エッジ104Bの検出位置を基準として頭出しを行うものとしたが、これに限らず、認識マーク104の後方側エッジ104Aや認識マーク104の搬送方向中央点等を基準としてもよい。その場合には、用紙情報テーブルには基準距離pとして、認識マーク104の後方側エッジ104Aまたは中央点から印刷開始位置Sまでの距離を記憶しておけばよい。
【0055】
次に、本発明の第2実施形態について説明する。図11は、本実施形態で用いられる記録紙26に印刷された認識マーク204の例を示す。同図に示すように、本実施形態では、認識マーク204は、用紙種類に応じた長さ(本実施形態において、この長さをマーク寸法Lという)を有する情報マーク部210と、この情報マーク部210の前後両側に設けられ、記録紙26の種類にかかわらず一定の長さ(本実施形態において、この長さを基準寸法Mという)を有する基準マーク部212とにより構成される。情報マーク部210と基準マーク部212とは、所定長さのスペースを隔てて設けられている。
【0056】
認識マーク204を検出する場合、先ず、基準マーク部212についてのセンサ検出信号に基づいて、マークのエッジを検出する際のスレッシヨルドTHの値を決定する。すなわち、例えば、基準マーク部212についてのセンサ検出信号が例えば図12に示すように得られたとすると、この信号から求められるエッジ間の距離が基準寸法Mとなるように、スレッシヨルドTHの値を決定するのである。こうして決定したスレッシヨルドTHを用いて、情報マーク部210についてのセンサ検出信号から、そのマーク寸法Lを検出する。
【0057】
図13は、本実施形態において、記録紙26の頭出しを行なうべくCPU50が実行する処理の流れを表すフローチャートである。なお、図13において、上記図10と同様の処理を行うステップには同一の符号を付して説明を省略する。先ず、ステップ250において、認識マーク204がセンサ23の正面に位置するか否かが判別される。本実施形態では、認識マーク204に情報マーク部210と基準マーク部212との間のスペース部分が含まれているので、このスペース部分がセンサ23の正面に位置する場合には、センサ検出信号は低いレベルとなる。したがって、上記第1実施形態の場合のように、センサ検出信号のレベルの高低だけで認識マーク204がセンサ23の正面に位置するかどうかを判断することはできない。そこで、ステップ250では、このスペースの長さ分だけ記録紙26を搬送するまでにセンサ検出信号が所定レベル以上となった場合に、認識マーク204がセンサ23の正面に位置していると判断するものとする。
【0058】
ステップ250において、認識マーク204がセンサ23の正面に位置すると判別された場合は、ステップ252において、認識マーク204がセンサ23で検出されなくなるまで、記録紙26が搬送されて、ステップ254へ進む。一方、ステップ250において、認識マーク204がセンサ23の正面に位置しない場合は、直ちにステップ254へ進む。
【0059】
ステップ254では、設定された頭出し方向への記録紙26の搬送が開始される。そして、ステップ256では、センサ検出信号の立ち上がりと立ち下りが検出されたかどうか判別される。基準マーク部212は認識マーク204の両側に設けられているから、センサ検出信号に最初に現れる立ち上がりおよび立ち下がりは、基準マーク部212の両エッジに対応する。そこで、ステップ258において、この信号の立ち上がりおよび立ち下がりから、上記図12を参照して述べたように、これらエッジ間の距離が基準寸法MとなるようにスレッシヨルドTHを決定する。そして、以後、上記図10のステップ156以降と同様にして、頭出し処理を行なうが、その際、ステップ156,160におけるエッジ検出処理では、ステップ258で決定したスレッシヨルドTHを用いる。
【0060】
以上のように、本実施形態では、基準マーク部212について得られたセンサ検出信号に基づいてスレッシヨルドTHの値を決定することにより、例えば、センサ23の発光部の光強度や受光部の感度が変動し、あるいは、用紙の種類によって認識マーク104の濃さが異なること等に起因してセンサ検出信号のレベルが変化した場合にも、適切なスレッシヨルドTHの値を用いて、マーク寸法Lを正確に検出することができる。このため、マーク寸法Lを例えば1mm刻みのように細かく設定することもでき、一定寸法内のマークでより多種類の記録紙を識別することが可能となる。
【0061】
また、基準マーク部212が情報マーク部210の前後両側に設けられるので、記録紙26を正逆何れの方向に搬送する場合にも、情報マーク部210より先に何れかの基準マーク部212が検出されることとなる。このため、記録紙26の搬送方向にかかわらず、スレッシヨルドTHの決定およびそれに基づくマーク寸法Lの判別を正しく行うことができる。
【0062】
ただし、基準マーク部212が情報マーク部210の片側にのみ配置された構成であっても、最初に検出されたマークの幅が基準寸法Mに近似した値であればそのマークは基準マーク部212であると判断し、そうでなければ、そのマークは情報マーク部210であると判断することによって、基準マーク部212と情報マーク部210とを区別することは可能である。
【0063】
次に、本発明の第3の実施形態について説明する。図14は、本実施形態で用いられる記録紙26に印刷された認識マーク304の例を示す。同図に示すように、本実施形態では、認識マーク304は、記録紙26の種類に応じた長さ(本実施形態では、この長さをマーク寸法Lという)を有する2つの情報マーク部306により構成され、両情報マーク部306の間には、記録紙26の種類に係わらず一定の長さを有するスペース部308が形成されている。本実施形態においては、スペース部308の長さを、スレッシヨルドTHを決定するための基準として用いるので、この長さを基準寸法Mという。
【0064】
認識マーク304を検出する場合、先ず、スペース部308についてのセンサ検出信号に基づいて、情報マーク部306のエッジを検出する際のスレッシヨルドTHの値を決定する。すなわち、スペース部308についてのセンサ検出信号が例えば図15に示すように得られたとすると、この信号から求められるエッジ間の距離が基準長さMとなるように、THの値を決定する。こうして決定したスレッシヨルドTHを用いて、情報マーク部306についてのセンサ検出信号から、そのマーク寸法Lを検出する。
【0065】
図16は、本実施形態において、記録紙26の頭出しを行なうべくCPU50が実行する処理の流れを表すフローチャートである。なお、図16において、上記図10と同様の処理を行うステップには同一の符号を付して説明を省略する。先ず、ステップ350において、認識マーク304がセンサ23の正面に位置するか否かが判別される。本実施形態でも、上記第2実施形態と同様に、認識マーク304にスペース部308が含まれているので、ステップ350では、このスペース部308の長さMだけ記録紙26を搬送するまでにセンサ検出信号が所定レベル以上となった場合に、認識マーク304がセンサ23の正面に位置していると判断する。ステップ350において、認識マーク304がセンサ23の正面に位置すると判別された場合、ステップ352において、認識マーク304がセンサ23で検出されなくなるまで記録紙26が搬送されて、ステップ354へ進む。一方、ステップ250において、認識マーク304がセンサ23の正面に位置しない場合は、直ちにステップ354へ進む。
【0066】
ステップ354では、設定された頭出し方向への記録紙26の搬送が開始される。そして、ステップ356において、センサ検出信号の立ち上がりおよび立ち下りが検出され、さらに、再び立ち上がりが検出されたかどうか判別される。センサ検出信号の最初の立ち上がりおよび立ち下がりは、情報マーク部306の両エッジに対応している。また、センサ検出信号の立下りと2回目の立ち上がりは、スペース部308の両エッジに対応している。そこで、ステップ358において、センサ検出信号の立下りと2回目の立ち上がりから、上記図15を参照して述べたように、これらに対応するエッジ間の距離が基準寸法MとなるようにスレッシヨルドTHの値が決定される。そして、ステップ360では、このスレッシヨルドTHを用いて、上記ステップ356で検出された最初の立ち上がりと立ち下がりの夫々の搬送位置Y1およびY2が求められる。以後、上記図10のステップ164以降と同様にして、頭出し処理が行われる。
【0067】
以上のように、本実施形態では、スペース部308について得られたセンサ検出信号に基づいてスレッシヨルドTHを決定することにより、上記第2実施形態と同様に、センサ検出信号のレベルが変化した場合にも、適切なスレッシヨルドTHを用いて、マーク寸法Lを正確に検出することが可能となっている。
【0068】
また、記録紙26を正逆何れの方向に搬送した場合にも、先ず情報マーク部306が検出されるので、搬送方向にかかわらず、スレッシヨルドTHの決定およびそれに基づくマーク寸法Lの判別を正しく行うことができる。
【0069】
次に、本発明の第4実施形態について説明する。図17は、本実施形態で用いられる記録紙26に印刷された認識マーク404の例を示す。同図に示すように、認識マーク404は、記録紙26の種類を判別するための情報マーク部406と、記録紙26の位置決め用の位置決めマーク部408とにより構成されている。情報マーク部406は、記録紙26の送り方向において互いに対称に設けられた同一パターンのバーコード406a,406bにより構成されており、各バーコード406a,406bに記録紙26の用紙識別情報がエンコードされている。ただし、上記第1〜第3の実施形態の情報識別マークのように、情報マーク62を用紙種類に応じた長さを有する単一のマークとしてもよい。また、位置決めマーク部408は、情報マーク部406の前後両側に対称に設けられている。
【0070】
本実施形態では、情報マーク部406の両側に位置決めマーク部408が設けられるので、記録紙26を正方向および逆方向の何れに送った場合にも、先ず、位置決めマーク部406が検出され、次に、情報マーク部408が検出される。すなわち、両マークが検出される順番が送り方向にかかわらず一定である。そして、情報マーク部406は互いに対象な2つのバーコード406a,406bから構成されているので、送り方向にかかわらず、情報マーク部406から同じ情報が得られる。したがって、本実施形態では、記録紙26の送り方向にかかわらず、位置決めマーク部408および情報マーク部406を確実に認識することができる。
【0071】
なお、上記図17では、同じパターンの2つのバーコード406a,406bを互いに対称に設けることとしたが、バーコード自体を対称な構成としておけば、2つのバーコードを設ける必要はなく、1つのバーコードで足りるので、バーコードに必要なスペースを削減できる。
【0072】
次に、本発明の第5実施形態について説明する。図18は、本実施形態で用いられる記録紙26に印刷された認識マーク504の例を示す。同図に示すように、認識マーク504は、一定のピッチで繰り返して設けられた複数の情報マーク部506を含んでいる。ただし、位置決めマークに対応する部分(図中に矢印で示す部分)は、マークのピッチを他の部分と異ならせてあり、この部分が、位置決めマーク部508として機能する。情報マーク部506は、記録紙26の用紙種類に応じた長さ(本実施形態における基準寸法L)を有しており、この基準寸法Lを検出することにより記録紙26の種類を判別できる。そして、マークの検出ピッチの変化から位置決めマーク部508を検出して、頭出し処理を行うことができる。
【0073】
図19は、本実施形態において、記録紙26の頭出しを行うべくCPU50が実行する処理の流れを表すフローチャートである。先ず、ステップ550でマークが検出されているか否かが判別され、検出されていれば、ステップ552でマークが検出されなくなるまで記録紙26が搬送される。そして、ステップ554で、記録紙26の正方向への搬送が開始され、ステップ556でマークが検出されると、ステップ558で、そのマークの長さ、すなわち、基準寸法Lが検出される。ステップ560では、検出された基準寸法Lに基づいて、記録紙26の種類が判別され、ステップ562において当該記録紙26が逆方向への搬送を禁止された用紙であるか否かが判別される。かかる判別は、例えば、上記図9に示す用紙情報テーブルに、逆方向への搬送を禁止すべきかどうかの情報を設定しておいて、この用紙情報テーブルを参照することにより行うことができる。ステップ252における判別の結果、逆方向への搬送が禁止されていれば、ステップ564において、正方向への搬送を行いながら、位置決めマーク部508の検出に基づく頭出しが行われる。一方、ステップ562にて逆方向への搬送は禁止されていないと判別されれば、ステップ566において、位置決めマーク部508が検出されるまで、設定された頭出し方向への搬送を行いながら、位置決めマーク部508の検出に基づく頭出しが行われる。なお、ステップ562で逆方向への搬送が禁止されていると判別された場合は、頭出しに限らず、以後、全ての場面において逆方向への搬送を禁止することが好ましい。
【0074】
以上説明したように、本実施形態では、情報マーク部506が繰り返し印刷されているので、記録紙26を僅かな距離(最大限、情報マーク部506の長さと、情報マーク部506間のピッチとの和に相当する距離)だけ搬送すれば、情報マーク部506の長さを検出して記録紙26の種類を判別できる。したがって、例えば、ラベル用紙や比較的薄手の用紙では、特に、感熱式プリンタの場合には用紙が印刷ヘッド20に押し付けられるために、一定量を超えて逆方向に搬送するとラベルが剥れたり、紙詰まりが生じたりするおそれがあるが、そのような場合に、逆方向に搬送すべきでないことを早期に判別できる。そして、そのような用紙については逆方向へ搬送しながらの頭出しを行わないようにすることで、ラベルの剥れや紙詰まり等のトラブルを未然に防止することができる。
【0075】
また、認識マーク部506および位置決めマーク部508が繰り返し配置されていることで、記録紙26を正逆何れの方向に搬送した場合にも、基準寸法Lを検出して記録紙26の種類を判別し、頭出しを正しく行うことができる。
【0076】
次に本発明の第6実施形態について説明する。図20は、本実施形態で用いられる記録紙26に印刷された認識マーク604の例を示す。同図に示すように、本実施形態では、認識マーク604は、一定の間隔で繰り返し設けられた複数の情報マーク部606と、記録紙26の位置決めを行うための位置決めマーク部608とにより構成されている。情報マーク部606は、記録紙26の用紙種類に応じた長さを有する情報部606aと、用紙種類にかかわらず一定の長さを有する基準部606bとにより構成されている。一方、位置決めマーク部608は、情報マーク部606と同じ長さの単一の長方形のマークとして構成されている。すなわち、位置決めマーク部608は情報マーク部606のスペース部分を埋めた構成を有している。
【0077】
本実施形態でも、上記第5実施形態と同様に、情報マーク部606が繰り返し設けられていることで、記録紙26を僅かな距離だけ搬送すれば、用紙種類を判別できる。このため、逆方向に搬送するとラベルの剥れや紙詰まりの起き易い用紙を早期に判別して、そのようなトラブルの発生を未然に防止することができる。
【0078】
また、情報マーク部606に含まれる基準部606bの検出信号に基づいて、上記第2実施形態と同様にしてスレッシヨルドTHを決定することで、マーク寸法Lの検出を高精度に行うことができる。
【0079】
ところで、上記各実施形態では、各認識マークを黒色で記録紙26に直接印刷するものとした。しかしながら、記録紙26自体の反射特性のばらつき等の影響を排除して、認識マークをより確実に検出できるようにするために、次のように認識マークを印刷するようにしてもよい。すなわち、センサ23を反射型センサとして構成した場合、センサ23が備える発光部23aの光源波長(本実施形態では660nm付近)に対して、認識マークのマーク部分(濃色部分)を反射率が低い色で、認識マークおよびその周囲およびスペース部分を反射率が高い色で、夫々印刷するのである。
【0080】
図21は、紫、黒、緑の各色で印刷されたマークの光反射特性を示す。同図からわかるように、紫、黒、または緑で印刷されたマークは、光源波長である660nm付近において20%程度の低い反射率を示すことがわかる。また、図22は、金、銀、銅の3種類のメタリックインクの光反射特性を示す。同図に示すように、何れのメタリックインクも光源波長である660nm付近において、100%に近い高い反射率を示すことがわかる。このように、紫、黒、緑のマークはセンサ23の光源に対して低い反射率を示し、一方、メタリックインクは高い反射率を示す。したがって、図23に示すように、認識マーク704のマーク部分を704aを紫、黒、または緑のインクで印刷し、認識マーク704のスペース部分704bおよび認識マーク704の両側近傍部(クワイアットゾーン)704cをメタリックインクで印刷することで、マーク部分と、スペース部分または背景部分との反射率の差を大きくできる。これにより、記録紙26自体の反射特性やマークの濃度等の変動にかかわらず、認識マーク704をセンサ23で正確に検出できるようになる。
【0081】
なお、認識マーク704のスペース部分704bおよびクワイアットゾーン704cの印刷に用いるインクは、メタリックインクに限らず、例えば白色顔料のように、660nm付近で高い反射率を示すインク材料であればよい。
【0082】
【発明の効果】
本発明によれば、記録紙に予め印刷された認識マークに基づいて記録紙の種類を正確に判別し、その判別結果に応じて記録紙の頭出しを正しく行うことができる。
【図面の簡単な説明】
【図1】本発明の一実施形態であるプリンタの印字部およびその周辺部を示す斜視図である。
【図2】プリンタの印字部およびその周辺部を示す断面図である。
【図3】プリンタの内部構成を示すブロック図である。
【図4】帳票印刷用の記録紙の一例を示す図である。
【図5】ラベル印刷用の記録紙の一例を示す図である。
【図6】記録紙を搬送しながら採取されたセンサ検出信号の波形の一例を示す。
【図7】記録紙の頭出しを行うための処理を説明するための図である。
【図8】本実施形態において用いられる記録紙に印刷された認識マークの例を示す図である。
【図9】用紙情報テーブルの内容の一例を示す図である。
【図10】本実施形態において記録紙の頭出しを行なうべくCPUが実行する処理の流れを表すフローチャートである。
【図11】本発明の第2の実施形態で用いられる記録紙に印刷された認識マークの一例を示す図である。
【図12】認識マークの基準マーク部のセンサ検出信号に基づいてスレッシヨルドを決定するための処理を説明するための図である。
【図13】本実施形態において記録紙の頭出しを行なうべくCPUが実行する処理の流れを表すフローチャートである。
【図14】本発明の第3の実施形態で用いられる記録紙に印刷された認識マークの一例を示す図である。
【図15】認識マークのスペース部のセンサ検出信号に基づいてスレッシヨルドを決定するための処理を説明するための図である。
【図16】本実施形態において記録紙の頭出しを行なうべくCPUが実行する処理の流れを表すフローチャートである。
【図17】本発明の第4の実施形態で用いられる記録紙に印刷された認識マークの一例を示す図である。
【図18】本発明の第5の実施形態で用いられる記録紙に印刷された認識マークの一例を示す図である。
【図19】本発明の第6の実施形態において記録紙の頭出しを行なうべくCPUが実行する処理の流れを表すフローチャートである。
【図20】本実施形態で用いられる記録紙に印刷された認識マークの一例を示す図である。
【図21】紫、黒、緑の各色で印刷されたマークの光反射特性を示す図である。
【図22】金、銀、銅の3種類のメタリックインクの光反射特性を示す図である。
【図23】光反射特性を考慮して印刷された認識マークの構成を示す図である。
【符号の説明】
10 プリンタ
20 印刷ヘッド
23 センサ
26 記録紙
50 CPU
104,204,304,404,504,604,704 認識マーク
210,306,406,506,606 情報マーク部
212 基準マーク部
308 スペース部
408,508,608 位置決めマーク部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer recording paper positioning method for cueing the recording paper based on a recognition mark provided on the printer recording paper, a program for causing a computer to execute the method, and a recording in which the program is recorded. It relates to the medium. The present invention also relates to a recording paper for a printer on which a recognition mark for performing cueing by a printer is printed in advance. Furthermore, the present invention also relates to a printer having a function of cueing a recording sheet based on a recognition mark pre-printed on the recording sheet.
[0002]
[Prior art]
Recording paper for a printer includes a recording paper for form printing in which a ruled frame in a predetermined format is printed in advance, a recording paper for label printing, and the like. In such a recording sheet, it is possible to align the recording sheet at a predetermined position before the start of printing so that the printing position does not shift with respect to a pre-recorded ruled line frame or an attached label (indexing). is necessary. Conventionally, the cueing of such recording paper is performed by printing a cueing mark (referred to as a recognition mark in this specification) on the recording paper side in advance, and a predetermined amount after the recognition mark is detected by a sensor. This is done only by conveying the recording paper.
[0003]
By the way, there are various types of recording paper for form printing and label printing as described above, and the position of the cueing mark differs depending on the type. In other words, since the relationship between the position of the recognition mark and the printing position of the recording paper differs depending on the type of recording paper, when cueing the recording paper based on the recognition mark, the recognition mark is detected. The paper transport amount must be set to a size corresponding to the type of recording paper.
[0004]
Therefore, conventionally, when performing cueing based on the recognition mark, it is common for the user to set the type of recording paper to be used, and the printer performs cueing operation according to the set type. Met. However, in this case, the user must perform the setting operation every time the recording paper is replaced with a different type, and the operability is poor. In addition, since the number of times of rewriting the memory for storing the type of recording paper has a lifetime, there is a problem that the memory deteriorates if the type of recording paper is frequently changed.
[0005]
On the other hand, for example, Japanese Patent Application Laid-Open No. 11-309912 discloses a configuration in which two types of marks, a positioning mark indicating a printing start reference position and a registration mark indicating a recording sheet type, are provided on a continuous recording sheet for a printer. Is disclosed. According to this configuration, the sensor provided in the printer detects the registration mark together with the positioning mark, so that the printer can automatically acquire the type of recording paper. Therefore, it becomes unnecessary for the user to set the type of recording paper. In addition, since it becomes unnecessary to store the type of recording paper in the printer, the problem of memory degradation is also solved.
[0006]
[Problems to be solved by the invention]
However, in the configuration disclosed in the above publication, a positioning mark is disposed on the front side in the conveyance direction of the recording paper, and a registration mark is disposed on the rear side. That is, since the positional relationship between the positioning mark and the registration mark is fixed, the detection order of each mark is reversed when the recording paper transport direction is reversed. Therefore, there is a problem that the type of the recording paper cannot be accurately determined when attempting to cue while conveying the recording paper in both forward and reverse directions.
[0007]
The present invention has been made in view of the above points, and it is an object of the present invention to accurately determine the type of recording paper based on a recognition mark and to cue the recording paper according to the determination result. To do.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention is a method of positioning a recording paper so that printing can be performed in a predetermined printing area of the recording paper based on a recognition mark provided on the recording paper for a printer. And
A mark detection step for detecting that the recognition mark has reached a predetermined position in the conveyance path of the recording paper;
A dimension detecting step for detecting a dimension of the recognition mark;
A paper discriminating step for discriminating the type of the recording paper based on the detected size;
An information acquisition step for acquiring positioning information representing a positional relationship between the position of the recognition mark and the predetermined print area based on the determined type of recording paper;
A step of conveying the recording paper by a distance corresponding to the acquired positioning information from a position where the recognition mark is detected in the mark detection step.
[0009]
According to the present invention, the type of the recording paper is determined based on the size of the recognition mark, and the recording paper is conveyed by a distance corresponding to the type of the recording paper from the position where the recognition mark is detected. For this reason, regardless of the type of recording paper, it is possible to position the recording paper so that printing can be performed on a predetermined printing area of the recording paper, that is, to perform cueing. The size of the recognition mark can be detected in the same manner when the recording paper is conveyed in either the forward or reverse direction. Therefore, according to the present invention, the above-described cueing can be correctly performed regardless of the recording paper conveyance direction.
[0010]
In the present invention, the dimension detection step includes a signal acquisition step of acquiring a signal corresponding to the density of the recording paper at a position crossing the recognition mark while conveying the recording paper, and the acquired signal The method may include a dimension determining step of detecting an edge position of the recognition mark by comparing with a threshold value, and obtaining a dimension of the recognition mark from the detected edge position.
[0011]
In this case, the recognition mark includes an information mark portion having a size corresponding to the type of the recording paper and a reference mark portion having a constant reference size regardless of the type of the recording paper, and the size detection The steps are
Determining the threshold value so that the dimension of the reference mark portion detected by comparing the signal for the reference mark portion acquired in the signal acquisition step with the threshold value matches the reference dimension; ,
Detecting a dimension of the information mark portion based on a comparison between the signal for the information mark portion and the determined threshold value.
[0012]
Alternatively, the recognition mark is formed between at least two information mark portions having a size corresponding to the type of the recording paper and the information mark portion, and has a constant reference size regardless of the type of the recording paper. Including a space portion, and the dimension detecting step includes:
Determining the threshold value so that the size of the space portion detected by comparing the signal for the space portion acquired in the signal acquisition step with the threshold value matches the reference size;
Detecting a dimension of the information mark portion based on a comparison between the signal for the information mark portion and the determined threshold value.
[0013]
In this way, the threshold value for detecting the dimension of the information mark is determined based on the detection signal of the reference mark or the space portion having a fixed reference dimension, so that even when the level of the detection signal varies. Therefore, it is possible to accurately detect the dimension of the information mark.
[0014]
Further, in the present invention, the recognition mark is configured by repeatedly arranging information marks having dimensions according to the type of the recording paper in the conveyance direction of the recording paper,
Based on the type of recording paper determined in the paper determination step, it is determined whether or not the recording paper is prohibited from being conveyed in the reverse direction in which the recording paper is returned to the printer. If it is determined that the paper is prohibited, the conveyance of the recording paper in the reverse direction may be prohibited.
[0015]
In this way, the information marks are repeatedly arranged in the conveyance direction of the recording paper. Therefore, if the recording paper is conveyed by a small distance, the size of the information mark can be detected and the type of the recording paper can be determined. For this reason, if the recording paper being used is easily troubled such as label peeling or paper jams when transported in the reverse direction, it can be determined early and transported in the reverse direction. By prohibiting, it is possible to prevent the occurrence of the trouble as described above.
[0016]
Further, the present invention is a recording sheet for a printer, and a recognition mark for positioning the recording sheet is printed in advance so that printing can be performed on a predetermined printing area of the recording sheet. It has a dimension corresponding to the type of the recording paper.
[0017]
In this case, the recognition mark may include an information mark portion having a size corresponding to the type of the recording paper and a reference mark portion having a constant reference size regardless of the type of the recording paper. In addition, the recognition mark is formed between at least two information mark portions having a size corresponding to the type of the recording paper, and a space portion having a constant reference size regardless of the type of the recording paper. It may be composed of Further, the recognition mark may include an information mark portion having a size corresponding to the type of the recording paper, which is repeatedly arranged in the conveyance direction of the recording paper.
[0018]
Further, the present invention is a recording sheet for a printer, and a recognition mark for positioning the recording sheet is printed in advance so that printing can be performed on a predetermined printing area of the recording sheet. The recording sheet includes an information mark portion for determining the type of the recording paper and a positioning mark portion for positioning, and is configured in a symmetrical pattern in the feeding direction of the recording paper.
[0019]
According to the present invention, since the recognition marks are configured in a symmetrical pattern in the recording paper conveyance direction, the same detection signal can be obtained regardless of whether the recording paper is conveyed in the forward or reverse direction. Therefore, according to the recording paper of the present invention, it is possible to correctly determine the type of the recording paper based on the information mark portion and the positioning of the recording paper based on the positioning mark portion, regardless of the conveyance direction of the recording paper.
[0020]
In the recording paper for a printer according to the present invention, the mark portion of the recognition mark is printed with a first color having a low reflectance with respect to light of a predetermined wavelength, and the space portion of the recognition mark is the predetermined mark. It is good also as printing with the 2nd color with the large reflectance with respect to a wavelength. In this way, the difference in reflectance between the mark portion and the space portion can be increased, and the recognition mark can be detected more reliably.
[0021]
In this case, the second color may be printed with a metallic ink or a white pigment.
[0022]
Further, the present invention is a printer comprising a sensor for detecting a mark provided on a recording paper, and a transport unit for transporting printer paper,
Mark detection means for detecting that the recognition mark has reached a predetermined position in the conveyance path of the recording paper, based on a detection signal from the sensor;
A size detecting means for detecting the size of the recognition mark based on the detection signal;
Paper discriminating means for discriminating the type of the recording paper based on the detected size;
Information acquisition means for acquiring positioning information representing a positional relationship between the position of the recognition mark and a predetermined print area of the recording paper based on the determined type of the recording paper;
And positioning means for transporting the recording paper by the transport unit by a distance corresponding to the acquired positioning information from the position where the recognition mark is detected by the mark detection means.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a perspective view showing a printing portion and its peripheral portion of a printer 10 according to an embodiment of the present invention, and FIG. 2 is a cross-sectional view showing the printing portion of the printer 10 and its peripheral portion. In the present embodiment, the printer 10 is described as an example of a thermal printer as an example. However, the present invention is not limited to a thermal printer, and may be applied to an inkjet printer.
[0024]
As shown in FIGS. 1 and 2, the printer 10 of this embodiment includes a print head 20, a platen roller 22, a sensor 23 (not shown in FIG. 1), and a cutter device 24. The recording paper 26 is drawn upward from the recording paper roll 28, passes between the print head 20 and the platen roller 22, passes through the blades 32 and 34 of the cutter device 24, and reaches the discharge port 36. .
[0025]
In this embodiment, the recording paper 26 can be automatically cut by the cutter device 24. However, the present invention is not limited to this, and the operator may cut the recording paper 26 manually.
[0026]
The platen roller 22 is urged by an urging means (not shown) such as a spring mechanism to press the recording paper 26 against the head surface of the print head 20. The print head 20 includes a heating element corresponding to each print pixel, and printing on the recording paper 26 is performed when these heating elements generate heat.
[0027]
The rotation shaft of the platen roller 22 is connected to a drive mechanism (not shown), and the platen roller 22 can be rotationally driven in both directions by this drive mechanism. When the platen roller 22 is driven to rotate, the recording paper 26 is drawn upward from the paper roll 28 according to the rotation direction of the platen roller 22 due to friction with the platen roller 22 (that is, the direction toward the cutter device 24). ) Or the opposite direction. Hereinafter, the direction in which the recording paper 26 is fed from the printing unit toward the cutter device 24 and the rotation direction of the platen roller 22 at that time are referred to as the forward direction, and the opposite direction is referred to as the reverse direction.
[0028]
The sensor 23 is, for example, a reflective sensor that includes a light emitting unit 23a and a light receiving unit 23b. That is, the light emitting unit 23a emits light toward the recording paper 26, the reflected light from the recording paper 26 is received by the light receiving unit 23b, and a signal corresponding to the intensity of the light is output. As will be described later, a recognition mark printed in advance on the recording paper 26 is detected based on the output signal of the sensor 23. The sensor 23 is not limited to a reflective sensor, and a light-emitting unit 23a and a light-receiving unit 23b are provided on the opposite side across the recording paper 26, and a transmission type that outputs a signal corresponding to the intensity of light transmitted through the recording paper 26. It is good also as a structure of a sensor.
[0029]
Printing on the recording paper 26 is performed by repeating the operation of printing one line by the print head 20 and feeding the recording paper 26 in the forward direction by a distance corresponding to one line. After the printing is completed, the recording paper 26 is conveyed in the forward direction until the predetermined cutting position of the recording paper 26 reaches the position of the blade of the cutter device 24, and then the printed recording paper 26 is cut.
[0030]
FIG. 3 is a block diagram illustrating an internal configuration of the printer 10. As shown in the figure, the printer 10 includes a central control unit (CPU) 50. The CPU 50 is connected to a host computer outside the printer via the interface 52. The printer 10 also includes a program storage unit 54, a paper information storage unit 56, a print control unit 58, a cutter control unit 60, a conveyance control unit 62, a mark detection unit 64, a paper set detection unit 66, a paper feed switch unit 68, and the like. These are connected to the CPU 50.
[0031]
The print control unit 58 controls the print head 20 described above, and causes the print head 20 to print on the recording paper 26 in accordance with an instruction from the CPU 50. The cutter control unit 60 controls the cutter device 24 described above, and causes the cutter device 24 to cut the recording paper 26 in accordance with an instruction from the CPU 50.
[0032]
The conveyance control unit 62 controls the driving mechanism of the platen roller 22 described above, and rotates the platen roller 22 in the forward direction or the reverse direction in accordance with an instruction from the CPU 50, thereby moving the recording paper 26 forward. Transport in the opposite direction. The paper feed switch unit 68 is provided on the operation panel of the printer 10. When this switch is operated, the CPU 50 causes the conveyance control unit 62 to rotate the platen roller 22 in the forward direction or the reverse direction. Thus, the recording paper 26 can be conveyed in both the forward direction and the reverse direction by the platen roller 22.
[0033]
The mark detection unit 64 includes the sensor 23 described above and an AD conversion unit that AD converts an output signal of the sensor 23 (hereinafter referred to as a sensor detection signal) and supplies the converted signal to the CPU 50. The CPU 50 performs a positioning mark detection process based on the sensor detection signal supplied from the mark detection unit 64. Further, the paper set detection unit 66 detects that the recording paper 26 has been replaced and newly set, and notifies the CPU 50 of the detection result.
[0034]
The program storage unit 54 stores a control program, and the CPU 12 controls the above-described units 58 to 66 by executing this control program. The paper information storage unit 56 stores a paper information table that stores information about various papers that can be used as the recording paper 26 in the printer 10. The contents of this paper information table will be described later. These storage units 54 and 56 are provided in the ROM 70.
[0035]
By the way, as the recording paper 26, printing is performed in a predetermined printing area of the recording paper 26, such as a recording paper for printing various forms in which ruled lines or the like of a predetermined format are printed in advance, or a recording paper for label printing. There is something you have to do. FIG. 4 shows an example of a recording paper for form printing, and FIG. 5 shows an example of a recording paper for label printing. 4 and 5 show the print head 20, the sensor 23, and the cutter device 24 in a state where the recording paper 26 immediately after being set in the printer 10 and cut by the cutter device 24 is developed in a plane. The position is also shown. As indicated by broken lines in each figure, a ruled line frame 100 for printing in a predetermined format is printed in advance on the surface of the recording paper 26 (printed surface by a printer) (FIG. 4) or a label 102 is attached. (FIG. 5). A rectangular black recognition mark 104 is printed in advance on the back surface of the recording paper 26.
[0036]
In order to perform printing correctly on the inside of the ruled line frame 100 and the label 102 of the recording paper 26, the recording paper is set so that the printing start position S shown in each drawing comes to the position of the print head 20 before starting printing. It is necessary to cue 26. Such cueing processing is performed, for example, when the recording paper 26 is cut after one printing process is completed, or when the recording paper 26 is replaced and newly set, and the recording paper 26 is returned in the reverse direction. It is necessary when. That is, when the recording paper 26 is cut or set, the next print start position S of the recording paper 26 is at a position sent in the forward direction from the print head position. For this reason, in order to use the recording paper 26 without waste, it is necessary to cue by detecting that the print start position S has reached the print head position while conveying the recording paper 26 in the reverse direction. In addition, when printing continuously on a plurality of forms or labels, it is necessary to print a single form or label and then cue it while feeding the paper in the forward direction to the next printing position. Further, there is a case where cueing is performed while the recording paper 26 is conveyed in the forward direction or the reverse direction by a manual operation by the user. In this way, the recording paper 26 must be correctly positioned even when the recording paper 26 is conveyed in either the reverse direction or the forward direction.
[0037]
The printer 10 according to the present embodiment has a function of detecting the recognition mark 104 pre-printed on the recording paper 26 and correctly positioning the recording paper 26 based on the detection result.
[0038]
First, the recognition mark 104 detection process will be described. FIG. 6 shows an example of the waveform of the sensor detection signal collected while conveying the recording paper 26 shown in FIG. In the present embodiment, when the recognition mark 104 is detected by the sensor 23 (that is, when the reflected light detected by the sensor 23 becomes weak), the signal level is increased. Also, depending on the type of the recording paper 26, the position of the recognition mark 104 in the width direction of the recording paper 26 may vary greatly. In such a case, a sensor is used to reliably detect the recognition mark 104. A plurality of 23 may be provided in the width direction of the recording paper 26.
[0039]
For example, when the recording paper 26 is conveyed in the reverse direction, first, when the edge 104A on the rear side of the recognition mark 104 reaches the front of the sensor 23, a sensor detection signal rises as shown in part A of FIG. Thereafter, when the front edge 104B of the recognition mark 104 passes the front of the sensor 23, the sensor detection signal falls as shown in part B of FIG. Therefore, when an appropriate threshold level TH is used and the sensor detection signal crosses a predetermined threshold level TH upward, one edge of the recognition mark 104 (in the case of reverse feed, the rear edge) 104A, in the case of forward feed, it can be determined that the front edge 104B) has passed the front of the sensor 23, and the other of the recognition marks 104 when the sensor detection signal crosses the threshold level TH downward. It can be determined that the edge has passed the front of the sensor 23. The transport distance between the detection positions of these two edges can be obtained as the length of the recognition mark 104 (hereinafter referred to as the mark dimension L). In this specification, the length of the mark printed on the recording paper 26 means the length of the recording paper 26 in the feeding direction.
[0040]
Next, the cueing process of the recording paper 26 based on the detection result of the recognition mark 104 will be described.
[0041]
FIG. 7 is a diagram for explaining the cueing process of the recording paper 26. As shown in the figure, the distance between the front edge 104B of the recognition mark 104 and the print start position S (hereinafter referred to as a reference distance) is p, the distance between the sensor 23 and the print head 20 is d, and the print start position. The distance between S (that is, the length per sheet of the recording paper 26 shown in FIGS. 4 and 5; hereinafter referred to as the paper length) is defined as q. Among these, p and q are values determined according to the type of paper, and d is a value determined according to the model of the printer 10. In this case, as shown in FIG. 7, the recording paper 26 is conveyed in the reverse direction from the state where the front edge 104B of the recognition mark 104 is positioned in front of the sensor 23 until the print start position S reaches the position of the print head 20. The quantity X1 is X1 = q + p−d. Therefore, the recording paper 26 can be cued by transporting it in the reverse direction by the distance X1 from the position where the leading edge 104B of the recognition mark 104 is detected. Similarly, when the recording paper 26 is cued while being transported in the forward direction, the front edge 104B of the recognition mark 104 is transported in the forward direction by X2 = d−p from the position detected by the sensor 23. The cueing of the recording paper 26 can be performed.
[0042]
The reference distance p and the paper length q described above vary depending on the type of the recording paper 26. Therefore, in order to correctly perform the cueing based on the recognition mark 104 as described above, it is necessary to determine the type of the recording paper 26 and use the values of the reference distance p and the paper length q according to the type. is there. In addition, the width and length of the print area differ depending on the type of the recording paper 26. Furthermore, in the thermal printer, the amount of thermal energy to be applied to the paper (that is, the energization amount to the print head) differs depending on the paper type. Also in the case of an ink jet printer, it is necessary to perform a printing process corresponding to a paper type such as plain paper or ink jet dedicated paper. Therefore, in order to correctly cue the recording paper 26 and appropriately perform printing on the recording paper 26, it is necessary for the printer 10 to be able to determine the type of the recording paper.
[0043]
Therefore, in this embodiment, as shown in FIG. 8, the length of the recognition mark 104 (that is, the mark dimension L) is set to a value corresponding to the type of the recording paper 26. Then, the mark dimension L is detected by the method described with reference to FIG. 6, and the sheet for the recording sheet 26 is referred to by referring to the sheet information table stored in the sheet information storage unit 56 based on the detected value. Get information.
[0044]
FIG. 9 shows an example of the contents of the paper information table. As shown in the figure, the paper information table stores paper information such as a mark size L, a reference distance p, a paper length q, a printing length, a printing width, a paper characteristic, and a paper thickness for each paper type. ing. With reference to the sheet information table, the reference distance p, the sheet length q, and other parameters necessary for printing can be acquired from the detected mark dimension L. Then, cueing processing of the recording paper 26 is performed based on the reference distance p and the paper length q.
[0045]
Of the above-mentioned paper information, the print length is the length of the ruled line frame 100 or the label 102 in the transport direction, and printing is completed up to the last line in the ruled line frame 100 or the label 102 and the next ruled line frame. Used to detect when to move to 100 or label 102. The print width is the width of the ruled line frame 100 or the label 102, and is used for detecting the line feed timing. Further, the paper characteristics indicate energy sensitivity characteristics and additive / subtractive color characteristics (characteristics indicating whether the recording paper 26 is darker or lighter as the amount of thermal energy is larger) when the recording paper 26 is thermal paper. It is used to control the amount of power applied to the print head 20. Further, the paper thickness indicates the thickness of the recording paper 26, and is used for control when compensating for backlash during conveyance. When the printer 10 is an ink jet printer, information indicating a paper type such as plain paper or ink jet dedicated paper is stored as the paper characteristics.
[0046]
FIG. 10 is a flowchart showing the flow of processing executed by the CPU 50 to cue the recording paper 26 in this embodiment. In this embodiment and each embodiment described below, it is assumed that the conveyance direction of the recording paper 26 when performing cueing is set in advance.
[0047]
First, in step 150, it is determined whether or not the recognition mark 104 is detected by the sensor 23, that is, whether or not the level of the sensor detection signal is equal to or higher than a predetermined level. As a result, when the recognition mark 104 is detected, since the recognition mark 104 is located in front of the sensor 23, the edges 104A and 104B of the recognition mark 104 cannot be detected correctly. Therefore, in this case, in step 152, processing for conveying the recording paper 26 is performed until the recognition mark 104 is no longer detected by the sensor 23, and the process proceeds to step 154. On the other hand, if the recognition mark 104 is not detected in step 150, the process immediately proceeds to step 154.
[0048]
In step 154, conveyance of the recording paper 26 in the set cueing direction is started. In step 156, it is determined whether any edge 104A or 104B of the recognition mark 104 is detected (that is, whether the sensor detection signal rises and exceeds the threshold value TH). If an edge is detected, step 156 is performed. In 158, the transport position Y1 of the recording paper 26 at the time of detection is acquired. In step 160, it is determined whether or not the other edge of the recognition mark 104 is detected (that is, whether the sensor detection signal falls and falls below the threshold value TH). The transport position Y2 at the time of detection is acquired.
[0049]
Next, in step 164, the mark dimension L is calculated by L = | Y1-Y2 |. In step 166, if the conveyance direction of the recording paper 26 is the positive direction, the conveyance position Y1 where the edge is detected first is set as the detection position R of the front edge 104B, and if the conveyance direction is the reverse direction, the edge is detected. The conveyance position Y2 detected later is set as the detection position R of the front edge 104B.
[0050]
In step 168, based on the mark dimension L, the paper information table stored in the paper information storage unit 54 is referred to, and the paper information of the recording paper 26 (that is, the reference distance p, the paper length q, the printing length). , Print width, paper characteristics, paper thickness). Among these, as described above, the printing length, the printing width, the sensitivity characteristic, and the paper thickness are used as control parameters when the printing control unit 58 performs printing.
[0051]
In step 170, according to the transport direction of the recording paper 26, the transport amount X1 = q + p−d (in the reverse direction) or X2 = d−p (in the forward direction) is calculated. In step 172, the recording paper 26 is transported by X1 or X2 from the detection position R of the front edge 104B, and the cueing process ends.
[0052]
As described above, in the present embodiment, the type of recording paper is determined based on the length L of the recognition mark 104, and the positional relationship between the recognition mark 104 and the print start position S corresponding to the type (the above example) Then, after obtaining the reference distance p and the paper length q), the cueing process is performed. For this reason, even if the user does not set the type of the recording paper on the printer 10 side, an appropriate cueing process according to the type of the recording paper 26 can be performed. Therefore, according to the present embodiment, a complicated operation of setting a sheet each time the user replaces the recording sheet 26 with another type is not necessary, and the operability is improved. There is no need to provide a rewritable memory for storing the type, and there is no problem of a decrease in storage performance due to the lifetime of the memory.
[0053]
In this embodiment, since the paper type is determined based on the mark size L of the single recognition mark 104, the paper type is correctly determined regardless of whether the recording paper 26 is conveyed in the forward direction or the reverse direction. be able to. That is, there is no problem that the mark detection order differs depending on the conveyance direction of the recording paper 26 as in the case where the positioning mark and the paper type discrimination mark are provided separately as in the prior art. Further, since positioning and paper type discrimination are performed with a single recognition mark 104, the space required for the mark is reduced, and it is possible to cope with small recording paper.
[0054]
In the above embodiment, the cueing is performed based on the detection position of the front edge 104B of the recognition mark 104. However, the present invention is not limited to this, and the conveyance direction of the rear edge 104A of the recognition mark 104 and the recognition mark 104 is not limited thereto. The center point or the like may be used as a reference. In this case, the distance from the rear edge 104A or the center point of the recognition mark 104 to the print start position S may be stored as the reference distance p in the paper information table.
[0055]
Next, a second embodiment of the present invention will be described. FIG. 11 shows an example of the recognition mark 204 printed on the recording paper 26 used in the present embodiment. As shown in the figure, in this embodiment, the recognition mark 204 includes an information mark portion 210 having a length corresponding to the paper type (in this embodiment, this length is referred to as a mark dimension L), and this information mark. The reference mark portion 212 is provided on both front and rear sides of the portion 210 and has a fixed length (in this embodiment, this length is referred to as a reference dimension M) regardless of the type of the recording paper 26. The information mark part 210 and the reference mark part 212 are provided with a space of a predetermined length.
[0056]
When detecting the recognition mark 204, first, based on the sensor detection signal for the reference mark portion 212, the value of the threshold TH when detecting the edge of the mark is determined. That is, for example, if the sensor detection signal for the reference mark portion 212 is obtained as shown in FIG. 12, for example, the value of the threshold TH is determined so that the distance between edges obtained from this signal becomes the reference dimension M. To do. Using the threshold TH thus determined, the mark dimension L is detected from the sensor detection signal for the information mark portion 210.
[0057]
FIG. 13 is a flowchart showing the flow of processing executed by the CPU 50 to cue the recording paper 26 in the present embodiment. In FIG. 13, steps that perform the same processing as in FIG. 10 are given the same reference numerals and description thereof is omitted. First, in step 250, it is determined whether or not the recognition mark 204 is positioned in front of the sensor 23. In the present embodiment, since the recognition mark 204 includes a space portion between the information mark portion 210 and the reference mark portion 212, when this space portion is located in front of the sensor 23, the sensor detection signal is It becomes a low level. Therefore, as in the case of the first embodiment, it is impossible to determine whether or not the recognition mark 204 is positioned in front of the sensor 23 only by the level of the sensor detection signal. Therefore, in step 250, when the sensor detection signal is equal to or higher than a predetermined level before the recording paper 26 is conveyed by the length of the space, it is determined that the recognition mark 204 is positioned in front of the sensor 23. Shall.
[0058]
If it is determined in step 250 that the recognition mark 204 is positioned in front of the sensor 23, the recording paper 26 is conveyed until the recognition mark 204 is not detected by the sensor 23 in step 252, and the process proceeds to step 254. On the other hand, if the recognition mark 204 is not located in front of the sensor 23 in step 250, the process immediately proceeds to step 254.
[0059]
In step 254, the conveyance of the recording paper 26 in the set cueing direction is started. In step 256, it is determined whether the rising and falling edges of the sensor detection signal are detected. Since the reference mark portion 212 is provided on both sides of the recognition mark 204, the rising and falling edges that first appear in the sensor detection signal correspond to both edges of the reference mark portion 212. Therefore, in step 258, the threshold TH is determined from the rise and fall of this signal so that the distance between these edges becomes the reference dimension M as described with reference to FIG. Thereafter, cueing processing is performed in the same manner as in step 156 and subsequent steps in FIG. 10. At this time, the threshold TH determined in step 258 is used in the edge detection processing in steps 156 and 160.
[0060]
As described above, in the present embodiment, by determining the value of the threshold TH based on the sensor detection signal obtained for the reference mark unit 212, for example, the light intensity of the light emitting unit of the sensor 23 and the sensitivity of the light receiving unit are increased. Even if the level of the sensor detection signal changes due to fluctuation or the density of the recognition mark 104 varies depending on the type of paper, the mark dimension L is accurately determined using the appropriate threshold TH value. Can be detected. For this reason, the mark dimension L can be set finely, for example, in increments of 1 mm, and more types of recording paper can be identified by marks within a certain dimension.
[0061]
In addition, since the reference mark portions 212 are provided on both the front and rear sides of the information mark portion 210, when the recording paper 26 is conveyed in either the forward or reverse direction, any of the reference mark portions 212 precedes the information mark portion 210. Will be detected. For this reason, irrespective of the conveyance direction of the recording paper 26, the determination of the threshold TH and the determination of the mark dimension L based thereon can be performed correctly.
[0062]
However, even if the reference mark portion 212 is arranged only on one side of the information mark portion 210, if the width of the mark detected first is a value that approximates the reference dimension M, the mark is the reference mark portion 212. It is possible to distinguish between the reference mark part 212 and the information mark part 210 by judging that the mark is the information mark part 210.
[0063]
Next, a third embodiment of the present invention will be described. FIG. 14 shows an example of a recognition mark 304 printed on the recording paper 26 used in the present embodiment. As shown in the figure, in this embodiment, the recognition mark 304 has two information mark portions 306 having a length corresponding to the type of the recording paper 26 (in this embodiment, this length is referred to as a mark dimension L). A space portion 308 having a certain length is formed between the information mark portions 306 regardless of the type of the recording paper 26. In the present embodiment, since the length of the space portion 308 is used as a reference for determining the threshold TH, this length is referred to as a reference dimension M.
[0064]
When detecting the recognition mark 304, first, based on the sensor detection signal for the space portion 308, the value of the threshold TH when the edge of the information mark portion 306 is detected is determined. That is, assuming that the sensor detection signal for the space portion 308 is obtained as shown in FIG. 15, for example, the value of TH is determined so that the distance between the edges obtained from this signal becomes the reference length M. Using the threshold TH thus determined, the mark dimension L is detected from the sensor detection signal for the information mark portion 306.
[0065]
FIG. 16 is a flowchart showing the flow of processing executed by the CPU 50 to cue the recording paper 26 in this embodiment. In FIG. 16, steps that perform the same processing as in FIG. 10 are given the same reference numerals and description thereof is omitted. First, in step 350, it is determined whether or not the recognition mark 304 is positioned in front of the sensor 23. Also in this embodiment, as in the second embodiment, since the recognition mark 304 includes the space portion 308, in step 350, the sensor until the recording paper 26 is conveyed by the length M of the space portion 308. When the detection signal is equal to or higher than a predetermined level, it is determined that the recognition mark 304 is positioned in front of the sensor 23. If it is determined in step 350 that the recognition mark 304 is positioned in front of the sensor 23, the recording paper 26 is conveyed until the recognition mark 304 is no longer detected by the sensor 23 in step 352, and the process proceeds to step 354. On the other hand, if the recognition mark 304 is not located in front of the sensor 23 in step 250, the process immediately proceeds to step 354.
[0066]
In step 354, conveyance of the recording paper 26 in the set cueing direction is started. In step 356, the rise and fall of the sensor detection signal are detected, and it is further determined whether or not the rise is detected again. The first rise and fall of the sensor detection signal correspond to both edges of the information mark unit 306. The falling edge of the sensor detection signal and the second rising edge correspond to both edges of the space portion 308. Therefore, in step 358, from the falling edge of the sensor detection signal and the second rising edge, as described with reference to FIG. 15, the threshold TH is set so that the distance between the corresponding edges becomes the reference dimension M. The value is determined. In step 360, the first rising and falling transport positions Y1 and Y2 detected in step 356 are obtained using this threshold TH. Thereafter, cueing processing is performed in the same manner as step 164 and subsequent steps in FIG.
[0067]
As described above, in the present embodiment, when the threshold TH is determined based on the sensor detection signal obtained for the space portion 308, the level of the sensor detection signal changes as in the second embodiment. However, it is possible to accurately detect the mark dimension L by using an appropriate threshold TH.
[0068]
Even when the recording paper 26 is transported in either forward or reverse direction, the information mark portion 306 is first detected. Therefore, the threshold TH is correctly determined and the mark dimension L is correctly determined based on the information TH regardless of the transport direction. be able to.
[0069]
Next, a fourth embodiment of the present invention will be described. FIG. 17 shows an example of the recognition mark 404 printed on the recording paper 26 used in this embodiment. As shown in the figure, the recognition mark 404 includes an information mark part 406 for determining the type of the recording paper 26 and a positioning mark part 408 for positioning the recording paper 26. The information mark unit 406 is configured by barcodes 406a and 406b having the same pattern symmetrically provided in the feeding direction of the recording paper 26, and the paper identification information of the recording paper 26 is encoded in each barcode 406a and 406b. ing. However, like the information identification marks in the first to third embodiments, the information mark 62 may be a single mark having a length corresponding to the paper type. Further, the positioning mark part 408 is provided symmetrically on both the front and rear sides of the information mark part 406.
[0070]
In the present embodiment, since the positioning mark portions 408 are provided on both sides of the information mark portion 406, the positioning mark portion 406 is detected first and the next when the recording paper 26 is fed in either the forward direction or the reverse direction. In addition, the information mark portion 408 is detected. That is, the order in which both marks are detected is constant regardless of the feed direction. And since the information mark part 406 is comprised from the two barcodes 406a and 406b which are object mutually, the same information is obtained from the information mark part 406 irrespective of a feed direction. Therefore, in this embodiment, the positioning mark portion 408 and the information mark portion 406 can be reliably recognized regardless of the feeding direction of the recording paper 26.
[0071]
In FIG. 17, the two barcodes 406a and 406b having the same pattern are provided symmetrically with each other. However, if the barcode itself is configured symmetrically, it is not necessary to provide two barcodes. Since a barcode is sufficient, the space required for the barcode can be reduced.
[0072]
Next, a fifth embodiment of the present invention will be described. FIG. 18 shows an example of a recognition mark 504 printed on the recording paper 26 used in the present embodiment. As shown in the figure, the recognition mark 504 includes a plurality of information mark portions 506 provided repeatedly at a constant pitch. However, the portion corresponding to the positioning mark (the portion indicated by the arrow in the figure) has a different mark pitch from that of the other portions, and this portion functions as the positioning mark portion 508. The information mark portion 506 has a length (reference dimension L in the present embodiment) corresponding to the paper type of the recording paper 26, and by detecting this reference dimension L, the type of the recording paper 26 can be determined. Then, the positioning mark portion 508 can be detected from the change in the mark detection pitch, and the cue processing can be performed.
[0073]
FIG. 19 is a flowchart showing the flow of processing executed by the CPU 50 to cue the recording paper 26 in this embodiment. First, it is determined in step 550 whether or not a mark is detected. If it is detected, the recording paper 26 is conveyed until no mark is detected in step 552. In step 554, conveyance of the recording paper 26 in the forward direction is started, and when a mark is detected in step 556, the length of the mark, that is, the reference dimension L is detected in step 558. In step 560, the type of the recording paper 26 is determined based on the detected reference dimension L, and in step 562, it is determined whether or not the recording paper 26 is a paper prohibited from being conveyed in the reverse direction. . Such a determination can be made, for example, by setting information as to whether or not conveyance in the reverse direction should be prohibited in the paper information table shown in FIG. 9 and referring to this paper information table. If the result of determination in step 252 is that conveyance in the reverse direction is prohibited, cueing based on the detection of the positioning mark portion 508 is performed in step 564 while carrying in the forward direction. On the other hand, if it is determined in step 562 that conveyance in the reverse direction is not prohibited, positioning is performed while performing conveyance in the set cue direction until the positioning mark portion 508 is detected in step 566. Cueing based on the detection of the mark portion 508 is performed. If it is determined in step 562 that conveyance in the reverse direction is prohibited, it is preferable to prohibit conveyance in the reverse direction not only for cueing but in all scenes thereafter.
[0074]
As described above, in the present embodiment, since the information mark portion 506 is repeatedly printed, the recording paper 26 is placed at a slight distance (maximum length of the information mark portion 506 and the pitch between the information mark portions 506). (The distance corresponding to the sum of the two) is detected, the type of the recording paper 26 can be determined by detecting the length of the information mark portion 506. Therefore, for example, in the case of a label paper or a relatively thin paper, especially in the case of a thermal printer, the paper is pressed against the print head 20, so that the label peels off when conveyed in a reverse direction beyond a certain amount, There is a possibility that a paper jam may occur. In such a case, it can be quickly determined that the paper should not be conveyed in the reverse direction. By avoiding cueing while conveying the paper in the opposite direction, troubles such as label peeling and paper jam can be prevented in advance.
[0075]
Further, since the recognition mark portion 506 and the positioning mark portion 508 are repeatedly arranged, the reference dimension L is detected and the type of the recording paper 26 is discriminated when the recording paper 26 is conveyed in either the forward or reverse direction. And correct cueing.
[0076]
Next, a sixth embodiment of the present invention will be described. FIG. 20 shows an example of a recognition mark 604 printed on the recording paper 26 used in the present embodiment. As shown in the figure, in this embodiment, the recognition mark 604 is composed of a plurality of information mark portions 606 that are repeatedly provided at regular intervals, and a positioning mark portion 608 for positioning the recording paper 26. ing. The information mark unit 606 includes an information unit 606a having a length corresponding to the paper type of the recording paper 26 and a reference unit 606b having a constant length regardless of the paper type. On the other hand, the positioning mark portion 608 is configured as a single rectangular mark having the same length as the information mark portion 606. That is, the positioning mark portion 608 has a configuration in which the space portion of the information mark portion 606 is filled.
[0077]
Also in this embodiment, as in the fifth embodiment, the information mark portion 606 is repeatedly provided, so that the paper type can be determined if the recording paper 26 is transported by a small distance. For this reason, when the paper is conveyed in the reverse direction, it is possible to determine at an early stage a sheet that easily causes label peeling or paper jamming, and to prevent such trouble from occurring.
[0078]
Further, by determining the threshold TH in the same manner as in the second embodiment based on the detection signal of the reference portion 606b included in the information mark portion 606, the mark dimension L can be detected with high accuracy.
[0079]
In the above embodiments, each recognition mark is printed directly on the recording paper 26 in black. However, in order to eliminate the influence of variations in the reflection characteristics of the recording paper 26 itself and make it possible to detect the recognition mark more reliably, the recognition mark may be printed as follows. That is, when the sensor 23 is configured as a reflective sensor, the mark portion (dark color portion) of the recognition mark has a low reflectance with respect to the light source wavelength of the light emitting unit 23a included in the sensor 23 (around 660 nm in the present embodiment). The recognition mark and its surroundings and space portions are printed in color with high reflectance.
[0080]
FIG. 21 shows the light reflection characteristics of marks printed in purple, black, and green colors. As can be seen from the figure, the mark printed in purple, black, or green shows a low reflectance of about 20% near the light source wavelength of 660 nm. FIG. 22 shows the light reflection characteristics of three types of metallic inks of gold, silver, and copper. As shown in the figure, it can be seen that any metallic ink exhibits a high reflectance close to 100% near the light source wavelength of 660 nm. Thus, the purple, black, and green marks show a low reflectance with respect to the light source of the sensor 23, while the metallic ink shows a high reflectance. Accordingly, as shown in FIG. 23, the mark portion of the recognition mark 704 is printed with purple, black, or green ink 704a, and the space portion 704b of the recognition mark 704 and the vicinity of both sides of the recognition mark 704 (quiet zone). By printing 704c with metallic ink, the difference in reflectance between the mark portion and the space portion or the background portion can be increased. As a result, the recognition mark 704 can be accurately detected by the sensor 23 regardless of variations in the reflection characteristics of the recording paper 26 itself, the density of the mark, and the like.
[0081]
The ink used for printing the space portion 704b of the recognition mark 704 and the quiet zone 704c is not limited to a metallic ink, and may be an ink material that exhibits a high reflectance near 660 nm, such as a white pigment.
[0082]
【The invention's effect】
According to the present invention, it is possible to accurately determine the type of the recording sheet based on the recognition mark printed in advance on the recording sheet, and to correctly cue the recording sheet according to the determination result.
[Brief description of the drawings]
FIG. 1 is a perspective view showing a printing portion and its peripheral portion of a printer according to an embodiment of the present invention.
FIG. 2 is a cross-sectional view showing a printing portion and its peripheral portion of the printer.
FIG. 3 is a block diagram illustrating an internal configuration of a printer.
FIG. 4 is a diagram illustrating an example of recording paper for form printing.
FIG. 5 is a diagram illustrating an example of a recording sheet for label printing.
FIG. 6 shows an example of a waveform of a sensor detection signal collected while conveying recording paper.
FIG. 7 is a diagram for explaining processing for cueing recording paper.
FIG. 8 is a diagram illustrating an example of a recognition mark printed on a recording sheet used in the present embodiment.
FIG. 9 is a diagram illustrating an example of the contents of a paper information table.
FIG. 10 is a flowchart showing the flow of processing executed by the CPU to cue up recording paper in the present embodiment.
FIG. 11 is a diagram illustrating an example of a recognition mark printed on a recording sheet used in the second embodiment of the present invention.
FIG. 12 is a diagram for explaining a process for determining a threshold based on a sensor detection signal of a reference mark portion of a recognition mark.
FIG. 13 is a flowchart showing the flow of processing executed by the CPU to cue up recording paper in the present embodiment.
FIG. 14 is a diagram showing an example of a recognition mark printed on a recording sheet used in the third embodiment of the present invention.
FIG. 15 is a diagram for explaining processing for determining a threshold based on a sensor detection signal in a space portion of a recognition mark.
FIG. 16 is a flowchart showing the flow of processing executed by the CPU to cue up recording paper in the present embodiment.
FIG. 17 is a diagram showing an example of a recognition mark printed on a recording sheet used in the fourth embodiment of the present invention.
FIG. 18 is a diagram showing an example of a recognition mark printed on a recording sheet used in the fifth embodiment of the present invention.
FIG. 19 is a flowchart showing a flow of processing executed by a CPU to cue up recording paper in a sixth embodiment of the present invention.
FIG. 20 is a diagram illustrating an example of a recognition mark printed on a recording sheet used in the present embodiment.
FIG. 21 is a diagram showing light reflection characteristics of marks printed in purple, black, and green colors.
FIG. 22 is a diagram showing light reflection characteristics of three types of metallic inks of gold, silver, and copper.
FIG. 23 is a diagram illustrating a configuration of a recognition mark printed in consideration of light reflection characteristics.
[Explanation of symbols]
10 Printer
20 Print head
23 Sensor
26 Recording paper
50 CPU
104,204,304,404,504,604,704 Recognition mark
210, 306, 406, 506, 606 Information mark part
212 Reference mark
308 Space
408, 508, 608 Positioning mark

Claims (20)

プリンタ用の記録紙に設けられた認識マークに基づいて、当該記録紙の所定の印刷領域に印刷を行えるように当該記録紙を位置決めする方法であって、
前記認識マークが前記記録紙の搬送経路における所定の位置に達したことを検出するマーク検出ステップと、
前記認識マークの寸法を検出する寸法検出ステップと、
該検出した寸法に基づいて、前記記録紙の種類を判別する用紙判別ステップと、
該判別した記録紙の種類に基づいて、前記認識マークの位置と前記所定の印刷領域との位置関係を表す位置決め情報を取得する情報取得ステップと、
前記マーク検出ステップで前記認識マークが検出された位置から、前記取得した位置決め情報に応じた距離だけ、前記記録紙を搬送するステップとを備えることを特徴とするプリンタ用記録紙の位置決め方法。
A method of positioning the recording paper based on a recognition mark provided on the recording paper for a printer so that printing can be performed in a predetermined printing area of the recording paper,
A mark detection step for detecting that the recognition mark has reached a predetermined position in the conveyance path of the recording paper;
A dimension detecting step for detecting a dimension of the recognition mark;
A paper discriminating step for discriminating the type of the recording paper based on the detected size;
An information acquisition step for acquiring positioning information representing a positional relationship between the position of the recognition mark and the predetermined print area based on the determined type of recording paper;
And a step of conveying the recording paper by a distance corresponding to the obtained positioning information from the position where the recognition mark is detected in the mark detection step.
請求項1記載のプリンタ用記録紙の位置決め方法において、
前記寸法検出ステップは、
前記記録紙を搬送しながら、前記認識マークを横切る位置での前記記録紙の濃淡に応じた信号を取得する信号取得ステップと、
該取得した信号をスレッシヨルド値と比較することにより前記認識マークのエッジ位置を検知し、該検知したエッジ位置から前記認識マークの寸法を求める寸法決定ステップとを含むことを特徴とする方法。
The method of positioning a recording paper for a printer according to claim 1,
The dimension detection step includes
A signal acquisition step of acquiring a signal corresponding to the density of the recording paper at a position crossing the recognition mark while conveying the recording paper;
A method for detecting the edge position of the recognition mark by comparing the acquired signal with a threshold value, and determining a dimension of the recognition mark from the detected edge position.
請求項2記載のプリンタ用記録紙の位置決め方法において、
前記認識マークは、前記記録紙の種類に応じた寸法を有する情報マーク部と、前記記録紙の種類にかかわらず一定の基準寸法を有する基準マーク部とを含んでおり、前記寸法検出ステップは、
前記信号取得ステップで取得された前記基準マーク部についての信号を前記スレッシヨルド値と比較することにより検出した前記基準マーク部の寸法が前記基準寸法に一致するように、前記スレッシヨルド値を決定するステップと、
前記情報マーク部についての前記信号と前記決定したスレッシヨルド値との比較に基づいて前記情報マーク部の寸法を検出するステップとを含むことを特徴とする方法。
The method of positioning a printer recording paper according to claim 2,
The recognition mark includes an information mark portion having a size corresponding to the type of the recording paper, and a reference mark portion having a constant reference size regardless of the type of the recording paper, and the size detecting step includes
Determining the threshold value so that the dimension of the reference mark portion detected by comparing the signal for the reference mark portion acquired in the signal acquisition step with the threshold value matches the reference dimension; ,
Detecting a dimension of the information mark portion based on a comparison between the signal for the information mark portion and the determined threshold value.
請求項2記載のプリンタ用記録紙の位置決め方法において、
前記認識マークは、前記記録紙の種類に応じた寸法を有する少なくとも2つの情報マーク部と、該情報マーク部の間に形成され、前記記録紙の種類にかかわらず一定の基準寸法を有するスペース部を含み、前記寸法検出ステップは、
前記信号取得ステップで取得された前記スペース部についての信号を前記スレッシヨルド値と比較することにより検出した前記スペース部の寸法が前記基準寸法に一致するように、前記スレッシヨルド値を決定するステップと、
前記情報マーク部についての前記信号と前記決定したスレッシヨルド値との比較に基づいて前記情報マーク部の寸法を検出するステップとを含むことを特徴とする方法。
The method of positioning a printer recording paper according to claim 2,
The recognition mark is formed between at least two information mark portions having a size corresponding to the type of the recording paper, and a space portion having a constant reference size regardless of the type of the recording paper. The dimension detecting step includes:
Determining the threshold value so that the size of the space portion detected by comparing the signal for the space portion acquired in the signal acquisition step with the threshold value matches the reference size;
Detecting a dimension of the information mark portion based on a comparison between the signal for the information mark portion and the determined threshold value.
請求項2記載のプリンタ用記録紙の位置決め方法において、
前記認識マークは、前記記録紙の種類に応じた寸法を有する情報マークが、前記記録紙の搬送方向に繰り返し配置されて構成されており、
前記用紙判別ステップで判別された記録紙の種類に基づいて、当該記録紙が、記録紙をプリンタ内へ戻す向きである逆方向への搬送が禁止された用紙であるか否かを判別し、禁止された用紙であると判別された場合は、当該記録紙の前記逆方向への搬送を禁止することを特徴とする方法。
The method of positioning a printer recording paper according to claim 2,
The recognition mark is configured by repeatedly arranging information marks having dimensions according to the type of the recording paper in the conveyance direction of the recording paper,
Based on the type of recording paper determined in the paper determination step, it is determined whether or not the recording paper is prohibited from being conveyed in the reverse direction in which the recording paper is returned to the printer. If it is determined that the paper is prohibited, the recording paper is prohibited from being conveyed in the reverse direction.
プリンタ用の記録紙であって、当該記録紙の所定の印刷領域に印刷を行えるように当該記録紙を位置決めするための認識マークが予め印刷されており、当該認識マークは当該記録紙の種類に応じた寸法を有することを特徴とする記録紙。A recording sheet for a printer, and a recognition mark for positioning the recording sheet is printed in advance so that printing can be performed on a predetermined printing area of the recording sheet. A recording paper characterized in that it has a corresponding size. 請求項6記載のプリンタ用の記録紙であって、前記認識マークは、当該記録紙の種類に応じた寸法を有する情報マーク部と、記録紙の種類にかかわらず一定の基準寸法を有する基準マーク部とからなることを特徴とする記録紙。7. The recording paper for a printer according to claim 6, wherein the recognition mark includes an information mark portion having a size corresponding to the type of the recording paper, and a reference mark having a constant reference size regardless of the type of the recording paper. A recording paper comprising: 請求項6記載のプリンタ用の記録紙であって、前記認識マークは当該記録紙の種類に応じた寸法を有する少なくとも2つの情報マーク部と、該情報マーク部の間に形成され、記録紙の種類にかかわらず一定の基準寸法を有するスペース部とからなることを特徴とする記録紙。7. The recording paper for a printer according to claim 6, wherein the recognition mark is formed between at least two information mark portions having dimensions according to the type of the recording paper and the information mark portion. A recording paper comprising a space portion having a constant reference dimension regardless of type. 請求項6記載のプリンタ用の記録紙であって、前記認識マークは、前記記録紙の搬送方向に繰り返し配置された、前記記録紙の種類に応じた寸法を有する情報マーク部を含むことを特徴とする記録紙。7. The recording paper for a printer according to claim 6, wherein the recognition mark includes an information mark portion that is repeatedly arranged in a conveyance direction of the recording paper and has a size corresponding to the type of the recording paper. And recording paper. プリンタ用の記録紙であって、当該記録紙の所定の印刷領域に印刷を行えるように当該記録紙を位置決めするための認識マークが予め印刷されており、当該認識マークは、前記記録紙の種類を判別するための情報マーク部と位置決め用の位置決めマーク部とを含むと共に、当該記録紙の送り方向において対称なパターンに構成されていることを特徴とする記録紙。A recording sheet for a printer, and a recognition mark for positioning the recording sheet is printed in advance so that printing can be performed on a predetermined printing area of the recording sheet. A recording paper comprising an information mark portion for determining the position and a positioning mark portion for positioning, and having a symmetrical pattern in the feeding direction of the recording paper. 請求項6〜10のうち何れか1項記載のプリンタ用記録紙において、前記認識マークのマーク部分は、所定波長の光に対する反射率が小さい第1の色で印刷されており、前記認識マークのスペース部分は、前記所定の波長に対する反射率が大きい第2の色で印刷されていることを特徴とする記録紙。11. The printer recording paper according to claim 6, wherein the mark portion of the recognition mark is printed with a first color having a low reflectance with respect to light of a predetermined wavelength. The recording paper, wherein the space portion is printed with a second color having a high reflectance with respect to the predetermined wavelength. 請求項11記載の記録紙において、前記第2の色は、メタリックインクまたは白色顔料で印刷されていることを特徴とする記録紙。12. The recording paper according to claim 11, wherein the second color is printed with a metallic ink or a white pigment. 請求項9記載の記録紙を、当該記録紙の前記所定の印刷領域に印刷を行えるように位置決めする方法であって、
前記記録紙を正方向または逆方向に搬送しながら前記認識マークの検出信号を取得する信号取得ステップと、
該取得した検出信号に基づいて、前記位置決めマーク部が前記記録紙の搬送経路における所定の位置に達したことを検出するマーク検出ステップと、
前記情報マーク部についての前記検出信号に基づいて、前記記録紙の種類を判別する用紙判別ステップと、
該判別した記録紙の種類に基づいて、前記認識マークの位置と前記所定の印刷領域との位置関係を表す位置決め情報を取得する情報取得ステップと、
前記マーク検出ステップで前記認識マークが検出された位置から、前記取得した位置決め情報に応じた距離だけ、前記記録紙を搬送するステップとを備えることを特徴とする方法。
A method of positioning the recording paper according to claim 9 so that printing can be performed on the predetermined printing area of the recording paper,
A signal acquisition step of acquiring a detection signal of the recognition mark while conveying the recording paper in the forward direction or the reverse direction;
A mark detection step for detecting that the positioning mark portion has reached a predetermined position in the conveyance path of the recording paper based on the acquired detection signal;
A paper discrimination step for discriminating the type of the recording paper based on the detection signal for the information mark portion;
An information acquisition step for acquiring positioning information representing a positional relationship between the position of the recognition mark and the predetermined print area based on the determined type of recording paper;
And a step of conveying the recording paper by a distance corresponding to the acquired positioning information from a position where the recognition mark is detected in the mark detection step.
記録紙に設けられた認識マークを検出するためのセンサと、プリンタ用紙を搬送する搬送部とを備えるプリンタであって、
前記センサによる検出信号に基づいて、前記認識マークが前記記録紙の搬送経路における所定の位置に達したことを検出するマーク検出手段と、
前記検出信号に基づいて前記認識マークの寸法を検出する寸法検出手段と、
該検出した寸法に基づいて、前記記録紙の種類を判別する用紙判別手段と、
該判別した記録紙の種類に基づいて、前記認識マークの位置と、前記記録紙の所定の印刷領域との位置関係を表す位置決め情報を取得する情報取得手段と、
前記マーク検出手段で前記認識マークが検出された位置から、前記取得した位置決め情報に応じた距離だけ、前記搬送部により前記記録紙を搬送する位置決め手段とを備えることを特徴とするプリンタ。
A printer comprising a sensor for detecting a recognition mark provided on a recording paper, and a transport unit for transporting printer paper,
Mark detection means for detecting that the recognition mark has reached a predetermined position in the conveyance path of the recording paper, based on a detection signal from the sensor;
A size detecting means for detecting the size of the recognition mark based on the detection signal;
Paper discriminating means for discriminating the type of the recording paper based on the detected size;
Information acquisition means for acquiring positioning information representing a positional relationship between the position of the recognition mark and a predetermined print area of the recording paper based on the determined type of the recording paper;
A printer comprising: a positioning unit configured to convey the recording paper by the conveyance unit by a distance corresponding to the acquired positioning information from a position where the recognition mark is detected by the mark detection unit.
請求項14記載のプリンタにおいて、
前記寸法検出手段は、前記検出信号をスレッシヨルド値と比較することにより前記認識マークのエッジ位置を検知し、該検知したエッジ位置から前記認識マークの寸法を求める手段を含むことを特徴とするプリンタ。
The printer according to claim 14.
The size detecting means includes means for detecting an edge position of the recognition mark by comparing the detection signal with a threshold value, and obtaining a dimension of the recognition mark from the detected edge position.
請求項15記載のプリンタにおいて、
前記認識マークは、前記記録紙の種類に応じた寸法を有する情報マーク部と、前記記録紙の種類にかかわらず一定の基準寸法を有する基準マーク部とを含んでおり、前記寸法検出手段は、
前記基準マーク部についての前記検出信号を前記スレッシヨルド値と比較することにより検出した前記基準マーク部の寸法が前記基準寸法に一致するように、前記スレッシヨルド値を決定する手段と、
前記情報マークについての前記検出信号と前記決定したスレッシヨルド値との比較に基づいて前記情報マーク部の寸法を検出する手段とを含むことを特徴とするプリンタ。
The printer according to claim 15, wherein
The recognition mark includes an information mark portion having a dimension corresponding to the type of the recording paper, and a reference mark portion having a constant reference dimension regardless of the type of the recording paper, and the dimension detecting unit includes:
Means for determining the threshold value such that a dimension of the reference mark portion detected by comparing the detection signal for the reference mark portion with the threshold value matches the reference dimension;
And a means for detecting a dimension of the information mark portion based on a comparison between the detection signal for the information mark and the determined threshold value.
請求項15記載のプリンタにおいて、
前記認識マークは、前記記録紙の種類に応じた寸法を有する少なくとも2つの情報マークと、該情報マークの間に形成され、前記記録紙の種類にかかわらず一定の基準寸法を有するスペース部を含み、前記寸法検出手段は、
前記スペース部についての前記検出信号を前記スレッシヨルド値と比較することにより検出した前記スペース部の寸法が前記基準寸法に一致するように、前記スレッシヨルド値を決定する手段と、
前記情報マーク部についての前記信号と前記決定したスレッシヨルド値との比較に基づいて前記情報マークの寸法を検出する手段とを含むことを特徴とするプリンタ。
The printer according to claim 15, wherein
The recognition mark includes at least two information marks having a size corresponding to the type of the recording paper, and a space portion formed between the information marks and having a constant reference size regardless of the type of the recording paper. The dimension detecting means includes
Means for determining the threshold value such that the dimension of the space portion detected by comparing the detection signal for the space portion with the threshold value matches the reference dimension;
And a means for detecting a dimension of the information mark based on a comparison between the signal for the information mark portion and the determined threshold value.
請求項16記載のプリンタにおいて、
前記認識マークは、前記記録紙の種類に応じた寸法を有する情報マークが、前記記録紙の搬送方向に繰り返し配置されて構成されており、
前記用紙判別手段で判別された記録紙の種類に基づいて、当該記録紙が、記録紙をプリンタ内へ戻す向きである逆方向への搬送が禁止された用紙であるか否かを判別し、禁止された用紙であると判別された場合は、当該記録紙の前記逆方向への搬送を禁止する手段を含むことを特徴とするプリンタ。
The printer according to claim 16, wherein
The recognition mark is configured by repeatedly arranging information marks having dimensions according to the type of the recording paper in the conveyance direction of the recording paper,
Based on the type of the recording sheet determined by the sheet determining means, it is determined whether the recording sheet is a sheet prohibited from being conveyed in the reverse direction in which the recording sheet is returned to the printer, A printer comprising: means for prohibiting conveyance of the recording paper in the reverse direction when it is determined that the paper is prohibited.
請求項1〜5のうち何れか1項記載の方法をプリンタ制御用のコンピュータに実行させるプログラム。A program for causing a printer control computer to execute the method according to any one of claims 1 to 5. 請求項19記載のプログラムを記録した記録媒体。A recording medium on which the program according to claim 19 is recorded.
JP2003187908A 2003-06-30 2003-06-30 Method for positioning recording paper sheet for printer, program for performing this method in computer, recording medium recording this program for printer, recording paper sheet for printer, and printer Withdrawn JP2005022130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003187908A JP2005022130A (en) 2003-06-30 2003-06-30 Method for positioning recording paper sheet for printer, program for performing this method in computer, recording medium recording this program for printer, recording paper sheet for printer, and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003187908A JP2005022130A (en) 2003-06-30 2003-06-30 Method for positioning recording paper sheet for printer, program for performing this method in computer, recording medium recording this program for printer, recording paper sheet for printer, and printer

Publications (1)

Publication Number Publication Date
JP2005022130A true JP2005022130A (en) 2005-01-27

Family

ID=34186602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003187908A Withdrawn JP2005022130A (en) 2003-06-30 2003-06-30 Method for positioning recording paper sheet for printer, program for performing this method in computer, recording medium recording this program for printer, recording paper sheet for printer, and printer

Country Status (1)

Country Link
JP (1) JP2005022130A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007237536A (en) * 2006-03-08 2007-09-20 Brother Ind Ltd Print medium and printer
JP2008109955A (en) * 2006-10-27 2008-05-15 Fukuda Denshi Co Ltd Recording paper and recording device
JP2009255581A (en) * 2009-07-28 2009-11-05 Max Co Ltd Label with release paper and label printer
JP2010221485A (en) * 2009-03-23 2010-10-07 Brother Ind Ltd Print tape, tape printer using print tape, method for determining type and remaining amount of print tape from mark printed in print tape
JP2013540606A (en) * 2010-08-12 2013-11-07 フェニックス コンタクト ゲゼルシャフト ミット ベシュレンクテル ハフツング ウント コンパニー コマンディートゲゼルシャフト Printer to print objects and print objects
JP2014151604A (en) * 2013-02-13 2014-08-25 Brother Ind Ltd Printer
EP2832547A1 (en) * 2013-07-31 2015-02-04 Brother Kogyo Kabushiki Kaisha Print tape and tape printer
EP2408623A4 (en) * 2009-03-19 2018-01-10 Hewlett-Packard Development Company, L.P. Media roll management
JP2019056843A (en) * 2017-09-21 2019-04-11 ブラザー工業株式会社 Tape and tape cassette
JP2019172421A (en) * 2018-03-28 2019-10-10 株式会社沖データ Sheet medium conveying apparatus, image forming apparatus, and sheet medium conveying method

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007237536A (en) * 2006-03-08 2007-09-20 Brother Ind Ltd Print medium and printer
JP4561660B2 (en) * 2006-03-08 2010-10-13 ブラザー工業株式会社 Printing media and printing device
JP2008109955A (en) * 2006-10-27 2008-05-15 Fukuda Denshi Co Ltd Recording paper and recording device
EP2408623A4 (en) * 2009-03-19 2018-01-10 Hewlett-Packard Development Company, L.P. Media roll management
JP2010221485A (en) * 2009-03-23 2010-10-07 Brother Ind Ltd Print tape, tape printer using print tape, method for determining type and remaining amount of print tape from mark printed in print tape
JP2009255581A (en) * 2009-07-28 2009-11-05 Max Co Ltd Label with release paper and label printer
US9053396B2 (en) 2010-08-12 2015-06-09 Phoenix Contact Gmbh & Co. Kg Printing object and printer for printing a printing object
JP2013540606A (en) * 2010-08-12 2013-11-07 フェニックス コンタクト ゲゼルシャフト ミット ベシュレンクテル ハフツング ウント コンパニー コマンディートゲゼルシャフト Printer to print objects and print objects
JP2014151604A (en) * 2013-02-13 2014-08-25 Brother Ind Ltd Printer
EP2832547A1 (en) * 2013-07-31 2015-02-04 Brother Kogyo Kabushiki Kaisha Print tape and tape printer
US9409418B2 (en) 2013-07-31 2016-08-09 Brother Kogyo Kabushiki Kaisha Print tape and tape printer
JP2019056843A (en) * 2017-09-21 2019-04-11 ブラザー工業株式会社 Tape and tape cassette
CN109720110A (en) * 2017-09-21 2019-05-07 兄弟工业株式会社 Band and tape drum
US10954021B2 (en) 2017-09-21 2021-03-23 Brother Kogyo Kabushiki Kaisha Tape and tape cassette
CN109720110B (en) * 2017-09-21 2022-06-17 兄弟工业株式会社 Tape and tape cassette
JP7110569B2 (en) 2017-09-21 2022-08-02 ブラザー工業株式会社 tapes and tape cassettes
US11643236B2 (en) 2017-09-21 2023-05-09 Brother Kogyo Kabushiki Kaisha Tape and tape cassette
JP2019172421A (en) * 2018-03-28 2019-10-10 株式会社沖データ Sheet medium conveying apparatus, image forming apparatus, and sheet medium conveying method

Similar Documents

Publication Publication Date Title
US8955959B2 (en) Print apparatus
US20060279624A1 (en) Printer, printing control method for a printer and computer program for a printer
JP4398797B2 (en) Medium width detection device
JP2005022130A (en) Method for positioning recording paper sheet for printer, program for performing this method in computer, recording medium recording this program for printer, recording paper sheet for printer, and printer
WO2011064907A1 (en) Validation device
JP4314174B2 (en) Recording apparatus and recording medium conveyance control method in the apparatus
JP2010202307A (en) Method for detecting recording paper and printer
JP4604352B2 (en) Printer, control method therefor, and information recording medium
JP2008238606A (en) Printer
JP2006198859A (en) Recording apparatus and method for controlling recording apparatus
JP4328194B2 (en) Printing device
JP4143001B2 (en) Label continuum and printer
JP5749036B2 (en) Verification device
JP2001058396A (en) Printer
JP6981792B2 (en) Printer and its control method
JP2008213287A (en) Image forming apparatus
JP2005178093A (en) Printer, recording paper information reading method, detection method of remaining amount of recording paper and recording paper roll
JP2005001887A (en) Printer, control method and program of printer
JP2006297798A (en) Threshold setting method and information processor
JP4401073B2 (en) Printing device
JP2006044039A (en) Printer, computer program, printing system, and printing method for printing pattern
JP5098511B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND CONTROL PROGRAM
JP2007153609A (en) Recording medium discriminating device of recorder, recording medium discriminating method of recorder, program and storage medium
JP2008100366A (en) Printer, optical disc duplicating apparatus and method for controlling printer
JP3997132B2 (en) Recording medium and printer using the same

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905