JP2010198151A - Printing system and language monitor program - Google Patents
Printing system and language monitor program Download PDFInfo
- Publication number
- JP2010198151A JP2010198151A JP2009040192A JP2009040192A JP2010198151A JP 2010198151 A JP2010198151 A JP 2010198151A JP 2009040192 A JP2009040192 A JP 2009040192A JP 2009040192 A JP2009040192 A JP 2009040192A JP 2010198151 A JP2010198151 A JP 2010198151A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- job
- print job
- printing
- 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.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
【課題】印刷ジョブのユーザによるキャンセル時における利便性を高めた印刷システム及び当該印刷システムを構成するコンピュータに搭載されるランゲージモニタプログラムを提供する。
【解決手段】印刷システム1は、コンピュータ10とプリンタ50により構成される。プリンタ50は、コンピュータ10からのジョブ開始指示によりJOB INモードとなり、コンピュータ10からのジョブ終了指示によりアイドルモードとなる。ジョブキャンセル時には、コンピュータ10のランゲージモニタ34は、EndJobをプリンタ50に送信する。EndJobは、NULLデータ列と用紙排出指示とジョブ終了指示を含む。プリンタ50は、NULLデータ列により、後の印刷データと区別する。又、プリンタ50は、用紙排出指示に基づいて、給排紙機構部53に保持されている用紙を排紙し、ジョブ終了指示により、アイドルモードに変更する。
【選択図】図5The present invention provides a printing system that improves convenience when a user cancels a print job, and a language monitor program installed in a computer constituting the printing system.
A printing system includes a computer and a printer. The printer 50 enters a JOB IN mode in response to a job start instruction from the computer 10 and enters an idle mode in response to a job end instruction from the computer 10. When canceling the job, the language monitor 34 of the computer 10 transmits EndJob to the printer 50. EndJob includes a null data string, a paper discharge instruction, and a job end instruction. The printer 50 distinguishes it from subsequent print data by a NULL data string. Further, the printer 50 discharges the paper held by the paper supply / discharge mechanism 53 based on the paper discharge instruction, and changes to the idle mode according to the job end instruction.
[Selection] Figure 5
Description
本発明は、プリンタと、コンピュータを備える印刷システム、及び、コンピュータに搭載されるランゲージモニタプログラムに関する。 The present invention relates to a printer, a printing system including a computer, and a language monitor program installed in the computer.
従来、プリンタと、コンピュータを接続した印刷システムが知られている。コンピュータから印刷データ等が送信されると、当該プリンタは、給排紙機構により給紙された用紙に対して、印刷機構部を用いて印刷を行う。特許文献1には、このような印刷システムに関する発明の一例が開示されている。 Conventionally, a printing system in which a printer and a computer are connected is known. When print data or the like is transmitted from the computer, the printer performs printing on the paper fed by the paper feed / discharge mechanism using the print mechanism unit. Patent Document 1 discloses an example of an invention related to such a printing system.
上記印刷システムにおいて印刷ジョブを実行している場合に、ユーザが、当該印刷ジョブをキャンセルする場合も生じる。この場合、プリンタは、印刷ジョブを実行している途中で処理を中止するため、用紙を給排紙機構部に保持したまま停止することがある。又、当該印刷システムで印刷データの送信が途中で中断された場合、中断前に送信された印刷データは、次回の印刷ジョブの印刷に悪影響を及ぼす場合もある。本明細書は、ユーザにとって利便性の高い印刷システム及びランゲージモニタプログラムを提供する。 When a print job is executed in the printing system, the user may cancel the print job. In this case, since the printer stops processing while the print job is being executed, the printer may stop while holding the paper in the paper supply / discharge mechanism. In addition, when transmission of print data is interrupted in the middle of the printing system, the print data transmitted before the interruption may adversely affect the printing of the next print job. The present specification provides a printing system and a language monitor program that are convenient for the user.
本発明の請求項1に係る印刷システムは、プリンタと、当該プリンタと接続されたコンピュータにより構成される。前記プリンタは、印刷手段と、給排紙手段と、制御手段と、を有している。そして、当該プリンタは、アイドル状態でコンピュータからジョブ開始コマンドを受信すると、コマンド受付状態となり、コマンド受付状態で、コンピュータから印刷ジョブに係る制御の終了が通知されると、アイドル状態となる。又、前記コンピュータは、操作手段と、接続手段と、を備え、スプーラと、プリンタドライバと、ランゲージモニタプログラムを有している。当該ランゲージモニタプログラムは、スプーラを介して、プリンタドライバから印刷ジョブの開始が通知された場合に、前記プリンタにジョブ開始コマンドを送信する。又、当該ランゲージモニタプログラムは、前記スプーラを介して、印刷ジョブの終了が通知された場合、前記プリンタにジョブ終了コマンドを送信する。そして、前記操作手段により印刷ジョブがキャンセルされた場合においても、当該ランゲージモニタプログラムは、前記プリンタにジョブ終了コマンドを送信する。そして、当該ジョブ終了コマンドは、NULLデータ列と、排紙指示と、ジョブ終了指示を含んでいる。 A printing system according to a first aspect of the present invention includes a printer and a computer connected to the printer. The printer includes a printing unit, a paper supply / discharge unit, and a control unit. When the printer receives a job start command from the computer in the idle state, the printer enters a command reception state. When the printer is notified of the end of control related to the print job in the command reception state, the printer enters an idle state. The computer includes operation means and connection means, and includes a spooler, a printer driver, and a language monitor program. The language monitor program transmits a job start command to the printer when the start of a print job is notified from the printer driver via the spooler. The language monitor program transmits a job end command to the printer when the end of the print job is notified via the spooler. Even when a print job is canceled by the operation unit, the language monitor program transmits a job end command to the printer. The job end command includes a null data string, a paper discharge instruction, and a job end instruction.
これにより、当該印刷システムにおいて、ユーザによる印刷ジョブのキャンセル(以下、ジョブキャンセルという)があった場合であっても、プリンタは、ランゲージモニタプログラムから、ジョブ終了コマンドを受信する。即ち、当該印刷システムによれば、プリンタは、ジョブキャンセルにより用紙が給排紙手段に保持されたままとなっても、排紙指示に基づいて、当該用紙を排紙し得る。これにより、当該印刷システムは、ジョブキャンセル時における利便性をユーザに提供し得る。又、当該印刷システムによれば、キャンセルされた印刷ジョブの印刷データは、ジョブ終了コマンドのNULLデータ列と、排紙指示と、ジョブ終了指示に基づいて、新たな印刷ジョブに係る印刷データと明確に区別される。従って、当該印刷システムは、ユーザによる印刷ジョブのキャンセルがその後の印刷に及ぼす影響を排除し得る。
又、ランゲージモニタプログラムは、接続手段の種類を問わずに機能する。従って、当該印刷システムは、プリンタが接続されている接続手段の種類を問わず、ジョブキャンセル時における利便性を提供し得る。
Thus, even if the user cancels a print job (hereinafter referred to as job cancellation) in the printing system, the printer receives a job end command from the language monitor program. That is, according to the printing system, the printer can discharge the paper based on the paper discharge instruction even if the paper is held by the paper supply / discharge means due to the job cancellation. Thereby, the printing system can provide the user with convenience when canceling the job. Further, according to the printing system, the print data of the canceled print job is clarified as print data related to a new print job based on the null data string of the job end command, the discharge instruction, and the job end instruction. Are distinguished. Therefore, the printing system can eliminate the influence of cancellation of the print job by the user on the subsequent printing.
The language monitor program functions regardless of the type of connection means. Therefore, the printing system can provide convenience when canceling a job regardless of the type of connection means to which the printer is connected.
そして、請求項2記載の印刷システムにおいては、前記請求項1に記載の印刷システムに係るプリンタは、当該プリンタがアイドル状態にある場合、前記ジョブ開始コマンドを除くコマンド及び前記ジョブ終了コマンドに含まれるNULLデータ列を読み捨てる。 In the printing system according to claim 2, the printer according to the printing system according to claim 1 is included in the command excluding the job start command and the job end command when the printer is in an idle state. Discard null data columns.
当該印刷システムによれば、プリンタは、NULLデータ列と、排紙指示と、ジョブ終了指示に基づく印刷を、用紙に行うことはない。即ち、当該印刷システムは、印刷ジョブを正常に完了した場合であってもNULLデータ列等の影響を受けることなく、印刷ジョブに係る印刷結果を出力し得る。この結果、当該印刷システムは、ジョブキャンセル時の利便性を提供しつつ、正常作動時における利便性も提供し得る。 According to the printing system, the printer does not perform printing based on the null data string, the paper discharge instruction, and the job end instruction on the paper. That is, the printing system can output the print result relating to the print job without being affected by the null data string or the like even when the print job is normally completed. As a result, the printing system can provide convenience during normal operation while providing convenience during job cancellation.
又、請求項3記載のランゲージモニタプログラムは、プリンタと接続されたコンピュータと協働することにより、前記請求項1に係る印刷システムと同様の効果を奏する。この場合におけるプリンタは、印刷手段、給排紙手段、制御手段を備える。又、この場合におけるコンピュータは、接続手段、操作手段を備え、スプーラ、プリンタドライバ、ランゲージモニタプログラムを有する。 According to a third aspect of the present invention, the language monitor program has the same effect as the printing system according to the first aspect in cooperation with a computer connected to the printer. The printer in this case includes a printing unit, a paper supply / discharge unit, and a control unit. In this case, the computer includes connection means and operation means, and includes a spooler, a printer driver, and a language monitor program.
即ち、請求項3記載のランゲージモニタプログラムは、プリンタと接続されたコンピュータと協働することにより、ジョブキャンセル時における排紙に関する利便性をユーザに提供し得る。又、当該ランゲージモニタプログラムは、請求項1記載の印刷システムと同様に、ユーザによる印刷ジョブのキャンセルがその後の印刷に及ぼす影響を排除し得る。更に、当該ランゲージモニタプログラムは、請求項1記載の印刷システムと同様に、プリンタが接続されている接続手段の種類を問わず、ジョブキャンセル時における利便性を提供し得る。 That is, the language monitor program according to the third aspect can provide the user with the convenience related to the paper discharge at the time of job cancellation by cooperating with the computer connected to the printer. Further, the language monitor program can eliminate the influence of the cancellation of the print job by the user on the subsequent printing, similarly to the printing system according to the first aspect. Further, the language monitor program can provide convenience at the time of job cancellation regardless of the type of connection means to which the printer is connected, as in the printing system according to claim 1.
以下、本発明に係る印刷システム及びランゲージモニタプログラムを具体化した一実施形態について、図面を参照しつつ詳細に説明する。
先ず、本実施形態に係る印刷システム1の概略構成について、図面を参照しつつ詳細に説明する。図1は、本実施形態に係る印刷システム1の概略構成を示す説明図である。
Hereinafter, an embodiment embodying a printing system and a language monitor program according to the present invention will be described in detail with reference to the drawings.
First, a schematic configuration of the printing system 1 according to the present embodiment will be described in detail with reference to the drawings. FIG. 1 is an explanatory diagram showing a schematic configuration of a printing system 1 according to the present embodiment.
本実施形態に係る印刷システム1は、コンピュータ10と、プリンタ50により構成される。コンピュータ10は、パーソナルコンピュータ等の情報端末である。プリンタ50は、当該コンピュータ10と接続されている。
The printing system 1 according to this embodiment includes a computer 10 and a
コンピュータ10は、制御部20を有している。制御部20は、コンピュータ10に対する制御の中枢を担う。当該制御部20は、CPU21、ROM22、RAM23を備えている。CPU21は、各種制御プログラムを実行する中央演算装置である。ROM22は、CPU21で実行される各種制御プログラムや恒久的なデータを格納している。RAM23は、CPU21による制御プログラムの演算結果等を一時的に記憶する。
The computer 10 has a
そして、コンピュータ10は、出力I/F24、ディスプレイ25、入力I/F26、マウス27、キーボード28を有している。ディスプレイ25は、出力I/F24を介して、制御部20と接続されている。ディスプレイ25は、制御部20の制御に基づいて、多様な内容を画面に表示する。マウス27及びキーボード28は、入力I/F26を介して、制御部20と接続されている。
The computer 10 includes an output I /
又、コンピュータ10は、LAN I/F40、USB I/F41を備えている。コンピュータ10は、LAN I/F40、ローカルエリアネットワークNを介して、プリンタ50と接続されている。そして、コンピュータ10は、USB I/F41を介して、プリンタ50と接続されている。
The computer 10 also includes a LAN I /
そして、コンピュータ10は、記憶装置30を有している。当該記憶装置30として、例えばHDD(Hard Disk Drive)を用いることができる。記憶装置30は、アプリケーションプログラム31、プリントスプーラ32、プリンタドライバ33、ランゲージモニタ34を記憶している。
The computer 10 has a
アプリケーションプログラム31は、特定の目的に対する処理を実行するためのプログラムである。当該アプリケーションプログラム31は、文書作成プログラム、表計算プログラム、ウェブブラウザプログラム等の種々のアプリーケーションプログラムを含む。
The
プリンタ50は、プリンタ制御部51、印刷部52、給排紙機構部53を備えている。
The
プリンタ制御部51は、プリンタ50の制御の中枢を担う。当該プリンタ制御部51は、CPU、ROM、RAMを備えている。後述する制御プログラム(図3参照)は、プリンタ制御部51のROMに格納されており、プリンタ制御部51のCPUにより実行される。
The
印刷部52は、プリンタ制御部51の制御に基づいて、用紙等の被記録媒体に対して、印刷データに基づく印刷を行う。当該印刷部52は、種々の方式(例えば、電子写真式、インクジェット方式等)を採用し得る。当該印刷部52の詳細については、既に公知であるため、その説明は省略する。
Under the control of the
給排紙機構部53は、プリンタ制御部51の制御に基づいて、印刷部52に対する用紙の供給(給紙)や、印刷部52からの用紙の排出(排紙)を行う。当該給排紙機構部53は、後述する用紙排出指示(図6参照)の受信に基づくプリンタ制御部51の制御に従って、印刷部52から用紙を排出し得る。給排紙機構部53の詳細な構成については、既に公知であるためその説明を省略する。
Based on the control of the
更に、プリンタ50は、LAN I/F54と、USB I/F55を有している。当該プリンタ50は、ローカルエリアネットワークNを介して、コンピュータ10からの印刷データを印刷し得る(図1参照)。尚、LAN I/F54を介して、コンピュータ10に接続されたプリンタ50を「ネットワーク接続されたプリンタ50」という。
Further, the
そして、プリンタ50は、USB I/F55を介して接続されたコンピュータ10からの印刷データを、用紙に印刷し得る。尚、USB I/F55を介して、コンピュータ10に接続されたプリンタ50を「ローカル接続されたプリンタ50」という。
The
図2は、印刷システム1の印刷アーキテクチャに関する説明図である。
アプリケーションプログラム31実行中にキーボード28等の操作により、印刷データの印刷操作が行われると、プリンタドライバ33は、当該印刷操作に基づく印刷指示を受け付ける。この時、プリントスプーラ32は、当該印刷指示に基づく印刷ジョブの管理を行う。そして、プリンタドライバ33は、プリントスプーラ32の制御に基づいて、当該プリンタドライバ33に対応するプリンタ50の制御を行う。
FIG. 2 is an explanatory diagram relating to the printing architecture of the printing system 1.
When a print operation for print data is performed by operating the
ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、プリンタ50に対するデータの送受信を行う。又、ランゲージモニタ34は、プリンタ50に対するデータ出力時における状態監視や、エラー制御を行う。
The language monitor 34 transmits / receives data to / from the
前記印刷ジョブに係る印刷データは、ポートモニタ35、LAN I/F40を介して、ネットワーク接続されたプリンタ50に書き込まれる。同様に、当該印刷データは、ポートモニタ35、USB I/F41を介して、ローカル接続されたプリンタに書き込まれる。
Print data relating to the print job is written to the
ここで、ポートモニタ35は、プリンタドライバ33によるプリンタポートに対するデータの入出力状態を監視する。プリンタポートは、ネットワーク接続されたプリンタ50と、ローカル接続されたプリンタ50に、夫々対応している。
Here, the port monitor 35 monitors the input / output state of data to the printer port by the
そして、プリンタ50は、プリンタポートに書き込まれた印刷データ(ラスターデータ)を順次、印刷部52により用紙に印刷する。印刷の実行に際し、プリンタ50は、給排紙機構部53により、用紙を印刷部52に供給する。そして、当該印刷が正常に終了した場合、用紙は、給排紙機構部53により、プリンタ50外部に排出される。
Then, the
図3は、プリンタ50の制御プログラムのフローチャートである。図3に示すように、S1において、後述するJOB INフラグがRAMにセットされているか否かに基づいて、判断処理を行う。現在「JOB INモード」である場合(S1:YES)、S5に処理を移行する。一方、そうでない場合(S1:NO)、S2に処理を移行する。
FIG. 3 is a flowchart of the control program for the
ここで、「JOB INモード」とは、コンピュータ10からの印刷データに基づく印刷ジョブを実行している状態である。この「JOB INモード」では、プリンタ制御部51は、コンピュータ10から送信された全ての指示(制御コマンド等を含む)に従って、当該指示に従った制御を行う。この点については後述する。
Here, the “JOB IN mode” is a state in which a print job based on print data from the computer 10 is being executed. In this “JOB IN mode”, the
又、本実施形態に係るプリンタ50は、「JOB INモード」ではない場合、「アイドルモード」となる。この「アイドルモード」では、プリンタ50は、後述するジョブ開始指示を除く全ての指示やデータを破棄する。この点についても後述する。
The
S2に移行すると、ジョブ開始指示をコンピュータ10から受信したか否かを判断する。ジョブ開始指示を受信している場合(S2:YES)、S4に処理を移行する。そうでない場合(S2:NO)、S3に処理を移行する。 In S2, it is determined whether or not a job start instruction is received from the computer 10. If a job start instruction has been received (S2: YES), the process proceeds to S4. Otherwise (S2: NO), the process proceeds to S3.
S3においては、「アイドルモード」にあるので、コンピュータ10から受信した全てのデータ及び制御コマンド等を読み捨てる。 In S3, since it is in the “idle mode”, all data and control commands received from the computer 10 are discarded.
S4では、ジョブ開始指示の受信(S2:YES)に伴い、プリンタ制御部51のRAMにJOB INフラグをセットする。
In S4, with the reception of the job start instruction (S2: YES), the JOB IN flag is set in the RAM of the
一方、プリンタ50が「JOB INモード」にあるS5においては、直前に行われた印刷ジョブの終了を示すジョブ終了指示を受信したか否かを判断する。ジョブ終了指示を受信した場合(S5:YES)、S7に処理を移行する。一方、そうでない場合(S5:NO)、S6に処理を移行する。
On the other hand, in S5 in which the
S6においては、種々の制御コマンドに基づくコマンド処理を実行する。例えば、印刷データを構成するラスターデータの描画コマンドを受信した場合、当該描画コマンドに従って、印刷部52等を制御し、用紙に当該ラスターデータを描画・印刷する。その後、当該制御プログラムを終了する。
In S6, command processing based on various control commands is executed. For example, when a drawing command for raster data constituting print data is received, the
S7では、ジョブ終了指示の受信に基づいて、JOB INフラグをクリアする。 In S7, the JOB IN flag is cleared based on the reception of the job end instruction.
ここで、ジョブ終了指示は、プリンタドライバ33から、ランゲージモニタ34を介して通知される「DrvEndDoc」と、ランゲージモニタ34から通知される「EndJob」の両者に含まれている。
Here, the job end instruction is included in both “DrvEndDoc” notified from the
図6に示すように、「EndJob」は、当該ジョブ終了指示と、1000バイト分のNULLデータからなるNULLデータ列と、用紙排出指示と、を含んでいる。
「EndJob」を受信した場合のS7では、前記NULLデータ列により、「EndJob」受信時に実行中の印刷ジョブに係る印刷データが終了していることを把握し、その後の印刷ジョブと区別する。又、用紙排出指示に従って、給排紙機構部53を制御することにより、給排紙機構部53における印刷途中の用紙を、プリンタ50外部へ排出する。
As shown in FIG. 6, “EndJob” includes the job end instruction, a NULL data string composed of 1000 bytes of NULL data, and a paper discharge instruction.
In S7 when “EndJob” is received, it is understood from the null data string that the print data related to the print job being executed at the time of receiving “EndJob” has ended, and is distinguished from subsequent print jobs. Further, by controlling the paper supply /
続いて、コンピュータ10からの印刷ジョブが正常に完了される場合(通常時)におけるプリンタドライバ33、ランゲージモニタ34、プリンタ50間の処理シーケンスについて、図4を参照しつつ詳細に説明する。
尚、下記の説明において、処理シーケンス開始時には、プリンタ50は、「アイドルモード」であるものとする。
Next, a processing sequence among the
In the following description, it is assumed that the
コンピュータ10において、ユーザによる印刷操作が行われると、ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、「StartJob」をプリンタ50に通知する。「StartJob」は、当該印刷ジョブに関する処理の開始を意味する。
When the user performs a printing operation on the computer 10, the language monitor 34 notifies the
その後、ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、「WritePort」を読み出す。「WritePort」は、特定のプリンタポートに対して、各種データや制御指示(例えば、ラスターデータや制御コマンド)を書き込むことを意味する。
Thereafter, the language monitor 34 reads “WritePort” based on the control of the
一方、プリントスプーラ32は、プリンタドライバ33の「DrvStartDoc」を呼び出す。「DrvStartDoc」は、印刷ジョブの実行に必要なデータの送信準備が整ったことを意味する。「DrvStartDoc」が呼び出されると、プリンタドライバ33は、ジョブ開始指示を含む情報を、プリントスプーラ32に返す。ジョブ開始指示を含む「DrvStartDoc」に基づく情報を受け取ると、プリントスプーラ32は、ランゲージモニタ34の「WritePort」を呼び出す。
On the other hand, the
これにより、「DrvStartDoc」に基づく情報は、ランゲージモニタ34の「WritePort」を介して、プリンタ50に通知される。プリンタ50は、当該「DrvStartDoc」に基づく情報が通知されると(S2:YES)、「アイドルモード」から「JOB INモード」に変更される(S4)。
As a result, information based on “DrvStartDoc” is notified to the
次に、プリントスプーラ32は、プリンタドライバ33の「DrvStartBanding」を読み出し、「DrvStartBanding」をランゲージモニタ34に通知する。この場合も、「DrvStartBanding」は、ランゲージモニタ34の「WritePort」を介して、プリンタ50に通知される。当該「DrvStartBanding」は、印刷ジョブに係る印刷データを構成する画像データ(ラスターデータ)のうち、最初の部分の描画指示を意味する。従って、プリンタ50は、プリンタポートに書き込まれた部分を用紙に印刷する(S6)。
Next, the
その後、プリントスプーラ32は、「DrvNextBand」をプリンタドライバ33から読み出し、ランゲージモニタ34に通知する。同様に、「DrvNextBand」は、ランゲージモニタ34の「WritePort」を介して、プリンタ50に通知される。当該「DrvNextBand」は、印刷ジョブに係る印刷データを構成する画像データ(ラスターデータ)のうち、印刷済みの部分に続く部分の描画指示を意味する。従って、プリンタ50は、印刷画像の残りの部分を用紙に印刷する(S6)。
Thereafter, the
尚、この「DrvNextBand」に係る処理は、印刷データを構成する画像データを全てプリンタポートに書き込むまで、繰り返し行われる。図4においては、2回繰り返す態様を記載しているが、この態様に限定されるものではない。 The process related to “DrvNextBand” is repeated until all the image data constituting the print data is written to the printer port. In FIG. 4, although the aspect repeated twice is described, it is not limited to this aspect.
続いて、プリントスプーラ32は、「DrvEndDoc」をプリンタドライバ33から呼び出す。「DrvEndDoc」は、印刷ジョブの処理に必要なデータの送信が完了したことを意味する。「DrvEndDoc」が呼び出されると、プリンタドライバ33は、ジョブ終了指示を含む情報を、プリントスプーラ32に返す。ジョブ終了指示を含む「DrvEndDoc」に基づく情報を受け取ると、プリントスプーラ32は、ランゲージモニタ34の「WritePort」を呼び出す。これにより、当該「DrvEndDoc」に基づく情報は、ランゲージモニタ34の「WritePort」を介して、プリンタ50に通知される。
Subsequently, the
当該「DrvEndDoc」に基づく情報を受信すると(S5:YES)、プリンタ50は、「JOB INモード」から「アイドルモード」に変更される(S7)。この時、プリンタ50は、当該印刷ジョブに係る印刷を完了しているので、給排紙機構部53により、印刷が施された用紙をプリンタ50外部に排紙している。
When the information based on the “DrvEndDoc” is received (S5: YES), the
その後、ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、「EndJob」をプリンタ50に通知する。
Thereafter, the language monitor 34 notifies the
この点、図4に示す場合においては、「EndJob」が通知される段階で、プリンタ50は、「アイドルモード」になっている。従って、当該「EndJob」が通知された場合であっても、プリンタ50は、当該「EndJob」を読み捨てる(S3)。
In this regard, in the case shown in FIG. 4, the
続いて、印刷ジョブのキャンセルがあった場合におけるプリンタドライバ33、ランゲージモニタ34、プリンタ50間の処理シーケンスについて、図5を参照しつつ詳細に説明する。
Next, a processing sequence among the
尚、図4の場合と同様に、処理シーケンス開始時には、プリンタ50は、「アイドルモード」であるものとする。又、コンピュータ10において、ユーザにより印刷ジョブのキャンセルが行われるまでの処理シーケンスは、正常時における処理シーケンスと同様であるため、その説明を省略する。
As in the case of FIG. 4, it is assumed that the
図5に示す場合、ジョブキャンセルは、ランゲージモニタ34の「WritePort」を介して、「DrvStartDoc」、「DrvStartBanding」、最初の「DrvNextBand」がプリンタ50に通知されている段階で行われている。従って、プリンタ50は、ユーザ操作に基づく印刷処理を、途中の段階まで実行している。つまり、用紙には、ユーザ所望の印刷データに基づく画像が、途中の段階まで印刷されている。
In the case illustrated in FIG. 5, job cancellation is performed when “DrvStartDoc”, “DrvStartBanding”, and the first “DrvNextBand” are notified to the
ここで、ユーザがキーボード28等により印刷ジョブのキャンセル操作を行うと、ランゲージモニタ34は、プリントスプーラ32の制御に従って、「WritePort」を終了する。ジョブキャンセルが行われると、その後のデータ等は、ランゲージモニタ34の「WritePort」を介して、プリンタポートに書き込まれることはなく、プリンタ50に伝達されることもない。
Here, when the user performs a print job cancel operation using the
ここで、この場合も、プリントスプーラ32は、プリンタドライバ33から2度目の「DrvNextBand」、「DrvEndDoc」を呼び出し、ランゲージモニタ34に通知する。しかしながら、この時、ランゲージモニタ34は、「WritePort」を終了している。従って、当該「DrvNextBand」、「DrvEndDoc」は、ランゲージモニタ34を介して、プリンタポートに書き込まれることはなく、プリンタ50に伝達されることもない。
Also in this case, the
この結果、続きの「DrvNextBand」を受信することができないので、プリンタ50は、印刷ジョブに係る印刷を途中で中断した状態となる。即ち、印刷が施されている用紙は、完全にプリンタ50の外部へ排紙されることなく、印刷部52近傍に留まっている。
As a result, since the subsequent “DrvNextBand” cannot be received, the
又、「DrvEndDoc」を受信することもないので、プリンタ50は、当該印刷ジョブの終了を把握できず、「DrvEndDoc」に基づき排紙を行うこともできない。更に、「DrvEndDoc」を受信できないため、プリンタ50は、当該印刷ジョブに係るデータと、次の印刷ジョブに係るデータを区別できず、印刷に不具合が生じてしまうことがある。
Further, since “DrvEndDoc” is not received, the
ジョブキャンセルが行われた場合も、図4の場合と同様に、当該ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、「EndJob」をプリンタ50に通知する。
When the job is canceled, the language monitor 34 notifies the
プリンタ50は、「JOB INモード」であるので、「EndJob」を受信すると(S5:YES)、プリンタ50は、「JOB INモード」から「アイドルモード」に変更される(S7)。
Since the
この時、プリンタ50は、「EndJob」に含まれるNULLデータ列により、当該印刷ジョブに係る印刷データが終了したことを把握し得る。従って、その後の印刷ジョブが開始された場合であっても、当該プリンタ50は、前後の印刷ジョブに係るデータの混在による印刷不良を起こすことはない。
At this time, the
更に、この時、プリンタ50は、「EndJob」に含まれる用紙排出指示に従って、給排紙機構部53を制御し、印刷の中断により排紙が完了していない用紙を、プリンタ50外部に排紙する。これにより、ユーザは、ジョブキャンセルを行った場合でも、用紙を取り除くためにプリンタ50に向かう必要はない。即ち、当該印刷システム1は、ジョブキャンセル時における利便性を、ユーザに提供し得る。
Further, at this time, the
以上説明したように、本実施形態に係る印刷システム1によれば、ジョブキャンセルがあった場合でも、プリンタ50は、ランゲージモニタ34から「EndJob」を受信する。即ち、当該印刷システム1によれば、プリンタ50は、「EndJob」に含まれる用紙排出指示に従って用紙の排紙を行う。この結果、当該印刷システム1によれば、当該プリンタ50は、ジョブキャンセルにより用紙が給排紙機構部53に保持されたままとなった場合でも、確実に用紙を排紙することができ、ユーザにジョブキャンセル時の利便性を提供し得る。
As described above, according to the printing system 1 according to the present embodiment, even when there is a job cancellation, the
又、当該印刷システム1によれば、キャンセルされた印刷ジョブに係る印刷データは、「EndJob」に含まれるNULLデータ列、用紙排出指示、ジョブ終了指示に基づいて、新たな印刷ジョブに係る印刷データと明確に区別される。従って、当該印刷システムによれば、ユーザのジョブキャンセルがその後の印刷ジョブに与える影響を排除し得る。 Also, according to the printing system 1, the print data related to the canceled print job is the print data related to the new print job based on the NULL data string, the paper discharge instruction, and the job end instruction included in “EndJob”. And is clearly distinguished. Therefore, according to the printing system, it is possible to eliminate the influence of the user job cancellation on the subsequent print job.
尚、ランゲージモニタ34は、LAN I/FやUSB I/F等の接続インターフェイスの種類を問わずに機能する。従って、当該印刷システム1は、プリンタ50が接続されている接続インターフェイスの種類を問わず、ジョブキャンセル時における利便性を提供し得る。
The language monitor 34 functions regardless of the type of connection interface such as LAN I / F or USB I / F. Therefore, the printing system 1 can provide convenience when canceling a job regardless of the type of connection interface to which the
更に、当該印刷システム1によれば、プリンタ50は、正常時には「EndJob」の前に伝達される「DrvEndDoc」のジョブ終了指示により、「アイドルモード」に変更される。当該「アイドルモード」では、プリンタ50は、「DrvStartDoc」に含まれるジョブ開始指示のみ受け付け、それ以外の制御コマンドやデータを読み捨てる(S3)。つまり、正常時においては、プリンタ50は、「アイドルモード」時に通知された「EndJob」に従って、NULLデータ列と、用紙排出指示と、ジョブ終了指示に基づく印刷を、用紙に行うことはない。この結果、当該印刷システム1は、印刷ジョブを正常に完了した場合であってもNULLデータ列等の影響を受けることなく、印刷ジョブに係る印刷結果を出力し得る。この結果、当該印刷システム1は、ジョブキャンセル時の利便性を提供しつつ、正常作動時における利便性も提供し得る。
Further, according to the printing system 1, the
そして、ランゲージモニタ34は、プリンタ50と接続された別のコンピュータで実行されることにより、印刷システム1と同様の効果を奏する。即ち、ランゲージモニタ34は、当該コンピュータと協働することにより、ジョブキャンセル時における排紙に関する利便性をユーザに提供し得る。この場合に、当該ランゲージモニタ34は、ユーザによる印刷ジョブのキャンセルがその後の印刷に及ぼす影響を排除し得る。更に、当該ランゲージモニタ34は、プリンタ50が接続されている接続インターフェイスの種類を問わず、ジョブキャンセル時における利便性を提供し得る。
The language monitor 34 has the same effect as the printing system 1 by being executed by another computer connected to the
以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能である。例えば、本実施形態においては、「EndJob」は、NULLデータ列と、用紙排紙指示と、JOB終了指示と、により構成されていたが、この態様に限定されるものではない。即ち、本発明は、「EndJob」に、NULLデータ列と、用紙排紙指示と、JOB終了指示に加え、他の制御指示を含めることもできる。 Although the present invention has been described based on the embodiments, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be made without departing from the spirit of the present invention. For example, in the present embodiment, “EndJob” is composed of a NULL data string, a paper discharge instruction, and a job end instruction, but is not limited to this mode. That is, according to the present invention, “EndJob” can include other control instructions in addition to the NULL data string, the paper discharge instruction, and the job end instruction.
又、本実施形態においては、NULLデータ列が、先の印刷データの終了を示し、当該NULLデータ列により、次の印刷データと区別可能に構成しているが、この態様に限定されるものではない。先の印刷データと次の印刷データを区別できるデータであれば、種々の態様を採用し得る。 In this embodiment, the NULL data string indicates the end of the previous print data, and is configured to be distinguishable from the next print data by the NULL data string. However, the present invention is not limited to this mode. Absent. As long as the data can distinguish the previous print data and the next print data, various modes can be adopted.
更に、本実施形態においては、「DrvStartDoc」の呼び出しに基づいて、ジョブ開始指示をプリンタ50に通知するように構成していたが、この態様に限定されるものではなく、種々の態様を採用し得る。例えば、本発明は、プリントスプーラ32が「DrvStartBanding」を呼び出したことを条件に、ジョブ開始指示をプリンタ50に通知する構成を採用し得る。又、本発明は、プリントスプーラ32が最初の「DrvNextBand」が呼び出した際に、ジョブ開始指示をプリンタ50に通知する構成を採用することもできる。
Further, in the present embodiment, the job start instruction is notified to the
1 印刷システム
10 コンピュータ
20 制御部
27 マウス
28 キーボード
32 プリントスプーラ
33 プリンタドライバ
34 ランゲージモニタ
40 LAN I/F
41 USB I/F
50 プリンタ
51 プリンタ制御部
52 印刷部
53 給排紙機構部
54 LAN I/F
55 USB I/F
N ローカルエリアネットワーク
DESCRIPTION OF SYMBOLS 1 Printing system 10
41 USB I / F
50
55 USB I / F
N Local area network
Claims (3)
前記印刷手段に対する用紙の給紙及び排紙を行う給排紙手段と、
前記印刷手段及び前記給排紙手段を制御し、印刷データの印刷に関する制御を行う制御手段と、を備えるプリンタと、
前記印刷データに基づく印刷ジョブのキャンセル操作に用いられる操作手段と、
前記プリンタとの間で、印刷データを含む種々の情報を通信可能に接続する接続手段と、を備えるコンピュータと、
を有する印刷システムにおいて、
前記プリンタは、
前記印刷データに基づく印刷ジョブに係る印刷制御を待機するアイドル状態にある場合に、前記印刷ジョブに係る印刷制御を開始することを示すジョブ開始コマンドを受信すると、前記制御手段により、前記コンピュータから受信したコマンドに基づいて前記印刷手段及び前記給排紙手段に対する制御を実行するコマンド受付状態へ切り換え、
前記コマンド受付状態にある場合に、前記印刷ジョブに係る印刷制御の終了が通知されると、前記制御手段により、前記アイドル状態に切り換え、
前記コンピュータは、
複数の印刷ジョブを受け付け、各印刷ジョブの処理順序を管理するスプーラと、
前記接続手段に接続されたプリンタを制御するためのプリンタドライバと、
前記スプーラの制御に基づいて、前記プリンタに対するデータの送受信を行うランゲージモニタプログラムと、を有し、
前記ランゲージモニタプログラムは、
前記スプーラを介して、前記プリンタドライバから印刷ジョブの開始が通知された場合に、前記ジョブ開始コマンドを前記プリンタに対して送信し、
前記スプーラを介して、前記印刷ジョブの終了が通知された場合、当該印刷ジョブに係るイメージデータの終了を示すNULLデータ列と、前記プリンタの給排紙手段における用紙の排紙を指示する排紙指示と、前記プリンタにおける印刷ジョブの終了を示すジョブ終了指示と、を含むジョブ終了コマンドを前記プリンタに対して送信し、前記プリンタに印刷ジョブに係る印刷制御の終了を通知し、
前記操作手段に基づく印刷ジョブのキャンセルがあった場合に、前記ジョブ終了コマンドを前記プリンタに対して送信し、前記プリンタに印刷ジョブに係る印刷制御の終了を通知する
ことを特徴とする印刷システム。 Printing means for performing printing based on print data on paper;
Paper supply / discharge means for feeding and discharging paper to the printing means;
A control unit that controls the printing unit and the paper supply / discharge unit, and performs control related to printing of print data;
Operation means used for canceling a print job based on the print data;
A computer comprising: connection means for communicably connecting various information including print data to and from the printer;
In a printing system having
The printer is
When a job start command indicating that the print control related to the print job is started is received in the idle state waiting for the print control related to the print job based on the print data, the control unit receives the job start command from the computer. Switching to a command accepting state for executing control on the printing unit and the paper supply / discharge unit based on the received command,
In the command reception state, when notified of the end of print control related to the print job, the control means switches to the idle state,
The computer
A spooler that accepts multiple print jobs and manages the processing order of each print job;
A printer driver for controlling the printer connected to the connection means;
A language monitor program for transmitting and receiving data to and from the printer based on the control of the spooler;
The language monitor program is
When the start of a print job is notified from the printer driver via the spooler, the job start command is transmitted to the printer,
When the end of the print job is notified via the spooler, a null data string indicating the end of the image data related to the print job, and a paper discharge instructing paper discharge in the paper supply / discharge means of the printer A job end command including an instruction and a job end instruction indicating the end of the print job in the printer, and notifies the printer of the end of the print control related to the print job.
When a print job is canceled based on the operation unit, the job end command is transmitted to the printer, and the printer is notified of the end of print control relating to the print job.
前記プリンタは、
前記アイドル状態にある場合、
前記ジョブ開始コマンドを除くコマンド及び前記ジョブ終了コマンドに含まれるNULLデータ列を読み捨てる
ことを特徴とする印刷システム。 The printing system according to claim 1,
The printer is
When in the idle state,
A printing system, wherein a null data string included in a command excluding the job start command and the job end command is read and discarded.
前記印刷データに基づく印刷ジョブのキャンセル操作に用いられる操作手段と、
複数の印刷ジョブを受け付け、各印刷ジョブの処理順序を管理するスプーラと、
前記接続手段に接続されたプリンタを制御するためのプリンタドライバと、
前記スプーラの制御に基づいて、前記プリンタに対するデータの送受信を行うランゲージモニタプログラムと、を有するコンピュータのランゲージモニタプログラムにおいて、
前記ランゲージモニタプログラムは、
前記スプーラを介して、前記プリンタドライバから印刷ジョブの開始が通知された場合に、前記印刷ジョブに係る印刷制御を開始することを示すジョブ開始コマンドを前記プリンタに対して送信することにより、前記印刷ジョブに係る印刷制御を待機するアイドル状態にあるプリンタを、前記コンピュータから受信したコマンドに基づいて前記印刷手段及び前記給排紙手段に対する制御を実行するコマンド受付状態へ切り換え、
前記スプーラを介して、印刷ジョブの終了が通知された場合、当該印刷ジョブに係るイメージデータの終了を示すNULLデータ列と、前記プリンタの給排紙手段における用紙の排紙を指示する排紙指示と、前記プリンタにおける印刷ジョブの終了を示すジョブ終了指示と、を含むジョブ終了コマンドを送信し、
前記操作手段に基づく印刷ジョブのキャンセルがあった場合に、前記ジョブ終了コマンドを前記プリンタに対して送信し、前記プリンタに印刷ジョブに係る印刷制御の終了を通知することにより、前記コマンド受付状態にあるプリンタを、前記アイドル状態に切り換える
ことを特徴とするランゲージモニタプログラム。 A printing unit that performs printing based on print data on a sheet, a sheet feeding / discharging unit that feeds and discharges the sheet with respect to the printing unit, and a printer that controls the printing unit and the sheet feeding / discharging unit, and Connecting means for connecting various information including print data so as to be communicable between a control means for performing control and a printer comprising:
Operation means used for canceling a print job based on the print data;
A spooler that accepts multiple print jobs and manages the processing order of each print job;
A printer driver for controlling the printer connected to the connection means;
In a language monitor program for a computer having a language monitor program for transmitting and receiving data to and from the printer based on the control of the spooler,
The language monitor program is
When the start of a print job is notified from the printer driver via the spooler, the print start is transmitted to the printer by indicating to the printer that the print control related to the print job is started. Switching the printer in the idle state waiting for the print control related to the job to a command reception state for executing control on the printing unit and the paper supply / discharge unit based on a command received from the computer,
When the end of a print job is notified via the spooler, a null data string indicating the end of the image data related to the print job, and a paper discharge instruction for instructing paper discharge in the paper supply / discharge means of the printer And a job end command including a job end instruction indicating the end of the print job in the printer,
When the print job is canceled based on the operation means, the job end command is transmitted to the printer, and notification of the end of print control related to the print job is sent to the printer. A language monitor program for switching a printer to the idle state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009040192A JP2010198151A (en) | 2009-02-24 | 2009-02-24 | Printing system and language monitor program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009040192A JP2010198151A (en) | 2009-02-24 | 2009-02-24 | Printing system and language monitor program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010198151A true JP2010198151A (en) | 2010-09-09 |
Family
ID=42822843
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009040192A Pending JP2010198151A (en) | 2009-02-24 | 2009-02-24 | Printing system and language monitor program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010198151A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9274736B2 (en) | 2012-08-29 | 2016-03-01 | Ricoh Company, Ltd. | Information processing apparatus, output system, information processing method, and recording medium storing information processing program |
-
2009
- 2009-02-24 JP JP2009040192A patent/JP2010198151A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9274736B2 (en) | 2012-08-29 | 2016-03-01 | Ricoh Company, Ltd. | Information processing apparatus, output system, information processing method, and recording medium storing information processing program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8493587B2 (en) | Printing device with job cancellation function | |
| JP2007276119A (en) | Avoiding errors in printing devices | |
| US9069508B2 (en) | Information processing method and information processing apparatus generating a print command based on spool data of a print job | |
| JP4137144B2 (en) | Data processing apparatus and control method thereof | |
| US8749819B2 (en) | Information processing for controlling a printer | |
| JP2011141771A (en) | Printing system, control method of print job in printing system, and printer | |
| JP2011070391A (en) | Control apparatus, image forming system, and program | |
| US20090125832A1 (en) | Information Processing Program an Information Processing Apparatus | |
| US20070206210A1 (en) | Image forming apparatus, information processing apparatus, printing system, and image forming method | |
| JP6351282B2 (en) | Print control apparatus, print control method, and program | |
| JP5106058B2 (en) | Printing system for judging abnormality of printing control device and restoring printing device | |
| JP2011253409A (en) | Image forming system | |
| JP2010198151A (en) | Printing system and language monitor program | |
| JP2011090599A (en) | Information processing apparatus and method | |
| JP2018073196A (en) | Information processing apparatus, control method, and program | |
| US8587822B2 (en) | Printing apparatus, method and storage medium for executing a job combining double-sided and single-sided pages | |
| JP6494395B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
| JP4891052B2 (en) | Information processing apparatus, preview method, program, and storage medium | |
| CN100399258C (en) | Method for Avoiding Printing Mistakes and Its Printing System | |
| JP2009066796A (en) | Printing apparatus, printing control method, and control program | |
| JP4715638B2 (en) | Image forming system and image forming apparatus | |
| JP3620633B2 (en) | Print data transmitting apparatus and printing system | |
| JP2005084888A (en) | Printing system | |
| JP2011031474A (en) | Printer and program | |
| EP2600286B1 (en) | Image forming apparatus and image forming method |