JP5106058B2 - Printing system for judging abnormality of printing control device and restoring printing device - Google Patents

Printing system for judging abnormality of printing control device and restoring printing device Download PDF

Info

Publication number
JP5106058B2
JP5106058B2 JP2007298171A JP2007298171A JP5106058B2 JP 5106058 B2 JP5106058 B2 JP 5106058B2 JP 2007298171 A JP2007298171 A JP 2007298171A JP 2007298171 A JP2007298171 A JP 2007298171A JP 5106058 B2 JP5106058 B2 JP 5106058B2
Authority
JP
Japan
Prior art keywords
print
printing
printer
control device
printing system
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.)
Active
Application number
JP2007298171A
Other languages
Japanese (ja)
Other versions
JP2009123079A (en
Inventor
俊典 川浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2007298171A priority Critical patent/JP5106058B2/en
Publication of JP2009123079A publication Critical patent/JP2009123079A/en
Application granted granted Critical
Publication of JP5106058B2 publication Critical patent/JP5106058B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、印刷制御装置からの指示によって、印刷装置を初期化して印刷装置内のデータを破棄する技術に関する。   The present invention relates to a technique for initializing a printing apparatus and discarding data in the printing apparatus according to an instruction from a printing control apparatus.

従来、プリンティングシステムは、カラー出力を可能とするカラープリンタと、そのプリンタを制御し印刷データを生成するホストコンピュータと、その双方を接続する通信インターフェースとから構成されるのが一般的である。ホストコンピュータではオペレーティングシステムが動作しており、各種ソフトウェアがこのオペレーティングシステム上で動作するようになっている。アプリケーションプログラムで作成した各種ドキュメントを印刷する際には、アプリケーションプログラム、プリンタドライバ、オペレーティングシステムが規定の手順で関数呼び出し等を行うことによってデータをやり取りして印刷コマンドを生成する。生成された印刷コマンドをプリンタへ転送することで印刷が行われるようになっている。   2. Description of the Related Art Conventionally, a printing system is generally composed of a color printer that enables color output, a host computer that controls the printer and generates print data, and a communication interface that connects both of them. An operating system operates on the host computer, and various software programs operate on this operating system. When printing various documents created by the application program, the application program, the printer driver, and the operating system exchange functions to generate a print command by calling functions according to a prescribed procedure. Printing is performed by transferring the generated print command to the printer.

ところで、プリンタドライバはオペレーティングシステムを構成する一部であるスプーラプロセスから呼び出されて動作するが、このスプーラプロセスがなんらかの異常状態に陥り、終了してしまうケースがある。このようなケースでも、スプーラプロセスが復旧した後の印刷を正常に行える印刷システムが望まれる。   By the way, the printer driver is called and operated by a spooler process which is a part of the operating system. However, there is a case where this spooler process falls into some abnormal state and ends. Even in such a case, a printing system that can normally perform printing after the spooler process is restored is desired.

プリンタドライバから印刷コマンドをプリンタに転送している最中にスプーラプロセスが終了してしまった場合は、ホストコンピュータ上に残された印刷データは削除されてしまう。プリンタはスプーラプロセスが終了した後も残りの印刷コマンドを待ち続ける。この後、スプーラプロセスが再起動し、次の印刷が開始されると、次の印刷の印刷コマンドの先頭を、異常終了した印刷ジョブの残りの印刷コマンドが送信したと判断し、印刷を続行してしまう場合がある。このような場合、記録媒体に途中から不正な印刷を行ってしまう。   If the spooler process is terminated while the print command is being transferred from the printer driver to the printer, the print data remaining on the host computer is deleted. The printer continues to wait for the remaining print commands after the spooler process is finished. After that, when the spooler process restarts and the next printing starts, it is determined that the remaining print commands of the print job that ended abnormally have been sent, and printing continues. May end up. In such a case, unauthorized printing is performed on the recording medium from the middle.

また、プリンタが前の印刷ジョブの残りの印刷コマンドを待っているまたは処理しているときは、次の印刷ジョブの印刷コマンドを送信しないといった対応を行うと、前の印刷ジョブが異常終了した場合は次の印刷ジョブの印刷コマンド送信を待ち続けてしまう。   Also, if the printer is waiting for or processing the remaining print commands of the previous print job, and if you do not send a print command for the next print job, the previous print job will end abnormally Keeps waiting for the print command transmission of the next print job.

一方、オペレーティングシステムが再起動した際にリセット指示がプリンタに発行されるが、このリセット指示をプリンタで受信すると、プリンタは印刷中の印刷ジョブの印刷コマンドを破棄し、次の印刷を正常に開始させるという技術は既に存在する(特許文献1参照)。   On the other hand, when the operating system restarts, a reset instruction is issued to the printer. When this reset instruction is received by the printer, the printer discards the print command for the print job being printed and starts the next printing normally. The technique of making it already exists (refer patent document 1).

この技術によると、プリンタが印刷中にリセット指示を受信すると、印刷中の印刷ジョブを破棄し、プリンタを初期化する。これによって、新しく発行された次の印刷ジョブの不正印刷を防ぐことが可能となる。   According to this technique, when the printer receives a reset instruction during printing, the print job being printed is discarded and the printer is initialized. This prevents unauthorized printing of the next newly issued print job.

さらに、印刷中の印刷ジョブを破棄することによって、ホストコンピュータが次の印刷ジョブの印刷コマンド送信を待ち続けることもない。
特開2001−175436
Furthermore, by discarding a print job that is being printed, the host computer does not continue to wait for a print command transmission for the next print job.
JP 2001-175436 A

しかし、ホストコンピュータ上で動作する上記スプーラプロセスのみが異常終了し、オペレーティングシステムが再起動することなくスプーラプロセスのみが再起動された場合には、ホストコンピュータからのリセット指示が発行されないためプリンタの初期化を行うことが出来ない。一方、スプーラプロセスが再起動する度にリセット指示を発行するような処理だと、プリンタが正常な印刷コマンドを処理中であった場合、正常に終了できる印刷ジョブを初期化によって破棄してしまうという問題があった。   However, if only the above spooler process running on the host computer is abnormally terminated and only the spooler process is restarted without restarting the operating system, the reset instruction from the host computer is not issued, so the initial printer Can not be done. On the other hand, if the process is such that a reset instruction is issued each time the spooler process is restarted, if the printer is processing a normal print command, a print job that can be completed normally will be discarded by initialization. There was a problem.

本発明は上記従来の問題点を鑑み、プリンタの初期化指示をホストコンピュータから適切に判断することを目的とする。   SUMMARY OF THE INVENTION In view of the above-described conventional problems, an object of the present invention is to appropriately determine a printer initialization instruction from a host computer.

上記の課題を解決するために、本発明の印刷システムは、
印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムであって、前記印刷装置は印刷コマンドを全て受信した情報を前記印刷制御装置に通知する印刷コマンド受信終了通知手段と、前記印刷コマンド受信終了通知を前記印刷制御装置が検出する印刷コマンド受信終了検出手段とを有し、前記印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際、前記印刷コマンド受信終了検出手段が前記印刷コマンド受信終了通知を検出できない場合は、前記印刷制御装置が印刷装置に初期化処理を指示することを特徴とする。
In order to solve the above problems, the printing system of the present invention provides:
A printing system for sequentially transmitting print commands from a print control device to a print device, wherein the print device notifies the print control device of information that all print commands have been received, and receives the print command. A print command reception end detection means for detecting an end notification by the print control apparatus, and when the next print job is started after the print command transmission is unexpectedly stopped, the print command reception end is performed. When the detection unit cannot detect the print command reception end notification, the print control apparatus instructs the printing apparatus to perform initialization processing.

本発明によれば以下のような効果が得られる。   According to the present invention, the following effects can be obtained.

後述の第一から第四の実施の形態を印刷システムに適用することにより、スプーラプロセスが印刷中に再起動した後の次の印刷が正常に開始することができる。   By applying the first to fourth embodiments described later to the printing system, the next printing after the spooler process is restarted during printing can be started normally.

また、後述の第二の実施の形態を印刷システムに適用すると、ホストコンピュータのみでの対策で行うことも可能であり、また複数の印刷ホストが接続された環境でも対応できる。   In addition, when a second embodiment described later is applied to a printing system, it is possible to take measures only with a host computer, and it is possible to cope with an environment in which a plurality of printing hosts are connected.

さらに、後述の第一から第四の実施の形態をそれぞれ組み合わせて印刷システムに適用することにより、より適切にプリンタへの初期化指示を発行することができる。   Furthermore, by applying the first to fourth embodiments described later in combination to the printing system, it is possible to issue an initialization instruction to the printer more appropriately.

<本発明の実施様態>
本発明の実施様態は、印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムであって、印刷装置は印刷コマンドを全て受信した情報を印刷制御装置に通知する印刷コマンド受信終了通知手段と、印刷コマンド受信終了通知を印刷制御装置が検出する印刷コマンド受信終了検出手段とを有し、印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際、印刷コマンド受信終了検出手段が印刷コマンド受信終了通知を検出できない場合は、印刷制御装置が印刷装置に初期化処理を指示する。
<Embodiment of the present invention>
An embodiment of the present invention is a printing system that sequentially transmits a print command from a print control apparatus to the print apparatus, and the print apparatus receives a print command reception end notification unit that notifies the print control apparatus of information that has received all the print commands. And a print command reception end detection means for detecting a print command reception end notification by the print control device, and when the next print job is started after the print command transmission is unexpectedly stopped, the print command reception is received. When the end detection unit cannot detect the print command reception end notification, the print control apparatus instructs the printing apparatus to perform initialization processing.

また、印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムであって、
印刷制御装置は印刷ジョブの開始時に印刷開始情報もしくは印刷中情報を印刷制御装置内の記憶領域に記憶する印刷開始情報記憶手段を有し、印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際に、印刷開始情報が印刷制御装置の記憶領域に存在する場合は、印刷制御装置が印刷装置に初期化処理を指示する。
A printing system for sequentially sending print commands from the print control device to the printing device;
The print control device has print start information storage means for storing print start information or printing information in a storage area in the print control device at the start of a print job, and after the print command transmission stops unexpectedly, If the print start information exists in the storage area of the print control apparatus when the print job is started, the print control apparatus instructs the print apparatus to perform initialization processing.

また、印刷中である情報は、印刷制御装置内の記憶領域において印刷ポート毎に管理される。
また、印刷コマンドの送信が予期せず停止したことが、スプーラプロセスが終了したことである。
また、スプーラプロセスが、印刷制御装置のオペレーティングシステムの一部である。
Further, information being printed is managed for each print port in a storage area in the print control apparatus.
The fact that the transmission of the print command has stopped unexpectedly means that the spooler process has ended.
The spooler process is part of the operating system of the print control apparatus.

また、印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムにおいて、
印刷装置は印刷コマンドを最後に受信したあとの経過時間を印刷制御装置に通知する通知手段を有し、印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際に、印刷制御装置は経過時間が規定時間以上経過していた場合は、印刷装置に初期化処理を指示する。
Also, in a printing system that sequentially sends print commands from the print control device to the printing device,
The printing device has a notification means for notifying the print control device of the elapsed time after the last reception of the print command, and when the next print job is started after the print command transmission stops unexpectedly. The printing control apparatus instructs the printing apparatus to perform initialization processing when the elapsed time has exceeded the specified time.

また、印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムにおいて、
印刷装置は印刷コマンドを最後に受信したあとの経過時間を検知する検知手段と、データ送信の異常状態を印刷装置に通知する通知手段を有し、印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際に、検出手段が規定時間以上経過していることを検知すると、通知手段により異常状態を印刷制御装置に通知し、印刷制御装置は印刷装置からの異常状態であるという情報を受信した場合に、印刷装置に初期化処理を指示する。
Also, in a printing system that sequentially sends print commands from the print control device to the printing device,
The printing apparatus has a detecting means for detecting an elapsed time after the last reception of the print command and a notification means for notifying the printing apparatus of an abnormal state of data transmission, after the print command transmission stops unexpectedly. When the detection unit detects that the specified time has passed when the next print job is started, the notification unit notifies the abnormal state to the print control unit, and the print control unit receives the abnormal state from the printing unit. Is received, information about initialization is instructed to the printing apparatus.

また、印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムにおいて、
印刷制御装置は自身の識別情報を印刷装置に転送する転送手段を有し、印刷装置は印刷制御装置の識別情報を記憶する記憶手段と、印刷制御装置に識別情報を通知する通知手段を有し、印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際に、印刷制御装置は印刷装置に記憶された識別情報が自身の識別情報と一致した場合は、印刷装置に初期化処理を指示する。
Also, in a printing system that sequentially sends print commands from the print control device to the printing device,
The print control apparatus has a transfer means for transferring its own identification information to the printing apparatus. The printing apparatus has a storage means for storing the identification information of the print control apparatus and a notification means for notifying the print control apparatus of the identification information. When the next print job is started after the transmission of the print command has been stopped unexpectedly, the print control device, if the identification information stored in the printing device matches its own identification information, Is instructed to initialize.

<第一の実施の形態>
以下、図面に示す実施例に基づき本発明の第一の実施形態を詳細に説明する。
<First embodiment>
Hereinafter, a first embodiment of the present invention will be described in detail based on examples shown in the drawings.

[印刷システムの構成]
図1は本発明の実施の一形態に係る印刷システムの構成を示すブロック図の一例である。プリンタ102は、画像形成を行うインクジェット方式のプリンタであり、I/F(インターフェース)101を介して後述するホストコンピュータ100と接続される。プリンタ102はホストコンピュータ100で生成された印刷コマンドに基づいて記録媒体103に画像の形成を行う。プリンタの種類については特に問わないが、ここではインクジェット方式のカラープリンタを想定している。ホストコンピュータ100は、アプリケーションプログラム(アプリケーション)116が印刷ジョブを作成し、プリンタドライバ112が印刷ジョブのスプールデータから、接続されたプリンタ102の印刷動作を制御する印刷コマンドの生成を行う。本実施形態ではホストコンピュータ100としてパーソナルコンピュータを用いている。印刷の設定に関するユーザーからの指示や入力を受ける役割も果たす。ホストコンピュータ100のハードウェアは、各種機能ブロック120、121、122、123、124によって構成される。また、ホストコンピュータ100には、ホストコンピュータ100を制御するソフトウェアであるオペレーティングシステム(OS)110が組み込まれており、このOS110上で各種機能ブロックが動作する。OS110は本実施形態ではWindows(登録商標) XPを想定しているが、他のOSであっても構わない。通信インターフェース101は、ホストコンピュータ100とプリンタ102を接続する通信インターフェースである。本実施形態ではシリアルインターフェースであるUSBを用いているが、この他に、IEEE1394、Ethernet(登録商標)、IrDA、IEEE802.11、電力線などのシリアルインターフェースや、セントロニクス、SCSIなどのパラレルインタフェースを利用することもできる。通信を実現するものであれば有線/無線を問わずどのようなインターフェースであっても構わない。このように、本実施形態における印刷システムとは、単体の装置ではなく、ホストコンピュータ100と画像形成を行うプリンタ102とが特定の双方向インターフェースで接続された構成をとっている。しかし、この例に限られることなく、このようなデータ処理装置とプリンタの機能が一体となった装置一体型の印刷システムであってもよい。尚、プリンタ102及びホストコンピュータ100とも本実施形態の特徴を説明する上で特に必要ないと思われる機能については省略する。
[Configuration of printing system]
FIG. 1 is an example of a block diagram showing a configuration of a printing system according to an embodiment of the present invention. The printer 102 is an ink jet printer that forms an image, and is connected to a host computer 100 to be described later via an I / F (interface) 101. The printer 102 forms an image on the recording medium 103 based on the print command generated by the host computer 100. The type of printer is not particularly limited, but here, an ink jet color printer is assumed. In the host computer 100, the application program (application) 116 creates a print job, and the printer driver 112 generates a print command for controlling the printing operation of the connected printer 102 from the spool data of the print job. In this embodiment, a personal computer is used as the host computer 100. It also plays a role of receiving instructions and input from the user regarding print settings. The hardware of the host computer 100 includes various functional blocks 120, 121, 122, 123, and 124. The host computer 100 incorporates an operating system (OS) 110 that is software for controlling the host computer 100, and various functional blocks operate on the OS 110. The OS 110 is assumed to be Windows (registered trademark) XP in the present embodiment, but may be another OS. The communication interface 101 is a communication interface that connects the host computer 100 and the printer 102. In this embodiment, a USB which is a serial interface is used. In addition to this, a serial interface such as IEEE1394, Ethernet (registered trademark), IrDA, IEEE802.11, a power line, or a parallel interface such as Centronics or SCSI is used. You can also. Any interface can be used regardless of wired / wireless as long as communication is realized. As described above, the printing system in the present embodiment is not a single device, but has a configuration in which the host computer 100 and the printer 102 that performs image formation are connected through a specific bidirectional interface. However, the present invention is not limited to this example, and an apparatus-integrated printing system in which the functions of the data processing apparatus and the printer are integrated may be used. Note that functions that are not particularly necessary for describing the features of the present embodiment in the printer 102 and the host computer 100 are omitted.

中央制御部120は、ホストコンピュータ100の各種機能を制御し、CPUの持つ機能がこれに該当する。入力操作部122は、ユーザーの意図を印刷設定に反映させるための各種入力機器から構成される。情報通知部121は、印刷設定をユーザーに通知する。通知方法としては、モニタなどの表示装置を使用する場合や音声による通知などが考えられる。I/F制御部124は、ホストコンピュータ100のインターフェース機能を司る。記憶部123はOS110やアプリケーション116やプリンタドライバの命令コードを格納し、ソフトウェアが動作するにあたり一時的にデータを保存・読込みするのに使用される。記憶部123は例えばハードディスクドライブや半導体メモリなどの記憶媒体で構成される。   The central control unit 120 controls various functions of the host computer 100, and the functions of the CPU correspond to this. The input operation unit 122 includes various input devices for reflecting the user's intention in the print settings. The information notification unit 121 notifies the user of print settings. As a notification method, a case where a display device such as a monitor is used or a voice notification is considered. The I / F control unit 124 manages the interface function of the host computer 100. The storage unit 123 stores instruction codes of the OS 110, the application 116, and the printer driver, and is used to temporarily store and read data when the software operates. The storage unit 123 is configured by a storage medium such as a hard disk drive or a semiconductor memory.

OS110内にはアプリケーション116で作成された印刷ジョブを管理するプリントスプーラサービス(スプーラプロセス)111が動作する。このスプーラプロセス111によって、プリンタドライバ112を呼び出して印刷ジョブを処理する。プリンタドライバ112は、印刷のための各種設定や印刷データの生成及びプリンタの制御をホストコンピュータ100上で行うためのソフトウェアである。プリンタドライバ112のプログラムが実行されると、印刷設定処理部113や、印刷コマンド生成部114、ランゲージモニタ115などの機能が実現される。印刷設定処理部113は、用紙の設定や印刷品位の設定などを含む各種印刷設定を行う。印刷設定処理部113は、ユーザーからの指示や入力を受け付け、設定された内容を表示もしくは通知する機能を有する。印刷コマンド生成部114内において、レイアウト処理部や印刷コマンド変換部を含む。印刷コマンド生成部114では、レイアウト処理部においてアプリケーション116により作成された印刷ジョブのページの部数処理やレイアウト処理を行った後に、印刷コマンド変換部においてレイアウト処理後の印刷データを印刷コマンドに変換する。印刷コマンド生成部114で作成された印刷コマンドは、不図示のデータ通信処理部を介してI/F制御部124に送られ、プリンタ102へ印刷コマンドが送られる。   A print spooler service (spooler process) 111 that manages a print job created by the application 116 operates in the OS 110. The spooler process 111 calls the printer driver 112 to process a print job. The printer driver 112 is software for performing various settings for printing, generation of print data, and printer control on the host computer 100. When the program of the printer driver 112 is executed, functions such as the print setting processing unit 113, the print command generation unit 114, and the language monitor 115 are realized. The print setting processing unit 113 performs various print settings including paper settings and print quality settings. The print setting processing unit 113 has a function of receiving instructions and inputs from the user and displaying or notifying the set contents. The print command generation unit 114 includes a layout processing unit and a print command conversion unit. In the print command generation unit 114, after the number of pages processing and layout processing of the print job created by the application 116 are performed in the layout processing unit, the print data after layout processing is converted into a print command in the print command conversion unit. The print command created by the print command generation unit 114 is sent to the I / F control unit 124 via a data communication processing unit (not shown), and the print command is sent to the printer 102.

プリンタドライバ112はスプーラプロセス111以外のOS110のプロセスやアプリケーション116から呼び出される機能も有するが、本実施形態の特徴を説明する上で特に必要ないと思われる機能のため説明は省略する。   The printer driver 112 also has a function called from the process of the OS 110 other than the spooler process 111 and the application 116, but the description is omitted because it is a function that is not particularly necessary for explaining the features of the present embodiment.

印刷コマンドはプリンタ102のI/F制御部130よって受信され、中央制御部131によって記憶部134に記憶される。記憶部134に格納された印刷コマンドは中央制御装置131によって順次読み出され、コマンド解釈部133によって画像を形成するためのプリントデータに変換される。プリントデータは中央制御装置131から印刷部135に渡され、記録媒体103へ画像を形成していく。   The print command is received by the I / F control unit 130 of the printer 102 and stored in the storage unit 134 by the central control unit 131. The print commands stored in the storage unit 134 are sequentially read out by the central control unit 131 and converted into print data for forming an image by the command interpretation unit 133. The print data is transferred from the central controller 131 to the printing unit 135 and forms an image on the recording medium 103.

I/F101が双方向インターフェースである場合、ホストコンピュータ100から印刷コマンドを送信するだけでなく、ホストコンピュータ100にプリンタ102のステータス情報を受信することも可能である。   When the I / F 101 is a bidirectional interface, it is possible not only to send a print command from the host computer 100 but also to receive status information of the printer 102 at the host computer 100.

[プリンタドライバの動作]
図2は、本発明におけるプリンタドライバの実施形態を説明するために図1の印刷システムをOSの印刷サポート機能とプリンタドライバを中心に概念的に表したブロック図の一例である。図2における印刷システムでは、アプリケーション201が作成した文書の各ページの印刷データは、OSの印刷サポート機能202を通じてプールファイル204に一時的に蓄えられる。これをプリンタドライバの印刷コマンド生成部205によってプリンタが解釈可能な印刷コマンドに変換してプリンタ208に供給して印刷するよう構成されている。
[Printer Driver Operation]
FIG. 2 is an example of a block diagram conceptually showing the printing system of FIG. 1 centering on the OS print support function and the printer driver in order to explain the embodiment of the printer driver in the present invention. In the printing system in FIG. 2, the print data of each page of the document created by the application 201 is temporarily stored in the pool file 204 through the OS print support function 202. This is converted into a print command interpretable by the printer by the print command generation unit 205 of the printer driver, supplied to the printer 208, and printed.

アプリケーション201は作成した任意の文書の印刷にあたり、OSの印刷サポート機能202に対して、印刷開始や印刷終了を通知したり、印刷設定を行うためにユーザインタフェースモジュール203から返却された印刷設定情報を通知したり、文書の各ページの描画開始や描画終了を通知する。OSの印刷サポート機能202は、アプリケーションが描画した内容や印刷設定情報をスプールファイル204に格納する。   When printing an arbitrary document created, the application 201 notifies the OS print support function 202 of print start and print end, and print setting information returned from the user interface module 203 to perform print settings. Notify or notify the start or end of drawing of each page of the document. The OS print support function 202 stores the contents drawn by the application and the print setting information in the spool file 204.

印刷コマンド生成部205は、スプールファイル204に格納されたデータを入力とし、印刷設定情報に基づきページのレイアウト処理やレンダリング処理を行い、印刷コマンド206に変換し出力する。   The print command generation unit 205 receives the data stored in the spool file 204, performs page layout processing and rendering processing based on the print setting information, converts the print command 206 into a print command 206, and outputs the print command 206.

印刷コマンド生成部206によって出力された印刷コマンド206は、ランゲージモニタ207に送られる。ランゲージモニタ207はI/F101を介して通信を行いプリンタ208の状態を確認する。プリンタ208が印刷データを受信可能な状態であった場合、ランゲージモニタ207は受信した印刷コマンドを順次プリンタ208に送信する。   The print command 206 output by the print command generation unit 206 is sent to the language monitor 207. The language monitor 207 communicates via the I / F 101 to check the status of the printer 208. If the printer 208 is ready to receive print data, the language monitor 207 sequentially transmits the received print commands to the printer 208.

ステータスモニタ209は、ランゲージモニタ208と通信を行い、現在の印刷状況をユーザーに表示する。ここで印刷状況とは、紙無エラーなどのエラーの発生状況の有無、インクの残量、現在印刷中のページ数などを指す。   The status monitor 209 communicates with the language monitor 208 and displays the current printing status to the user. Here, the printing status refers to the presence / absence of an error occurrence status such as a paper no error, the remaining amount of ink, and the number of pages currently being printed.

[ランゲージモニタの処理]
図3は本発明の第一の実施形態におけるランゲージモニタの処理を示した流れ図の一例である。スプーラプロセスがランゲージモニタを呼び出し、S301でランゲージモニタが処理を開始する。S302でプリンタが既に他の印刷ジョブを処理中かを確認する。ランゲージモニタは既に他の印刷ジョブを処理中だった場合、その印刷ジョブが終了するまで待つ。これを前ジョブ終了見届け処理と称す。他の印刷ジョブを処理中でない場合、S305において印刷コマンドを順次プリンタに転送する。最後のコマンドまで送信し終えると、S306においてランゲージモニタは処理を終了する。
[Language monitor processing]
FIG. 3 is an example of a flowchart showing the processing of the language monitor in the first embodiment of the present invention. The spooler process calls the language monitor, and the language monitor starts processing in S301. In step S302, it is confirmed whether the printer is already processing another print job. If the language monitor is already processing another print job, it waits until the print job is completed. This is referred to as pre-job completion notice processing. If no other print job is being processed, print commands are sequentially transferred to the printer in S305. When the transmission to the last command is completed, the language monitor ends the process in S306.

ホストコンピュータのOS上で動作するスプーラプロセスから呼ばれるランゲージモニタは、印刷コマンドをプリンタに順次転送していく。印刷コマンドを転送中に途中でスプーラプロセスが終了した場合、スプーラプロセスで保持していた印刷データおよび印刷コマンドは全て消去されてしまう。その後、スプーラプロセスが再起動し、新しい印刷ジョブが生成されると、ランゲージモニタは新しい印刷ジョブの印刷コマンドをプリンタに送信しようとする。しかし、S302で前ジョブ終了見届け処理を行うため、ランゲージモニタはプリンタへの印刷コマンド送信を待つ。一方、プリンタは前の印刷ジョブの印刷コマンドを処理中で、続きの印刷コマンドを待っている状態である。そのため、ランゲージモニタは新しい印刷ジョブを開始するためにプリンタにリセット処理を発行する必要がある。
よって、本提案では以下に挙げる手段によって課題を解決する。
A language monitor called from a spooler process operating on the OS of the host computer sequentially transfers print commands to the printer. If the spooler process ends during the transfer of the print command, the print data and the print command held by the spooler process are all erased. Thereafter, when the spooler process is restarted and a new print job is generated, the language monitor attempts to send a print command for the new print job to the printer. However, the language monitor waits for a print command to be sent to the printer in order to perform the previous job completion notice process in S302. On the other hand, the printer is processing the print command of the previous print job and is waiting for the next print command. Therefore, the language monitor needs to issue a reset process to the printer in order to start a new print job.
Therefore, this proposal solves the problem by the following means.

S302の前ジョブ見届け終了処理において、プリンタが他の印刷ジョブを処理中かを確認する。他の印刷ジョブが印刷中の場合、ランゲージモニタはS303でプリンタが印刷終了コマンド受信済みかを確認する。プリンタが印刷終了コマンド受信済みであった場合、既に処理中の印刷ジョブは正常に終了できると判断し、ランゲージモニタは自分の印刷ジョブを待機する。プリンタが印刷終了コマンドを受信済みでない場合、既に印刷中の印刷ジョブは印刷処理を終了することができないと判断することができる。この場合、S304でプリンタにリセット指示を発行する。 In the previous job notification completion processing in S302, it is confirmed whether the printer is processing another print job. If another print job is being printed, the language monitor confirms whether the printer has received a print end command in S303. If the printer has received the print end command, it determines that the print job already being processed can be completed normally, and the language monitor waits for its own print job. If the printer has not received the print end command, it can be determined that a print job that is already being printed cannot finish the print process. In this case, a reset instruction is issued to the printer in S304.

プリンタはリセット指示を受けると、記憶部134に保持されている印刷コマンドを破棄するとともに、記録媒体103を排紙するなどの初期化処理を行う。(以後、この動作をリセット処理と称する)。この処理によって、プリンタは新たな印刷ジョブを正常に処理できる状態となる。   When the printer receives a reset instruction, the printer discards the print command held in the storage unit 134 and performs initialization processing such as discharging the recording medium 103. (Hereinafter, this operation is referred to as reset processing). With this processing, the printer is in a state where it can normally process a new print job.

ランゲージモニタはS304でリセット指示を発行したあと、S305で印刷コマンド送信処理を行い、S306においてランゲージモニタは処理を終了する。   The language monitor issues a reset instruction in S304, and then performs a print command transmission process in S305. In S306, the language monitor ends the process.

<第二の実施の形態>
以下、図面に示す実施例に基づき本発明の第二の実施形態を詳細に説明する。
<Second Embodiment>
Hereinafter, a second embodiment of the present invention will be described in detail based on examples shown in the drawings.

第一の実施の形態では、プリンタが印刷終了コマンドを受信したとともに、コマンド解釈部によって印刷終了コマンドを受信したことを検出可能なプリンタである必要がある。プリンタの構成によっては、印刷コマンドを受信した後、コマンド解釈部を通さずに記憶部に格納し、最初に受け取った印刷コマンドから順次処理をしていくものもある。この場合、プリンタはホストコンピュータに印刷終了コマンドを既に受信済みかどうかを通知することができない。   In the first embodiment, it is necessary for the printer to be able to detect that the printer has received the print end command and that the command interpreter has received the print end command. Depending on the configuration of the printer, after receiving a print command, the print command is stored in the storage unit without passing through the command interpretation unit, and processing is sequentially performed from the first received print command. In this case, the printer cannot notify the host computer whether the print end command has already been received.

第二の実施の形態はこれを省みて成されるものである。   The second embodiment is made by omitting this.

図4は本発明の第二の実施形態におけるランゲージモニタの処理を示した流れ図の一例である。スプーラプロセスがランゲージモニタを呼び出し、S401でランゲージモニタが処理を開始する。S402においてプリンタが既に他のジョブの処理中かを確認し、処理中でない場合、S403で印刷開始情報を記憶部S409に記憶する。この記憶部S409はホストコンピュータ上にある例えばレジストリのような記憶領域123であり、且つスプーラプロセスが再起動した場合でも削除されない記憶領域である。さらに、ホストコンピュータに複数の印刷ポートが存在する場合、記憶部S409に記憶する印刷開始情報は印刷ポート毎に管理されることが望ましい。   FIG. 4 is an example of a flowchart showing the processing of the language monitor in the second embodiment of the present invention. The spooler process calls the language monitor, and the language monitor starts processing in S401. In step S402, it is confirmed whether the printer is already processing another job. If not, the print start information is stored in the storage unit S409 in step S403. The storage unit S409 is a storage area 123 such as a registry on the host computer, and is not deleted even when the spooler process is restarted. Furthermore, when there are a plurality of print ports in the host computer, it is desirable to manage the print start information stored in the storage unit S409 for each print port.

S404で印刷コマンド送信処理により、順次プリンタに印刷コマンドを送信する。印刷コマンドを全て送信し終えると、ランゲージモニタはS405にてS403で記憶した印刷開始情報を記憶部S409から削除する。   In step S404, print commands are sequentially transmitted to the printer by print command transmission processing. When all the print commands have been transmitted, the language monitor deletes the print start information stored in S403 from the storage unit S409 in S405.

S404において印刷コマンド送信処理中にスプーラプロセスが終了した場合、ホスト内の印刷開始情報は記憶部S409に記憶されたままになる。このとき、プリンタもデータの受信待ち状態になっていると判断できる。よって、S402の前ジョブ終了見届け処理において、プリンタが既に他のジョブが処理中である場合、S407において印刷開始情報が記憶部S409に記憶されたままかどうかを確認する。印刷開始情報が記憶されていない場合は、プリンタで既に処理中のジョブが正常に終了するまで、ランゲージモニタは処理を待つ。印刷開始情報が記憶されていた場合、プリンタで既に処理中のジョブは異常状態であるとみなし、S408においてリセット指示を発行する。このリセット指示によりプリンタはリセット処理を行う。   When the spooler process is terminated during the print command transmission process in S404, the print start information in the host remains stored in the storage unit S409. At this time, it can be determined that the printer is also waiting to receive data. Therefore, in the previous job end notification process in S402, if another job is already being processed by the printer, it is confirmed in S407 whether the print start information is still stored in the storage unit S409. If the print start information is not stored, the language monitor waits for processing until the job already being processed by the printer ends normally. If the print start information is stored, the job already being processed by the printer is regarded as being in an abnormal state, and a reset instruction is issued in S408. In response to this reset instruction, the printer performs a reset process.

プリンタが初期化されると、ランゲージモニタはS404において印刷コマンド送信処理を行い、印刷コマンドの送信終了後にS405で印刷開始情報を削除する。その後S406においてランゲージモニタは処理を終了する。   When the printer is initialized, the language monitor performs a print command transmission process in S404, and deletes the print start information in S405 after the transmission of the print command is completed. Thereafter, in S406, the language monitor ends the process.

以上のとおり、第二の実施の形態によれば、ホストコンピュータ側のみの処理で適切にリセット指示を発行する判断が可能となる。   As described above, according to the second embodiment, it is possible to appropriately issue a reset instruction by processing only on the host computer side.

<第三の実施の形態>
以下、図面に示す実施例に基づき本発明の第三の実施形態を詳細に説明する。
<Third embodiment>
Hereinafter, a third embodiment of the present invention will be described in detail based on examples shown in the drawings.

第二の実施の形態では、スプーラプロセスが再起動した印刷ホストから印刷が開始されないとプリンタにリセット指示を発行できないという問題があった。複数のホストコンピュータからネットワーク経由で印刷が可能なプリンタでは、ひとつの印刷ホストが再起動した後、そのホストから印刷が開始されない限り、他の印刷ホストから印刷を開始することができない。   In the second embodiment, there is a problem that a reset instruction cannot be issued to the printer unless printing is started from the print host in which the spooler process is restarted. In a printer capable of printing from a plurality of host computers via a network, after one print host is restarted, printing cannot be started from another print host unless printing is started from that host.

第三の実施の形態はこれを省みて成されるものである。   The third embodiment is made by omitting this.

図5は本発明の第三の実施形態におけるランゲージモニタの処理を示した流れ図の一例である。   FIG. 5 is an example of a flowchart showing the processing of the language monitor in the third embodiment of the present invention.

スプーラプロセスがランゲージモニタを呼び出し、S501でランゲージモニタが処理を開始する。S502においてプリンタが他のジョブの処理中かを確認し、処理中でない場合、S505で印刷コマンド送信処理により、順次プリンタに印刷コマンドを送信する。S505において印刷コマンド送信処理中にスプーラプロセスが終了した場合、プリンタは印刷コマンド受信を待ち続ける。   The spooler process calls the language monitor, and the language monitor starts processing in S501. In step S502, it is confirmed whether the printer is processing another job. If not, the print command is sequentially transmitted to the printer by a print command transmission process in step S505. If the spooler process is terminated during the print command transmission process in S505, the printer continues to wait for the print command reception.

この後、別のホストで印刷が開始されると、そのホストのS501でランゲージモニタが処理を開始する。この後S502でプリンタが処理中かを確認し、処理中である場合、S503でプリンタが最後に印刷コマンドを受信してからの経過時間をプリンタから取得する。経過時間が規定時間内だった場合、ランゲージモニタは処理を待つ。経過時間外だった場合、印刷中であるにもかかわらず後続の印刷コマンドが送られてこない異常状態であると判断し、S504でリセット指示を発行する。このリセット指示によりプリンタはリセット処理を行う。   Thereafter, when printing is started on another host, the language monitor starts processing in S501 of the host. Thereafter, in S502, it is confirmed whether or not the printer is processing, and if it is being processed, in S503, an elapsed time since the printer last received a print command is acquired from the printer. If the elapsed time is within the specified time, the language monitor waits for processing. If it is outside the elapsed time, it is determined that an abnormal state has occurred in which a subsequent print command is not sent even though printing is in progress, and a reset instruction is issued in S504. In response to this reset instruction, the printer performs a reset process.

プリンタが初期化されると、ランゲージモニタはS505において印刷コマンド送信処理を行い、その後S506においてランゲージモニタは処理を終了する。   When the printer is initialized, the language monitor performs a print command transmission process in S505, and then the language monitor ends the process in S506.

以上のとおり、第三の実施の形態によれば、ネットワーク環境においても適切にリセット指示を発行する判断が可能となる。   As described above, according to the third embodiment, it is possible to appropriately issue a reset instruction even in a network environment.

第三の実施の形態では、ホスト側で印刷コマンド受信後の経過時間と規定時間を比較するタイムアウト判断を行う形態で説明した。もちろん、プリンタにおいてタイムアウトの判断を行ってもよい。また、あらかじめ決められたタイムアウト時間(規定時間)をホストコンピュータやプリンタで保持する構成でもよいが、印刷ホストのプリンタドライバやアプリケーション、プリンタ本体の操作によって変更できる構成であってもよい。また、タイムアウト時間はホストコンピュータやプリンタなどの状況に応じて自動的に設定される構成であってもよい。   In the third embodiment, a description has been given of a mode in which the host performs a time-out determination for comparing the elapsed time after receiving the print command with the specified time. Of course, a timeout may be determined in the printer. In addition, a configuration may be adopted in which a predetermined timeout time (specified time) is held in the host computer or the printer, but a configuration in which it can be changed by operating the printer driver or application of the print host or the printer main body may be used. Further, the time-out time may be automatically set according to the situation of the host computer or printer.

<第四の実施の形態>
以下、図面に示す実施例に基づき本発明の第四の実施形態を詳細に説明する。
<Fourth embodiment>
Hereinafter, a fourth embodiment of the present invention will be described in detail based on examples shown in the drawings.

第一、第二の実施の形態では、他の印刷ホストの印刷ジョブを正常に処理しているプリンタにリセット処理を行ってしまうという問題があった。   In the first and second embodiments, there is a problem in that reset processing is performed on a printer that normally processes a print job of another print host.

例えば、印刷ホスト1で印刷中に印刷ホスト1のスプーラプロセスが終了したときに、プリンタの電源を切るなどの本体操作によりプリンタ側で初期化したとする。この後、印刷ホスト2で印刷ジョブ2を処理中に、印刷ホスト1のスプーラプロセスが再起動し印刷ジョブ1の処理を始めた場合、印刷ホスト1から印刷ジョブ2を異常な印刷と判断してしまう。   For example, it is assumed that when the spooling process of the print host 1 is completed during printing by the print host 1, the printer is initialized by the main body operation such as turning off the printer. Thereafter, when the print host 2 is processing the print job 2 and the spooler process of the print host 1 is restarted to start the print job 1, the print host 1 determines that the print job 2 is abnormal printing. End up.

第四の実施の形態はこれを省みて成されるものである。   In the fourth embodiment, this is omitted.

図6は本発明の第三の実施形態におけるランゲージモニタの処理を示した流れ図の一例である。   FIG. 6 is an example of a flowchart showing the processing of the language monitor in the third embodiment of the present invention.

スプーラプロセスがランゲージモニタを呼び出し、S601でランゲージモニタが処理を開始する。S602においてプリンタが他のジョブの処理中かを確認し、処理中でない場合、S604で印刷コマンド送信処理により、順次プリンタに印刷コマンドを送信する。印刷コマンドを全て送信し終えると、ランゲージモニタはS604にて処理を終了する。S602においてプリンタが既に他の印刷ジョブを処理中であった場合、S605においてプリンタで処理中の印刷ジョブのホスト名称をプリンタから取得する。プリンタで処理中の印刷ジョブのホスト名称が、印刷を開始した自分自身のホスト名称と異なる場合は、プリンタで既に処理中の印刷ジョブが正常に終了するまで、ランゲージモニタは処理を待つ。プリンタで処理中の印刷ジョブのホスト名称が、印刷を開始した自分自身のホスト名称と同一の場合は、プリンタで既に処理中のジョブは異常状態であるとみなし、S606においてリセット指示を発行する。このリセット指示によりプリンタはリセット処理を行う。   The spooler process calls the language monitor, and the language monitor starts processing in S601. In step S602, it is confirmed whether the printer is processing another job. If not, the print command is sequentially transmitted to the printer by print command transmission processing in step S604. When all the print commands are transmitted, the language monitor ends the process in S604. If the printer has already processed another print job in S602, the host name of the print job being processed by the printer is acquired from the printer in S605. If the host name of the print job being processed by the printer is different from the host name of the print job that has started printing, the language monitor waits for processing until the print job already being processed by the printer ends normally. If the host name of the print job being processed by the printer is the same as the host name of the print job that has started printing, the job already being processed by the printer is considered to be in an abnormal state, and a reset instruction is issued in S606. In response to this reset instruction, the printer performs a reset process.

プリンタが初期化されると、ランゲージモニタはS603において印刷コマンド送信処理を行い、印刷コマンドの送信終了後にS604においてランゲージモニタは処理を終了する。   When the printer is initialized, the language monitor performs a print command transmission process in S603, and after the transmission of the print command is completed, the language monitor ends the process in S604.

以上のとおり、第四の実施の形態によれば、ネットワーク環境においても適切にリセット指示を発行する判断が可能となる。   As described above, according to the fourth embodiment, it is possible to appropriately issue a reset instruction even in a network environment.

第四の実施の形態では、複数のホストコンピュータからネットワーク経由で印刷する場合を例に挙げた。もちろん、プリンタが複数のI/Fを持ち、それぞれに印刷ホストが接続された場合や、プリンタがコピー機能やメモリカードからの印刷機能を持つ場合も本発明は有効である。   In the fourth embodiment, an example has been described in which printing is performed from a plurality of host computers via a network. Of course, the present invention is also effective when the printer has a plurality of I / Fs and a print host is connected to each of the printers, or when the printer has a copy function or a print function from a memory card.

本発明の実施形態に係わる印刷システムの一例を表すブロック図1 is a block diagram illustrating an example of a printing system according to an embodiment of the present invention. 本発明の実施形態に係わるプリンタドライバの一例を表すブロック図1 is a block diagram illustrating an example of a printer driver according to an embodiment of the present invention. 本発明の第一の実施の形態に係わるランゲージモニタのリセット指示を適切に発行するための動作の一例を示す流れ図The flowchart which shows an example of the operation | movement for issuing the reset instruction | indication of the language monitor concerning 1st embodiment of this invention appropriately 本発明の第二の実施の形態に係わるランゲージモニタのリセット指示を適切に発行するための動作の一例を示す流れ図The flowchart which shows an example of the operation | movement for issuing the reset instruction | indication of the language monitor concerning 2nd embodiment of this invention appropriately 本発明の第三の実施の形態に係わるランゲージモニタのリセット指示を適切に発行するための動作の一例を示す流れ図The flowchart which shows an example of the operation | movement for issuing the reset instruction | indication of the language monitor concerning 3rd embodiment of this invention appropriately 本発明の第四の実施の形態に係わるランゲージモニタのリセット指示を適切に発行するための動作の一例を示す流れ図The flowchart which shows an example of the operation | movement for issuing the reset instruction | indication of the language monitor concerning the 4th Embodiment of this invention appropriately

符号の説明Explanation of symbols

100 ホストコンピュータ
102 プリンタ
110 オペレーティングシステム
112 プリンタドライバ
113 印刷設定処理部
114 印刷コマンド生成部
115 ランゲージモニタ
DESCRIPTION OF SYMBOLS 100 Host computer 102 Printer 110 Operating system 112 Printer driver 113 Print setting process part 114 Print command generation part 115 Language monitor

Claims (9)

印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムであって、
前記印刷装置は印刷コマンドを全て受信した情報を前記印刷制御装置に通知する印刷コマンド受信終了通知手段と、前記印刷コマンド受信終了通知を前記印刷制御装置が検出する印刷コマンド受信終了検出手段とを有し、
前記印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際、前記印刷コマンド受信終了検出手段が前記印刷コマンド受信終了通知を検出できない場合は、前記印刷制御装置が印刷装置に初期化処理を指示することを特徴とした印刷システム。
A printing system for sequentially sending print commands from a print control device to a printing device,
The printing apparatus has a print command reception end notification means for notifying the print control apparatus of information that has received all print commands, and a print command reception end detection means for detecting the print command reception end notification by the print control apparatus. And
When the next print job is started after the print command transmission is unexpectedly stopped, if the print command reception end detection unit cannot detect the print command reception end notification, the print control device performs printing. A printing system characterized by instructing an initialization process to an apparatus.
印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムであって、
前記印刷制御装置は印刷ジョブの開始時に印刷開始情報もしくは印刷中情報を前記印刷制御装置内の記憶領域に記憶する印刷開始情報記憶手段を有し、
前記印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際に、前記印刷開始情報が前記印刷制御装置の前記記憶領域に存在する場合は、前記印刷制御装置が前記印刷装置に初期化処理を指示することを特徴とした印刷システム。
A printing system for sequentially sending print commands from a print control device to a printing device,
The print control device has print start information storage means for storing print start information or printing information in a storage area in the print control device at the start of a print job,
When the next print job is started after transmission of the print command is unexpectedly stopped, if the print start information exists in the storage area of the print control device, the print control device A printing system characterized by instructing a printing apparatus to perform an initialization process.
前記印刷中である情報は、
印刷制御装置内の前記記憶領域において印刷ポート毎に管理されることを特徴とした請求項2記載の印刷システム。
The information being printed is
The printing system according to claim 2, wherein each printing port is managed in the storage area in the printing control apparatus.
前記印刷コマンドの送信が予期せず停止したことが、スプーラプロセスが終了したことであることを特徴とする請求項1および2に記載の印刷システム。   3. The printing system according to claim 1, wherein the transmission of the print command is stopped unexpectedly when the spooler process is terminated. 前記スプーラプロセスが、前記印刷制御装置のオペレーティングシステムの一部であることを特徴とする請求項4に記載の印刷システム。   The printing system according to claim 4, wherein the spooler process is part of an operating system of the print control apparatus. 印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムにおいて、
前記印刷装置は印刷コマンドを最後に受信したあとの経過時間を前記印刷制御装置に通知する通知手段を有し、
前記印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際に、前記印刷制御装置は前記経過時間が規定時間以上経過していた場合は、前記印刷装置に初期化処理を指示することを特徴とした印刷システム。
In a printing system that sequentially sends print commands from a print control device to a printing device,
The printing apparatus has notification means for notifying the printing control apparatus of an elapsed time after the last reception of a print command;
When the next print job is started after the transmission of the print command is unexpectedly stopped, the print control device is initialized to the printing device if the elapsed time has exceeded a specified time. A printing system characterized by instructing processing.
印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムにおいて、
前記印刷装置は印刷コマンドを最後に受信したあとの経過時間を検知する検知手段と、データ送信の異常状態を印刷装置に通知する通知手段を有し、
前記印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際に、
前記検出手段が規定時間以上経過していることを検知すると、通知手段により異常状態を前記印刷制御装置に通知し、
印刷制御装置は印刷装置からの異常状態であるという情報を受信した場合に、印刷装置に初期化処理を指示することを特徴とした印刷システム。
In a printing system that sequentially sends print commands from a print control device to a printing device,
The printing apparatus includes a detection unit that detects an elapsed time after the last reception of a print command, and a notification unit that notifies the printing apparatus of an abnormal state of data transmission.
When the next print job starts after the print command transmission stops unexpectedly,
When the detection means detects that a specified time or more has elapsed, the notification means notifies the print control apparatus of an abnormal state,
A printing system, wherein the printing control apparatus instructs the printing apparatus to perform an initialization process when receiving information indicating an abnormal state from the printing apparatus.
印刷制御装置から順次印刷コマンドを印刷装置に送信する印刷システムにおいて、
前記印刷制御装置は自身の識別情報を印刷装置に転送する転送手段を有し、
前記印刷装置は前記印刷制御装置の識別情報を記憶する記憶手段と、前記印刷制御装置に前記識別情報を通知する通知手段を有し、
前記印刷コマンドの送信が予期せず停止したあとに、次の印刷ジョブが開始された際に、
前記印刷制御装置は前記印刷装置に記憶された前記識別情報が自身の識別情報と一致した場合は、前記印刷装置に初期化処理を指示することを特徴とした印刷システム。
In a printing system that sequentially sends print commands from a print control device to a printing device,
The print control apparatus has a transfer means for transferring its identification information to the printing apparatus,
The printing apparatus includes storage means for storing identification information of the print control apparatus, and notification means for notifying the print control apparatus of the identification information;
When the next print job starts after the print command transmission stops unexpectedly,
The printing system, wherein when the identification information stored in the printing apparatus matches its own identification information, the printing control apparatus instructs the printing apparatus to perform an initialization process.
請求項1に記載の印刷システムを、印刷制御装置に実行させることができるプログラム、及び上記プログラムを格納した記憶媒体。   A program capable of causing a print control apparatus to execute the printing system according to claim 1, and a storage medium storing the program.
JP2007298171A 2007-11-16 2007-11-16 Printing system for judging abnormality of printing control device and restoring printing device Active JP5106058B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007298171A JP5106058B2 (en) 2007-11-16 2007-11-16 Printing system for judging abnormality of printing control device and restoring printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007298171A JP5106058B2 (en) 2007-11-16 2007-11-16 Printing system for judging abnormality of printing control device and restoring printing device

Publications (2)

Publication Number Publication Date
JP2009123079A JP2009123079A (en) 2009-06-04
JP5106058B2 true JP5106058B2 (en) 2012-12-26

Family

ID=40815142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007298171A Active JP5106058B2 (en) 2007-11-16 2007-11-16 Printing system for judging abnormality of printing control device and restoring printing device

Country Status (1)

Country Link
JP (1) JP5106058B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5448794B2 (en) * 2009-12-25 2014-03-19 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JP5723961B2 (en) * 2013-12-19 2015-05-27 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JP6413813B2 (en) * 2015-02-04 2018-10-31 富士ゼロックス株式会社 Electronic device, control device and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092604A (en) * 1999-09-20 2001-04-06 Canon Inc Printing system, information processor, host base printer and method for controlling the same
JP3656617B2 (en) * 2002-06-18 2005-06-08 セイコーエプソン株式会社 Printing control system and printing method
JP2004178124A (en) * 2002-11-26 2004-06-24 Hitachi Ltd Print automatic recovery device
JP2006031677A (en) * 2004-06-17 2006-02-02 Ricoh Co Ltd Print control device, printer, print network system, print control method, print control program and recording medium which records print control program
JP2006243884A (en) * 2005-03-01 2006-09-14 Kyocera Mita Corp Print job management device, print job management program, image forming device and image forming program
JP4659531B2 (en) * 2005-06-28 2011-03-30 キヤノン株式会社 Job status monitoring system, job status monitoring method, program, and storage medium

Also Published As

Publication number Publication date
JP2009123079A (en) 2009-06-04

Similar Documents

Publication Publication Date Title
JP4137144B2 (en) Data processing apparatus and control method thereof
US7315404B2 (en) Monitoring job status for grouped print jobs
US8749819B2 (en) Information processing for controlling a printer
US20120062936A1 (en) Printer, computer readable medium, and method
US8749802B2 (en) Method and system for on-the-fly diagnostic print methodology
JP5106058B2 (en) Printing system for judging abnormality of printing control device and restoring printing device
JPH09311770A (en) Information processor, and printer, and its print control method
JP5929431B2 (en) Image recording apparatus, control method for image recording apparatus, and control program
JP2011090599A (en) Information processing apparatus and method
JP2008310419A (en) Information processor, information processing method, program, and storage medium
JP4172363B2 (en) Printing system
JP2010277257A (en) Program for starting printer
JP2001318775A (en) Printer, control method therefor and computer readable storage medium storing control program therefor
JP6164823B2 (en) Printing device
JP2005222423A (en) Information processing apparatus, printing system, control method, program and storage medium
US9158489B1 (en) Buffering a print instruction before its transferred to a printing apparatus
JP4715638B2 (en) Image forming system and image forming apparatus
JP5062750B2 (en) Image forming apparatus
JPH08263393A (en) Printer device and its control method
JP2013129092A (en) Image forming apparatus
EP4187365A1 (en) Printing apparatus, control method thereof, and program
JP2007323363A (en) Printing system, printing apparatus, printing control method, program, and storage medium
JP7106932B2 (en) program and system
JP2012061687A (en) Image forming system and method for plotting and developing printing data
JP2000127520A (en) Printing system, control method therefor, computer- readable memory medium containing control program for printing system

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100630

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120423

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120904

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121002

R151 Written notification of patent or utility model registration

Ref document number: 5106058

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20151012

Year of fee payment: 3