[go: up one dir, main page]

JP2010023297A - Control method for printer and printer - Google Patents

Control method for printer and printer Download PDF

Info

Publication number
JP2010023297A
JP2010023297A JP2008185671A JP2008185671A JP2010023297A JP 2010023297 A JP2010023297 A JP 2010023297A JP 2008185671 A JP2008185671 A JP 2008185671A JP 2008185671 A JP2008185671 A JP 2008185671A JP 2010023297 A JP2010023297 A JP 2010023297A
Authority
JP
Japan
Prior art keywords
paper
print data
printing
printer
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2008185671A
Other languages
Japanese (ja)
Inventor
Motohiro Nakamaki
基裕 中▲まき▼
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 JP2008185671A priority Critical patent/JP2010023297A/en
Publication of JP2010023297A publication Critical patent/JP2010023297A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer which cancels printing data without making reprinting when it is predicted that paper is wasted if the printer makes printing as it is when returning from an operation stop state. <P>SOLUTION: A roll paper printer 1 stops printing operation when detecting various kinds of error states, returns from the error state with cover closing operation to switch an opening/closing cover 3 from an opened state to a closed state as a trigger, and restarts interrupted printing operation. When restarting the printing operation, the printer 1 performs paper discriminating operation to discriminate recording paper 12a loaded in a roll paper storing part 11, and decides whether paper type of the recording paper 12a loaded at present agrees with paper type designated as an object to be printed in unfinished printing data stored and held in a receiving buffer. The printer 1 makes reprinting of the printing data, when it is decided that the paper types agree with each other, and reads and cancels the printing data, when it is decided that they do not agree with each other. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、エラー状態に移行した場合に所定の復帰処理によって印刷可能な状態に復帰するプリンタおよびその制御方法に関する。   The present invention relates to a printer that returns to a printable state by a predetermined return process when an error state is entered, and a control method therefor.

従来から、用紙切れや紙ジャム、用紙種類の不整合などによる各種のエラー状態が発生した場合に印刷を停止させ、エラー原因を取り除くと印刷可能な状態に復帰して、中断した印刷を再開するプリンタが提案されている。   Conventionally, printing stops when various error conditions such as out of paper, paper jam, and paper type mismatch occur, and when the cause of the error is removed, it returns to a printable state and resumes interrupted printing. A printer has been proposed.

例えば、特許文献1には、印刷中や紙送り中における紙詰まり状態や用紙切れ状態、カバーオープン状態などを検出すると印刷を停止してオフライン状態になり、これらのエラー状態が解消されるとオンライン状態に復帰するレシート用のプリンタが記載されている。このプリンタは、エラー状態が発生する直前に受信した印刷データを受信バッファから破棄すると共に、エラー状態が発生した後に受信する印刷データについても全て破棄する。そして、プリンタが復帰した時点で再度受信バッファをクリアすると共にホストコンピュータにその旨の信号を送り、ホストコンピュータから印刷データを再送信させる。これにより、復帰後に中断した部分から印刷が自動再開されてしまうことにより無駄な印刷物が発行されてしまうという不具合を防止することができ、印刷用紙やインクなどの消耗品の無駄な消費を抑制できる。
特開2006−62266号公報
For example, Patent Document 1 discloses that when a paper jam condition, a paper out condition, a cover open condition, or the like during printing or paper feeding is detected, printing is stopped and the printer enters an offline state. A receipt printer that returns to a state is described. This printer discards the print data received immediately before the error state occurs from the reception buffer, and also discards all the print data received after the error state occurs. Then, when the printer returns, the reception buffer is cleared again and a signal to that effect is sent to the host computer to retransmit the print data from the host computer. As a result, it is possible to prevent a problem that a wasteful printed matter is issued due to the automatic restart of printing from a portion interrupted after the return, and it is possible to suppress wasteful consumption of consumables such as printing paper and ink. .
JP 2006-62266 A

特許文献1のプリンタは、エラー状態になると印刷途中あるいは未印刷の印刷データが全て破棄されるので、そのまま印刷を再開しても不具合が発生しないデータまでもが破棄されてしまう。そのため、復帰時にホストコンピュータ側から印刷が完了していない印刷データを全て再送信する必要があり、ホストコンピュータの処理負担が大きい。また、復帰後にプリンタ側から再送信を要求して印刷データの再受信および再解析を行うので、破棄された印刷データの再印刷が完了するまでに時間がかかるという問題点があった。   When the printer of Patent Document 1 is in an error state, all print data that is in the middle of printing or unprinted is discarded, and even data that does not cause a problem even if printing is resumed is discarded. Therefore, it is necessary to retransmit all print data that has not been printed from the host computer side at the time of return, and the processing load on the host computer is large. Further, since the printer side requests re-transmission after resuming to re-receive and re-analyze the print data, it takes time to complete re-printing of the discarded print data.

また、特許文献1のプリンタでは、復帰処理中に新しい印刷用紙を装填したり設定を変えるなどの操作が行われたことにより、復帰時のプリンタの状態や装填されている印刷用紙が未印刷の印刷データの印刷に適合しなくなってしまう場合は想定されていない。よって、このような場合にそのまま印刷を再開すると、再送信した印刷データが適合しない用紙に印刷されてしまう恐れがあり、印刷用紙が無駄になる恐れがあった。   Further, in the printer of Patent Document 1, an operation such as loading a new printing paper or changing a setting is performed during the restoration process, so that the state of the printer at the time of restoration or the loaded printing paper is not printed. It is not assumed that the print data will not be suitable for printing. Therefore, if printing is resumed as it is in such a case, the retransmitted print data may be printed on a non-conforming paper, and the print paper may be wasted.

本発明の課題は、このような点に鑑みて、エラー状態からの復帰時に、そのまま印刷すると紙が無駄になることが予測される場合には再印刷を行わずに印刷データを破棄するプリンタおよびプリンタの制御方法を提案することにある。   In view of these points, the present invention has an object to provide a printer that discards print data without performing reprinting when it is predicted that paper will be wasted if printing is performed as it is when returning from an error state. The purpose is to propose a printer control method.

上記課題を解決するために、本発明のプリンタの制御方法は、
所定のエラー状態が検出されると動作停止状態に移行して、前記エラー状態を解消するための所定の復帰処理が行われるまで待機し、
前記復帰処理が行われると、動作可能状態に復帰すると共に、前記動作停止状態への移行時に印刷が完了していない受信済みの印刷データを正常に印刷できるか否か判定し、
正常に印刷できると判定した場合には、当該印刷データの印刷動作を開始し、
正常に印刷できないと判定した場合には、当該印刷データを破棄することを特徴としている。
In order to solve the above problems, a printer control method of the present invention includes:
When a predetermined error state is detected, the state shifts to an operation stop state, and waits until a predetermined return process for eliminating the error state is performed,
When the return process is performed, it returns to the operable state, and determines whether or not the received print data that has not been printed at the time of shifting to the operation stop state can be normally printed,
When it is determined that printing can be performed normally, the printing operation of the print data is started,
If it is determined that printing cannot be performed normally, the print data is discarded.

本発明は、このように、動作停止状態からの復帰時に、印刷が完了していない受信済み印刷データについて、復帰後のプリンタの状態によって正常に印刷できるか否かの判定を行い、正常に印刷できないことが予測される印刷データについては印刷せず破棄してしまうので、正常に印刷されない印刷データが印刷されてしまうことによる印刷媒体やインクなどの消耗品の無駄な消費を抑制できる。また、正常に印刷できることが予測される印刷データはそのまま印刷するので、正常な再印刷にかかる手間を最小限にすることができる。   As described above, the present invention determines whether or not the received print data that has not been printed can be printed normally according to the state of the printer after the return when the return from the operation stop state is completed. Since print data that cannot be predicted is discarded without being printed, wasteful consumption of consumables such as print media and ink due to printing of print data that cannot be printed normally can be suppressed. In addition, since print data that is expected to be printed normally is printed as it is, it is possible to minimize the effort required for normal reprinting.

本発明において、前記動作停止状態への移行時に、印刷が完了していない受信済みの印刷データが複数記憶されている場合には、当該複数の前記印刷データのそれぞれについて正常に印刷できるか否かを判定し、前記複数の前記印刷データのうち、正常に印刷できないと判定された前記印刷データを破棄し、正常に印刷できると判定された前記印刷データの印刷動作を開始するとよい。このように、受信済みの印刷データを選別して正常に印刷可能な印刷データのみを印刷し、他の印刷データは破棄することにより、無駄にならない印刷物のみを作成することができる。また、再印刷の手間を削減することができる。   In the present invention, when a plurality of received print data for which printing has not been completed is stored at the time of shifting to the operation stop state, whether or not each of the plurality of print data can be normally printed. The print data determined to be unable to be printed normally among the plurality of print data is discarded, and the printing operation of the print data determined to be normally printed is started. In this way, by selecting received print data and printing only print data that can be printed normally, and discarding other print data, it is possible to create only prints that are not wasted. Further, it is possible to reduce the trouble of reprinting.

また、本発明において、前記復帰処理が行われると、前記動作可能状態に復帰するときに印刷媒体装填部に装填されている印刷媒体が、前記受信済みの印刷データにおいて印刷対象とされている印刷媒体と一致しているか否かを判定し、一致していると判定した場合には、当該印刷データの印刷動作を開始し、一致していないと判定した場合には、当該印刷データを破棄するとよい。このようにすると、適合しない印刷媒体に印刷してしまうことがないので、印刷媒体やインクなどの消耗品を無駄にしなくて済む。   In the present invention, when the return process is performed, the print medium loaded in the print medium loading unit when returning to the operable state is a print target to be printed in the received print data. It is determined whether or not it matches with the medium. When it is determined that it matches, the printing operation of the print data is started, and when it is determined that they do not match, the print data is discarded. Good. In this way, since printing is not performed on an unsuitable print medium, it is not necessary to waste consumables such as the print medium and ink.

このとき、前記復帰処理に、印刷媒体装填部を開閉するための開閉カバーを閉じるカバークローズを検出する処理が含まれるようにするとよい。用紙切れや紙ジャム、用紙不適合などのエラー状態の解消のために行われる処置の際には印刷媒体装填部を開閉するカバークローズ動作が必ず行われるので、この動作を検出し復帰のためのトリガ動作に含めれば、印刷媒体装填部を閉じる動作と共に印刷可能状態への復帰を開始させることができ、速やかに印刷可能状態に復帰できる。   At this time, it is preferable that the return process includes a process of detecting a cover close for closing an open / close cover for opening and closing the print medium loading unit. A cover close operation that opens and closes the print media loading unit is always performed during actions taken to resolve error conditions such as out of paper, paper jam, and paper incompatibility. If it is included in the operation, the return to the printable state can be started together with the operation of closing the print medium loading unit, and the printable state can be quickly returned.

また、前記動作可能状態への復帰時に正常に印刷できると判定された受信済みの印刷データの印刷動作を、外部装置からの印刷再開指令によって開始するとよい。このようにすると、プリンタ本体へのエラー解消処置が終了しても直ちに印刷を再開させず、ホストコンピュータなどの外部装置からの設定コマンドによる設定更新などを行った後に印刷を再開させることができるので、プリンタ本体の用紙設定と装填されている印刷媒体の不適合などによる印刷の失敗を防止できる。   In addition, a print operation of received print data that is determined to be normally printed when returning to the operable state may be started by a print restart command from an external device. In this way, printing can be resumed after setting update by a setting command from an external device such as a host computer, etc., without immediately restarting printing even after the error elimination processing to the printer body is completed. Thus, it is possible to prevent printing failure due to incompatibility between the paper setting of the printer main body and the loaded printing medium.

更に、本発明において、前記動作停止状態に移行したことによって前記印刷データの印刷が印刷内容の途中の所定位置で中断され、前記動作可能状態への復帰時に、当該中断された印刷データを正常に印刷できると判定した場合には、当該印刷データの印刷動作を、印刷が中断された位置から再開するとよい。このようにすると、印刷が中断した印刷データの中の未印刷の印刷内容だけを印刷できるので、既に印刷された内容が再印刷されることによる印刷媒体の無駄な消費を抑制できる。   Further, in the present invention, the printing of the print data is interrupted at a predetermined position in the middle of the printing content due to the shift to the operation stop state, and the interrupted print data is normally restored when returning to the operation enable state. If it is determined that printing is possible, the printing operation of the print data may be resumed from the position where printing is interrupted. In this way, it is possible to print only the unprinted print contents in the print data for which printing has been interrupted, so that wasteful consumption of the print medium due to reprinting of the already printed contents can be suppressed.

あるいは、本発明において、前記動作停止状態に移行したことによって前記印刷データの印刷が定型の印刷領域への印刷内容の途中で中断され、前記動作可能状態への復帰時に、当該中断された印刷データを正常に印刷できると判定した場合には、当該印刷データの印刷動作を、印刷が中断された印刷領域の先頭位置から再開するとよい。このようにすると、定型のシートやラベルなどの定型の印刷領域に印刷する場合に、一つのトランザクション等の途中まで印刷して印刷が中断されたシートやラベルなどから印刷を再開することができるので、シートやラベル単位で必要部分だけ再印刷を行うことができる。   Alternatively, in the present invention, printing of the print data is interrupted in the middle of the print contents to the standard print area due to the transition to the operation stop state, and the interrupted print data is restored when returning to the operable state. If it is determined that the printing can be normally performed, the printing operation of the print data may be resumed from the top position of the printing area where printing is interrupted. In this way, when printing in a standard print area such as a standard sheet or label, printing can be resumed from a sheet or label that has been printed halfway through a transaction or the like and has been interrupted. Only necessary parts can be reprinted on a sheet or label basis.

次に、本発明のプリンタは、前記動作停止状態への移行時に印刷完了していない受信済みの印刷データの印刷または/および破棄を、上記のプリンタの制御方法により行うことを特徴としている。   Next, the printer of the present invention is characterized in that printing or / and discarding of received print data that has not been printed at the time of shifting to the operation stop state is performed by the above-described printer control method.

本発明によれば、動作停止状態からの復帰後に、印刷が完了していない受信済み印刷データが正常に印刷できなかったことによる印刷媒体やインクなどの消耗品の無駄な消費を抑制できる。また、正常に印刷できることが予測される印刷データはそのまま印刷するので、正常な再印刷にかかる手間を最小限にすることができる。   According to the present invention, it is possible to suppress wasteful consumption of consumables such as print media and ink due to the fact that received print data that has not been printed cannot be printed normally after returning from the operation stop state. In addition, since print data that is expected to be printed normally is printed as it is, it is possible to minimize the effort required for normal reprinting.

以下に、図面を参照して、本発明のロール紙プリンタの実施の形態を説明する。   Embodiments of a roll paper printer of 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 type roll paper printer to which the present invention is applied, and FIG. 2 is an external perspective view of the roll paper printer with the open / close lid fully opened. The roll paper printer 1 includes a printer main body 2 having a substantially rectangular parallelepiped shape as a whole, and an opening / closing lid 3 attached to the front surface of the printer main body 2. A discharge port 4 having a predetermined width is formed on the front surface of the outer case 2 a of the printer body 2. A paper discharge guide 5 protrudes forward below the discharge port 4, and a lid opening / closing lever 6 is disposed on the side of the paper discharge guide 5. A rectangular opening 2b for inserting and removing roll paper is formed below the paper discharge guide 5 and the lid opening / closing lever 6 in the outer case 2a. The opening 2b is sealed by the opening / closing lid 3.

蓋開閉レバー6を操作すると開閉蓋3のロックが解除される。ロック解除後、排紙ガイド5を前方に引くと、開閉蓋3はその下端部を中心として前方に旋回し、ほぼ水平となるまで開く。開閉蓋3が開くと、図2に示すように、プリンタ内部に形成されているロール紙収納部11(印刷媒体装填部)が開放状態となる。同時に、ロール紙収納部11から排出口4に到る搬送路A(図3参照)が開放状態となり、プリンタ前方からロール紙12の交換作業などを簡単に行うことができる。なお、図2では開閉蓋3および蓋開閉レバー6を省略してある。   When the lid opening / closing lever 6 is operated, the opening / closing lid 3 is unlocked. When the paper discharge guide 5 is pulled forward after unlocking, the opening / closing lid 3 pivots forward about its lower end and opens until it is almost horizontal. When the opening / closing lid 3 is opened, as shown in FIG. 2, the roll paper storage unit 11 (printing medium loading unit) formed inside the printer is opened. At the same time, the conveyance path A (see FIG. 3) from the roll paper storage unit 11 to the discharge port 4 is opened, and the roll paper 12 can be easily replaced from the front of the printer. In FIG. 2, the opening / closing lid 3 and the lid opening / closing lever 6 are omitted.

開閉蓋3の近傍には開閉検出器3aが取り付けられている。開閉検出器3aは、フォトセンサ、磁気センサ、マイクロスイッチなどから構成されている。開閉検出器3aは、開閉蓋3が開き状態から閉じ状態に切り換わったこと、および、閉じ状態から開き状態に切り換わったことを検出できる。   An open / close detector 3 a is attached in the vicinity of the open / close lid 3. The open / close detector 3a includes a photo sensor, a magnetic sensor, a micro switch, and the like. The open / close detector 3a can detect that the open / close lid 3 has been switched from the open state to the closed state, and that the open / close lid 3 has been switched from the closed state to the open state.

外装ケース2aの所定位置には、ロール紙プリンタ1内の各種エラーを報知するための図示しないエラーランプが取り付けられている。エラーランプは、エラーの種類に対応付けて複数設けることができ、その種類としては、例えば、開閉蓋3が開いているカバーオープンエラー状態を報知するランプ、ロール紙収納部11に装填されているロール紙12を使い切った場合に点灯するランプ、搬送路A上の記録紙12aの用紙種類がロール紙プリンタ1に記憶保持されている設定データあるいは受信した印刷データで指定されている用紙種類と異なっている場合に点灯するランプ、紙ジャムが発生した場合に点灯するランプ、その他の正常な印刷が困難な場合に点灯するエラーランプ、等がある。なお、エラー発生時に音によってエラー状態を報知するためのブザーを取り付けてもよい。   An error lamp (not shown) for notifying various errors in the roll paper printer 1 is attached to a predetermined position of the outer case 2a. A plurality of error lamps can be provided in association with the type of error. For example, the error lamp is loaded in the roll paper storage unit 11 that notifies the cover open error state in which the open / close lid 3 is open. The lamp that is turned on when the roll paper 12 is used up, and the paper type of the recording paper 12a on the conveyance path A is different from the paper type specified by the setting data stored in the roll paper printer 1 or the received print data. There are a lamp that lights when the paper jam occurs, a lamp that lights when a paper jam occurs, and an error lamp that lights when other normal printing is difficult. In addition, you may attach the buzzer for alert | reporting an error state with a sound at the time of error occurrence.

図3はロール紙プリンタ1の内部の概略構成を示す説明図である。ロール紙収納部11には、ロール紙12が、プリンタ幅方向に向いた横置き状態で転動可能に収納されている。ロール紙12は、一定幅の長尺状の記録紙12aをロール状に巻き付けたものである。   FIG. 3 is an explanatory diagram showing a schematic configuration inside the roll paper printer 1. A roll paper 12 is stored in the roll paper storage unit 11 so as to be able to roll in a horizontal state facing the printer width direction. The roll paper 12 is obtained by winding a long recording paper 12a having a constant width in a roll shape.

ロール紙収納部11の上側には、プリンタ本体フレーム10の上端に水平に取り付けられたヘッドユニットフレーム13が配置されている。ヘッドユニットフレーム13には、インクジェットヘッド14、インクジェットヘッド14を搭載しているキャリッジ15、キャリッジ15のプリンタ幅方向への移動をガイドするキャリッジガイド軸16が配置されている。インクジェットヘッド14は、インクノズル面14aが下向きになるようにキャリッジ15に搭載されている。また、ロール紙収納部11の上側には、キャリッジ15をキャリッジガイド軸16に沿って往復移動させるためのキャリッジモータ17およびタイミングベルト18を備えたキャリッジ搬送機構が配置されている。   A head unit frame 13 attached horizontally to the upper end of the printer main body frame 10 is disposed above the roll paper storage unit 11. In the head unit frame 13, an inkjet head 14, a carriage 15 on which the inkjet head 14 is mounted, and a carriage guide shaft 16 that guides the movement of the carriage 15 in the printer width direction are arranged. The inkjet head 14 is mounted on the carriage 15 so that the ink nozzle surface 14a faces downward. A carriage conveyance mechanism including a carriage motor 17 and a timing belt 18 for reciprocating the carriage 15 along the carriage guide shaft 16 is disposed above the roll paper storage unit 11.

インクジェットヘッド14の下側には、プリンタ幅方向に水平に延びるプラテン19がインクノズル面14aと一定のギャップを隔てて対向配置されており、プラテン19によってインクジェットヘッド14の印字位置が規定されている。プラテン19の後端には、下方に湾曲しているテンションガイド20が取り付けられている。   A platen 19 that extends horizontally in the width direction of the printer is disposed below the inkjet head 14 so as to face the ink nozzle surface 14a with a certain gap therebetween, and the printing position of the inkjet head 14 is defined by the platen 19. . A tension guide 20 that is curved downward is attached to the rear end of the platen 19.

プラテン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 paper feed roller 21 and a rear paper press roller 22 are horizontally stretched in the printer width direction. A rear paper pressing roller 22 is pressed against the rear paper feeding roller 21 from above with a predetermined pressing force via the recording paper 12a. A front paper feed roller 23 and a front paper press roller 24 are arranged on the front end side (downstream side in the transport direction) of the platen 19. A front paper pressing roller 24 is pressed against the front paper feeding roller 23 from above via the recording paper 12a. The rear paper feed roller 21 and the front paper feed roller 23 are rotationally driven in synchronization by a paper feed motor 25 mounted on the printer main body frame 10.

搬送路Aのインクジェットヘッド14よりも上流側には、紙検出器26が配置されている。紙検出器26は、反射型フォトセンサあるいは透過型フォトセンサにより構成されており、搬送路A上に引き出されている記録紙12aからの反射光あるいは透過光を利用して、記録紙12aの有無、および、記録紙12aの用紙種類を検出する。   A paper detector 26 is disposed upstream of the inkjet head 14 in the transport path A. The paper detector 26 is constituted by a reflection type photosensor or a transmission type photosensor, and the presence or absence of the recording paper 12a is detected by using reflected light or transmitted light from the recording paper 12a drawn on the conveyance path A. , And the paper type of the recording paper 12a is detected.

ロール紙収納部11内のロール紙12から繰り出される記録紙12aは、テンションガイド20によって所定の張力が付与された状態で、プラテン19上の印字位置を経由する搬送路A(図3に示す太い一点鎖線)に沿って搬送され、排出口4から引き出された状態にセットされる。この状態で紙送りモータ25が駆動制御されると、後側紙送りローラ21および前側紙送りローラ23が回転し、記録紙12aが一定の搬送量ずつ紙送りされる。そして、記録紙12aの紙送りと同期してインクジェットヘッド14が駆動され、印刷位置を通過する記録紙12aの表面に印刷が行われる。その後、印刷済みの記録紙12aが排出口4から排出された状態で搬送が停止し、排出口4の近傍に配置されたオートカッタ28によって記録紙12aの先端部分が切断され、印刷済みの記録紙片が発行される。   The recording paper 12a fed out from the roll paper 12 in the roll paper storage unit 11 is transported through a printing path A on the platen 19 in a state where a predetermined tension is applied by the tension guide 20 (the thick paper shown in FIG. 3). It is conveyed along the alternate long and short dash line) and set in a state of being pulled out from the discharge port 4. When the paper feed motor 25 is driven and controlled in this state, the rear paper feed roller 21 and the front paper feed roller 23 are rotated, and the recording paper 12a is fed by a constant transport amount. Then, the inkjet head 14 is driven in synchronization with the paper feed of the recording paper 12a, and printing is performed on the surface of the recording paper 12a passing through the printing position. Thereafter, the conveyance is stopped in a state where the printed recording paper 12a is discharged from the discharge port 4, and the leading end portion of the recording paper 12a is cut by the auto cutter 28 arranged in the vicinity of the discharge port 4, so that the printed recording is completed. A piece of paper is issued.

(制御系)
図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 roll paper printer 1. The control system of the roll paper printer 1 is mainly configured by a control unit 30 including a CPU, a ROM, a RAM, and the like. The control unit 30 is connected to a nonvolatile memory 33 such as a flash ROM. Print data and commands are supplied to the control unit 30 from a host device such as the host device 32 via the transmission / reception unit 31. Based on a print command from the host device 32 or the like, the control unit 30 controls the drive of each unit such as a paper feed mechanism that feeds roll paper and a carriage transport mechanism, and executes a paper feed operation and a print operation.

制御部30の出力側には、ヘッドドライバ14bを介してインクジェットヘッド14が接続されており、制御部30は、ヘッドドライバ14bを介してインクジェットヘッド14を駆動制御する。また、制御部30の出力側には、モータドライバ17aおよびモータドライバ25aを介してキャリッジモータ17および紙送りモータ25が接続されており、制御部30は、モータドライバ25a,17aを介して紙送りモータ25およびキャリッジモータ17を駆動制御する。制御部30は、紙送りモータ25を送り出し方向に駆動制御するステップ数あるいは回転量を積算することにより、記録紙12aの所定の搬送量を算出する。   The inkjet head 14 is connected to the output side of the control unit 30 via a head driver 14b, and the control unit 30 drives and controls the inkjet head 14 via the head driver 14b. The output side of the control unit 30 is connected to the carriage motor 17 and the paper feed motor 25 via the motor driver 17a and the motor driver 25a. The control unit 30 feeds the paper via the motor drivers 25a and 17a. The motor 25 and the carriage motor 17 are driven and controlled. The control unit 30 calculates a predetermined transport amount of the recording paper 12a by accumulating the number of steps or the rotation amount for driving and controlling the paper feed motor 25 in the feed direction.

ロール紙プリンタ1は、長尺の剥離台紙の表面に一定間隔でラベルが剥離可能な状態で貼り付けられているラベル紙のほか、ラベル紙における各ラベル上の所定位置に印刷基準位置を示すブラックマークが付されたマーク付きラベル紙、ラベル紙でないマーク付きの連続用紙、マーク無しの無地の連続用紙、などの多種類の記録紙への印刷が可能である。また、ラベル紙やマーク紙については、ラベルやマークの配置や寸法などが異なる多種類の記録紙への印刷が可能である。また、無地の連続用紙であっても、紙質が異なる多種類の記録紙への印刷が可能である。さらに、これらの記録紙の紙幅やラベル幅を適宜変更した記録紙への印刷が可能である。   The roll paper printer 1 is a label paper that is attached to the surface of a long peeling mount in a state where the labels can be peeled at regular intervals, and a black indicating a printing reference position at a predetermined position on each label of the label paper. Printing on various types of recording paper, such as labeled paper with a mark, continuous paper with a mark that is not a label paper, and plain continuous paper without a mark, is possible. In addition, label paper and mark paper can be printed on various types of recording paper having different layouts and dimensions of labels and marks. Further, even a plain continuous paper can be printed on various types of recording paper having different paper qualities. Furthermore, it is possible to print on recording papers in which the paper width and label width of these recording papers are appropriately changed.

そのため、ロール紙プリンタ1の制御部30は、ロール紙収納部11に装填されているロール紙12を構成する記録紙12aの種類(ラベルやマークの配置や紙質、紙幅などの各種仕様)に合わせて、印刷位置やインクの吐出量などを制御するための用紙設定情報を保持している。すなわち、ロール紙プリンタ1の不揮発性メモリ33には、このロール紙プリンタ1で印刷が可能な多種類の記録紙12aに対応する多種類の用紙設定情報が予め記憶されている。   Therefore, the control unit 30 of the roll paper printer 1 matches the type of recording paper 12a constituting the roll paper 12 loaded in the roll paper storage unit 11 (various specifications such as label and mark arrangement, paper quality, and paper width). Thus, sheet setting information for controlling the printing position, the ink discharge amount, and the like is held. In other words, the non-volatile memory 33 of the roll paper printer 1 stores in advance various types of paper setting information corresponding to the various types of recording paper 12a that can be printed by the roll paper printer 1.

制御部30の入力側には、開閉検出器3aや、紙検出器26が接続されている。制御部30は、開閉検出器3aによって開閉蓋3が閉じたことを検出すると、紙検出器26の検出出力に基づいてロール紙収納部11に装填されている用紙の種類を判別する用紙判別動作を行う。例えば、ロール紙12から引き出されて搬送路A上に装填された記録紙12aを所定量搬送して、搬送中の紙検出器26の検出出力に基づき、記録紙12aの用紙の種類を判別する。そして、制御部30は、判別した用紙の種類に基づいて対応する用紙設定情報を読み出してロール紙プリンタ1の各部を制御することにより、各用紙に対する最適な印刷動作を行うことができる。紙検出器26により、用紙の有無や、用紙の長さ、ラベルの長さ、用紙に印されたマークの間の距離などを検出し、用紙の種類やサイズを判別することもできる。また、キャリッジ15に搭載された不図示の光学センサにより、キャリッジ15を走査して用紙幅を検出することもできる。また、キャリッジ15に搭載された不図示のエンコーダにより、キャリッジ15がロックして紙ジャムになったことも検出できる。そして、制御部30はこれらに基づいて最適な印刷制御やエラー制御を行うこともできる。   An open / close detector 3 a and a paper detector 26 are connected to the input side of the control unit 30. When the open / close detector 3a detects that the open / close lid 3 is closed, the control unit 30 determines the type of paper loaded in the roll paper storage unit 11 based on the detection output of the paper detector 26. I do. For example, a predetermined amount of the recording paper 12a drawn from the roll paper 12 and loaded on the conveyance path A is conveyed, and the type of the recording paper 12a is determined based on the detection output of the paper detector 26 being conveyed. . Then, the control unit 30 can read out the corresponding sheet setting information based on the determined sheet type and control each unit of the roll paper printer 1 to perform an optimal printing operation on each sheet. The paper detector 26 can also determine the type and size of the paper by detecting the presence or absence of the paper, the length of the paper, the length of the label, the distance between marks marked on the paper, and the like. In addition, the paper width can be detected by scanning the carriage 15 with an optical sensor (not shown) mounted on the carriage 15. Further, an encoder (not shown) mounted on the carriage 15 can detect that the carriage 15 is locked and a paper jam has occurred. The control unit 30 can also perform optimum print control and error control based on these.

また、制御部30は、これらの各検出器の検出出力に基づいて、ロール紙プリンタ1のエラー状態を判定する。すなわち、制御部30は、開閉検出器3aによって開閉蓋3が閉じていないことを検出したときは、カバーオープンエラー状態であると判定する。また、紙検出器26によって記録紙12aが検出されないときは用紙切れ状態と判定する。また、用紙判別動作によって判別された記録紙12aの用紙の種類が、ロール紙プリンタ1に記憶保持されている設定データあるいは受信した印刷データにおいて指定されている用紙種類と一致しているか否かの判定を行い、一致していない場合には用紙種類違いエラーと判定する。そして、記録紙12aの搬送速度や紙送りモータ25の負荷などの検出結果に基づいて、紙ジャム状態であるか否かの判定を行う。その他にも、図示しないインクカートリッジ収容部のカバーの開閉状態やインクカートリッジの装着状態、インク切れ状態や廃液タンク内の廃インク量などの検出結果に基づき、正常な印刷が実行できないエラーの有無を判定することができる。   Further, the control unit 30 determines an error state of the roll paper printer 1 based on the detection outputs of these detectors. That is, the control unit 30 determines that it is in the cover open error state when the open / close detector 3a detects that the open / close lid 3 is not closed. If the recording paper 12a is not detected by the paper detector 26, it is determined that the paper is out of paper. Whether or not the paper type of the recording paper 12a determined by the paper determination operation matches the paper type specified in the setting data stored in the roll paper printer 1 or the received print data. A determination is made, and if they do not match, it is determined that the paper type is different. Then, based on the detection results such as the conveyance speed of the recording paper 12a and the load of the paper feed motor 25, it is determined whether or not the paper jam state. In addition, whether there is an error that prevents normal printing from being performed based on detection results such as the open / closed state of the ink cartridge housing cover (not shown), the installed state of the ink cartridge, the ink out condition, and the amount of waste ink in the waste liquid tank. Can be determined.

(動作停止状態から動作可能状態への復帰制御)
次に、ロール紙プリンタ1におけるエラー発生時の印刷停止状態(動作停止状態)から印刷可能状態(動作可能状態)への復帰の際に行われる制御について説明する。
(Return control from operation stop state to operation enable state)
Next, the control performed when the roll paper printer 1 is returned from the print stop state (operation stop state) to the printable state (operation enable state) when an error occurs will be described.

上記のように、制御部30は、開閉蓋3が開いているカバーオープンエラー、用紙切れエラー、用紙種類違いエラー、紙ジャムエラー、あるいはその他のエラーなどの各種エラー状態を検出すると、印刷動作を停止させると共に、エラーランプなどによってエラーの発生をユーザに報知する。そして、この報知後に、開閉蓋3を開き状態から閉じ状態に切り換えるカバークローズ動作を検出すると、エラー状態から復帰して中断していた印刷動作を再開するようにロール紙プリンタ1の各部を制御する。   As described above, when the control unit 30 detects various error states such as a cover open error in which the open / close lid 3 is open, a paper out error, a paper type error, a paper jam error, or other errors, the printing operation is performed. In addition to stopping, the occurrence of an error is notified to the user by an error lamp or the like. After this notification, when a cover closing operation for switching the open / close lid 3 from the open state to the closed state is detected, each part of the roll paper printer 1 is controlled so as to resume the printing operation that has been interrupted by returning from the error state. .

図5はカバークローズ動作をトリガとする動作可能状態への復帰制御のフローチャートである。この処理は、ロール紙プリンタ1がエラー発生状態にあるときに、オペレータが開閉蓋3を開けてエラーから回復させるための処理をした後行う開閉検出器3aによる開閉蓋3の閉動作(カバークローズ動作)の検出をトリガとして実行される。ここで、エラー発生状態のロール紙プリンタ1の受信バッファやイメージバッファには、受信済みの印刷データのうち、印刷が完了していない未完了印刷データ(印刷中断状態の印刷データ、および、印刷待ち状態の印刷データ)が記憶保持されている。   FIG. 5 is a flowchart of the return control to the operable state triggered by the cover closing operation. In this process, when the roll paper printer 1 is in an error occurrence state, the operator opens the open / close lid 3 and performs a process for recovering from the error. (Operation) is detected as a trigger. Here, in the reception buffer and image buffer of the roll paper printer 1 in the error occurrence state, uncompleted print data that has not been printed among the received print data (print data in the print suspended state and print wait state). Status print data) is stored and held.

制御部30は、ステップS1〜S2において、ロール紙収納部11内に装填されている記録紙12aの用紙判別動作を行う。まず、ステップS1において、紙検出器26によって搬送路A上の記録紙12aの有無を判別し、記録紙12aが検出されないときは、用紙無しエラー状態であると判定して(ステップS1:No)、再びエラー状態に移行する。一方、記録紙12aが検出されると用紙有りと判定して(ステップS1:Yes)、ステップS2に移行する。そして、現在装填中の記録紙12aがどのような用紙種類かを判別する。   In steps S1 to S2, the control unit 30 performs a sheet determination operation for the recording sheet 12a loaded in the roll sheet storage unit 11. First, in step S1, the presence or absence of the recording paper 12a on the conveyance path A is determined by the paper detector 26, and when the recording paper 12a is not detected, it is determined that there is no paper error (step S1: No). The error state is entered again. On the other hand, when the recording sheet 12a is detected, it is determined that there is a sheet (step S1: Yes), and the process proceeds to step S2. Then, it is determined what type of recording paper 12a is currently loaded.

続いて、ステップS3〜S4において、ステップS2で判別した現在装填中の記録紙12aの用紙種類が、受信バッファに記憶保持されている未完了印刷データにおいて印刷対象として指定されている用紙種類と一致するか否かを判定する。まず、ステップS3では、装填中の記録紙12aと指定されている記録紙12aの用紙サイズ(用紙幅や印刷領域のサイズ等)が一致するか否かを判定する。用紙サイズが一致しないと判定した場合には(ステップS3:No)、用紙サイズエラーであると判定して、後述するステップS6に進む。   Subsequently, in steps S3 to S4, the paper type of the currently loaded recording paper 12a determined in step S2 matches the paper type specified as the print target in the incomplete print data stored in the reception buffer. It is determined whether or not to do. First, in step S3, it is determined whether or not the paper size (paper width, print area size, etc.) of the recording paper 12a being loaded matches the designated recording paper 12a. If it is determined that the paper sizes do not match (step S3: No), it is determined that a paper size error has occurred, and the process proceeds to step S6 described later.

一方、ステップS3で用紙サイズが一致していると判定した場合(ステップS3:Yes)にはステップS4に進み、装填中の記録紙12aと指定されている記録紙12aの用紙タイプ(連続紙か否か、ラベル用紙か否かおよびラベルの形状、ブラックマークや切り欠きなどの目印の有無、等)が一致するか否かを判定する。用紙タイプが一致しないと判定した場合には(ステップS4:No)、用紙タイプ違いエラーであると判定して、後述するステップS6に進む。   On the other hand, when it is determined in step S3 that the paper sizes match (step S3: Yes), the process proceeds to step S4, and the paper type of the recording paper 12a designated as the recording paper 12a being loaded (whether continuous paper or not) No., whether it is label paper, and the shape of the label, the presence or absence of a mark such as a black mark or notch, etc.) are determined. If it is determined that the paper types do not match (step S4: No), it is determined that there is a paper type difference error, and the process proceeds to step S6 described later.

ステップS4で用紙タイプも一致していると判定した場合(ステップS4:Yes)にはステップS5に進む。この場合には、制御部30は、ロール紙プリンタ1に、未印刷の印刷データを正常に印刷可能な記録紙12aが現在セットされていると判断し、ステップS5において、現在記憶保持している未印刷の印刷データの印刷動作を開始する。   If it is determined in step S4 that the paper types also match (step S4: Yes), the process proceeds to step S5. In this case, the control unit 30 determines that the recording paper 12a that can normally print unprinted print data is currently set in the roll paper printer 1, and currently stores and holds it in step S5. Start printing operation of unprinted print data.

ステップS3およびS4で用紙サイズあるいは用紙タイプのいずれか一方でも異なっていると判定された場合には、制御部30は、この記録紙12aでは、現在記憶保持している未印刷の印刷データを正常に印刷できないと判断し、ステップS6において、現在保持している印刷データを受信バッファやイメージバッファから消去して破棄してしまう。すなわち、この場合には、現在保持している未印刷の印刷データを読み捨てる。   If it is determined in steps S3 and S4 that either the paper size or the paper type is different, the control unit 30 normally uses the unprinted print data stored and held in the recording paper 12a. In step S6, the currently held print data is erased from the reception buffer or image buffer and discarded. That is, in this case, unprinted print data currently held is discarded.

ここで、未印刷の印刷データとして、複数の印刷データが記憶保持されていた場合には、制御部30は、各印刷データに対してステップS3〜S4の判定を行い、印刷データを、現在装填されている記録紙12aに正常に印刷可能なものと、正常に印刷可能でないものとに選別する。そして、正常に印刷可能でない印刷データのみをステップS6においてバッファから消去して破棄し、正常に印刷可能な印刷データについては残して、ステップS5において再印刷の対象とする。   Here, when a plurality of print data is stored and held as unprinted print data, the control unit 30 performs the determination of steps S3 to S4 for each print data, and loads the print data into the current loading data. The recording sheet 12a is sorted into one that can be normally printed and one that is not normally printable. Then, only the print data that cannot be printed normally is erased from the buffer and discarded in step S6, and the print data that can be printed normally is left to be reprinted in step S5.

このようにすれば、動作停止状態からの復帰時に正常に印刷できない用紙に自動的に再印刷されてしまうことがないので、記録紙12aやインクなどの無駄な消費を抑制でき、無駄にならない印刷物のみを作成することができる。また、正常に印刷できることが予測される印刷データはそのまま印刷するので、正常な再印刷にかかる手間を最小限にすることができる。   In this way, since the paper that cannot be printed normally is not automatically reprinted when returning from the operation stop state, wasteful consumption of the recording paper 12a and ink can be suppressed, and the printed matter that is not wasted. Can only create. In addition, since print data that is expected to be printed normally is printed as it is, it is possible to minimize the effort required for normal reprinting.

また、用紙関係のエラー状態から復帰させるための処置(例えば、記録紙12aの交換作業や補充作業、紙詰まりを取り除くための作業など)の最後に、開閉蓋3を閉めるカバークローズ動作が行われるので、エラー原因の除去のための処置の完了と同時に印刷可能状態への復帰および再印刷を開始することができる。よって、速やかな復帰が可能となる。   In addition, a cover closing operation for closing the open / close lid 3 is performed at the end of the measures for returning from the error state related to the paper (for example, replacement work or replenishment work of the recording paper 12a, work for removing the paper jam). Therefore, the return to the printable state and the reprinting can be started simultaneously with the completion of the treatment for removing the cause of the error. Therefore, quick return is possible.

なお、未印刷の印刷データのうち、印刷中断状態の印刷データについては、中断位置から印刷を再開するように制御するとよい。このとき、印刷内容に応じて印刷物の長さが変わるレシートのような非定型の印刷データの場合には、中断位置からそのまま印刷を開始してもよいが、定型のシートやラベルなどの印刷する場合にように印刷領域の寸法が予め設定されており、シート単位で印刷を行う場合や、定型のラベル上に印刷する印刷データの場合には、印刷を中断したシートやラベルの先頭から印刷を開始するようにロール紙プリンタ1の各部を制御するとよい。このようにすると、既に印刷された内容が再印刷されることによる印刷媒体の無駄な消費を最大限抑制でき、シート単位やラベル単位で最小限必要な部分だけ再印刷を行うことができる。   Of the unprinted print data, the print data in the print suspended state may be controlled to resume printing from the suspended position. At this time, in the case of non-standard print data such as a receipt in which the length of the printed matter changes according to the print content, printing may be started as it is from the interruption position, but a standard sheet or label is printed. The size of the print area is set in advance, as in the case of printing in sheet units, or in the case of print data to be printed on a standard label, printing is started from the beginning of the sheet or label where printing was interrupted. Each unit of the roll paper printer 1 may be controlled to start. In this way, wasteful consumption of the print medium due to reprinting of the already printed content can be suppressed to the maximum, and only the minimum necessary portion can be reprinted in sheet units or label units.

(改変例)
(1)上記実施形態では、カバークローズ動作をトリガとして用紙判別動作だけでなく再印刷の実行開始あるいは印刷データの読み捨てまでを全て行うようにしていたが、カバークローズ動作をトリガとして行う処理を、用紙判別動作および未印刷の印刷データが正常に印刷可能であるか否かの判定まで、あるいは、再印刷できない印刷データの読み捨てまでにとどめておき、カバークローズ動作後にホスト装置32から印刷再開コマンドを受信することにより、印刷動作を再開するようにしてもよい。
(Modification example)
(1) In the above embodiment, the cover closing operation is used as a trigger to perform not only the paper determination operation but also the reprint execution start or the print data read-out. Until the paper discrimination operation and whether or not the unprinted print data can be printed normally, or until the print data that cannot be reprinted is discarded, a print restart command is issued from the host device 32 after the cover close operation. The printing operation may be resumed by receiving.

あるいは、カバークローズ動作をトリガとして行う処理を用紙判別動作のみにしておき、カバークローズ動作後にホスト装置32からロール紙プリンタ1の設定変更コマンドを送って印刷設定を変更した後、変更後の印刷設定で現在装填されている記録紙12aに対して未印刷の印刷データを正常に印刷可能か否かを判定し、正常に印刷可能であると判定した場合には再印刷を開始し、正常に印刷可能でないと判定した場合には印刷データの読み捨てを実行するようにしてもよい。   Alternatively, only the paper discrimination operation is performed using the cover close operation as a trigger. After the cover close operation, the setting change command of the roll paper printer 1 is sent from the host device 32 to change the print setting, and then the print setting after the change is made. To determine whether it is possible to normally print unprinted print data on the currently loaded recording paper 12a. If it is determined that printing is possible, reprinting is started and printing is performed normally. If it is determined that this is not possible, the print data may be discarded.

(2)上記実施形態では、未印刷の印刷データが正常に印刷可能であるか否かの判定を、用紙種類の一致不一致にのみ着目して行っていたが、他の条件の不整合についての判定を追加して行っても良い。例えば、インク切れの判定や廃インク量の判定、インク漏れやノズルの目詰まり、ヘッド温度異常の有無などの、ロール紙プリンタ1の状態のうち印刷動作や紙送り動作に影響する任意の条件についての判定を行うようにしてもよい。 (2) In the above embodiment, whether or not unprinted print data can be printed normally is determined by focusing only on the mismatch or mismatch of the paper type. The determination may be added. For example, arbitrary conditions that affect the printing operation and paper feeding operation among the states of the roll paper printer 1 such as ink outage determination, waste ink amount determination, ink leakage, nozzle clogging, and head temperature abnormality. You may make it perform determination of.

(3)上記実施形態では、用紙種類が一致するか否か、すなわち、印刷データで指定された通りに正常に印刷できるか否かに基づいて印刷再開時の印刷の可否を判定していたが、レイアウトや色などの不整合については許容し、印刷内容を一応すべて印刷できると判定した場合には印刷を実行するようにしてもよい。 (3) In the above embodiment, whether or not printing is possible when resuming printing is determined based on whether or not the paper types match, that is, whether or not normal printing can be performed as specified by the print data. Inconsistencies such as layout and color may be allowed, and printing may be executed when it is determined that all the print contents can be printed.

(4)上記実施形態では、全ての未印刷の印刷データに対して正常な印刷が可能か否かの判定すなわち再印刷の可否の判定を行っていたが、印刷データの種類によって、再印刷の可否を判定するか否かを分けてもよい。あるいは、各印刷データについて、個別に再印刷の判定を行うか否かをホスト装置32のドライバ画面上で設定できるようにしてもよい。また、再印刷をページ単位で行うか中断位置から行うかなどの、印刷再開位置の設定を、印刷データの種類によって、あるいは印刷データ毎に個別に設定できるようにしてもよい。 (4) In the above embodiment, whether or not normal printing is possible for all unprinted print data, that is, whether or not reprinting is possible is determined. However, depending on the type of print data, reprinting is possible. You may divide whether to judge whether it is possible. Alternatively, for each print data, it may be set on the driver screen of the host device 32 whether or not to perform reprinting individually. Further, the setting of the print resumption position such as whether reprinting is performed in units of pages or from the interruption position may be set according to the type of print data or individually for each print data.

(5)上記実施形態は、ロール紙を装填するロール紙プリンタ1に本発明を適用した例であるが、本発明は、定型にカットされた用紙に印刷するプリンタや、連続帳票を折り畳んだ状態でセットされる連続帳票に印刷するプリンタに適用可能である。 (5) The above embodiment is an example in which the present invention is applied to the roll paper printer 1 loaded with roll paper. However, the present invention is a printer that prints on a sheet that has been cut into a fixed form, or a state in which a continuous form is folded. This can be applied to a printer that prints on a continuous form set in the above.

本発明を適用したロール紙プリンタの外観斜視図である。1 is an external perspective view of a roll paper printer to which the present invention is applied. ロール紙プリンタの開閉蓋を全開にした状態の外観斜視図である。FIG. 3 is an external perspective view of the roll paper printer with the open / close lid fully opened. ロール紙プリンタの内部の概略構成を示す説明図である。FIG. 3 is an explanatory diagram illustrating a schematic configuration inside a roll paper printer. ロール紙プリンタの制御系を示す概略ブロック図である。FIG. 2 is a schematic block diagram illustrating a control system of a roll paper printer. 動作可能状態への復帰制御のフローチャートである。It is a flowchart of return control to an operable state.

符号の説明Explanation of symbols

1…ロール紙プリンタ、2…プリンタ本体、2a…外装ケース、2b…開口部、3…開閉蓋、3a…開閉検出器、4…排出口、5…排紙ガイド、6…蓋開閉レバー、10…プリンタ本体フレーム、11…ロール紙収納部(印刷媒体装填部)、12…ロール紙、12a…記録紙(印刷媒体)、13…ヘッドユニットフレーム、14…インクジェットヘッド、14a…インクノズル面、14b…ヘッドドライバ、15…キャリッジ、16…キャリッジガイド軸、17…キャリッジモータ、17a…モータドライバ、18…タイミングベルト、19…プラテン、20…テンションガイド、21…後側紙送りローラ、22…後側紙押えローラ、23…前側紙送りローラ、24…前側紙押えローラ、25…紙送りモータ、25a…モータドライバ、26…紙検出器、28…オートカッタ、30…制御部、31…送受信部、32…ホスト装置、33…不揮発性メモリ、A…搬送路 DESCRIPTION OF SYMBOLS 1 ... Roll paper printer, 2 ... Printer main body, 2a ... Exterior case, 2b ... Opening part, 3 ... Opening / closing lid, 3a ... Opening / closing detector, 4 ... Discharge port, 5 ... Discharge guide, 6 ... Cover opening / closing lever, 10 ... Printer body frame, 11 ... roll paper storage unit (printing medium loading unit), 12 ... roll paper, 12a ... recording paper (printing medium), 13 ... head unit frame, 14 ... ink jet head, 14a ... ink nozzle surface, 14b ... head driver, 15 ... carriage, 16 ... carriage guide shaft, 17 ... carriage motor, 17a ... motor driver, 18 ... timing belt, 19 ... platen, 20 ... tension guide, 21 ... rear paper feed roller, 22 ... rear side Paper press roller, 23... Front paper feed roller, 24... Front paper press roller, 25. Paper feed motor, 25 a. Paper detector, 28 ... automatic paper cutter, 30 ... controller, 31 ... transceiver unit, 32 ... host device, 33 ... nonvolatile memory, A ... conveyance path

Claims (8)

所定のエラー状態が検出されると動作停止状態に移行して、前記エラー状態を解消するための所定の復帰処理が行われるまで待機し、
前記復帰処理が行われると、動作可能状態に復帰すると共に、前記動作停止状態への移行時に印刷が完了していない受信済みの印刷データを正常に印刷できるか否か判定し、
正常に印刷できると判定した場合には、当該印刷データの印刷動作を開始し、
正常に印刷できないと判定した場合には、当該印刷データを破棄することを特徴とするプリンタの制御方法。
When a predetermined error state is detected, the state shifts to an operation stop state, and waits until a predetermined return process for eliminating the error state is performed,
When the return process is performed, it returns to the operable state, and determines whether or not the received print data that has not been printed at the time of shifting to the operation stop state can be normally printed,
When it is determined that printing can be performed normally, the printing operation of the print data is started,
A printer control method, comprising: discarding print data when it is determined that printing cannot be performed normally.
請求項1に記載のプリンタの制御方法であって、
前記動作停止状態への移行時に、印刷が完了していない受信済みの印刷データが複数記憶されている場合には、
当該複数の前記印刷データのそれぞれについて正常に印刷できるか否かを判定し、
前記複数の前記印刷データのうち、正常に印刷できないと判定された前記印刷データを破棄し、正常に印刷できると判定された前記印刷データの印刷動作を開始することを特徴とするプリンタの制御方法。
The printer control method according to claim 1, comprising:
When a plurality of received print data for which printing has not been completed is stored at the time of transition to the operation stop state,
Determining whether each of the plurality of print data can be normally printed;
A method for controlling a printer, comprising: discarding the print data determined not to be normally printed from the plurality of print data, and starting a printing operation of the print data determined to be normally printed .
請求項1または2に記載のプリンタの制御方法であって、
前記復帰処理が行われると、前記動作可能状態に復帰するときに印刷媒体装填部に装填されている印刷媒体が、前記受信済みの印刷データにおいて印刷対象とされている印刷媒体と一致しているか否かを判定し、
一致していると判定した場合には、当該印刷データの印刷動作を開始し、
一致していないと判定した場合には、当該印刷データを破棄することを特徴とするプリンタの制御方法。
A method for controlling a printer according to claim 1, wherein:
When the return processing is performed, whether the print medium loaded in the print medium loading unit when returning to the operable state matches the print medium to be printed in the received print data Determine whether or not
When it is determined that they match, the printing operation of the print data is started,
A printer control method comprising: discarding the print data when it is determined that they do not match.
請求項1または2に記載のプリンタの制御方法であって、
前記復帰処理に、印刷媒体装填部を開閉するための開閉カバーを閉じるカバークローズを検出する処理が含まれることを特徴とするプリンタの制御方法。
A method for controlling a printer according to claim 1, wherein:
The printer control method according to claim 1, wherein the returning process includes a process of detecting a cover close for closing an open / close cover for opening and closing the print medium loading unit.
請求項1ないし4のいずれかの項に記載のプリンタの制御方法であって、
前記動作可能状態への復帰時に正常に印刷できると判定された受信済みの印刷データの印刷動作を、外部装置からの印刷再開指令によって開始することを特徴とするプリンタの制御方法。
A printer control method according to any one of claims 1 to 4, comprising:
A printer control method, comprising: starting a print operation of received print data that has been determined to be normally printed when returning to the operable state, in response to a print restart command from an external device.
請求項1ないし5のいずれかの項に記載のプリンタの制御方法であって、
前記動作停止状態に移行したことによって前記印刷データの印刷が印刷内容の途中の所定位置で中断され、前記動作可能状態への復帰時に、当該中断された印刷データを正常に印刷できると判定した場合には、
当該印刷データの印刷動作を、印刷が中断された位置から再開することを特徴とするプリンタの制御方法。
A printer control method according to any one of claims 1 to 5, comprising:
When it is determined that printing of the print data is interrupted at a predetermined position in the middle of the print content due to the transition to the operation stop state, and the interrupted print data can be normally printed when returning to the operation enable state. Is
A method for controlling a printer, wherein the printing operation of the print data is resumed from a position where printing is interrupted.
請求項1ないし5のいずれかの項に記載のプリンタの制御方法であって、
前記動作停止状態に移行したことによって前記印刷データの印刷が定型の印刷領域への印刷内容の途中で中断され、前記動作可能状態への復帰時に、当該中断された印刷データを正常に印刷できると判定した場合には、
当該印刷データの印刷動作を、印刷が中断された印刷領域の先頭位置から再開することを特徴とするプリンタの制御方法。
A printer control method according to any one of claims 1 to 5, comprising:
The printing of the print data is interrupted in the middle of the print contents to the standard print area by shifting to the operation stop state, and the interrupted print data can be normally printed when returning to the operation enable state. If judged,
A method for controlling a printer, wherein the printing operation of the print data is resumed from the start position of the print area where printing is interrupted.
前記動作停止状態への移行時に印刷完了していない受信済みの印刷データの印刷または/および破棄を、請求項1ないし7のプリンタの制御方法により行うことを特徴とするプリンタ。   8. A printer according to claim 1, wherein printing or / and discarding of received print data that has not been printed at the time of shifting to the operation stop state is performed.
JP2008185671A 2008-07-17 2008-07-17 Control method for printer and printer Withdrawn JP2010023297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008185671A JP2010023297A (en) 2008-07-17 2008-07-17 Control method for printer and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008185671A JP2010023297A (en) 2008-07-17 2008-07-17 Control method for printer and printer

Publications (1)

Publication Number Publication Date
JP2010023297A true JP2010023297A (en) 2010-02-04

Family

ID=41729594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008185671A Withdrawn JP2010023297A (en) 2008-07-17 2008-07-17 Control method for printer and printer

Country Status (1)

Country Link
JP (1) JP2010023297A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012045798A (en) * 2010-08-26 2012-03-08 Ricoh Co Ltd Image forming apparatus and program
JP2015221533A (en) * 2014-05-23 2015-12-10 富士ゼロックス株式会社 Image forming device, cutting device, printing system and program
JP2016141009A (en) * 2015-01-30 2016-08-08 ブラザー工業株式会社 Printing tube creation device
JP2017170858A (en) * 2016-03-25 2017-09-28 キヤノン株式会社 Image forming apparatus
JP2017170859A (en) * 2016-03-25 2017-09-28 キヤノン株式会社 Image forming apparatus
JP2019081274A (en) * 2017-10-30 2019-05-30 セイコーエプソン株式会社 Printer and control method for printer

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012045798A (en) * 2010-08-26 2012-03-08 Ricoh Co Ltd Image forming apparatus and program
JP2015221533A (en) * 2014-05-23 2015-12-10 富士ゼロックス株式会社 Image forming device, cutting device, printing system and program
JP2016141009A (en) * 2015-01-30 2016-08-08 ブラザー工業株式会社 Printing tube creation device
JP2017170858A (en) * 2016-03-25 2017-09-28 キヤノン株式会社 Image forming apparatus
JP2017170859A (en) * 2016-03-25 2017-09-28 キヤノン株式会社 Image forming apparatus
JP2019081274A (en) * 2017-10-30 2019-05-30 セイコーエプソン株式会社 Printer and control method for printer
JP6992409B2 (en) 2017-10-30 2022-01-13 セイコーエプソン株式会社 Printing device and control method of printing device

Similar Documents

Publication Publication Date Title
US8004547B2 (en) Thermal printer and method of controlling the same
US7973812B2 (en) Thermal printer and method of controlling the same
JP2010023297A (en) Control method for printer and printer
US8696084B2 (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
JP5181909B2 (en) Printer reprint control method and printer
JP5151527B2 (en) Roll paper printer and printing control method for roll paper printer
JP5862173B2 (en) Image recording device
JP4345548B2 (en) Serial printer
JP5609999B2 (en) Printer reprint control method and printer
JP2010202307A (en) Method for detecting recording paper and printer
JP2010030088A (en) Control method for printer, and printer
JP2010023386A (en) Method for cutting recording paper in printer and printer
JP4497243B2 (en) Inkjet serial printer
JP2010030189A (en) Method for detecting faulty arrangement of recording paper and serial printer
JP4544365B2 (en) Serial printer with facsimile function
JP4325041B2 (en) Paper feeder
JP2023117584A (en) Printing device and control method of printing device
JP2003335008A (en) Thermal printer
JP2006056016A (en) Printing device
JP2010201746A (en) Image forming apparatus
JP2002210944A (en) Printer
JP2010036441A (en) Auto-loading control method and printer
JP2009190211A (en) Recording method, control method for recorder, and recorder

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