JP2006338443A - Filter device driver, duplication printing control method and its control program - Google Patents
Filter device driver, duplication printing control method and its control program Download PDFInfo
- Publication number
- JP2006338443A JP2006338443A JP2005163568A JP2005163568A JP2006338443A JP 2006338443 A JP2006338443 A JP 2006338443A JP 2005163568 A JP2005163568 A JP 2005163568A JP 2005163568 A JP2005163568 A JP 2005163568A JP 2006338443 A JP2006338443 A JP 2006338443A
- Authority
- JP
- Japan
- Prior art keywords
- print data
- printer
- communication port
- device driver
- filter device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、一台のプリンタに対する印刷命令により、同時に複数の通信ポートに接続された複数のプリンタによる印刷を可能にするフィルタデバイスドライバ、複製印刷制御方法及びその制御プログラムに関する。 The present invention relates to a filter device driver, a duplication printing control method, and a control program thereof that enable printing by a plurality of printers connected to a plurality of communication ports at the same time by a print command for one printer.
異なる通信ポートに複数のプリンタがそれぞれ接続されている場合に、印刷アプリケーションは、複数のプリンタのいずれか1台を指定して印刷を行う。特許文献1では、異なる複数の通信ポートに複数のプリンタがそれぞれ接続されている場合に、オペレーティングシステム(OS)に出力管理用ドライバを登録しておき、アプリケーションにより特定のプリンタを指定しなくても、出力管理用ドライバにより、印刷内容に応じて複数のプリンタの中から最適なプリンタを選択して印刷させる技術が開示されている。これにより、アプリケーションでプリンタを指定しなくとも、最適のプリンタにより印刷することが可能となる。 When a plurality of printers are respectively connected to different communication ports, the print application designates one of the plurality of printers to perform printing. In Patent Document 1, when a plurality of printers are connected to a plurality of different communication ports, an output management driver is registered in the operating system (OS), and a specific printer is not designated by an application. A technique is disclosed in which an optimum printer is selected from a plurality of printers according to print contents and printed by an output management driver. As a result, it is possible to perform printing with an optimum printer without specifying a printer by an application.
しかし、特許文献1の技術は、複数の通信ポートに接続されているプリンタ中の一台を選択して印刷を実行するものであり、同じ内容の印刷を大量に行いたい場合等に同じ内容の印刷を他の通信ポートに接続された複数のプリンタで同時に印刷することはできない。 However, the technique of Patent Document 1 is to select one of the printers connected to a plurality of communication ports and execute printing, and when the same contents are to be printed in large quantities, the same contents are used. Printing cannot be performed simultaneously by a plurality of printers connected to other communication ports.
複数のプリンタで同じ内容を同時に複数印刷したい場合として、例えば、同じ内容のクーポン券を大量に発券したい場合、またはクーポン券を発券すると同時にその複製を作成したい場合などがある。このような場合に、同じ印刷処理を複数回実行するようアプリケーションプログラムを変更することにより、同じものを複製することは可能である。しかし、これにはアプリケーションの変更が必要となる上、一台のプリンタで連続印刷することになるので、印刷速度が遅くなるという問題がある。 Examples of a case where a plurality of printers are desired to simultaneously print the same contents include a case where a large number of coupons having the same contents are to be issued, or a case where it is desired to create a copy of the coupon at the same time as the coupon is issued. In such a case, it is possible to duplicate the same by changing the application program so that the same printing process is executed a plurality of times. However, this requires a change in the application and continuously prints with a single printer, resulting in a problem that the printing speed becomes slow.
また、レシートプリンタのみが接続されている精算処理のアプリケーション(以下、「POSアプリケーション」と称する)に、ジャーナル機能を付加するためには、通常、レシートプリンタ及びジャーナルプリンタの2台のプリンタで印刷を行うようにPOSアプリケーションを変更することが必要となる。しかし、既に稼動しているPOSアプリケーションを変更するには、新しいアプリケーションの開発コスト、導入コストがかかる。また、新しいアプリケーションへの移行過程において、システムを一時停止する必要やトラブル発生の危険もある。そのため、できる限り、POSアプリケーションを変更することなくジャーナル機能を追加できることが望ましい。 In order to add a journal function to a checkout application (hereinafter referred to as “POS application”) to which only a receipt printer is connected, printing is usually performed by two printers, a receipt printer and a journal printer. It is necessary to change the POS application to do so. However, changing the POS application that is already in operation requires new application development cost and introduction cost. In addition, there is a need to pause the system or cause troubles during the transition to a new application. Therefore, it is desirable that the journal function can be added without changing the POS application as much as possible.
本発明は、上記従来技術の問題点に鑑みてなされたものであり、アプリケーションプログラムを変更することなく、1つの通信ポートにアクセスすることにより、他の通信ポートに接続されているプリンタへも同時に印刷を実行させることができる印刷制御方法を提供することを目的とする。 The present invention has been made in view of the above-described problems of the prior art. By accessing one communication port without changing an application program, a printer connected to another communication port can be simultaneously accessed. It is an object of the present invention to provide a print control method capable of executing printing.
本発明の他の目的は、レシート印刷機能のみを有しておりジャーナル印刷機能を有しないPOSアプリケーションにおいて、POSアプリケーションを変更することなく、ジャーナル印刷機能を付与することができる印刷制御方法を提供することである。 Another object of the present invention is to provide a printing control method capable of providing a journal printing function without changing the POS application in a POS application that has only a receipt printing function and does not have a journal printing function. That is.
本発明は、OSカーネル層にフィルタデバイスドライバを介在させることにより、所定の通信ポートに対する出力データを取得して、他のポートに接続されている複数のプリンタに出力して同じ内容の印刷をさせることにより、複数のプリンタによる同時印刷を可能にして、上記課題を解決する。 The present invention obtains output data for a predetermined communication port by interposing a filter device driver in the OS kernel layer, and outputs it to a plurality of printers connected to other ports to print the same contents. Thus, simultaneous printing by a plurality of printers is enabled to solve the above problem.
本発明の第1の態様にかかるフィルタデバイスドライバは、プリンタを接続可能な複数の通信ポートを備えるホスト装置のOSカーネル層に介装され、ユーザ層からOSカーネル層を介してプリンタに出力される印刷データを取得する印刷データ取得部と、取得した印刷データを複製して他のポートに出力する複製処理部とを備えることを特徴とする。この態様によると、OSカーネル層において印刷データを取得し、複製して他のポートに出力するので、本来の印刷処理を妨げることなく、また、アプリケーションを全く変更することなく、複製印刷が可能となる。 The filter device driver according to the first aspect of the present invention is interposed in the OS kernel layer of the host device having a plurality of communication ports to which a printer can be connected, and is output from the user layer to the printer via the OS kernel layer. A print data acquisition unit that acquires print data, and a copy processing unit that copies the acquired print data and outputs the copy data to another port. According to this aspect, print data is acquired in the OS kernel layer, copied, and output to another port, so that it is possible to perform duplicate printing without interfering with the original printing process and without changing the application at all. Become.
本発明の他の態様によるフィルタデバイスドライバは、さらに、複製ソースとなる前記印刷データを受信するマスタ通信ポートと前記複製した印刷データを出力する出力通信ポートを指定可能なパラメータ設定部を備え、前記複製処理部は、設定された通信ポートに前記複製した印刷データを出力することを特徴とする。パラメータ設定部により、例えば、複製印刷するソースとなるプリンタ(ポート)の指定、複製するプリンタの指定、複製した印刷データから削除するデータの指定、又は印刷データに追加するデータの指定、エラー処理の選択などの設定が可能である。また、マスタ通信ポートは、固定しておき、出力ポートのみを指定することも可能である。 The filter device driver according to another aspect of the present invention further includes a parameter setting unit capable of designating a master communication port that receives the print data serving as a duplication source and an output communication port that outputs the duplicated print data, The duplication processing unit outputs the duplicated print data to a set communication port. The parameter setting unit can specify, for example, a printer (port) as a source for duplicate printing, a printer to be duplicated, a data to be deleted from the duplicated print data, a data to be added to the print data, an error processing Settings such as selection are possible. It is also possible to fix the master communication port and specify only the output port.
本発明の他の態様によるフィルタデバイスドライバは、前記複製処理部が、前記複製した印刷データを複数の出力通信ポートに対して出力可能であることを特徴とする。複製した印刷データを複数の出力通信ポートに対してそれぞれ出力することにより、各ポートに接続されている複製のプリンタにより、同じ内容を複数複製印刷させることが可能となる。 A filter device driver according to another aspect of the present invention is characterized in that the duplication processing unit can output the duplicated print data to a plurality of output communication ports. By outputting the duplicated print data to a plurality of output communication ports, the same contents can be duplicated and printed by a duplicate printer connected to each port.
本発明の他の態様によるフィルタデバイスドライバは、前記複製処理部は、前記印刷データから所定の文字列、記号またはイメージデータを削除し、または前記印刷データに所定の文字列、記号またはイメージデータを付加して複製することを特徴とする。例えば、パラメータ設定部に、複製した印刷データから削除する文字列、記号、イメージデータ、または、印刷データに追加する文字列、記号、イメージデータ等を追加する位置とともに設定登録しておくことにより、印刷データ中にこれらの登録データと同じデータが存在する場合には印刷データから削除して複製し、または、これらの登録データを追加して複製する。これにより、ジャーナル印刷の用紙を節約することが可能となる。 In the filter device driver according to another aspect of the present invention, the duplication processing unit deletes a predetermined character string, symbol, or image data from the print data, or adds a predetermined character string, symbol, or image data to the print data. It is characterized by adding and duplicating. For example, by setting and registering the character string, symbol, image data to be deleted from the duplicated print data, or the position to add the character string, symbol, image data, etc. to be added to the print data in the parameter setting unit, If the same data as these registered data exists in the print data, it is deleted from the print data and copied, or these registered data are added and copied. This makes it possible to save paper for journal printing.
本発明の他の態様によるフィルタデバイスドライバは、前記複製処理部が、前記出力通信ポートから受信するステータスの処理を行うステータス処理部を備えることを特徴とする。例えば、複製プリンタによる印刷が正常に完了したときには何もせず、エラーが発生したときにのみ、ステータス処理部によるエラー処理を行う。エラー処理の一例として、複製プリンタが、印刷用紙切れ、インク切れの場合には、当該プリンタが正常に復帰するまで印刷データを蓄積しておき、正常に復帰した段階で蓄積した印刷データをプリントアウトする等の処理手順を定めておくことができる。また、復帰不能エラーが発生したら、通常のアプリケーションによるエラー表示とは別に、エラー表示を行うようなエラー処理手順を定めておくことも可能である。 A filter device driver according to another aspect of the present invention is characterized in that the duplication processing unit includes a status processing unit that processes a status received from the output communication port. For example, nothing is performed when printing by the duplicating printer is normally completed, and error processing by the status processing unit is performed only when an error occurs. As an example of error processing, if the duplicate printer runs out of print paper or ink, print data is stored until the printer returns to normal, and the print data stored when the printer returns to normal is printed out. It is possible to set a processing procedure such as. In addition, when an unrecoverable error occurs, it is possible to define an error processing procedure for displaying an error separately from an error display by a normal application.
本発明の第1の態様による複製印刷制御方法は、OSカーネル層において、(a)アプリケーションから受信した印刷データを取得する工程と、(b)取得した前記印刷データを複製する工程と、(c)複製された前記印刷データを他の通信ポートに出力する工程と、を備えることを特徴とする。 In the duplicate print control method according to the first aspect of the present invention, in the OS kernel layer, (a) a step of acquiring print data received from an application, (b) a step of replicating the acquired print data, (c) And a step of outputting the duplicated print data to another communication port.
本発明の他の態様による複製印刷制御方法は、前記工程(c)が、複製された前記印刷データを予め設定された複数の通信ポートに出力することを特徴とする。 The duplicate printing control method according to another aspect of the present invention is characterized in that the step (c) outputs the duplicated print data to a plurality of preset communication ports.
本発明の他の態様による複製印刷制御方法は、さらに、(d)前記複製した印刷データが出力された他のポートからのエラーステータスを受信したときに、エラー表示を行うエラー処理工程を備えることを特徴とする。 The duplicate printing control method according to another aspect of the present invention further includes (d) an error processing step of displaying an error when receiving an error status from another port to which the duplicated print data is output. It is characterized by.
本発明の第1の態様による複製印刷制御プログラムは、上記のいずれか一つの複製印刷制御方法の各工程を、コンピュータに実行させることを特徴とする。 According to a first aspect of the present invention, there is provided a duplicate printing control program that causes a computer to execute each step of any one of the above duplicate printing control methods.
本発明によれば、OSカーネル層内部にて、プリンタに出力される印刷データをピックアップして取得し、それを複製して、他のプリンタに出力するので、アプリケーションを変更することなく、同じ印刷内容を同時に複数のプリンタにより印刷することが可能となる。したがって、接続されているプリンタ数に比例して印刷速度をあげることが可能となる。 According to the present invention, the print data output to the printer is picked up and acquired within the OS kernel layer, copied, and output to another printer. Therefore, the same printing can be performed without changing the application. The contents can be printed simultaneously by a plurality of printers. Therefore, it is possible to increase the printing speed in proportion to the number of connected printers.
また、ジャーナル用プリンタを通信ポートに接続し、本発明のフィルタデバイスドライバを組み込むだけで、従来のPOSアプリケーションを変更することなく、ジャーナル印刷機能を付加することが可能となる。これにより、ジャーナル機能のないPOSシステムを、労力、時間及びコストを抑制しつつ、ジャーナル機能を備えるPOSシステムに移行させることが可能となる。 Further, by simply connecting a journal printer to the communication port and incorporating the filter device driver of the present invention, it is possible to add a journal printing function without changing the conventional POS application. As a result, a POS system without a journal function can be transferred to a POS system with a journal function while reducing labor, time, and cost.
以下、図面を参照しながら、本発明にかかる複製印刷制御方法の実施形態を具体的に説明する。図1は、本発明に複製印刷制御機能を備えるホスト装置10とプリンタの接続例を示すブロック図である。尚、以後の説明において、ホスト装置10の通信ポート41〜43には、プリンタ#1〜プリンタ#3の3台のプリンタが接続されているが、接続されるプリンタは2台であっても、4台以上であってもよい。
Hereinafter, embodiments of a duplicate printing control method according to the present invention will be specifically described with reference to the drawings. FIG. 1 is a block diagram showing a connection example of a printer and a
ホスト装置10は、CPU,RAM及びROM等記憶装置、各種インタフェースボード、ドライバ回路等からなるハードウェア上で、基本ソフトウェアであるOS(Operating System)が記憶装置から読み出されて実行されることにより、RAMの管理、各種デバイスの動作制御等がなされホスト装置(コンピュータ)10の基本動作が行われる。このOSには、追加デバイスに応じたデバイスドライバが組み込み可能であり、これらのデバイスドライバにより追加デバイスに応じた制御を実行することが可能である。
The
また、記憶装置内には、例えば、POSシステムのような所定の機能を実現するための各種アプリケーションプログラムが記憶されている。これらのアプリケーションプログラムがOSの動作環境下で実行されることにより、ホスト装置10は、所定の目的(例えば、POSシステム)を実現するためのコンピュータとして機能する。
In the storage device, various application programs for realizing predetermined functions such as a POS system are stored. By executing these application programs under the operating environment of the OS, the
図2は、本発明の一実施形態にかかるホスト装置10の内部構成の基本構造を示すブロック図であり、オペレーティングシステムのカーネル層30(以下、「OSカーネル層30」と称する)中に介装される本発明のフィルタデバイスドライバ33とアプリケーションの関係、及びその機能の概略を示している。ホスト装置10は、複数のアプリケーション20a、20b等を備えるアプリケーション層20と、OSカーネル層30、ハードウェア層40とから構成される。尚、OSには各種機能があるが、ここでは、OSカーネル層の通信制御の部分のみを示している。また、図2では、通信ポートAを指定して入力された印刷データを複製して、通信ポートB及び通信ポートCにも出力する例を示している。以下、アプリケーション層20からOSカーネル層30に対して、通信ポートAに接続されているプリンタ#1に対応する印刷データが入力されるものとして説明する。
FIG. 2 is a block diagram showing the basic structure of the internal configuration of the
通常、アプリケーション20aからアプリケーションプログラムインタフェース(API)31を介して入力されたプリンタ#1用の印刷データは、通信を制御する通信ポートABC・・に共通の共通上位デバイスドライバ32、A用の下位デバイスドライバ34の処理を経て、ハードウェア層の通信ポートAからプリンタ#1に送信される。共通上位デバイスドライバ32は、例えば印刷データのメモリを確保する等の、各ポートABC・・に接続されているプリンタに共通の処理を行う。下位デバイスドライバ34は、アプリケーション20aからの印刷データを通信ポートAに接続されているプリンタ#1に送信するための各種処理を行う。
Normally, the print data for printer # 1 input from the
本実施形態では、共通上位デバイスドライバ32と下位デバイスドライバ34との間にフィルタデバイスドライバ33が介装されている。フィルタデバイスドライバ33は、OSカーネル層30において割り込み処理を行うフィルタである。フィルタデバイスドライバ33は、OSカーネル層30の最上位のAPI31から各ポート固有の処理を行う下位デバイスドライバ34,35,36までの各種処理の間に組み込まれており、プリンタ#1に送信される通信ポートAの印刷データをモニタしている。印刷データを検出すると、印刷データをそのまま通信ポートA用の下位デバイスドライバ34に出力する他、印刷データを複製して他の通信ポート(通信ポートB、C)用の下位デバイスドライバ35、36にも出力する。
In the present embodiment, a
<フィルタデバイスドライバ>
図3は、本発明にかかるフィルタデバイスドライバ33の一実施形態を示す機能ブロック図である。図3に示すフィルタデバイスドライバ33は、印刷データ取得部50、複製処理部51、出力部57、及びパラメータ設定部60を備えている。さらに、複製処理部51は、複製印刷制御部52、印刷データ複製部53、2つの印刷データ記憶部54,55を備えており、パラメータ設定部60は、パラメータ設定処理部61及びパラメータ記憶部62を備えている。
<Filter device driver>
FIG. 3 is a functional block diagram showing an embodiment of the
パラメータ設定部60は、複製ソースとなる通信ポートの指定、及び複製するプリンタ(通信ポート)の指定を設定するものである。パラメータ設定処理部61は、所望によりパラメータ設定画面63(図4参照)を表示し、どの通信ポートの入力をどのプリンタで複製するかの設定入力を受付け、設定入力の内容をパラメータ記憶部62に記憶する。
The
印刷データ取得部50は、通信ポートA用の上位デバイスドライバ32から印刷データを取得し、出力部57を介して通信ポートA用の下位デバイスドライバ34に出力する。これにより、プリンタ#1によりアプリケーション20aに従った印刷が行われる。また、印刷データ取得部50は、同時に複製処理部51の複製印刷制御部52にも印刷データを送信する。複製印刷制御部52は、パラメータ記憶部62の設定内容を参照して、印刷データの複製が必要かどうかを判定する。印刷データ複製部53は、複製が必要と判定された場合に、印刷データを複製する。複製印刷を行うプリンタの接続されている通信ポートB,C用の下位デバイスドライバ35、36に複製した印刷データを送信する。
The print
プリンタ#1からのステータスは、通常印刷処理と同様にそのまま処理される。プリンタ#2又は#3からのステータスについては、複製印刷制御部52及びステータス処理部56により処理される。プリンタ#2及びプリンタ#3の印刷が正常に完了した場合には、複製がすべて正常に終了しているので、特別の処理はなされず無視される。プリンタ#2またはプリンタ#3から、紙切れその他の復帰可能なステータスを受信した場合には、紙切れを起こしたプリンタの復帰を待ち、復帰不能エラー等の場合には、ステータス処理部56により、エラー表示を行わせる。
The status from the printer # 1 is processed as it is in the same manner as the normal printing process. The status from the printer # 2 or # 3 is processed by the duplicate
<フィルタデバイスドライバの設定>
次に、フィルタデバイスドライバの設定について、図4を用いて説明する。図4に、フィルタデバイスドライバの複製ソースとなる通信ポート、及び複製印刷を行わせる通信ポートを指定するための通信ポート設定画面63の一例を示す。図4の例では、通信ポートとして、シリアルポートであるCOM1乃至COM4を使用しており、これらは、図2及び図3の通信ポートA乃至通信ポートDに相当する。操作者は、マスタ通信ポートの設定により、複製ソースとなる通信ポートを指定する。マスタ通信ポートの指定は、チェックボックス65a〜65dにチェックマークを入れることにより行う。
<Filter device driver settings>
Next, setting of the filter device driver will be described with reference to FIG. FIG. 4 shows an example of a communication
図4の例では、チェックボックス65aと65dにチェックマークが付与され、COM1とCOM4がマスタ通信ポートとして指定されている。マスタ通信ポートの指定がなされると、マスタ通信ポートとなったCOM1及びCOM4から下側のCOMポートに矢印を引くことにより複製するプリンタ(出力通信ポート)を指定することが可能となる。図4では、マスタ通信ポートCOM1から出力通信ポートであるCOM1乃至COM3(プリンタ#1〜プリンタ#3)まで矢印66a〜66cが引かれており、プリンタ#1〜3により、COM1の印刷データが印刷されるよう設定されている。ここで、先に一つのマスタ通信ポート(例えばCOM1)から出力通信ポート(複製用プリンタ)として指定されると、同じ出力通信ポートを他のマスタ通信ポート(例えばCOM4)から指定することはできないようにすることが好ましい。こうすることにより、図4に示すように、マスタ通信ポートCOM4から重ねて、出力通信ポートとしてCOM3(プリンタ#3)に対して矢印67bのような指定をすることはできなくなる。重複して指定されると、COM1及びCOM4から同時に印刷要求があったときにいずれか一方の複製印刷ができなくなるからである。同様の理由で、出力通信ポートに接続されている複製プリンタ#2乃至#3に対して、アプリケーションから印刷命令を実行させることはできない。
In the example of FIG. 4, check
<フィルタデバイスドライバの動作>
図5乃至図9を用いて、複製印刷の動作について説明する。図5乃至図9は、マスタ通信ポートに接続されているプリンタ#1の印刷データを、プリンタ#2及びプリンタ#3で複製印刷する場合の動作を示す模式的に示す図である。図5は、プリンタ#1乃至プリンタ#3の3台が印刷を実行しているときの状態を示す図であり、図6は、3台のプリンタ#1乃至プリンタ#3がすべて正常に印刷を完了した状態を示す図である。
<Operation of filter device driver>
The duplicate printing operation will be described with reference to FIGS. FIG. 5 to FIG. 9 are diagrams schematically showing an operation when the print data of the printer # 1 connected to the master communication port is duplicate-printed by the printer # 2 and the printer # 3. FIG. 5 is a diagram illustrating a state in which three printers # 1 to # 3 are executing printing, and FIG. 6 is a diagram in which all three printers # 1 to # 3 perform normal printing. It is a figure which shows the completed state.
図5に示す通り、フィルタデバイスドライバ33は、印刷アプリケーションからの印刷データ70aを受信するとCOM1を介してプリンタ#1に印刷データを出力する。同時に、出力通信ポートCOM2及びCOM3に出力するために、印刷データを複製して記憶する。複製された印刷データは、COM2及びCOM3を介してプリンタ#2及び3に出力され、それぞれのプリンタで複製印刷が実行される。
As illustrated in FIG. 5, when the
すべてのプリンタ#1乃至#3で印刷が正常に終了すると、図6に示す通り、各プリンタ#1〜#3から、印刷完了のステータスが送信されるが、フィルタデバイスドライバ33は、プリンタ#1のステータスのみをアプリケーションに返し、プリンタ#2及びプリンタ#3のステータスの正常終了ステータスについては、何らかの処理を行わない。アプリケーションは、プリンタ#1からステータスにより正常に終了し、同じ内容の印刷が3部作成される。 When printing is normally completed in all the printers # 1 to # 3, as shown in FIG. 6, the printer completion status is transmitted from each of the printers # 1 to # 3. Is returned to the application, and no processing is performed for the normal end statuses of the printers # 2 and # 3. The application ends normally from printer # 1 according to the status, and three copies of the same content are created.
図7は、印刷途中でプリンタ#2についてのみ用紙切れが発生し、他のプリンタ#1及び#3は正常に印刷を終了した例を模式的に示す図である。また、図8はプリンタ#2が用紙切れ状態のまま、COM1から連続して印刷データを受信し続けている例を示す図であり、図9は、プリンタ#2の用紙切れが解消された後の回復処理の例を示す図である。図7に示す通り、プリンタ#2で用紙切れが発生すると、印刷用紙が補充されるまでプリンタ#2の印刷は停止される。そのため、プリンタ#1及びプリンタ#3は正常に印刷を完了しても、プリンタ#2は印刷途中のままである。この状態であっても、プリンタ#1の正常終了のステータスに基づいて、アプリケーションには印刷は正常に終了したとのステータスが返される。従って、アプリケーションは図8に示す通り、次の印刷データを送信してくる。プリンタ#1及び#3では後続する印刷データも順次印刷されるが、プリンタ#2は印刷できないので、後続する印刷データを複製し記憶する。その後、プリンタ#2に印刷用紙が補充されると、図9に示す通り、記憶されている印刷データがすべてプリンタ#2から複製印刷される。 FIG. 7 is a diagram schematically illustrating an example in which the printer # 2 runs out of paper only during printing, and the other printers # 1 and # 3 have finished printing normally. FIG. 8 is a diagram illustrating an example in which the printer # 2 continuously receives print data from the COM 1 while the paper is out of paper, and FIG. 9 is a diagram after the paper out of the printer # 2 is resolved. It is a figure which shows the example of the recovery process of. As shown in FIG. 7, when the printer # 2 runs out of paper, printing of the printer # 2 is stopped until the printing paper is replenished. Therefore, even if the printer # 1 and the printer # 3 complete printing normally, the printer # 2 remains in the middle of printing. Even in this state, based on the normal end status of the printer # 1, the status indicating that printing has ended normally is returned to the application. Therefore, the application transmits the next print data as shown in FIG. The subsequent print data is also sequentially printed by the printers # 1 and # 3. However, since the printer # 2 cannot print, the subsequent print data is duplicated and stored. Thereafter, when the printer # 2 is replenished with printing paper, all the stored print data is duplicated and printed from the printer # 2, as shown in FIG.
以上の説明から、本発明によりレシート印刷機能のPOSアプリケーションに、容易にジャーナル印刷機能を追加することができる。すなわち、レシート印刷アプリケーションにおいて、レシートプリンタの通信ポートをマスタ通信ポートとして指定し、使用されていない通信ポートにジャーナル用プリンタを接続してその通信ポートを出力通信ポートとして指定することにより、レシートと同じ内容をジャーナルプリンタに複製印刷させることが可能となる。従って、POSアプリケーションを全く変更することなく、ジャーナル印刷機能を付加することが可能となる。複製プリンタをジャーナルプリンタとして使用する場合、複製印刷制御部において印刷データから無駄な改行データを削除することにより、記録紙の節約が可能となる。無駄な改行を削除する例として、例えば、改行が2個続く場合に改行データを一つ削除する等の処理が可能である。また、特定のキーワードとなる文字列、ロゴ画像をフィルタデバイスドライバに登録しておき、登録されたデータを印刷データから削除する機能を付加することも可能である。 From the above description, according to the present invention, the journal printing function can be easily added to the POS application for the receipt printing function. That is, in the receipt printing application, the receipt printer communication port is designated as the master communication port, the journal printer is connected to an unused communication port, and the communication port is designated as the output communication port. The contents can be copied and printed on a journal printer. Therefore, it is possible to add a journal printing function without changing the POS application at all. When a duplicate printer is used as a journal printer, recording paper can be saved by deleting useless line feed data from print data in the duplicate print control unit. As an example of deleting unnecessary line breaks, for example, when two line breaks continue, it is possible to perform processing such as deleting one line break data. It is also possible to add a function of registering a character string or logo image as a specific keyword in the filter device driver and deleting the registered data from the print data.
また、大量印刷の場合に、ホスト装置の異なるポートに同じプリンタを複数台接続しておき、複製プリンタとして指定することにより、プリンタの数に比例して、印刷速度を向上させることが可能である。例えば、パンフレットの印刷、クーポン券、イベント入場券の発券、名刺の印刷等を行う場合に有用である。このような複製印刷の場合に、キーワードとなる文字列、印刷の開始、用紙のカットをトリガとして、印刷物の通し番号(シリアル番号)を印刷データ中に付与することも可能である。この場合には、各プリンタに対するシリアル番号の割り当て管理が必要となる。さらに、ジャーナル印刷とは逆に、キーワードとなる文字列やロゴ情報を登録しておき、印刷データの所定の位置に文字列やロゴデータを挿入するように構成することも可能である。 In the case of mass printing, it is possible to increase the printing speed in proportion to the number of printers by connecting a plurality of the same printers to different ports of the host device and specifying them as duplicate printers. . For example, it is useful when printing brochures, issuing coupon tickets, issuing event admission tickets, printing business cards, and the like. In such duplicate printing, it is also possible to give a serial number (serial number) of a printed matter to print data by using a character string as a keyword, printing start, and paper cutting as a trigger. In this case, serial number assignment management for each printer is required. Furthermore, contrary to journal printing, it is also possible to register character strings and logo information as keywords and insert the character strings and logo data at predetermined positions in the print data.
10 ホスト装置
20 アプリケーション層
20a,20b アプリケーション
30 OSカーネル層
31 アプリケーションプログラムインタフェース(API)
32 ポートA用上位デバイスドライバ
33 フィルタデバイスドライバ
34 ポートA用下位デバイスドライバ
35 ポートB用下位デバイスドライバ
36 ポートC用下位デバイスドライバ
40 ハードウェア層
41 通信ポートA
42 通信ポートB
43 通信ポートC
50 印刷データ取得部
51 複製処理部
52 複製印刷制御部
53 印刷データ複製部
54、55 印刷データ記憶部
56 ステータス処理部
57 出力部
60 パラメータ設定部
61 パラメータ設定処理部
62 パラメータ記憶部
70a 印刷データ
70b、70c 複製印刷データ
DESCRIPTION OF
32 Port A
42 Communication port B
43 Communication port C
50 Print
Claims (9)
ユーザ層からOSカーネル層を介してプリンタに出力される印刷データを取得する印刷データ取得部と、
取得した前記印刷データを複製して他の通信ポートに出力する複製処理部と、
を備えることを特徴とするフィルタデバイスドライバ。 A filter device driver interposed in an OS kernel layer of a host device having a plurality of communication ports to which a printer can be connected,
A print data acquisition unit that acquires print data output from the user layer to the printer via the OS kernel layer;
A duplication processing unit for duplicating the acquired print data and outputting it to another communication port;
A filter device driver comprising:
(a)アプリケーションから受信した印刷データを取得する工程と、
(b)取得した前記印刷データを複製する工程と、
(c)複製された前記印刷データを他の通信ポートに出力する工程と、
を備えることを特徴とする複製印刷制御方法。 In the OS kernel layer,
(A) acquiring print data received from an application;
(B) copying the acquired print data;
(C) outputting the duplicated print data to another communication port;
A duplicate printing control method comprising:
(d)前記複製した印刷データが出力された他のポートからのエラーステータスを受信したときに、エラー表示を行うエラー処理工程を備えることを特徴とする請求項6又は7に記載の複製印刷制御方法。 further,
8. The duplicate printing control according to claim 6, further comprising an error processing step of displaying an error when receiving an error status from another port to which the duplicated print data is output. Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005163568A JP2006338443A (en) | 2005-06-03 | 2005-06-03 | Filter device driver, duplication printing control method and its control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005163568A JP2006338443A (en) | 2005-06-03 | 2005-06-03 | Filter device driver, duplication printing control method and its control program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006338443A true JP2006338443A (en) | 2006-12-14 |
Family
ID=37558937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005163568A Withdrawn JP2006338443A (en) | 2005-06-03 | 2005-06-03 | Filter device driver, duplication printing control method and its control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006338443A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2009066344A1 (en) * | 2007-11-19 | 2011-03-31 | デュアキシズ株式会社 | COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL SYSTEM, AND COMMUNICATION CONTROL METHOD |
US20120042065A1 (en) * | 2010-08-16 | 2012-02-16 | Canon Kabushiki Kaisha | System, apparatus, method, and computer program for information processing resource adjustment |
EP2426593A1 (en) | 2010-09-06 | 2012-03-07 | Seiko Epson Corporation | Function expansion method using print data, function expansion device, and recording medium |
EP2426594A2 (en) | 2010-09-06 | 2012-03-07 | Seiko Epson Corporation | Distribution processing method, distribution processing device, print data processing method, print data processing device, and recording medium |
JP2012058846A (en) * | 2010-09-06 | 2012-03-22 | Seiko Epson Corp | Print data processing program for distributing output destination, print data processing device, and print data processing method |
EP2434390A2 (en) | 2010-09-22 | 2012-03-28 | Seiko Epson Corporation | Method of adding value to print data, a value-adding device, and a recording medium |
JP2012155515A (en) * | 2011-01-26 | 2012-08-16 | Renesas Electronics Corp | Source device driver and method for creating execution module |
WO2012115257A1 (en) | 2011-02-25 | 2012-08-30 | Seiko Epson Corporation | Function expansion method using print data, and function expansion device |
WO2012117984A2 (en) | 2011-03-02 | 2012-09-07 | Seiko Epson Corporation | Pos system, pos system control method, and recording media processing system |
JP2013186612A (en) * | 2012-03-07 | 2013-09-19 | Ricoh Co Ltd | Information processing device, program and recording medium |
JP2013210921A (en) * | 2012-03-30 | 2013-10-10 | Ricoh Co Ltd | Information processor, program and recording medium |
EP2732412A1 (en) * | 2011-07-14 | 2014-05-21 | Ecrebo Limited | A method of enhancing point-of-sale systems |
JP2015005311A (en) * | 2014-10-06 | 2015-01-08 | セイコーエプソン株式会社 | Function enhancement program using print data, function enhancement device, and function enhancement method |
JP2015015053A (en) * | 2014-10-06 | 2015-01-22 | セイコーエプソン株式会社 | Value addition program for print data, value addition apparatus, and value addition method |
JP2015015052A (en) * | 2014-10-06 | 2015-01-22 | セイコーエプソン株式会社 | Print data processing program for distributing output destination, print data processing device, and print data processing method |
US9047209B2 (en) | 2013-07-18 | 2015-06-02 | Seiko Epson Corporation | Controlling communication between a point of sale terminal and a printer without changing an application on the point of sale terminal |
US9111198B2 (en) | 2013-03-21 | 2015-08-18 | Seiko Epson Corporation | Print control method, print control device, and storage medium |
-
2005
- 2005-06-03 JP JP2005163568A patent/JP2006338443A/en not_active Withdrawn
Cited By (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2009066344A1 (en) * | 2007-11-19 | 2011-03-31 | デュアキシズ株式会社 | COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL SYSTEM, AND COMMUNICATION CONTROL METHOD |
US20120042065A1 (en) * | 2010-08-16 | 2012-02-16 | Canon Kabushiki Kaisha | System, apparatus, method, and computer program for information processing resource adjustment |
US8760692B2 (en) * | 2010-08-16 | 2014-06-24 | Canon Kabushiki Kaisha | System, apparatus, method, and computer program for information processing resource adjustment |
CN102385489A (en) * | 2010-09-06 | 2012-03-21 | 精工爱普生株式会社 | Distribution processing method, distribution processing device, print data processing method, print data processing device, and recording medium |
EP2426594A2 (en) | 2010-09-06 | 2012-03-07 | Seiko Epson Corporation | Distribution processing method, distribution processing device, print data processing method, print data processing device, and recording medium |
CN102385489B (en) * | 2010-09-06 | 2014-11-19 | 精工爱普生株式会社 | Distribution processing method, distribution processing device, print data processing method, and print data processing device |
JP2012058810A (en) * | 2010-09-06 | 2012-03-22 | Seiko Epson Corp | Function enhancement program using print data, function enhancement device, and function enhancement method |
JP2012058846A (en) * | 2010-09-06 | 2012-03-22 | Seiko Epson Corp | Print data processing program for distributing output destination, print data processing device, and print data processing method |
US20120057202A1 (en) * | 2010-09-06 | 2012-03-08 | Seiko Epson Corporation | Distribution processing method, distribution processing device, print data processing method, print data processing device, and recording medium |
CN102446074A (en) * | 2010-09-06 | 2012-05-09 | 精工爱普生株式会社 | Function expansion method using print data, function expansion device, and recording medium |
US9030704B2 (en) | 2010-09-06 | 2015-05-12 | Seiko Epson Corporation | Function expansion method using print data for a point-of-sale terminal |
US10248944B2 (en) | 2010-09-06 | 2019-04-02 | Seiko Epson Corporation | Function expansion method in a point-of-sale system using print data |
US8861009B2 (en) | 2010-09-06 | 2014-10-14 | Seiko Epson Corporation | Function expansion method using print data for a point-of-sale terminal |
US8526045B2 (en) | 2010-09-06 | 2013-09-03 | Seiko Epson Corporation | Expanding application functionality without changing the existing application |
US20150220903A1 (en) * | 2010-09-06 | 2015-08-06 | Seiko Epson Corporation | Function expansion method using print data, function expansion device, and recording medium |
EP2426593A1 (en) | 2010-09-06 | 2012-03-07 | Seiko Epson Corporation | Function expansion method using print data, function expansion device, and recording medium |
KR101364808B1 (en) | 2010-09-06 | 2014-02-19 | 세이코 엡슨 가부시키가이샤 | Function expansion method using print data, function expansion device, and recording medium |
US8693036B2 (en) | 2010-09-06 | 2014-04-08 | Seiko Epson Corporation | Distribution processing method, distribution processing device, print data processing method, print data processing device, and recording medium |
EP2434390A2 (en) | 2010-09-22 | 2012-03-28 | Seiko Epson Corporation | Method of adding value to print data, a value-adding device, and a recording medium |
US9030706B2 (en) | 2010-09-22 | 2015-05-12 | Seiko Epson Corporation | Method of adding value to print data, a value-adding device, and a recording medium |
US9262106B2 (en) | 2010-09-22 | 2016-02-16 | Seiko Epson Corporation | Method of adding value to print data, a value-adding device, and a recording medium |
US8861016B2 (en) | 2010-09-22 | 2014-10-14 | Seiko Epson Corporation | Method of adding value to print data, a value-adding device, and a recording medium |
JP2012155515A (en) * | 2011-01-26 | 2012-08-16 | Renesas Electronics Corp | Source device driver and method for creating execution module |
US8970862B2 (en) | 2011-02-25 | 2015-03-03 | Seiko Epson Corporation | Function expansion method using print data, and function expansion device |
WO2012115257A1 (en) | 2011-02-25 | 2012-08-30 | Seiko Epson Corporation | Function expansion method using print data, and function expansion device |
US9058139B2 (en) | 2011-02-25 | 2015-06-16 | Seiko Epson Corporation | Function expansion method using print data, and function expansion device |
US9001342B2 (en) | 2011-03-02 | 2015-04-07 | Seiko Epson Corporation | POS system, POS system control method, and recording media processing system |
US9275385B2 (en) | 2011-03-02 | 2016-03-01 | Seiko Epson Corporation | POS terminal and POS terminal control method |
WO2012117984A2 (en) | 2011-03-02 | 2012-09-07 | Seiko Epson Corporation | Pos system, pos system control method, and recording media processing system |
EP2732412A1 (en) * | 2011-07-14 | 2014-05-21 | Ecrebo Limited | A method of enhancing point-of-sale systems |
US11238424B2 (en) | 2011-07-14 | 2022-02-01 | Ecrebo Limited | Method of enhancing point-of-sale systems |
US10475013B2 (en) | 2011-07-14 | 2019-11-12 | Ecrebo Limited | Method of enhancing point-of-sale systems |
US9911109B2 (en) | 2011-07-14 | 2018-03-06 | Ecrebo Limited | Method of enhancing point-of-sale systems |
JP2013186612A (en) * | 2012-03-07 | 2013-09-19 | Ricoh Co Ltd | Information processing device, program and recording medium |
JP2013210921A (en) * | 2012-03-30 | 2013-10-10 | Ricoh Co Ltd | Information processor, program and recording medium |
US9111198B2 (en) | 2013-03-21 | 2015-08-18 | Seiko Epson Corporation | Print control method, print control device, and storage medium |
US9047209B2 (en) | 2013-07-18 | 2015-06-02 | Seiko Epson Corporation | Controlling communication between a point of sale terminal and a printer without changing an application on the point of sale terminal |
JP2015005311A (en) * | 2014-10-06 | 2015-01-08 | セイコーエプソン株式会社 | Function enhancement program using print data, function enhancement device, and function enhancement method |
JP2015015053A (en) * | 2014-10-06 | 2015-01-22 | セイコーエプソン株式会社 | Value addition program for print data, value addition apparatus, and value addition method |
JP2015015052A (en) * | 2014-10-06 | 2015-01-22 | セイコーエプソン株式会社 | Print data processing program for distributing output destination, print data processing device, and print data processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2006338443A (en) | Filter device driver, duplication printing control method and its control program | |
US8045198B2 (en) | System and method for processing a change history of a PDF file | |
JP2004050722A (en) | Printer | |
JP4530012B2 (en) | Image processing apparatus and program | |
WO2017141859A1 (en) | Information processing apparatus, information processing system, method for controlling information processing system, and program | |
CN101467123A (en) | Information processing apparatus, information processing method, and program | |
JP4584731B2 (en) | Printer device | |
CN104714764A (en) | Print control apparatus and non-transitory computer readable medium | |
JP5807460B2 (en) | Information processing apparatus, program, and storage medium | |
JP2010137449A (en) | Printing control device | |
JP4779455B2 (en) | Printer, printer system, and printer control method | |
JP2004050701A (en) | Printer system | |
JP7251252B2 (en) | Program and information processing device | |
JP2009163634A (en) | Printer, printing system, print management method, print management program, and recording medium | |
JP4437705B2 (en) | Postscript writing system, program, and recording medium | |
JP4636836B2 (en) | Server apparatus, printing apparatus, data protection processing method, and program | |
JP2022072647A (en) | Print controller, printer, printing system, and program | |
JP3330855B2 (en) | Printer system, printer operation control method, and recording medium | |
JP2006301738A (en) | Image registration apparatus, and image registration deleting method and program | |
JP4894967B2 (en) | Printer system | |
JP4586839B2 (en) | Image processing apparatus, printing system, and program | |
KR100313869B1 (en) | Apparatus for generating printing data efficiently and method thereof | |
JP3576669B2 (en) | Recording device and data control method | |
JP2000001028A (en) | Print system and method for removing obstacle of the same | |
JP2004062573A (en) | 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: 20070404 |
|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080805 |