JP3940870B2 - Printer device, printing method and recording medium - Google Patents

Printer device, printing method and recording medium Download PDF

Info

Publication number
JP3940870B2
JP3940870B2 JP35175598A JP35175598A JP3940870B2 JP 3940870 B2 JP3940870 B2 JP 3940870B2 JP 35175598 A JP35175598 A JP 35175598A JP 35175598 A JP35175598 A JP 35175598A JP 3940870 B2 JP3940870 B2 JP 3940870B2
Authority
JP
Japan
Prior art keywords
printing
recording paper
print
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35175598A
Other languages
Japanese (ja)
Other versions
JP2000168158A (en
Inventor
和子 深野
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 JP35175598A priority Critical patent/JP3940870B2/en
Priority to US09/454,898 priority patent/US6633393B1/en
Priority to CA002291901A priority patent/CA2291901C/en
Priority to DE69938119T priority patent/DE69938119T2/en
Priority to EP99124474A priority patent/EP1008455B1/en
Priority to DE69942110T priority patent/DE69942110D1/en
Priority to EP07013245A priority patent/EP1834798B1/en
Priority to CNB991267419A priority patent/CN1155879C/en
Priority to KR1019990056471A priority patent/KR20000048070A/en
Publication of JP2000168158A publication Critical patent/JP2000168158A/en
Priority to HK00107987A priority patent/HK1028659A1/en
Application granted granted Critical
Publication of JP3940870B2 publication Critical patent/JP3940870B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/0095Detecting means for copy material, e.g. for detecting or sensing presence of copy material or its leading or trailing end
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/36Blanking or long feeds; Feeding to a particular line, e.g. by rotation of platen or feed roller
    • B41J11/42Controlling printing material conveyance for accurate alignment of the printing material with the printhead; Print registering
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/36Blanking or long feeds; Feeding to a particular line, e.g. by rotation of platen or feed roller
    • B41J11/42Controlling printing material conveyance for accurate alignment of the printing material with the printhead; Print registering
    • B41J11/46Controlling printing material conveyance for accurate alignment of the printing material with the printhead; Print registering by marks or formations on the paper being fed
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J21/00Column, tabular or like printing arrangements; Means for centralising short lines
    • B41J21/16Column, tabular or like printing arrangements; Means for centralising short lines controlled by the sensing of marks or formations on the paper being typed, an undersheet, or the platen
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/44Typewriters or selective printing mechanisms having dual functions or combined with, or coupled to, apparatus performing other functions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/60Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for printing on both faces of the printing material

Description

【0001】
【発明の属する技術分野】
本発明は、磁気文字などが印刷された単票用紙などの記録用紙の両面に印字データを印字するプリンタ装置及び印字方法に関する。特には、磁気文字などによって記録用紙の表と裏とを自動的に判断して印字データを印字することができるプリンタ装置及び印字方法に関する。
【0002】
【従来の技術】
まず、従来の記録用紙の両面に印字データを印字する方法について説明する。
【0003】
図8は、印字ヘッドとMICR(MagneticInkCharacterRecognition)ヘッドとを有する従来のプリンタ装置における両面印字の処理を示すフローチャートである。
【0004】
図において、従来の両面印字方法では、まず、プリンタ装置は、PC(PersonalComputer)などのホストコンピュータ(以下、単に「ホスト」ともいう)から磁気インク文字の読み取りコマンドを受信する(ステップ801)。プリンタ装置に単票用紙などの記録用紙が挿入されると、その記録用紙に予め印字されている磁気インク文字を読み取り(ステップ802)、その結果をホストへ送信する(ステップ803)。
【0005】
次に、ホストから送信される印字データを受信すると(ステップ804)、記録用紙を印字ヘッドのある印字位置へ搬送する(ステップ805)。そして、印字ヘッドにより記録用紙に受信した印字データを印字する(ステップ806)。印字処理が終了したら、一旦、記録用紙を排出する(ステップ807)。
【0006】
次に、オペレータはプリンタ装置から排出された記録用紙を裏返して再びプリンタ装置に挿入する。プリンタ装置は、記録用紙が挿入されると、記録用紙を印字ヘッドのある印字位置へ搬送する(ステップ808)。そして、ホストから送られてくる印字データを受信し(ステップ809)、印字ヘッドにより記録用紙に印字データを印字する(ステップ810)。印字終了後、記録用紙を排出して(ステップ810)、両面印字処理は終了する。
【0007】
以上のように、従来のプリンタ装置では、ホストから送られてくるデータの順に応じて、先に送られてきた情報を一方の面に印字した後オペレータが記録用紙を裏返し、後に送られてきた情報を他方の面に印字するという処理手順にしたがって両面印字を行っていた。
【0008】
【発明が解決しようとする課題】
しかしながら、従来のプリンタ装置では、ホストから送信される印字データまたは印字コマンドの情報(以下、印字情報という)が、記録用紙の表面に印字するための印字情報か、裏面に印字するための印字情報かを判断することはできなかった。従ってプリンタ装置は、ホストからの印字情報を受信すると、印字をさせたい所望の面か否かに係わらず印字処理を実行していたため、記録用紙の面を誤って挿入された場合であっても、印字が行われ記録用紙が無駄になってしまうという問題があった。
【0009】
また、印字ヘッドとMICRヘッドとが記録紙面に対して同一側に配置されたプリンタ装置と、対向配置されたプリンタ装置とが存在するため、ホストはプリンタの機種(印字ヘッドとMICRヘッドの配置構造)に応じて送信する印字情報の手順を異ならせる、すなわち表面、裏面いずれの印字情報を先に送信するかを切り換える必要があり、処理が煩雑になってしまうという問題があった。
【0010】
本発明はこのような問題点に鑑みてなされたもので、記録用紙の表裏面と印字データを正確に判断し、印字データを正しい印字面に印字することができるプリンタ装置、両面印字方法および記録媒体を提供することを目的とする。
【0011】
【課題を解決するための手段】
【0012】
【0013】
【0014】
【0015】
【0016】
【0017】
上記課題を解決するため、本発明のプリンタ装置は、ホスト装置に接続され、該ホスト装置からの印字コマンド及び印字データに基づいて記録用紙に印字を行うプリンタ装置において、印字コマンドを解析して、印字データを記録用紙の表面に印字するか裏面に印字するかを判別する印字コマンド解析手段と、記録用紙に予め印刷されているマークを読み取るマーク読取り手段と、マーク読取り手段による読み取り結果に基づいて、記録用紙の印字面を判別する印字面判別手段と、記録用紙の一方の面に印字データを印字する第1の印字手段と、第1の印字手段で印字される記録用紙の面とは反対の面に印字データを印字する第2の印字手段と、印字コマンド解析手段によって判別された印字コマンドと、印字面検出手段によって検出された記録用紙の印字面とに基づいて、印字データを対応する印字面に印字するように第1の印字手段と第2の印字手段を制御する制御手段とを有することを特徴とする。
【0018】
また、上記課題を解決するため、本発明の印字方法は、ホスト装置に接続され、該ホスト装置からの印字コマンド及び印字データに基づいて記録用紙に印字を行うプリンタ装置であって、記録用紙の一方の面に印字データを印字する第1の印字手段と、第1の印字手段で印字される記録用紙の面とは反対の面に印字データを印字する第2の印字手段とを有するプリンタ装置の印字方法において、印字コマンドを解析して、印字データを記録用紙の表面に印字するか裏面に印字するかを判別する印字コマンド解析工程と、記録用紙に予め印刷されているマークを読み取るマーク読み取り工程と、読み取り工程の結果に基づいて、記録用紙の印字面を判別する印字面判別工程と、印字コマンド解析工程の判別結果と、印字面判別工程の判別結果とに基づいて、第1の印字手段か第2の印字手段のいずれか一方を選択する印字手段選択工程と、印字手段選択工程により選択された印字手段により、印字データを記録用紙に印字する印字工程とを有することを特徴とする。
【0019】
上述したプリンタ装置及び印字方法によれば、記録用紙の挿入面を判断することによって、記録用紙の挿入面と印字コマンドに応じて印字ヘッドを選択して印字処理を行うので、記録用紙の所望の面に正しく印字データが印字され、記録用紙の無駄を防止し、作業効率を向上させることができる。
【0020】
また、上述したプリンタ装置及び印字方法にいおて、マークは、磁気文字またはバーコードにするとよい。
【0021】
また、本発明の印字方法は、プリンタ装置の制御部で実行可能な制御プログラムとして供給することが可能であり、その制御プログラムを記録した記録媒体を介して提供することができる。記録媒体としてコンパクト・ディスク(CD−ROM)、フロッピー・ディスク、ハード・ディスク、光磁気ディスク、ディジタル・ビデオディスク(DVD−ROM)、もしくは磁気テープを採用することができ、これらの記録媒体を用いて既存のプリンタ装置にプログラムを導入することができる。さらに、これらのプログラムをWWW(WorldWideWeb)サイトに登録し、これを使用者にダウンロードさせて、既存のプリンタ装置にプログラムを導入することができる。
【0022】
【発明の実施の形態】
以下、本発明のプリンタ装置及び両面印字方法について、図面を参照しつつ詳細に説明する。
【0023】
図1は、本発明の第1の参考例となるプリンタ装置の構成の概略を示す図である。このプリンタ装置100は、当該プリンタ装置100の制御機構(図示せず)を備えた本体101と、本体101に設けられ、単票用紙などの記録用紙が挿入される記録用紙挿入口102と、本体101の記録用紙挿入口102近傍に設けられ、挿入された記録用紙に予め印刷されている磁気文字を読み取るMICR(MagneticInkCharacterRecognition)リーダ103と、挿入された記録用紙を所定の位置まで搬送して位置決めをする搬送ローラ104a〜104dと、記録用紙に印字データを印字する印字ヘッド105と、印字ヘッド105に対向配置されたプラテン106と、印字された記録用紙を排出する記録用紙排出機構107とを備えている。
【0024】
また図2は、図1に示した本発明の第1の参考例となるプリンタ装置の制御機構を示す概略図である。この制御機構200は、ホスト220との間で制御コマンドや印字データなどを送受信するI/O(Input/Output)インタフェース(以下、単に「インタフェース」ともいう)201と、インタフェース201を介してホスト220から制御コマンドや印字データなどを受信するデータ受信部202と、データ受信部202で受信した受信データを解析する受信データ解析部203と、挿入された記録用紙の表裏面を判断する挿入面検出処理部207と、印字する記録用紙の面に応じた印字データを一時的に格納するプリントバッファ208と、プリントバッファ208に格納されている印字データを印刷する印刷制御部209と、プリンタ装置の処理状態をインタフェース201を介してホスト220に通知するデータ送信部210と、プリンタ装置100の各構成部を制御する制御部204とを備えている。
【0025】
以下、本発明の第1の参考例となるプリンタ装置の動作について説明する。
【0026】
図3は、記録用紙の表面にデータを印字する方法を示すフローチャートである。図1乃至図3において、プリンタ装置100は、インタフェース201を介してホスト220から送信されたデータをデータ受信部202で受信する。そして、受信データ解析部203でこの受信データを解析する(ステップ301)。この受信データには、記録用紙に印字される印字データと、印字処理を行うための印字コマンドとが含まれている。ここでは、受信データ解析部203でホスト220からの受信データを解析した結果、印字コマンドが記録用紙の表面に印字する命令コマンド(以下、単に「表面印字コマンド」ともいう)であり、印字データが記録用紙の表面に印字されるデータ(以下、単に「表面データ」ともいう)であることが解る。そして、制御部204は、受信データ解析部203での解析結果を受け取り、その結果に応じて以下の印字処理を行う。
【0027】
この印字処理においては、記録用紙が記録用紙挿入口102から挿入されると(ステップ302)、挿入面検出処理部207で記録用紙の挿入面が表面か裏面かを判定する(ステップ303)。具体的には、記録用紙挿入口102から挿入された記録用紙は、搬送ローラ104a、104bなどからなる搬送機構(図示せず)によってMICRリーダ103の所定の位置に搬送されて位置決めされる。そして、MICRリーダ103によって、記録用紙の表面の所定の位置に予め印刷されている磁気文字を読み取る。このとき、MICRリーダ103で磁気波形が読み取れた場合、読み取った磁気波形を挿入面検出処理部207に送る。挿入面検出処理部207では、この磁気波形の受け取りによって、記録用紙が表面か裏面かの識別をする。
【0028】
制御部204は、受信データ解析部203での解析結果と、挿入面検出処理部207での識別結果に基づいて、印字処理またはエラー処理を行う。すなわち、図3において、記録用紙の挿入面が表面と識別した場合(ステップ303)には、制御部204は、受信データ解析部203での解析結果(表面印字コマンド)と記録用紙の挿入面(表面)とが一致しているため(ステップ304)、表面データをプリントバッファ208へ格納する。このとき記録用紙は、搬送機構によって印字ヘッド105の所定の位置まで搬送され位置決めされる。そして印字制御部209は、プリントバッファ208に格納された表面データを印字ヘッド105で記録用紙の表面に印字する(ステップ305)。印字処理が終了したら、印字制御部209は、制御部204に印字終了の信号を送る。制御部204は、この終了信号を受けて、データ送信部210からインタフェース201を介してホスト220に表面印字終了通知を送信する(ステップ306)。
【0029】
一方、挿入面検出処理部207は、MICRリーダ103から磁気波形の信号が受け取れなかった場合には、記録用紙の挿入面が裏面と判断する(ステップ303)。制御部204は、受信データ解析部203での解析結果(表面印字コマンド)と記録用紙の挿入面(裏面)とが一致しないため(ステップ304)、データ送信部210からインタフェース201を介してホスト220に記録用紙の誤挿入通知を送信する(ステップ307)。
【0030】
最後に、プリンタ装置100の記録用紙排出機構107から印字された記録用紙を排出する(ステップ308)。このとき、記録用紙が正しく挿入され表面印字が終了した場合(ステップ306)と、記録用紙が誤って挿入された場合(ステップ307)とで、ステップ308における記録用紙の排出方向を異ならせることが望ましい。例えば、正常終了したときには排出機構106側から排出し、正常終了しなかったときには挿入口102側から排出することができる。これにより、オペレータは印字処理が正常に終了したか否かを容易に判断することができる。また、ホストからの印字データが記録用紙の裏面に印字すべきデータ(以下、単に「裏面データ」ともいう)と印字コマンドが記録用紙の裏面に印字する命令コマンド(以下、単に「裏面印字コマンド」ともいう)を受信した場合においても、同様にして処理することができる。この場合、上述のステップ303〜305を以下のような処理にするとよい。
【0031】
まず、挿入面検出処理部207で、磁気波形の信号が受け取れず記録用紙の挿入面が裏面と識別した場合(ステップ303)には、制御部204は、受信データ解析部203での解析結果(裏面印字コマンド)と記録用紙の挿入面(裏面)とが一致しているため(ステップ304)、裏面データをプリントバッファ208へ格納する。そして、印字制御部209は、プリントバッファ208に格納された裏面データを印字ヘッド105で記録用紙の裏面に印字する(ステップ305)。
【0032】
印字処理が終了したら、印字制御部209は、制御部204に印字終了の信号を送る。制御部204は、この終了信号を受けて、データ送信部210からインタフェース201を介してホスト220に裏面印字終了通知を送信し(ステップ306)、記録用紙を排出する(ステップ308)。
【0033】
一方、挿入面検出処理部207は、MICRリーダ103から磁気波形の信号を受け取った場合には、記録用紙の挿入面が表面と判断する(ステップ303)。制御部204は、受信データ解析部203での解析結果(裏面印字コマンド)と記録用紙の挿入面(表面)とが一致しないため(ステップ304)、データ送信部210からインタフェース201を介してホスト220に記録用紙の誤挿入通知を送信し(ステップ307)、記録用紙を排出する(ステップ308)。
【0034】
記録用紙の排出においては、上述したように印字処理が正常に終了したか否かに応じて排出方向を異ならせることが望ましい。
【0035】
上述した本発明の第1の参考例となるプリンタ装置及び両面印字方法によれば、印字コマンドが指令する印字面と記録用紙の挿入面との対応を判断することによって、プリンタ装置の構成をホストが知らなくても所望の印字結果を得ることができる。また、記録用紙の挿入面が印字コマンドが指令する印字面に対応しない場合には、印字処理を行わないので、記録用紙の無駄を防止することができる。
【0036】
図4は、本発明の第2の参考例となるプリンタ装置の他の構成の概略を示す図である。なお、図において、図1と同様の構成部には同一の符号を付し説明を省略する。このプリンタ装置400は、記録用紙の表裏面を反転させる記録用紙反転機構401を備えている点で、図1のプリンタ装置100と相違する。
【0037】
この記録用紙反転機構401は、記録用紙が進入する進入路402と、記録用紙が退出する退出路403と、進入路402及び退出路403の出入口の開閉を行う分岐弁404〜406とを有する。記録用紙を反転させる場合には、まず、分岐弁404を進入路402の入口が開くように稼動する。このとき分岐弁405は、退出路403の入口を塞いでいる。このようにして、記録用紙を進入路402内の奥(図4では右奥)に一旦格納する。次に、分岐弁405を退出路403の入口が開くように稼動し、また分岐弁406を退出路403の出口が開くように稼動する。この分岐弁405、406の稼動後に、進入路402内の奥に格納されている記録用紙を退出路403から排出する。このようにして、記録用紙の反転が行われる。
【0038】
以下、本発明の第2の参考例となるプリンタ装置の動作について図2、図4、及び図5を用いて説明する。
【0039】
図5は、本発明の第2の参考例となるプリンタ装置における両面印字方法を示すフローチャートである。なお、図において、図3と同様の処理ステップには同一のステップ番号を付している。
【0040】
図において、プリンタ装置400は、記録用紙が記録用紙挿入口102から挿入されると(ステップ302)、挿入面検出処理部207で記録用紙の挿入面が表面か裏面かを判定する(ステップ303)。具体的には、記録用紙挿入口102から挿入された記録用紙は、搬送ローラ104a、104bなどの搬送機構(図示せず)によってMICRリーダ103の所定の位置に搬送されて位置決めされる。そして、MICRリーダ103によって、記録用紙の表面の所定の位置に予め印刷されている磁気文字を読み取る。このとき、MICRリーダ103で磁気波形が読み取れた場合、読み取った磁気波形を挿入面検出処理部207に送る。挿入面検出処理部207では、この磁気波形の受け取りによって記録用紙が表面か裏面かの識別をする。この識別結果は、識別信号として挿入面検出処理部207から制御部204に送られる。
【0041】
制御部204は、この識別信号を受けてデータ送信部210からインタフェース201を介してホスト220に用紙挿入通知を送信する(ステップ501)。ホスト220では、この用紙挿入通知を受けて所定のデータをプリンタ装置400に送信する。
【0042】
また、プリンタ装置400は、インタフェース201を介してホスト220から送信されてきたデータをデータ受信部202で受信する。そして、受信データ解析部203でこの受信データを解析する(ステップ502)。この受信データには、記録用紙に印字される印字データと印字処理を行うための印字コマンド、
又は記録用紙の排出コマンドなどが含まれている。
【0043】
制御部204は、受信データ解析部203での解析結果を受け取り、受信データ解析部203での解析結果と、挿入面検出処理部207での識別結果とに基づいて、以下の印字処理を行う。
【0044】
受信データ解析部203でホスト220からの受信データを解析した結果、印字データが表面データであり、印字コマンドが表面印字コマンドである場合(ステップ503)、制御部204は、受信データ解析部203での解析結果と、挿入面検出処理部207での識別結果とに基づいて、印字処理を行う。
【0045】
すなわち、制御部204は、表面データをプリントバッファ208へ格納する。次に、記録用紙の挿入面が表面と識別した場合(ステップ504)には、制御部204は、受信データ解析部203での解析結果(表面印字コマンド)と記録用紙の挿入面(表面)とが一致しているため、記録用紙は、搬送機構によって印字ヘッド105の所定の位置まで搬送され、位置決めされる。一方、記録用紙の挿入面が裏面と識別した場合(ステップ504)には、上述した記録用紙反転機構402で記録用紙を反転させた(ステップ505)後、印字ヘッド105の所定の位置まで搬送し位置決めする。
【0046】
そして印字制御部209は、プリントバッファ208に格納された表面データを印字ヘッド105で記録用紙の表面に印字する(ステップ506)。印字処理が終了したら、印字制御部209は、制御部204に印字終了の信号を送る。制御部204は、この終了信号を受けてデータ送信部210からインタフェース201を介してホスト220に表面印字終了通知を送信する(ステップ507)。
【0047】
次に、受信データ解析部203でホスト220からの受信データを解析した結果、印字データが裏面データであり、印字コマンドが裏面印字コマンドである場合(ステップ508)、制御部204は、受信データ解析部203での解析結果と、挿入面検出処理部207での識別結果とに基づいて、印字処理を行う。
【0048】
すなわち、制御部204は、裏面データをプリントバッファ208へ格納する。次に、記録用紙の挿入面が裏面と識別した場合(ステップ509)には、制御部204は、受信データ解析部203での解析結果(裏面印字コマンド)と記録用紙の挿入面(裏面)とが一致しているため、記録用紙は、搬送機構によって印字ヘッド105の所定の位置まで搬送され位置決めされる。一方、記録用紙の挿入面が表面と識別した場合(ステップ509)には、上述した記録用紙反転機構402で記録用紙を反転させた(ステップ510)後、印字ヘッド105の所定の位置まで搬送し位置決めする。
【0049】
そして印字制御部209は、プリントバッファ208に格納された裏面データを印字ヘッド105で記録用紙の裏面に印字する(ステップ511)。印字処理が終了したら、印字制御部209は、制御部204に印字終了の信号を送る。制御部204は、この終了信号を受けてデータ送信部210からインタフェース201を介してホスト220に裏面印字終了通知を送信する(ステップ512)。
【0050】
次に、受信データ解析部203でホスト220からの受信データを解析した結果、記録用紙を排出する命令コマンド(以下、単に「排出コマンド」ともいう)である場合(ステップ513)、プリンタ装置400の記録用紙排出機構107から印字された記録用紙を排出する(ステップ514)。
【0051】
なお、受信データ解析部203で解析した受信データに、表面印字コマンド、裏面印字コマンド、排出コマンドの何れのコマンドも含まれていない場合には、印字処理以外の他の処理のコマンドであるため印字処理を終了する(ステップ503、508、513)。
【0052】
上述した本発明の第2の参考例となるプリンタ装置及び両面印字方法によれば、印字データと記録用紙の挿入面との対応を判断することによって、記録用紙の挿入面が印字データに対応しない誤った面である場合には記録用紙を反転させて印字処理を行う。このため、記録用紙には常に正しい印字データが印字され、記録用紙の無駄を防止し、作業効率を向上させることができる。
【0053】
図6は、本発明のプリンタ装置の構成の概略を示す図である。なお、図において、図1と同様の構成部には同一の符号を付し説明を省略する。このプリンタ装置600は、記録用紙に印字する印字機構を2つ有する点で、図1のプリンタ装置100と相違する。すなわち、記録用紙に印字データを印字する印字ヘッド105a、105bと、印字ヘッド105a、105bに対向配置されたプラテン106a、106bとを備えている。図に示すように、印字ヘッド105aと印字ヘッド105bとは用紙搬送路を挟んで対向配置されている。
【0054】
以下、本発明のプリンタ装置の動作について図2、図6、及び図7を用いて説明する。
【0055】
図7は、本発明のプリンタ装置における両面印字方法を示すフローチャートである。なお、図において、図5と同様の処理ステップには同一のステップ番号を付している。
【0056】
図において、プリンタ装置600は、記録用紙が記録用紙挿入口102から挿入されると(ステップ302)、挿入面検出処理部207で記録用紙の挿入面が表面か裏面かを判定する(ステップ303)。具体的には、記録用紙挿入口102から挿入された記録用紙は、搬送ローラ104a、104bなどの搬送機構(図示せず)によってMICRリーダ103の所定の位置に搬送されて位置決めされる。そして、MICRリーダ103によって、記録用紙の表面の所定の位置に予め印刷されている磁気文字を読み取る。このとき、MICRリーダ103で磁気波形が読み取れた場合、読み取った磁気波形を挿入面検出処理部207に送る。挿入面検出処理部207では、この磁気波形の受け取りによって記録用紙が表面か裏面かの識別をする。この識別結果は、識別信号として挿入面検出処理部207から制御部204に送られる。
【0057】
また、プリンタ装置600は、インタフェース201を介してホスト220から送信されてきたデータをデータ受信部202で受信する。そして、受信データ解析部203でこの受信データを解析する(ステップ502)。この受信データには、記録用紙に印字される印字データと印字処理を行うための印字コマンド、又は記録用紙の排出コマンドなどが含まれている。
【0058】
制御部204は、受信データ解析部203での解析結果を受け取り、受信データ解析部203での解析結果と、挿入面検出処理部207での識別結果とに基づいて、以下の印字処理を行う。
【0059】
受信データ解析部203でホスト220からの受信データを解析した結果、印字データが表面データであり、印字コマンドが表面印字コマンドである場合(ステップ503)、制御部204は、受信データ解析部203での解析結果と、挿入面検出処理部207での識別結果とに基づいて、印字処理を行う。
【0060】
すなわち、制御部204は、表面データをプリントバッファ208へ格納する。次に、記録用紙の挿入面が表面と識別した場合(ステップ504)には、印字制御部209は、記録用紙を搬送機構によって印字ヘッド105aの所定の位置まで搬送し位置決めする。そして印字制御部209は、プリントバッファ208に格納された表面データを印字ヘッド105aで記録用紙の表面に印字する(ステップ701)。
【0061】
一方、記録用紙の挿入面が裏面と識別した場合(ステップ504)には、印字制御部209は、記録用紙を搬送機構によって印字ヘッド105bの所定の位置まで搬送し位置決めする。そして印字制御部209は、プリントバッファ208に格納された表面データを印字ヘッド105bで記録用紙の表面に印字する(ステップ702)。印字処理が終了したら、ステップ502に戻り、他のコマンドの解析を行う(ステップ502)。
【0062】
次に、受信データ解析部203でホスト220からの受信データを解析した結果、印字データが裏面データであり、印字コマンドが裏面印字コマンドである場合(ステップ508)、制御部204は、受信データ解析部203での解析結果と、挿入面検出処理部207での識別結果とに基づいて、印字処理を行う。
【0063】
すなわち、制御部204は、裏面データをプリントバッファ208へ格納する。次に、記録用紙の挿入面が裏面と識別した場合(ステップ509)には、印字制御部209は、記録用紙を搬送機構によって印字ヘッド105aの所定の位置まで搬送し位置決めする。そして、印字制御部209は、プリントバッファ208に格納された裏面データを印字ヘッド105aで記録用紙の裏面に印字する(ステップ703)。
【0064】
一方、記録用紙の挿入面が表面と識別した場合(ステップ509)には、印字制御部209は、記録用紙を搬送機構によって印字ヘッド105bの所定の位置まで搬送し位置決めする。そして印字制御部209は、プリントバッファ208に格納された裏面データを印字ヘッド105bで記録用紙の裏面に印字する(ステップ704)。印字処理が終了したら、ステップ502に戻り、他のコマンドの解析を行う(ステップ502)。
【0065】
次に、受信データ解析部203でホスト220からの受信データを解析した結果、記録用紙を排出する排出コマンドである場合(ステップ513)、プリンタ装置600の記録用紙排出機構107から印字された記録用紙を排出する(ステップ514)。
【0066】
なお、受信データ解析部203で解析した受信データに、表面印字コマンド、裏面印字コマンド、排出コマンドの何れのコマンドも含まれていない場合には、印字処理以外の他の処理のコマンドであるため印字処理を終了する(ステップ503、508、513)。
【0067】
上述した本発明のプリンタ装置及び両面印字方法によれば、記録用紙の挿入面を判断することによって、記録用紙の挿入面と印字データに応じて印字ヘッドを選択して印字処理を行う。このため、記録用紙には常に正しい印字データが印字され、記録用紙の無駄を防止し、作業効率を向上させることができる。
【0068】
以上、本発明のプリンタ装置及び両面印字方法の実施の形態を示したが、挿入面検出処理部207での記録用紙の挿入面をバーコードや記録用紙の形状などで識別することもできる。このとき、バーコードで識別する場合にはMICRリ−ダをバーコードリーダに換えればよく、記録用紙の形状で識別する場合には光センサにするとよい。
【0069】
また、図1及び図4に示したプリンタ装置の構成においては、MICRリーダと印字ヘッドとが用紙搬送路に対し同一面に設置されているため挿入面が表のとき印字面が表となる実施の形態を示しているが、挿入面が表のとき印字面が裏となる構成のプリンタ装置においても同様の処理が可能である。
【0070】
【発明の効果】
【0071】
【0072】
以上述べたとおり、本発明の形態のプリンタ装置及び両面印字方法によれば、記録用紙の挿入面を判断することによって、記録用紙の挿入面と印字コマンドに応じて印字ヘッドを選択して印字処理を行うので、記録用紙の所望の面に正しく印字データが印字され、記録用紙の無駄を防止し、作業効率を向上させることができる。
【0073】
また、本発明のプリンタ装置及び両面印字方法によれば、ホスト側の制御プログラムは、プリンタ装置の機種に応じて制御を切り換える必要がなく制御が容易になる。
【図面の簡単な説明】
【図1】 本発明の第1の参考例によるプリンタ装置の実施の一形態を示す概略図である。
【図2】 本発明の第1の参考例によるプリンタ装置の制御機構の実施の一形態を示す概略図である。
【図3】 本発明の第1の参考例による両面印字方法(記録用紙の表面にデータを印字する方法)を示すフローチャートである。
【図4】 本発明の第2の参考例によるプリンタ装置の実施の一形態を示す概略図である。
【図5】 本発明の第2の参考例による両面印字方法を示すフローチャートである。
【図6】 本発明によるプリンタ装置の実施の一形態を示す概略図である。
【図7】 本発明による両面印字方法を示すフローチャートである。
【図8】 従来の両面印字方法を示すフローチャートである。
【符号の説明】
100、400、600 プリンタ装置
101 本体
102 記録用紙挿入口
103 MICRリーダ
104a〜104e 搬送ローラ
105、105a、105b 印字ヘッド
106、106a、106b プラテン
107 記録用紙排出機構
200 制御機構
201 インタフェース
202 データ受信部
203 受信データ解析部
204 制御部
207 挿入面検出処理部
208 プリントバッファ
209 印刷制御部
210 データ送信部
220 ホスト
401 記録用紙反転機構
402 進入路
403 退出路
404、405、406 分岐弁
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer apparatus and a printing method for printing print data on both sides of a recording sheet such as a cut sheet on which magnetic characters are printed. In particular, the present invention relates to a printer apparatus and a printing method that can automatically print out print data by automatically determining the front and back of a recording sheet using magnetic characters or the like.
[0002]
[Prior art]
First, a method for printing print data on both sides of a conventional recording sheet will be described.
[0003]
FIG. 8 is a flowchart showing a duplex printing process in a conventional printer apparatus having a print head and a MICR (Magnetic Ink Character Recognition) head.
[0004]
In the figure, in the conventional double-sided printing method, first, the printer apparatus receives a magnetic ink character reading command from a host computer (hereinafter also simply referred to as “host”) such as a PC (Personal Computer) (step 801). When a recording sheet such as a cut sheet is inserted into the printer, the magnetic ink characters printed in advance on the recording sheet are read (step 802), and the result is transmitted to the host (step 803).
[0005]
Next, when print data transmitted from the host is received (step 804), the recording paper is conveyed to a print position where the print head is located (step 805). Then, the received print data is printed on the recording paper by the print head (step 806). When the printing process is completed, the recording paper is once discharged (step 807).
[0006]
Next, the operator turns over the recording sheet discharged from the printer apparatus and inserts it again into the printer apparatus. When the recording paper is inserted, the printer device conveys the recording paper to a printing position where the print head is located (step 808). The print data sent from the host is received (step 809), and the print data is printed on the recording paper by the print head (step 810). After the printing is finished, the recording paper is discharged (step 810), and the double-sided printing process is finished.
[0007]
As described above, according to the order of the data sent from the host, the conventional printer device prints the information sent earlier on one side, and then the operator turns the recording paper over and sends it later. Double-sided printing was performed according to the processing procedure of printing information on the other side.
[0008]
[Problems to be solved by the invention]
However, in the conventional printer, the print data or print command information (hereinafter referred to as print information) transmitted from the host is the print information for printing on the front side of the recording paper or the print information for printing on the back side. I couldn't judge. Therefore, when the printer device receives the print information from the host, it executes the print process regardless of the desired surface to be printed. Therefore, even if the surface of the recording paper is inserted by mistake, There is a problem that printing is performed and the recording paper is wasted.
[0009]
Further, since there is a printer device in which the print head and the MICR head are arranged on the same side with respect to the recording paper surface, and a printer device in which the print head and the MICR head are arranged to face each other, the host is the printer model (print head and MICR head arrangement structure). ), The procedure of the print information to be transmitted needs to be changed, that is, it is necessary to switch whether the print information on the front side or the back side is transmitted first, and there is a problem that the processing becomes complicated.
[0010]
The present invention has been made in view of the above problems, and can accurately determine the front and back surfaces of recording paper and print data, and can print the print data on the correct print surface, double-sided printing method, and recording. The purpose is to provide a medium.
[0011]
[Means for Solving the Problems]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
In order to solve the above problems, a printer device of the present invention is connected to a host device, and in a printer device that prints on recording paper based on a print command and print data from the host device, the print command is analyzed, Based on the print command analysis means for discriminating whether the print data is printed on the front surface or the back surface of the recording paper, the mark reading means for reading a mark printed in advance on the recording paper, and the reading result by the mark reading means The print surface discriminating means for discriminating the print surface of the recording paper, the first printing means for printing the print data on one side of the recording paper, and the surface of the recording paper printed by the first printing means are opposite to each other The second printing means for printing the print data on the surface of the print, the print command determined by the print command analysis means, and the detection by the print surface detection means Based on the printing surface of the recording sheet, and having a control means for controlling the first printing means and the second printing means to print on the printing surface corresponding to print data.
[0018]
In order to solve the above-described problems, a printing method of the present invention is a printer device connected to a host device and performing printing on recording paper based on a print command and print data from the host device. A printer apparatus having a first printing unit for printing print data on one side and a second printing unit for printing print data on a side opposite to the side of the recording paper printed by the first printing unit In this printing method, a print command analysis process for analyzing the print command and determining whether the print data is printed on the front surface or the back surface of the recording paper, and a mark reading for reading a mark printed in advance on the recording paper A printing surface discriminating step for discriminating the printing surface of the recording paper based on the results of the process and the reading step; a discrimination result of the printing command analysis step; a discrimination result of the printing surface discrimination step; A printing means selection step for selecting one of the first printing means and the second printing means, and a printing step for printing print data on a recording sheet by the printing means selected by the printing means selection step; It is characterized by having.
[0019]
According to the printer apparatus and the printing method described above, by determining the insertion surface of the recording paper, the print head is selected according to the insertion surface of the recording paper and the print command, and the printing process is performed. The print data is correctly printed on the surface, the waste of the recording paper can be prevented, and the working efficiency can be improved.
[0020]
In the printer apparatus and printing method described above, the mark may be a magnetic character or a barcode.
[0021]
The printing method of the present invention can be supplied as a control program that can be executed by the control unit of the printer apparatus, and can be provided via a recording medium that records the control program. As a recording medium, a compact disk (CD-ROM), a floppy disk, a hard disk, a magneto-optical disk, a digital video disk (DVD-ROM), or a magnetic tape can be adopted, and these recording media are used. Thus, the program can be introduced into an existing printer apparatus. Furthermore, these programs can be registered on the WWW (World Wide Web) site, downloaded by the user, and installed in existing printer apparatuses.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a printer device and a duplex printing method of the present invention will be described in detail with reference to the drawings.
[0023]
FIG. 1 is a diagram showing an outline of the configuration of a printer apparatus as a first reference example of the present invention. The printer apparatus 100 includes a main body 101 provided with a control mechanism (not shown) of the printer apparatus 100, a recording paper insertion port 102 provided in the main body 101 into which a recording paper such as a cut sheet is inserted, and a main body. A MICR (MagneticInkCharacterRecognition) reader 103 is provided near the recording paper insertion slot 102 of 101, and reads magnetic characters pre-printed on the inserted recording paper, and the inserted recording paper is conveyed to a predetermined position for positioning. Conveying rollers 104a to 104d, a print head 105 that prints print data on a recording sheet, a platen 106 disposed opposite to the print head 105, and a recording sheet discharge mechanism 107 that discharges the printed recording sheet. Yes.
[0024]
FIG. 2 is a schematic diagram showing a control mechanism of the printer apparatus as the first reference example of the present invention shown in FIG. The control mechanism 200 includes an I / O (Input / Output) interface (hereinafter also simply referred to as “interface”) 201 for transmitting and receiving control commands and print data to and from the host 220, and the host 220 via the interface 201. A data receiving unit 202 that receives control commands, print data, and the like, a received data analyzing unit 203 that analyzes the received data received by the data receiving unit 202, and an insertion surface detection process that determines the front and back surfaces of the inserted recording paper Unit 207, print buffer 208 that temporarily stores print data corresponding to the surface of the recording paper to be printed, print control unit 209 that prints the print data stored in print buffer 208, and processing status of the printer device A data transmission unit 210 that notifies the host 220 via the interface 201; And a control unit 204 for controlling the respective components of the apparatus 100.
[0025]
The operation of the printer apparatus according to the first reference example of the present invention will be described below.
[0026]
FIG. 3 is a flowchart showing a method for printing data on the surface of a recording sheet. 1 to 3, the printer apparatus 100 receives data transmitted from the host 220 via the interface 201 by the data receiving unit 202. Then, the received data analysis unit 203 analyzes this received data (step 301). The received data includes print data to be printed on the recording paper and a print command for performing print processing. Here, as a result of analyzing the reception data from the host 220 by the reception data analysis unit 203, the print command is a command command for printing on the surface of the recording paper (hereinafter also simply referred to as “front surface print command”), and the print data is It can be seen that the data is printed on the surface of the recording paper (hereinafter also simply referred to as “surface data”). And the control part 204 receives the analysis result in the received data analysis part 203, and performs the following printing processes according to the result.
[0027]
In this printing process, when a recording sheet is inserted from the recording sheet insertion slot 102 (step 302), the insertion surface detection processing unit 207 determines whether the recording sheet insertion surface is the front side or the back side (step 303). Specifically, the recording paper inserted from the recording paper insertion slot 102 is conveyed and positioned at a predetermined position of the MICR reader 103 by a conveyance mechanism (not shown) including conveyance rollers 104a and 104b. Then, the MICR reader 103 reads a magnetic character printed in advance at a predetermined position on the surface of the recording paper. At this time, when the magnetic waveform is read by the MICR reader 103, the read magnetic waveform is sent to the insertion surface detection processing unit 207. The insertion surface detection processing unit 207 identifies whether the recording paper is the front surface or the back surface by receiving the magnetic waveform.
[0028]
The control unit 204 performs a printing process or an error process based on the analysis result in the reception data analysis unit 203 and the identification result in the insertion surface detection processing unit 207. That is, in FIG. 3, when the recording paper insertion surface is identified as the front surface (step 303), the control unit 204 analyzes the analysis result (front surface printing command) in the received data analysis unit 203 and the recording paper insertion surface ( (Surface) matches the surface (step 304), the surface data is stored in the print buffer 208. At this time, the recording sheet is conveyed and positioned to a predetermined position of the print head 105 by the conveying mechanism. Then, the print controller 209 prints the surface data stored in the print buffer 208 on the surface of the recording paper with the print head 105 (step 305). When the printing process is completed, the print control unit 209 sends a print end signal to the control unit 204. In response to this end signal, the control unit 204 transmits a front surface print end notification from the data transmission unit 210 to the host 220 via the interface 201 (step 306).
[0029]
On the other hand, if no magnetic waveform signal is received from the MICR reader 103, the insertion surface detection processing unit 207 determines that the insertion surface of the recording paper is the back surface (step 303). Since the analysis result (front surface print command) in the received data analysis unit 203 and the insertion surface (back surface) of the recording paper do not match (step 304), the control unit 204 causes the host 220 from the data transmission unit 210 via the interface 201. A notification of erroneous insertion of the recording sheet is transmitted to (step 307).
[0030]
Finally, the printed recording paper is discharged from the recording paper discharge mechanism 107 of the printer apparatus 100 (step 308). At this time, the recording paper ejection direction in step 308 may be different depending on whether the recording paper is correctly inserted and the front surface printing is completed (step 306) or when the recording paper is erroneously inserted (step 307). desirable. For example, it can be discharged from the discharge mechanism 106 side when it ends normally, and it can be discharged from the insertion port 102 side when it does not end normally. As a result, the operator can easily determine whether or not the printing process has ended normally. In addition, print data from the host is data to be printed on the back side of the recording paper (hereinafter also simply referred to as “back side data”) and a command command for printing the back side of the recording paper (hereinafter simply referred to as “back side print command”). Can be processed in the same manner. In this case, the above-described steps 303 to 305 may be processed as follows.
[0031]
First, when the insertion surface detection processing unit 207 cannot receive a magnetic waveform signal and the insertion surface of the recording sheet is identified as the back surface (step 303), the control unit 204 analyzes the result of the reception data analysis unit 203 ( Since the back side print command and the recording paper insertion side (back side) match (step 304), the back side data is stored in the print buffer 208. Then, the print control unit 209 prints the back side data stored in the print buffer 208 on the back side of the recording paper with the print head 105 (step 305).
[0032]
When the printing process is completed, the print control unit 209 sends a print end signal to the control unit 204. In response to this end signal, the control unit 204 transmits a back side print end notification from the data transmission unit 210 to the host 220 via the interface 201 (step 306), and discharges the recording paper (step 308).
[0033]
On the other hand, when receiving the magnetic waveform signal from the MICR reader 103, the insertion surface detection processing unit 207 determines that the insertion surface of the recording sheet is the front surface (step 303). Since the analysis result (back side print command) in the received data analysis unit 203 and the insertion surface (front side) of the recording paper do not match (step 304), the control unit 204 causes the host 220 from the data transmission unit 210 via the interface 201. Incorrect recording paper insertion notification is transmitted to the printer (step 307), and the recording paper is discharged (step 308).
[0034]
In discharging the recording paper, it is desirable to change the discharge direction depending on whether or not the printing process is normally completed as described above.
[0035]
According to the above-described printer apparatus and double-sided printing method of the first embodiment of the present invention, the configuration of the printer apparatus can be controlled by determining the correspondence between the print surface commanded by the print command and the recording paper insertion surface. A desired print result can be obtained without knowing. In addition, when the insertion surface of the recording paper does not correspond to the printing surface designated by the printing command, the printing process is not performed, so that waste of the recording paper can be prevented.
[0036]
FIG. 4 is a diagram showing an outline of another configuration of the printer apparatus according to the second reference example of the present invention. In the figure, the same components as those in FIG. The printer device 400 is different from the printer device 100 of FIG. 1 in that it includes a recording paper reversing mechanism 401 that reverses the front and back surfaces of the recording paper.
[0037]
The recording sheet reversing mechanism 401 includes an entry path 402 through which the recording sheet enters, an exit path 403 from which the recording sheet exits, and branch valves 404 to 406 that open and close the entrance and exit of the entrance path 402 and the exit path 403. When reversing the recording paper, first, the branch valve 404 is operated so that the inlet of the entrance path 402 is opened. At this time, the branch valve 405 blocks the entrance of the exit path 403. In this manner, the recording sheet is temporarily stored in the back (in the right side in FIG. 4) in the approach path 402. Next, the branch valve 405 is operated so that the inlet of the exit path 403 is opened, and the branch valve 406 is operated so that the outlet of the exit path 403 is opened. After the branch valves 405 and 406 are operated, the recording paper stored in the back of the entrance path 402 is discharged from the exit path 403. In this way, the recording paper is reversed.
[0038]
Hereinafter, the operation of the printer apparatus according to the second reference example of the present invention will be described with reference to FIG. 2, FIG. 4, and FIG.
[0039]
FIG. 5 is a flowchart showing a double-sided printing method in a printer apparatus as a second reference example of the present invention. In the figure, the same step numbers are assigned to the same processing steps as in FIG.
[0040]
In the figure, when a recording sheet is inserted from the recording sheet insertion slot 102 (step 302), the printer device 400 determines whether the insertion surface of the recording sheet is the front side or the back side by the insertion surface detection processing unit 207 (step 303). . Specifically, the recording paper inserted from the recording paper insertion slot 102 is conveyed to a predetermined position of the MICR reader 103 and positioned by a conveyance mechanism (not shown) such as conveyance rollers 104a and 104b. Then, the MICR reader 103 reads a magnetic character printed in advance at a predetermined position on the surface of the recording paper. At this time, when the magnetic waveform is read by the MICR reader 103, the read magnetic waveform is sent to the insertion surface detection processing unit 207. The insertion surface detection processing unit 207 identifies whether the recording sheet is the front surface or the back surface by receiving the magnetic waveform. This identification result is sent from the insertion surface detection processing unit 207 to the control unit 204 as an identification signal.
[0041]
Upon receiving this identification signal, the control unit 204 transmits a paper insertion notification from the data transmission unit 210 to the host 220 via the interface 201 (step 501). The host 220 receives the paper insertion notification and transmits predetermined data to the printer device 400.
[0042]
In the printer apparatus 400, the data receiving unit 202 receives data transmitted from the host 220 via the interface 201. The received data analysis unit 203 analyzes the received data (step 502). The received data includes print data to be printed on the recording paper and a print command for performing print processing.
Or a recording paper discharge command or the like is included.
[0043]
The control unit 204 receives the analysis result from the reception data analysis unit 203, and performs the following print processing based on the analysis result from the reception data analysis unit 203 and the identification result from the insertion surface detection processing unit 207.
[0044]
When the reception data analysis unit 203 analyzes the reception data from the host 220 and the print data is surface data and the print command is the surface print command (step 503), the control unit 204 uses the reception data analysis unit 203. The print processing is performed based on the analysis result and the identification result in the insertion surface detection processing unit 207.
[0045]
That is, the control unit 204 stores the surface data in the print buffer 208. Next, when the recording paper insertion surface is identified as the front surface (step 504), the control unit 204 determines the analysis result (front surface printing command) in the received data analysis unit 203 and the recording paper insertion surface (front surface). Therefore, the recording paper is transported to a predetermined position of the print head 105 by the transport mechanism and positioned. On the other hand, when the insertion surface of the recording paper is identified as the back surface (step 504), the recording paper is reversed by the recording paper reversing mechanism 402 described above (step 505) and then conveyed to a predetermined position of the print head 105. Position.
[0046]
Then, the print controller 209 prints the surface data stored in the print buffer 208 on the surface of the recording paper with the print head 105 (step 506). When the printing process is completed, the print control unit 209 sends a print end signal to the control unit 204. Upon receiving this end signal, the control unit 204 transmits a front surface printing end notification from the data transmission unit 210 to the host 220 via the interface 201 (step 507).
[0047]
Next, when the received data from the host 220 is analyzed by the received data analysis unit 203, if the print data is the back side data and the print command is the back side print command (step 508), the control unit 204 receives the received data analysis. Printing processing is performed based on the analysis result in the unit 203 and the identification result in the insertion surface detection processing unit 207.
[0048]
That is, the control unit 204 stores the back surface data in the print buffer 208. Next, when the recording paper insertion surface is identified as the back surface (step 509), the control unit 204 determines the analysis result (back surface printing command) in the received data analysis unit 203 and the recording paper insertion surface (back surface). Therefore, the recording paper is conveyed and positioned to a predetermined position of the print head 105 by the conveyance mechanism. On the other hand, when the insertion surface of the recording paper is identified as the front surface (step 509), the recording paper is reversed by the recording paper reversing mechanism 402 described above (step 510) and then conveyed to a predetermined position of the print head 105. Position.
[0049]
Then, the print control unit 209 prints the back side data stored in the print buffer 208 on the back side of the recording paper with the print head 105 (step 511). When the printing process is completed, the print control unit 209 sends a print end signal to the control unit 204. In response to this end signal, the control unit 204 transmits a back side print end notification from the data transmission unit 210 to the host 220 via the interface 201 (step 512).
[0050]
Next, as a result of analyzing the received data from the host 220 by the received data analysis unit 203, if it is a command command for discharging the recording paper (hereinafter also simply referred to as “discharge command”) (step 513), the printer device 400 The printed recording sheet is discharged from the recording sheet discharge mechanism 107 (step 514).
[0051]
If the received data analyzed by the received data analysis unit 203 does not include any of the front side print command, the back side print command, and the discharge command, the command is printed because it is a command for processing other than print processing. The process ends (steps 503, 508, and 513).
[0052]
According to the printer apparatus and the double-sided printing method as the second reference example of the present invention described above, the insertion surface of the recording paper does not correspond to the print data by determining the correspondence between the print data and the insertion surface of the recording paper. If it is the wrong side, the recording paper is reversed and the printing process is performed. For this reason, the correct print data is always printed on the recording paper, the waste of the recording paper can be prevented, and the working efficiency can be improved.
[0053]
FIG. 6 is a diagram showing an outline of the configuration of the printer apparatus of the present invention. In the figure, the same components as those in FIG. This printer device 600 is different from the printer device 100 of FIG. 1 in that it has two printing mechanisms for printing on recording paper. In other words, print heads 105a and 105b for printing print data on recording paper and platens 106a and 106b arranged to face the print heads 105a and 105b are provided. As shown in the figure, the print head 105a and the print head 105b are disposed to face each other with the paper conveyance path interposed therebetween.
[0054]
Hereinafter, the operation of the printer apparatus of the present invention will be described with reference to FIGS. 2, 6, and 7. FIG.
[0055]
FIG. 7 is a flowchart showing a double-sided printing method in the printer apparatus of the present invention. In the figure, the same step numbers are assigned to the processing steps similar to those in FIG.
[0056]
In the figure, when a recording sheet is inserted from the recording sheet insertion slot 102 (step 302), the printer apparatus 600 determines whether the insertion surface of the recording sheet is the front side or the back side by the insertion surface detection processing unit 207 (step 303). . Specifically, the recording paper inserted from the recording paper insertion slot 102 is conveyed to a predetermined position of the MICR reader 103 and positioned by a conveyance mechanism (not shown) such as conveyance rollers 104a and 104b. Then, the MICR reader 103 reads a magnetic character printed in advance at a predetermined position on the surface of the recording paper. At this time, when the magnetic waveform is read by the MICR reader 103, the read magnetic waveform is sent to the insertion surface detection processing unit 207. The insertion surface detection processing unit 207 identifies whether the recording sheet is the front surface or the back surface by receiving the magnetic waveform. This identification result is sent from the insertion surface detection processing unit 207 to the control unit 204 as an identification signal.
[0057]
Further, the printer apparatus 600 receives data transmitted from the host 220 via the interface 201 by the data receiving unit 202. The received data analysis unit 203 analyzes the received data (step 502). The received data includes print data to be printed on the recording paper, a print command for performing print processing, or a discharge command for the recording paper.
[0058]
The control unit 204 receives the analysis result from the reception data analysis unit 203, and performs the following print processing based on the analysis result from the reception data analysis unit 203 and the identification result from the insertion surface detection processing unit 207.
[0059]
When the reception data analysis unit 203 analyzes the reception data from the host 220 and the print data is surface data and the print command is the surface print command (step 503), the control unit 204 uses the reception data analysis unit 203. The print processing is performed based on the analysis result and the identification result in the insertion surface detection processing unit 207.
[0060]
That is, the control unit 204 stores the surface data in the print buffer 208. Next, when the insertion surface of the recording paper is identified as the front surface (step 504), the print control unit 209 conveys and positions the recording paper to a predetermined position of the print head 105a by the conveyance mechanism. Then, the print controller 209 prints the surface data stored in the print buffer 208 on the surface of the recording paper with the print head 105a (step 701).
[0061]
On the other hand, when the insertion surface of the recording paper is identified as the back surface (step 504), the print control unit 209 conveys the recording paper to a predetermined position of the print head 105b by the conveyance mechanism and positions it. Then, the print controller 209 prints the surface data stored in the print buffer 208 on the surface of the recording paper with the print head 105b (step 702). When the printing process is completed, the process returns to step 502 to analyze other commands (step 502).
[0062]
Next, when the received data from the host 220 is analyzed by the received data analysis unit 203, if the print data is the back side data and the print command is the back side print command (step 508), the control unit 204 receives the received data analysis. Printing processing is performed based on the analysis result in the unit 203 and the identification result in the insertion surface detection processing unit 207.
[0063]
That is, the control unit 204 stores the back surface data in the print buffer 208. Next, when the insertion surface of the recording paper is identified as the back surface (step 509), the print control unit 209 conveys the recording paper to a predetermined position of the print head 105a by the conveyance mechanism and positions it. Then, the print control unit 209 prints the back side data stored in the print buffer 208 on the back side of the recording paper with the print head 105a (step 703).
[0064]
On the other hand, when the insertion surface of the recording paper is identified as the front surface (step 509), the print control unit 209 conveys the recording paper to a predetermined position of the print head 105b by the conveyance mechanism and positions it. Then, the print control unit 209 prints the back side data stored in the print buffer 208 on the back side of the recording paper with the print head 105b (step 704). When the printing process is completed, the process returns to step 502 to analyze other commands (step 502).
[0065]
Next, as a result of analyzing the received data from the host 220 by the received data analysis unit 203, if the output command is a discharge command for discharging the recording paper (step 513), the recording paper printed from the recording paper discharge mechanism 107 of the printer device 600 Is discharged (step 514).
[0066]
If the received data analyzed by the received data analysis unit 203 does not include any of the front side print command, the back side print command, and the discharge command, the command is printed because it is a command for processing other than print processing. The process ends (steps 503, 508, and 513).
[0067]
According to the above-described printer device and double-sided printing method of the present invention, by determining the insertion surface of the recording paper, the print head is selected according to the insertion surface of the recording paper and the print data to perform the printing process. For this reason, the correct print data is always printed on the recording paper, the waste of the recording paper can be prevented, and the working efficiency can be improved.
[0068]
Although the embodiment of the printer apparatus and the double-sided printing method of the present invention has been described above, the insertion surface of the recording paper in the insertion surface detection processing unit 207 can be identified by a barcode, the shape of the recording paper, or the like. At this time, the MICR reader may be replaced with a barcode reader when identified by a barcode, and an optical sensor may be employed when identified by the shape of a recording sheet.
[0069]
In the configuration of the printer apparatus shown in FIGS. 1 and 4, since the MICR reader and the print head are installed on the same surface with respect to the paper conveyance path, the print surface becomes the front surface when the insertion surface is the front surface. However, the same processing can be performed in a printer apparatus configured such that when the insertion surface is the front side and the printing surface is the back side.
[0070]
【The invention's effect】
[0071]
[0072]
As described above, according to the printer device and the double-sided printing method of the present invention, by determining the insertion surface of the recording paper, the print head is selected according to the recording paper insertion surface and the print command, and the printing process is performed. Therefore, the print data is correctly printed on the desired surface of the recording paper, the waste of the recording paper can be prevented, and the working efficiency can be improved.
[0073]
Further, according to the printer apparatus and the double-sided printing method of the present invention, the control program on the host side does not need to be switched according to the model of the printer apparatus and can be easily controlled.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing an embodiment of a printer apparatus according to a first reference example of the present invention.
FIG. 2 is a schematic diagram showing an embodiment of a control mechanism of a printer apparatus according to a first reference example of the present invention.
FIG. 3 is a flowchart showing a double-sided printing method (a method for printing data on the surface of a recording paper) according to a first reference example of the present invention.
FIG. 4 is a schematic diagram showing an embodiment of a printer apparatus according to a second reference example of the present invention.
FIG. 5 is a flowchart showing a double-sided printing method according to a second reference example of the present invention.
FIG. 6 is a schematic diagram showing an embodiment of a printer apparatus according to the present invention.
FIG. 7 is a flowchart showing a double-sided printing method according to the present invention.
FIG. 8 is a flowchart showing a conventional double-sided printing method.
[Explanation of symbols]
100, 400, 600 Printer device
101 body
102 Recording paper insertion slot
103 MICR reader
104a to 104e Conveying roller
105, 105a, 105b Print head
106, 106a, 106b Platen
107 Recording paper discharge mechanism
200 Control mechanism
201 interface
202 Data receiver
203 Received data analysis unit
204 Control unit
207 Insertion surface detection processing unit
208 Print buffer
209 Print control unit
210 Data transmitter
220 hosts
401 Recording paper reversing mechanism
402 approach
403 Exit
404, 405, 406 Branch valve

Claims (5)

ホスト装置に接続され、該ホスト装置からの印字コマンド及び印字データに基づいて記録用紙に印字を行うプリンタ装置において、
前記印字コマンドを解析して、前記印字データを前記記録用紙の表面に印字するか裏面に印字するかを判別する印字コマンド解析手段と、
前記記録用紙に予め印刷されているマークを読み取るマーク読取り手段と、
前記マーク読取り手段による読み取り結果に基づいて、前記記録用紙の印字面を判別する印字面判別手段と、
前記記録用紙の一方の面に前記印字データを印字する第1の印字手段と、
前記第1の印字手段で印字される前記記録用紙の面とは反対の面に前記印字データを印字する第2の印字手段と、
前記印字コマンド解析手段によって判別された前記印字コマンドと、前記印字面検出手段によって検出された前記記録用紙の前記印字面とに基づいて、前記印字データを対応する前記印字面に印字するように前記第1の印字手段と前記第2の印字手段を制御する制御手段と、
を有することを特徴とするプリンタ装置。
In a printer device connected to a host device and performing printing on recording paper based on a print command and print data from the host device,
Print command analysis means for analyzing the print command and determining whether the print data is printed on the front surface or the back surface of the recording paper;
Mark reading means for reading a mark preprinted on the recording paper;
A printing surface discriminating means for discriminating a printing surface of the recording paper based on a reading result by the mark reading unit;
First printing means for printing the print data on one surface of the recording paper;
Second printing means for printing the print data on a surface opposite to the surface of the recording paper printed by the first printing means;
Based on the print command determined by the print command analyzing unit and the print surface of the recording paper detected by the print surface detecting unit, the print data is printed on the corresponding print surface. Control means for controlling the first printing means and the second printing means;
A printer apparatus comprising:
前記マークは、磁気文字またはバーコードであることを特徴とする請求項1記載のプリンタ装置。  The printer according to claim 1, wherein the mark is a magnetic character or a barcode. ホスト装置に接続され、該ホスト装置からの印字コマンド及び印字データに基づいて記録用紙に印字を行うプリンタ装置であって、前記記録用紙の一方の面に印字データを印字する第1の印字手段と、前記第1の印字手段で印字される前記記録用紙の面とは反対の面に印字データを印字する第2の印字手段とを有するプリンタ装置の印字方法において、
前記印字コマンドを解析して、前記印字データを前記記録用紙の表面に印字するか裏面に印字するかを判別する印字コマンド解析工程と、
前記記録用紙に予め印刷されているマークを読み取るマーク読み取り工程と、
前記読み取り工程の結果に基づいて、前記記録用紙の印字面を判別する印字面判別工程と、
前記印字コマンド解析工程の判別結果と、前記印字面判別工程の判別結果とに基づいて、前記第1の印字手段か前記第2の印字手段のいずれか一方を選択する印字手段選択工程と、
前記印字手段選択工程により選択された印字手段により、前記印字データを前記記録用紙に印字する印字工程と、
を有することを特徴とする印字方法。
A printer device connected to a host device and performing printing on a recording paper based on a printing command and printing data from the host device, wherein the printing device prints printing data on one surface of the recording paper; In a printing method for a printer apparatus, comprising: a second printing means for printing print data on a surface opposite to the surface of the recording paper printed by the first printing means;
A print command analysis step of analyzing the print command and determining whether the print data is printed on the front surface or the back surface of the recording paper;
A mark reading step for reading a mark printed in advance on the recording paper;
A printing surface discriminating step for discriminating a printing surface of the recording paper based on the result of the reading step;
A printing unit selection step of selecting either the first printing unit or the second printing unit based on the determination result of the printing command analysis step and the determination result of the printing surface determination step;
A printing step of printing the print data on the recording paper by the printing means selected in the printing means selection step;
A printing method characterized by comprising:
前記マークは、磁気文字またはバーコードであることを特徴とする請求項3記載の印字方法。  The printing method according to claim 3, wherein the mark is a magnetic character or a barcode. ホスト装置に接続され、該ホスト装置からの印字コマンド及び印字データに基づいて記録用紙に印字を行うプリンタ装置であって、前記記録用紙の一方の面に印字データを印字する第1の印字手段と、前記第1の印字手段で印字される前記記録用紙の面とは反対の面に印字データを印字する第2の印字手段とを有するプリンタ装置の制御部に、
前記印字コマンドを解析して、前記印字データを前記記録用紙の表面に印字するか裏面に印字するかを判別する印字コマンド解析ステップと、
前記記録用紙に予め印刷されているマークを読み取るマーク読み取りステップと、
前記読み取りステップの結果に基づいて、前記記録用紙の印字面を判別する印字面判別ステップと、
前記印字コマンド解析ステップの判別結果と、前記印字面判別ステップの判別結果とに基づいて、前記第1の印字手段か前記第2の印字手段のいずれか一方を選択する印字手段選択ステップと、
前記印字手段選択ステップにより選択された印字手段により、前記印字データを前記記録用紙に印字する印字ステップと、
を実行させるための制御プログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。
A printer device connected to a host device and performing printing on a recording paper based on a printing command and printing data from the host device, wherein the printing device prints printing data on one surface of the recording paper; A control unit of a printer apparatus having a second printing unit for printing print data on a surface opposite to the surface of the recording paper printed by the first printing unit;
A print command analyzing step of analyzing the print command and determining whether the print data is printed on the front surface or the back surface of the recording paper;
A mark reading step for reading a mark preprinted on the recording paper;
A printing surface determination step of determining a printing surface of the recording paper based on the result of the reading step;
A printing unit selection step for selecting either the first printing unit or the second printing unit based on the determination result of the printing command analysis step and the determination result of the printing surface determination step;
A printing step of printing the print data on the recording paper by the printing means selected in the printing means selection step;
A computer-readable recording medium on which a control program for executing the program is recorded.
JP35175598A 1998-12-10 1998-12-10 Printer device, printing method and recording medium Expired - Fee Related JP3940870B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP35175598A JP3940870B2 (en) 1998-12-10 1998-12-10 Printer device, printing method and recording medium
US09/454,898 US6633393B1 (en) 1998-12-10 1999-12-03 Printer, a control method therefor, and a control method storage medium
CA002291901A CA2291901C (en) 1998-12-10 1999-12-07 Printing apparatus, method of controlling it and storage medium
EP99124474A EP1008455B1 (en) 1998-12-10 1999-12-08 Printer and method of controlling it
DE69942110T DE69942110D1 (en) 1998-12-10 1999-12-08 Printer and control method for it
EP07013245A EP1834798B1 (en) 1998-12-10 1999-12-08 Printer and method of controlling it
DE69938119T DE69938119T2 (en) 1998-12-10 1999-12-08 Printer and method for its control
CNB991267419A CN1155879C (en) 1998-12-10 1999-12-10 Printer and its controlling method, and information recording media
KR1019990056471A KR20000048070A (en) 1998-12-10 1999-12-10 Printing apparatus, method of controlling it and storage medium
HK00107987A HK1028659A1 (en) 1998-12-10 2000-12-12 A printer and a control method thereof.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35175598A JP3940870B2 (en) 1998-12-10 1998-12-10 Printer device, printing method and recording medium

Publications (2)

Publication Number Publication Date
JP2000168158A JP2000168158A (en) 2000-06-20
JP3940870B2 true JP3940870B2 (en) 2007-07-04

Family

ID=18419391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35175598A Expired - Fee Related JP3940870B2 (en) 1998-12-10 1998-12-10 Printer device, printing method and recording medium

Country Status (2)

Country Link
JP (1) JP3940870B2 (en)
KR (1) KR20000048070A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7325342B2 (en) 2020-01-08 2023-08-14 東芝テック株式会社 thermal printer and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02212174A (en) * 1989-02-14 1990-08-23 Brother Ind Ltd Double-side recording apparatus
JPH06166214A (en) * 1992-11-30 1994-06-14 Brother Ind Ltd Printer
JPH06171797A (en) * 1992-12-03 1994-06-21 Ricoh Co Ltd Obverse/reverse judging system for cut paper sheet for printing
JPH08241017A (en) * 1995-03-06 1996-09-17 Canon Inc Device and method for outputting image
JPH0930073A (en) * 1995-07-20 1997-02-04 Fujitsu Ltd Record medium and printing device
KR100221140B1 (en) * 1997-06-27 1999-09-15 전주범 Printer

Also Published As

Publication number Publication date
JP2000168158A (en) 2000-06-20
KR20000048070A (en) 2000-07-25

Similar Documents

Publication Publication Date Title
EP1918854B1 (en) Method and apparatus for processing recording media having magnetic ink characters printed thereon
JP3940870B2 (en) Printer device, printing method and recording medium
CA2291901C (en) Printing apparatus, method of controlling it and storage medium
JPH11129551A (en) Composite processor and recording medium processing method
JP2000280576A (en) Printer and its control method
JP3127091B2 (en) Additional printing processing method
JP2000296653A (en) Recording medium and recording method
KR100536278B1 (en) Medium handling equipment for dealings
US6504623B1 (en) Printing apparatus, a control method therefor and a computer readable information storage medium for recording a control program therefor
JPS6136274B2 (en)
JP3531303B2 (en) Printer and control method thereof
JPS60101067A (en) Paper handling system of printer
JP3912465B2 (en) Recording medium processing apparatus, control method thereof, and recording medium recording the program
JP4507625B2 (en) Single-sheet paper reading device, composite processing device, and single-sheet paper reading processing method
JP2827821B2 (en) Medium take-in / transport device
JP4469597B2 (en) Ticket gate and ticket gate method
JP2928050B2 (en) Passbook voucher printer
JP2002015356A (en) Bankbook handling device
JP2002264426A (en) Booklet processor
JP2001118118A (en) Printer and online terminal device
JPH05181994A (en) Reader
JPH07246743A (en) Passbook handling device
JP2003312073A (en) Medium processing apparatus
JPH05189530A (en) Automatic teller machine
JPH0848459A (en) Printer, printing system using the same, and control for the printer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061003

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061201

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061201

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070307

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070320

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140413

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees