JP2010030088A - Control method for printer, and printer - Google Patents
Control method for printer, and printer Download PDFInfo
- Publication number
- JP2010030088A JP2010030088A JP2008193182A JP2008193182A JP2010030088A JP 2010030088 A JP2010030088 A JP 2010030088A JP 2008193182 A JP2008193182 A JP 2008193182A JP 2008193182 A JP2008193182 A JP 2008193182A JP 2010030088 A JP2010030088 A JP 2010030088A
- Authority
- JP
- Japan
- Prior art keywords
- paper
- printer
- detection mode
- printing
- print data
- 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
Links
Images
Abstract
Description
本発明は、複数の種類の印刷媒体に印刷可能なプリンタおよびその制御方法に関し、特に、プリンタ側の設定と印刷データが適合しない場合に所定のエラー状態に移行するプリンタおよびその制御方法に関する。 The present invention relates to a printer capable of printing on a plurality of types of print media and a control method thereof, and more particularly to a printer that shifts to a predetermined error state when a setting on the printer side and print data do not match and a control method thereof.
従来から、プリンタの状態をステータスモニタによってホスト装置側で把握しておき、プリンタの設定や現在セットされている印刷用紙と印刷データとの適合性をプリンタドライバ側でチェックして、不適合であれば所定のエラー処理などを行う印刷システムが提案されている。 Conventionally, the status of the printer is grasped on the host device side by the status monitor, and the printer driver side is checked for compatibility between the printer settings and the currently set print paper and print data. A printing system that performs predetermined error processing has been proposed.
また、特許文献1には、プリンタ側でプリンタの設定と受信した印刷データの適合性をチェックし、不適合であればエラー状態に移行して、ユーザによる処置が行われるのを待つプリンタが提案されている。特許文献1のプリンタは、登録コマンドなどによって指定された用紙サイズをプリンタ内の記憶部に記憶して設定用紙サイズとして管理する。そして、印刷データを受信すると、印刷データ中で指定される用紙サイズと設定用紙サイズが一致するか否か判断し、異なっている場合には用紙サイズエラーであると判断して操作パネルにエラー表示を行うと共に、印刷データで指定された用紙サイズをプリンタに登録するか否かの選択をユーザに行わせるための表示を行う。
特許文献1のプリンタでは、ステータスモニタが動作せずホスト装置側でプリンタの設定を確認できなくても、プリンタ側でプリンタの設定と印刷データとの不適合の有無を判断でき、ホスト装置からの指示がなくてもエラー状態に移行したり、エラー状態を解消するための処置をユーザに促す表示を行ったりすることができる。
In the printer of
しかしながら、特許文献1のプリンタは用紙サイズの適合性のチェックを行うだけであるので、用紙サイズ以外の設定の適合性はチェックすることができず、記録紙上のラベルやマークなどの位置決め基準の種類やその検出方法などに応じて異なる用紙検出モードの設定と、印刷データで指定されている用紙の種類とが適合しているか否かについてはチェックすることはできなかった。従って、用紙検出モードと印刷対象の用紙種類が異なっている状態のまま印刷が実行されてしまって印刷が失敗する恐れがあり、印刷用紙が無駄になる恐れがあった。
However, since the printer of
本発明の課題は、このような点に鑑みて、印刷媒体の種類に応じて異なる印刷媒体の検出モードを使い分けて印刷するプリンタにおいて、印刷媒体に対して適切な検出モードで印刷を行うことができない場合にはプリンタ側でそのことを検出して、印刷が失敗しないように処理することが可能なプリンタおよびプリンタの制御方法を提案することにある。 In view of these points, an object of the present invention is to perform printing in an appropriate detection mode for a print medium in a printer that uses different print medium detection modes depending on the type of print medium. If it is not possible, a printer and a printer control method capable of detecting the fact on the printer side and processing so that printing does not fail are proposed.
上記課題を解決するために、本発明のプリンタの制御方法は、
複数種類の印刷媒体のそれぞれに対応する印刷媒体検出モードのいずれかを、印刷時に用いる印刷媒体検出モードとして設定し、
受信した印刷データと、設定した前記印刷媒体検出モードとの間に不整合があるか否かを判定し、
不整合があると判定した場合には、当該印刷データの印刷を開始せずに所定のエラー状態に移行することを特徴としている。
In order to solve the above problems, a printer control method of the present invention includes:
One of the print medium detection modes corresponding to each of a plurality of types of print media is set as the print medium detection mode used during printing,
Determining whether there is a mismatch between the received print data and the set print medium detection mode;
When it is determined that there is a mismatch, the printing data is shifted to a predetermined error state without starting printing.
本発明は、このように、プリンタ側で、予め設定している印刷媒体検出モードと受信した印刷データの内容との間に不整合がないかどうかチェックできるので、不整合がある場合にはプリンタ側でそのことを検出して、印刷開始前に自動的に所定のエラー状態に移行する。よって、失敗する可能性が高い印刷がそのまま実行されてしまうことによる印刷媒体やインクなどの消耗品の無駄な消費を抑制できる。 In this way, the present invention can check whether there is a mismatch between the preset print medium detection mode and the content of the received print data on the printer side. This is detected on the side, and automatically shifts to a predetermined error state before starting printing. Therefore, it is possible to suppress wasteful consumption of consumables such as a print medium and ink due to printing that is highly likely to fail.
本発明において、前記印刷媒体検出モードの設定を含む設定データを受信すると、当該設定データに基づき、前記印刷媒体検出モードの設定を行い、当該設定を終了すると、設定後の前記印刷媒体検出モードと、受信した印刷データとの間に不整合があるか否かを判定し、不整合があると判定した場合には、当該印刷データの印刷を開始せずに所定のエラー状態に移行するとよい。このように、印刷媒体検出モードの設定などを行う設定処理から抜けたときに不整合の有無の判定を行えば、新たな設定内容における不整合を直ちに検出できる。よって、失敗する可能性が高い印刷をより確実に防止できる。 In the present invention, when the setting data including the setting of the print medium detection mode is received, the print medium detection mode is set based on the setting data, and when the setting is completed, the print medium detection mode after the setting is set. Then, it is determined whether or not there is a mismatch with the received print data, and when it is determined that there is a mismatch, the printing data may be shifted to a predetermined error state without starting printing. As described above, if determination is made as to whether or not there is a mismatch when the setting process for setting the print medium detection mode or the like is exited, it is possible to immediately detect a mismatch in the new setting content. Therefore, it is possible to more reliably prevent printing that is highly likely to fail.
また、本発明において、前記印刷媒体は記録紙であり、前記印刷媒体検出モードは、前記記録紙の用紙種類に応じて予め設定されている複数の用紙検出モードであり、受信した印刷データに含まれる印刷対象の記録紙の用紙種類が、記憶している前記用紙検出モードによって検出可能な用紙種類であるか否かを判定し、検出可能でないと判定した場合には、前記印刷データの印刷を開始せずに用紙種類エラー状態に移行するとよい。このようにすると、検出できない種類の記録紙への印刷動作を開始してしまうことがないので、記録紙を無駄にしなくて済む。 In the present invention, the print medium is recording paper, and the print medium detection mode is a plurality of paper detection modes set in advance according to the paper type of the recording paper, and is included in the received print data. It is determined whether or not the type of recording paper to be printed is a paper type that can be detected by the stored paper detection mode. If it is determined that the recording type is not detectable, printing of the print data is performed. It is better to shift to the paper type error state without starting. In this way, since the printing operation on the undetectable type of recording paper is not started, it is not necessary to waste the recording paper.
ここで、前記複数の用紙検出モードは、剥離台紙上にラベルが所定の間隔で貼り付けられているラベル用紙を、前記ラベル間のギャップに基づいて検出するラベル間ギャップ検出モードと、所定の目印が所定の間隔で付されている目印付き用紙を、前記目印に基づいて検出する目印検出モードと、前記ラベル間ギャップおよび前記目印を備えていない前記記録紙を検出する連続紙検出モードと、を含んでいる。このように、本発明では、ラベル用紙、目印付き用紙、および連続紙の各記録紙に対して、各記録紙を確実に検出できる設定状態のときだけ印刷動作を実行するように制御することができる。 Here, the plurality of paper detection modes include an inter-label gap detection mode for detecting a label paper in which labels are pasted on a peeling mount at predetermined intervals based on a gap between the labels, and a predetermined mark. Is a mark detection mode for detecting a mark-added paper attached at a predetermined interval based on the mark, and a continuous paper detection mode for detecting the recording paper without the gap between labels and the mark. Contains. As described above, according to the present invention, it is possible to perform control so that the printing operation is executed only for the recording paper of the label paper, the mark paper, and the continuous paper when the recording paper is in a set state where the recording paper can be reliably detected. it can.
次に、本発明のプリンタは、前記印刷媒体を検出する検出部と、当該検出部による複数の前記印刷媒体検出モードと、設定した前記印刷媒体検出モードを記憶する記憶部と、受信した印刷データの印刷を、前記記憶部から読み出した設定した前記印刷媒体検出モードに基づいて実行する制御部と、を有し、前記制御部は、受信した印刷データと前記記憶部から読み出した設定した前記印刷媒体検出モードとの間の不整合の判定および当該判定結果に基づく所定のエラー状態への移行を、上記のプリンタの制御方法により行うことを特徴としている。 Next, the printer of the present invention includes a detection unit that detects the print medium, a plurality of the print medium detection modes by the detection unit, a storage unit that stores the set print medium detection mode, and received print data A control unit that executes printing based on the set print medium detection mode read from the storage unit, and the control unit receives the received print data and the set print that has been read from the storage unit. It is characterized in that determination of inconsistency with the medium detection mode and transition to a predetermined error state based on the determination result are performed by the above-described printer control method.
本発明によれば、プリンタ側で、予め設定している印刷媒体検出モードと受信した印刷データの内容との間に不整合がないかどうかチェックできるので、不整合がある場合にはプリンタ側でそのことを検出して、印刷開始前に自動的に所定のエラー状態に移行する。よって、失敗する可能性が高い印刷がそのまま実行されてしまうことによる印刷媒体やインクなどの消耗品の無駄な消費を抑制できる。 According to the present invention, the printer can check whether there is a mismatch between the preset print medium detection mode and the content of the received print data. When this is detected, the printer automatically shifts to a predetermined error state before starting printing. Therefore, it is possible to suppress wasteful consumption of consumables such as a print medium and ink due to printing that is highly likely to fail.
以下に、図面を参照して、本発明のプリンタおよびその制御方法の実施の形態を説明する。 Embodiments of a printer and a control method thereof according to the present invention will be described below with reference to the drawings.
(全体構成)
図1は本発明を適用したインクジェット方式のプリンタの外観斜視図であり、図2はプリンタの開閉蓋を全開にした状態の外観斜視図である。プリンタ1は、全体としてほぼ直方体形状をしたプリンタ本体2と、当該プリンタ本体2の前面に取り付けた開閉蓋3とを有している。プリンタ本体2の外装ケース2aの前面には所定幅の排出口4が形成されている。排出口4の下側には排紙ガイド5が前方に突出しており、当該排紙ガイド5の側方には蓋開閉レバー6が配置されている。外装ケース2aにおける排紙ガイド5および蓋開閉レバー6の下側には、ロール紙出し入れ用の矩形の開口部2bが形成されており、この開口部2bが開閉蓋3によって封鎖されている。
(overall structure)
FIG. 1 is an external perspective view of an ink jet printer to which the present invention is applied, and FIG. 2 is an external perspective view in a state where an opening / closing lid of the printer is fully opened. The
蓋開閉レバー6を操作すると開閉蓋3のロックが解除される。ロック解除後、排紙ガイド5を前方に引くと、開閉蓋3はその下端部を中心として前方に旋回し、ほぼ水平となるまで開く。開閉蓋3が開くと、図2に示すように、プリンタ内部に形成されているロール紙収納部11(印刷媒体装填部)が開放状態となる。同時に、ロール紙収納部11から排出口4に到る搬送路A(図3参照)が開放状態となり、プリンタ前方からロール紙12の交換作業などを簡単に行うことができる。なお、図2では開閉蓋3および蓋開閉レバー6を省略してある。
When the lid opening /
外装ケース2aの所定位置には、プリンタ1内の各種エラーを報知するための図示しないエラーランプが取り付けられている。エラーランプは、エラーの種類に対応付けて複数設けることができ、その種類としては、例えば、開閉蓋3が開いているカバーオープンエラー状態を報知するランプ、ロール紙収納部11に装填されているロール紙12を使い切った場合に点灯するランプ、搬送路A上の記録紙12aの用紙種類がプリンタ1に記憶保持されている設定データあるいは受信した印刷データで指定されている用紙種類と異なっている場合に点灯するランプ、紙ジャムが発生した場合に点灯するランプ、その他の正常な印刷が困難な場合に点灯するその他エラーランプ、等がある。
An error lamp (not shown) for notifying various errors in the
図3はプリンタ1の内部の概略構成を示す説明図である。ロール紙収納部11には、ロール紙12が、プリンタ幅方向に向いた横置き状態で転動可能に収納されている。ロール紙12は、一定幅の長尺状の記録紙12aをロール状に巻き付けたものである。
FIG. 3 is an explanatory diagram showing a schematic configuration inside the
ロール紙収納部11の上側には、プリンタ本体フレーム10の上端に水平に取り付けられたヘッドユニットフレーム13が配置されている。ヘッドユニットフレーム13には、インクジェットヘッド14、インクジェットヘッド14を搭載しているキャリッジ15、キャリッジ15のプリンタ幅方向への移動をガイドするキャリッジガイド軸16が配置されている。インクジェットヘッド14は、インクノズル面14aが下向きになるようにキャリッジ15に搭載されている。また、ロール紙収納部11の上側には、キャリッジ15をキャリッジガイド軸16に沿って往復移動させるためのキャリッジモータ17およびタイミングベルト18を備えたキャリッジ搬送機構が配置されている。
A
インクジェットヘッド14の下側には、プリンタ幅方向に水平に延びるプラテン19がインクノズル面14aと一定のギャップを隔てて対向配置されており、プラテン19によってインクジェットヘッド14の印字位置が規定されている。プラテン19の後端には、下方に湾曲しているテンションガイド20が取り付けられている。
A
プラテン19の後側(搬送方向上流側)には、後側紙送りローラ21および後側紙押えローラ22がプリンタ幅方向に水平に架け渡されている。後側紙送りローラ21には、記録紙12aを介して後側紙押えローラ22が上側から所定の押圧力で押し付けられている。また、プラテン19の前端側(搬送方向下流側)には、前側紙送りローラ23および前側紙押えローラ24が配置されている。前側紙送りローラ23には、記録紙12aを介して前側紙押えローラ24が上側から押し付けられている。後側紙送りローラ21および前側紙送りローラ23は、プリンタ本体フレーム10に搭載されている紙送りモータ25によって同期して回転駆動される。
On the rear side of the platen 19 (upstream in the transport direction), a rear
搬送路Aのインクジェットヘッド14よりも上流側には、紙検出器26が配置されている。紙検出器26は、反射型フォトセンサあるいは透過型フォトセンサにより構成されており、搬送路A上に引き出されている記録紙12aからの反射光あるいは透過光を利用して、記録紙12aの有無、および、記録紙12aの用紙種類を検出する。
A
ロール紙収納部11内のロール紙12から繰り出される記録紙12aは、テンションガイド20によって所定の張力が付与された状態で、プラテン19上の印字位置を経由する搬送路A(図3に示す太い一点鎖線)に沿って搬送され、排出口4から引き出された状態にセットされる。この状態で紙送りモータ25が駆動制御されると、後側紙送りローラ21および前側紙送りローラ23が回転し、記録紙12aが一定の搬送量ずつ紙送りされる。そして、記録紙12aの紙送りと同期してインクジェットヘッド14が駆動され、印刷位置を通過する記録紙12aの表面に印刷が行われる。その後、印刷済みの記録紙12aが排出口4から排出された状態で搬送が停止し、排出口4の近傍に配置されたオートカッタ28によって記録紙12aの先端部分が切断され、印刷済みの記録紙片が発行される。
The
(制御系)
図4は、プリンタ1の制御系を示す概略ブロック図である。プリンタ1の制御系は、CPU、ROM、RAMなどを備えた制御部30を中心に構成されている。また、制御部30には、フラッシュROMなどの不揮発性メモリ33が接続されている。制御部30には、送受信部31を介して、ホスト装置32などの上位機器から印刷データやコマンドなどが供給される。制御部30は、ホスト装置32などからの印刷指令に基づき、ロール紙を送り出す紙送り機構やキャリッジ搬送機構などの各部の駆動を制御して、紙送り動作および印刷動作を実行する。
(Control system)
FIG. 4 is a schematic block diagram showing a control system of the
制御部30の出力側には、ヘッドドライバ14bを介してインクジェットヘッド14が接続されており、制御部30は、ヘッドドライバ14bを介してインクジェットヘッド14を駆動制御する。また、制御部30の出力側には、モータドライバ17aおよびモータドライバ25aを介してキャリッジモータ17および紙送りモータ25が接続されており、制御部30は、モータドライバ25a,17aを介して紙送りモータ25およびキャリッジモータ17を駆動制御する。制御部30は、紙送りモータ25を送り出し方向に駆動制御するステップ数あるいは回転量を積算することにより、記録紙12aの所定の搬送量を算出する。
The
図5は、プリンタ1で印刷が可能な記録紙12aの説明図である。プリンタ1は、長尺の剥離台紙12bの表面に一定間隔で定型のラベル12cが剥離可能な状態で貼り付けられているラベル用紙P1、ラベル用紙P1における各ラベル12c上の所定位置に印刷基準位置を示すブラックマーク12dが付されたマーク付きラベル用紙P2、ラベルが貼り付けられていないマーク付き連続紙P3、マーク無しの無地の連続紙P4などの複数種類の記録紙12aへの印刷が可能である。また、ラベル用紙P1やマーク付きラベル用紙P2、マーク付き連続紙P3については、ラベル12cやブラックマーク12dの配置や寸法などが異なる用紙種類がある。また、無地の連続紙P4については、紙質が異なる用紙種類がある。さらに、剥離台紙12b上に無地の長尺のラベル12eを剥離可能な状態で張り付けた全面ラベル用紙などの連続紙も用いられる。更に、これらの記録紙12aの紙幅やラベル幅を適宜変更した用紙種類がある。なお、ブラックマーク12dの代わりに他のマークを付したり切り欠きを形成してもよい。
FIG. 5 is an explanatory diagram of the
そのため、プリンタ1の制御部30は、ロール紙収納部11に装填されているロール紙12を構成する記録紙12aの種類(ラベルやブラックマークの配置や紙質、紙幅などの各種仕様)に対応させて、各種類の記録紙12aにおける印刷位置やインクの吐出量などを制御するための用紙別の印刷制御情報を保持している。すなわち、プリンタ1の不揮発性メモリ33には、このプリンタ1で印刷が可能な多種類の記録紙12aに対応する多種類の印刷制御情報が予め記憶されている。
Therefore, the
また、制御部30の入力側には紙検出器26が接続されている。プリンタ1の不揮発性メモリ33には、紙検出器26による紙検出モード(印刷媒体検出モード/用紙検出モード)が、記録紙12aの種類に対応付けて予め記憶されている。紙検出モードは、紙検出器26の検出出力に基づいて記録紙12aの用紙種類の判別を行い、記録紙12a上の各部分の位置を把握するための制御モードである。各紙検出モードは、各記録紙12a上の位置決め基準に対応して決定されており、記録紙12a上のブラックマーク12dを位置決め基準として扱うBM(ブラックマーク)検出モード、記録紙12a上のラベル間ギャップG(図5参照)を位置決め基準として扱うギャップ検出モード、ブラックマーク12dあるいはラベル間ギャップGを位置決め基準として扱わない連続紙モード、等が設定されている。プリンタ1が記憶している印刷設定の中には、これらの紙検出モードのいずれを用いるかが含まれている。
A
制御部30は、印刷を行うときには、その時点でプリンタ1が記憶している印刷設定を参照し、印刷設定で指定されている紙検出モードによる制御を行って、ロール紙収納部11に装填されている記録紙12a上の位置決め基準を検出して、記録紙12a上の各部分の搬送位置を把握する。例えば、ロール紙12から引き出されて搬送路A上に装填された記録紙12aを所定量ずつ搬送する毎に紙検出器26による検出動作を行う。そして、検出出力に基づいて、ブラックマーク12dやラベル間ギャップGなどの位置決め基準の有無やその位置、寸法などを把握して記録紙12aの用紙の種類を判別すると共に、記録紙12aの各部分の搬送位置を把握する。そして、制御部30は、判別した用紙の種類に基づいて対応する印刷制御情報を読み出してプリンタ1の各部を制御することにより、各用紙に対する最適な印刷を行うことができる。
When printing, the
(用紙種類エラーの判定処理)
次に、プリンタ1が受信した印刷データの印刷開始前に行う用紙種類エラーの判定処理について説明する。制御部30は、印刷データを受信したときには、当該印刷データに含まれている印刷対象の用紙の種類が、プリンタ1に現在記憶されている印刷設定に含まれる紙検出モードと適合しているか否かを判定する。
(Paper type error judgment process)
Next, a paper type error determination process performed before the printing of the print data received by the
そして、この判定において、現在設定されている紙検出モードと印刷データで指定されている用紙の種類が適合していると判定された場合には、設定されている紙検出モードで印刷動作を開始する。一方、適合していないと判定された場合には、用紙種類エラーであると判定して所定のエラー状態に移行する処理を行う。用紙種類エラー状態は、プリンタ1が印刷停止状態となり、所定のエラー解除動作が行われるのを待機している状態である。この状態でエラー解除動作が行われると、プリンタ1を印刷可能状態に復帰させる処理が行われる。
In this determination, if it is determined that the currently set paper detection mode and the paper type specified in the print data are compatible, the printing operation starts in the set paper detection mode. To do. On the other hand, if it is determined that they are not suitable, it is determined that a paper type error has occurred, and processing for shifting to a predetermined error state is performed. The paper type error state is a state in which the
図6は、用紙種類エラーの判定処理のフローチャートである。以下、ラベル用紙P1、マーク付きラベル用紙P2、マーク付き連続紙P3、連続紙P4の記録紙12aのいずれかへの印刷が行われる場合について説明する。制御部30は、この判定処理に先立って、現在記憶している印刷設定中の紙検出モードを読み出すと共に、受信した印刷データを解析して、印刷対象として指定されている用紙の種類の情報を取得する。
FIG. 6 is a flowchart of a paper type error determination process. Hereinafter, a case where printing is performed on any one of the label paper P1, the marked label paper P2, the marked continuous paper P3, and the continuous paper P4 on the
制御部30は、まず、ステップS1において、記憶している紙検出モードがラベル検出モードであるか否かを判定する。ラベル検出モードであると判定した場合(ステップS1:Yes)には、ステップS2に進み、印刷対象の用紙の種類が、ラベル用紙P1またはマーク付きラベル用紙P2であるか否かを判定する。この判定でラベル用紙P1またはマーク付きラベル用紙P2であると判定した場合には(ステップS2:Yes)、用紙の種類と紙検出モードが不適合ではないと判定して用紙種類エラーの判定処理を終了する。よって、この場合は、印刷が開始される。なお、この場合には、マーク付きラベル用紙P2の位置決め基準をラベル間ギャップGとする。
First, in step S1, the
一方、ラベル用紙P1またはマーク付きラベル用紙P2ではないと判定した場合には(ステップS2:No)、用紙の種類と紙検出モードが不適合であると判定して、ステップS3に進み、用紙種類エラー状態に移行する。 On the other hand, if it is determined that it is not the label paper P1 or the labeled label paper P2 (step S2: No), it is determined that the paper type and the paper detection mode are incompatible, and the process proceeds to step S3, where a paper type error is detected. Transition to the state.
一方、ステップS1においてラベル検出モードでないと判定した場合(ステップS1:No)には、ステップS4に進み、記憶している紙検出モードがBM検出モードであるか否かを判定する。BM検出モードであると判定した場合(ステップS4:Yes)には、ステップS5に進み、印刷対象の用紙の種類が、マーク付きラベル用紙P2またはマーク付き連続紙P3であるか否かを判定する。この判定でマーク付きラベル用紙P2またはマーク付き連続紙P3であると判定された場合には(ステップS5:Yes)、用紙の種類と紙検出モードが不適合ではないと判定して用紙種類エラーの判定処理を終了する。よって、この場合は、印刷が開始される。なお、この場合には、マーク付きラベル用紙P2の位置決め基準をブラックマーク12dとする。
On the other hand, if it is determined in step S1 that the label detection mode is not selected (step S1: No), the process proceeds to step S4, and it is determined whether or not the stored paper detection mode is the BM detection mode. If it is determined that the mode is the BM detection mode (step S4: Yes), the process proceeds to step S5, and it is determined whether the type of paper to be printed is the marked label paper P2 or the marked continuous paper P3. . If it is determined that the label paper P2 is marked or the continuous paper P3 is marked (step S5: Yes), it is determined that the paper type is not incompatible with the paper detection mode, and a paper type error is determined. The process ends. Therefore, in this case, printing is started. In this case, the positioning reference of the marked label paper P2 is the
一方、マーク付きラベル用紙P2またはマーク付き連続紙P3ではないと判定された場合には(ステップS5:No)、用紙の種類と紙検出モードが不適合であると判定して、ステップS3に進み、用紙種類エラー状態に移行する。 On the other hand, when it is determined that the label paper P2 is not marked or the continuous paper P3 is marked (step S5: No), it is determined that the paper type and the paper detection mode are incompatible, and the process proceeds to step S3. Transitions to a paper type error state.
そして、ステップS4において、記憶している紙検出モードがBM検出モードではないと判定した場合には、ステップS6に進み、印刷対象の用紙の種類が、連続紙P4であるか否かを判定する。この判定で連続紙P4であると判定された場合には(ステップS6:Yes)、用紙の種類と紙検出モードが不適合ではないと判定して用紙種類エラーの判定処理を終了する。よって、この場合は、印刷が開始される。 If it is determined in step S4 that the stored paper detection mode is not the BM detection mode, the process proceeds to step S6, and it is determined whether the type of paper to be printed is continuous paper P4. . If it is determined in this determination that the paper is continuous paper P4 (step S6: Yes), it is determined that the paper type and the paper detection mode are not incompatible, and the paper type error determination process is terminated. Therefore, in this case, printing is started.
一方、連続紙P4ではないと判定された場合には(ステップS6:No)、用紙の種類と紙検出モードが不適合であると判定して、ステップS3に進み、用紙種類エラー状態に移行する。 On the other hand, if it is determined that the paper is not continuous paper P4 (step S6: No), it is determined that the paper type and the paper detection mode are incompatible, the process proceeds to step S3, and a paper type error state is entered.
以上の用紙種類エラーの判定処理を行うことにより、プリンタ1は、予め記憶している紙検出モードと受信した印刷データの内容との間に不整合がないかどうかを判定できるので、不整合がある場合には印刷開始前に自動的に所定のエラー状態に移行することができる。よって、ラベル用紙P1、マーク付きラベル用紙P2、マーク付き連続紙P3、連続紙P4などの各種類の記録紙12aに対して、当該記録紙12aを確実に検出できる紙検出モードのときだけ印刷動作を開始することができる。よって、失敗する可能性が高い印刷がそのまま実行されてしまうことによる記録紙12aやインクなどの消耗品の無駄な消費を抑制できる。
By performing the above-described paper type error determination process, the
また、印刷データの受信後あるいは印刷データと共にホスト装置32などから印刷設定を更新するための設定データを受信したときには、上記の用紙種類エラーの判定処理を、受信した設定データに基づく設定処理が終了したときに行うとよい。この場合には、新たな印刷設定で指定されている紙検出モードに、その時点で受信している印刷データが適合しているか否かを判定する。このように、紙検出モードの更新を含む印刷設定処理から抜けたときに不整合の判定を行うことにより、新たな紙検出モードと受信済みの印刷データとの不整合を直ちに検出できる。よって、失敗することが予測される印刷を確実に防止できる。
In addition, after receiving the print data or when receiving the setting data for updating the print setting from the
なお、上記実施形態は、ロール紙状の記録紙に印刷するプリンタ1に本発明を適用した例であるが、本発明は、定型にカットされた用紙に印刷するプリンタや、連続帳票を折り畳んだ状態でセットして印刷するプリンタにも適用可能である。また、印刷媒体は紙に限定されず、印刷媒体の種類に応じて検出モードを使い分けて印刷するプリンタであれば適用可能である。
The above embodiment is an example in which the present invention is applied to the
1…プリンタ、2…プリンタ本体、2a…外装ケース、2b…開口部、3…開閉蓋、4…排出口、5…排紙ガイド、6…蓋開閉レバー、10…プリンタ本体フレーム、11…ロール紙収納部、12…ロール紙、12a…記録紙(印刷媒体)、12b…剥離台紙、12c…ラベル、12d…ブラックマーク、13…ヘッドユニットフレーム、14…インクジェットヘッド、14a…インクノズル面、14b…ヘッドドライバ、15…キャリッジ、16…キャリッジガイド軸、17…キャリッジモータ、17a…モータドライバ、18…タイミングベルト、19…プラテン、20…テンションガイド、21…後側紙送りローラ、22…後側紙押えローラ、23…前側紙送りローラ、24…前側紙押えローラ、25…紙送りモータ、25a…モータドライバ、26…紙検出器、28…オートカッタ、30…制御部、31…送受信部、32…ホスト装置、33…不揮発性メモリ、A…搬送路、G…ラベル間ギャップ、P1…ラベル用紙、P2…マーク付きラベル用紙、P3…マーク付き連続紙、P4…連続紙
DESCRIPTION OF
Claims (5)
受信した印刷データと、設定した前記印刷媒体検出モードとの間に不整合があるか否かを判定し、
不整合があると判定した場合には、当該印刷データの印刷を開始せずに所定のエラー状態に移行することを特徴とするプリンタの制御方法。 One of the print medium detection modes corresponding to each of a plurality of types of print media is set as the print medium detection mode used during printing,
Determining whether there is a mismatch between the received print data and the set print medium detection mode;
A printer control method, characterized in that if it is determined that there is a mismatch, a transition to a predetermined error state is made without starting printing of the print data.
前記印刷媒体検出モードの設定を含む設定データを受信すると、当該設定データに基づき、前記印刷媒体検出モードの設定を行い、
当該設定を終了すると、設定後の前記印刷媒体検出モードと、受信した印刷データとの間に不整合があるか否かを判定し、
不整合があると判定した場合には、当該印刷データの印刷を開始せずに所定のエラー状態に移行することを特徴とするプリンタの制御方法。 The printer control method according to claim 1, comprising:
When receiving the setting data including the setting of the printing medium detection mode, based on the setting data, the setting of the printing medium detection mode is performed,
When the setting is finished, it is determined whether there is a mismatch between the print medium detection mode after the setting and the received print data,
A printer control method, characterized in that if it is determined that there is a mismatch, a transition to a predetermined error state is made without starting printing of the print data.
前記印刷媒体は記録紙であり、
前記印刷媒体検出モードは、前記記録紙の用紙種類に応じて予め設定されている複数の用紙検出モードであり、
受信した印刷データに含まれる印刷対象の記録紙の用紙種類が、記憶している前記用紙検出モードによって検出可能な用紙種類であるか否かを判定し、
検出可能でないと判定した場合には、前記印刷データの印刷を開始せずに用紙種類エラー状態に移行することを特徴とするプリンタの制御方法。 A method for controlling a printer according to claim 1, wherein:
The printing medium is a recording paper;
The print medium detection mode is a plurality of paper detection modes set in advance according to the paper type of the recording paper,
Determining whether or not the paper type of the recording paper to be printed included in the received print data is a paper type that can be detected by the stored paper detection mode;
If it is determined that the print data cannot be detected, the printer control method shifts to a paper type error state without starting printing of the print data.
前記複数の用紙検出モードは、
剥離台紙上にラベルが所定の間隔で貼り付けられているラベル用紙を、前記ラベル間のギャップに基づいて検出するラベル間ギャップ検出モードと、
所定の目印が所定の間隔で付されている目印付き用紙を、前記目印に基づいて検出する目印検出モードと、
前記ラベル間ギャップおよび前記目印を備えていない前記記録紙を検出する連続紙検出モードと、を含んでいることを特徴とするプリンタの制御方法。 A printer control method according to claim 3, comprising:
The plurality of paper detection modes are:
An inter-label gap detection mode for detecting a label sheet on which a label is affixed on a peeling mount at a predetermined interval based on the gap between the labels;
A mark detection mode for detecting a mark-added sheet to which a predetermined mark is attached at a predetermined interval based on the mark;
And a continuous paper detection mode for detecting the recording paper that does not include the gap between labels and the mark.
当該検出部による複数の前記印刷媒体検出モードと、設定した前記印刷媒体検出モードを記憶する記憶部と、
受信した印刷データの印刷を、前記記憶部から読み出した設定した前記印刷媒体検出モードに基づいて実行する制御部と、を有し、
前記制御部は、受信した印刷データと前記記憶部から読み出した設定した前記印刷媒体検出モードとの間の不整合の判定および当該判定結果に基づく所定のエラー状態への移行を、請求項1ないし4のいずれかの項に記載のプリンタの制御方法により行うことを特徴とするプリンタ。 A detection unit for detecting the print medium;
A plurality of print medium detection modes by the detection unit; and a storage unit for storing the set print medium detection modes;
A control unit that executes printing of the received print data based on the set print medium detection mode read from the storage unit, and
The control unit determines whether or not there is a mismatch between the received print data and the set print medium detection mode read from the storage unit, and shifts to a predetermined error state based on the determination result. 5. A printer, which is performed by the printer control method described in any one of 4 above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008193182A JP2010030088A (en) | 2008-07-28 | 2008-07-28 | Control method for printer, and printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008193182A JP2010030088A (en) | 2008-07-28 | 2008-07-28 | Control method for printer, and printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010030088A true JP2010030088A (en) | 2010-02-12 |
Family
ID=41735186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008193182A Withdrawn JP2010030088A (en) | 2008-07-28 | 2008-07-28 | Control method for printer, and printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010030088A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014058110A (en) * | 2012-09-18 | 2014-04-03 | Ricoh Co Ltd | Image forming apparatus, control program of image forming apparatus, and method for controlling image forming apparatus |
JP2014213544A (en) * | 2013-04-26 | 2014-11-17 | サトーホールディングス株式会社 | Printer, printing position setting method, and printing position setting program |
-
2008
- 2008-07-28 JP JP2008193182A patent/JP2010030088A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014058110A (en) * | 2012-09-18 | 2014-04-03 | Ricoh Co Ltd | Image forming apparatus, control program of image forming apparatus, and method for controlling image forming apparatus |
JP2014213544A (en) * | 2013-04-26 | 2014-11-17 | サトーホールディングス株式会社 | Printer, printing position setting method, and printing position setting program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5082755B2 (en) | Recording medium detection method and label printer | |
US20130235109A1 (en) | Method of controlling printing in a printer, and a printer | |
JP4775278B2 (en) | Operation control device, electronic device, operation control method, and program | |
JP5050936B2 (en) | Printer paper replacement method and printer | |
JP4517926B2 (en) | Printer recording paper loading method | |
JP5181909B2 (en) | Printer reprint control method and printer | |
JP2010023297A (en) | Control method for printer and printer | |
JP2010030088A (en) | Control method for printer, and printer | |
JP5955058B2 (en) | Sheet feeding apparatus, printing apparatus, and sheet processing apparatus | |
JP2009234021A (en) | Label carrying method of label printer and label printer | |
JP2010023386A (en) | Method for cutting recording paper in printer and printer | |
JP2010030190A (en) | Positioning method of recording paper and printer | |
JP2010202307A (en) | Method for detecting recording paper and printer | |
JP5609999B2 (en) | Printer reprint control method and printer | |
JP2010023387A (en) | Method for cutting recording paper in printer and printer | |
JP2011056887A (en) | Printer and printer error handling operation method | |
JP2010030188A (en) | Printing position control method of printer and printer | |
JP2010188628A (en) | Genuine label and label printer | |
JP5910319B2 (en) | Printer and control method thereof | |
JP5951298B2 (en) | Thermal printer and printing paper position correction method | |
JP2011073184A (en) | Method of controlling conveyance of recording paper of printer, and printer | |
JP5451024B2 (en) | Conveying device and recording apparatus provided with the device | |
JP4325041B2 (en) | Paper feeder | |
JP4473682B2 (en) | Printing device | |
KR200380009Y1 (en) | Paper position control system of thermal printer |
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: 20111004 |