JP2001216109A - Printing system - Google Patents

Printing system

Info

Publication number
JP2001216109A
JP2001216109A JP2000366697A JP2000366697A JP2001216109A JP 2001216109 A JP2001216109 A JP 2001216109A JP 2000366697 A JP2000366697 A JP 2000366697A JP 2000366697 A JP2000366697 A JP 2000366697A JP 2001216109 A JP2001216109 A JP 2001216109A
Authority
JP
Japan
Prior art keywords
output
printing
information
print
data
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.)
Granted
Application number
JP2000366697A
Other languages
Japanese (ja)
Other versions
JP3399461B2 (en
Inventor
Masaki Tsutsumi
勝紀 筒見
Takayasu Watanabe
隆保 渡辺
Koji Tamura
恒治 田村
Yukihiro Shinto
幸博 新堂
Eiji Hatano
英二 波多野
Tadayoshi Amari
忠義 天利
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2000366697A priority Critical patent/JP3399461B2/en
Publication of JP2001216109A publication Critical patent/JP2001216109A/en
Application granted granted Critical
Publication of JP3399461B2 publication Critical patent/JP3399461B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a printing system capable of treating a document prepared by a general application on a network. SOLUTION: A virtual driver 14 is newly prepared. The formats of a job description file 18 and an EMP file 19 allowed to coincide with the format of the Windows standard by spooling both the files 18, 19 by a GDI 2 and spooling an output control file 17 by the virtual driver 14 and document distribution processing, dispersed printing processing, automatic distributed destination detection processing, notification processing for a printer error and printing completion, etc., are applied to all applications to be driven on the Windows including general package software, without changing an application interface of Windows at all.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は印刷システムに関
し、特に、ネットワーク接続された複数のコンピュータ
装置における出力制御を行う印刷システムに適用して好
適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing system and, more particularly, to a printing system suitable for a printing system for controlling output of a plurality of computer devices connected to a network.

【0002】[0002]

【従来の技術】近年、オフィス業務や基幹業務向けコン
ピュータのオペレーティングシステムとして、マイクロ
ソフト社のWindowsの普及が目覚ましい。
2. Description of the Related Art In recent years, Microsoft's Windows has been remarkably popular as an operating system for computers for office work and core business.

【0003】図26は、オペレーティングシステムとし
て、Windowsを用いた場合の従来の印刷方法を説
明するブロック図である。図26において、ユーザが、
アプリケーション201にプリンタドライバ203に対
しての印刷を指定した場合、アプリケーション201
は、GDI(グラフィカルデバイスインターフェース関
数)202に対して印刷命令を実行する。GDI202
は、アプリケーション201からの印刷命令が実行され
ると、プリンタドライバ203から必要な情報を獲得
し、スプールファイル(EMFファイルとジョブ記述フ
ァイル)204を作成する。Windowsのスプール
システム205は、指定のポートが印刷可能状態である
ことを確認すると、デスプール処理を開始する。このデ
スプール処理により、ポートスレッド206を通じてプ
リントプロセッサ207に印刷制御が渡る。そして、ロ
ーカルプリントプロバイダ208を通じてポートモニタ
209に印刷データが渡り、パラレルポートドライバ2
10を通じて印刷装置211に印刷データが出力され
る。
FIG. 26 is a block diagram illustrating a conventional printing method when Windows is used as an operating system. In FIG. 26, the user
When printing to the printer driver 203 is designated to the application 201, the application 201
Executes a print command to a GDI (graphical device interface function) 202. GDI 202
When a print command from the application 201 is executed, the printer acquires necessary information from the printer driver 203 and creates a spool file (EMF file and job description file) 204. When the Windows spool system 205 confirms that the designated port is in a printable state, the spool system 205 starts the despooling process. By this despooling process, print control is transferred to the print processor 207 via the port thread 206. Then, the print data is transferred to the port monitor 209 via the local print provider 208, and the parallel port driver 2
The print data is output to the printing device 211 through 10.

【0004】ここで、オペレーティングシステムとし
て、Windowsを用いた場合、Windowsはパ
ーソナル指向のオペレーティングシステムであることか
ら、基幹業務における大量印刷には不向きな点がある。
例えば、1回の印刷アクションで、同時に複数のプリン
タに印刷することができない。このため、資料の配布等
を行うとき、繰り返し印刷起動をかけ、印刷物を手作業
で仕分けし、さらに郵便等で配布する手間がかかる。ま
た、昨今のメイルの普及により、ワードプロセッサなど
により作成された少量かつ固定的ドキュメントは、メイ
ルで代替えすることができるが、アプリケーション稼働
による集計データ等の管理帳票の印刷や大量のドキュメ
ントの印刷などは、メイルでは代替不可能である。さら
に、大量の印刷を行う時、複数のプリンタに分散して印
刷することができず、開始頁と終了頁と出力先プリンタ
とを繰り返し指定する必要がある。
Here, when Windows is used as the operating system, since Windows is a personal-oriented operating system, there is a point that it is not suitable for mass printing in the core business.
For example, it is not possible to print to a plurality of printers at the same time by one printing action. For this reason, when distributing materials and the like, it takes time to repeatedly start printing, sort printed materials manually, and distribute the materials by mail or the like. In addition, with the spread of mail in recent years, small and fixed documents created by word processors etc. can be replaced with mail, but printing of management forms such as total data and printing of large numbers of documents by application operation etc. , Mail cannot be replaced. Further, when performing large-volume printing, printing cannot be performed in a distributed manner to a plurality of printers, and it is necessary to repeatedly specify a start page, an end page, and an output destination printer.

【0005】これらの問題を解決するため、従来では、
基幹業務帳票印刷用の専用のAPI(アプリケーション
・インタフェース関数)を用意し、そのAPIを用い
て、Windowsなどのオペレーティングシステムの
有する印刷制御の不備を補う方法があった。
In order to solve these problems, conventionally,
There has been a method in which a dedicated API (application interface function) for printing a core business form is prepared, and the API is used to compensate for the deficiency of the print control of an operating system such as Windows.

【0006】図27は、従来の分散印刷方法を説明する
ブロック図である。図27において、アプリケーション
221は、専用の印刷制御関数として、API223を
呼び出す。ここで、API223には、プリンタ名称、
開始頁及び終了頁の組を複数受け取ることができるイン
ターフェースが設られ、API223にこのインターフ
ェースを設けることにより、分散印刷を可能としてい
る。API223が、パラメータ222として、プリン
タ名称、開始頁及び終了頁の組を複数受け取るととも
に、描画データをアプリケーション221から受け取る
と、受け取ったパラメータ222と描画データとを、オ
ペレーティングシステム224及びファイルドライバ2
25を経由してスプールファイル226に格納する。
FIG. 27 is a block diagram illustrating a conventional distributed printing method. In FIG. 27, an application 221 calls an API 223 as a dedicated print control function. Here, the API 223 includes a printer name,
An interface capable of receiving a plurality of sets of a start page and an end page is provided. By providing this interface in the API 223, distributed printing is enabled. When the API 223 receives a plurality of pairs of a printer name, a start page, and an end page as parameters 222 and receives drawing data from the application 221, the API 223 transmits the received parameters 222 and drawing data to the operating system 224 and the file driver 2.
25 and stored in the spool file 226.

【0007】一方、スプールライタ227は、ある決め
られたディレクトリ(スプールディレクトリ)をポーリ
ングしており、完成したスプールファイル226を検知
すると、スプールファイル226の読み出しを開始す
る。そして、スプールファイル226内に格納されたパ
ラメータ222を取り出すとともに、各ページの描画デ
ータをスプールファイル226から順次読み出す。その
後、GDI228が呼び出され、パラメータ222の情
報に従って、描画データがプリンタドライバ229を介
して指定のプリンタ230へ送られる。この結果、指定
の頁の印刷を指定のプリンタ230で行うことが可能と
なり、プリンタ名称、開始頁及び終了頁の組を複数指定
しておくことにより、複数のプリンタを用いた分散印刷
が可能となる。
On the other hand, the spool writer 227 is polling a predetermined directory (spool directory), and when the completed spool file 226 is detected, reading of the spool file 226 is started. Then, the parameters 222 stored in the spool file 226 are extracted, and the drawing data of each page is sequentially read from the spool file 226. After that, the GDI 228 is called, and the drawing data is sent to the designated printer 230 via the printer driver 229 according to the information of the parameter 222. As a result, the designated page can be printed by the designated printer 230, and by specifying a plurality of sets of the printer name, start page, and end page, distributed printing using a plurality of printers can be performed. Become.

【0008】なお、GDI228は、オペレーティング
システム224と密接に結びついたグラフィカルデバイ
ス描画用の関数群である。
[0008] The GDI 228 is a group of functions for drawing graphical devices that are closely associated with the operating system 224.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、従来の
API223を提供する手法では、API223を呼び
出すことが可能な専用のアプリケーション221だけに
しか、適用することができなかった。このため、ワード
プロセッサなどの汎用パッケージアプリケーションに
は、API223を呼び出す機能がないため、ワードプ
ロセッサなどの汎用パッケージアプリケーションには適
用することができないという問題があった。また、提供
されたAPI223を用いて印刷用のアプリケーション
221を構築しなければならないという問題もあった。
However, the conventional method of providing the API 223 can be applied only to the dedicated application 221 that can call the API 223. For this reason, there is a problem that a general-purpose package application such as a word processor cannot be applied to a general-purpose package application such as a word processor because it does not have a function of calling the API 223. There is also a problem that the printing application 221 must be constructed using the provided API 223.

【0010】さらに、従来の印刷方法では、オペレーテ
ィングシステム224の印刷制御の不備からくる問題点
があり、API23を提供する方法では、これらの問題
点を解決することができなかった。例えば、プリンタが
接続されたコンピュータ上の画面には、印刷が完了した
ことやエラーが発生したことを知らせる通知があるが、
通信ネットワークを介して印刷実行を指示したクライア
ントマシンでは、これらのことが判らない。また、プリ
ンタエラーで停止中のジョブに対し、頁を指定し直した
再印刷や出力プリンタを変更した再印刷ができない。さ
らに、WAN(広域ネットワーク)で接続されたコンピ
ュータ上のプリンタを直接指定して印刷することができ
ない。
[0010] Further, the conventional printing method has problems caused by inadequate printing control of the operating system 224, and the method of providing the API 23 cannot solve these problems. For example, on the screen of the computer to which the printer is connected, there is a notification that the printing is completed or an error has occurred,
These facts cannot be understood by the client machine that has instructed the execution of printing via the communication network. Further, for a job stopped due to a printer error, reprinting by redesignating a page or reprinting by changing an output printer cannot be performed. Further, it is not possible to directly designate and print a printer on a computer connected by a WAN (Wide Area Network).

【0011】また、オペレーティングシステム224の
出力装置・アプリケーションへの依存性に関する問題点
として、以下のものがあった。まず、プリンタ機種やプ
リンタメーカを特定して印刷機能が提供されており、ネ
ットワーク環境の多様なプリンタを有効に使うために
は、多大な手間がかかった。このため、特定出力装置
(プリンタなど)のスペックに基づきアプリケーション
により作成したドキュメントは、出力装置の物理仕様に
依存したものとなり、可搬性がなかった。この結果、物
理仕様の異なる出力装置に出力すると、期待する結果を
得られない場合があった。
Further, there are the following problems regarding the dependency of the operating system 224 on output devices and applications. First, a printing function is provided by specifying a printer model and a printer maker, and it takes a lot of trouble to effectively use various printers in a network environment. Therefore, a document created by an application based on the specifications of a specific output device (such as a printer) depends on the physical specifications of the output device, and is not portable. As a result, when output is performed to an output device having different physical specifications, an expected result may not be obtained.

【0012】次に、システム上の全アプリケーションで
出力したドキュメントを対象とした場合、アプリケーシ
ョンで出力後は、何もすることができなかった。例え
ば、出力先の追加・変更、頁単位での操作、出力順の操
作など様々なサービスが不可能であった。
Next, when documents output by all applications on the system are targeted, nothing can be done after output by the applications. For example, various services such as addition / change of an output destination, operation in page units, and operation in output order have been impossible.

【0013】また、オペレーティングシステム224の
配布印刷方式に関する問題点として、以下のものがあっ
た。まず、印刷出力(ドキュメント)を配布する場合、
配布先のプリンタを直接指示するものであり、システム
環境(配布先に対するプリンタ名称)を常に意識する必
要があった。また、配布対象となるプリンタの名称を全
て指定したり、ドキュメント毎に配布先を指定したりす
るすることは、ユーザにとって負担になっていた。
Further, there are the following problems concerning the distribution printing method of the operating system 224. First, when distributing printouts (documents),
Since the printer of the distribution destination is directly instructed, it is necessary to always be aware of the system environment (printer name for the distribution destination). Further, it is burdensome for the user to specify all the names of the printers to be distributed or to specify the distribution destination for each document.

【0014】そこで、本発明の目的は、アプリケーショ
ンプログラムやデバイスドライバプログラム等の従来か
ら利用しているプログラムをなるべく修正すること無
く、汎用アプリケーションで作成した文書のネットワー
ク上での配布印刷を容易に行うことが可能な印刷システ
ムを提供することである。
An object of the present invention is to facilitate distribution printing of a document created by a general-purpose application on a network without modifying a conventionally used program such as an application program or a device driver program as much as possible. It is to provide a printing system capable of.

【0015】[0015]

【課題を解決するための手段】請求項1の発明の手段は
次の通りである。アプリケーションプログラムによって
印刷を依頼されたデータを、定められた共通データ形式
の描画データとしてスプールファイルに保存する描画デ
ータ保存手段と、前記描画データの出力制御機能に関す
る印刷条件を設定する印刷条件設定手段と、前記印刷条
件設定手段によって設定された印刷条件をスプールファ
イルに保存する印刷条件保存手段と、前記スプールファ
イルに保存された印刷条件を読み込み、その印刷条件に
応じて前記描画データの出力先を決定する出力先決定手
段と、前記スプールファイルに保存された共通データ形
式の描画データを読み込み、その共通データ形式の描画
データを前記出力先決定手段によって決定された出力先
の出力装置で処理可能な固有データ形式の出力データに
変換し、その変換された固有データ形式の出力データを
前記出力装置に出力する出力制御手段と、を備えたこと
を特徴としている。
Means of the present invention are as follows. A drawing data storage unit for storing data requested to be printed by the application program in a spool file as drawing data in a predetermined common data format, and a printing condition setting unit for setting printing conditions relating to the output control function of the drawing data. A print condition storage unit for storing the print conditions set by the print condition setting unit in a spool file, reading the print conditions stored in the spool file, and determining an output destination of the drawing data according to the print conditions Output destination determining means for reading the drawing data in the common data format stored in the spool file, and processing the drawing data in the common data format by the output device of the output destination determined by the output destination determining means. Convert to output data in data format, and the converted unique data It is characterized by comprising an output control means for outputting the output data of an expression to the output device.

【0016】[0016]

【発明の実施の形態】以下、本発明の一実施例に係わる
印刷システムについて図面を参照しながら説明する。な
お、以下の実施例では、Windowsによるオペレー
ティングシステム下における出力装置運用支援(以下C
APCALと称する)制御方式について説明する。ま
た、このCAPCAL制御方式では、システム上の全て
のアプリケーションの出力ドキュメントを処理対象とす
ることがひできる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A printing system according to an embodiment of the present invention will be described below with reference to the drawings. In the following embodiment, output device operation support under the operating system by Windows (hereinafter C
The control method will be described. In the CAPCAL control method, output documents of all applications on the system can be processed.

【0017】図1は、本発明の一実施例に係わる印刷シ
ステムの構成を示すブロック図である。図1において、
クライアント300とサーバ301とが通信ネットワー
ク302、303を介して接続され、サーバ301はプ
リンタ9と接続されている。ここで、通信ネットワーク
302は、例えば、LAN(ローカルエリアネットワー
ク)、通信ネットワーク303は、例えば、LAN、W
AN(ワイドエリアネットワーク)、インターネットで
ある。クライアント300には、アプリケーション1、
GDI2、Windows印刷制御部3及びクライアン
ト制御部4が設けられ、サーバ301には、Windo
ws印刷制御部5、サーバ制御部6、GDI7及びプリ
ンタ出力制御部8が設けられている。そして、Wind
owsによる印刷処理を行う場合、Windows印刷
制御部3、5による処理が行われ、CAPCAL制御を
行う場合、クライアント制御部4、サーバ制御部6及び
プリンタ出力制御部8による処理が行われる。なお、C
APCAL制御を選択する場合、CAPCAL制御用に
設けられたCAPCALドライバをアプリケーション1
で指定してGDI2を呼び出す。
FIG. 1 is a block diagram showing the configuration of a printing system according to one embodiment of the present invention. In FIG.
The client 300 and the server 301 are connected via communication networks 302 and 303, and the server 301 is connected to the printer 9. Here, the communication network 302 is, for example, a LAN (local area network), and the communication network 303 is, for example, a LAN, W
AN (Wide Area Network) and the Internet. The client 300 includes an application 1,
The GDI 2, the Windows print control unit 3 and the client control unit 4 are provided.
A ws print control unit 5, a server control unit 6, a GDI 7, and a printer output control unit 8 are provided. And Wind
When the printing process by ows is performed, the processes by the Windows print control units 3 and 5 are performed. When the CAPCAL control is performed, the processes by the client control unit 4, the server control unit 6, and the printer output control unit 8 are performed. Note that C
When the APCAL control is selected, the CAPCAL driver provided for the CAPCAL control is applied to the application 1
And call GDI2.

【0018】図2は、図1のクライアント制御部4の構
成を説明するブロック図である。図2において、クライ
アント制御部4には、CAPCALドライバ14、CA
PCALドライバプロパティ制御スレッド15、出力制
御ファイル17、ジョブ記述ファイル18、EMFファ
イル19、24、CAPCALクライアント定義ファイ
ル20、CAPCALプリントプロセッサ21、CAP
CALジョブ記述ファイル23、CAPCAL転送先定
義ファイル25、CAPCALクライアントメインプロ
セス26及びCAPCALジョブ転送スレッド27が設
けられている。また、Windows印刷制御部3に
は、スプーラプロセス11、ローカルプリントプロバイ
ダ12及びプリントプロセッサ13が設けられている。
ここで、クライアント制御部4は、Windowsによ
るオペレーティングシステム上で稼働するアプリケーシ
ョン1が描画した印刷データをCAPCALの処理環境
に取り込み、サーバ301へ転送するまでの処理を制御
する。
FIG. 2 is a block diagram illustrating the configuration of the client control unit 4 of FIG. In FIG. 2, a CAPCAL driver 14 and a CA
PCAL driver property control thread 15, output control file 17, job description file 18, EMF files 19 and 24, CAPCAL client definition file 20, CAPCAL print processor 21, CAP
A CAL job description file 23, a CAPCAL transfer destination definition file 25, a CAPCAL client main process 26, and a CAPCAL job transfer thread 27 are provided. The Windows print control unit 3 includes a spooler process 11, a local print provider 12, and a print processor 13.
Here, the client control unit 4 takes in print data drawn by the application 1 running on the operating system in Windows into a CAPCAL processing environment, and controls processing until it is transferred to the server 301.

【0019】アプリケーション1が描画した印刷データ
をCAPCAL環境で処理する場合、アプリケーション
1は、仮想ドライバとしてのCAPCALドライバ14
を指定し、GDI2を呼び出す。GDI2は、CAPC
ALドライバ14から描画機能を取得し、アプリケーシ
ョン1の要求した描画プリミティブをCAPCALドラ
イバ14が有する描画機能に変換して、システムスプー
ルキュー16にスプールする。このシステムスプールキ
ュー16には、印刷要求したユーザ名や、アプリケーシ
ョン名などを格納したジョブ記述ファイル18と、描画
情報をフォーマット化して格納したEMFファイル19
が作成される。EMFとは、Enhanced Met
a−Fileの略で、Windowsにおける描画デー
タの論理的な格納形式である。なお、ジョブ記述ファイ
ル18及びEMFファイル19の形式は、Window
s標準の形式と完全に同一である。このため、ジョブ記
述ファイル18及びEMFファイル19は、Windo
wsに備わっているデフォルト機能により生成させるこ
とができる。
When processing print data drawn by the application 1 in the CAPCAL environment, the application 1 executes the CAPCAL driver 14 as a virtual driver.
Is specified, and GDI2 is called. GDI2 is CAPC
The drawing function is acquired from the AL driver 14, the drawing primitive requested by the application 1 is converted into the drawing function of the CAPCAL driver 14, and spooled in the system spool queue 16. The system spool queue 16 includes a job description file 18 storing the name of a user who has requested printing and an application name, and an EMF file 19 storing formatted drawing information.
Is created. EMF stands for Enhanced Met
An abbreviation for a-File, which is a logical storage format of drawing data in Windows. Note that the formats of the job description file 18 and the EMF file 19 are Windows
It is completely identical to the standard format. For this reason, the job description file 18 and the EMF file 19
ws can be generated by a default function.

【0020】また、CAPCALドライバ14は、CA
PCAL特有の出力制御情報を出力制御ファイル17と
して、システムスプールキュー16に書き込む。なお、
この出力制御情報は、CAPCALドライバ14側から
ダイアログ画面を開き、配布や分散などの印刷条件をオ
ペレータに指定させることにより、設定することができ
る。ここで、オペレータにより入力された出力制御情報
を文書ごとに記憶し、次回にその文書が印刷される時
は、前回入力されたその文書の出力制御情報をデフォル
トとして使用するようにしても良い。
Further, the CAPCAL driver 14 has a CA
The PCAL-specific output control information is written to the system spool queue 16 as an output control file 17. In addition,
This output control information can be set by opening a dialog screen from the CAPCAL driver 14 side and allowing the operator to specify print conditions such as distribution and distribution. Here, the output control information input by the operator may be stored for each document, and the next time the document is printed, the output control information of the document input previously may be used as a default.

【0021】アプリケーション1の全描画データのスプ
ールが完了すると、CAPCALプリントプロセッサ2
1が呼び出される。このCAPCALプリントプロセッ
サ21の呼び出しは、アプリケーション1でCAPCA
Lドライバ14を指定することにより行われる。なお、
アプリケーション1で他のドライバが指定された場合
は、Windowsに備わっているプリントプロセッサ
13が呼び出される。
When spooling of all drawing data of the application 1 is completed, the CAPCAL print processor 2
1 is called. The call of the CAPCAL print processor 21 is performed by the application 1 using the CAPCA
This is performed by designating the L driver 14. In addition,
When another driver is designated by the application 1, the print processor 13 provided in Windows is called.

【0022】CAPCALプリントプロセッサ21は、
システムスプールキュー16からジョブ記述ファイル1
8と出力制御ファイル17の内容を取り込み、CAPC
ALスプールキュー22にCAPCALジョブ記述ファ
イル23として書き込む。ここで、CAPCALクライ
アント定義ファイル20には、出力制御情報のデフォル
ト値が定義されており、出力制御ファイル17に出力制
御情報が格納されていない場合は、CAPCALクライ
アント定義ファイル20から出力制御情報を取り込む。
The CAPCAL print processor 21 includes:
Job description file 1 from system spool queue 16
8 and the contents of the output control file 17
Write to the AL spool queue 22 as a CAPCAL job description file 23. Here, the default value of the output control information is defined in the CAPCAL client definition file 20. If the output control information is not stored in the output control file 17, the output control information is fetched from the CAPCAL client definition file 20. .

【0023】また、CAPCALプリントプロセッサ2
1は、システムスプールキュー16のEMFファイル1
9を、そのままCAPCALスプールキュー22のEM
Fファイル24に書き込む。CAPCALジョブ記述フ
ァイル23及びEMFファイル24が、CAPCALス
プールキュー22へ書き込まれると、CAPCALプリ
ントプロセッサ21は、このことをCAPCALジョブ
転送スレッド27に通知する。
The CAPCAL print processor 2
1 is the EMF file 1 in the system spool queue 16
9 as the EM of the CAPCAL spool queue 22
Write to F file 24. When the CAPCAL job description file 23 and the EMF file 24 are written to the CAPCAL spool queue 22, the CAPCAL print processor 21 notifies this to the CAPCAL job transfer thread 27.

【0024】CAPCALジョブ転送スレッド27は、
予め定義された転送手段に基づいて、CAPCALジョ
ブ記述ファイル23及びEMFファイル24をサーバ3
01に転送する。なお、転送手段及び転送先のサーバ名
は、CAPCAL転送先定義ファイル25に格納されて
おり、CAPCALジョブ転送スレッド27は、CAP
CAL転送先定義ファイル25の内容に従って、転送手
段及び転送先のサーバを決定する。なお、転送手段とし
て、ファイル転送プロトコル(ftp)を用いた通信ネ
ットワーク28やメイルの添付ファイルを用いた通信ネ
ットワーク29が使用可能である。また、これら以外の
転送手段を用いても良い。
The CAPCAL job transfer thread 27
The CAPCAL job description file 23 and the EMF file 24 are stored in the server 3 based on a predefined transfer means.
Transfer to 01. Note that the transfer means and the server name of the transfer destination are stored in the CAPCAL transfer destination definition file 25, and the CAPCAL job transfer thread 27
In accordance with the contents of the CAL transfer destination definition file 25, the transfer means and the transfer destination server are determined. As the transfer means, a communication network 28 using a file transfer protocol (ftp) or a communication network 29 using an attached file of mail can be used. Further, other transfer means may be used.

【0025】このように、仮想ドライバとしてのCAP
CALドライバ14をクライアント制御部4に設ける。
そして、ジョブ記述ファイル18及びEMFファイル1
9を、システムスプールキュー16にGDI2によりス
プールさせるとともに、出力制御ファイル17をCAP
CALドライバ14が独自にシステムスプールキュー1
6にスプールする。このことにより、ジョブ記述ファイ
ル18及びEMFファイル19の形式を、Window
s標準の形式と一致させることが可能となり、Wind
owsのアプリケーションインタフェースを一切変更せ
ずに、汎用パッケージソフトを含むWindows上で
動作する全てのアプリケーションについて、ドキュメン
ト配布処理、分散印刷処理、配布先自動検出処理、プリ
ンタエラー及び印刷完了の通知処理等を実現することが
可能となる。この結果、ドキュメント配布処理、分散印
刷処理、配布先自動検出処理、プリンタエラー及び印刷
完了の通知処理等を実現するために、印刷用のアプリケ
ーションを新たに構築する必要がなくなる。
As described above, the CAP as a virtual driver
The CAL driver 14 is provided in the client control unit 4.
Then, the job description file 18 and the EMF file 1
9 is spooled to the system spool queue 16 by GDI2, and the output control file 17 is
The CAL driver 14 independently executes the system spool queue 1
Spool to 6. As a result, the formats of the job description file 18 and the EMF file 19 are changed to Windows.
It is possible to match with the standard format.
Document distribution processing, distributed printing processing, distribution destination automatic detection processing, printer error and print completion notification processing, etc. for all applications running on Windows, including general-purpose package software, without changing any application interface of Windows It can be realized. As a result, it is not necessary to newly construct a print application in order to realize document distribution processing, distributed printing processing, distribution destination automatic detection processing, printer error and print completion notification processing, and the like.

【0026】図3は、図1のサーバ制御部の構成を説明
するブロック図である。図3において、サーバ制御部6
には、メイル用のCAPCAL受信スレッド30、ft
p用のCAPCAL受信スレッド31、CAPCALサ
ーバメインプロセス32、CAPCALジョブ記述ファ
イル34、39、EMFファイル35、40、CAPC
ALサーバ側定義ファイル36、配布分散処理スレッド
37、プリンタ別出力スレッド41、42及びCAPC
ALジョブ転送スレッド43が設けられている。
FIG. 3 is a block diagram illustrating the configuration of the server control unit in FIG. In FIG. 3, the server control unit 6
CAPCAL receiving thread 30 for mail, ft
CAPCAL receiving thread 31, CAPCAL server main process 32, CAPCAL job description files 34, 39, EMF files 35, 40, CAPC
AL server side definition file 36, distribution distributed processing thread 37, output threads 41 and 42 for each printer, and CAPC
An AL job transfer thread 43 is provided.

【0027】CAPCALサーバメインプロセス32に
よりCAPCAL受信スレッド30、31が起動される
と、CAPCAL受信スレッド30、31は、CAPC
ALジョブ記述ファイル23及びEMFファイル24を
CAPCALジョブ転送スレッド27から受信する。そ
して、受信したCAPCALジョブ記述ファイル23及
びEMFファイル24の内容を、CAPCALスプール
ドキュメントキュー33のCAPCALジョブ記述ファ
イル34及びEMFファイル35に書き込む。ここで、
CAPCAL受信スレッド30、31は、ファイル名
(ジョブID)が重複しないように管理を行う。CAP
CALスプールドキュメントキュー33への書き込みが
完了したら、CAPCALサーバメインプロセス32は
配布分散処理スレッド37を起動し、CAPCALスプ
ールドキュメントキュー33への書き込み完了を、配布
分散処理スレッド37に通知する。
When the CAPCAL receiving threads 30 and 31 are started by the CAPCAL server main process 32, the CAPCAL receiving threads 30 and 31
The AL job description file 23 and the EMF file 24 are received from the CAPCAL job transfer thread 27. Then, the contents of the received CAPCAL job description file 23 and EMF file 24 are written to the CAPCAL job description file 34 and the EMF file 35 of the CAPCAL spool document queue 33. here,
The CAPCAL receiving threads 30 and 31 manage so that file names (job IDs) do not overlap. CAP
When the writing to the CAL spool document queue 33 is completed, the CAPCAL server main process 32 activates the distribution distributed processing thread 37 and notifies the distribution distributed processing thread 37 of the completion of the writing to the CAPCAL spool document queue 33.

【0028】配布分散処理スレッド37は、CAPCA
Lジョブ記述ファイル34から出力制御情報を取り込
む。また、CAPCALサーバ側定義ファイル36の内
容を予め読み込んでおく。そして、配布分散処理スレッ
ド37は、出力制御情報及びサーバ側定義ファイルの内
容から、出力プリンタ及び出力する開始頁、終了頁を決
定し、プリンタ9ごとに設けられたCAPCALスプー
ルプリントキュー38に印刷要求を投入する。CAPC
ALサーバ側定義ファイル36には、配布先名とプリン
タ名(またはサーバ名)との対応関係が格納されてお
り、配布先が論理名で特定されている場合においても、
CAPCALサーバ側定義ファイル36を参照すること
により、出力プリンタを決定することができる。CAP
CALスプールプリントキュー38へのスプールが完了
したら、印刷要求があったプリンタ9を専門に受け持つ
プリンタ別出力スレッド41に通知する。
The distribution distributed processing thread 37 is a CAPCA
The output control information is fetched from the L job description file 34. Further, the contents of the CAPCAL server side definition file 36 are read in advance. The distribution distributed processing thread 37 determines an output printer and a start page and an end page to be output from the output control information and the contents of the server-side definition file, and sends a print request to a CAPCAL spool print queue 38 provided for each printer 9. Input. CAPC
The AL server side definition file 36 stores the correspondence between the distribution destination name and the printer name (or server name), and even if the distribution destination is specified by a logical name,
By referring to the CAPCAL server definition file 36, the output printer can be determined. CAP
When the spooling to the CAL spool print queue 38 is completed, a notification is sent to the printer-specific output thread 41 that is dedicated to the printer 9 that has issued the print request.

【0029】プリンタ別出力スレッド41は、CAPC
ALスプールプリントキュー38からEMFファイル4
0を取り出し、GDI7を呼び出すことにより、Win
dows印刷制御5に描画データを送る。なお、出力制
御情報及びCAPCALサーバ側定義ファイル36の内
容により、出力プリンタとして、サーバ301が管理し
ているプリンタ9以外のプリンタが指定されている場
合、配布分散処理スレッド37は、CAPCALジョブ
転送スレッド43から通信ネットワーク44を介し、指
定されているプリンタを管理しているサーバに印刷要求
を送る。
The output thread 41 for each printer is a CAPC.
EMF file 4 from AL spool print queue 38
0, and by calling GDI7, Win
The drawing data is sent to the dows print control 5. If a printer other than the printer 9 managed by the server 301 is designated as an output printer by the output control information and the contents of the CAPCAL server-side definition file 36, the CAPCAL job transfer thread A print request is sent from 43 to a server managing the designated printer via the communication network 44.

【0030】このように、CAPCALサーバ側定義フ
ァイル36に、配布先名とプリンタ名(またはサーバ
名)との対応関係を格納しておくことにより、配布先が
論理名で特定されている場合においても、出力プリンタ
を決定することが可能となり、ユーザは、出力プリンタ
名を意識することなく、配布印刷を行うことが可能とな
る。
As described above, the correspondence between the distribution destination name and the printer name (or server name) is stored in the CAPCAL server-side definition file 36, so that when the distribution destination is specified by a logical name. Also, the output printer can be determined, and the user can perform the distribution printing without being aware of the output printer name.

【0031】また、プリンタ別出力スレッド41、42
を各プリンタごとに設け、プリンタ別出力スレッド4
1、42がエミュレーションを行うことにより、プリン
タの仕様が異なる場合においても、適切な出力結果を得
ることが可能となり、プリンタ機種やプリンタメーカー
を意識することなく、ネットワーク上の様々のプリンタ
を利用して印刷を行うことが可能となる。
The output threads 41 and 42 for each printer are also provided.
Is provided for each printer and the output thread 4 for each printer is provided.
The emulation of the printers 1 and 42 makes it possible to obtain an appropriate output result even when the specifications of the printers are different, so that various printers on the network can be used without being aware of the printer model and the printer manufacturer. Printing can be performed.

【0032】図4は、図1のプリンタ出力制御部の構成
を説明するブロック図である。図4において、プリンタ
出力制御部8には、セントロポートモニタ48及びプリ
ンタ出力管理部50が設けられ、サーバ制御部6には、
CAPCALサーバメインプロセス32、EMFファイ
ル40及びプリンタ別出力スレッド41が設けられ、W
indows印刷制御部5には、Rawスプールファイ
ル46、プリントプロセッサ47及びスプーラプロセス
メイン49が設けられ、クライアント300には、CA
PCALクライアントメインプロセス26が設けられて
いる。
FIG. 4 is a block diagram illustrating the configuration of the printer output control unit of FIG. 4, the printer output control unit 8 is provided with a centro port monitor 48 and a printer output management unit 50, and the server control unit 6 includes
A CAPCAL server main process 32, an EMF file 40, and an output thread 41 for each printer are provided.
The Windows print controller 5 is provided with a Raw spool file 46, a print processor 47, and a spooler process main 49.
A PCAL client main process 26 is provided.

【0033】プリンタ別出力スレッド41は、CAPC
ALスプールプリントキュー38からEMFファイル4
0を取り出し、GDI7を呼び出すことにより、Win
dows印刷制御部5に描画データを送る。GDI7
は、印刷指定されたプリンタ9用のプリンタドライバ4
5と交信し、印刷指定されたプリンタ9専用のコマンド
(ESCシーケンス)にEMFファイル40を変換す
る。変換されたESCシーケンスは、Windowsの
システムスプールキューに格納される。これをRawス
プールファイル46と言う。Rawスプールファイル4
6は、純粋なプリンタコマンド(ESCシーケンス)だ
けで構成される。Rawスプールファイル46は、Wi
ndowsのスプーラプロセスメイン49によりプリン
トプロセッサ47で読み込まれ、1頁分の描画データ単
位で、セントロポートモニタ48に送られる。
The output thread 41 for each printer is a CAPC.
EMF file 4 from AL spool print queue 38
0, and by calling GDI7, Win
The drawing data is sent to the dows print control unit 5. GDI7
Is the printer driver 4 for the printer 9 designated for printing.
5 and converts the EMF file 40 into a command (ESC sequence) dedicated to the printer 9 designated for printing. The converted ESC sequence is stored in the Windows system spool queue. This is called a Raw spool file 46. Raw spool file 4
6 is composed of only pure printer commands (ESC sequence). The Raw spool file 46 is Wi
The print data is read by the print processor 47 by the spooler process main 49 of nwindows and sent to the centro port monitor 48 in units of one page of drawing data.

【0034】プリンタ9とサーバ302とのインタフェ
ースがLANの場合、LANポートモニタに送られ、そ
の他のインタフェースの場合、そのインタフェース用の
ポートモニタが送られる。なお、ここまでの処理は、W
indows印刷制御部5によるデータ処理と同一であ
る。
If the interface between the printer 9 and the server 302 is a LAN, it is sent to a LAN port monitor, and if it is another interface, a port monitor for that interface is sent. Note that the processing up to this point is
This is the same as the data processing by the Windows print control unit 5.

【0035】セントロポートモニタ48は、スプーラプ
ロセスメイン49経由で受け取ったプリンタ9のコマン
ドデータを、セントロポートに出力する。ここで、プリ
ンタ9にエラーが発生し、コマンドデータを出力できな
かった場合、セントロポートモニタ48は、プリンタ出
力管理部50に、プリンタ名称、エラーコード及び元の
ドキュメントを識別するジョブIDを通知する。また、
セントロポートモニタ51も、そのセントロポートモニ
タ51に接続されているプリンタにエラーが発生した場
合、プリンタ出力管理部50に、プリンタ名称、エラー
コード及び元のドキュメントを識別するジョブIDを通
知する。ここで、ジョブIDは、Windows印刷制
御の仕組みに存在するプリントジョブを特定するIDで
あり、ジョブIDをプリンタ出力管理部50に通知する
ことにより、プリンタ出力管理部50は、元のドキュメ
ント名称、印刷要求したクライアントホスト名称及びユ
ーザ名称を取得することができる。
The centro port monitor 48 outputs command data of the printer 9 received via the spooler process main 49 to the centro port. Here, if an error occurs in the printer 9 and command data cannot be output, the centroport monitor 48 notifies the printer output management unit 50 of the printer name, the error code, and the job ID for identifying the original document. . Also,
When an error occurs in the printer connected to the centroport monitor 51, the centroport monitor 51 also notifies the printer output management section 50 of the printer name, the error code, and the job ID for identifying the original document. Here, the job ID is an ID for specifying a print job existing in the Windows print control mechanism. By notifying the job ID to the printer output management unit 50, the printer output management unit 50 It is possible to acquire the client host name and the user name of the print request.

【0036】プリンタ出力管理部50は、プリンタ名
称、エラーコード及びジョブIDをセントロポートモニ
タ48から受け取ると、CAPCALサーバメインプロ
セス32に、これらの情報を通知する。
When the printer output management unit 50 receives the printer name, the error code, and the job ID from the centro port monitor 48, it notifies the CAPCAL server main process 32 of the information.

【0037】CAPCALサーバメインプロセス32
は、取得したジョブIDから印刷要求を発行したクライ
アントホスト名を検出し、そのクライアントホスト上で
稼働するCAPCALクライアントメインプロセス26
にドキュメント名称、ユーザ名及びエラーコードを通知
する。また、画面呼び出し52を行うことにより、これ
らの情報を表示する。
CACAPAL server main process 32
Detects the name of the client host that issued the print request from the acquired job ID, and executes the CAPCAL client main process 26 running on the client host.
To notify the document name, user name and error code. Further, by performing screen call 52, such information is displayed.

【0038】CAPCALクライアントメインプロセス
26は、CAPCALサーバメインプロセス32からド
キュメント名称、ユーザ名及びエラーコードを受信する
と、画面呼び出し53を行うことにより、ユーザ名、印
刷中のドキュメント名称、エラーメッセージを表示す
る。
Upon receiving the document name, user name and error code from the CAPCAL server main process 32, the CAPCAL client main process 26 calls the screen 53 to display the user name, the name of the document being printed, and the error message. .

【0039】また、セントロポートモニタ48は、1つ
のジョブの出力が完全に終了したら、プリンタ出力管理
部50にプリンタ名称及びジョブIDを通知する。プリ
ンタ出力管理部50は、セントロポートモニタ48から
プリンタ名称及びジョブIDを受け取ると、CAPCA
Lサーバメインプロセス32に、これらの情報を通知す
る。
When the output of one job is completely completed, the centro port monitor 48 notifies the printer output management unit 50 of the printer name and the job ID. Upon receiving the printer name and the job ID from the centroport monitor 48, the printer output management unit 50
This information is notified to the L server main process 32.

【0040】CAPCALサーバメインプロセス32
は、取得したジョブIDから印刷要求を発行したクライ
アントホスト名を検出し、そのクライアントホスト上で
稼働するCAPCALクライアントメインプロセス26
に、ドキュメント名称及びユーザ名を通知する。また、
画面呼び出し52を行うことにより、これらの情報を表
示する。
CACAPAL server main process 32
Detects the name of the client host that issued the print request from the acquired job ID, and executes the CAPCAL client main process 26 running on the client host.
Is notified of the document name and the user name. Also,
The information is displayed by performing the screen call 52.

【0041】CAPCALクライアントメインプロセス
26は、CAPCALサーバメインプロセス32からド
キュメント名称及びユーザ名を受信すると、画面呼び出
し53を行うことにより、ドキュメントの印刷が完了し
たことを示すメッセージを表示する。
Upon receiving the document name and the user name from the CAPCAL server main process 32, the CAPCAL client main process 26 performs a screen call 53 to display a message indicating that the printing of the document has been completed.

【0042】このように、セントロポートモニタ48
は、元のドキュメントを識別するジョブIDをプリンタ
出力管理部50に通知することにより、プリンタ出力管
理部50は、印刷要求したクライアントホスト名を認識
することが可能となり、印刷要求したクライアント30
0に対し、印刷エラーや印刷完了を通知することが可能
となることから、ドキュメントの印刷状況をクライアン
ト300側で認識することが可能となる。
As described above, the centroport monitor 48
Notifies the printer output management unit 50 of the job ID that identifies the original document, so that the printer output management unit 50 can recognize the client host name that has issued the print request.
Since it is possible to notify a print error or a print completion to 0, the client 300 can recognize the print status of the document on the client 300 side.

【0043】以下、図1の印刷システムについて、より
詳細に説明する。図5は、仮想ドライバ14の動作を説
明するブロック図であり、CAPCALスプールファイ
ル57が作成されるまでの処理の流れを示す。
Hereinafter, the printing system of FIG. 1 will be described in more detail. FIG. 5 is a block diagram for explaining the operation of the virtual driver 14, and shows the flow of processing until the CAPCAL spool file 57 is created.

【0044】図5において、ユーザが、アプリケーショ
ン1に仮想ドライバ14に対しての印刷を指定した場
合、アプリケーション1は、GDI2に対して印刷命令
を実行する(CAPCALの場合は自動的にスプール印
刷となる)。GDI2は、印刷命令が実行されると、デ
バイス管理情報(Windowsシステム概値。プリン
タドライバ独自の情報を付加可能。以下、DEVMOD
E情報と記述する)を仮想ドライバ14に要求する。仮
想ドライバ14は、メーカやプリンタ機種に依存しない
共通な情報(用紙サイズ、用紙種等)と、出力制御ファ
イル17の名称をDEVMODE情報に設定し、GDI
2に返す。GDI2は、仮想ドライバ14から必要な情
報を受け取ると、DEVMODE情報と描画情報(GE
IINFO情報:プリンタドライバ描画能力。プリンタ
ドライバがGDI2に返す情報。Windowsシステ
ム概値)によって、EMFファイル19とジョブ記述フ
ァイル18を作成する。このように、CAPCAL制御
印刷では、GDI2が、DEVMODE情報を仮想ドラ
イバ14から受け取ることにより、Windowsシス
テムが、ジョブ記述ファイル(Windowsシステム
概値)18を作成する。
In FIG. 5, when the user designates printing to the virtual driver 14 for the application 1, the application 1 executes a print command to the GDI 2 (in the case of CAPCAL, the spool printing is automatically performed. Become). When a print command is executed, the GDI 2 can add device management information (approximate values of the Windows system. Information unique to the printer driver can be added. Hereinafter, DEVMOD)
(Described as E information) to the virtual driver 14. The virtual driver 14 sets common information (paper size, paper type, etc.) independent of the maker and printer model and the name of the output control file 17 in the DEVMODE information,
Return to 2. When receiving necessary information from the virtual driver 14, the GDI 2 receives the DEVMODE information and the drawing information (GE
IINFO information: printer driver drawing capability. Information returned by the printer driver to GDI2. An EMF file 19 and a job description file 18 are created based on the Windows system approximate value). As described above, in the CAPCAL control printing, the GDI 2 receives the DEVMODE information from the virtual driver 14, so that the Windows system creates a job description file (Windows system approximate value) 18.

【0045】一方、仮想ドライバ14は、仮想ドライバ
14のプリンタプロパティ(指定配布、自動配布、分散
印刷の情報を指定)や、予め保存してある出力制御情報
により、DEVMODE情報に付加されたファイル名称
で出力制御ファイル17を作成する。Windowsの
スプールシステム54は、指定されたポートが印刷可能
状態であることを確認して、デスプール処理を開始す
る。デスプール処理により、ポートスレッド55を通じ
てCAPCALプリントプロセッサ21に制御が渡る。
CAPCALプリントプロセッサ21は、Window
sシステムが作成したジョブ記述ファイル18を読み込
むことにより、DEVMODE情報、仮想ドライバ3に
よりDEVMODE情報に付加された出力制御ファイル
17の名称、及びEMFファイル19の名称を取得す
る。取得した出力制御ファイル17の名称及びEMFフ
ァイル19の名称に基づいて、ジョブ記述ファイル18
及びとEMFファイル19から出力制御情報と印刷デー
タをそれぞれ取得し、CAPCALスプールファイル5
7(CAPCALジョブ記述ファイル23及びEMFフ
ァイル24)を作成する。
On the other hand, the virtual driver 14 obtains a file name added to the DEVMODE information based on the printer properties of the virtual driver 14 (designated distribution, automatic distribution, and information on distributed printing) and output control information stored in advance. Creates the output control file 17. The Windows spool system 54 confirms that the designated port is ready for printing, and starts the despooling process. The control is transferred to the CAPCAL print processor 21 through the port thread 55 by the despool process.
The CAPCAL print processor 21 is a Windows
By reading the job description file 18 created by the s system, the DEVMODE information, the name of the output control file 17 added to the DEVMODE information by the virtual driver 3 and the name of the EMF file 19 are obtained. Based on the acquired name of the output control file 17 and the name of the EMF file 19, the job description file 18
And output control information and print data from the EMF file 19, respectively, and the CAPCAL spool file 5
7 (CAPCAL job description file 23 and EMF file 24).

【0046】CAPCALプリントプロセッサ7は、C
APCALスプールファイル57を作成すると、CAP
CALスプールファイル57の内容をCAPCALジョ
ブ転送スレッド27を介してサーバ301に送ることに
より、指定配布印刷、自動配布印刷、分散印刷等の機能
を実現する。
The CAPCAL print processor 7 has a C
When the APCAL spool file 57 is created, the CAP
By transmitting the contents of the CAL spool file 57 to the server 301 via the CAPCAL job transfer thread 27, functions such as designated distribution printing, automatic distribution printing, and distributed printing are realized.

【0047】このように、仮想ドライバ14は、設定さ
れたDEVMODE情報をGDI2に送り、GDI2に
よりジョブ記述ファイル18とEMFファイル19とを
生成させるとともに、出力制御情報を出力制御ファイル
17に独自に格納し、独自に格納した出力制御情報をC
APCALプリントプロセッサ21に渡すようにしてい
る。
As described above, the virtual driver 14 sends the set DEVMODE information to the GDI 2, causes the GDI 2 to generate the job description file 18 and the EMF file 19, and stores the output control information in the output control file 17 independently. And output control information stored independently
The data is passed to the APCAL print processor 21.

【0048】この結果、アプリケーション1により生成
された描画データを、オペレーティングシステム2によ
りスプールさせることが可能となることから、そのオペ
レーティングシステム2上で動作するアプリケーション
1ならば、どのようなアプリケーション1も使用するこ
とが可能となるとともに、ジョブ記述ファイル18及び
EMFファイル19とは別個に出力制御情報を格納する
ことにより、オペレーティングシステム2に備わってい
ない出力制御機能を、後から自由に追加することが可能
となり、ネットワーク環境でのドキュメント配布処理、
分散印刷処理、配布先自動検出処理、またはプリンタエ
ラー及び印刷完了の通知処理等を、汎用アプリケーショ
ンで作成した文書に対して行うことが可能となる。
As a result, since the drawing data generated by the application 1 can be spooled by the operating system 2, any application 1 operating on the operating system 2 can be used. By storing output control information separately from the job description file 18 and the EMF file 19, an output control function not provided in the operating system 2 can be freely added later. Document distribution processing in a network environment,
Distributed printing processing, distribution destination automatic detection processing, printer error and print completion notification processing, and the like can be performed on a document created by a general-purpose application.

【0049】図6は、ジョブ記述ファイル18の内容例
を示す図である。図6において、ジョブ記述ファイル1
8は、ジョブ記述ファイルヘッダ61、DEVMODE
情報62及びジョブ記述ファイルフッタ63を備えてい
る。なお、これらの情報は、Windowsシステム概
値である。DEVMODE情報62は、仮想ドライバ1
4のDEVMODE構造体情報によって作成される。ま
た、DEVMODE情報62には、プリンタドライバプ
ライベート情報64が仮想ドライバ14により付加され
る。DEVMODE情報62として、用紙サイズ、用紙
種、用紙方向などがあり、プリンタドライバプライベー
ト情報64として、出力制御ファイル名などがある。
FIG. 6 is a diagram showing an example of the contents of the job description file 18. In FIG. 6, job description file 1
8 is a job description file header 61, DEVMODE
Information 62 and a job description file footer 63 are provided. These pieces of information are approximate values of the Windows system. The DEVMODE information 62 contains the virtual driver 1
4 based on the DEVMODE structure information. Further, the printer driver private information 64 is added to the DEVMODE information 62 by the virtual driver 14. The DEVMODE information 62 includes a paper size, a paper type, and a paper direction, and the printer driver private information 64 includes an output control file name.

【0050】図7は、出力制御ファイル17の内容例を
示す図である。図7において、出力制御ファイル17
は、CAPCAL出力制御ファイルヘッダ71及び出力
制御情報75を備え、出力制御情報75は、動作モード
情報72、文書付加情報73及び文書属性情報74を備
えている。CAPCAL出力制御ファイルヘッダ71
は、CAPCAL出力制御ファイル17の情報を含み、
バージョン情報などが格納されている。動作モード情報
72は、動作モード(通常モード/配布モード/分散モ
ード)が格納されている。また、仮想ドライバ(CAP
CALドライバ)14により指定される配布先情報を含
み、配布モード(自動配布/自動配布)、配布先の名
称、検索ページ、検索モード(区切りモード/修飾モー
ド/属性モード/サイズモード/色モード/矩形モー
ド)、修飾モードの修飾の種類(下線/網掛け)、属性
モードの属性種類(標準/斜体/太字/太字斜体)、サ
イズモードの文字サイズ、色モードの色コード、及び矩
形モードの領域などが格納されている。
FIG. 7 is a diagram showing an example of the contents of the output control file 17. In FIG. 7, the output control file 17
Includes a CAPCAL output control file header 71 and output control information 75, and the output control information 75 includes operation mode information 72, document additional information 73, and document attribute information 74. CAPCAL output control file header 71
Contains the information of the CAPCAL output control file 17,
Stores version information, etc. The operation mode information 72 stores an operation mode (normal mode / distribution mode / distribution mode). The virtual driver (CAP
CAL driver) 14 includes distribution destination information specified by the CAL driver 14, distribution mode (automatic distribution / automatic distribution), distribution destination name, search page, search mode (delimited mode / modification mode / attribute mode / size mode / color mode / Rectangle mode), decoration mode decoration type (underlined / shaded), attribute mode attribute type (standard / italic / bold / bold italic), size mode character size, color mode color code, and rectangular mode area Are stored.

【0051】文書付加情報73は、仮想ドライバ14に
より指定される文書の付加情報を含み、フォーム付加フ
ラグ、バナー付加フラグ、フォームファイルの場所、フ
ォームファイル名、及びバナー挨拶文などが格納されて
いる。
The document additional information 73 includes additional information of the document specified by the virtual driver 14, and stores a form addition flag, a banner addition flag, a form file location, a form file name, a banner greeting, and the like. .

【0052】文書属性情報74は、仮想ドライバ14に
より指定される文書の属性情報を含み、パスワードフラ
グ、出力モード(即印刷/日時指定印刷/時間指定印刷
/遅延印刷/印刷しない)、日時指定印刷の指定日時、
時間指定印刷の指定時間、保存モード(日時指定保存/
時間指定保存/無条件保存/保存しない)、及び日時指
定保存の指定時間などが格納されている。
The document attribute information 74 includes attribute information of the document specified by the virtual driver 14, and includes a password flag, an output mode (immediate print / date / time specified print / time specified print / delayed print / not printed), and date / time specified print. Specified date and time,
Specified time for time-specified printing, save mode (Save date / time
(Specified time storage / unconditional storage / not stored), and specified time of date / time specified storage.

【0053】図8は、仮想ドライバ14の動作を示すフ
ローチャートであり、仮想ドライバ14によりジョブ記
述ファイル18と出力制御ファイル17とを作成する処
理を示すものである。この処理では、ユーザがCAPC
ALプリンタドライバプロパティを操作するフェーズ
(ステップS1〜S3)と、仮想ドライバ14の印刷フ
ェーズ(ステップS4〜S6)とが設けられている。
FIG. 8 is a flowchart showing the operation of the virtual driver 14, and shows the process of creating a job description file 18 and an output control file 17 by the virtual driver 14. In this process, the user
A phase for operating the AL printer driver property (steps S1 to S3) and a printing phase for the virtual driver 14 (steps S4 to S6) are provided.

【0054】図8において、まず、一般のWindow
sプリンタドライバと同様に、CAPCALプリンタド
ライバプロパティを開く(ステップS1)。なお、CA
PCALプリンタドライバプロパティは、プリントフォ
ルダやアプリケーションから開くことが可能である。
In FIG. 8, first, a general Windows
As with the printer driver, the CAPCAL printer driver property is opened (step S1). Note that CA
The PCAL printer driver property can be opened from a print folder or an application.

【0055】次に、CAPCALプリンタドライバプロ
パティが開かれると、ドライバ出力制御設定画面の表示
に従って出力制御情報75を設定し、DEVMODE情
報62及び出力制御情報75をレジストリに保存する
(ステップS2)。そして、アプリケーション1より印
刷ダイアログを開き、印刷を実行する(ステップS
3)。
Next, when the CAPCAL printer driver property is opened, the output control information 75 is set according to the display on the driver output control setting screen, and the DEVMODE information 62 and the output control information 75 are stored in the registry (step S2). Then, a print dialog is opened from the application 1 and printing is executed (step S
3).

【0056】次に、仮想ドライバ14は、CAPCAL
プリンタドライバプロパティからDEVMODE情報6
2及び出力制御情報75を取得する(ステップS4)。
なお、CAPCALプリンタドライバプロパティにDE
VMODE情報62及び出力制御情報75が保存されて
いなければ、仮想ドライバ14に設定されている値を使
う。
Next, the virtual driver 14 executes the CAPCAL
DEVMODE information 6 from printer driver property
2 and the output control information 75 are acquired (step S4).
The CAPCAL printer driver property has the DE
If the VMODE information 62 and the output control information 75 are not stored, the values set in the virtual driver 14 are used.

【0057】次に、仮想ドライバ14は、CAPCAL
プリンタドライバプロパティから取得したDEVMOD
E情報(出力制御ファイル名を含む)62をGDI2に
渡す(ステップS5)。
Next, the virtual driver 14 executes the CAPCAL
DEVMOD obtained from printer driver properties
The E information (including the output control file name) 62 is passed to the GDI 2 (step S5).

【0058】次に、仮想ドライバ14は、CAPCAL
プリンタドライバプロパティから取得した出力制御情報
75を、DEVMODE情報62に付加されている出力
制御ファイル名で出力制御ファイル17に書き込む(ス
テップS6)。
Next, the virtual driver 14 executes the CAPCAL
The output control information 75 obtained from the printer driver property is written in the output control file 17 with the output control file name added to the DEVMODE information 62 (step S6).

【0059】このように、仮想ドライバ14が、プリン
タ機種やメーカに依存しない共通な情報(DEVMOD
E情報62)をWindowsシステム(GDI2)に
返し、ジョブ記述ファイル18をGDI2に作成させる
ことにより、印刷に必要な情報(用紙種、給紙方式、用
紙方向等)を与えるようにしている。また、仮想ドライ
バ14が、出力制御ファイル17を独自に作成し、配布
分散処理に必要な出力制御情報75をCAPCALプリ
ンタプロセッサ21に与えている。このため、汎用のア
プリケーション1で作成した文書について、メーカやプ
リンタ機種に依存しない配布印刷処理を実現することが
可能となる。すなわち、ユーザは、ネットワーク上のど
のプリンタに印刷させる場合も、仮想ドライバ14で印
刷を実行すれば良く、仮想ドライバ14が与える情報に
よって、プリンタ機種やメーカで特定した機能を意識す
ることなく、ネットワーク上の多種多様なプリンタ9を
利用できる。
As described above, the virtual driver 14 uses the common information (DEVMOD) independent of the printer model and the manufacturer.
E information 62) is returned to the Windows system (GDI2), and the job description file 18 is created by the GDI2, thereby giving information (paper type, paper feeding method, paper direction, etc.) necessary for printing. In addition, the virtual driver 14 independently creates the output control file 17 and provides the CAPCAL printer processor 21 with output control information 75 necessary for distribution distribution processing. For this reason, it is possible to implement distributed printing processing independent of a maker or a printer model for a document created by the general-purpose application 1. In other words, the user can perform printing with the virtual driver 14 regardless of which printer on the network is to be used for printing. The information provided by the virtual driver 14 allows the user to operate the network without being aware of the functions specified by the printer model and the manufacturer. A wide variety of the above printers 9 can be used.

【0060】さらに、アプリケーション1で作成したド
キュメントは、出力装置(プリンタ9)の物理仕様に依
存せず、仕様が異なるプリンタに出力しても期待する結
果を得ることが可能となることから、可搬性を向上させ
ることができる。この結果、システム上の全てのアプリ
ケーション1の出力ドキュメントを処理対象として、物
理的な出力装置の個々の仕様に依存しない論理デバイス
ドライブ方式を提供することが可能となる。また、出力
装置の機能が不足する場合も、適切なエミュレートで期
待する出力を得ることができる。
Further, since the document created by the application 1 does not depend on the physical specifications of the output device (printer 9) and can be output to a printer having a different specification, an expected result can be obtained. Portability can be improved. As a result, it is possible to provide a logical device drive method that does not depend on the individual specifications of the physical output device, by processing output documents of all applications 1 on the system. Further, even when the function of the output device is insufficient, an expected output can be obtained by appropriate emulation.

【0061】図9は、DEVMODE情報の設定画面を
示す図である。CAPCALプリンタドライバプロパテ
ィを開いた際に、このDEVMODE情報の設定画面を
表示させることにより、給紙位置、用紙サイズ、印刷用
紙、拡大/縮小、用紙方向、紙種、コピー枚数などを入
力することができ、図6のDEVMODE情報62を設
定することができる。
FIG. 9 is a diagram showing a setting screen of DEVMODE information. By displaying this DEVMODE information setting screen when the CAPCAL printer driver property is opened, it is possible to input the paper feed position, paper size, print paper, enlargement / reduction, paper direction, paper type, number of copies, etc. Thus, the DEVMODE information 62 of FIG. 6 can be set.

【0062】図10は、自動配布情報の設定画面を示す
図である。CAPCALプリンタドライバプロパティを
開いた際に、この自動配布情報の設定画面を表示させる
ことにより、検索ページ、印刷時指定、検索モード(区
切りモード/修飾モード/サイズモード/色モード/属
性モード)、検索範囲などを入力することができ、図7
の出力制御情報75を設定することができる。自動配布
とは、ユーザが配布先を指定しなくても、配布される文
書の中から配布先を自動的に抽出して配布を行うもので
ある。ここで、検索ページは、配布先を抽出する文書の
ページを示す。区切りモードでは、指定された文字列で
挟まれた領域が検索範囲とみなされ、例えば、括弧を指
定すると、括弧で挟まれた文字列が配布先となる。修飾
モードでは、修飾された文字列が配布先として検出さ
れ、サイズモードでは、指定された大きさを有する文字
列が配布先とみなされ、色モードでは、指定された色を
有する文字列が配布先とみなされ、属性モードでは、指
定された属性の文字列が配布先とみなされる。
FIG. 10 is a diagram showing a screen for setting automatic distribution information. When the CAPCAL printer driver property is opened, this automatic distribution information setting screen is displayed, so that the search page, print designation, search mode (separation mode / modification mode / size mode / color mode / attribute mode), search A range and the like can be input.
Output control information 75 can be set. Automatic distribution is to automatically extract a distribution destination from a distributed document and distribute it without the user having to specify the distribution destination. Here, the search page indicates a page of the document from which the distribution destination is extracted. In the delimiter mode, an area sandwiched by the designated character strings is regarded as a search range. For example, when parentheses are specified, the character string sandwiched by parentheses is the distribution destination. In the decoration mode, a qualified character string is detected as a distribution destination, in the size mode, a character string having a specified size is regarded as a distribution destination, and in the color mode, a character string having a specified color is distributed. In the attribute mode, the character string of the specified attribute is regarded as the distribution destination.

【0063】また、検索範囲の入力は、この検索範囲を
1枚の仮想的な用紙とみなし、用紙を分割して得られた
領域を指定することにより、検索範囲を特定するもので
ある。例えば、縦横の中心線で仮想用紙を4分割した場
合の右上の領域と指定する。そして、この仮想用紙での
領域の指定を実際の用紙に変換する場合、縦横の中心線
で実際の用紙を4分割し、4分割して得られた右上の領
域を検索範囲とする。なお、用紙の分割の方法は、4分
割の他に、8分割や16分割などであってもよい。この
検索範囲の入力により、システム上の全てのアプリケー
ションの出力ドキュメントを処理対象として、アプリケ
ーションから独立した処理でドキュメントの領域を指定
可能となるとともに、ドキュメントの形状(用紙サイ
ズ、用紙の置き方)に依存することなくドキュメントの
領域を指定できる。
The input of the search range is to specify the search range by regarding the search range as one virtual sheet and specifying an area obtained by dividing the sheet. For example, the virtual paper is designated as the upper right area when the virtual paper is divided into four by the vertical and horizontal center lines. Then, when the designation of the area in the virtual paper is converted to the actual paper, the actual paper is divided into four by the vertical and horizontal center lines, and the upper right area obtained by dividing the actual paper into four is set as the search range. The method of dividing the sheet may be eight divisions, sixteen divisions, or the like, in addition to four divisions. By inputting this search range, it is possible to specify the area of the document by processing independent of the application by processing the output documents of all the applications on the system and to set the document shape (paper size, paper placement). You can specify the area of the document without dependence.

【0064】図11(a)は、本発明の一実施例に係わ
る領域指定制御部を説明するブロック図である。図11
(a)において、仮想ドライバ14のユーザインタフェ
ース81には、領域指定制御部82が設けられている。
領域指定制御部82は、ユーザが指定した領域情報を仮
想ドライバ14によって取り込み、文書の印刷情報とし
て登録する。
FIG. 11A is a block diagram illustrating an area designation control unit according to an embodiment of the present invention. FIG.
2A, an area designation control unit 82 is provided in a user interface 81 of the virtual driver 14.
The region designation control unit 82 takes in the region information designated by the user with the virtual driver 14 and registers it as document print information.

【0065】図11(b)は、実際の用紙を表す長方形
を表示することにより、ユーザに領域指定させる方法を
説明する図である。図11(b)において、用紙の置き
方に依存して、ポートレートの用紙83を表す長方形
と、ランドスケープの用紙85を表す長方形とが表示さ
れる。そして、ユーザは、ポートレートの用紙83及び
ランドスケープの用紙85のそれぞれに対し、検索範囲
を示す領域84、86を指定する。
FIG. 11B is a view for explaining a method of allowing the user to specify an area by displaying a rectangle representing an actual sheet. In FIG. 11B, a rectangle representing a portrait paper 83 and a rectangle representing a landscape paper 85 are displayed depending on how the paper is placed. Then, the user specifies areas 84 and 86 indicating a search range for each of the portrait paper 83 and the landscape paper 85.

【0066】図11(c)は、仮想用紙87を表す長方
形を表示することにより、ユーザに領域指定させる方法
を説明する図である。図11(c)において、用紙を表
す長方形を、正方形の仮想用紙87としてMMI(マン
マシンインターフェース)としている。ユーザは、この
仮想用紙87上で矩形領域88を指定する。
FIG. 11C is a view for explaining a method of displaying a rectangle representing the virtual paper 87 to allow the user to specify an area. In FIG. 11C, a rectangle representing a sheet is an MMI (man-machine interface) as a square virtual sheet 87. The user specifies a rectangular area 88 on the virtual paper 87.

【0067】そして、印刷を実行するときに、仮想用紙
87上で指定された情報を取り込み、ポートレートの用
紙89、及びランドスケープの用紙91のそれぞれの場
合について、仮想用紙87上の矩形領域88を実際の用
紙に合わせて変換する。仮想用紙87の大きさを、実際
の用紙の大きさに対応させて変換する場合、例えば、仮
想用紙87の縦横の変倍率に対応させて、仮想用紙87
に指定された矩形領域88を変換する。このことによ
り、仮想用紙87上での矩形領域88の相対的な位置を
保存したまま、実際の用紙89、91上での検索範囲を
示す領域90、92に変換することができる。
When printing is performed, information specified on the virtual paper 87 is fetched, and a rectangular area 88 on the virtual paper 87 is created for each of the portrait paper 89 and the landscape paper 91. Convert according to the actual paper. When converting the size of the virtual paper 87 according to the actual paper size, for example, the virtual paper 87
Is converted to the rectangular area 88 specified in the above. Thus, while preserving the relative position of the rectangular area 88 on the virtual paper 87, the rectangular area 88 can be converted into the areas 90 and 92 indicating the search range on the actual papers 89 and 91.

【0068】例えば、ポートレートの用紙89及びラン
ドスケープの用紙91のいずれの場合においても、配布
先は、用紙89、91の上方の欄に記入されることが多
い。このため、仮想用紙87上の上方の領域を矩形領域
88として指定することにより、仮想用紙87がポート
レートの用紙89及びランドスケープの用紙91のいず
れに変換された場合においても、検索範囲を示す領域9
0、92が用紙89、91の上方の欄に位置するように
変換され、検索範囲の指定を効率的に行うことが可能と
なる。
For example, in the case of both the portrait paper 89 and the landscape paper 91, the distribution destination is often entered in the column above the papers 89 and 91. For this reason, by specifying the upper area on the virtual paper 87 as the rectangular area 88, even when the virtual paper 87 is converted into either the portrait paper 89 or the landscape paper 91, the area indicating the search range is displayed. 9
0 and 92 are converted so as to be positioned above the sheets 89 and 91, and the search range can be specified efficiently.

【0069】このように、領域指定機能を、アプリケー
ション及びドキュメントから独立した階層で提供し、領
域指定のMMI(マンマシンインターフェース)を、ド
キュメントの形状から独立した正方形の仮想用紙87と
したことにより、配布先の検索などのため印刷ドキュメ
ントの領域を指定することが必要な場合、アプリケーシ
ョンに領域指定機能を組み込むことなく、全ての出力ド
キュメントに対して領域設定ができる。この領域設定
は、全てのアプリケーションから出力される全てのドキ
ュメントに適用できる。また、領域設定は、ドキュメン
トから独立しており、1つの領域設定で全ての出力ドキ
ュメントを対象とすることができる。さらに、各ドキュ
メントの形状(用紙サイズ、置き方)に依存せずに設定
することができるので、用紙サイズ、置き方の違いによ
る領域指定作業の軽減が図れるとともに、一度設定すれ
ば、ドキュメントの形状を変更しても再設定を不要とす
ることができる。
As described above, the area designation function is provided in a hierarchy independent of the application and the document, and the MMI (man-machine interface) for the area designation is formed as a square virtual sheet 87 independent of the shape of the document. When it is necessary to specify an area of a print document for searching for a distribution destination, the area can be set for all output documents without incorporating an area specification function into an application. This area setting can be applied to all documents output from all applications. The area setting is independent of the document, and one area setting can cover all output documents. Furthermore, since the settings can be made independently of the shape of each document (paper size and placement), the work of specifying the area due to the difference in paper size and placement can be reduced. Can be changed to eliminate the need for resetting.

【0070】図12は、指定配布情報の設定画面を示す
図である。CAPCALプリンタドライバプロパティを
開いた際に、この指定配布情報の設定画面を表示させる
ことにより、配布先モード(配布先名指定/グループ名
指定/プリンタ名指定)、配布先名、グループ名、プリ
ンタ名などを入力することができ、図7の出力制御情報
75を設定することができる。例えば、配布先名指定を
選択した場合、「東京総務課」などの論理名で印刷物の
配布先を指定することが可能となり、プリンタ名を意識
することなく配布先を指定することが可能となる。ま
た、グループ名指定を選択した場合、1回の指定で複数
の配布先を選択することが可能となり、配布先の選択の
手間を軽減することが可能となる。さらに、選択された
配布先を、画面上で自由に追加したり、削除したりする
ことが可能となり、配布先の変更も容易に行うことが可
能となる。
FIG. 12 is a view showing a setting screen of designated distribution information. When the CAPCAL printer driver property is opened, the setting screen of the designated distribution information is displayed, so that the distribution destination mode (designation of distribution destination name / group name / designation of printer name), distribution destination name, group name, printer name And the like, and the output control information 75 of FIG. 7 can be set. For example, if the user specifies the distribution destination name, it is possible to specify the distribution destination of the printed matter with a logical name such as "Tokyo General Affairs Division", and it is possible to specify the distribution destination without being aware of the printer name . Further, when the group name designation is selected, it is possible to select a plurality of distribution destinations by one designation, and it is possible to reduce the trouble of selecting the distribution destination. Further, the selected distribution destination can be freely added or deleted on the screen, and the distribution destination can be easily changed.

【0071】図13は、本発明の一実施例に係わる分散
印刷情報の設定画面を示す図である。CAPCALプリ
ンタドライバプロパティを開いた際に、この分散印刷情
報の設定画面を表示させることにより、分散方法(台数
均等/部数別/種別/マニュアル指定)、カラーとモノ
クロの区別、キューイングの数、プリンタのエラーなど
を入力することができ、図7出力制御情報75を設定す
ることができる。分散方法を指定することにより、印刷
部数を複数のプリンタに均等に割り振ったり、プリンタ
の印刷能力や稼働状況に応じて割り振ったりすることが
可能となる。また、カラーとモノクロの区別を指定する
ことにより、カラープリンタには、カラーのページだけ
を出力させたり、モノクロプリンタには、モノクロのペ
ージだけを出力させたりすることが可能となる。キュー
イングの数を指定することにより、出力待ちが貯まって
いるプリンタを避けて、空いているプリンタを優先させ
て出力させることができる。プリンタのエラーを指定す
ることにより、配布分散スレッド37がプリンタを決定
する時に、エラーが発生しているプリンタを分散対象の
プリンタとして扱わないようにすることができる。
FIG. 13 is a view showing a setting screen of the distributed print information according to one embodiment of the present invention. When the CAPCAL printer driver property is opened, the setting screen of the distributed print information is displayed to display the distribution method (equal number / set of copies / type / manual designation), distinguish between color and monochrome, number of queuing, printer Can be input, and the output control information 75 in FIG. 7 can be set. By specifying the distribution method, it is possible to equally allocate the number of print copies to a plurality of printers, or to allocate the number of print copies in accordance with the printing capabilities and operating conditions of the printers. In addition, by specifying the distinction between color and monochrome, it is possible to cause a color printer to output only color pages or a monochrome printer to output only monochrome pages. By specifying the number of queuing, a printer that is waiting for output can be avoided and a printer that is idle can be output with priority. By specifying a printer error, when the distribution / distribution thread 37 determines a printer, it is possible to prevent a printer in which an error has occurred from being treated as a distribution target printer.

【0072】図14は、CAPCALプリントプロセッ
サ21の構成を示すブロック図である。図14におい
て、印刷データ読み込み制御部101を介して読み込ま
れた印刷データは、印刷データ格納部102に格納され
る。印刷データ格納部102に格納された印刷データ
は、印刷データ構成部103で各ページごとにデータ区
分され、CAPCALスプールファイル生成部104に
送られる。CAPCALスプールファイル生成部104
は、印刷データの各頁ごとの出力による頁管理情報を頁
管理情報格納部105に格納し、CAPCALスプール
ファイル57のEMFファイル24に各頁の印刷データ
を出力する。全ての印刷データがCAPCALスプール
ファイル57のEMFファイル24に出力されると、C
APCALジョブ記述ファイル23が作成される。
FIG. 14 is a block diagram showing the configuration of the CAPCAL print processor 21. 14, the print data read via the print data read control unit 101 is stored in the print data storage unit 102. The print data stored in the print data storage unit 102 is divided into data for each page by the print data configuration unit 103 and sent to the CAPCAL spool file generation unit 104. CAPCAL spool file generator 104
Stores the page management information for each page of the print data in the page management information storage unit 105, and outputs the print data of each page to the EMF file 24 of the CAPCAL spool file 57. When all the print data is output to the EMF file 24 of the CAPCAL spool file 57, C
An APCAL job description file 23 is created.

【0073】CAPCALジョブ記述ファイル23を作
成する場合、DEVMODE情報とWindowsジョ
ブ情報とが、印刷ジョブ情報読み込み制御部106から
読み込まれ、CAPCAL出力制御情報が、CAPCA
L出力制御ファイル読み込み制御部107から読み込ま
れ、CAPCALユーザ情報が、CAPCALユーザ情
報読み込み制御部108から読み込まれる。そして、D
EVMODE情報、Windowsジョブ情報、CAP
CAL出力制御情報及びCAPCALユーザ情報が、C
APCALジョブ情報格納部109に格納される。印刷
ジョブ情報構成部110は、CAPCALジョブ情報格
納部109に格納された情報に基づいて、印刷ジョブ情
報を構成し、CAPCALスプールファイル生成部10
5を介してCAPCALスプールファイル57のCAP
CALジョブ記述ファイル23に出力する。この際、C
APCALスプールファイル生成部105は、頁管理情
報格納部105に格納されている頁管理情報を、印刷ジ
ョブ情報構成部110で構成された印刷ジョブ情報に付
加し、CAPCALジョブ記述ファイル23に出力す
る。
When the CAPCAL job description file 23 is created, the DEVMODE information and the Windows job information are read from the print job information read control unit 106, and the CAPCAL output control information is
The CAPCAL user information is read from the L output control file read control unit 107 and the CAPCAL user information read control unit 108 is read. And D
EVMODE information, Windows job information, CAP
CAL output control information and CAPCAL user information are C
It is stored in the APCAL job information storage unit 109. The print job information forming unit 110 forms print job information based on the information stored in the CAPCAL job information storage unit 109, and
5 via CAPCAL spool file 57 CAP
Output to the CAL job description file 23. At this time, C
The APCAL spool file generation unit 105 adds the page management information stored in the page management information storage unit 105 to the print job information configured by the print job information configuration unit 110, and outputs the same to the CAPCAL job description file 23.

【0074】図15は、CAPCALジョブ記述ファイ
ル23の内容例を示す図である。図15において、CA
PCALジョブ記述ファイル23は、CAPCALジョ
ブ記述ファイルヘッダ111、Windowsジョブ情
報112、DEVMODE情報113、CAPCAL出
力制御情報114、CAPCALユーザ情報115及び
印刷データ頁管理情報116を備えている。
FIG. 15 is a diagram showing an example of the contents of the CAPCAL job description file 23. In FIG. 15, CA
The PCAL job description file 23 includes a CAPCAL job description file header 111, Windows job information 112, DEVMODE information 113, CAPCAL output control information 114, CAPCAL user information 115, and print data page management information 116.

【0075】CAPCALジョブ記述ファイルヘッダ1
11は、CAPCALジョブ記述ファイル23のヘッダ
情報として、バージョン番号などの情報を含んでいる。
CAPCAL job description file header 1
Reference numeral 11 includes information such as a version number as header information of the CAPCAL job description file 23.

【0076】Windowsジョブ情報112は、Wi
ndowsのジョブ情報として得られる情報であり、印
刷を依頼したユーザ名、印刷ジョブの総頁数、印刷ジョ
ブが発生したホスト名、印刷ジョブタイトル名、印刷ジ
ョブ発生時刻などの情報を含んでいる。
The Windows job information 112 contains the Wi
This information is obtained as job information of "nws", and includes information such as the name of the user who has requested printing, the total number of pages of the print job, the host name where the print job has occurred, the title of the print job, and the time at which the print job occurred.

【0077】DEVMODE情報113は、アプリケー
ション1及び仮想ドライバ14により指定される印刷ジ
ョブのDEVMODE情報113である。
The DEVMODE information 113 is the DEVMODE information 113 of the print job specified by the application 1 and the virtual driver 14.

【0078】CAPCAL出力制御情報114は、図7
の出力制御情報75と同一の内容を有している。
The CAPCAL output control information 114 is shown in FIG.
Has the same contents as the output control information 75 of FIG.

【0079】CAPCALユーザ情報115は、CAP
CAL用に定義されたユーザの情報であり、氏名、会社
名、部署名、電話番号、FAX番号、パスワードなどの
情報を含んでいる。
The CAPCAL user information 115 is CAP
This is user information defined for CAL, and includes information such as name, company name, department name, telephone number, FAX number, and password.

【0080】印刷データ頁管理情報116は、印刷デー
タのファイル上の各頁の先頭位置を示すインデックス情
報である。この印刷データ頁管理情報116を参照する
ことにより、配布印刷や分散印刷を容易に行うことがで
きる。
The print data page management information 116 is index information indicating the head position of each page on the print data file. By referring to the print data page management information 116, distribution printing and distributed printing can be easily performed.

【0081】図16は、CAPCALプリントプロセッ
サ21の動作を示すフローチャートである。図16にお
いて、まず、CAPCALプリントプロセッサ21は、
EMFファイル24の作成を行う(ステップS11〜S
14)。具体的には、印刷データ読み込み制御部101
を介して読み込まれた印刷データを、印刷データ格納部
102に格納する(ステップS11)。次に、印刷デー
タ構成部103は、印刷データ格納部102から、1頁
分の印刷データを描画単位ごとに取得し、CAPCAL
スプールファイル生成部104を介して、CAPCAL
スプールファイル57に各頁の印刷データを出力する
(ステップS12)。この際、CAPCALスプールフ
ァイル生成部104の頁管理情報格納部105には、印
刷データ頁管理情報116が格納される。次に、未処理
の印刷データがあるかどうかを判断し(ステップS1
3)、未処理の印刷データがある場合、ステップS12
に戻って処理を繰り返す。次に、未読み込みのスプール
データがあるかどうかを判断し(ステップS14)、未
読み込みのスプールデータがある場合、ステップS11
に戻って処理を繰り返す。
FIG. 16 is a flowchart showing the operation of the CAPCAL print processor 21. In FIG. 16, first, the CAPCAL print processor 21
The EMF file 24 is created (steps S11 to S11).
14). Specifically, the print data read control unit 101
Is stored in the print data storage unit 102 (step S11). Next, the print data configuration unit 103 acquires one page of print data from the print data storage unit 102 for each drawing unit, and
CAPCAL via the spool file generator 104
The print data of each page is output to the spool file 57 (step S12). At this time, the print data page management information 116 is stored in the page management information storage unit 105 of the CAPCAL spool file generation unit 104. Next, it is determined whether there is unprocessed print data (step S1).
3) If there is unprocessed print data, step S12
Return to and repeat the process. Next, it is determined whether there is unread spool data (step S14). If there is unread spool data, step S11 is performed.
Return to and repeat the process.

【0082】CAPCALプリントプロセッサ21が、
CAPCALスプールファイル57に印刷データを出力
した後、CAPCALジョブ記述ファイル23の作成を
行う(ステップS15〜S17)。具体的には、印刷ジ
ョブ情報読み込み制御部106によりWindowsジ
ョブ情報112とDEVMODE情報113とが読み込
まれ、CAPCAL出力制御ファイル読み込み制御部1
07によりCAPCAL出力制御情報114が読み込ま
れ、CAPCALユーザ情報読み込み制御部108によ
りCAPCALユーザ情報115が読み込まれる。そし
て、Windowsジョブ情報112、DEVMODE
情報113、CAPCAL出力制御情報114及びCA
PCALユーザ情報115が、CAPCALジョブ記述
ファイル23生成用の情報として、CAPCALジョブ
情報格納部109に格納される(ステップS15)。
The CAPCAL print processor 21
After outputting the print data to the CAPCAL spool file 57, the CAPCAL job description file 23 is created (steps S15 to S17). Specifically, the Windows job information 112 and the DEVMODE information 113 are read by the print job information read control unit 106, and the CAPCAL output control file read control unit 1 is read.
07, the CAPCAL output control information 114 is read, and the CAPCAL user information reading control unit 108 reads the CAPCAL user information 115. Then, the Windows job information 112, DEVMODE
Information 113, CAPCAL output control information 114 and CA
The PCCAL user information 115 is stored in the CAPCAL job information storage unit 109 as information for generating the CAPCAL job description file 23 (step S15).

【0083】次に、印刷データの各頁ごとの書き込みに
より頁管理情報格納部105に格納された印刷データ頁
管理情報116を、CAPCALスプールファイル57
に書き込む(ステップS16)。
Next, the print data page management information 116 stored in the page management information storage unit 105 by writing the print data for each page is transferred to the CAPCAL spool file 57.
(Step S16).

【0084】次に、CAPCALジョブ情報構成部11
0は、CAPCALジョブ情報格納部109に格納され
ているWindowsジョブ情報112、DEVMOD
E情報113、CAPCAL出力制御情報114及びC
APCALユーザ情報115を、CAPCALスプール
ファイル生成部104を介してCAPCALスプールフ
ァイル57に書き込む。
Next, the CAPCAL job information forming unit 11
0 is the Windows job information 112 stored in the CAPCAL job information storage unit 109, DEVMOD
E information 113, CAPCAL output control information 114 and C
The APCAL user information 115 is written to the CAPCAL spool file 57 via the CAPCAL spool file generator 104.

【0085】このように、CAPCALプリントプロセ
ッサ21は、Windowsシステムの印刷制御に要求
された印刷データ(スプールファイル)をプリンタ9に
印刷出力させずに、CAPCAL制御の印刷データとし
て独自にスプールすることにより、Windowsシス
テムの印刷制御とは全く異なるサービスの提供が可能と
なる。この結果、ドキュメントの頁単位、あるいはドキ
ュメント単位に、様々なサービス(出力先の操作/出力
順の操作など)をユーザに提供することが可能となる。
As described above, the CAPCAL print processor 21 independently spools print data (spool file) requested for print control of the Windows system as print data of CAPCAL control without causing the printer 9 to print out the print data. , A service completely different from the print control of the Windows system can be provided. As a result, it is possible to provide the user with various services (such as an operation of an output destination / an operation of an output order) for each page or each document.

【0086】ここで、印刷データの作成については、W
indowsシステムの印刷制御を通して行っているた
め、汎用アプリケーションからの印刷についても、独自
の印刷制御のサービスを提供することが可能となること
から、システム上の全てのアプリケーションの出力ドキ
ュメントを処理対象として、例えば、出力先の追加・変
更、頁単位での操作、出力順の操作など様々なサービス
を提供することが可能となる。
Here, regarding the creation of print data, W
Since printing is performed through the print control of the Windows system, it is possible to provide a unique print control service for printing from a general-purpose application. Therefore, output documents of all applications on the system are processed. For example, it is possible to provide various services such as addition / change of an output destination, operation in page units, and operation in output order.

【0087】次に、本発明の実施例に係わる配布印刷処
理について説明する。
Next, the distribution print processing according to the embodiment of the present invention will be described.

【0088】配布印刷処理は、図3の配布分散処理スレ
ッド37が行う。配布分散処理スレッド37では、CA
PCALジョブ記述ファイル23中の出力制御情報75
で指示された内容に従って、配布印刷、分散印刷、通常
印刷のそれぞれの動作が行われる。
The distribution printing process is performed by the distribution distribution processing thread 37 shown in FIG. In the distribution distributed processing thread 37, CA
Output control information 75 in PCAL job description file 23
The operations of the distribution printing, the distributed printing, and the normal printing are performed in accordance with the contents designated by the above.

【0089】配布印刷には、自動配布及び指定配布の2
種類がある。自動配布は、配布先を印刷ジョブの内容に
より自動的に決定するモードである。指定配布は、印刷
ジョブの配布先をユーザが予め指定するモードである。
これら2つのモードのうち、どちらの動作を行うかは、
CAPCALジョブ記述ファイル23中で定義すること
ができる。
The distribution printing includes automatic distribution and designated distribution.
There are types. The automatic distribution is a mode in which the distribution destination is automatically determined based on the content of the print job. The designated distribution is a mode in which the user designates the distribution destination of the print job in advance.
Which of these two modes should be used depends on
It can be defined in the CAPCAL job description file 23.

【0090】図17は、本発明の一実施例に係わる自動
配布処理を説明するブロック図であり、自動配布印刷に
おける配布先一覧を得るまでの概要を示す。
FIG. 17 is a block diagram for explaining automatic distribution processing according to an embodiment of the present invention, and shows an outline of obtaining a distribution destination list in automatic distribution printing.

【0091】図17において、サーバ301が、クライ
アント300から送られてきたCAPCALジョブ記述
ファイル23及びEMFファイル24の内容を受信する
と、これらの内容をCAPCALスプールドキュメント
キュー33のCAPCALジョブ記述ファイル34及び
EMFファイル35に格納する。配布分散処理スレッド
37は、CAPCALジョブ記述ファイル34の内容を
読み出し、配布先候補としての文字列122を印刷ジョ
ブ121から検索するための検索条件124を、CAP
CALジョブ記述ファイル34から取得する。この検索
条件124には、検索ページ及び検索モード(区切り文
字/修飾/属性/サイズ/色/矩形領域内)などがあ
り、この検索条件124を指定することにより、印刷ジ
ョブ121から配布先候補を抽出する方法を指定するこ
とができる。なお、この検索条件124は、クライアン
ト300側において、CAPCALプリンタドライバプ
ロパティを開き、図10の自動配布情報の設定画面を表
示させることにより、設定することができる。
In FIG. 17, when the server 301 receives the contents of the CAPCAL job description file 23 and the EMF file 24 sent from the client 300, the contents are transferred to the CAPCAL job description file 34 and the EMF of the CAPCAL spool document queue 33. It is stored in the file 35. The distribution distributed processing thread 37 reads the contents of the CAPCAL job description file 34, and sets a search condition 124 for searching the print job 121 for a character string 122 as a distribution destination candidate, using a CAP.
Obtained from the CAL job description file 34. The search condition 124 includes a search page and a search mode (delimiter / modification / attribute / size / color / in a rectangular area). By specifying the search condition 124, a distribution destination candidate is determined from the print job 121. You can specify the method of extraction. Note that the search condition 124 can be set by opening the CAPCAL printer driver property on the client 300 side and displaying the automatic distribution information setting screen in FIG.

【0092】配布分散処理スレッド37は、この検索条
件124を元に印刷ジョブ121の検索を行い、検索条
件124に適合した文字列122を配布先名として取得
するとともに、レジストリ123から配布先定義を取得
する。レジストリ123には、配布先定義として、N台
分配布先名と出力装置名との対応関係が格納されてい
る。このため、比較部125において、印刷ジョブ12
1から取得した配布先名と、レジストリ123に定義さ
れた配布先名とを比較し、レジストリ123に定義され
た配布先名と一致する文字列122だけを選択すること
により、配布すべき全ての出力装置を自動的に決定する
ことができる。
The distribution / distribution processing thread 37 searches the print job 121 based on the search condition 124, acquires a character string 122 that meets the search condition 124 as a distribution destination name, and obtains a distribution destination definition from the registry 123. get. The registry 123 stores, as a distribution destination definition, the correspondence between the distribution destination names of N devices and the output device names. For this reason, the print job 12
1 is compared with the distribution destination name defined in the registry 123, and only the character string 122 that matches the distribution destination name defined in the registry 123 is selected. The output device can be determined automatically.

【0093】図18は、自動配布時における検索条件例
を示す図である。図18において、検索モードには、
「区切り文字」、「修飾」、「属性」、「サイズ」、
「色」、「矩形領域内」などがある。「区切り文字」
は、指定された始端文字列と終端文字列との間の文字列
122を配布先候補として抽出するものである。なお、
印刷時指定により、区切り文字をそのまま出力させた
り、スペースで置き換えて出力させたりすることができ
る。「修飾」は、下線や網掛けなどにより修飾された文
字列122を配布先候補として抽出するものである。な
お、印刷時指定により、修飾文字をそのまま出力させた
り、修飾を解除して出力させたりすることができる。
「属性」は、標準、斜体、太字、太字斜体などの属性を
有する文字列122を配布先候補として抽出するもので
ある。なお、印刷時指定により、属性が与えられた文字
をそのまま出力させたり、属性を解除して出力させたり
することができる。「サイズ」は、指定された文字サイ
ズ(ポイント数)を有する文字列122を配布先候補と
して抽出するものである。「色」は、指定された色コー
ドを有する文字列122を配布先候補として抽出するも
のである。なお、印刷時指定により、指定された色コー
ドを有する文字列をそのままの色で出力させたり、黒に
変換して出力させたりすることができる。「矩形領域
内」は、検索領域として指定された矩形内の文字列12
2を配布先候補として抽出するものである。
FIG. 18 is a diagram showing an example of search conditions at the time of automatic distribution. In FIG. 18, the search mode includes
"Separator", "Modifier", "Attribute", "Size",
There are “color” and “in a rectangular area”. "Delimiter"
Extracts a character string 122 between a specified start character string and end character string as a distribution destination candidate. In addition,
Depending on the designation at the time of printing, the delimiter can be output as it is, or can be output by replacing it with a space. “Modification” is for extracting a character string 122 modified by underlining or shading as a distribution destination candidate. In addition, depending on the designation at the time of printing, the decoration character can be output as it is, or the decoration can be released and output.
“Attribute” extracts a character string 122 having attributes such as standard, italic, bold, and bold italic as distribution destination candidates. It is to be noted that, according to the designation at the time of printing, the character to which the attribute is given can be output as it is, or the attribute can be released and output. “Size” is for extracting a character string 122 having a specified character size (point number) as a distribution destination candidate. “Color” is for extracting a character string 122 having a specified color code as a distribution destination candidate. It should be noted that the character string having the specified color code can be output in the same color or converted to black and output according to the specification at the time of printing. “In the rectangular area” is the character string 12 in the rectangle specified as the search area.
2 is extracted as a distribution destination candidate.

【0094】図19は、本発明の一実施例に係わる自動
配布処理の動作を示すフローチャートであり、配布分散
スレッド37が出力装置名称を決定する概要を示す。図
19において、まず、配布分散スレッド37は、CAP
CALジョブ記述ファイル34の出力制御情報114か
ら検索条件124を取得する。検索条件124として取
得するのは、検索ページ、検索モード、条件詳細である
(ステップS21)。検索ページは、検索を行う印刷ジ
ョブ121のページである。検索モードは、検索ページ
中のどのデータを検索対象とするかを指定するものであ
る。条件詳細は、図18に示すように、指定された検索
条件124により異なる情報が格納されている。
FIG. 19 is a flowchart showing the operation of the automatic distribution process according to one embodiment of the present invention, and shows an outline in which the distribution thread 37 determines the output device name. In FIG. 19, first, the distribution / distribution thread 37 executes the CAP
The search condition 124 is obtained from the output control information 114 of the CAL job description file 34. Acquired as the search condition 124 are the search page, the search mode, and the condition details (step S21). The search page is a page of the print job 121 to be searched. The search mode specifies which data in the search page is to be searched. As shown in FIG. 18, different information is stored in the condition details depending on the designated search condition 124.

【0095】次に、取得した検索条件124に基づき、
印刷ジョブ121の検索を行い、検索条件124に該当
する全文字列122を印刷ジョブ121から取得し、配
布先の候補とする(ステップS22)。次に、レジスト
リ123から配布先定義(全配布先)を取得し、配布先
定義情報一覧を作成する(ステップS23)。配布先定
義には、論理的な配布先名称とそれに対応する物理的な
出力装置名称とが対となった情報が、配布対象となる出
力先の分だけ登録されている。次に、作成された配布先
定義情報一覧の中から、配布先定義を1件だけ取り出す
(ステップS24)。
Next, based on the obtained search condition 124,
The print job 121 is searched, and all the character strings 122 corresponding to the search condition 124 are acquired from the print job 121 and are set as distribution destination candidates (step S22). Next, a distribution destination definition (all distribution destinations) is acquired from the registry 123, and a distribution destination definition information list is created (step S23). In the distribution destination definition, information in which a logical distribution destination name and a corresponding physical output device name are paired is registered for the output destination to be distributed. Next, only one distribution destination definition is extracted from the created distribution destination definition information list (step S24).

【0096】次に、印刷ジョブ121から取得した配布
先候補と、配布先定義から取得した配布先名称とを比較
し(ステップS25)、印刷ジョブ121から取得した
配布先候補と、配布先定義から取得した配布先名称とが
一致する場合、対応する出力装置名称を出力先一覧テー
ブルに追加する(ステップS26)。
Next, the distribution destination candidate obtained from the print job 121 is compared with the distribution destination name obtained from the distribution destination definition (step S25), and the distribution destination candidate obtained from the print job 121 and the distribution destination definition are compared. If the obtained distribution destination name matches, the corresponding output device name is added to the output destination list table (step S26).

【0097】次に、配布先定義情報一覧に比較していな
い配布先定義があれば(ステップS27)、ステップS
24に戻り、配布先定義情報一覧から新たな配布先定義
を取り出し、比較処理を行う。そして、配布先定義情報
一覧の中の配布先定義を全て比較した場合、配布先決定
処理を終了する。配布先決定処理が終了すると、作成し
た出力先一覧を元に、それぞれの出力先に印刷ジョブ1
21の投入を行い、配布印刷を行う。
Next, if there is a distribution destination definition not compared with the distribution destination definition information list (step S27), step S27 is executed.
Returning to 24, a new distribution destination definition is extracted from the distribution destination definition information list, and comparison processing is performed. When all the distribution destination definitions in the distribution destination definition information list are compared, the distribution destination determination processing ends. When the distribution destination determination processing is completed, a print job 1 is assigned to each output destination based on the created output destination list.
21 is input, and distribution printing is performed.

【0098】このように、クライアント300側で指定
された配布先の検索条件124を、サーバ301側のC
APCALジョブ記述ファイル34の内容として送信
し、クライアント300から送られた検索条件124に
基づいて、ドキュメントに含まれる予め指定された文字
列を自動的に判別することにより、システム上の全ての
アプリケーション1の出力ドキュメントを対象として、
印刷ジョブ121から配布先を自動的に検出することが
可能となる。この結果、印刷ドキュメントごとに配布先
を指定する手間を省くことが可能となり、システム環境
を(配布先に対応するプリンタ名称)を意識することな
く、1回の印刷指示により検索条件124に該当する全
ての配布先へ自動的に印刷を行うことが可能となる。さ
らに、ユーザの配布方法の選択に幅を持たせることが可
能となり、自由度の高い配布処理を実現することが可能
となる。
As described above, the search condition 124 of the distribution destination specified on the client 300 side is
By transmitting automatically as the contents of the APCAL job description file 34 and automatically determining a predetermined character string included in the document based on the search condition 124 sent from the client 300, all applications 1 For the output document of
The distribution destination can be automatically detected from the print job 121. As a result, it is possible to save the trouble of designating the distribution destination for each print document, and to satisfy the search condition 124 by one printing instruction without considering the system environment (the printer name corresponding to the distribution destination). Printing can be automatically performed to all distribution destinations. Further, it is possible to give the user a wide choice in the distribution method, and it is possible to realize a distribution process with a high degree of freedom.

【0099】図20は、本発明の一実施例に係わる指定
配布処理を説明するブロック図であり、指定配布印刷に
おける配布先を得るまでの概要を示す。
FIG. 20 is a block diagram for explaining designated distribution processing according to one embodiment of the present invention, and shows an outline of obtaining a distribution destination in designated distribution printing.

【0100】図20において、サーバ301が、クライ
アント300から送られてきたCAPCALジョブ記述
ファイル23及びEMFファイル24の内容を受信する
と、これらの内容をCAPCALスプールドキュメント
キュー33のCAPCALジョブ記述ファイル34及び
EMFファイル35に格納する。配布分散処理スレッド
37は、CAPCALジョブ記述ファイル34の内容を
読み出し、ここから配布先情報131を取得する。配布
先情報131は、指定配布モードとN個の配布先名称と
を備え、指定配布モードには、グループ指定、論理名指
定(配布先名指定)及び物理名指定(プリンタ名指定)
があり、配布先名称には、グループ名、論理名(プリン
タ名)及び物理名(配布先名)がある。なお、この配布
先情報131は、クライアント300側において、CA
PCALプリンタドライバプロパティを開き、図11の
指定配布情報の設定画面を表示させることにより、設定
することができる。
In FIG. 20, when the server 301 receives the contents of the CAPCAL job description file 23 and the EMF file 24 sent from the client 300, the contents are transferred to the CAPCAL job description file 34 and the EMF of the CAPCAL spool document queue 33. It is stored in the file 35. The distribution distribution processing thread 37 reads the contents of the CAPCAL job description file 34 and acquires distribution destination information 131 therefrom. The distribution destination information 131 includes a designated distribution mode and N distribution destination names. The designated distribution mode includes group designation, logical name designation (distribution destination name designation), and physical name designation (printer name designation).
The distribution destination name includes a group name, a logical name (printer name), and a physical name (distribution destination name). Note that this distribution destination information 131 is stored on the client 300 side by CA
The setting can be made by opening the PCAL printer driver property and displaying the setting screen of the designated distribution information shown in FIG.

【0101】ここで、配布分散処理スレッド37は、配
布先情報131の指定配布モードが物理名指定の場合、
配布先情報131の配布先名称の物理名から、配布すべ
き出力装置を決定する。
Here, when the specified distribution mode of the distribution destination information 131 is the physical name specification, the distribution distributed processing thread 37
The output device to be distributed is determined from the physical name of the distribution destination name in the distribution destination information 131.

【0102】一方、配布先情報131の指定配布モード
がグループ名若しくは論理名である場合、配布分散処理
スレッド37は、レジストリ132から、配布先定義情
報及びグループ定義情報を取得する。レジストリ132
には、配布先定義として、N台分の配布先名と出力装置
名との対応関係が格納されているとともに、グループ定
義として、グループ名及び配布先へのリンク情報が格納
されている。このため、配布分散処理スレッド37は、
レジストリ132に定義されている情報を基に、配布す
べき出力装置を決定することができる。
On the other hand, when the designated distribution mode of the distribution destination information 131 is a group name or a logical name, the distribution distribution processing thread 37 acquires the distribution destination definition information and the group definition information from the registry 132. Registry 132
Stores the correspondence between N distribution destination names and output device names as distribution destination definitions, and stores group names and link information to distribution destinations as group definitions. For this reason, the distribution distributed processing thread 37
An output device to be distributed can be determined based on the information defined in the registry 132.

【0103】図21は、本発明の一実施例に係わる指定
配布処理の動作を示すフローチャートであり、指定配布
において配布分散スレッド37が出力装置名称を決定す
るまでの概要を示す。
FIG. 21 is a flowchart showing the operation of the designated distribution process according to one embodiment of the present invention, and shows an outline of the process until the distribution distributed thread 37 determines the output device name in the designated distribution.

【0104】図21において、配布分散処理スレッド3
7は、CAPCALジョブ記述ファイル34の出力制御
情報114から、配布先情報131として、指定配布モ
ードと配布先名称とを取得する(ステップS31)。
In FIG. 21, the distribution distributed processing thread 3
7 acquires the designated distribution mode and the distribution destination name as the distribution destination information 131 from the output control information 114 of the CAPCAL job description file 34 (step S31).

【0105】次に、配布分散処理スレッド37は、レジ
ストリ132から、配布先定義情報とグループ定義情報
を取得する(ステップS32)。配布先定義には、N台
分の配布先名と出力装置名との対応関係が登録されてい
る。グループ定義には、論理的なグループ名称とそれに
対応する配布先定義へのリンクが登録されている。
Next, the distribution distribution processing thread 37 acquires distribution destination definition information and group definition information from the registry 132 (step S32). In the distribution destination definition, the correspondence between N distribution destination names and output device names is registered. In the group definition, a logical group name and a link to the corresponding distribution destination definition are registered.

【0106】次に、配布先情報131から取得した指定
配布モードが「物理名指定」である場合(ステップS3
3)、配布先情報131で示される配布先名称はそのま
ま出力先名称となる。このため、配布先情報131の配
布先名称をそのまま出力先として、出力先一覧を作成す
る(ステップS34)。一方、配布先情報131から取
得した指定配布モードが「論理名指定」である場合(ス
テップS35)、配布先情報131から取取得した配布
先名称は論理名称である。このため、レジストリ132
から取得した配布先定義情報を参照することにより出力
装置を決定し、出力先一覧を作成する(ステップS3
6)。
Next, when the designated distribution mode acquired from the distribution destination information 131 is "specify physical name" (step S3).
3) The distribution destination name indicated by the distribution destination information 131 becomes the output destination name as it is. Therefore, an output destination list is created using the distribution destination name of the distribution destination information 131 as the output destination (step S34). On the other hand, when the designated distribution mode acquired from the distribution destination information 131 is “logical name designation” (step S35), the distribution destination name acquired from the distribution destination information 131 is a logical name. Therefore, the registry 132
The output device is determined by referring to the distribution destination definition information acquired from the server, and an output destination list is created (step S3).
6).

【0107】また、配布先情報131から取得した指定
配布モードが「グループ指定」である場合、配布先情報
131から取得した配布先名称はグループ名称である。
このため、レジストリ132から取得したグループ定義
情報と配布先定義情報を参照することにより出力装置を
決定し、出力先一覧を作成する(ステップS37)。出
力先一覧の作成が終了すると、作成した出力先一覧を元
にそれぞれの出力先に印刷ジョブの投入を行い、配布印
刷を行う。
When the designated distribution mode acquired from the distribution destination information 131 is “group designation”, the distribution destination name acquired from the distribution destination information 131 is a group name.
Therefore, the output device is determined by referring to the group definition information and the distribution destination definition information acquired from the registry 132, and an output destination list is created (step S37). When the creation of the output destination list is completed, a print job is input to each output destination based on the created output destination list, and distribution printing is performed.

【0108】このように、クライアント300側で指定
された配布先情報131を、サーバ301側のCAPC
ALジョブ記述ファイル34の内容として送信し、クラ
イアント300から送られた配布先情報131に基づい
て、配布先を決定することにより、システム上の全ての
アプリケーション1の出力ドキュメントを対象として、
配布出力先をドキュメント単位に任意に指定することが
可能となる。
As described above, the distribution destination information 131 specified on the client 300 side is stored in the CAPC on the server 301 side.
By transmitting the contents as the contents of the AL job description file 34 and determining the distribution destination based on the distribution destination information 131 transmitted from the client 300, the output documents of all the applications 1 on the system are targeted.
The distribution output destination can be arbitrarily specified for each document.

【0109】また、レジストリ123、132に、N台
分の配布先名と出力装置との対応関係を登録しておくこ
とにり、1つの論理的な配布先に複数の出力装置を定義
することが可能となり、配布先を1つ決定するだけで、
複数の出力装置にドキュメントを配布することが可能と
なるとともに、配布先を物理的な出力装置ではなく、論
理的な名称で指定可能となる。このため、希望する配布
先を印刷実行時に複数選択したり、印刷ドキュメント毎
に配布先を指定したり、配布対象であるプリンタの名称
を全て指定したりする手間を省くことが可能となり、配
布先に対応するプリンタ名称を意識することなく、1回
の印刷指示で条件に該当する全ての配布先へ自動的に印
刷を行うことが可能となる。
In addition, the correspondence between N distribution destination names and output devices is registered in the registries 123 and 132, so that a plurality of output devices can be defined for one logical distribution destination. Is possible, and only by deciding one distribution destination,
A document can be distributed to a plurality of output devices, and a distribution destination can be specified by a logical name instead of a physical output device. This eliminates the need to select a plurality of desired distribution destinations at the time of printing, to specify a distribution destination for each print document, and to specify all the names of printers to be distributed. It is possible to automatically print to all the distribution destinations that meet the conditions by one printing instruction without being aware of the printer name corresponding to.

【0110】また、利用者が自由に配布先決定方式を選
択することが可能となり、ドキュメントの内容を解析す
ることにより、配布先を印刷ドキュメントデータから自
動的に決定したり、配布先対象とする文字列を直接指定
することにより、配布先をドキュメントに対して指定し
たりすることが可能となる。
Further, the user can freely select a distribution destination determination method. By analyzing the contents of the document, the distribution destination is automatically determined from the print document data, or the distribution destination is set. By directly specifying a character string, a distribution destination can be specified for a document.

【0111】さらに、ドキュメント内容による確実な配
布先指定が可能となり、配布先の一時的な変更(配布停
止など)を容易、かつ安全に行うことが可能となる。
Further, it is possible to reliably specify the distribution destination according to the contents of the document, and it is possible to easily and safely change the distribution destination temporarily (such as suspension of distribution).

【0112】この結果、ユーザによる配布方法選択に幅
がある自由度の高い配布処理が可能となり、自由度が高
く運用状況に柔軟に対応することができるシステム構築
及び運用が可能となる。
As a result, it is possible to perform a distribution process with a high degree of freedom with a wide range of distribution method selections by the user, and it is possible to construct and operate a system that has a high degree of freedom and can flexibly respond to an operation situation.

【0113】次に、本発明の実施例に係わるドキュメン
ト出力監視処理方式について説明する。
Next, a document output monitoring system according to the embodiment of the present invention will be described.

【0114】図22は、本発明の一実施例に係わるドキ
ュメント出力監視処理部の構成を示すブロック図であ
る。図22において、印刷を実行したことにより、スプ
ールファイル142がクライアント300に生成され
る。そして、クライアント300に生成されたスプール
ファイル142の内容が、転送モジュール143を介し
てサーバ301へ転送される。この際、転送モジュール
143は、スプールファイル142の内容をサーバ30
1へ転送したことを、クライアント送信ログ144に出
力する。
FIG. 22 is a block diagram showing the configuration of the document output monitoring processing unit according to one embodiment of the present invention. In FIG. 22, the spool file 142 is generated in the client 300 by executing the printing. Then, the contents of the spool file 142 generated by the client 300 are transferred to the server 301 via the transfer module 143. At this time, the transfer module 143 transfers the contents of the spool file 142 to the server 30.
1 is output to the client transmission log 144.

【0115】サーバ301は、転送モジュール143か
ら送信されたスプールファイル142の内容を受信モジ
ュール148を介して受け取ると、サーバ301上にス
プールファイル147を生成する。この際、受信モジュ
ール148は、サーバ301上にスプールファイル14
7を生成したことを、サーバ受信ログ149に出力す
る。
When the server 301 receives the contents of the spool file 142 transmitted from the transfer module 143 via the receiving module 148, the server 301 generates a spool file 147 on the server 301. At this time, the receiving module 148 stores the spool file 14 on the server 301.
7 is output to the server reception log 149.

【0116】出力制御モジュール150は、スプールフ
ァイル147がサーバ301上に生成されると、出力を
開始することを出力開始終了ログ151へ書き出し、印
刷制御モジュール152にプリンタでの印刷を開始させ
る。プリンタでの印刷が完了すると、印刷制御モジュー
ル152は、プリンタでの印刷が完了したことを印刷ロ
グ153に出力し、出力制御モジュール150へ印刷完
了を通知する。その通知を受けた出力制御モジュール1
50は、出力が完了したことを出力開始終了ログ151
へ書き出す。
When the spool file 147 is generated on the server 301, the output control module 150 writes the output start to the output start / end log 151, and causes the print control module 152 to start printing on the printer. When printing by the printer is completed, the print control module 152 outputs the completion of printing by the printer to the print log 153, and notifies the output control module 150 of the completion of printing. Output control module 1 receiving the notification
Reference numeral 50 denotes an output start / end log 151 that the output has been completed.
Write to

【0117】通常の印刷では、上述した処理により、ク
ライアント300からサーバ301を経由したプリンタ
への印刷は完了する。一方、クライアント300から指
定されたプリンタが他サーバ304に対するものであっ
た場合には、サーバ301から他サーバ304に対し、
スプールファイル147の内容の転送が行われる。
In normal printing, printing from the client 300 to the printer via the server 301 is completed by the above-described processing. On the other hand, if the printer specified by the client 300 is for the other server 304, the server 301
The contents of the spool file 147 are transferred.

【0118】印刷するプリンタが他サーバ304の管轄
の場合、サーバ301の出力制御モジュール150は、
スプールファイル147の内容を転送モジュール154
を介して他サーバ304へ転送する。この際、転送モジ
ュール154は、スプールファイル147の内容を他サ
ーバ304へ転送したことを、サーバ送信ログ155に
出力する。
When the printer for printing is under the jurisdiction of the other server 304, the output control module 150 of the server 301
Transfer the contents of the spool file 147 to the transfer module 154
Is transferred to the other server 304 via. At this time, the transfer module 154 outputs to the server transmission log 155 that the contents of the spool file 147 have been transferred to the other server 304.

【0119】他サーバ304の受信モジュール158
は、サーバ301の転送モジュール154から送信され
たスプールファイル147の内容を受け取ると、他サー
バ304上にスプールファイル157を生成する。この
際、受信モジュール158は、サーバ301からスプー
ルファイル147の内容を受け取ったことを、サーバ受
信ログ159に出力する。
The receiving module 158 of the other server 304
Receives the contents of the spool file 147 transmitted from the transfer module 154 of the server 301, and generates the spool file 157 on the other server 304. At this time, the receiving module 158 outputs to the server reception log 159 that the contents of the spool file 147 have been received from the server 301.

【0120】他サーバ304の出力制御モジュール16
0は、スプールファイル157が生成されると、出力を
開始することを出力開終了ログ161へ書き出し、印刷
制御モジュール162にプリンタでの印刷を開始させ
る。プリンタでの印刷が完了すると、印刷制御モジュー
ル162は、プリンタでの印刷が完了したことを印刷ロ
グ163に出力し、出力制御モジュール160へ印刷完
了を通知する。その通知を受けた出力制御モジュール1
60は、出力が完了したことを出力開始終了ログへ16
1書き出す。
Output control module 16 of other server 304
0 indicates that when the spool file 157 is generated, the start of output is written to the output open end log 161 and the print control module 162 starts printing on the printer. When printing by the printer is completed, the print control module 162 outputs the completion of printing by the printer to the print log 163, and notifies the output control module 160 of the completion of printing. Output control module 1 receiving the notification
60 indicates that the output has been completed to the output start / end log 16
Write out one.

【0121】クライアント300からサーバ301への
転送及び印刷までの過程は、サーバ301から他サーバ
304への転送及び印刷までの過程と同じ制御となる。
また、例えば、WANに接続されているサーバ間の転送
等、支店から本店のプリンタへ向けて印刷を行う場合に
おいて、送受信が可能な限られているマシン間でスプー
ルファイルを転送し、そこから指定のプリンタに印刷可
能なサーバへの転送が行われることがある。このよう
に、他サーバ304から別のサーバへの転送がさらに発
生する場合は、上述した転送処理が繰り返し行われる。
The process from the transfer from the client 300 to the server 301 until printing is the same as the process from the server 301 to the server 304 until printing.
Further, for example, when printing is performed from a branch to a printer at the head office, such as transfer between servers connected to a WAN, a spool file is transferred between machines that can transmit and receive data, and designated from there. May be transferred to a server that can print to another printer. As described above, when the transfer from another server 304 to another server further occurs, the above-described transfer processing is repeatedly performed.

【0122】図22の処理では、クライアント300→
サーバ301→他サーバ304におけるスプールファイ
ル142、147、157の処理過程(結果)を示すロ
グが、クライアント送信ログ144、サーバ受信ログ1
49、出力開始終了ログ151、印刷ログ153、サー
バ送信ログ155、サーバ受信ログ159、出力開始終
了ログ161、印刷ログ163に出力されたことにな
る。ログ追跡モジュール145が、これらの個々のログ
から、これらの順番に情報を取得し、1回の印刷実行に
対する情報に関連付けることにより、異なるマシン間で
の印刷の開始から終了までの過程を全て追尾することが
可能となる。
In the processing of FIG. 22, the client 300 →
A log indicating the processing process (result) of the spool files 142, 147, and 157 in the server 301 → other server 304 is a client transmission log 144 and a server reception log 1
49, output start and end log 151, print log 153, server transmission log 155, server reception log 159, output start and end log 161, and print log 163. The log tracking module 145 obtains information from these individual logs in this order and correlates the information with information for one printing execution, thereby tracking the entire process from the start to the end of printing between different machines. It is possible to do.

【0123】このように、クライアント300での印刷
開始、サーバ301、304での印刷実行までの経過、
及び印刷実行結果をそれぞれログに格納し、ユーザが認
識可能であるドキュメント出力処理をキーとして、それ
らの情報が格納された複数のログの情報表示や操作など
の処理を可能としている。このことにより、出力装置を
制御するサーバがネットワーク上に複数存在するシステ
ムにおいて、利用者が投入した複数の出力装置に対する
複数のドキュメント出力処理を、出力装置ではなくドキ
ュメント出力処理を主体に監視(状態監視、結果監視)
することが可能となる。この結果、ユーザは、自分が投
入した印刷処理を、リアルタイムで監視することが可能
となるとともに、エラー発生時に、プリンタを変更した
り、頁を指定しての再印刷を行わせたりする指示を、簡
単、安全、かつ的確に行うことが可能となる。
As described above, the process from the start of printing on the client 300 to the execution of printing on the servers 301 and 304,
The print execution result is stored in a log, and a document output process recognizable by the user is used as a key to enable processing such as information display and operation of a plurality of logs storing the information. As a result, in a system in which a plurality of servers that control output devices exist on a network, a plurality of document output processes for a plurality of output devices input by a user are monitored mainly by the document output process instead of the output devices (status Monitoring, result monitoring)
It is possible to do. As a result, the user can monitor the print processing input by the user in real time, and when an error occurs, instructs to change the printer or to perform reprinting by specifying a page. , Simple, safe, and accurate.

【0124】図23は、ログ情報の追跡の流れを示すブ
ロック図である。図23において、クライアント300
によりクライアント送信ログ144が生成され、サーバ
301によりサーバ受信ログ149、出力開始終了ログ
151、印刷ログ153及びサーバ送信ログ155が生
成され、他サーバ304によりサーバ受信ログ159、
出力開始終了ログ161及び印刷ログ163が生成され
ている。そして、ログ追跡モジュール145により、ク
ライアント送信ログ144、サーバ受信ログ149、出
力開始終了ログ151、印刷ログ153、サーバ送信ロ
グ155、サーバ受信ログ159、出力開始終了ログ1
61及び印刷ログ163が順次に追跡される。
FIG. 23 is a block diagram showing the flow of log information tracking. In FIG. 23, the client 300
Generates a client transmission log 144, the server 301 generates a server reception log 149, an output start / end log 151, a print log 153, and a server transmission log 155, and the other server 304 generates a server reception log 159,
An output start / end log 161 and a print log 163 have been generated. The log tracking module 145 causes the client transmission log 144, the server reception log 149, the output start / end log 151, the print log 153, the server transmission log 155, the server reception log 159, and the output start / end log 1
61 and the print log 163 are sequentially tracked.

【0125】図24は、ログファイルに収めるログ情報
の内容例を示す図である。図22及び図23には、クラ
イアント送信ログ144、サーバ受信ログ149、出力
開始終了ログ151、印刷ログ153、サーバ送信ログ
155、サーバ受信ログ159、出力開始終了ログ16
1及び印刷ログ163の8種類のログが存在するが、こ
れらのログ情報の構造は、以下に示すように、全て共通
となっている。
FIG. 24 is a diagram showing an example of the contents of log information contained in a log file. FIGS. 22 and 23 show a client transmission log 144, a server reception log 149, an output start / end log 151, a print log 153, a server transmission log 155, a server reception log 159, and an output start / end log 16
There are eight types of logs, i.e., a print log 1 and a print log 163, but the structures of these log information are all common as shown below.

【0126】図24において、「ログ情報の種類」17
0には、ログ情報の種類を示すコードを格納する。例え
ば、クライアント送信ログ144には、「ログ情報の種
類」170として送信ログ(クライアント)を示すコー
ドを格納し、サーバ受信ログ149、159には、「ロ
グ情報の種類」170として受信ログ(サーバ)を示す
コードを格納し、出力開始終了ログ151、161に
は、「ログ情報の種類」170として出力開始終了ログ
(サーバ)を示すコードを格納し、印刷ログ153、1
63には、「ログ情報の種類」170として印刷ログ
(サーバ)を示すコードを格納し、サーバ送信ログ15
5には、「ログ情報の種類」170として送信ログ(サ
ーバ)を示すコードを格納する。
In FIG. 24, “type of log information” 17
In 0, a code indicating the type of log information is stored. For example, in the client transmission log 144, a code indicating the transmission log (client) is stored as the “log information type” 170, and in the server reception logs 149 and 159, the reception log (server) is stored as the “log information type” 170. ) Is stored in the output start and end logs 151 and 161, and a code indicating the output start and end log (server) is stored as the “type of log information” 170, and the print logs 153 and 161 are stored.
63 stores a code indicating a print log (server) as the “type of log information” 170, and stores the code in the server transmission log 15.
5 stores a code indicating a transmission log (server) as “type of log information” 170.

【0127】「サーバ上の識別子」171には、サーバ
上でユニークに割り当てられる通し番号を格納する。な
お、サーバ上の識別子171は、サーバが受信したとき
に割り当てる番号である。
The “identifier on server” 171 stores a serial number uniquely assigned on the server. Note that the identifier 171 on the server is a number assigned when the server receives it.

【0128】「クライアント上の識別子」172には、
印刷を実行したクライアント上でユニークに割り当てら
れる通し番号を格納する。
The “identifier on the client” 172 includes
Stores a serial number uniquely assigned on the client that executed printing.

【0129】「クライアントのホスト名」173には、
印刷を実行したクライアントのホスト名称を格納する。
The “client host name” 173 includes
Stores the host name of the client that executed printing.

【0130】「出力先名(プリンタ等)」174には、
印刷の出力先の名称を格納する。例えば、「出力先名
(プリンタ等)」174にプリンタ名が格納されると、
サーバ経由で印刷が行われる。また、「出力先名(プリ
ンタ等)」174に他サーバ管轄のプリンタが格納され
ると、サーバ間を経由した印刷が行われる。
The “output destination name (printer etc.)” 174 includes
Stores the name of the print output destination. For example, when the printer name is stored in “output destination name (printer or the like)” 174,
Printing is performed via the server. When a printer under the control of another server is stored in the “output destination name (printer or the like)” 174, printing is performed between servers.

【0131】「出力情報」175には、印刷実行時に指
定した印刷物固有のジョブタイトル名(文書や表のドキ
ュメント名)177、ユーザ名178、用紙サイズ17
9、出力部数180、出力頁順181、出力開始頁番号
182、出力終了頁番号183、出力終了日時184、
出力結果コード185などが格納される。この「出力情
報」175は、印刷物の内容を確認する際の表示用の情
報として使用される。
The “output information” 175 includes a job title name (document name of a document or a table) 177, a user name 178, and a paper size 17 unique to a printed material specified at the time of printing.
9, output copy number 180, output page order 181, output start page number 182, output end page number 183, output end date and time 184,
The output result code 185 and the like are stored. This “output information” 175 is used as display information when confirming the content of the printed matter.

【0132】「制御情報」176には、通常/配布/分
散等の印刷の種類を示す動作モード186や、通常/日
時/遅延等の印刷出力のタイミングを示す出力モード1
87や保存モード188などが格納される。「制御情
報」176は、印刷の実行を制御する情報として使用さ
れ、どのような制御下で印刷が行われたかを確認する際
に有効となる。
The “control information” 176 includes an operation mode 186 indicating a print type such as normal / distribution / distribution, and an output mode 1 indicating print output timing such as normal / date / time / delay.
87 and the storage mode 188 are stored. The “control information” 176 is used as information for controlling execution of printing, and is effective when confirming under what control printing has been performed.

【0133】なお、異なるマシン間でのログ情報は、
「クライアント上の識別子」172と「クライアントの
ホス173ト名」とのセットで関連付けることができ
る。
Note that log information between different machines is
It can be associated with a set of “identifier on client” 172 and “client host 173 name”.

【0134】このように、異なる処理でも同一構造のロ
グ情報に格納することにより、処理結果の記憶装置への
入出力を共通に扱うことが可能となる。
As described above, even when different processes are stored in the log information having the same structure, it is possible to commonly handle input and output of the processing results to and from the storage device.

【0135】図25は、本発明の一実施例に係わるドキ
ュメント出力監視方法を示すフローチャートである。図
25において、ログ追跡モジュール145は、ログ追跡
を開始するクライアント300上のクライアント送信ロ
グ144からログ情報を獲得する(ステップS41)。
FIG. 25 is a flowchart showing a document output monitoring method according to one embodiment of the present invention. In FIG. 25, the log tracking module 145 acquires log information from the client transmission log 144 on the client 300 that starts log tracking (step S41).

【0136】次に、印刷の実行によりスプールファイル
142を転送する送信先のサーバ301のサーバ名称
を、クライアント送信ログ144のログ情報から獲得す
る(ステップS42)。
Next, the server name of the destination server 301 to which the spool file 142 is transferred by executing printing is obtained from the log information of the client transmission log 144 (step S42).

【0137】次に、同じクライアント300のホスト名
173と識別子172を持つログ情報を、送信先サーバ
301上のサーバ受信ログ149から獲得する(ステッ
プS43)。
Next, log information having the host name 173 and the identifier 172 of the same client 300 is obtained from the server reception log 149 on the destination server 301 (step S43).

【0138】次に、サーバ301の出力開始終了ログ1
51から、出力開始情報を獲得する(ステップS4
4)。
Next, the output start / end log 1 of the server 301
51, the output start information is obtained (step S4).
4).

【0139】次に、同じクライアント300のホスト名
173と識別子172を持つログ情報を以降のログの中
から検索する際の検索開始日時として、出力開始終了ロ
グ151から獲得した出力開始情報の出力終了日時18
4をセットする(ステップS45)。
Next, the output end of the output start information obtained from the output start end log 151 is set as the search start date and time when the log information having the host name 173 and the identifier 172 of the same client 300 is searched from the subsequent logs. Date 18
4 is set (step S45).

【0140】次に、出力開始終了ログ151から、出力
終了情報を獲得する(ステップS46)。この出力終了
情報は、出力が完了している場合にのみ取得することが
可能である。
Next, output end information is obtained from the output start / end log 151 (step S46). This output end information can be obtained only when the output has been completed.

【0141】次に、出力開始終了ログ151のログ情報
の中に出力終了情報が有るならば(ステップS47)、
検索終了日時として、出力開始終了ログ151から獲得
した出力終了情報の出力終了日時をセットする(ステッ
プS48)。
Next, if the output end information is included in the log information of the output start / end log 151 (step S47),
The output end date and time of the output end information acquired from the output start and end log 151 is set as the search end date and time (step S48).

【0142】次に、出力開始終了ログ151から獲得し
た出力開始情報の出力先名174がプリンタの場合(ス
テップS49)、同じプリンタ(出力先)で、かつ同じ
クライアント300のホスト名173と識別子172を
持ち、検索開始日時と検索終了日時との間の出力終了日
時184を格納しているログ情報を、印刷ログ153か
ら検索する(ステップS50)。
Next, when the output destination name 174 of the output start information obtained from the output start / end log 151 is a printer (step S49), the host name 173 and the identifier 172 of the same printer (output destination) and the same client 300 are used. The log information storing the output end date / time 184 between the search start date / time and the search end date / time is searched from the print log 153 (step S50).

【0143】サーバ301からプリンタへの印刷が完了
していれば(ステップS51)、以上の処理によりログ
の追尾は終了する。出力開始終了ログ151から獲得し
た出力開始情報の出力先名174がプリンタでなく、サ
ーバ301から他サーバ304へスプールファイル14
7が転送されている場合(ステップS49)、サーバ3
01上のサーバ送信ログ155からログ情報を獲得する
(ステップS52)。そして、転送した送信先の他サー
バ名称をサーバ送信ログ155のログ情報から獲得し
(ステップS53)、ステップS43に戻ることによ
り、他サーバ304は、サーバ301で行われた処理と
同様の処理を開始する。
If the printing from the server 301 to the printer has been completed (step S51), the log tracking is completed by the above processing. If the output destination name 174 of the output start information obtained from the output start end log 151 is not a printer, the spool file 14 is sent from the server 301 to the other server 304.
7 has been transferred (step S49), the server 3
The log information is acquired from the server transmission log 155 on the server 01 (step S52). Then, the other server 304 acquires the transferred other server name from the log information of the server transmission log 155 (step S53), and returns to step S43, so that the other server 304 performs the same processing as the processing performed by the server 301. Start.

【0144】以上の処理を、印刷が完了もしくは未だ印
刷がされていないと判別するまで繰り返し(ステップS
51)、サーバを変えて追尾する。
The above processing is repeated until it is determined that printing has been completed or that printing has not been performed yet (step S
51), change the server and track.

【0145】クライアントのホスト名173と識別子1
72とが同じスプールファイル142について、サーバ
301上での複数回印刷を指定しても、出力開始終了ロ
グ151の開始と終了の日時を得ることにより、ログ情
報の検索範囲を限定することができる。また、検索範囲
を限定することにより、検索時間を短縮することができ
る。
The client host name 173 and identifier 1
Even if the spool file 142 is designated to be printed a plurality of times on the server 301 for the same spool file 142, the log information search range can be limited by obtaining the start and end dates and times of the output start / end log 151. . In addition, the search time can be reduced by limiting the search range.

【0146】このように、異なる処理の結果である情報
に関連付けを行い、その関連づけに基づいて送信元を辿
ることにより、送信先での処理の結果を送信元に知らせ
ることが可能となり、クライアント300は、プリンタ
がどのサーバ301、304で管理されているのかを意
識することなく、印刷要求を行うことが可能となるとと
もに、いずれのサーバ301、304において印刷が行
われた場合においても、クライアント300は、印刷状
況を把握することが可能となる。
In this way, by associating information that is a result of a different process and tracing the source based on the association, it is possible to inform the source of the result of the process at the destination. Makes it possible to make a print request without being conscious of which server 301 or 304 the printer is managed by, and even if any of the servers 301 and 304 performs printing, the client 300 Can grasp the printing status.

【0147】また、情報の1つに対応する処理が終了し
た日時を取得することにより、それに続く処理の情報を
その日時以降を条件として検索することが可能となる。
Further, by obtaining the date and time when the process corresponding to one of the information is completed, it is possible to search for the information of the subsequent process on the basis of the date and after.

【0148】また、特定の処理においては、処理の開始
と終了に対する情報を集めることで、それに続く処理の
情報が完了しているかどうかを、それに続く処理の情報
を得ることなしに確認することができる。
In a specific process, by collecting information on the start and end of the process, it is possible to confirm whether or not the information on the subsequent process is completed without obtaining information on the subsequent process. it can.

【0149】さらに、処理の開始と終了の日時を得るこ
とにより、それに続く処理の情報から関連する情報を検
索する際に、範囲を指定した検索を行うことが可能とな
る。
Further, by obtaining the start and end dates and times of the processing, it is possible to perform a search specifying a range when searching for the related information from the information of the subsequent processing.

【0150】[0150]

【発明の効果】請求項1記載の発明または請求項11記
載の発明によれば、定められた共通データ形式の描画デ
ータと、その描画データの出力先制御機能に関する印刷
条件とを、それぞれ独立してスプールファイルに保存、
および読み出しできるようにしたので、前記描画データ
に基づいて従来と互換性のある標準印刷機能部分を独立
して処理し、前記印刷条件に基づいて、新たに追加した
出力先制御に関する従来と互換性の無い拡張印刷機能を
独立して処理することができ、前記定められた共通デー
タ形式に対応したアプリケーションプログラムであれば
どのようなアプリケーションプログラムであってもプロ
グラム内容を修正することなく前記新たに追加した出力
先制御機能を利用することができ、また、前記定められ
た共通データ形式に対応したデバイスドライバプログラ
ムを有する出力装置であればどのような出力装置であっ
てもそのデバイスドライバプログラムの内容を修正する
ことなく前記新たに追加した出力先制御機能を利用する
ことができる。
According to the first or eleventh aspect of the present invention, the drawing data of the determined common data format and the printing conditions relating to the output destination control function of the drawing data are made independent of each other. Save to spool file,
And can be read out, so that the standard print function part compatible with the conventional one is independently processed based on the drawing data, and based on the printing conditions, the compatibility with the conventional one concerning the newly added output destination control is controlled. The extended printing function without any can be processed independently, and any application program corresponding to the above defined common data format can be newly added without modifying the program contents. The output destination control function can be used, and the contents of the device driver program can be used for any output device having a device driver program corresponding to the predetermined common data format. The newly added output destination control function can be used without modification.

【0151】請求項2記載の発明によれば、さらに、印
刷を依頼するコンピュータ装置や、印刷装置を直接管理
するコンピュータ装置や、依頼された印刷データの出力
先を制御するコンピュータ装置が、ネットワーク上に分
散している場合であっても、前記出力先制御機能を利用
できる。
According to the second aspect of the present invention, a computer device for requesting printing, a computer device for directly managing the printing device, and a computer device for controlling the output destination of the requested print data are provided on a network. , The output destination control function can be used.

【0152】請求項3記載の発明によれば、さらに、ネ
ットワーク上に接続された複数の出力装置に対する指定
配布機能や分散出力機能等を、前記新たな拡張機能とし
て従来の印刷システム上に容易に追加構築することが可
能となる。
According to the third aspect of the present invention, a designated distribution function and a distributed output function for a plurality of output devices connected on a network can be easily provided on a conventional printing system as the new extended function. Additional construction is possible.

【0153】請求項4記載の発明によれば、さらに、ネ
ットワーク上に接続された複数のクライアントコンピュ
ータからの印刷依頼に対して、前記新たに追加拡張され
た出力制御機能を提供することが可能となる。
According to the fourth aspect of the present invention, the newly added and extended output control function can be provided in response to a print request from a plurality of client computers connected on a network. Become.

【0154】請求項5記載の発明によれば、さらに、各
コンピュータ装置で使用するオペレーティングシステム
に予め備わっていなかった描画データの出力制御機能
を、アプリケーションプログラムやデバイスドライバプ
ログラムに影響を与えることなく容易に追加、拡張する
ことができる。
According to the fifth aspect of the present invention, the output control function of drawing data, which is not provided in advance in the operating system used in each computer, can be easily performed without affecting the application program and the device driver program. Can be added or extended.

【0155】請求項6記載の発明によれば、さらに、描
画データの出力先を様々な方法で制御できるので、ネッ
トワークを利用した印刷システムの利用範囲を広げ、有
効かつ効率良く利用することができる。
According to the invention, the output destination of the drawing data can be controlled by various methods, so that the use range of the printing system using the network can be expanded, and the printing system can be used effectively and efficiently. .

【0156】請求項7記載の発明によれば、さらに、出
力先制御機能以外の基本的な印刷方法の指定は、従来と
同様に行うことができる。
According to the seventh aspect of the present invention, a basic printing method other than the output destination control function can be designated in the same manner as in the prior art.

【0157】請求項8記載の発明によれば、さらに、印
刷を依頼する際に仮想ドライバを指定することで、特定
の出力装置を指定しなくとも印刷システムで自動的に決
定された出力装置に対して標準印刷機能を用いて出力す
ることができ、印刷システムの環境を詳しく知らない利
用者であっても容易に印刷を行うことができる。
According to the eighth aspect of the present invention, by designating a virtual driver when requesting printing, it is possible to specify an output device automatically determined by the printing system without specifying a specific output device. On the other hand, output can be performed using the standard printing function, and even a user who does not know the environment of the printing system in detail can easily perform printing.

【0158】請求項9記載の発明によれば、さらに、追
加された出力先制御機能に関する印刷条件は、アプリケ
ーションプログラムによらず、対話画面上での利用者の
入力に基づいて独自に設定することができる。
According to the ninth aspect of the present invention, the printing conditions relating to the added output destination control function can be independently set based on a user's input on an interactive screen without depending on an application program. Can be.

【0159】請求項10記載の発明によれば、共通デー
タ形式の描画データに含まれる文字情報に応じて自動的
に配布先を決定することができ、利用者がその都度配布
先を指定することなしに1回の印刷指示を行うだけで、
予め設定された検索条件に基づいて該当する全ての配布
先で自動的に印刷を行うことができる。
According to the tenth aspect, the distribution destination can be automatically determined according to the character information included in the drawing data in the common data format, and the user can specify the distribution destination each time. Just give one print instruction without
Printing can be automatically performed at all applicable distribution destinations based on preset search conditions.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例に係わる印刷システムの構成
を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printing system according to an embodiment of the present invention.

【図2】図1のクライアント制御部の構成を説明するブ
ロック図である。
FIG. 2 is a block diagram illustrating a configuration of a client control unit in FIG.

【図3】図1のサーバ制御部の構成を説明するブロック
図である。
FIG. 3 is a block diagram illustrating a configuration of a server control unit in FIG. 1;

【図4】図1のプリンタ出力制御部の構成を説明するブ
ロック図である。
FIG. 4 is a block diagram illustrating a configuration of a printer output control unit in FIG.

【図5】仮想ドライバの動作を説明するブロック図であ
る。
FIG. 5 is a block diagram illustrating an operation of a virtual driver.

【図6】ジョブ記述ファイルの内容例を示す図である。FIG. 6 illustrates an example of the contents of a job description file.

【図7】出力制御ファイルの内容例を示す図である。FIG. 7 is a diagram showing an example of the contents of an output control file.

【図8】仮想ドライバの動作を示すフローチャートであ
る。
FIG. 8 is a flowchart showing the operation of the virtual driver.

【図9】DEVMODE情報の設定画面を示す図であ
る。
FIG. 9 is a diagram showing a setting screen of DEVMODE information.

【図10】自動配布情報の設定画面を示す図である。FIG. 10 is a diagram showing a setting screen of automatic distribution information.

【図11】本発明の一実施例に係わる検索領域の指定方
法を説明する図である。
FIG. 11 is a diagram illustrating a method for specifying a search area according to an embodiment of the present invention.

【図12】指定配布情報の設定画面を示す図である。FIG. 12 is a view showing a setting screen of designated distribution information.

【図13】本発明の一実施例に係わる分散印刷情報の設
定画面を示す図である。
FIG. 13 is a view showing a setting screen of distributed print information according to an embodiment of the present invention.

【図14】CAPCALプリントプロセッサの構成を示
すブロック図である。
FIG. 14 is a block diagram illustrating a configuration of a CAPCAL print processor.

【図15】CAPCALジョブ記述ファイルの内容例を
示す図である。
FIG. 15 is a diagram illustrating an example of the contents of a CAPCAL job description file.

【図16】CAPCALプリントプロセッサの動作を示
すフローチャートである。
FIG. 16 is a flowchart showing the operation of the CAPCAL print processor.

【図17】本発明の一実施例に係わる自動配布処理を説
明するブロック図である。
FIG. 17 is a block diagram illustrating an automatic distribution process according to an embodiment of the present invention.

【図18】自動配布時における検索条件例を示す図であ
る。
FIG. 18 is a diagram showing an example of search conditions at the time of automatic distribution.

【図19】本発明の一実施例に係わる自動配布処理の動
作を示すフローチャートである。
FIG. 19 is a flowchart illustrating an operation of an automatic distribution process according to an embodiment of the present invention.

【図20】本発明の一実施例に係わる指定配布処理を説
明するブロック図である。
FIG. 20 is a block diagram illustrating a designated distribution process according to an embodiment of the present invention.

【図21】本発明の一実施例に係わる指定配布処理の動
作を示すフローチャートである。
FIG. 21 is a flowchart illustrating an operation of a designated distribution process according to an embodiment of the present invention.

【図22】本発明の一実施例に係わるドキュメント出力
監視処理部の構成を示すブロック図である。
FIG. 22 is a block diagram illustrating a configuration of a document output monitoring processing unit according to an embodiment of the present invention.

【図23】ログ情報の追跡の流れを示すブロック図であ
る。
FIG. 23 is a block diagram showing a flow of log information tracking.

【図24】ログ情報の内容例を示す図である。FIG. 24 is a diagram illustrating an example of the content of log information.

【図25】本発明の一実施例に係わるドキュメント出力
監視方法を示すフローチャートである。
FIG. 25 is a flowchart illustrating a document output monitoring method according to an embodiment of the present invention.

【図26】従来の印刷方法を説明するブロック図であ
る。
FIG. 26 is a block diagram illustrating a conventional printing method.

【図27】従来の分散印刷方法を説明するブロック図で
ある。
FIG. 27 is a block diagram illustrating a conventional distributed printing method.

【符号の説明】[Explanation of symbols]

300 クライアント 301、304 サーバ 302、303、28、29、44 通信回線 1 アプリケーション 2、7 GDI 3、5 Windows印刷制御部 4 クライアント制御部 6 サーバ制御部 8 プリンタ出力制御部 9 プリンタ 11 スプーラプロセス 12 プロバイダ 13、47 プリントプロセッサ 14 仮想ドライバ 15 CAPCALドライバプロパティ制御スレッド 16 システムスプールキュー 17 出力制御ファイル 18 ジョブ記述ファイル 19、24、35、40 EMFファイル 20 CAPCALクライアント定義ファイル 21 CAPCALプリントプロセッサ 22 CAPCALスプールキュー 23、34、39 CAPCALジョブ記述ファイル 25 CAPCAL転送先定義ファイル 26 CAPCALクライアントメインプロセス 27 CAPCALジョブ転送スレッド 30、31 CAPCAL受信スレッド 32 CAPCALサーバメインプロセス 33 CAPCALスプールドキュメントキュー 36 CAPCALサーバ側定義ファイル 37 配布分散処理スレッド 38 CAPCALスプールプリンタキュー 41、42 プリンタ別出力スレッド 43 CAPCALジョブ転送スレッド 45 プリンタドライバ 46 Rawスプールファイル 48、51 セントロポートモニタ 49 スプーラプロセスメイン 50 プリンタ出力管理部 52、53 画面呼び出し 54 スプールシステム 55 ポートスレッド 57、142、147、157 スプールファイル 61 ジョブ記述ファイルヘッダ 62 DEVMODE情報 63 ジョブ記述ファイルフッタ 64 プリンタドライバプライベート情報 71 CAPCAL出力制御ファイルヘッダ 72 動作モード情報 73 文書付加情報 74 文書属性情報 75 出力制御情報 81 ユーザインターフェース 82 領域指定制御部 83、85 89、91 用紙 84、86、88、90、92 指定領域 87 仮想用紙 101 印刷データ読み込み制御部 102 印刷データ格納部 103 印刷データ構成部 104 CAPCALスプールファイル生成部 105 頁管理情報格納部 106 印刷ジョブ情報読み取り制御部 107 CAPCAL出力制御ファイル読み込み制御部 108 CAPCALユーザ情報読み込み制御部 109 CAPCALジョブ情報格納部 110 印刷ジョブ情報構成部 111 CAPCALジョブ記述ファイルヘッダ 112 Windowsジョブ情報 113 DEVMODE情報 114 出力制御情報 115 CAPCALユーザ情報 116 印刷データ頁管理情報 121 印刷ジョブ 122 文字列 123、132 レジストリ 124 検索条件 125 比較部 131 配布先情報 143、154 転送モジュール 144 クライアント送信ログ 145 ログ追跡モジュール 148、158 受信モジュール 149、159 サーバ受信ログ 150、160 出力制御モジュール 151、161 出力開始終了ログ 152、162 印刷制御モジュール 153、163 印刷ログ 155 サーバ送信ログ 170 ログ情報の種類 171 サーバ上の識別子 172 クライアント上の識別子 173 クライアントのホスト名 174 出力先名(プリンタ等) 175 出力情報 176 制御情報 177 ジョブタイトル名 178 ユーザ名 179 用紙サイズ 180 出力部数 181 出力頁順 182 出力開始頁番号 183 出力終了頁番号 184 出力終了日時 185 出力結果コード 186 動作モード 187 出力モード 188 保存モード 300 client 301, 304 server 302, 303, 28, 29, 44 communication line 1 application 2, 7 GDI 3, 5 Windows print control unit 4 client control unit 6 server control unit 8 printer output control unit 9 printer 11 spooler process 12 provider 13, 47 print processor 14 virtual driver 15 CAPCAL driver property control thread 16 system spool queue 17 output control file 18 job description file 19, 24, 35, 40 EMF file 20 CAPCAL client definition file 21 CAPCAL print processor 22 CAPCAL spool queue 23, 34, 39 CAPCAL job description file 25 CAPCAL transfer destination definition file 26 CAPCAL class Client main process 27 CAPCAL job transfer thread 30, 31 CAPCAL reception thread 32 CAPCAL server main process 33 CAPCAL spool document queue 36 CAPCAL server side definition file 37 Distribution distributed processing thread 38 CAPCAL spool printer queue 41, 42 Printer-specific output thread 43 CAPCAL job Transfer thread 45 Printer driver 46 Raw spool file 48, 51 Centro port monitor 49 Spooler process main 50 Printer output management unit 52, 53 Screen call 54 Spool system 55 Port thread 57, 142, 147, 157 Spool file 61 Job description file header 62 DEVMODE information 63 Job description file footer 64 Printer driver private information 71 CAPCAL output control file header 72 Operation mode information 73 Additional document information 74 Document attribute information 75 Output control information 81 User interface 82 Area designation control unit 83, 85 89, 91 Paper 84, 86, 88, 90, 92 Designated area 87 Virtual paper 101 Print data read control unit 102 Print data storage unit 103 Print data construction unit 104 CAPCAL spool file generation unit 105 Page management information storage unit 106 Print job information read control unit 107 CAPCAL output control file read control unit 108 CAPCAL user information reading control unit 109 CAPCAL job information storage unit 110 print job information configuration unit 111 CAPCAL job description file header 112 Window s job information 113 DEVMODE information 114 output control information 115 CAPCAL user information 116 print data page management information 121 print job 122 character string 123, 132 registry 124 search condition 125 comparison unit 131 distribution destination information 143, 154 transfer module 144 client transmission log 145 Log tracking module 148, 158 Reception module 149, 159 Server reception log 150, 160 Output control module 151, 161 Output start / end log 152, 162 Print control module 153, 163 Print log 155 Server transmission log 170 Type of log information 171 On server 172 Identifier on the client 173 Client host name 174 Output destination name (such as printer) 175 Output information 176 Control information 17 7 Job title name 178 User name 179 Paper size 180 Output copy number 181 Output page order 182 Output start page number 183 Output end page number 184 Output end date and time 185 Output result code 186 Operation mode 187 Output mode 188 Save mode

───────────────────────────────────────────────────── フロントページの続き (72)発明者 新堂 幸博 東京都羽村市栄町3丁目2番1号 カシオ 計算機株式会社羽村技術センター内 (72)発明者 波多野 英二 東京都羽村市栄町3丁目2番1号 カシオ 計算機株式会社羽村技術センター内 (72)発明者 天利 忠義 東京都羽村市栄町3丁目2番1号 カシオ 計算機株式会社羽村技術センター内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Yukihiro Shindo 3-2-1, Sakaemachi, Hamura-shi, Tokyo Casio Computer Co., Ltd. Hamura Technical Center (72) Inventor Eiji Hatano 3-2-1, Sakaemachi, Hamura-shi, Tokyo No. Casio Computer Co., Ltd. Hamura Technical Center (72) Inventor Tadayoshi Tenri 3-2-1 Sakaemachi, Hamura City, Tokyo Casio Computer Co., Ltd. Hamura Technical Center

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーションプログラムによって印
刷を依頼されたデータを、定められた共通データ形式の
描画データとしてスプールファイルに保存する描画デー
タ保存手段と、 前記描画データの出力先制御機能に関する印刷条件を設
定する印刷条件設定手段と、 前記印刷条件設定手段によって設定された印刷条件をス
プールファイルに保存する印刷条件保存手段と、 前記スプールファイルに保存された印刷条件を読み込
み、その印刷条件に応じて前記描画データの出力先を決
定する出力先決定手段と、 前記スプールファイルに保存された共通データ形式の描
画データを読み込み、その共通データ形式の描画データ
を前記出力先決定手段によって決定された出力先の出力
装置で処理可能な固有データ形式の出力データに変換
し、その変換された固有データ形式の出力データを前記
出力装置に出力する出力制御手段と、を備えたことを特
徴とする印刷システム。
1. A drawing data storage unit for storing data requested to be printed by an application program in a spool file as drawing data in a predetermined common data format, and setting print conditions for an output destination control function of the drawing data. Printing condition setting means for performing printing, printing condition setting means for storing the printing conditions set by the printing condition setting means in a spool file, reading the printing conditions stored in the spool file, and performing the drawing in accordance with the printing conditions. Output destination determining means for determining an output destination of data; reading drawing data in a common data format stored in the spool file; and outputting drawing data in the common data format to an output destination determined by the output destination determining means. Converts the data into output data in a unique data format that can be processed by the Printing system comprising: the output control means for outputting the output data of the specific data format that is to the output device.
【請求項2】 前記印刷システムは、ネットワーク接続
された複数のコンピュータ装置によって構成され、 前記共通データ形式の描画データおよび前記印刷条件が
保存された前記スプールファイルを、前記複数のコンピ
ュータ装置間で送受信する送受信手段と、を更に備えた
ことを特徴とする請求項1記載の印刷システム。
2. The printing system according to claim 1, wherein the printing system includes a plurality of computer devices connected to a network, and transmits and receives the drawing data in the common data format and the spool file storing the printing conditions between the plurality of computer devices. The printing system according to claim 1, further comprising: a transmitting / receiving unit that performs transmission and reception.
【請求項3】 前記出力先決定手段によって決定された
出力先の出力装置が、前記出力先決定手段を有するコン
ピュータ装置とは別のコンピュータ装置の管理する出力
装置であった場合には、前記共通データ形式の描画デー
タが保存されたスプールファイルを、前記送受信手段に
よって前記出力先の出力装置を管理するコンピュータ装
置へ送信し、 前記出力制御手段は、前記出力先の出力装置を管理する
コンピュータ装置によって前記スプールファイルに保存
された共通データ形式の描画データを読み込み、前記変
換処理および出力処理を行うことを特徴とする請求項2
記載の印刷システム。
3. When the output device of the output destination determined by the output destination determining unit is an output device managed by a computer device different from the computer device having the output destination determining unit, The spool file in which the drawing data in the data format is stored is transmitted by the transmission / reception unit to a computer device managing the output device of the output destination, and the output control unit is transmitted by the computer device managing the output device of the output destination. 3. The apparatus according to claim 2, wherein drawing data in a common data format stored in the spool file is read, and the conversion processing and the output processing are performed.
The printing system as described.
【請求項4】 前記印刷条件設定手段を有するコンピュ
ータ装置が、前記出力先決定手段を有するコンピュータ
装置とは別のコンピュータ装置であった場合には、前記
共通データ形式の描画データおよび前記印刷条件が保存
されたスプールファイルを、前記送受信手段によって前
記出力先決定手段を有するコンピュータ装置へ送信し、 該スプールファイルを受信した前記出力先決定手段を有
するコンピュータ装置によって前記スプールファイルに
保存された印刷条件を読み込み、その印刷条件に応じて
前記描画データの出力先を決定することを特徴とする請
求項2記載の印刷システム。
4. When the computer device having the printing condition setting means is a different computer device from the computer device having the output destination determining means, the drawing data in the common data format and the printing condition are The stored spool file is transmitted by the transmission / reception unit to the computer device having the output destination determination unit, and the print condition stored in the spool file is received by the computer device having the output destination determination unit that has received the spool file. 3. The printing system according to claim 2, wherein the image data is read and an output destination of the drawing data is determined according to the printing condition.
【請求項5】 前記定められた共通データ形式は、前記
印刷システムを構成する各コンピュータ装置が備えるオ
ペレーティングシステムで共通して認識可能なデータ形
式であり、 前記描画データ保存手段は、オペレーティングシステム
の有する機能によって、前記アプリケーションプログラ
ムによって印刷を依頼されたデータを、定められた共通
データ形式の描画データとしてスプールファイルに保存
し、 前記出力制御手段は、オペレーティングシステムによっ
て管理される各出力装置に固有のデバイスドライバプロ
グラムによって、前記共通データ形式の描画データを前
記出力装置で処理可能な固有データ形式の印刷データに
変換し、 前記描画データの出力先制御機能は、前記オペレーティ
ングシステムに標準的に備えられた印刷機能に対して新
たに追加、拡張される機能であることを特徴とする請求
項2記載の印刷システム。
5. The determined common data format is a data format that can be commonly recognized by an operating system included in each of the computer devices configuring the printing system, and the drawing data storage unit includes an operating system. By a function, data requested to be printed by the application program is stored in a spool file as drawing data in a predetermined common data format, and the output control means is a device unique to each output device managed by an operating system. The driver program converts the drawing data in the common data format into print data in a unique data format that can be processed by the output device. The output data destination control function of the drawing data is a printing function provided as standard in the operating system. For functions 3. The printing system according to claim 2, wherein the function is a function newly added or extended.
【請求項6】 前記描画データの出力先制御機能は、出
力先を任意に指定する指定配布機能、または自動的に出
力先を決定する自動配布機能、または描画データを複数
の出力装置で分散して出力させる分散出力機能であるこ
とを特徴とする請求項3記載の印刷システム。
6. The drawing data output destination control function includes a designated distribution function for arbitrarily specifying an output destination, an automatic distribution function for automatically determining an output destination, or a method for distributing drawing data among a plurality of output devices. 4. The printing system according to claim 3, wherein the printing system has a distributed output function of outputting the data.
【請求項7】 前記描画データ保存手段は、印刷方法を
指定する印刷情報を前記描画データと共にスプールファ
イルに保存し、 前記出力制御手段は、前記描画データと共にスプールフ
ァイルに保存された前記印刷情報を読み込み、その印刷
情報に基づいて自己の管理する出力装置における前記描
画データの印刷方法を制御することを特徴とする請求項
3記載の印刷システム。
7. The drawing data storage means stores print information specifying a printing method together with the drawing data in a spool file, and the output control means stores the print information stored in the spool file together with the drawing data. 4. The printing system according to claim 3, wherein the printing system reads the drawing data and controls a printing method of the drawing data in an output device managed by the printing device based on the read printing information.
【請求項8】 仮想ドライバを指定する仮想ドライバ指
定手段と、 前記仮想ドライバが指定された際には、出力装置に依存
しない標準印刷方法を前記印刷情報に設定し、 前記出力制御手段は、前記印刷情報に基づいて出力装置
の有する標準印刷機能を制御するようにしたことを特徴
とする請求項7記載の印刷システム。
8. A virtual driver designating unit for designating a virtual driver, and when the virtual driver is designated, a standard printing method independent of an output device is set in the print information. The printing system according to claim 7, wherein a standard printing function of the output device is controlled based on the printing information.
【請求項9】 前記印刷条件設定手段は、前記仮想ドラ
イバにより表示された対話画面上で利用者から入力され
た印刷条件を設定するようにしたことを特徴とする請求
項8記載の印刷システム。
9. The printing system according to claim 8, wherein said printing condition setting means sets a printing condition input by a user on an interactive screen displayed by said virtual driver.
【請求項10】 前記出力先決定手段は、 配布先名と出力装置名との対応関係を記述した配布先定
義テーブルと、 前記印刷条件に含まれる検索条件に基づいて、前記描画
データから文字列を抽出する文字列抽出手段と、 前記文字列抽出手段によりより抽出された文字列と、前
記配布先定義テーブルに記述された配布先名とを比較す
る比較手段とを備え、 前記配布先名と一致する文字列が抽出された描画データ
の出力先を、前記配布先名に対応する出力装置に決定す
るようにしたことを特徴とする請求項1乃至7のいずれ
か1項に記載の印刷システム。
10. A distribution destination definition table describing a correspondence between a distribution destination name and an output device name, and a character string from the drawing data based on a search condition included in the print condition. Character string extraction means for extracting the distribution destination name described in the distribution destination definition table, and a character string extracted by the character string extraction means, The printing system according to any one of claims 1 to 7, wherein an output destination of the drawing data from which the matching character string is extracted is determined to an output device corresponding to the distribution destination name. .
【請求項11】 アプリケーションプログラムによって
印刷を依頼されたデータを、定められた共通データ形式
の描画データとしてスプールファイルに保存するための
コンピュータが実行可能なプログラムコードと、 前記描画データの出力先制御機能に関する印刷条件を設
定するためのコンピュータが実行可能なプログラムコー
ドと、前記印刷条件設定手段によって設定された印刷条
件をスプールファイルに保存するためのコンピュータが
実行可能なプログラムコードと、 前記スプールファイルに保存された印刷条件を読み込
み、その印刷条件に応じて前記描画データの出力先を決
定するためのコンピュータが実行可能なプログラムコー
ドと、 前記スプールファイルに保存された共通データ形式の描
画データを読み込み、その共通データ形式の描画データ
を前記出力先決定手段によって決定された出力先の出力
装置で処理可能な固有データ形式の出力データに変換
し、その変換された固有データ形式の出力データを前記
出力装置に出力するためのコンピュータが実行可能なプ
ログラムコードと、 を含むプログラムを格納したことを特徴とする記録媒
体。
11. A computer-executable program code for storing data requested to be printed by an application program in a spool file as drawing data in a predetermined common data format, and an output destination control function of the drawing data. A computer-executable program code for setting print conditions related to the print condition, a computer-executable program code for storing print conditions set by the print condition setting means in a spool file, and storing in the spool file Read the printing conditions, read the drawing data in a common data format stored in the spool file, and a computer-executable program code for determining the output destination of the drawing data according to the printing conditions. Common data format For converting the drawing data into output data in a unique data format that can be processed by the output device at the output destination determined by the output destination determining means, and outputting the converted output data in the unique data format to the output device. A recording medium storing a program including: a program code executable by the computer;
JP2000366697A 2000-12-01 2000-12-01 Printing system Expired - Lifetime JP3399461B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000366697A JP3399461B2 (en) 2000-12-01 2000-12-01 Printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000366697A JP3399461B2 (en) 2000-12-01 2000-12-01 Printing system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP9313178A Division JPH11143661A (en) 1997-11-14 1997-11-14 Printing system

Publications (2)

Publication Number Publication Date
JP2001216109A true JP2001216109A (en) 2001-08-10
JP3399461B2 JP3399461B2 (en) 2003-04-21

Family

ID=18837273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000366697A Expired - Lifetime JP3399461B2 (en) 2000-12-01 2000-12-01 Printing system

Country Status (1)

Country Link
JP (1) JP3399461B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007179311A (en) * 2005-12-28 2007-07-12 Canon Marketing Japan Inc Print controller, print control method, print control program and storage medium storing computer-readable program
US7609400B2 (en) * 2002-03-12 2009-10-27 Canon Kabushiki Kaisha Program, recording medium, information processing apparatus, and printing data processing method
JP2010157208A (en) * 2008-12-02 2010-07-15 Ricoh Co Ltd Data processing apparatus, printer network system, data processing method, program, and recording medium
JP2015053072A (en) * 2008-12-02 2015-03-19 株式会社リコー Data processor, printing system, data processing method, program, and recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7609400B2 (en) * 2002-03-12 2009-10-27 Canon Kabushiki Kaisha Program, recording medium, information processing apparatus, and printing data processing method
JP2007179311A (en) * 2005-12-28 2007-07-12 Canon Marketing Japan Inc Print controller, print control method, print control program and storage medium storing computer-readable program
JP2010157208A (en) * 2008-12-02 2010-07-15 Ricoh Co Ltd Data processing apparatus, printer network system, data processing method, program, and recording medium
JP2015053072A (en) * 2008-12-02 2015-03-19 株式会社リコー Data processor, printing system, data processing method, program, and recording medium

Also Published As

Publication number Publication date
JP3399461B2 (en) 2003-04-21

Similar Documents

Publication Publication Date Title
JP4240690B2 (en) Information processing apparatus, information processing method, information processing system, and recording medium
US8958095B2 (en) Relay server, relay server control method, and storage medium
US7088462B2 (en) Print manager having a user interface for specifying how documents are directed to print devices
JP5293035B2 (en) Data processing apparatus, data processing method, program, and recording medium
US20070153322A1 (en) Peripheral device output job routing
JP5782865B2 (en) Printer driver
JP2000137590A (en) Information processor/procesing method/system, storage medium storing information processing program, transmission device transmitting information processing program and information processing program product
US7149826B2 (en) Peripheral device output job routing
JP2008015922A (en) Information processor and peripheral device control method
JP2004005088A (en) Information processor
US6809841B2 (en) Marking print documents for visible ownership
JP2001318771A (en) Image processor
JPH11143661A (en) Printing system
JP2002373064A (en) Printer and information processor
JP3399461B2 (en) Printing system
JP3257588B2 (en) Print data generation apparatus and print data generation method
JPWO2006006302A1 (en) Print system, printer server, print execution program, and print document management system
JP2001075747A (en) Printing system and computer readable recording medium stored with printing control program
US20060119886A1 (en) Print control unit and a print control program
JP2001154961A (en) Device and method for outputting document
JP3823534B2 (en) Printing system
JP3536668B2 (en) Printing control device
JP4861841B2 (en) Print data generation apparatus, print data generation method, printer driver program, document data generation server, document data generation method, document data generation program, and print data generation system
JP2008027217A (en) Printing system with information processor and printing apparatus
JP2003085159A (en) Document processor and image output device and method thereof

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090221

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090221

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100221

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110221

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110221

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120221

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120221

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130221

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130221

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140221

Year of fee payment: 11

EXPY Cancellation because of completion of term