JP2007156532A - Server device and its control method - Google Patents

Server device and its control method Download PDF

Info

Publication number
JP2007156532A
JP2007156532A JP2005346768A JP2005346768A JP2007156532A JP 2007156532 A JP2007156532 A JP 2007156532A JP 2005346768 A JP2005346768 A JP 2005346768A JP 2005346768 A JP2005346768 A JP 2005346768A JP 2007156532 A JP2007156532 A JP 2007156532A
Authority
JP
Japan
Prior art keywords
print job
print
data
conversion
job
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
JP2005346768A
Other languages
Japanese (ja)
Other versions
JP4656651B2 (en
JP2007156532A5 (en
Inventor
Hidekuni Kagohara
英邦 篭原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Original Assignee
Canon Marketing Japan Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Marketing Japan Inc filed Critical Canon Marketing Japan Inc
Priority to JP2005346768A priority Critical patent/JP4656651B2/en
Publication of JP2007156532A publication Critical patent/JP2007156532A/en
Publication of JP2007156532A5 publication Critical patent/JP2007156532A5/ja
Application granted granted Critical
Publication of JP4656651B2 publication Critical patent/JP4656651B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology for printing data to be printed in receiving order independently of the sizes or kinds of the data when the data are received. <P>SOLUTION: A printing data management part 313 registers printing jobs received via a network, in an integration processing queue 312 in receiving order. A conversion program 308(309) sequentially converts the printing jobs registered in the integration processing queue 312 in registering order and outputs the converted data to a printing device 104. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、外部から受信した印刷対象データを処理するための技術に関するものである。   The present invention relates to a technique for processing print target data received from the outside.

プリントサーバは印刷処理を行うのみではなく、ジョブの出力順序を管理することが必要である。そこで、転送された出力データの形式毎、若しくはアクセス権を管理する単位(この単位を以降区画と表記する)でキューを持ち、出力順序の管理を行うことが必要となる。また、プリンタのパフォーマンスを考慮し、効率的にプリンタに出力を行わせる処理も求められる。   The print server needs to manage not only the printing process but also the job output order. Therefore, it is necessary to have a queue for each format of the transferred output data or a unit for managing the access right (this unit is hereinafter referred to as a partition) and to manage the output order. In addition, in consideration of the performance of the printer, a process for causing the printer to output efficiently is also required.

その実現例として、従来より、Windows(登録商標)サーバやUNIX(登録商標)サーバ、及びメインフレーム等のマルチプラットフォームからの印刷データを受信し、そのデータをデータの種別毎、及び出力業務毎(例えば人事業務や経理業務etc)に区画分けして出力管理を行っているようなシステムがある。   As an implementation example, print data from a multi-platform such as a Windows (registered trademark) server, a UNIX (registered trademark) server, and a mainframe has been received, and the data is classified for each data type and each output job ( For example, there is a system in which output management is performed by dividing into HR work and accounting work.

このようなシステムにおいて、処理要求があった順番に各区画の処理キュー内の印刷データを参照し、その順番で変換プログラムが走り、プリンタへの出力が行われる。出力の順番がきたところで、プリンタ出力用の変換プログラムが起動するようになっている。   In such a system, the print data in the processing queue of each section is referred to in the order in which processing is requested, the conversion program runs in that order, and output to the printer is performed. When the output order arrives, a printer output conversion program is started.

図8は、ある区画の処理キューの内容を示す従来のGUIの表示例を示す図である。同図では「PPADEMO-URIAGEC_0001」成る名称の印刷ジョブが先頭にあるため、まずこのデータから変換処理が行われる。その後は同図GUIに表示されている上のジョブから順に変換処理が行われる。この場合、他の区画で同一の出力先を対象とした変換処理があってもその事象は感知しない。   FIG. 8 is a diagram showing a display example of a conventional GUI showing the contents of the processing queue of a certain partition. In the figure, since the print job with the name “PPADEMO-URIAGEC_0001” is at the head, conversion processing is first performed from this data. After that, conversion processing is performed in order from the upper job displayed on the GUI. In this case, even if there is a conversion process for the same output destination in other sections, the event is not detected.

しかし、この構成では異なるデータ種別のデータ間、出力業務間での印刷順序は不定となってしまう。例えば、図11に示す如く、PPADEMO-URIAGE_0001A(A)、PPADEMO-URIAGE_0002B(B)が同じ区画(売上業務区画)、PPADEMO-JINJI_0003C(C)とPPADEMO-JINJI_0004D(D)が同じ区画(人事業務区画)であり、プリントサーバが受信した順番が(A),(B),(C),(D)であった場合を考える。このとき、データ(A)のサイズが大きく変換処理に時間がかかる場合、その間にデータ(C)、データ(D)の変換処理が終ってしまう。このときプリンタへ出力される順番は(A), (C),(D) ,(B)となってしまい、受信した順序と異なってしまう。   However, in this configuration, the print order between data of different data types and between output tasks becomes undefined. For example, as shown in FIG. 11, PPADEMO-URIAGE_0001A (A) and PPADEMO-URIAGE_0002B (B) are the same division (sales division), PPADEMO-JINJI_0003C (C) and PPADEMO-JINJI_0004D (D) are the same division (personnel division) ) And the order received by the print server is (A), (B), (C), (D). At this time, when the size of the data (A) is large and the conversion process takes time, the conversion process of the data (C) and the data (D) ends during that time. At this time, the order of output to the printer is (A), (C), (D), (B), which is different from the received order.

同じように印刷プログラムの順番を制御するシステムとして、例えば、特許文献1には印刷順序を制御するシステムが開示されている。しかしながら、特許文献1に記載のシステムは、事前にデータの出力順序を定義し、その定義どおりの順序で出力するシステムであり、定義されたデータがすべて揃ってから出力を開始する処理を行っている。従って、データを受信した時点で変換を始めるような本システムでは印刷順を守ることはできないという問題があった。   Similarly, as a system for controlling the order of printing programs, for example, Patent Document 1 discloses a system for controlling the printing order. However, the system described in Patent Document 1 is a system that defines an output order of data in advance and outputs the data in the order as defined, and performs a process of starting output after all the defined data is obtained. Yes. Therefore, there is a problem that the printing order cannot be maintained in this system that starts conversion when data is received.

また、接続されたプリンタの台数やパフォーマンスを考慮して、同時に出力を行うデータの個数などについての制御がなく、プリントサーバの能力を超えて処理を行ってしまったような場合では、処理能力が低下してしまうという問題点があった。
特開2001−075768号公報
Also, considering the number of connected printers and performance, there is no control over the number of data to be output at the same time, and if the processing exceeds the capacity of the print server, the processing capacity is low. There was a problem of being lowered.
Japanese Patent Application Laid-Open No. 2001-075768

本発明は以上の問題に鑑みて成されたものであり、印刷対象のデータを受信した場合には、そのサイズや種類などに関係なく、受信した順に印刷を可能にするための技術を提供することを目的とする。   The present invention has been made in view of the above problems, and provides a technique for enabling printing in the order received when data to be printed is received regardless of its size or type. For the purpose.

本発明の目的を達成するために、例えば、本発明のサーバ装置は以下の構成を備える。   In order to achieve the object of the present invention, for example, a server apparatus of the present invention comprises the following arrangement.

即ち、印刷ジョブを生成して出力する外部装置が複数接続されているネットワークに接続されており、当該外部装置から出力された印刷ジョブを当該ネットワークを介して受信可能なサーバ装置であって、
前記ネットワークを介して受信した印刷ジョブを受信順にキューに登録する登録手段と、
前記キューに登録されている印刷ジョブを登録順に順次変換する変換手段と、
前記変換手段により変換されたデータを印刷装置に出力する出力手段と
を備えることを特徴とする。
That is, a server device that is connected to a network to which a plurality of external devices that generate and output a print job are connected, and that can receive a print job output from the external device via the network,
Registration means for registering print jobs received via the network in a queue in the order received;
Conversion means for sequentially converting the print jobs registered in the queue in the order of registration;
Output means for outputting the data converted by the conversion means to a printing apparatus.

本発明の目的を達成するために、例えば、本発明のサーバ装置の制御方法は以下の構成を備える。   In order to achieve the object of the present invention, for example, a server device control method of the present invention comprises the following arrangement.

即ち、印刷ジョブを生成して出力する外部装置が複数接続されているネットワークに接続されており、当該外部装置から出力された印刷ジョブを当該ネットワークを介して受信可能なサーバ装置の制御方法であって、
前記ネットワークを介して受信した印刷ジョブを受信順にキューに登録する登録工程と、
前記キューに登録されている印刷ジョブを登録順に順次変換する変換工程と、
前記変換工程で変換されたデータを印刷装置に出力する出力工程と
を備えることを特徴とする。
In other words, this is a method for controlling a server device that is connected to a network to which a plurality of external devices that generate and output a print job are connected, and that can receive a print job output from the external device via the network. And
A registration step of registering print jobs received via the network in a queue in the order received;
A conversion step of sequentially converting the print jobs registered in the queue in the order of registration;
An output step of outputting the data converted in the conversion step to a printing apparatus.

本発明の構成により、印刷対象のデータを受信した場合には、そのサイズや種類などに関係なく、受信した順に印刷を可能にすることができる。   According to the configuration of the present invention, when data to be printed is received, printing can be performed in the order received regardless of the size or type.

以下添付図面を参照して、本発明を好適な実施形態に従って詳細に説明する。   Hereinafter, the present invention will be described in detail according to preferred embodiments with reference to the accompanying drawings.

[第1の実施形態]
図1は、本実施形態に係るシステムの概略構成を示すブロック図である。同図に示す如く、本実施形態に係るシステムは、ホストコンピュータ101、UNIX(登録商標)サーバ102、クライアントPC105、プリントサーバ103、印刷装置104により構成されている。
[First Embodiment]
FIG. 1 is a block diagram showing a schematic configuration of a system according to the present embodiment. As shown in the figure, the system according to the present embodiment includes a host computer 101, a UNIX (registered trademark) server 102, a client PC 105, a print server 103, and a printing apparatus 104.

ホストコンピュータ101、UNIX(登録商標)サーバ102は、一般のPC(パーソナルコンピュータ)やWS(ワークステーション)等により構成されており、印刷対象のデータ(印刷ジョブ)を作成するためのアプリケーションを保持している。ホストコンピュータ101(若しくはUNIX(登録商標)サーバ102)の操作者がこのアプリケーションを用いて印刷対象のデータを作成し、その後、この印刷対象のデータに基づいた印刷を印刷装置104によって印刷させる旨の指示を入力した場合には、この印刷対象のデータは、ネットワーク106を介してプリントサーバ103に送出される。   The host computer 101 and the UNIX (registered trademark) server 102 are configured by a general PC (personal computer), WS (workstation), or the like, and hold an application for creating data to be printed (print job). ing. An operator of the host computer 101 (or UNIX (registered trademark) server 102) creates data to be printed using this application, and then causes the printing apparatus 104 to print based on the data to be printed. When an instruction is input, the print target data is sent to the print server 103 via the network 106.

従って、印刷対象のデータを作成し、プリントサーバ103に対して送出可能な装置であれば、ホストコンピュータ101、UNIX(登録商標)サーバ102以外の装置を用いても良いので、その台数や装置の種類などについては特に限定するものではない。   Therefore, any device other than the host computer 101 and the UNIX (registered trademark) server 102 may be used as long as it can create data to be printed and send it to the print server 103. There is no particular limitation on the type.

プリントサーバ103は、外部(本実施形態の場合には、ホストコンピュータ101やUNIX(登録商標)サーバ102)から受信した印刷対象データを受け、これを印刷装置104に適したデータ形式に変換し、その後、印刷装置104に送出する処理を行うものである。プリントサーバ103が行う処理について、詳しくは後述する。   The print server 103 receives print target data received from the outside (in the case of the present embodiment, the host computer 101 or the UNIX (registered trademark) server 102), converts the print target data into a data format suitable for the printing apparatus 104, Thereafter, processing for sending to the printing apparatus 104 is performed. Details of the processing performed by the print server 103 will be described later.

印刷装置104は、プリンタや複合機などの装置により構成されており、プリントサーバ103から受信したデータに基づいて、紙やOHPなどの記録媒体上に画像や文字の記録処理を行う。記録方法については特に限定するものではなく、インクジェット方式、レーザビーム方式、熱転写方式等、各種の記録方式の何れを用いても良い。なお、印刷装置104の動作状況など、印刷装置104の状況については、適宜プリントサーバ103が監視している。   The printing apparatus 104 is configured by a device such as a printer or a multifunction peripheral, and performs image and character recording processing on a recording medium such as paper or OHP based on data received from the print server 103. The recording method is not particularly limited, and any of various recording methods such as an ink jet method, a laser beam method, and a thermal transfer method may be used. Note that the print server 103 appropriately monitors the status of the printing apparatus 104 such as the operation status of the printing apparatus 104.

クライアントPC105は、プリントサーバ103の状況を監視し、クライアントPC105が有する表示装置の表示画面上にその監視した状況を適宜表示するものである。プリントサーバ103における処理状況や印刷結果などについては、プリントサーバ103が適宜クライアントPC105に対して送信しているので、クライアントPC105はこの送信された処理状況や印刷結果などを表示装置の表示画面上に表示する処理を行う。もちろん、ホストコンピュータ101やUNIX(登録商標)サーバ102と同様に、印刷対象データを作成してプリントサーバ103に対して送出しても良い。   The client PC 105 monitors the status of the print server 103 and appropriately displays the monitored status on the display screen of the display device included in the client PC 105. Since the print server 103 appropriately transmits the processing status and print result in the print server 103 to the client PC 105, the client PC 105 displays the transmitted processing status and print result on the display screen of the display device. Process to display. Of course, as with the host computer 101 and the UNIX (registered trademark) server 102, print target data may be created and sent to the print server 103.

ネットワーク106は、インターネットやLANやWANや電話回線、専用デジタル回線、ATMやフレームリレー回線、通信衛星回線、ケーブルテレビ回線、データ放送用無線回線等の何れか、若しくはその組み合わせにより構成されているものであり、上述の各装置間におけるデータ通信を実現するものである。即ち、上述の各装置はこのネットワーク106に接続されていることになる。なお、このネットワーク106については無線、有線は特には問わない。   The network 106 is configured by one of the Internet, LAN, WAN, telephone line, dedicated digital line, ATM, frame relay line, communication satellite line, cable TV line, data broadcasting wireless line, or a combination thereof. Thus, data communication between the above-described devices is realized. That is, each of the devices described above is connected to the network 106. The network 106 is not particularly limited to wireless or wired.

図2は、プリントサーバ103に適用可能なコンピュータのハードウェア構成を示す図である。なお、本実施形態ではホストコンピュータ101、UNIX(登録商標)サーバ102、クライアントPC105についてもプリントサーバ103と同様の構成を有しているものとして説明するが、以下説明する各処理が実現可能で有れば、適宜変更しても良い。   FIG. 2 is a diagram illustrating a hardware configuration of a computer applicable to the print server 103. In the present embodiment, the host computer 101, the UNIX (registered trademark) server 102, and the client PC 105 are described as having the same configuration as the print server 103. However, each process described below can be realized. If necessary, it may be changed as appropriate.

21はCPUで、RAM22やROM23に格納されているプログラムやデータを用いて、本コンピュータ全体の制御を行うと共に、本コンピュータが行う後述の各処理を実行する。   Reference numeral 21 denotes a CPU, which controls the entire computer using programs and data stored in the RAM 22 and ROM 23, and executes each process described later performed by the computer.

22はRAMで、ハードディスク28やCD−ROMドライブ29からロードされたプログラムやデータ、NIC(ネットワークインターフェース)24を介して外部から入力されたプログラムやデータを一時的に記憶するためのエリア、CPU21が各種の処理を実行する際に用いるワークエリア等のエリアを適宜提供することができる。   Reference numeral 22 denotes a RAM, which is an area for temporarily storing programs and data loaded from the hard disk 28 and the CD-ROM drive 29, and programs and data input from the outside via the NIC (network interface) 24. An area such as a work area used when executing various processes can be provided as appropriate.

23はROMで、本コンピュータの設定データやブートプログラムなどを格納する。   A ROM 23 stores setting data, a boot program, and the like of the computer.

24はNICで、本コンピュータを上記ネットワーク106に接続するためのインターフェースとして機能するものであり、本コンピュータはこのNIC24を介してネットワーク106上に接続されている各装置とのデータ通信を行うことができる。   Reference numeral 24 denotes a NIC that functions as an interface for connecting the computer to the network 106. The computer can perform data communication with each device connected on the network 106 via the NIC 24. it can.

26は入力部の一例としてのキーボード、27は入力部の一例としてのマウスで、それぞれは本コンピュータの操作者が操作することで各種の指示をCPU21に対して入力することができる。なお、本コンピュータをホストコンピュータ101、UNIX(登録商標)サーバ102、クライアントPC105等に適用した場合には、操作者はこの入力部26,27を用いてアプリケーションを操作し、印刷対象データを作成することになる。   Reference numeral 26 denotes a keyboard as an example of an input unit, and reference numeral 27 denotes a mouse as an example of an input unit. Various instructions can be input to the CPU 21 by an operator of the computer. When this computer is applied to the host computer 101, the UNIX (registered trademark) server 102, the client PC 105, etc., the operator operates the application using the input units 26 and 27 to create print target data. It will be.

28はハードディスクで、OS(オペレーティングシステム)や、本コンピュータを適用した装置が行うべき後述の各処理をCPU21に実行させるためのプログラムやデータが保存されており、これらはCPU21による制御に従って適宜RAM22にロードされる。   Reference numeral 28 denotes a hard disk, which stores programs and data for causing the CPU 21 to execute processes (to be described later) to be performed by an OS (operating system) and a device to which the present computer is applied. Loaded.

29はCD−ROMドライブで、記憶媒体の一例としてのCD−ROMに記録されているプログラムやデータを読み出し、ハードディスク28やRAM22等に出力する。なお、ハードディスク28に保存されている上記各種のプログラムやデータの一部をCD−ROMに記録しておき、記録されたプログラムやデータをCD−ROMドライブ29によって適宜RAM22にロードするようにしても良い。なお、上述の通り、CD−ROMは記憶媒体の一例として用いているのみであって、本実施形態に適用可能な記憶媒体については特に限定するものではない。   Reference numeral 29 denotes a CD-ROM drive, which reads out programs and data recorded on a CD-ROM as an example of a storage medium and outputs them to the hard disk 28, RAM 22, and the like. It should be noted that a part of the various programs and data stored in the hard disk 28 is recorded on a CD-ROM, and the recorded program and data are appropriately loaded into the RAM 22 by the CD-ROM drive 29. good. As described above, the CD-ROM is only used as an example of a storage medium, and the storage medium applicable to this embodiment is not particularly limited.

20はシステムバスで、例えば、PCIバス、AGPバス、メモリバス等により構成されている。なお、同図では、各バス間の接続用チップやキーボードインタフェースやいわゆるSCSIやATAPIのような入出力用インタフェースは省略されている。   A system bus 20 includes, for example, a PCI bus, an AGP bus, a memory bus, and the like. In the figure, a connection chip between each bus, a keyboard interface, and an input / output interface such as so-called SCSI or ATAPI are omitted.

図3は、プリントサーバ103の機能構成、及びその周辺環境を示すブロック図である。同図において301,302はそれぞれ教務A用アプリケーション、業務B用アプリケーションで、それぞれ異なる業務におけるデータを作成するためのものである。業務A用アプリケーション301,業務B用アプリケーション302は本実施形態の場合、ホストコンピュータ101、UNIX(登録商標)サーバ102の何れかにインストールされているものであり、ホストコンピュータ101、UNIX(登録商標)サーバ102の何れかの操作者が操作することで、それぞれの業務に応じたデータを作成することができる。   FIG. 3 is a block diagram showing the functional configuration of the print server 103 and its surrounding environment. In the figure, 301 and 302 are an application for teaching A and an application for business B, respectively, for creating data for different business. In the present embodiment, the business A application 301 and the business B application 302 are installed in either the host computer 101 or the UNIX (registered trademark) server 102, and the host computer 101 or UNIX (registered trademark). By operating any one of the servers 102, data corresponding to each job can be created.

ここで、それぞれのアプリケーションを操作することによって、作成したデータを印刷するための指示をプリントサーバ103に送出することができる。例えば、業務A用アプリケーション301がホストコンピュータ101にインストールされている場合には、ホストコンピュータ101の操作者がこの業務A用アプリケーション301を操作することで業務A用のデータを作成することができるし、このデータを印刷装置104にて印刷したい場合には、その旨をホストコンピュータ101に備わっているキーボードやマウスを用いて入力すれば、このデータをプリントサーバ103に送出することができる。これについては業務B用アプリケーション302についても同様であるし、それぞれのアプリケーションがどのような装置にインストールされていても同様である。   Here, by operating each application, an instruction for printing the created data can be sent to the print server 103. For example, when the business A application 301 is installed on the host computer 101, the operator of the host computer 101 can create the business A data by operating the business A application 301. If this data is to be printed by the printing apparatus 104, this data can be sent to the print server 103 by inputting that fact using the keyboard or mouse provided in the host computer 101. The same applies to the business B application 302, and it is the same regardless of the device in which each application is installed.

次に、プリントサーバ103の機能構成について説明する。同図に示す如く、プリントサーバ103は、プリントデータ管理部303、業務A用処理キュー306、業務B用処理キュー307、統合処理キュー312、印刷データ管理部313、変換プログラム308,309により構成されている。また、プリントデータ管理部303は、業務A用管理テーブル304、業務B用管理テーブル305により構成されている。   Next, the functional configuration of the print server 103 will be described. As shown in the figure, the print server 103 includes a print data management unit 303, a business A processing queue 306, a business B processing queue 307, an integrated processing queue 312, a print data management unit 313, and conversion programs 308 and 309. ing. The print data management unit 303 includes a business A management table 304 and a business B management table 305.

ここで、業務A用管理テーブル304、業務A用処理キュー306、変換プログラム308のセットについては、業務A用アプリケーション301から送出される業務A用印刷ジョブを処理すべく設けられているものであり、業務B用管理テーブル305、業務B用処理キュー307、変換プログラム309のセットについては、業務B用アプリケーション302から送出される業務B用印刷ジョブを処理すべく設けられているものである。   Here, the set of the business A management table 304, the business A processing queue 306, and the conversion program 308 is provided to process the business A print job sent from the business A application 301. The set of the business B management table 305, the business B processing queue 307, and the conversion program 309 is provided to process the business B print job sent from the business B application 302.

本実施形態に係るプリントサーバ103は、これらの各部に加えて、統合処理キュー312、印刷データ管理部313を設けている。以下、プリントサーバ103を構成するこれら各部の動作について説明する。   The print server 103 according to this embodiment includes an integrated processing queue 312 and a print data management unit 313 in addition to these units. Hereinafter, operations of these units constituting the print server 103 will be described.

プリントデータ管理部303は、業務A用アプリケーション301から送出された業務A用印刷ジョブを受けると、これを業務A用管理テーブル304に登録すると共に、業務A用処理キュー306に送出する。図9は、業務A用管理テーブル304の構成例を示す図である。業務A用管理テーブル304は同図に示す如く、業務A用印刷ジョブのジョブ名(データ名)、ジョブの出力先(本実施形態の場合、印刷装置104)、状態(処理中、若しくは処理待ち)、印刷開始時間、印刷終了時間を管理している。   Upon receiving the job A print job sent from the job A application 301, the print data management unit 303 registers it in the job A management table 304 and sends it to the job A processing queue 306. FIG. 9 is a diagram illustrating a configuration example of the business A management table 304. The business A management table 304 includes a job name (data name) of a business A print job, a job output destination (in the present embodiment, the printing apparatus 104), and a status (during processing or waiting for processing) as shown in FIG. ), Print start time and print end time are managed.

また、プリントデータ管理部303は、業務B用アプリケーション302から送出された業務B用印刷ジョブを受けると、これを業務B用管理テーブル305に登録すると共に、業務B用処理キュー307に送出する。なお、業務B用管理テーブル305の構成については、業務A用管理テーブル304と同様のものであるとする。   When the print data management unit 303 receives the business B print job sent from the business B application 302, it registers it in the business B management table 305 and sends it to the business B processing queue 307. The configuration of the business B management table 305 is the same as that of the business A management table 304.

業務A用処理キュー306は、業務A用管理テーブル304から送出されたジョブ(業務A用印刷ジョブ)を保持するためのキューであり、このキューには業務A用印刷ジョブが、業務A用アプリケーション301から送出された順に登録される。図10は、業務A用処理キュー306の構成例を示す図で、同図に示す如く、業務A用処理キュー306には、業務A用印刷ジョブのジョブ名(データ名)、ジョブの出力先(本実施形態の場合、印刷装置104)、状態が管理されている。   The business A processing queue 306 is a queue for holding a job (business A print job) sent from the business A management table 304, and the business A print job is stored in the queue as a business A application. The items are registered in the order of transmission from 301. FIG. 10 is a diagram illustrating a configuration example of the job A processing queue 306. As illustrated in FIG. 10, the job A processing queue 306 includes a job name (data name) of a job A print job, and a job output destination. (In the case of this embodiment, the printing apparatus 104), the state is managed.

一方、業務B用処理キュー307についてもその動作は同様である。即ち、業務B用処理キュー307は、業務B用管理テーブル305から送出されたジョブ(業務B用印刷ジョブ)を保持するためのキューであり、このキューには業務B用印刷ジョブが、業務B用アプリケーション302から送出された順に登録される。   On the other hand, the operation of the business B processing queue 307 is the same. That is, the business B processing queue 307 is a queue for holding a job (business B print job) sent from the business B management table 305, and the business B print job is stored in this queue. Registered in the order of transmission from the application 302 for use.

印刷データ管理部313は、常に業務A用処理キュー306、業務B用処理キュー307を監視しており、新たにジョブがキューに投入された場合には、その投入されたジョブを統合処理キュー312に投入する処理を行う。即ち、印刷データ管理部313は、業務A用印刷ジョブ、業務B用印刷ジョブを問わず、プリントサーバ103に投入された順(受信順)に印刷ジョブを統合処理キュー312に投入する。これにより、統合処理キュー312には、プリントサーバ103に投入された順に印刷ジョブが登録されていることになる。   The print data management unit 313 constantly monitors the job A processing queue 306 and the job B processing queue 307, and when a new job is submitted to the queue, the job is input to the integrated processing queue 312. Process to throw in. In other words, the print data management unit 313 submits print jobs to the integrated processing queue 312 in the order of input to the print server 103 (reception order) regardless of whether the job is a job A print job or a job B print job. As a result, print jobs are registered in the integrated processing queue 312 in the order of input to the print server 103.

図5は、統合処理キュー312の構成例を示す図で、同図に示す如く、統合処理キュー312には、印刷ジョブの名前(データ名)、この印刷ジョブが業務A用印刷ジョブか業務B用印刷ジョブであるのかを示す区画ID、出力先印刷装置のセットが印刷ジョブ毎に登録されている。   FIG. 5 is a diagram showing an example of the configuration of the integrated processing queue 312. As shown in FIG. 5, the integrated processing queue 312 has a print job name (data name), whether the print job is a job A print job or a job B A set of a partition ID indicating whether the print job is a print job and an output destination printing apparatus is registered for each print job.

更に、印刷データ管理部313は、業務A用印刷ジョブについては変換プログラム308へ、業務B用印刷ジョブについては変換プログラム309に送出する。変換プログラム308、変換プログラム309はそれぞれ、受けた印刷ジョブを出力先の印刷装置に適したデータ形式に変換する処理を行う。なお、変換プログラム308、309は1つのジョブの変換処理が終わってから次のジョブの変換処理を行う。   Further, the print data management unit 313 sends the job A print job to the conversion program 308 and the job B print job to the conversion program 309. Each of the conversion program 308 and the conversion program 309 performs processing for converting the received print job into a data format suitable for the output destination printing apparatus. Note that the conversion programs 308 and 309 perform the conversion process for the next job after the conversion process for one job is completed.

そして、変換プログラム308、309は変換後のデータを指定された印刷装置(本実施形態の場合、印刷装置104)に送出する。なお、変換プログラム308、309は、変換処理が終了した後、若しくは変換後のデータを印刷装置に送出した後に、この変換した印刷ジョブの元データを、この元データを保持しているキューから削除するよう、印刷データ管理部313に通知する。従って、印刷データ管理部313は、この通知を受けると、指示された印刷ジョブを、この印刷ジョブを保持しているキューから削除する処理を行う。   Then, the conversion programs 308 and 309 send the converted data to the designated printing apparatus (in this embodiment, the printing apparatus 104). The conversion programs 308 and 309 delete the original data of the converted print job from the queue holding the original data after the conversion processing is completed or after the converted data is sent to the printing apparatus. The print data management unit 313 is notified of this. Accordingly, when the print data management unit 313 receives this notification, the print data management unit 313 performs a process of deleting the instructed print job from the queue holding the print job.

一方、印刷装置104は、変換済みのデータを受けると、受けたデータに従って、紙やOHPなどの記録媒体上に画像や文字などの記録を行う。   On the other hand, when receiving the converted data, the printing apparatus 104 records an image or a character on a recording medium such as paper or OHP according to the received data.

図4は、上記印刷データ管理部313が行う処理の詳細を示すフローチャートである。   FIG. 4 is a flowchart showing details of processing performed by the print data management unit 313.

上述の通り、印刷データ管理部313は常に、業務A用処理キュー306、業務B用処理キュー307を監視することで、印刷ジョブの投入を監視している。更に、上述の通り、印刷データ管理部313は、変換プログラム308、309が変換処理を終了させた印刷ジョブの元データを、この元データを保持しているキューから削除するための通知を受け付けている。   As described above, the print data management unit 313 always monitors the job A processing queue 306 and the job B processing queue 307 to monitor the input of a print job. Further, as described above, the print data management unit 313 receives a notification for deleting the original data of the print job for which the conversion programs 308 and 309 have ended the conversion processing from the queue holding the original data. Yes.

従って、業務A用処理キュー306、業務B用処理キュー307の何れかに印刷ジョブが投入されたことを印刷データ管理部313が検知した場合、即ち、この投入された印刷ジョブを統合処理キュー312に投入する要求が発生した場合には、処理をステップS402を介してステップS403に進め、この投入された印刷ジョブを、統合処理キュー312が保持する印刷ジョブ群の最後尾に追加する処理を行う(ステップS403)。   Accordingly, when the print data management unit 313 detects that a print job has been input to either the business A process queue 306 or the business B process queue 307, that is, the integrated print queue 312 If a request to input is generated, the process proceeds to step S403 via step S402, and processing for adding the input print job to the end of the print job group held in the integrated processing queue 312 is performed. (Step S403).

一方、変換プログラム308、309の何れかから、変換が終了した印刷ジョブの元データを、この元データを保持するキューから削除する旨の通知を受けた場合には、処理をステップS402を介してステップS404に進め、削除通知を受けた元データを、この元データを保持しているキューから削除する処理を行う(ステップS404)。   On the other hand, if the conversion program 308 or 309 receives notification from the conversion job 308 or 309 that the original data of the print job that has been converted is deleted from the queue that holds the original data, the process goes through step S402. Proceeding to step S404, the original data that has received the deletion notification is deleted from the queue holding the original data (step S404).

更に、現在変換プログラム308、309のそれぞれによって処理されている印刷ジョブの合計数(同時変換数)から1つデクリメントする(ステップS405)。本実施形態では1つの変換プログラムは一度に1つの印刷ジョブしか変換できないとしているが、複数個の印刷ジョブを並列に処理可能としても良い。   Further, one is decremented from the total number of print jobs currently processed by the conversion programs 308 and 309 (simultaneous conversion number) (step S405). In this embodiment, one conversion program can convert only one print job at a time, but a plurality of print jobs may be processed in parallel.

次に、印刷データ管理部313は同時変換数と、変換プログラム308、309によって処理可能な印刷ジョブの合計数の最大数(同時変換可能数)とを比較する(ステップS406)。   Next, the print data management unit 313 compares the number of simultaneous conversions with the maximum number of print jobs that can be processed by the conversion programs 308 and 309 (the number of simultaneous conversions) (step S406).

この比較処理の結果、同時変換数≧同時変換可能数である場合、即ち、変換プログラム308、309が共に、更なる印刷ジョブの変換処理ができない状態である場合には本処理を終了するのであるが、同時変換数<同時変換可能数である場合には、処理をステップS407に進め、統合処理キュー312の先頭の印刷ジョブ、即ち、現在統合処理キュー312に格納されている印刷ジョブのうち、最も古い時刻に投入(登録)された印刷ジョブを参照する(ステップS407)。   As a result of this comparison processing, if the number of simultaneous conversions is equal to or greater than the number of simultaneous conversions, that is, if both the conversion programs 308 and 309 are in a state in which no further print job conversion processing is possible, this processing ends. If the simultaneous conversion number <the simultaneous conversion possible number, the process proceeds to step S407, and the first print job in the integrated processing queue 312, that is, among the print jobs currently stored in the integrated processing queue 312, The print job input (registered) at the oldest time is referred to (step S407).

そして、この先頭の印刷ジョブの「状態」が「変換処理中」であるのか否かをチェックする(ステップS408)。例えば、この先頭の印刷ジョブが業務A用印刷ジョブである場合には、図10に例示した構成を有する業務A用処理キュー306を参照し、この印刷ジョブの「状態」を参照する。   Then, it is checked whether or not the “status” of the first print job is “conversion processing in progress” (step S408). For example, when the first print job is a job A print job, the job A processing queue 306 having the configuration illustrated in FIG. 10 is referred to, and the “status” of the print job is referred to.

この「状態」は、変換プログラム308、309が変換処理を行っているか否かを示すもので、例えば、データ名が「AAADATA01」である印刷ジョブを変換プログラム308が変換している最中である場合には、変換プログラム308はこの印刷ジョブを変換している最中である旨を印刷データ管理部313に通知するので、印刷データ管理部313は、その旨を業務A用管理テーブル304、業務A用処理キュー306で管理されているこの印刷ジョブの「状態」に書き込む。もちろん、この「状態」は、未だ変換処理される前である場合には「処理待ち」と設定されている。   This “status” indicates whether or not the conversion programs 308 and 309 are performing the conversion process. For example, the conversion program 308 is converting the print job whose data name is “AAADATA01”. In this case, since the conversion program 308 notifies the print data management unit 313 that the print job is being converted, the print data management unit 313 informs the print data management unit 313 of that fact. Write to the “status” of this print job managed in the A processing queue 306. Of course, this “state” is set to “waiting for processing” when it is not yet converted.

そして、このチェックの結果、「変換処理中」である場合には、処理をステップS410に進め、現在統合処理キュー312に格納されている印刷ジョブのうち、2番目に古い時刻に投入された印刷ジョブを参照し(ステップS410)、処理をステップS413に進める。   If the result of this check is “conversion processing in progress”, the process proceeds to step S410, and among the print jobs currently stored in the integrated processing queue 312, the print input at the second oldest time is performed. The job is referred to (step S410), and the process proceeds to step S413.

一方、参照した印刷ジョブの状態が「変換処理中」ではない(「処理待ち」である)場合には処理をステップS409に進め、参照中の印刷ジョブを変換する変換プログラムが現在動作中であるのか否かをチェックする(ステップS409)。即ち、本実施形態では、変換プログラムは一度に1つの印刷ジョブしか変換することができないため、現在1つの印刷ジョブを変換しているような状態では、次の印刷ジョブは、現在変換している印刷ジョブの変換処理が終了してからでないと、変換することができない。また参照中の印刷ジョブが出力すべき印刷装置に対して、すでに他の印刷ジョブが変換処理中であったり、参照中の印刷ジョブより前にキューに入っている印刷ジョブがあった場合、印刷順序を考慮し変換処理は行わない。   On the other hand, if the status of the referred print job is not “conversion processing” (“waiting for processing”), the process proceeds to step S409, and a conversion program that converts the print job being referred to is currently operating. It is checked whether or not (step S409). In other words, in the present embodiment, the conversion program can convert only one print job at a time. Therefore, in the state where one print job is currently converted, the next print job is currently converted. Only after the conversion process of the print job is finished, the conversion cannot be performed. In addition, if another print job is already being converted for the printing device to which the print job being referenced is to be output, or if there is a print job queued before the print job being referenced, printing is performed. Conversion processing is not performed in consideration of the order.

そこで、本実施形態の場合には、参照中の印刷ジョブが変換可能であるのか否かをチェックするためには、参照中の印刷ジョブを変換する変換プログラムが現在変換処理中であるのか否かをチェックする。さらにはキュー内で出力先として指示されている印刷装置が同一の印刷ジョブの中で先頭かどうかチェックする。   Therefore, in the case of this embodiment, in order to check whether or not the print job being referred to can be converted, whether or not the conversion program for converting the print job being referred to is currently undergoing conversion processing. Check. Further, it is checked whether or not the printing apparatus designated as the output destination in the queue is the head in the same print job.

そして、参照中の印刷ジョブを変換する変換プログラムが現在変換処理中である場合には処理をステップS410へ移し、キューの次のデータを参照する(ステップS410)。そして次に、キュー内に次のジョブが存在するかを確認する(ステップS413)。ここでキュー内に参照中の印刷ジョブの後にジョブがなければ変換可能な印刷ジョブを決定する処理を終了する。一方、ジョブがあれば処理をステップS408に戻し、キューの次のデータを参照する。   If the conversion program for converting the print job being referred to is currently being converted, the process proceeds to step S410, and the next data in the queue is referenced (step S410). Next, it is confirmed whether or not the next job exists in the queue (step S413). If there is no job after the print job being referred to in the queue, the process for determining a print job that can be converted is terminated. On the other hand, if there is a job, the process returns to step S408 to refer to the next data in the queue.

一方、参照中の印刷ジョブを変換する変換プログラムが現在変換処理中ではない場合には処理をステップS411に進め、同時変換数を1つインクリメントする(ステップS411)。そして、参照中の印刷ジョブを、この印刷ジョブを変換する変換プログラムに送出する(ステップS412)。なお、どの印刷ジョブをどの変換プログラムに渡すのかについては、例えば、印刷ジョブのヘッダに、変換処理で用いるプログラム名を記しておくようにしても良いし、第3の実施形態でも説明するように、ジョブ名から特定可能なように、予め設定しておいても良い。   On the other hand, if the conversion program for converting the print job being referred to is not currently being converted, the process proceeds to step S411, and the number of simultaneous conversions is incremented by one (step S411). Then, the print job being referred to is sent to a conversion program for converting the print job (step S412). Note that which print job is passed to which conversion program, for example, the program name used in the conversion process may be written in the header of the print job, as will be described in the third embodiment. Alternatively, it may be set in advance so that it can be specified from the job name.

以上の処理により、印刷ジョブを受信した順に変換し、印刷装置に対して送出することができる。   With the above processing, print jobs can be converted in the order received and sent to the printing apparatus.

ここで、1つの変換プログラムが複数の印刷ジョブの変換処理を並行して行うことができるので有れば、ステップS409では、先頭の印刷ジョブを変換する変換プログラムが現在変換している印刷ジョブの数が、規定数以上であるか否かをチェックし、規定数よりも少ないので有れば、処理をステップS411に進めるようにすればよい。   Here, if one conversion program can perform conversion processing of a plurality of print jobs in parallel, in step S409, the conversion program for converting the first print job indicates the print job currently converted. It is checked whether or not the number is greater than or equal to the prescribed number. If it is less than the prescribed number, the process may be advanced to step S411.

なお、図3に示したプリントサーバ103を構成する各部についてであるが、テーブル、処理キューに関してはRAM22内、若しくはハードディスク28内に設けるようにすればよいし、印刷データ管理部313、変換プログラム308、309に関してはプログラムの形態でもって実装し、CPU21がこのプログラムを実行するようにすればよい。この場合、図4のフローチャートに従った処理をCPU21に実行させるためのプログラムやデータ(図3に示したプリントサーバ103を構成する各部の機能を実現するためのプログラムやデータ)は、ハードディスク28内に保持されており、これはCPU21による制御に従って適宜RAM22にロードされる。そして、CPU21がこのプログラムやデータを用いて処理を実行することで、プリントサーバ103は、図4に示したフローチャートに従った処理を実行することになる。   3, the tables and processing queues may be provided in the RAM 22 or the hard disk 28, the print data management unit 313, and the conversion program 308. , 309 may be implemented in the form of a program, and the CPU 21 may execute this program. In this case, programs and data for causing the CPU 21 to execute the processing according to the flowchart of FIG. 4 (programs and data for realizing the functions of the components constituting the print server 103 shown in FIG. 3) are stored in the hard disk 28. This is loaded into the RAM 22 as appropriate under the control of the CPU 21. The CPU 21 executes processing using the program and data, so that the print server 103 executes processing according to the flowchart shown in FIG.

[第2の実施形態]
第1の実施形態では、印刷ジョブの供給元を業務A用アプリケーション、業務B用アプリケーションの2つとし、更に、印刷装置を1つ(印刷装置104)とした場合について説明したが、それぞれの数はこれに限定するものではなく、それぞれがいくつの場合についても、第1の実施形態に係る処理の本質は同じである。
[Second Embodiment]
In the first embodiment, a case has been described in which the print job supply source is the application for business A and the application for business B, and the number of printing apparatuses is one (printing apparatus 104). However, the essence of the processing according to the first embodiment is the same regardless of the number of cases.

図6は、業務A用アプリケーション、業務B用アプリケーションのそれぞれから受けた印刷ジョブを印刷装置1,2の何れかに出力する構成における統合処理キュー312の構成例を示す図である。   FIG. 6 is a diagram illustrating a configuration example of the integrated processing queue 312 in a configuration in which a print job received from each of the business A application and the business B application is output to one of the printing apparatuses 1 and 2.

図7は、業務A用アプリケーション、業務B用アプリケーション、業務C用アプリケーション、業務D用アプリケーション、業務E用アプリケーション、業務F用アプリケーションのそれぞれから送出された印刷ジョブを印刷装置1〜印刷装置4の何れかに送出する場合の統合処理キュー312の構成例を示す図である。   7 shows print jobs sent from the business A application, the business B application, the business C application, the business D application, the business E application, and the business F application. It is a figure which shows the structural example of the integrated process queue 312 in the case of sending to either.

後者の例を用いて説明すると、この場合、プリントサーバ103内には、それぞれの業務アプリケーションに対応するテーブル(業務A用アプリケーションの場合には業務A用管理テーブル304)、処理キュー(業務A用アプリケーションの場合には業務A用処理キュー306)、変換プログラム(業務A用アプリケーションの場合には変換プログラム308)が設けられていることになり、且つ変換プログラムの出力先には、印刷装置1〜4が存在することになる。   In this case, in the print server 103, a table corresponding to each business application (the business A management table 304 in the case of a business A application) and a processing queue (for business A) will be described. A processing queue 306 for business A in the case of an application and a conversion program (conversion program 308 in the case of an application for business A) are provided. 4 will exist.

この場合、それぞれのアプリケーションから送出された印刷ジョブを、対応する変換プログラムでもって一気に変換すると、CPU21のパフォーマンスが落ちるなどの問題が生じる。そこでこのような場合には、上記同時変換可能数を調整し、全てのアプリケーションに対応する印刷ジョブの変換処理を行わないようにすればよい。これにより、CPU21のパフォーマンスを越えて無理に処理を行うことでCPU21のパフォーマンスが低下するといった問題を回避することができる。   In this case, if the print job sent from each application is converted at once by the corresponding conversion program, there arises a problem that the performance of the CPU 21 is lowered. Therefore, in such a case, it is only necessary to adjust the number of simultaneous conversions described above so that print job conversion processing corresponding to all applications is not performed. As a result, it is possible to avoid the problem that the performance of the CPU 21 is lowered by forcibly performing processing beyond the performance of the CPU 21.

また、出力先が異なる場合、即ち、複数の出力先が存在する場合には、統合処理キュー312が保持するジョブ群を同じ出力先毎にグループ分割し、印刷データ管理部313は、それぞれのグループ毎に、第1の実施形態と同様の処理を行う。即ち、グループ毎に先頭の印刷ジョブを参照し、参照した印刷ジョブの変換処理が可能で有れば(上記ステップS408,S409における判断結果が共にYESとなるような場合)、グループ毎の先頭の印刷ジョブを、対応する変換プログラムに送出する処理を行う。   When the output destinations are different, that is, when there are a plurality of output destinations, the job group held in the integration processing queue 312 is divided into groups for the same output destinations, and the print data management unit 313 displays each group. Every time, the same processing as in the first embodiment is performed. That is, referring to the first print job for each group and conversion processing of the referred print job is possible (when both the determination results in steps S408 and S409 are YES), the first print job for each group is referred to. Processing to send the print job to the corresponding conversion program is performed.

このような場合、例えば、同時変換可能数を「3」と設定したとすると、区画は5つあるため変換プログラムは5つ存在するが、そのうち同時には3つまで動作することが可能となる。この条件において変換されるのは印刷装置1に出力する印刷ジョブ群のうち先頭の印刷ジョブである“データA1”、印刷装置2に出力する印刷ジョブ群のうち先頭のジョブである“データC1”、印刷装置3に出力する印刷ジョブ群のうち先頭のジョブである“データD2”がそれぞれ変換プログラムに送出される。   In such a case, for example, if the number of simultaneous conversions is set to “3”, there are five sections because there are five sections, and up to three of them can be operated at the same time. Under this condition, “Data A1” that is the first print job in the print job group that is output to the printing apparatus 1 and “Data C1” that is the first job in the print job group that is output to the printing apparatus 2 are converted. Then, “data D2” which is the first job in the print job group to be output to the printing apparatus 3 is sent to the conversion program.

ここで業務Dの“データD1”は業務Dの区画の先頭のデータであるが、出力対象が印刷装置2であるため“データC1”、“データC2”の後に出力されるべきである。そのため“データD1”は変換対象とならない。また、“データE1”は業務Eの先頭のデータであり、印刷装置4の先頭であるが、キューの上位にすでに3つ変換対象が存在するため変換対象とはならない。   Here, the “data D1” of the business D is the head data of the section of the business D, but since the output target is the printing device 2, it should be output after the “data C1” and “data C2”. Therefore, “data D1” is not subject to conversion. “Data E1” is the head data of the job E and is the head of the printing apparatus 4. However, since there are already three conversion targets at the upper level of the queue, they are not converted.

また、この状態で“データC1”、“データC2”がデータが小さく先に変換処理が終わった時、次に変換対象として候補となるのは出力装置2へ出力する”データD1“と出力装置4に出力する”データE1“である。この状態において、”データD1”の属する業務D用の区画は既に“データD2”の変換処理が行われている。そのため“データD1”は変換対象とせず、印刷装置4へ出力を行う“データE1”が業務E用の変換プログラムへ通知される。   Also, in this state, when “data C1” and “data C2” are small in data and the conversion process ends first, the next candidate for conversion is “data D1” to be output to the output device 2 and the output device. 4 is “data E1”. In this state, the conversion process of “data D2” has already been performed for the section for business D to which “data D1” belongs. Therefore, “data D1” is not subject to conversion, and “data E1” to be output to the printing apparatus 4 is notified to the conversion program for business E.

[第3の実施形態]
第1の実施形態でも説明したとおり、新たな業務用アプリケーションからの印刷ジョブを処理するためには、この業務用アプリケーションに対応する管理テーブル、処理キュー、変換プログラムのセットを新たに設ける必要がある。
[Third Embodiment]
As described in the first embodiment, in order to process a print job from a new business application, it is necessary to newly provide a set of a management table, a processing queue, and a conversion program corresponding to the business application. .

より詳しくは、この新たな業務用アプリケーション(以下、「業務用アプリケーションC」と呼称する)からの印刷ジョブを処理するためには、業務用アプリケーションCからの印刷ジョブ(業務C用印刷ジョブ)を管理するための管理テーブル(業務C用管理テーブル)、処理キュー(業務C用処理キュー)をRAM22内、若しくはハードディスク28内に設ける必要があるし、業務C用処理キューに業務C用印刷ジョブが投入された場合には、印刷データ管理部313によってこの業務C用印刷ジョブを統合処理キュー312に投入させるべく、印刷データ管理部313にこの業務C用処理キューを認知させる必要がある。また、業務C用印刷ジョブを、この業務C用印刷ジョブを変換するための変換プログラム(業務C用変換プログラム)に渡す必要があるし、変換後の印刷ジョブを指定された印刷装置に送出する必要がある。   More specifically, in order to process a print job from the new business application (hereinafter referred to as “business application C”), a print job (business C print job) from the business application C is processed. A management table (business C management table) and a processing queue (business C processing queue) for management need to be provided in the RAM 22 or the hard disk 28, and a business C print job is stored in the business C processing queue. When the job C is input, the print data management unit 313 needs to make the print data management unit 313 recognize the job C processing queue so that the job C print job is input to the integrated processing queue 312. Further, it is necessary to pass the business C print job to a conversion program (conversion program for business C) for converting the business C print job, and the converted print job is sent to the designated printing apparatus. There is a need.

このような一連の処理を行うためには、このような処理を行うためのプログラムやデータをハードディスク28内にインストールした後に、例えば、プリントサーバ103が有するマウス27やキーボード26などを操作し、プリントデータ管理部303が有する表示装置に表示されているGUIなどを用いて、様々な設定を行う必要がある。   In order to perform such a series of processing, after installing a program and data for performing such processing in the hard disk 28, for example, the mouse 27 and the keyboard 26 of the print server 103 are operated to perform printing. Various settings need to be performed using a GUI or the like displayed on a display device included in the data management unit 303.

このように、様々な業務毎に設定された内容を記した設定データには、例えば以下の項目が記述されている。   Thus, for example, the following items are described in the setting data describing the contents set for each of various tasks.

[Section1]
Directory=d:\rs\sec\sec1\
Name=経理
[Section2]
Directory=d:\rs\sec\sec2\
Name=人事
即ち、ハードディスク28内の「d:\rs\sec\sec1\」には、ある業務用アプリケーション(例えば、業務A用アプリケーション)から受けた印刷ジョブを処理する際の様々な設定事項が記された設定ファイルが格納されており、この設定ファイルには、「経理」なる名称が付けられている。また、この設定ファイルには、「Section1」なるタグが付けられている。
[Section1]
Directory = d: \ rs \ sec \ sec1 \
Name = Accounting
[Section2]
Directory = d: \ rs \ sec \ sec2 \
Name = HR That is, “d: \ rs \ sec \ sec1 \” in the hard disk 28 includes various setting items when processing a print job received from a certain business application (for example, business A application). The described setting file is stored, and this setting file is named “Accounting”. Also, this configuration file has a tag “Section1”.

一方、ハードディスク28内の「d:\rs\sec\sec2\」には、別の業務用アプリケーション(例えば、業務B用アプリケーション)から受けた印刷ジョブを処理する際の様々な設定事項が記された設定ファイルが格納されており、この設定ファイルには、「人事」なる名称が付けられている。また、この設定ファイルには、「Section2」なるタグが付けられている。   On the other hand, “d: \ rs \ sec \ sec2 \” in the hard disk 28 describes various setting items when processing a print job received from another business application (for example, business B application). The setting file is stored, and this setting file is named “HR”. Also, this configuration file has a tag “Section2”.

更に設定データには、以下の事項も記されている。   Furthermore, the following items are also described in the setting data.

[DataAA]
Section=1
[DataBB]
Section=2
即ち、この設定事項は、外部から受けた印刷ジョブのジョブ名の先頭に「AA」が付いていれば、この印刷ジョブは、例えば業務A用アプリケーションからのものであると判断し、外部から受けた印刷ジョブのジョブ名の先頭に「BB」が付いていれば、この印刷ジョブは、例えば業務B用アプリケーションからのものであると判断するよう、設定されたものである。この判断結果は、区画IDに反映される。
[DataAA]
Section = 1
[DataBB]
Section = 2
That is, for this setting item, if “AA” is added to the head of the job name of the print job received from the outside, it is determined that the print job is from, for example, the application for business A and received from the outside. If “BB” is added to the head of the job name of the print job, the print job is set to be determined to be from, for example, the business B application. This determination result is reflected in the section ID.

従って、このような設定によれば、複数の業務のそれぞれに対応する変換プログラムのうち何れかに印刷ジョブを送出する場合には、この印刷ジョブのジョブ名の先頭を参照することで、印刷ジョブの供給元を特定することができるし、供給元に対応する変換プログラムに、この印刷ジョブを送出することができる。   Therefore, according to such a setting, when a print job is sent to one of the conversion programs corresponding to each of a plurality of jobs, the print job is referred to by referring to the head of the job name of the print job. Can be specified, and this print job can be sent to a conversion program corresponding to the supplier.

なお、以上の各実施形態では、業務毎に設けられたアプリケーションによって、印刷ジョブの種類を分けていたが、これに限定するものではなく、印刷ジョブの種類分けはどのようなジャンル毎に分けても良い。   In each of the above embodiments, the type of print job is divided according to the application provided for each job. However, the present invention is not limited to this, and the type of print job is divided according to what genre. Also good.

[その他の実施形態]
尚、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(実施形態では図に示すフローチャートに対応したプログラム)を、システムあるいは装置に直接あるいは遠隔から供給し、そのシステムあるいは装置のコンピュータが該供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。
[Other Embodiments]
In the present invention, a software program (in the embodiment, a program corresponding to the flowchart shown in the figure) that realizes the functions of the above-described embodiment is directly or remotely supplied to the system or apparatus, and the computer of the system or apparatus Is also achieved by reading and executing the supplied program code.

従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であっても良い。   In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.

プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などがある。   As a recording medium for supplying the program, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card ROM, DVD (DVD-ROM, DVD-R) and the like.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   As another program supply method, a client computer browser is used to connect to an Internet homepage, and the computer program of the present invention itself or a compressed file including an automatic installation function is downloaded from the homepage to a recording medium such as a hard disk. Can also be supplied. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行ない、その処理によっても前述した実施形態の機能が実現され得る。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. It is also possible to execute the encrypted program by using the key information and install the program on a computer. In addition to the functions of the above-described embodiments being realized by the computer executing the read program, the OS running on the computer based on the instruction of the program is a part of the actual processing. Alternatively, the functions of the above-described embodiment can be realized by performing all of them and performing the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行ない、その処理によっても前述した実施形態の機能が実現される。   Furthermore, after the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board or The CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are also realized by the processing.

本発明の第1の実施形態に係るシステムの概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a system according to a first embodiment of the present invention. プリントサーバ103に適用可能なコンピュータのハードウェア構成を示す図である。FIG. 3 is a diagram illustrating a hardware configuration of a computer applicable to the print server 103. プリントサーバ103の機能構成、及びその周辺環境を示すブロック図である。2 is a block diagram illustrating a functional configuration of a print server 103 and its surrounding environment. FIG. 印刷データ管理部313が行う処理の詳細を示すフローチャートである。5 is a flowchart illustrating details of processing performed by a print data management unit 313. 統合処理キュー312の構成例を示す図である。5 is a diagram illustrating a configuration example of an integrated processing queue 312. FIG. 業務A用アプリケーション、業務B用アプリケーションのそれぞれから受けた印刷ジョブを印刷装置1,2の何れかに出力する構成における統合処理キュー312の構成例を示す図である。6 is a diagram illustrating a configuration example of an integrated processing queue 312 in a configuration in which a print job received from each of a business A application and a business B application is output to one of the printing apparatuses 1 and 2. FIG. 業務A用アプリケーション、業務B用アプリケーション、業務C用アプリケーション、業務D用アプリケーション、業務E用アプリケーション、業務F用アプリケーションのそれぞれから送出された印刷ジョブを印刷装置1〜印刷装置4の何れかに送出する場合の統合処理キュー312の構成例を示す図である。A print job sent from each of the business A application, business B application, business C application, business D application, business E application, and business F application is sent to one of the printing apparatuses 1 to 4. It is a figure which shows the structural example of the integrated process queue 312 in the case of doing. ある区画の処理キューの内容を示す従来のGUIの表示例を示す図である。It is a figure which shows the example of a display of the conventional GUI which shows the content of the processing queue of a certain division. 業務A用管理テーブル304の構成例を示す図である。6 is a diagram illustrating a configuration example of a business A management table 304. FIG. 業務A用処理キュー306の構成例を示す図である。FIG. 6 is a diagram illustrating a configuration example of a business A processing queue 306. 従来技術について説明する図である。It is a figure explaining a prior art.

Claims (8)

印刷ジョブを生成して出力する外部装置が複数接続されているネットワークに接続されており、当該外部装置から出力された印刷ジョブを当該ネットワークを介して受信可能なサーバ装置であって、
前記ネットワークを介して受信した印刷ジョブを受信順にキューに登録する登録手段と、
前記キューに登録されている印刷ジョブを登録順に順次変換する変換手段と、
前記変換手段により変換されたデータを印刷装置に出力する出力手段と
を備えることを特徴とするサーバ装置。
A server device that is connected to a network to which a plurality of external devices that generate and output a print job are connected, and that can receive a print job output from the external device via the network,
Registration means for registering print jobs received via the network in a queue in the order received;
Conversion means for sequentially converting the print jobs registered in the queue in the order of registration;
An output unit that outputs the data converted by the conversion unit to a printing apparatus.
前記変換手段は、印刷ジョブの種類毎に設けられており、
前記キューに登録されている印刷ジョブは、登録順に、その種類に応じた変換手段によって変換されることを特徴とする請求項1に記載のサーバ装置。
The conversion means is provided for each type of print job,
The server apparatus according to claim 1, wherein the print jobs registered in the queue are converted by a conversion unit according to the type in the registration order.
印刷ジョブの種類毎に設けられている変換手段は、1つの印刷ジョブの変換処理が終了してから次の印刷ジョブの変換処理を行うことを特徴とする請求項2に記載のサーバ装置。   The server apparatus according to claim 2, wherein the conversion unit provided for each type of print job performs the conversion process of the next print job after the conversion process of one print job is completed. 前記出力手段による出力先が複数の場合には、
前記変換手段は、前記キューに登録されている印刷ジョブ群を、出力先が同じ印刷ジョブ毎にグループ分割し、グループ毎に、登録順に変換することを特徴とする請求項1に記載のサーバ装置。
When there are a plurality of output destinations by the output means,
The server apparatus according to claim 1, wherein the conversion unit divides the print job group registered in the queue into groups for each print job having the same output destination, and converts the group in order of registration for each group. .
前記変換手段は前記印刷ジョブの同時変換数を有しており、同時変換数を超えて変換しないことを特徴とする請求項1乃至4の何れか1項に記載のサーバ装置。   5. The server device according to claim 1, wherein the conversion unit has a simultaneous conversion number of the print job and does not convert more than the simultaneous conversion number. 6. 印刷ジョブを生成して出力する外部装置が複数接続されているネットワークに接続されており、当該外部装置から出力された印刷ジョブを当該ネットワークを介して受信可能なサーバ装置の制御方法であって、
前記ネットワークを介して受信した印刷ジョブを受信順にキューに登録する登録工程と、
前記キューに登録されている印刷ジョブを登録順に順次変換する変換工程と、
前記変換工程で変換されたデータを印刷装置に出力する出力工程と
を備えることを特徴とするサーバ装置の制御方法。
A method for controlling a server device that is connected to a network to which a plurality of external devices that generate and output a print job are connected, and that can receive a print job output from the external device via the network,
A registration step of registering print jobs received via the network in a queue in the order received;
A conversion step of sequentially converting the print jobs registered in the queue in the order of registration;
An output step of outputting the data converted in the conversion step to a printing apparatus.
コンピュータに請求項6に記載の制御方法を実行させるためのプログラム。   A program for causing a computer to execute the control method according to claim 6. 請求項7に記載のプログラムを格納したことを特徴とする、コンピュータ読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 7.
JP2005346768A 2005-11-30 2005-11-30 Server apparatus and control method thereof Expired - Fee Related JP4656651B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005346768A JP4656651B2 (en) 2005-11-30 2005-11-30 Server apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005346768A JP4656651B2 (en) 2005-11-30 2005-11-30 Server apparatus and control method thereof

Publications (3)

Publication Number Publication Date
JP2007156532A true JP2007156532A (en) 2007-06-21
JP2007156532A5 JP2007156532A5 (en) 2009-04-02
JP4656651B2 JP4656651B2 (en) 2011-03-23

Family

ID=38240861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005346768A Expired - Fee Related JP4656651B2 (en) 2005-11-30 2005-11-30 Server apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP4656651B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010044477A1 (en) * 2008-10-14 2010-04-22 Canon Kabushiki Kaisha File control apparatus, print system, and program for controlling them

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265775A (en) * 1992-03-19 1993-10-15 Hitachi Ltd Job execution forecast control method and job execution condition display method
JP2000181565A (en) * 1998-12-18 2000-06-30 Fujitsu Ltd Device and method for displaying message, recording medium therefor, and monitoring system for message
JP2001043041A (en) * 1999-07-30 2001-02-16 Tokyo Denshi Sekkei Kk Printer connector, method for installing conversion program to the same, and print system
JP2003143214A (en) * 2001-11-02 2003-05-16 Sony Corp Terminal, packet relaying device, method for transmitting packet transmission program, method for designating packet transmission program, packet transmission method, recording medium, network relay system, and method for setting packet transmission program
JP2003323273A (en) * 2002-04-30 2003-11-14 Ricoh Co Ltd Print server, program and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265775A (en) * 1992-03-19 1993-10-15 Hitachi Ltd Job execution forecast control method and job execution condition display method
JP2000181565A (en) * 1998-12-18 2000-06-30 Fujitsu Ltd Device and method for displaying message, recording medium therefor, and monitoring system for message
JP2001043041A (en) * 1999-07-30 2001-02-16 Tokyo Denshi Sekkei Kk Printer connector, method for installing conversion program to the same, and print system
JP2003143214A (en) * 2001-11-02 2003-05-16 Sony Corp Terminal, packet relaying device, method for transmitting packet transmission program, method for designating packet transmission program, packet transmission method, recording medium, network relay system, and method for setting packet transmission program
JP2003323273A (en) * 2002-04-30 2003-11-14 Ricoh Co Ltd Print server, program and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010044477A1 (en) * 2008-10-14 2010-04-22 Canon Kabushiki Kaisha File control apparatus, print system, and program for controlling them
JP2010097287A (en) * 2008-10-14 2010-04-30 Canon Inc File control device, printing system, and program for controlling them
US8654368B2 (en) 2008-10-14 2014-02-18 Canon Kabushiki Kaisha File control apparatus, print system, and program for controlling them

Also Published As

Publication number Publication date
JP4656651B2 (en) 2011-03-23

Similar Documents

Publication Publication Date Title
US8032464B2 (en) Server printing apparatus and its control method, and computer program
US9021460B2 (en) Software management system
US20070097416A1 (en) Printing apparatus, print instruction apparatus, and printing system
US20070091361A1 (en) Printer, print control method, and program for executing print control method
US8711390B2 (en) Method and apparatus for executing load distributed printing
US20070112441A1 (en) Modular layer for abstracting peripheral hardware characteristics
US7538902B2 (en) Print control program and information processing apparatus
JP2005174210A (en) Information processor, printing system, load distribution printing method, and control program
JP2009129361A (en) Information processing apparatus, printing apparatus, control method therefor, information processing system, and program
US8689242B2 (en) Information processing apparatus for controlling installation, method for controlling the apparatus and control program for executing the method
US8711379B2 (en) Method and apparatus for executing load distributed printing
JP2006508416A (en) Extensible driver
JP4246620B2 (en) Information processing apparatus, information processing system, information processing method, program, and recording medium
US8010712B2 (en) Macro transmission server apparatus and control method therefor
JP4886501B2 (en) Printing apparatus, printing control method, and program
US8424063B2 (en) Workflow management apparatus and workflow management method
JP4656651B2 (en) Server apparatus and control method thereof
JP4882851B2 (en) Information processing system, image output system, information processing program, and image output program
JP2008046739A (en) Image forming device, information processor and program
US7548325B2 (en) Method and system to manage multiple format fonts in an image generating device
US10891087B2 (en) Print system, printer and non-transitory computer-readable recording medium storing instructions therefor
US7623253B1 (en) Indirect processing of print jobs
JP4049269B2 (en) Server apparatus, control method therefor, and program
JP2008027217A (en) Printing system with information processor and printing apparatus
JP2013131109A (en) Printing management device, printing management method, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100823

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101022

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101217

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101220

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

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees