[go: up one dir, main page]

JP2010198151A - Printing system and language monitor program - Google Patents

Printing system and language monitor program Download PDF

Info

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
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
Application number
JP2009040192A
Other languages
Japanese (ja)
Inventor
Eiji Arakawa
英治 荒川
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2009040192A priority Critical patent/JP2010198151A/en
Publication of JP2010198151A publication Critical patent/JP2010198151A/en
Pending legal-status Critical Current

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に保持されている用紙を排紙し、ジョブ終了指示により、アイドルモードに変更する。
【選択図】図5
The 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.

特開2004−216693号公報JP 2004-216893 A

上記印刷システムにおいて印刷ジョブを実行している場合に、ユーザが、当該印刷ジョブをキャンセルする場合も生じる。この場合、プリンタは、印刷ジョブを実行している途中で処理を中止するため、用紙を給排紙機構部に保持したまま停止することがある。又、当該印刷システムで印刷データの送信が途中で中断された場合、中断前に送信された印刷データは、次回の印刷ジョブの印刷に悪影響を及ぼす場合もある。本明細書は、ユーザにとって利便性の高い印刷システム及びランゲージモニタプログラムを提供する。   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 is a block diagram illustrating a configuration of a printing system according to the present invention. 印刷システムの印刷アーキテクチャを示す説明図である。It is explanatory drawing which shows the printing architecture of a printing system. 印刷システムを構成するコンピュータにおける制御プログラムのフローチャートである。It is a flowchart of the control program in the computer which comprises a printing system. 通常時におけるプリンタドライバ、ランゲージモニタ、プリンタ間の処理シーケンス図である。FIG. 4 is a process sequence diagram between a printer driver, a language monitor, and a printer in a normal state. ジョブキャンセル時におけるプリンタドライバ、ランゲージモニタ、プリンタ間の処理シーケンス図である。FIG. 6 is a process sequence diagram between a printer driver, a language monitor, and a printer when canceling a job. コマンド“EndJob”の構成を示す説明図である。FIG. 6 is an explanatory diagram showing a configuration of a command “EndJob”.

以下、本発明に係る印刷システム及びランゲージモニタプログラムを具体化した一実施形態について、図面を参照しつつ詳細に説明する。
先ず、本実施形態に係る印刷システム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 printer 50. The computer 10 is an information terminal such as a personal computer. The printer 50 is connected to the computer 10.

コンピュータ10は、制御部20を有している。制御部20は、コンピュータ10に対する制御の中枢を担う。当該制御部20は、CPU21、ROM22、RAM23を備えている。CPU21は、各種制御プログラムを実行する中央演算装置である。ROM22は、CPU21で実行される各種制御プログラムや恒久的なデータを格納している。RAM23は、CPU21による制御プログラムの演算結果等を一時的に記憶する。   The computer 10 has a control unit 20. The control unit 20 plays a central role in controlling the computer 10. The control unit 20 includes a CPU 21, a ROM 22, and a RAM 23. The CPU 21 is a central processing unit that executes various control programs. The ROM 22 stores various control programs executed by the CPU 21 and permanent data. The RAM 23 temporarily stores the calculation result of the control program by the CPU 21.

そして、コンピュータ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 / F 24, a display 25, an input I / F 26, a mouse 27, and a keyboard 28. The display 25 is connected to the control unit 20 via the output I / F 24. The display 25 displays various contents on the screen based on the control of the control unit 20. The mouse 27 and the keyboard 28 are connected to the control unit 20 via the input I / F 26.

又、コンピュータ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 / F 40 and a USB I / F 41. The computer 10 is connected to the printer 50 via the LAN I / F 40 and the local area network N. The computer 10 is connected to the printer 50 via the USB I / F 41.

そして、コンピュータ10は、記憶装置30を有している。当該記憶装置30として、例えばHDD(Hard Disk Drive)を用いることができる。記憶装置30は、アプリケーションプログラム31、プリントスプーラ32、プリンタドライバ33、ランゲージモニタ34を記憶している。   The computer 10 has a storage device 30. As the storage device 30, for example, an HDD (Hard Disk Drive) can be used. The storage device 30 stores an application program 31, a print spooler 32, a printer driver 33, and a language monitor 34.

アプリケーションプログラム31は、特定の目的に対する処理を実行するためのプログラムである。当該アプリケーションプログラム31は、文書作成プログラム、表計算プログラム、ウェブブラウザプログラム等の種々のアプリーケーションプログラムを含む。   The application program 31 is a program for executing processing for a specific purpose. The application program 31 includes various application programs such as a document creation program, a spreadsheet program, and a web browser program.

プリンタ50は、プリンタ制御部51、印刷部52、給排紙機構部53を備えている。   The printer 50 includes a printer control unit 51, a printing unit 52, and a paper supply / discharge mechanism unit 53.

プリンタ制御部51は、プリンタ50の制御の中枢を担う。当該プリンタ制御部51は、CPU、ROM、RAMを備えている。後述する制御プログラム(図3参照)は、プリンタ制御部51のROMに格納されており、プリンタ制御部51のCPUにより実行される。   The printer control unit 51 plays a central role in controlling the printer 50. The printer control unit 51 includes a CPU, a ROM, and a RAM. A control program (see FIG. 3) described later is stored in the ROM of the printer control unit 51 and is executed by the CPU of the printer control unit 51.

印刷部52は、プリンタ制御部51の制御に基づいて、用紙等の被記録媒体に対して、印刷データに基づく印刷を行う。当該印刷部52は、種々の方式(例えば、電子写真式、インクジェット方式等)を採用し得る。当該印刷部52の詳細については、既に公知であるため、その説明は省略する。   Under the control of the printer control unit 51, the printing unit 52 performs printing based on print data on a recording medium such as paper. The printing unit 52 can employ various methods (for example, an electrophotographic method, an inkjet method, etc.). Since the details of the printing unit 52 are already known, the description thereof is omitted.

給排紙機構部53は、プリンタ制御部51の制御に基づいて、印刷部52に対する用紙の供給(給紙)や、印刷部52からの用紙の排出(排紙)を行う。当該給排紙機構部53は、後述する用紙排出指示(図6参照)の受信に基づくプリンタ制御部51の制御に従って、印刷部52から用紙を排出し得る。給排紙機構部53の詳細な構成については、既に公知であるためその説明を省略する。   Based on the control of the printer control unit 51, the paper supply / discharge mechanism unit 53 supplies (feeds) paper to the printing unit 52 and discharges (discharges) paper from the printing unit 52. The paper supply / discharge mechanism 53 can discharge paper from the printing unit 52 in accordance with control of the printer control unit 51 based on reception of a paper discharge instruction (see FIG. 6) described later. Since the detailed configuration of the paper supply / discharge mechanism 53 is already known, a description thereof will be omitted.

更に、プリンタ50は、LAN I/F54と、USB I/F55を有している。当該プリンタ50は、ローカルエリアネットワークNを介して、コンピュータ10からの印刷データを印刷し得る(図1参照)。尚、LAN I/F54を介して、コンピュータ10に接続されたプリンタ50を「ネットワーク接続されたプリンタ50」という。   Further, the printer 50 has a LAN I / F 54 and a USB I / F 55. The printer 50 can print the print data from the computer 10 via the local area network N (see FIG. 1). Note that the printer 50 connected to the computer 10 via the LAN I / F 54 is referred to as a “network-connected printer 50”.

そして、プリンタ50は、USB I/F55を介して接続されたコンピュータ10からの印刷データを、用紙に印刷し得る。尚、USB I/F55を介して、コンピュータ10に接続されたプリンタ50を「ローカル接続されたプリンタ50」という。   The printer 50 can print the print data from the computer 10 connected via the USB I / F 55 on a sheet. The printer 50 connected to the computer 10 via the USB I / F 55 is referred to as a “locally connected printer 50”.

図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 keyboard 28 or the like during execution of the application program 31, the printer driver 33 receives a print instruction based on the print operation. At this time, the print spooler 32 manages a print job based on the print instruction. The printer driver 33 then controls the printer 50 corresponding to the printer driver 33 based on the control of the print spooler 32.

ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、プリンタ50に対するデータの送受信を行う。又、ランゲージモニタ34は、プリンタ50に対するデータ出力時における状態監視や、エラー制御を行う。   The language monitor 34 transmits / receives data to / from the printer 50 based on the control of the print spooler 32. The language monitor 34 performs status monitoring and error control when data is output to the printer 50.

前記印刷ジョブに係る印刷データは、ポートモニタ35、LAN I/F40を介して、ネットワーク接続されたプリンタ50に書き込まれる。同様に、当該印刷データは、ポートモニタ35、USB I/F41を介して、ローカル接続されたプリンタに書き込まれる。   Print data relating to the print job is written to the printer 50 connected to the network via the port monitor 35 and the LAN I / F 40. Similarly, the print data is written to a locally connected printer via the port monitor 35 and the USB I / F 41.

ここで、ポートモニタ35は、プリンタドライバ33によるプリンタポートに対するデータの入出力状態を監視する。プリンタポートは、ネットワーク接続されたプリンタ50と、ローカル接続されたプリンタ50に、夫々対応している。   Here, the port monitor 35 monitors the input / output state of data to the printer port by the printer driver 33. The printer port corresponds to the printer 50 connected to the network and the printer 50 connected locally.

そして、プリンタ50は、プリンタポートに書き込まれた印刷データ(ラスターデータ)を順次、印刷部52により用紙に印刷する。印刷の実行に際し、プリンタ50は、給排紙機構部53により、用紙を印刷部52に供給する。そして、当該印刷が正常に終了した場合、用紙は、給排紙機構部53により、プリンタ50外部に排出される。   Then, the printer 50 sequentially prints the print data (raster data) written in the printer port on the paper by the printing unit 52. When executing printing, the printer 50 supplies the paper to the printing unit 52 by the paper supply / discharge mechanism unit 53. When the printing is completed normally, the paper is discharged outside the printer 50 by the paper supply / discharge mechanism unit 53.

図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 printer 50. As shown in FIG. 3, in S1, a determination process is performed based on whether or not a JOB IN flag described later is set in the RAM. If currently in the “JOB IN mode” (S1: YES), the process proceeds to S5. On the other hand, if not (S1: NO), the process proceeds to S2.

ここで、「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 printer control unit 51 performs control in accordance with all instructions (including control commands and the like) transmitted from the computer 10. This point will be described later.

又、本実施形態に係るプリンタ50は、「JOB INモード」ではない場合、「アイドルモード」となる。この「アイドルモード」では、プリンタ50は、後述するジョブ開始指示を除く全ての指示やデータを破棄する。この点についても後述する。   The printer 50 according to the present embodiment is in the “idle mode” when not in the “JOB IN mode”. In this “idle mode”, the printer 50 discards all instructions and data except for a job start instruction to be described later. This point will also be described later.

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 printer control unit 51.

一方、プリンタ50が「JOB INモード」にあるS5においては、直前に行われた印刷ジョブの終了を示すジョブ終了指示を受信したか否かを判断する。ジョブ終了指示を受信した場合(S5:YES)、S7に処理を移行する。一方、そうでない場合(S5:NO)、S6に処理を移行する。   On the other hand, in S5 in which the printer 50 is in the “JOB IN mode”, it is determined whether or not a job end instruction indicating the end of the print job performed immediately before has been received. If a job end instruction is received (S5: YES), the process proceeds to S7. On the other hand, if not (S5: NO), the process proceeds to S6.

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 printing unit 52 and the like are controlled according to the drawing command to draw and print the raster data on a sheet. Thereafter, the control program ends.

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 printer driver 33 via the language monitor 34 and “EndJob” notified from the language monitor 34.

図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 / discharge mechanism 53 in accordance with the paper discharge instruction, the paper being printed by the paper supply / discharge mechanism 53 is discharged to the outside of the printer 50.

続いて、コンピュータ10からの印刷ジョブが正常に完了される場合(通常時)におけるプリンタドライバ33、ランゲージモニタ34、プリンタ50間の処理シーケンスについて、図4を参照しつつ詳細に説明する。
尚、下記の説明において、処理シーケンス開始時には、プリンタ50は、「アイドルモード」であるものとする。
Next, a processing sequence among the printer driver 33, the language monitor 34, and the printer 50 when the print job from the computer 10 is normally completed (normal time) will be described in detail with reference to FIG.
In the following description, it is assumed that the printer 50 is in the “idle mode” at the start of the processing sequence.

コンピュータ10において、ユーザによる印刷操作が行われると、ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、「StartJob」をプリンタ50に通知する。「StartJob」は、当該印刷ジョブに関する処理の開始を意味する。   When the user performs a printing operation on the computer 10, the language monitor 34 notifies the printer 50 of “StartJob” based on the control of the print spooler 32. “StartJob” means the start of processing related to the print job.

その後、ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、「WritePort」を読み出す。「WritePort」は、特定のプリンタポートに対して、各種データや制御指示(例えば、ラスターデータや制御コマンド)を書き込むことを意味する。   Thereafter, the language monitor 34 reads “WritePort” based on the control of the print spooler 32. “WritePort” means writing various data and control instructions (for example, raster data and control commands) to a specific printer port.

一方、プリントスプーラ32は、プリンタドライバ33の「DrvStartDoc」を呼び出す。「DrvStartDoc」は、印刷ジョブの実行に必要なデータの送信準備が整ったことを意味する。「DrvStartDoc」が呼び出されると、プリンタドライバ33は、ジョブ開始指示を含む情報を、プリントスプーラ32に返す。ジョブ開始指示を含む「DrvStartDoc」に基づく情報を受け取ると、プリントスプーラ32は、ランゲージモニタ34の「WritePort」を呼び出す。   On the other hand, the print spooler 32 calls “DrvStartDoc” of the printer driver 33. “DrvStartDoc” means that preparation for transmission of data necessary for execution of the print job is completed. When “DrvStartDoc” is called, the printer driver 33 returns information including a job start instruction to the print spooler 32. When the information based on “DrvStartDoc” including the job start instruction is received, the print spooler 32 calls “WritePort” of the language monitor 34.

これにより、「DrvStartDoc」に基づく情報は、ランゲージモニタ34の「WritePort」を介して、プリンタ50に通知される。プリンタ50は、当該「DrvStartDoc」に基づく情報が通知されると(S2:YES)、「アイドルモード」から「JOB INモード」に変更される(S4)。   As a result, information based on “DrvStartDoc” is notified to the printer 50 via “WritePort” of the language monitor 34. When the information based on the “DrvStartDoc” is notified (S2: YES), the printer 50 is changed from “idle mode” to “JOB IN mode” (S4).

次に、プリントスプーラ32は、プリンタドライバ33の「DrvStartBanding」を読み出し、「DrvStartBanding」をランゲージモニタ34に通知する。この場合も、「DrvStartBanding」は、ランゲージモニタ34の「WritePort」を介して、プリンタ50に通知される。当該「DrvStartBanding」は、印刷ジョブに係る印刷データを構成する画像データ(ラスターデータ)のうち、最初の部分の描画指示を意味する。従って、プリンタ50は、プリンタポートに書き込まれた部分を用紙に印刷する(S6)。   Next, the print spooler 32 reads “DrvStartBanding” of the printer driver 33 and notifies the language monitor 34 of “DrvStartBanding”. Also in this case, “DrvStartBanding” is notified to the printer 50 via “WritePort” of the language monitor 34. The “DrvStartBanding” means a drawing instruction for the first part of image data (raster data) constituting print data related to a print job. Therefore, the printer 50 prints the portion written in the printer port on the paper (S6).

その後、プリントスプーラ32は、「DrvNextBand」をプリンタドライバ33から読み出し、ランゲージモニタ34に通知する。同様に、「DrvNextBand」は、ランゲージモニタ34の「WritePort」を介して、プリンタ50に通知される。当該「DrvNextBand」は、印刷ジョブに係る印刷データを構成する画像データ(ラスターデータ)のうち、印刷済みの部分に続く部分の描画指示を意味する。従って、プリンタ50は、印刷画像の残りの部分を用紙に印刷する(S6)。   Thereafter, the print spooler 32 reads “DrvNextBand” from the printer driver 33 and notifies the language monitor 34 of it. Similarly, “DrvNextBand” is notified to the printer 50 via “WritePort” of the language monitor 34. The “DrvNextBand” means a drawing instruction for a portion following the printed portion of the image data (raster data) constituting the print data relating to the print job. Accordingly, the printer 50 prints the remaining portion of the print image on the paper (S6).

尚、この「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 print spooler 32 calls “DrvEndDoc” from the printer driver 33. “DrvEndDoc” means that transmission of data necessary for processing the print job has been completed. When “DrvEndDoc” is called, the printer driver 33 returns information including a job end instruction to the print spooler 32. When the information based on “DrvEndDoc” including the job end instruction is received, the print spooler 32 calls “WritePort” of the language monitor 34. As a result, information based on the “DrvEndDoc” is notified to the printer 50 via “WritePort” of the language monitor 34.

当該「DrvEndDoc」に基づく情報を受信すると(S5:YES)、プリンタ50は、「JOB INモード」から「アイドルモード」に変更される(S7)。この時、プリンタ50は、当該印刷ジョブに係る印刷を完了しているので、給排紙機構部53により、印刷が施された用紙をプリンタ50外部に排紙している。   When the information based on the “DrvEndDoc” is received (S5: YES), the printer 50 is changed from the “JOB IN mode” to the “idle mode” (S7). At this time, since the printer 50 has completed printing for the print job, the paper supply / discharge mechanism 53 discharges the printed paper to the outside of the printer 50.

その後、ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、「EndJob」をプリンタ50に通知する。   Thereafter, the language monitor 34 notifies the printer 50 of “EndJob” based on the control of the print spooler 32.

この点、図4に示す場合においては、「EndJob」が通知される段階で、プリンタ50は、「アイドルモード」になっている。従って、当該「EndJob」が通知された場合であっても、プリンタ50は、当該「EndJob」を読み捨てる(S3)。   In this regard, in the case shown in FIG. 4, the printer 50 is in the “idle mode” when “EndJob” is notified. Accordingly, even when the “EndJob” is notified, the printer 50 reads and discards the “EndJob” (S3).

続いて、印刷ジョブのキャンセルがあった場合におけるプリンタドライバ33、ランゲージモニタ34、プリンタ50間の処理シーケンスについて、図5を参照しつつ詳細に説明する。   Next, a processing sequence among the printer driver 33, the language monitor 34, and the printer 50 when a print job is canceled will be described in detail with reference to FIG.

尚、図4の場合と同様に、処理シーケンス開始時には、プリンタ50は、「アイドルモード」であるものとする。又、コンピュータ10において、ユーザにより印刷ジョブのキャンセルが行われるまでの処理シーケンスは、正常時における処理シーケンスと同様であるため、その説明を省略する。   As in the case of FIG. 4, it is assumed that the printer 50 is in the “idle mode” at the start of the processing sequence. Further, the processing sequence until the user cancels the print job in the computer 10 is the same as the processing sequence in the normal state, and the description thereof is omitted.

図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 printer 50 via “WritePort” of the language monitor 34. Therefore, the printer 50 executes the printing process based on the user operation up to an intermediate stage. That is, an image based on user-desired print data is printed on the paper up to an intermediate stage.

ここで、ユーザがキーボード28等により印刷ジョブのキャンセル操作を行うと、ランゲージモニタ34は、プリントスプーラ32の制御に従って、「WritePort」を終了する。ジョブキャンセルが行われると、その後のデータ等は、ランゲージモニタ34の「WritePort」を介して、プリンタポートに書き込まれることはなく、プリンタ50に伝達されることもない。   Here, when the user performs a print job cancel operation using the keyboard 28 or the like, the language monitor 34 ends “WritePort” in accordance with the control of the print spooler 32. When job cancellation is performed, subsequent data and the like are not written to the printer port via the “WritePort” of the language monitor 34 and are not transmitted to the printer 50.

ここで、この場合も、プリントスプーラ32は、プリンタドライバ33から2度目の「DrvNextBand」、「DrvEndDoc」を呼び出し、ランゲージモニタ34に通知する。しかしながら、この時、ランゲージモニタ34は、「WritePort」を終了している。従って、当該「DrvNextBand」、「DrvEndDoc」は、ランゲージモニタ34を介して、プリンタポートに書き込まれることはなく、プリンタ50に伝達されることもない。   Also in this case, the print spooler 32 calls “DrvNextBand” and “DrvEndDoc” for the second time from the printer driver 33 and notifies the language monitor 34 of them. However, at this time, the language monitor 34 has finished “WritePort”. Therefore, the “DrvNextBand” and “DrvEndDoc” are not written to the printer port and are not transmitted to the printer 50 via the language monitor 34.

この結果、続きの「DrvNextBand」を受信することができないので、プリンタ50は、印刷ジョブに係る印刷を途中で中断した状態となる。即ち、印刷が施されている用紙は、完全にプリンタ50の外部へ排紙されることなく、印刷部52近傍に留まっている。   As a result, since the subsequent “DrvNextBand” cannot be received, the printer 50 is in a state in which printing related to the print job is interrupted halfway. That is, the paper on which printing is performed remains in the vicinity of the printing unit 52 without being completely discharged to the outside of the printer 50.

又、「DrvEndDoc」を受信することもないので、プリンタ50は、当該印刷ジョブの終了を把握できず、「DrvEndDoc」に基づき排紙を行うこともできない。更に、「DrvEndDoc」を受信できないため、プリンタ50は、当該印刷ジョブに係るデータと、次の印刷ジョブに係るデータを区別できず、印刷に不具合が生じてしまうことがある。   Further, since “DrvEndDoc” is not received, the printer 50 cannot grasp the end of the print job and cannot discharge paper based on “DrvEndDoc”. Furthermore, since “DrvEndDoc” cannot be received, the printer 50 cannot distinguish between data related to the print job and data related to the next print job, which may cause printing problems.

ジョブキャンセルが行われた場合も、図4の場合と同様に、当該ランゲージモニタ34は、プリントスプーラ32の制御に基づいて、「EndJob」をプリンタ50に通知する。   When the job is canceled, the language monitor 34 notifies the printer 50 of “EndJob” based on the control of the print spooler 32 as in the case of FIG.

プリンタ50は、「JOB INモード」であるので、「EndJob」を受信すると(S5:YES)、プリンタ50は、「JOB INモード」から「アイドルモード」に変更される(S7)。   Since the printer 50 is in the “JOB IN mode”, when “EndJob” is received (S5: YES), the printer 50 is changed from the “JOB IN mode” to the “idle mode” (S7).

この時、プリンタ50は、「EndJob」に含まれるNULLデータ列により、当該印刷ジョブに係る印刷データが終了したことを把握し得る。従って、その後の印刷ジョブが開始された場合であっても、当該プリンタ50は、前後の印刷ジョブに係るデータの混在による印刷不良を起こすことはない。   At this time, the printer 50 can grasp that the print data related to the print job has ended from the NULL data string included in “EndJob”. Accordingly, even when a subsequent print job is started, the printer 50 does not cause a printing failure due to a mixture of data related to the preceding and succeeding print jobs.

更に、この時、プリンタ50は、「EndJob」に含まれる用紙排出指示に従って、給排紙機構部53を制御し、印刷の中断により排紙が完了していない用紙を、プリンタ50外部に排紙する。これにより、ユーザは、ジョブキャンセルを行った場合でも、用紙を取り除くためにプリンタ50に向かう必要はない。即ち、当該印刷システム1は、ジョブキャンセル時における利便性を、ユーザに提供し得る。   Further, at this time, the printer 50 controls the paper supply / discharge mechanism 53 in accordance with the paper discharge instruction included in “EndJob”, and discharges paper that has not been discharged due to the interruption of printing to the outside of the printer 50. To do. Thus, even when the user cancels the job, the user does not need to go to the printer 50 to remove the paper. That is, the printing system 1 can provide the user with convenience when canceling a job.

以上説明したように、本実施形態に係る印刷システム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 printer 50 receives “EndJob” from the language monitor 34. That is, according to the printing system 1, the printer 50 discharges a sheet in accordance with a sheet discharge instruction included in “EndJob”. As a result, according to the printing system 1, the printer 50 can reliably discharge the paper even when the paper remains held in the paper supply / discharge mechanism 53 due to the job cancellation. It is possible to provide convenience when canceling a job.

又、当該印刷システム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 printer 50 is connected.

更に、当該印刷システム1によれば、プリンタ50は、正常時には「EndJob」の前に伝達される「DrvEndDoc」のジョブ終了指示により、「アイドルモード」に変更される。当該「アイドルモード」では、プリンタ50は、「DrvStartDoc」に含まれるジョブ開始指示のみ受け付け、それ以外の制御コマンドやデータを読み捨てる(S3)。つまり、正常時においては、プリンタ50は、「アイドルモード」時に通知された「EndJob」に従って、NULLデータ列と、用紙排出指示と、ジョブ終了指示に基づく印刷を、用紙に行うことはない。この結果、当該印刷システム1は、印刷ジョブを正常に完了した場合であってもNULLデータ列等の影響を受けることなく、印刷ジョブに係る印刷結果を出力し得る。この結果、当該印刷システム1は、ジョブキャンセル時の利便性を提供しつつ、正常作動時における利便性も提供し得る。   Further, according to the printing system 1, the printer 50 is changed to “idle mode” in response to a job end instruction of “DrvEndDoc” transmitted before “EndJob” in a normal state. In the “idle mode”, the printer 50 accepts only a job start instruction included in “DrvStartDoc”, and reads and discards other control commands and data (S3). That is, under normal conditions, the printer 50 does not perform printing based on the NULL data string, the paper discharge instruction, and the job end instruction on the paper according to “EndJob” notified in the “idle mode”. As a result, the printing system 1 can output the printing 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 1 can provide convenience during normal operation while providing convenience during job cancellation.

そして、ランゲージモニタ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 printer 50. That is, the language monitor 34 can provide the user with the convenience related to the paper discharge at the time of job cancellation by cooperating with the computer. In this case, the language monitor 34 can eliminate the influence of the cancellation of the print job by the user on the subsequent printing. Furthermore, the language monitor 34 can provide convenience when canceling a job regardless of the type of connection interface to which the printer 50 is connected.

以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能である。例えば、本実施形態においては、「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 printer 50 based on the call of “DrvStartDoc”. However, the present invention is not limited to this mode, and various modes are adopted. obtain. For example, the present invention may employ a configuration in which a job start instruction is notified to the printer 50 on condition that the print spooler 32 calls “DrvStartBanding”. The present invention can also employ a configuration in which the print spooler 32 notifies the printer 50 of a job start instruction when the first “DrvNextBand” is called.

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 Computer 20 Control part 27 Mouse 28 Keyboard 32 Print spooler 33 Printer driver 34 Language monitor 40 LAN I / F
41 USB I / F
50 Printer 51 Printer Control Unit 52 Printing Unit 53 Feed / Discharge Mechanism Unit 54 LAN I / F
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.
前記請求項1に記載の印刷システムにおいて、
前記プリンタは、
前記アイドル状態にある場合、
前記ジョブ開始コマンドを除くコマンド及び前記ジョブ終了コマンドに含まれる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.
JP2009040192A 2009-02-24 2009-02-24 Printing system and language monitor program Pending JP2010198151A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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