JP2007041753A - Printing control for executing distributed printing - Google Patents

Printing control for executing distributed printing Download PDF

Info

Publication number
JP2007041753A
JP2007041753A JP2005223717A JP2005223717A JP2007041753A JP 2007041753 A JP2007041753 A JP 2007041753A JP 2005223717 A JP2005223717 A JP 2005223717A JP 2005223717 A JP2005223717 A JP 2005223717A JP 2007041753 A JP2007041753 A JP 2007041753A
Authority
JP
Japan
Prior art keywords
page
printing
print job
print
distribution destination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005223717A
Other languages
Japanese (ja)
Inventor
Toshihiro Shima
敏博 島
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005223717A priority Critical patent/JP2007041753A/en
Priority to US11/496,526 priority patent/US20070030514A1/en
Priority to EP06254043A priority patent/EP1755030A3/en
Publication of JP2007041753A publication Critical patent/JP2007041753A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To attain distributed printing in a page unit with a simple configuration. <P>SOLUTION: A printing controller is incorporated in at least one of a plurality of printers connected to a network. The print controller is provided with: a receiving part for receiving one printing job to request print over a plurality of pages; a distribution destination specifying part for specifying a plurality of distribution destination printers as the destination of printing requested by a first printing job from among a plurality of printers; an assignment page determining part for dividing a plurality of pages whose printing is requested by the first print job into groups corresponding to the distribution destination printers, and determining each page to be assigned to each distribution destination printer; and a transmitting part for transmitting a second printing job to request the print of the assignment pages to the plurality of distribution destination printers. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、印刷ジョブを2以上の印刷装置に分散して、分散印刷を行う技術に関する。   The present invention relates to a technique for performing distributed printing by distributing a print job to two or more printing apparatuses.

複数の印刷装置にネットワークを介して接続された印刷制御装置が、複数の印刷装置に印刷ジョブを分散する分散印刷システムが知られている(例えば、特許文献1)。その従来技術では、1つの印刷ジョブにおいて印刷を要求される複数のページを、ページ単位で複数の印刷装置に配分し、並行して印刷を行うことにより、短時間で複数部数の印刷を完了することができる。   There is known a distributed printing system in which a printing control apparatus connected to a plurality of printing apparatuses via a network distributes a print job to the plurality of printing apparatuses (for example, Patent Document 1). In the prior art, a plurality of pages requested to be printed in one print job are distributed to a plurality of printing apparatuses in units of pages, and printing is performed in parallel, thereby completing a plurality of copies in a short time. be able to.

特開2002−268850号公報JP 2002-268850 A 特開2001−100963号公報JP 2001-1000096 A 特開平11−110143号公報JP-A-11-110143

しかしながら、上記従来技術では、ページ単位での分散印刷を実現するために専用サーバを含めた大がかりなシステムが必要とされる場合があった。   However, in the above prior art, a large-scale system including a dedicated server may be required to realize distributed printing in units of pages.

本発明は、上記課題を解決するためになされたものであり、簡易な構成にてページ単位での分散印刷を実現することを目的とする。   SUMMARY An advantage of some aspects of the invention is to realize distributed printing in units of pages with a simple configuration.

上記課題の少なくとも一部を解決するために本発明の第1の態様は、ネットワークに接続された複数の印刷装置のうち、少なくとも一つに内蔵される印刷制御装置を提供する。本態様に係る印刷制御装置は、複数のページに亘る印刷を要求する第1の印刷ジョブを受信する受信部と、前記複数の印刷装置の中から、前記第1の印刷ジョブにより要求される印刷の分散先となる複数の分散先印刷装置を特定する分散先特定部と、前記第1の印刷ジョブにより印刷を要求される複数のページを、前記分散先印刷装置の数のグループに分けて、各分散先印刷装置に割り当てられる各割当ページを決定する割当ページ決定部と、前記割当ページの印刷を要求する第2の印刷ジョブを、複数の前記分散先印刷装置に対してそれぞれ送信する送信部と、を備えることを特徴とする。   In order to solve at least a part of the above problems, a first aspect of the present invention provides a print control apparatus incorporated in at least one of a plurality of printing apparatuses connected to a network. The print control apparatus according to this aspect includes a receiving unit that receives a first print job that requests printing over a plurality of pages, and a print that is requested by the first print job from the plurality of printing apparatuses. Dividing a plurality of pages requested to be printed by the first print job into a group of the number of distribution destination printing devices, An allocation page determination unit that determines each allocation page allocated to each distribution destination printing device, and a transmission unit that transmits a second print job requesting printing of the allocation page to each of the plurality of distribution destination printing devices. And.

本態様によれば、印刷を要求される複数のページを、複数の分散先印刷装置にページ単位で割当てて印刷を行わせる分散印刷(ページ単位での分散印刷)を、印刷装置に内蔵された印刷制御装置が行う。従って、簡易な構成でページ単位での分散印刷を実現することができる。   According to this aspect, the printing apparatus incorporates distributed printing (distributed printing in units of pages) in which a plurality of pages requested to be printed are allocated to a plurality of distribution destination printing apparatuses in units of pages and printed. Performed by the print controller. Therefore, it is possible to realize distributed printing in units of pages with a simple configuration.

本態様に係る印刷制御装置において、前記第1の印刷ジョブは、前記印刷が要求される複数のページに対応する印刷データを含み、前記第2の印刷ジョブは、前記印刷データをそのまま含むと共に、前記割当ページを特定するためのページ特定情報を含んでも良い。こうすれば、第2の印刷ジョブは、第1の印刷ジョブに含まれる印刷データをそのまま含むので、印刷制御装置は、印刷データの加工をすることなく、容易に、第2の印刷ジョブを生成できる。この結果、印刷制御装置の処理負荷を低減でき、印刷制御装置をより簡易な装置にすることができる。   In the print control apparatus according to this aspect, the first print job includes print data corresponding to a plurality of pages for which printing is requested, and the second print job includes the print data as it is. It may include page specifying information for specifying the allocation page. In this way, since the second print job includes the print data included in the first print job as it is, the print control apparatus can easily generate the second print job without processing the print data. it can. As a result, the processing load of the print control apparatus can be reduced, and the print control apparatus can be simplified.

本態様に係る印刷制御装置において、前記第2の印刷ジョブは、前記第1の印刷ジョブに、前記ページ特定情報を追加した印刷ジョブであっても良い。こうすれば、第2の印刷ジョブは、第1の印刷ジョブにページ特定情報を追加するだけで生成されるので、印刷制御装置は、より容易に、第2の印刷ジョブを生成できる。この結果、印刷制御装置の処理負荷を低減でき、印刷制御装置をより簡易な装置にすることができる。   In the print control apparatus according to this aspect, the second print job may be a print job in which the page specifying information is added to the first print job. In this way, since the second print job is generated simply by adding the page specifying information to the first print job, the print control apparatus can generate the second print job more easily. As a result, the processing load of the print control apparatus can be reduced, and the print control apparatus can be simplified.

本態様に係る印刷制御装置において、前記割当ページは、1または連続する複数のページであり、前記ページ特定情報は、前記割当ページの開始ページと終了ページを特定するための情報を含んでも良い。こうすれば、開始ページと終了ページを特定することにより、分散先印刷装置は、容易に、割当ページを特定することができる。   In the print control apparatus according to this aspect, the allocation page may be one or a plurality of continuous pages, and the page specifying information may include information for specifying a start page and an end page of the allocation page. In this way, by specifying the start page and the end page, the distribution destination printing apparatus can easily specify the allocation page.

本態様に係る印刷制御装置において、前記第1の印刷ジョブは、前記印刷が要求される複数のページの総ページ数を特定するためのページ数情報を含み、前記割当ページ決定部は、前記割当ページのページ数を、前記ページ数情報に基づいて決定しても良い。こうすれば、印刷制御装置は、総ページ数を容易に把握でき、総ページ数に基づいて容易に、適切な割当ページを決定できる。   In the print control apparatus according to this aspect, the first print job includes page number information for specifying the total number of pages of the plurality of pages requested to be printed, and the allocation page determination unit includes the allocation page determination unit. The number of pages may be determined based on the page number information. In this way, the print control apparatus can easily grasp the total number of pages, and can easily determine an appropriate allocation page based on the total number of pages.

本態様に係る印刷制御装置において、前記第1の印刷ジョブは、さらに、前記印刷が要求される複数のページに対応する印刷データを含み、前記第1の印刷ジョブは、前記受信部により受信される際に、前記ページ数情報が前記印刷データより先に受信されるように構成されても良い。こうすれば、印刷データを受信する前に、ページ数情報を受信するので、印刷制御装置は、印刷データを受信していなくても、総ページ数を把握でき、総ページ数に基づいて適切な割当ページを決定できる。   In the print control apparatus according to this aspect, the first print job further includes print data corresponding to a plurality of pages for which printing is requested, and the first print job is received by the receiving unit. In this case, the page number information may be received before the print data. In this way, since the page number information is received before the print data is received, the print control apparatus can grasp the total page number even if the print data is not received, and the appropriate number of pages can be determined based on the total page number. Assign page can be determined.

本態様に係る印刷制御装置において、前記割当ページ決定部は、各分散先印刷装置に割り当てられる各割当ページのページ数を、ほぼ均等にしても良い。こうすれば、短時間にページ単位での分散印刷を完了させることができる。また、係る場合において、前記第2の印刷ジョブは、前記第1の印刷ジョブにより印刷を要求される複数のページに対応する印刷データを全て含み、前記分散先印刷装置は、前記第2の印刷ジョブにより要求される印刷を実行する際に、前記印刷データをページ順に解釈して、前記割当ページに対応する印刷データを選択的に印刷し、前記割当ページ決定部は、前記総ページ数が前記分散先印刷装置の数で割り切れない場合には、各分散先印刷装置に割り当てられる各割当ページのうち、ページ順の早いページを含む割当ページのページ数を多くしても良い。ページ順の早いページを含む割当ページを印刷する分散先印刷装置は、より割当ページの印刷を早く開始できる。そのような分散先印刷装置に多くのページ数を印刷させることにより、短時間にページ単位での分散印刷を完了させることができる。   In the printing control apparatus according to this aspect, the allocation page determination unit may make the number of allocated pages allocated to each distribution destination printing apparatus substantially equal. In this way, distributed printing in units of pages can be completed in a short time. In such a case, the second print job includes all print data corresponding to a plurality of pages requested to be printed by the first print job, and the distribution destination printing apparatus includes the second print job. When executing the printing requested by the job, the print data is interpreted in page order, and the print data corresponding to the allocation page is selectively printed. If it is not divisible by the number of distribution destination printing apparatuses, the number of allocation pages including pages with the earlier page order among the allocation pages allocated to each distribution destination printing apparatus may be increased. A distribution-destination printing apparatus that prints assigned pages including pages with an earlier page order can start printing assigned pages earlier. By printing a large number of pages on such a distribution destination printing apparatus, distributed printing in units of pages can be completed in a short time.

なお、本発明は、上記した印刷制御装置としての構成の他、ネットワークに接続される印刷装置、あるいは、複数の印刷装置を備える印刷システムとしても構成することができる。また、そのような物の発明としての態様に限ることなく、ネットワークに接続された複数の印刷装置における印刷方法などの方法発明としての態様で実現することも可能である。さらには、それら方法や装置を構築するためのコンピュータプログラムとしての態様や、そのようなコンピュータプログラムを記録した記録媒体としての態様や、上記コンピュータプログラムを含み搬送波内に具現化されたデータ信号など、種々の態様で実現することも可能である。   The present invention can be configured as a printing system including a printing apparatus connected to a network or a plurality of printing apparatuses in addition to the above-described configuration as a printing control apparatus. In addition, the present invention is not limited to such an aspect of the invention, and can be realized as an aspect of a method invention such as a printing method in a plurality of printing apparatuses connected to a network. Further, aspects as a computer program for constructing those methods and apparatuses, aspects as a recording medium recording such a computer program, data signals embodied in a carrier wave including the computer program, etc. It can also be realized in various ways.

以下、本発明に係る印刷制御装置および印刷装置について、図面を参照しつつ、実施例に基づいて説明する。   Hereinafter, a printing control apparatus and a printing apparatus according to the present invention will be described based on examples with reference to the drawings.

A.第1実施例:
・分散印刷システムの構成:
図1および図2を参照して、本発明の第1実施例における分散印刷システムの構成について説明する。図1は、本発明の第1実施例における分散印刷システムの概略構成を示す説明図である。図2は、第1実施例における分散印刷システムを構成する各機器の内部構成を示すブロック図である。
A. First embodiment:
・ Configuration of distributed printing system:
The configuration of the distributed printing system in the first embodiment of the present invention will be described with reference to FIG. 1 and FIG. FIG. 1 is an explanatory diagram showing a schematic configuration of a distributed printing system in the first embodiment of the present invention. FIG. 2 is a block diagram showing an internal configuration of each device constituting the distributed printing system in the first embodiment.

この分散印刷システムは、図1に示すように、クライアントとしての計算機(以下、単にクライアントという。)CLと、複数のプリンタPRT1〜PRT4を含む。クライアントCLと、プリンタPRT1〜PRT4は、ローカルエリアネットワーク(LAN)を介して互いに接続されている。各機器間の通信は、TCP/IPプロトコルを用いて行われるため、各機器にはそれぞれIPアドレスが割り振られる。説明の便宜上、クライアントCLには「IPc」、プリンタPRT1〜PRT4には、それぞれ「IP1」〜「IP4」なるIPアドレスが設定されているものとする。なお、厳密に言えば、これらIPアドレスは、クライアントCL、プリンタPRT1〜PRT4自体に設定されているわけではなく、TCP/IPのネットワークから見た場合のノード(すなわち、具体的には、TCP/IP通信を行うためにネットワークに接続されているネットワークボードなど)に設定されている。   As shown in FIG. 1, the distributed printing system includes a computer (hereinafter simply referred to as a client) CL as a client and a plurality of printers PRT1 to PRT4. The client CL and the printers PRT1 to PRT4 are connected to each other via a local area network (LAN). Since communication between devices is performed using the TCP / IP protocol, each device is assigned an IP address. For convenience of explanation, it is assumed that IP addresses “IPc” are set in the client CL and “IP1” to “IP4” are set in the printers PRT1 to PRT4, respectively. Strictly speaking, these IP addresses are not set in the client CL and the printers PRT1 to PRT4 themselves, but are nodes when viewed from the TCP / IP network (specifically, TCP / IP). For example, a network board connected to a network for performing IP communication).

これらプリンタのうち、プリンタPRT1には、カスタムネットワークボード100がそれぞれ取り付けられている。このカスタムネットワークボード100は、クライアントCLから受信した印刷ジョブを他のプリンタに分散して、分散印刷を実行するための分散印刷制御機能を備えており、請求項における印刷制御装置に相当する。プリンタPRT2〜PRT4には、それぞれ、標準のネットワークボード200が取り付けられている。   Among these printers, the custom network board 100 is attached to the printer PRT1. The custom network board 100 has a distributed print control function for distributing print jobs received from the client CL to other printers and executing distributed printing, and corresponds to a print control device in the claims. A standard network board 200 is attached to each of the printers PRT2 to PRT4.

図1において、実線で示す矢印は、クライアントCLからプリンタPRT1のカスタムネットワークボード100に印刷ジョブが送信され、プリンタPRT1のカスタムネットワークボード100からプリンタPRT1〜PRT4にその印刷ジョブが分散される流れを示している。このように、プリンタPRT1〜PRT4はいずれも、プリンタPRT1のカスタムネットワークボード100から分散印刷の分散先とされ得る。以下において、各プリンタPRT1〜PRT4を区別する必要のない場合には、符号の末尾の数字を省略しプリンタPRTともいう。また、プリンタPRT1〜PRT4のうち、分散先とされたプリンタを分散先プリンタともいう。   In FIG. 1, arrows indicated by solid lines indicate a flow in which a print job is transmitted from the client CL to the custom network board 100 of the printer PRT1, and the print jobs are distributed from the custom network board 100 of the printer PRT1 to the printers PRT1 to PRT4. ing. As described above, any of the printers PRT1 to PRT4 can be a distribution destination of distributed printing from the custom network board 100 of the printer PRT1. In the following, when it is not necessary to distinguish between the printers PRT1 to PRT4, the numerals at the end of the reference numerals are omitted and are also referred to as printers PRT. Of the printers PRT1 to PRT4, a printer that is a distribution destination is also referred to as a distribution destination printer.

プリンタPRT1は、図2に示すように、プリンタ本体PRB1と、上述したカスタムネットワークボード100とを備えている。プリンタ本体PRB1は、主として、プリンタエンジン90と、プリンタコントローラ80とを備えている。プリンタエンジン90は、実際に印刷を行う。プリンタコントローラ80は、後述する印刷ジョブ受信部60から供給される印刷ジョブを受け取り、その印刷ジョブを解釈してプリンタエンジン90を制御して印刷を実行させる。プリンタコントローラ80は、供給された印刷ジョブを始めとするデータを一時的に格納するプリンタバッファ82を備えている。また、プリンタコントローラ80は、プリンタ本体PRB1に関する種々の情報を収集してMIB(Management Information Base)と呼ばれる形式で保存したファイル(以下、MIBファイルという。)81を格納している。MIBファイル81には、種々の情報がオブジェクト単位で保存され、オブジェクトごとに、オブジェクトID(以下、OIDという。)が割り振られている。   As shown in FIG. 2, the printer PRT1 includes a printer main body PRB1 and the custom network board 100 described above. The printer main body PRB1 mainly includes a printer engine 90 and a printer controller 80. The printer engine 90 actually performs printing. The printer controller 80 receives a print job supplied from a print job receiving unit 60 described later, interprets the print job, controls the printer engine 90, and executes printing. The printer controller 80 includes a printer buffer 82 that temporarily stores data including a supplied print job. Further, the printer controller 80 stores a file 81 (hereinafter referred to as an MIB file) 81 in which various information related to the printer main body PRB1 is collected and saved in a format called MIB (Management Information Base). Various information is stored in the MIB file 81 in units of objects, and object IDs (hereinafter referred to as OIDs) are assigned to the respective objects.

カスタムネットワークボード100は、主として、中央演算装置(CPU)20と、メモリ30とを備えている。また、この他、実際にネットワーク通信を行うための通信用インタフェースなども備えているが、説明の便宜上、省略している。   The custom network board 100 mainly includes a central processing unit (CPU) 20 and a memory 30. In addition, although a communication interface for actually performing network communication is also provided, it is omitted for convenience of explanation.

CPU20は、メモリ30より、上記した分散印刷を実行するためのソフトウエアなどのプログラムを読み出して、実行することにより、図示した各機能ブロックをソフトウエア的に実現する。なお、各機能ブロックをハードウエア的に構築しても構わない。   The CPU 20 reads the program such as the software for executing the above-described distributed printing from the memory 30 and executes it, thereby realizing each functional block shown in the software. Each functional block may be constructed in hardware.

CPU20によって実現される機能ブロックには、TCP/IP部10と、分散制御部50と、印刷ジョブ受信部60と、SNMPマネージャ40と、SNMPエージェント70が含まれる。   Functional blocks realized by the CPU 20 include a TCP / IP unit 10, a distribution control unit 50, a print job receiving unit 60, an SNMP manager 40, and an SNMP agent 70.

TCP/IP部10は、TCP/IPプロトコルを解釈して、主としてネットワークを介して外部との通信を行う。TCP/IPプロトコルにおいてトランスポート層の処理を行うプロトコルとして、TCP(Transmission Control Protocol)とUDP(User Datagram Protocol)がある。TCPは、信頼性の高いコネクション型の通信を実現するプロトコルである。一方、UDPは、高速なコネクションレス型の通信を実現するプロトコルである。TCP/IP部10は、後述する印刷ジョブの通信を、TCPを用いて行うと共に、後述するSNMPマネージャ40とSNMPエージェント70間の通信を、UDPを用いて行う。   The TCP / IP unit 10 interprets the TCP / IP protocol and performs communication with the outside mainly via the network. TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are protocols that perform transport layer processing in the TCP / IP protocol. TCP is a protocol for realizing highly reliable connection-type communication. On the other hand, UDP is a protocol that realizes high-speed connectionless communication. The TCP / IP unit 10 performs communication of a print job, which will be described later, using TCP, and performs communication between the SNMP manager 40, which will be described later, and the SNMP agent 70, using UDP.

分散制御部50は、分散印刷が指定された印刷ジョブ(以下、第1の印刷ジョブともいう。)を受信して、分散先プリンタに印刷ジョブを分散する。分散制御部50は、サブ機能ブロックとして分散ジョブ受信部52と、分散先特定部54と、割当ページ決定部56と、印刷ジョブ送信部58を備えている。分散ジョブ受信部52は、クライアントCLなどの外部機器からネットワークを介して、第1の印刷ジョブを受信する。分散先特定部54は、カスタムネットワークボード100と接続されている複数のプリンタの中から第1の印刷ジョブの分散先となる複数の分散先プリンタを特定する。割当ページ決定部56は、第1の印刷ジョブにより印刷が要求される複数のページを、特定された分散先プリンタの数のグループに分ける。割当ページ決定部56は、グループに分けられたページをそれぞれ、特定された各分散先プリンタの割当ページとする。印刷ジョブ送信部58は、割当ページの印刷を分散先プリンタに要求する印刷ジョブ(以下、第2の印刷ジョブともいう。)を、各分散先プリンタに対して送信する。以上のような分散制御部50が実行する処理については、さらに後述する。   The distribution control unit 50 receives a print job for which distributed printing is designated (hereinafter also referred to as a first print job), and distributes the print job to the distribution destination printer. The distribution control unit 50 includes a distributed job receiving unit 52, a distribution destination specifying unit 54, an allocation page determining unit 56, and a print job transmitting unit 58 as sub function blocks. The distributed job receiving unit 52 receives a first print job from an external device such as a client CL via a network. The distribution destination specifying unit 54 specifies a plurality of distribution destination printers that are distribution destinations of the first print job from among a plurality of printers connected to the custom network board 100. The allocation page determination unit 56 divides a plurality of pages that are requested to be printed by the first print job into groups of the specified number of distribution destination printers. The allocation page determination unit 56 sets the pages divided into groups as allocation pages for each specified distribution destination printer. The print job transmission unit 58 transmits a print job that requests the distribution destination printer to print the allocated page (hereinafter also referred to as a second print job) to each distribution destination printer. The processing executed by the distribution control unit 50 as described above will be further described later.

印刷ジョブ受信部60は、分散印刷が指定されていない通常の印刷ジョブ、例えば、上述した第2の印刷ジョブを受信してプリンタコントローラ80に供給する。SNMPマネージャ40は、SNMP(Simple Network Management Protocol)と呼ばれる通信プロトコルを用いて、各プリンタPRT1〜PRT4が備えるSNMPエージェント70に問い合わせて、各種の情報を取得する。SNMPマネージャ40は、上述したOIDを指定することにより取得すべき情報を特定して問い合わせを行う。   The print job receiving unit 60 receives a normal print job for which distributed printing is not specified, for example, the above-described second print job, and supplies the received print job to the printer controller 80. The SNMP manager 40 uses a communication protocol called SNMP (Simple Network Management Protocol) to inquire the SNMP agent 70 included in each of the printers PRT1 to PRT4, and acquires various types of information. The SNMP manager 40 makes an inquiry by specifying information to be acquired by designating the above-described OID.

SNMPエージェント70は、SNMPマネージャ40の問い合わせに応じて、上述したMIBファイル81から所望の情報を取得し、SNMPマネージャ40に対して、その情報を送信する。   In response to the inquiry from the SNMP manager 40, the SNMP agent 70 acquires desired information from the MIB file 81 described above and transmits the information to the SNMP manager 40.

一方、メモリ30は、上述の各機能を実現するためのプログラムを格納する他、OID格納部32、分散先指定ファイル格納部34、バッファ36を備えている。OID格納部32には、SNMPマネージャ40が上述した問い合わせを行う際に指定するOIDが格納されている。OIDは、問い合わせ可能な情報の種類と関連付けられて格納されており、SNMPマネージャ40は、OID格納部32を参照して指定すべきOIDを取得することができる。分散先指定ファイル格納部34は、分散先指定ファイルを格納する。この分散先指定ファイルは、LANに接続されている複数のプリンタの中で、分散印刷における分散先として使用したいプリンタを、前もって、指定しておきたい場合に用いる。従って、そのような指定が不要な場合には、分散先指定ファイル格納部34には何も格納されなくても良い。バッファ36は、受信した第1の印刷ジョブを始めとするデータを、CPU20が一時的に格納するための格納部である。   On the other hand, the memory 30 includes an OID storage unit 32, a distribution destination designation file storage unit 34, and a buffer 36 in addition to storing programs for realizing the functions described above. The OID storage unit 32 stores an OID that is specified when the SNMP manager 40 makes the above-described inquiry. The OID is stored in association with the type of information that can be inquired, and the SNMP manager 40 can acquire the OID to be designated with reference to the OID storage unit 32. The distribution destination designation file storage unit 34 stores the distribution destination designation file. This distribution destination designation file is used when it is desired to specify in advance a printer to be used as a distribution destination in distributed printing among a plurality of printers connected to the LAN. Therefore, when such designation is unnecessary, nothing needs to be stored in the distribution destination designation file storage unit 34. The buffer 36 is a storage unit for the CPU 20 to temporarily store data including the received first print job.

プリンタPRT2〜プリンタPRT4は、同一の構成を有しているので、代表してプリンタPRT2の構成について説明する。プリンタPRT2は、図2に示すように、プリンタ本体PRB2および上述したネットワークボード200を備えている。プリンタ本体PRB2の構成は、上述したプリンタPRT1のプリンタ本体PRB1と同一の構成を有しているので、各構成要素にプリンタPRT1のプリンタ本体PRB1の構成要素と同一の符号を付しその説明を省略する。ネットワークボード200は、上述したカスタムネットワークボード100が有する機能のうち、分散印刷制御機能を除く機能を有している。すなわち、ネットワークボード200は、TCP/IP部10と、印刷ジョブ受信部60と、SNMPエージェント70とを有している。ネットワークボード200の各構成要素は、カスタムネットワークボード100の同名の構成要素と同様の機能や構成を有しているのでその説明を省略する。   Since the printers PRT2 to PRT4 have the same configuration, the configuration of the printer PRT2 will be described as a representative. As shown in FIG. 2, the printer PRT2 includes a printer main body PRB2 and the network board 200 described above. The configuration of the printer main body PRB2 has the same configuration as that of the printer main body PRB1 of the printer PRT1 described above. To do. The network board 200 has functions excluding the distributed printing control function among the functions of the custom network board 100 described above. That is, the network board 200 includes the TCP / IP unit 10, the print job receiving unit 60, and the SNMP agent 70. Since each component of the network board 200 has the same function and configuration as the component of the same name of the custom network board 100, the description thereof is omitted.

ここで、上記説明から解るように、プリンタPRT1に搭載されたカスタムネットワークボード100は、プリンタPRT2〜プリンタPRT4に搭載されたネットワークボード200の備える機能を全て備えている。そして、カスタムネットワークボード100の分散制御部50からみて、プリンタPRT1〜プリンタPRT4は、全て等価であり、後述する分散印刷処理において全て分散先プリンタとして指定され得る。分散制御部50は、分散制御部50自体が内蔵されているプリンタPRT1についても、他のプリンタについても区別なく扱うことができる。   Here, as can be understood from the above description, the custom network board 100 mounted on the printer PRT1 has all the functions of the network board 200 mounted on the printers PRT2 to PRT4. From the viewpoint of the distribution control unit 50 of the custom network board 100, the printers PRT1 to PRT4 are all equivalent and can all be designated as distribution destination printers in the distributed printing process described later. The distribution control unit 50 can handle the printer PRT1 including the distribution control unit 50 itself and other printers without distinction.

クライアントCLは、図2に示すように、アプリケーション11の他、機能ブロックとして、TCP/IP部13と印刷ジョブ送信部12とを有している。TCP/IP部13は、上述したカスタムネットワークボード100のTCP/IP部10と同様の機能および構成を有している。印刷ジョブ送信部12は、アプリケーション11の印刷要求に応じて印刷ジョブを生成し、TCP/IP部13を介して生成された印刷ジョブをプリンタPRTに送信する。なお、分散印刷が指定された第1の印刷ジョブは、カスタムネットワークボード100を備えるプリンタPRT1に対してのみ送信され、分散印刷が指定されていない通常の印刷ジョブは、プリンタPRT1〜PRT4のいずれに対しても送信されることができる。   As shown in FIG. 2, the client CL includes a TCP / IP unit 13 and a print job transmission unit 12 as functional blocks in addition to the application 11. The TCP / IP unit 13 has the same function and configuration as the TCP / IP unit 10 of the custom network board 100 described above. The print job transmission unit 12 generates a print job in response to a print request from the application 11 and transmits the print job generated via the TCP / IP unit 13 to the printer PRT. The first print job for which distributed printing is designated is transmitted only to the printer PRT1 including the custom network board 100, and the normal print job for which distributed printing is not designated is assigned to any of the printers PRT1 to PRT4. It can also be transmitted.

・印刷ジョブについて:
分散印刷処理を説明する前に、図3を参照して、本実施例に用いられる印刷ジョブについて説明する。図3は、印刷ジョブの構成を説明する概念図である。図3(a)は、印刷ジョブの通信に用いられる通信データの構成を示している。図3(b)は、印刷ジョブのデータ構造を示している。
・ About print jobs:
Before describing the distributed printing process, a print job used in this embodiment will be described with reference to FIG. FIG. 3 is a conceptual diagram illustrating the configuration of a print job. FIG. 3A shows the configuration of communication data used for print job communication. FIG. 3B shows the data structure of the print job.

印刷ジョブは、TCP/IPプロトコルに従った形式の通信データとして送信される。この通信データは、図3(a)に示すように、ヘッダ400と、データ部450とに分かれている。このうち、ヘッダ400には、その通信データの送信元である機器のIPアドレスである送信元IPアドレスSAと、その機器内における送信元であるソフトウエアを特定するポート番号である送信元ポート番号SPと、を含む他、その通信データの送信先である機器のIPアドレスである送信先IPアドレスDAと、その機器内における送信先であるソフトウエアを特定するポート番号である送信先ポート番号DPとを含んでいる。送信元である機器のソフトウエアから発信された通信データは、送信先IPアドレスDAに従って、そのIPアドレスを有する機器に送信され、さらに、受信したその機器内では、送信先ポート番号DPに従って、その番号のポートで待機しているソフトウエアに渡される。データ部450は、通信の対象となるデータが格納される部分であり、本実施例では、印刷ジョブが格納される。   The print job is transmitted as communication data in a format according to the TCP / IP protocol. The communication data is divided into a header 400 and a data part 450 as shown in FIG. Among these, the header 400 includes a transmission source IP address SA that is an IP address of a device that is a transmission source of the communication data, and a transmission source port number that is a port number for identifying software that is a transmission source in the device. In addition to SP, a destination IP address DA that is the IP address of the device that is the destination of the communication data, and a destination port number DP that is a port number that identifies the software that is the destination in the device Including. Communication data transmitted from the software of the transmission source device is transmitted to the device having the IP address in accordance with the transmission destination IP address DA. Further, in the received device, the communication data is transmitted in accordance with the transmission destination port number DP. Passed to software listening on port number. The data part 450 is a part for storing data to be communicated, and in this embodiment, a print job is stored.

例えば、クライアントCLからプリンタPRT1に分散印刷が指定された第1の印刷ジョブを送信する場合、通信データのヘッダ400には、上述した送信先IPアドレスDAとしてプリンタPRT1のIPアドレスである「IP1」が、送信先ポート番号DPとして「59100」がそれぞれ記載される。「59100」は、第1の印刷ジョブを受信する分散制御部50が待機しているポート番号である。また、ヘッダ400には、送信元IPアドレスSAとして「IPc」が、送信元ポート番号SPとして印刷ジョブ送信部12が待機しているポート番号(具体的な数字は省略)が記載される。一方、クライアントCLからプリンタPRT1に分散印刷が指定されていない通常の印刷ジョブを送信する場合、送信先ポート番号DPとして上述した「59100」に代えて、「9100」が記載される。「9100」は、通常の印刷ジョブの受信を行う印刷ジョブ受信部60が待機しているポート番号である。すなわち、本実施例では、印刷ジョブ送信部12は、ユーザの要求に応じて印刷ジョブの送信時に指定される送信先ポート番号DPの値を切り換えることにより、分散印刷を指定するか、指定しないかを選択することができる。言い換えれば、分散印刷が指定された第1の印刷ジョブは、ポート番号「59100」で待機する分散制御部50に受信される印刷ジョブのことを指し、分散印刷が指定されていない通常の印刷ジョブは、ポート番号「9100」で待機する印刷ジョブ受信部60に渡される印刷ジョブを指している。印刷ジョブの内容自体は、基本的に第1の印刷ジョブと通常の印刷ジョブとの間に違いはない。   For example, when the first print job in which distributed printing is designated is transmitted from the client CL to the printer PRT1, the header 400 of the communication data includes “IP1” which is the IP address of the printer PRT1 as the above-described transmission destination IP address DA. However, “59100” is described as the destination port number DP. “59100” is a port number on which the distribution control unit 50 that receives the first print job is waiting. In the header 400, “IPc” is described as the transmission source IP address SA, and the port number (specific numbers are omitted) on which the print job transmission unit 12 is waiting is transmitted as the transmission source port number SP. On the other hand, when transmitting a normal print job for which distributed printing is not specified from the client CL to the printer PRT1, “9100” is described instead of “59100” described above as the destination port number DP. “9100” is a port number on which the print job receiving unit 60 that receives a normal print job is waiting. That is, in this embodiment, the print job transmission unit 12 specifies whether or not to specify distributed printing by switching the value of the transmission destination port number DP specified at the time of transmission of a print job in response to a user request. Can be selected. In other words, the first print job for which distributed printing is specified refers to a print job received by the distribution control unit 50 waiting at the port number “59100”, and is a normal print job for which distributed printing is not specified. Indicates a print job handed over to the print job receiving unit 60 waiting at the port number “9100”. The content of the print job itself is basically the same between the first print job and the normal print job.

図3(b)を参照して、印刷ジョブのデータ構造について説明する。印刷ジョブJBは、図3(b)に示すように、ジョブ制御言語部501と、ページ記述言語部502を有している。ページ記述言語部502は、印刷内容を表す印刷データが所定のページ記述言語を用いて記述されている部分である。ページ記述言語としては、ESC/PageやPostscriptなどが用いられ得る。ジョブ制御言語部501には、ページ記述言語部502に記述された印刷データを印刷するために必要な属性が記述されている。ジョブ制御言語部501は、所定のジョブ制御言語、本実施例ではEJL(Epson Job Language)を用いて記述されている。   The data structure of the print job will be described with reference to FIG. The print job JB has a job control language part 501 and a page description language part 502 as shown in FIG. The page description language part 502 is a part in which print data representing print contents is described using a predetermined page description language. As the page description language, ESC / Page, Postscript, or the like can be used. The job control language unit 501 describes attributes necessary for printing the print data described in the page description language unit 502. The job control language unit 501 is described using a predetermined job control language, which is EJL (Epson Job Language) in this embodiment.

図3(b)の下側は、ジョブ制御言語部501に記述された内容の具体例を示している。ジョブ制御言語部501は、上述した属性として、印刷用紙サイズ、ページ記述言語部502の記述に使用されているページ記述言語の種別と共に、総ページ数情報TP、印刷モード指定情報DX、印刷部数QTを含んでいる。総ページ数情報TPは、ページ記述言語部502に含まれる印刷データの総ページ数を示している。図3(b)に示す例では、総ページ数情報TPとして、総ページ数は10ページであることが記述されている。印刷モード指定情報DXは、印刷モードが、両面印刷モードであるか、片面印刷モードであるかを示している。具体的には、図3(b)に示すような「DX=OFF」という記述は、片面印刷モードであることを示している。一方、「DX=ON」という記述は、両面印刷モードであることを示している。   The lower side of FIG. 3B shows a specific example of contents described in the job control language unit 501. The job control language unit 501 includes the total page number information TP, the print mode designation information DX, the number of print copies QT, as well as the print paper size and the type of page description language used for the description of the page description language unit 502, as the attributes described above. Is included. The total page number information TP indicates the total number of pages of print data included in the page description language unit 502. In the example shown in FIG. 3B, the total page number information TP describes that the total number of pages is 10. The print mode designation information DX indicates whether the print mode is a duplex printing mode or a simplex printing mode. Specifically, the description “DX = OFF” as shown in FIG. 3B indicates the single-sided printing mode. On the other hand, the description “DX = ON” indicates the duplex printing mode.

ジョブ制御言語部501には、さらに、ページ特定情報PEを含めることができる。ページ特定情報PEは、ページ記述言語部502に含まれる印刷データの全てのページの中から印刷すべきページを特定する情報である。印刷ジョブのジョブ制御言語部501にページ特定情報PEが含まれている場合、印刷ジョブを受信したプリンタPRTは、後述するように、ページ記述言語部502に含まれる印刷データのうちページ特定情報PEによって特定されたページのみを選択的に印刷する。ページ特定情報PEは、開始ページ番号S、および、終了ページ番号Eを含んでいる。これによって、開始ページ番号Sから終了ページ番号Eまでの、1または連続する複数のページが指定される。図3(b)に示す例では、先頭ページ番号(STARTPAGE)として「5」が、終了ページ番号(ENDPAGE)として「8」が記述されている。したがって、図3(b)に示す印刷ジョブは、1〜10ページまでの10ページ分の印刷データを含んでいるが、そのうち5ページから8ページまでの4ページの印刷を要求していることになる。一方、ジョブ制御言語部501にページ特定情報PEが含まれていない印刷ジョブは、ページ記述言語部502に含まれる印刷データの全てのページの印刷を要求しているものと解釈される。   The job control language unit 501 can further include page specifying information PE. The page specifying information PE is information for specifying a page to be printed from all the pages of the print data included in the page description language unit 502. When the page specification information PE is included in the job control language portion 501 of the print job, the printer PRT that has received the print job receives the page specification information PE from the print data included in the page description language portion 502, as will be described later. Selectively print only the pages specified by. The page specifying information PE includes a start page number S and an end page number E. Thus, one or a plurality of continuous pages from the start page number S to the end page number E is designated. In the example shown in FIG. 3B, “5” is described as the first page number (STARTPAGE), and “8” is described as the end page number (ENDPAGE). Therefore, the print job shown in FIG. 3B includes print data for 10 pages from 1 to 10 pages, and it is requested to print 4 pages from 5 to 8 pages. Become. On the other hand, a print job in which the page identification information PE is not included in the job control language unit 501 is interpreted as requesting printing of all pages of the print data included in the page description language unit 502.

・分散印刷処理:
図4〜図7を参照して上述した印刷ジョブを用いて行われる本実施例における分散印刷処理について詳細に説明する。図4は、分散印刷処理の概要を示す説明図である。図5は、分散印刷処理の処理ルーチンを示すフローチャートである。図6は、分散先プリンタ特定処理の処理ルーチンを示すフローチャートである。図7は、分散先プリンタに割り当てられるページ数の一例を示すテーブルである。第1実施例では、まず片面印刷モード、すなわち、第1の印刷ジョブにおいて「DX=OFF」が指定されている場合における分散印刷処理を説明する。両面印刷モードにおける分散印刷処理については、第2実施例として後述する。
・ Distributed printing processing:
The distributed printing process in this embodiment performed using the print job described above with reference to FIGS. 4 to 7 will be described in detail. FIG. 4 is an explanatory diagram showing an overview of the distributed printing process. FIG. 5 is a flowchart showing a processing routine of distributed printing processing. FIG. 6 is a flowchart showing the processing routine of the distribution destination printer specifying process. FIG. 7 is a table showing an example of the number of pages allocated to the distribution destination printer. In the first embodiment, first, a distributed printing process in the single-sided printing mode, that is, when “DX = OFF” is designated in the first print job will be described. The distributed printing process in the duplex printing mode will be described later as a second embodiment.

図4に示す具体例を用いて、分散印刷処理について説明を進める。本具体例では、クライアントCLからプリンタPRT1に分散印刷が指定された第1の印刷ジョブJB1が送信される。そして、第1の印刷ジョブJB1を受信したプリンタPRT1の分散制御部50が、第1の印刷ジョブにより要求される印刷を、分散先プリンタとしての4つのプリンタPRT1〜PRT4に分散する。   The distributed printing process will be described using the specific example shown in FIG. In this specific example, the first print job JB1 in which distributed printing is designated is transmitted from the client CL to the printer PRT1. Then, the distribution control unit 50 of the printer PRT1 that has received the first print job JB1 distributes the print requested by the first print job to the four printers PRT1 to PRT4 as the distribution destination printers.

クライアントCLからプリンタPRT1に送信される第1の印刷ジョブJB1は、送信先IPアドレスDAとして「IP1」、送信先ポート番号DPとして「59100」が記述されたヘッダ400を有する通信データとして送信される。実際には、第1の印刷ジョブJB1は、複数のTCPパケットに分割され、分割されたパケットごとにヘッダ400を付加されて、送信される。しかしながら、図4では、図を見やすくするため、第1の印刷ジョブJB1全体に、1つのヘッダ400が付加された図を示している。このような図示は、後述する第2の印刷ジョブJB21〜JB24についても同様である。   The first print job JB1 transmitted from the client CL to the printer PRT1 is transmitted as communication data having a header 400 in which “IP1” is described as the transmission destination IP address DA and “59100” is described as the transmission destination port number DP. . Actually, the first print job JB1 is divided into a plurality of TCP packets, and a header 400 is added to each divided packet and transmitted. However, FIG. 4 shows a diagram in which one header 400 is added to the entire first print job JB1 in order to make the diagram easier to see. Such illustration also applies to second print jobs JB21 to JB24 described later.

第1の印刷ジョブJB1のジョブ制御言語部501には、上述した総ページ数情報TPが含まれ、図4に示す例では、総ページ数Qは10であることが記述されている。一方、第1の印刷ジョブJB1として送信されてくる印刷ジョブに、印刷する必要のない印刷データを含める必要は通常はない。従って、第1の印刷ジョブJB1のジョブ制御言語部501には、ページ特定情報PEが含まれていないか、あるいは、総ページ数情報TPに記述されたページ数の全てを特定するページ特定情報PEが含まれているのが通常である。本実施例における第1の印刷ジョブJB1には、図4に示すように、ページ特定情報PEは含まれていないものとする。   The job control language unit 501 of the first print job JB1 includes the total page number information TP described above, and it is described that the total page number Q is 10 in the example shown in FIG. On the other hand, it is not usually necessary to include print data that does not need to be printed in the print job transmitted as the first print job JB1. Accordingly, the job control language unit 501 of the first print job JB1 does not include the page specification information PE, or the page specification information PE that specifies all the page numbers described in the total page number information TP. Is usually included. Assume that the first print job JB1 in the present embodiment does not include page specifying information PE as shown in FIG.

第1の印刷ジョブJB1のページ記述言語部502には、総ページ数Qに対応する印刷データがページ記述言語により記述されている。図4に示す例では、10ページ分の印刷データDTが、ページ記述言語部502に記述されている。   In the page description language portion 502 of the first print job JB1, print data corresponding to the total number of pages Q is described in the page description language. In the example illustrated in FIG. 4, print data DT for 10 pages is described in the page description language unit 502.

分散印刷処理は、カスタムネットワークボード100のCPU20が備える分散制御部50によって実行される処理である。カスタムネットワークボード100が搭載されたプリンタPRT1が、印刷ジョブを受け付ける状態にあるとき、分散制御部50の分散ジョブ受信部52は、上述した第1の印刷ジョブJB1が着信するのを待っている(ステップS102)。クライアントCLから第1の印刷ジョブJB1、すなわち、送信先ポート番号DPが「59100」である印刷ジョブがプリンタPRT1に着信すると(ステップS102:YES)、分散ジョブ受信部52は、TCP/IP部10を介して、第1の印刷ジョブJB1を受信する。分散ジョブ受信部52は、まず、ジョブ制御言語部501を含む印刷ジョブの先頭部分を受信する(ステップS104)。   The distributed printing process is a process executed by the distributed control unit 50 provided in the CPU 20 of the custom network board 100. When the printer PRT1 on which the custom network board 100 is mounted is in a state of accepting a print job, the distributed job receiving unit 52 of the distributed control unit 50 is waiting for the above-described first print job JB1 to arrive ( Step S102). When the first print job JB1, that is, the print job whose destination port number DP is “59100” arrives at the printer PRT1 from the client CL (step S102: YES), the distributed job receiving unit 52 receives the TCP / IP unit 10 The first print job JB1 is received via. The distributed job receiving unit 52 first receives the head portion of the print job including the job control language unit 501 (step S104).

分散制御部50は、受信された第1の印刷ジョブにより印刷を要求される総ページ数Qを取得する(ステップS106)。具体的には、分散制御部50は、ジョブ制御言語部501を読み出し、第1の印刷ジョブに含まれる総ページ数情報TPを取得する。   The distribution control unit 50 acquires the total number of pages Q requested to be printed by the received first print job (step S106). Specifically, the distribution control unit 50 reads the job control language unit 501 and acquires the total page number information TP included in the first print job.

続いて、分散制御部50は、分散先プリンタ特定処理を実行する(ステップS108)。分散先プリンタ特定処理は、分散制御部50の分散先特定部54によって実行される処理である。図6に示すように、分散先プリンタ特定処理が開始されると、分散先特定部54は、ネットワーク上に接続された機器のIPアドレスを取得する(ステップS202)。分散先特定部54は、分散先指定ファイル格納部34に分散先指定ファイルが格納されている場合には、分散先指定ファイルを参照して、IPアドレスを取得する。分散先指定ファイルには、分散先として使用したいプリンタのIPアドレスが列挙して記載されている。このような分散先指定ファイルは、プリンタPRT1が初期設定される際に、設定用コンピュータなどを用いてプリンタPRT1に格納される。なお、このような分散先指定ファイルを用いる場合、分散先として自己のプリンタPRT1も使用したい場合には、自己プリンタPRT1のIPアドレス「IP1」も、分散先指定ファイルに記載しておく。   Subsequently, the distribution control unit 50 executes a distribution destination printer specifying process (step S108). The distribution destination printer specifying process is a process executed by the distribution destination specifying unit 54 of the distribution control unit 50. As shown in FIG. 6, when the distribution destination printer specifying process is started, the distribution destination specifying unit 54 acquires the IP address of the device connected on the network (step S202). When the distribution destination designation file is stored in the distribution destination designation file storage unit 34, the distribution destination identification unit 54 refers to the distribution destination designation file and acquires the IP address. In the distribution destination designation file, the IP addresses of printers that are to be used as distribution destinations are listed and described. Such a distribution destination designation file is stored in the printer PRT1 using a setting computer or the like when the printer PRT1 is initialized. If such a distribution destination designation file is used, and if it is desired to use its own printer PRT1 as the distribution destination, the IP address “IP1” of the self printer PRT1 is also described in the distribution destination designation file.

一方、分散先指定ファイルが格納されていない場合には、分散先特定部54は、SNMPマネージャ40を用いて、LANに対し、ブロードキャストでLANに接続されている各機器のIPアドレスを問い合わせ、応答されたIPアドレスを取得する。   On the other hand, when the distribution destination designation file is not stored, the distribution destination specifying unit 54 uses the SNMP manager 40 to inquire about the IP address of each device connected to the LAN by broadcast, and responds. Obtained IP address.

次に、分散先特定部54は、取得されたIPアドレスを割り当てられた各機器に関する情報を取得する(ステップS204)。具体的には、分散先特定部54は、SNMPマネージャ40を用いて、ユニキャストで各機器に対して問い合わせを行い、問い合わせの応答として機種名およびステータスを取得する。   Next, the distribution destination specifying unit 54 acquires information about each device to which the acquired IP address is assigned (step S204). Specifically, the distribution destination specifying unit 54 uses the SNMP manager 40 to make an inquiry to each device by unicast, and acquires the model name and status as a response to the inquiry.

分散先特定部54は、取得された機種名およびステータスに基づいて、ネットワーク上に接続された機器の中から所定の条件を満たすプリンタを検索し、検索されたプリンタを分散先プリンタとして特定する(ステップS206)。所定の条件の一例を、以下に示す。
1.自己プリンタPRT1と同一の機種であること。
2.電源が投入されていること。
3.トナー残量が所定の閾値以上であること。
4.オンライン状態にあること。
5.印刷中でないこと(プリンタエンジン90が駆動中でないこと)。
Based on the acquired model name and status, the distribution destination specifying unit 54 searches for a printer that satisfies a predetermined condition from devices connected to the network, and specifies the searched printer as a distribution destination printer ( Step S206). An example of the predetermined condition is shown below.
1. The same model as the self printer PRT1.
2. The power is turned on.
3. The remaining amount of toner is not less than a predetermined threshold.
4). Be online.
5. The printer is not printing (the printer engine 90 is not being driven).

これらの項目についての情報は、全て上述のSNMPマネージャ40による問い合わせによって、取得することができる。自己プリンタPRT1と同一機種であることを、分散先プリンタとして選択する条件とするのは、分散印刷を行う際に、各分散先プリンタにおいて、印刷ジョブのデータ変換などをすることなく、適正な印刷を行わせるためである。この結果、各分散先プリンタでの印刷物の品質、例えば、解像度やフォントなどを統一することができる。また、カラー印刷や両面印刷指定も統一して実行させることができる。分散先指定ファイルで指定されているIPアドレスの機器に対しても、機種名の問い合わせを行うのは、次の理由による。すなわち、分散先指定ファイル作成後に、機器の入れ換えなどにより、分散先指定ファイルに記載されていたIPアドレスが、自己のプリンタPRT1と別機種のプリンタに割り振られたり、プリンタ以外の機器に割り振られたりする可能性があるので、自己のプリンタPRT1と同一機種であるかの確認を行うためである。   Information on these items can be acquired by an inquiry from the SNMP manager 40 described above. The condition for selecting the same printer model as the self-printer PRT1 as a destination printer is that, when performing distributed printing, each destination printer does not perform data conversion of the print job and the like. This is to make it happen. As a result, it is possible to unify the quality of printed matter, for example, the resolution and font, at each distribution destination printer. Also, color printing and double-sided printing designation can be executed in a unified manner. The reason for inquiring the model name for the device having the IP address specified in the distribution destination specification file is as follows. In other words, after creating the distribution destination specification file, the IP address described in the distribution destination specification file is allocated to a printer of a different model from the printer PRT1 or to a device other than the printer by replacing the device. This is to check whether the printer is the same model as the printer PRT1 of its own.

2〜5の条件は、すぐに印刷できないプリンタを分散先プリンタとして選択することを防ぐためである。オンライン状態とは、用紙切れや紙詰まりといったエラーを起こしている状態(オフライン状態)ではない正常な状態のことを指す。   The conditions 2 to 5 are for preventing a printer that cannot be printed immediately from being selected as a distribution destination printer. The online state refers to a normal state that is not a state in which an error such as running out of paper or a paper jam has occurred (offline state).

そして、分散先特定部54は、1台以上の分散先プリンタが特定されたか否かを判断する(ステップS208)。一台以上特定されている場合(ステップS208:YES)には、分散先特定部54は分散先プリンタ選択処理を終了する。一台の分散先プリンタも特定されていない場合(ステップS208:NO)には、分散先特定部54は、所定期間待機して(ステップS210)、ステップS202〜ステップS208の処理を繰り返す。以下、本ステップにおいて、分散先プリンタとして、上述したプリンタPRT1〜PRT4の全部、計4台が分散先プリンタとして特定されるものとして説明を続ける。   Then, the distribution destination specifying unit 54 determines whether one or more distribution destination printers have been specified (step S208). When one or more printers are specified (step S208: YES), the distribution destination specifying unit 54 ends the distribution destination printer selection process. When one distribution destination printer is not specified (step S208: NO), the distribution destination specifying unit 54 waits for a predetermined period (step S210), and repeats the processing from step S202 to step S208. Hereinafter, in this step, the description will be continued assuming that a total of four printers PRT1 to PRT4 described above are specified as the distribution destination printers.

図5に戻って、説明を続ける。分散先プリンタが特定されると、分散制御部50は、特定された各分散先プリンタに割り当てられる割当ページを決定する(ステップS110)。割当ページの決定は、分散制御部50の割当ページ決定部56によって実行される。割当ページ決定部56は、印刷を要求される全てのページがいずれかの分散先プリンタのいずれかに割り当てられるように、印刷を要求される複数のページを、特定された分散先プリンタの数のグループに分ける。そして、割当ページ決定部56は、各グループを、特定された各分散先プリンタの割当ページとする。具体的には、割当ページ決定部56は、分散先プリンタごとに、割当ページの開始ページ番号Sと終了ページ番号Eとを決定する。   Returning to FIG. 5, the description will be continued. When the distribution destination printer is identified, the distribution control unit 50 determines an allocation page to be allocated to each identified distribution destination printer (step S110). The allocation page determination is executed by the allocation page determination unit 56 of the distribution control unit 50. The allocation page determination unit 56 assigns a plurality of pages requested for printing to the number of specified distribution destination printers so that all pages requested for printing are allocated to any one of the distribution destination printers. Divide into groups. Then, the allocation page determination unit 56 sets each group as an allocation page of each specified distribution destination printer. Specifically, the allocation page determination unit 56 determines the start page number S and the end page number E of the allocation page for each distribution destination printer.

ここで、割当ページのページ数は、以下の2つの考え方に基づいて決定される。
1.各分散先プリンタに、できるだけ均等なページ数を割り当てる。
2.完全に均等に割り当てられない場合、すなわち、印刷が要求される総ページ数Qが、分散先プリンタの数Mで割り切れない場合には、端数は、ページ順の早いページ、すなわち、ページ番号が小さいページを割り当てられる分散先プリンタから順に1ページずつ割り当てられる。
Here, the number of assigned pages is determined based on the following two concepts.
1. Assign the same number of pages as possible to each destination printer.
2. If the page is not completely allocated evenly, that is, if the total number of pages Q to be printed is not divisible by the number of distribution destination printers M, the fractional page is the page in the early page order, that is, the page number is small. Pages are allocated one by one in order from the distribution destination printer to which the pages are allocated.

図7には、4台の分散先プリンタに分散される場合に、上述した考え方に基づいて求められた割当ページの数が示されている。分散先プリンタ番号mが小さい分散先プリンタほど、ページ順の早いページが割り当てられるものとする。図7に示すように、印刷が要求される総ページ数Qが、分散先プリンタの数Mで割り切れる場合には、各分散先プリンタにそれぞれ同じページ数が割り当てられる。例えば、総ページ数Q=12であり、分散先プリンタの数が4である場合には、各分散先プリンタに3ページずつ割り当てられる。一方、総ページ数Qが、分散先プリンタの数Mで割り切れない場合には、端数は、ページ順の早いページが割り当てられる2台の分散先プリンタに割り当てられる。例えば、総ページ数Q=14であり、分散先プリンタの数が4である場合には、総ページ数を分散先プリンタの数4で割った余りである2ページは、ページ順の早いページが割り当てられる2台の分散先プリンタに、それぞれ1枚ずつ割り当てられる。   FIG. 7 shows the number of allocated pages obtained based on the above-described concept when distributed to four distribution destination printers. It is assumed that a page having a lower page order is assigned to a destination printer having a smaller destination printer number m. As shown in FIG. 7, when the total number of pages Q to be printed is divisible by the number M of distribution destination printers, the same number of pages is assigned to each distribution destination printer. For example, if the total number of pages Q = 12, and the number of distribution destination printers is 4, three pages are allocated to each distribution destination printer. On the other hand, if the total number of pages Q is not divisible by the number M of distribution destination printers, the fraction is assigned to two distribution destination printers to which pages in the early page order are assigned. For example, if the total number of pages Q = 14 and the number of distribution destination printers is 4, two pages that are the remainder of dividing the total number of pages by the number of distribution destination printers 4 are pages that are earlier in page order. One sheet is allocated to each of the two distribution destination printers to be allocated.

続いて、以上説明した割当ページを決定するための具体的な計算手法について説明する。印刷を要求される総ページ数=Q、分散先プリンタの数=M、ページ順が早いページが割り当てられる順番に付された分散先プリンタ番号=mとする。そうすると、m番の分散先プリンタの割当ページのページ数P(m)は、以下の式(1)によって、算出される。   Next, a specific calculation method for determining the allocation page described above will be described. It is assumed that the total number of pages requested to be printed = Q, the number of distribution destination printers = M, and the distribution destination printer number assigned in the order in which pages with the earlier page order are assigned = m. Then, the page number P (m) of the allocated pages of the mth distribution destination printer is calculated by the following equation (1).

Figure 2007041753
Figure 2007041753

ここで、式(1)における関数Int(a)は、数値aの整数部分を取り出す関数である。例えば、Int(3.23)=3である。この数式に、数値Q、M、mを代入すると、図7に示すテーブルに示す数値を算出することができる。P(m)を用いて、m番の分散先プリンタの割当ページの開始ページ番号S(m)および終了ページ番号E(m)は、それぞれ以下の式(2)(3)によって算出される。   Here, the function Int (a) in the expression (1) is a function for extracting the integer part of the numerical value a. For example, Int (3.23) = 3. By substituting numerical values Q, M, and m into this mathematical formula, the numerical values shown in the table shown in FIG. 7 can be calculated. Using P (m), the start page number S (m) and the end page number E (m) of the allocated page of the mth distribution destination printer are calculated by the following equations (2) and (3), respectively.

Figure 2007041753
Figure 2007041753

以上の説明から解るように、割当ページの開始ページ番号S(m)および終了ページ番号E(m)は、総ページ数Qと、分散先プリンタの台数Mと、分散先プリンタの番号mの関数として表される。図4に示す具体例では、Q=10、M=4であるので、
1台目の分散先プリンタ(プリンタPRT1):S(1)=1、E(1)=3
2台目の分散先プリンタ(プリンタPRT2):S(2)=4、E(2)=6
3台目の分散先プリンタ(プリンタPRT3):S(3)=7、E(3)=8
4台目の分散先プリンタ(プリンタPRT4):S(4)=9、E(4)=10
となる。
As can be understood from the above description, the start page number S (m) and the end page number E (m) of the allocation page are functions of the total page number Q, the number M of the distribution destination printers, and the number m of the distribution destination printers. Represented as: In the specific example shown in FIG. 4, since Q = 10 and M = 4,
First distribution destination printer (printer PRT1): S (1) = 1, E (1) = 3
Second distribution destination printer (printer PRT2): S (2) = 4, E (2) = 6
Third destination printer (printer PRT3): S (3) = 7, E (3) = 8
Fourth destination printer (printer PRT4): S (4) = 9, E (4) = 10
It becomes.

各分散先プリンタについて、割当ページの開始ページ番号S(m)および終了ページ番号E(m)が算出されると、すなわち、各分散先プリンタが印刷すべき割当ページが決定されると、分散制御部50は、割当ページの印刷を要求する第2の印刷ジョブを、各分散先プリンタに対して送信する(ステップS112〜S114)。第2の印刷ジョブの送信は、分散制御部50の印刷ジョブ送信部58が実行する。図4には、各分散先プリンタとしてのプリンタPRT1〜PRT4に送信される第2の印刷ジョブJB21〜JB24がそれぞれ示されている。   When the start page number S (m) and end page number E (m) of the allocation page are calculated for each distribution destination printer, that is, when the allocation page to be printed by each distribution destination printer is determined, distribution control is performed. The unit 50 transmits a second print job requesting printing of the assigned page to each distribution destination printer (steps S112 to S114). The transmission of the second print job is executed by the print job transmission unit 58 of the distribution control unit 50. FIG. 4 shows second print jobs JB21 to JB24 transmitted to the printers PRT1 to PRT4 as the respective distribution destination printers.

図4に示すように、第2の印刷ジョブJB21〜JB24を送信する通信データのヘッダ400には、送信先IPアドレスDAとしてそれぞれの分散先であるプリンタPRTのIPアドレス「IP1」、「IP2」、「IP3」「IP4」が記述される。さらに、これらのヘッダ400には、送信先ポート番号DPとして「9100」が記述される。   As shown in FIG. 4, in the header 400 of the communication data for transmitting the second print jobs JB21 to JB24, the IP addresses “IP1” and “IP2” of the printers PRT that are the respective distribution destinations as the transmission destination IP address DA. , “IP3” and “IP4” are described. Furthermore, in these headers 400, “9100” is described as the transmission destination port number DP.

第2の印刷ジョブJB21〜JB24のジョブ制御言語部501は、第1の印刷ジョブJB1のジョブ制御言語部501に上述したページ特定情報PEを追加したものである。ページ特定情報PEには、上述したステップS110において算出された各分散先プリンタの割当ページの開始ページ番号S(m)および終了ページ番号E(m)が記述される。   The job control language unit 501 of the second print jobs JB21 to JB24 is obtained by adding the above-described page specifying information PE to the job control language unit 501 of the first print job JB1. In the page specifying information PE, the start page number S (m) and the end page number E (m) of the allocation page of each distribution destination printer calculated in step S110 described above are described.

第2の印刷ジョブJB21〜JB24のページ記述言語部502は、第1の印刷ジョブJB1のページ記述言語部502と全く同一である。すなわち、第2の印刷ジョブJB21〜JB24のページ記述言語部502には、総ページ数Qに対応する印刷データがページ記述言語により記述されている。図4に示す例では、10ページ分の印刷データDTが、ページ記述言語部502に記述されている。   The page description language part 502 of the second print jobs JB21 to JB24 is exactly the same as the page description language part 502 of the first print job JB1. That is, print data corresponding to the total number of pages Q is described in the page description language section 502 of the second print jobs JB21 to JB24 in the page description language. In the example illustrated in FIG. 4, print data DT for 10 pages is described in the page description language unit 502.

第2の印刷ジョブJB21〜JB24の送信を、ステップごとに説明する。まず、分散制御部50の印刷ジョブ送信部58は、ジョブ制御言語部501にページ特定情報PEを追加した上で、ジョブ制御言語部501を含む第2の印刷ジョブJB21〜JB24の先頭部分を、それぞれ各プリンタPRT1〜PRT4(分散先プリンタ)に送信する(ステップS112)。次に、分散制御部50の分散ジョブ受信部52は、第1の印刷ジョブJB1の先頭部分以降の部分をクライアントCLから受信し、分散制御部50の印刷ジョブ送信部58は、受信された先頭部分以降の部分を、そのまま順次各プリンタPRT1〜PRT4に送信する(ステップS114)。その後、第1の印刷ジョブJB1の全ての部分を受信したか否かを判断する(ステップS116)。分散制御部50は、第1の印刷ジョブJB1の全てを受信していないと判断すると(ステップS116:NO)、ステップS114に戻る。一方、分散制御部50は、第1の印刷ジョブJB1の受信が終了したと判断すると(ステップS116:YES)、本処理を終了する。   Transmission of the second print jobs JB21 to JB24 will be described step by step. First, the print job transmission unit 58 of the distribution control unit 50 adds the page specifying information PE to the job control language unit 501, and then adds the head portion of the second print jobs JB21 to JB24 including the job control language unit 501. Each is sent to each of the printers PRT1 to PRT4 (distribution destination printer) (step S112). Next, the distributed job receiving unit 52 of the distribution control unit 50 receives the portion after the head portion of the first print job JB1 from the client CL, and the print job transmission unit 58 of the distribution control unit 50 receives the received head. The portions after the portion are sequentially transmitted to the printers PRT1 to PRT4 as they are (step S114). Thereafter, it is determined whether or not all parts of the first print job JB1 have been received (step S116). If the distribution control unit 50 determines that all of the first print job JB1 has not been received (step S116: NO), the process returns to step S114. On the other hand, when the distribution control unit 50 determines that the reception of the first print job JB1 has ended (step S116: YES), the process ends.

・分散先プリンタにおける処理
続いて、図8および図9を参照して、分散先プリンタ、図4に示す例ではプリンタPRT1〜PRT4における処理について説明する。図8は、第2の印刷ジョブを含む通常の印刷ジョブの受信処理の処理ルーチンを示すフローチャートである。図9は、第2の印刷ジョブを含む通常の印刷ジョブの印刷処理の処理ルーチンを示すフローチャートである。
Processing in Distribution Destination Printer Next, with reference to FIGS. 8 and 9, processing in the distribution destination printer, printers PRT1 to PRT4 in the example shown in FIG. 4 will be described. FIG. 8 is a flowchart illustrating a processing routine for reception processing of a normal print job including the second print job. FIG. 9 is a flowchart illustrating a processing routine for print processing of a normal print job including the second print job.

まず、通常の印刷ジョブの受信処理について説明する。本処理は、プリンタPRTの印刷ジョブ受信部60によって実行される処理である。プリンタPRTが印刷ジョブを受け付ける状態にあるとき、印刷ジョブ受信部60は、第2の印刷ジョブを含む通常の印刷ジョブが着信するのを待っている(ステップS102)。通常の印刷ジョブ、すなわち、送信先ポート番号DPが「9100」である印刷ジョブがプリンタPRTに着信すると(ステップS302:YES)、印刷ジョブ受信部60は、TCP/IP部10を介して、送信されてくる印刷ジョブを順次受信して、プリンタバッファ82に格納する(ステップS304)。印刷ジョブ受信部60は、印刷ジョブを全て受信したか否かを判断する(ステップS306)。印刷ジョブを送信してくる機器は、印刷ジョブを全て送信すると、印刷ジョブを送信するための通信コネクションの切断要求を送信してくる。従って、印刷ジョブ受信部60は、通信コネクションの切断要求の有無によって、印刷ジョブを全て受信したか否かを判断できる。印刷ジョブ受信部60は、印刷ジョブを全て受信していないと判断すると(ステップS306:NO)、ステップS304に戻る。印刷ジョブ受信部60は、印刷ジョブを全て受信したと判断すると(ステップS306:YES)、受信処理を終了する。   First, normal print job reception processing will be described. This process is a process executed by the print job receiving unit 60 of the printer PRT. When the printer PRT is ready to accept a print job, the print job receiving unit 60 waits for a normal print job including the second print job to arrive (step S102). When a normal print job, that is, a print job whose destination port number DP is “9100” arrives at the printer PRT (step S <b> 302: YES), the print job reception unit 60 transmits it via the TCP / IP unit 10. The received print jobs are sequentially received and stored in the printer buffer 82 (step S304). The print job receiving unit 60 determines whether all print jobs have been received (step S306). When all the print jobs are transmitted, the device that transmits the print job transmits a communication connection disconnection request for transmitting the print job. Accordingly, the print job receiving unit 60 can determine whether or not all print jobs have been received depending on whether or not a communication connection disconnection request is present. If the print job receiving unit 60 determines that all print jobs have not been received (step S306: NO), the process returns to step S304. If the print job receiving unit 60 determines that all print jobs have been received (step S306: YES), the reception process is terminated.

続いて、通常の印刷ジョブの印刷処理について説明する。この印刷処理は、プリンタPRTのプリンタコントローラ80によって実行される処理である。プリンタコントローラ80は、印刷ジョブ受信部60から印刷ジョブのデータを受け取ると、すなわち、上述した受信処理によりプリンタバッファ82に印刷ジョブが格納され始めると、印刷処理を開始する。   Next, normal print job print processing will be described. This printing process is a process executed by the printer controller 80 of the printer PRT. When the printer controller 80 receives the print job data from the print job receiving unit 60, that is, when the print job starts to be stored in the printer buffer 82 by the above-described reception process, the printer controller 80 starts the print process.

プリンタコントローラ80は、印刷処理を開始すると、まず、印刷ジョブにページ特定情報PEが含まれているか否かを判断する(ステップS402)。具体的には、プリンタコントローラ80は、プリンタバッファ82に格納されている印刷ジョブのジョブ制御言語部501から、上述したページ特定情報PEを検索し、ページ特定情報PEの有無を判断する。ページ特定情報PEが含まれていると判断すると(ステップS402:YES)、プリンタコントローラ80は、ページ特定情報PE、すなわち、開始ページ番号Sおよび終了ページ番号Eを取得する(ステップS404)して、ステップS406に移行する。一方、ページ特定情報PEが含まれていないと判断すると(ステップS402:NO)、プリンタコントローラ80は、そのままステップS406に移行する。   When starting the printing process, the printer controller 80 first determines whether or not the page specifying information PE is included in the print job (step S402). Specifically, the printer controller 80 retrieves the above-described page specification information PE from the job control language unit 501 of the print job stored in the printer buffer 82, and determines the presence or absence of the page specification information PE. If it is determined that the page specifying information PE is included (step S402: YES), the printer controller 80 acquires the page specifying information PE, that is, the start page number S and the end page number E (step S404), and The process proceeds to step S406. On the other hand, if it is determined that the page specifying information PE is not included (step S402: NO), the printer controller 80 proceeds to step S406 as it is.

プリンタコントローラ80は、続いて、処理対象のページ番号nを初期化して、n=1とする(ステップS406)。プリンタコントローラ80は、印刷ジョブを解釈して、処理対象のページ、すなわち、nページの画像データを生成する(ステップS410)。具体的には、プリンタコントローラ80は、プリンタエンジン90が印刷に用いるための画像データ、例えば、プリンタエンジン90の解像度に合わせたドットデータを、ページ記述言語に記述されている印刷データから生成する。印刷ジョブのページ記述言語部502には、印刷データがページ順に記述されているため、プリンタコントローラ80は、ページ記述言語部502に含まれる印刷データを、先頭から順次、1ページ分ずつ解釈していく。   Subsequently, the printer controller 80 initializes the page number n to be processed and sets n = 1 (step S406). The printer controller 80 interprets the print job, and generates image data of a page to be processed, that is, n pages (step S410). Specifically, the printer controller 80 generates image data used by the printer engine 90 for printing, for example, dot data that matches the resolution of the printer engine 90 from print data described in the page description language. Since the print data is described in the page order in the page description language part 502 of the print job, the printer controller 80 interprets the print data included in the page description language part 502 one page at a time from the top. Go.

処理対象であるnページの画像データが生成されると、プリンタコントローラ80は、ステップS404において、ページ特定情報PEが取得されているか否かを判断する(ステップS412)。プリンタコントローラ80は、ページ特定情報PEが取得されていると判断すると(ステップS412:YES)、ページ特定情報PEとして取得された開始ページ番号Sおよび終了ページ番号Eを用いて、S≦n≦Eが成立するか否かを判断する(ステップS414)。すなわち、プリンタコントローラ80は、処理対象であるnページがページ特定情報PEにより特定されるページであるか否かを判断する。   When image data of n pages to be processed is generated, the printer controller 80 determines in step S404 whether or not page specifying information PE has been acquired (step S412). If the printer controller 80 determines that the page specification information PE has been acquired (step S412: YES), the printer controller 80 uses the start page number S and the end page number E acquired as the page specification information PE, and S ≦ n ≦ E. It is determined whether or not is established (step S414). That is, the printer controller 80 determines whether the n page to be processed is a page specified by the page specifying information PE.

プリンタコントローラ80は、nページがページ特定情報PEにより特定されるページであると判断した場合(ステップS414:YES)、あるいは、ページ特定情報PEが取得されていないと判断した場合(ステップS412:NO)には、nページについての印刷要求を、プリンタエンジン90に対して発行し(ステップS416)、ステップS418に移行する。プリンタエンジン90は、プリンタコントローラ80から印刷要求を受け取ると、プリンタコントローラ80が生成した画像データを用いて、nページの印刷を実行する。一方で、プリンタコントローラ80は、処理対象であるnページがページ特定情報PEにより特定されるページではないと判断した場合(ステップS414:NO)には、印刷要求の発行を行わずに、ステップS418に移行する。   The printer controller 80 determines that the n page is a page specified by the page specifying information PE (step S414: YES), or determines that the page specifying information PE is not acquired (step S412: NO). ) Issues a print request for page n to the printer engine 90 (step S416), and proceeds to step S418. When the printer engine 90 receives a print request from the printer controller 80, the printer engine 90 prints n pages using the image data generated by the printer controller 80. On the other hand, if the printer controller 80 determines that the page n to be processed is not a page specified by the page specification information PE (step S414: NO), the printer controller 80 does not issue a print request, but does not issue a print request. Migrate to

続いて、プリンタコントローラ80は、処理対象であるnページがページ記述言語部502に含まれる印刷データの最終ページであるか否かを判断する(ステップS418)。プリンタコントローラ80は、nページが最終ページであると判断すると(ステップS418:YES)、印刷処理を終了する。一方で、プリンタコントローラ80は、nページが最終ページではないと判断すると(ステップS418:NO)、処理対象のページ番号nをインクリメントし(ステップS420)、ステップS410に戻る。すなわち、プリンタコントローラ80は、次のページについて上述したステップS410〜S418の処理を繰り返す。   Subsequently, the printer controller 80 determines whether the n page to be processed is the last page of the print data included in the page description language unit 502 (step S418). If the printer controller 80 determines that page n is the last page (step S418: YES), the printing process is terminated. On the other hand, when the printer controller 80 determines that page n is not the last page (step S418: NO), the page number n to be processed is incremented (step S420), and the process returns to step S410. That is, the printer controller 80 repeats the processes of steps S410 to S418 described above for the next page.

以上のような印刷処理を実行することによって、プリンタPRTは、印刷ジョブにページ特定情報PEが含まれている場合には、ページ特定情報PEにより特定されるページについて印刷を実行し、それ以外のページについては印刷を行わない。また、プリンタPRTは、印刷ジョブにページ特定情報PEが含まれていない場合には、ページ記述言語部502に記述された印刷データの全てのページを印刷する。   By executing the printing process as described above, the printer PRT executes printing for the page specified by the page specifying information PE when the page specifying information PE is included in the print job. The page is not printed. The printer PRT prints all pages of the print data described in the page description language unit 502 when the page specification information PE is not included in the print job.

ここで、ステップS410において、ページ特定情報PEにより特定されるページ以外のページ(実際には印刷を行わないページ)についても、印刷データを解釈して画像データを生成する理由について説明する。理由の1つは、ページ記述言語部502において、ページ番号の大きいページの印刷データが、ページ番号の小さいページの印刷データを引用して記述されている場合があるからである。例えば、全ページに共通するオブジェクト(例えば、ヘッダやフッタ)は、最初のページの印刷データと共に1回だけ含まれるよう生成され、後のページの印刷データには含まれずに最初の1回のデータを参照するようになっている場合がある。このような場合には、プリンタコントローラ80は、画像データを生成する際において、最初のページの画像データの一部を、後のページの画像データの一部として引用することが行われる。つまり、割当ページの印刷を行うために、割当ページより前の画像データを用いる場合があるので、プリンタコントローラ80は、印刷を行わないページも含めて先頭ページから順に画像データを生成している。なお、プリンタコントローラ80が印刷データを解釈して画像データを生成するのに要する時間は、プリンタエンジン90が実際に印刷を行うのに要する時間と比較して、非常に短い。従って、印刷を行わないページの画像データを生成することは、ほとんど時間のロスにはならない。   Here, the reason for interpreting the print data and generating image data for pages other than the page specified by the page specifying information PE (a page that is not actually printed) in step S410 will be described. One reason is that, in the page description language unit 502, print data for a page with a large page number may be described by quoting print data for a page with a small page number. For example, an object common to all pages (for example, a header or a footer) is generated so as to be included only once with the print data of the first page, and is not included in the print data of the subsequent page. It may come to refer to. In such a case, when generating the image data, the printer controller 80 refers to a part of the image data of the first page as a part of the image data of the subsequent page. That is, in order to print the assigned page, image data before the assigned page may be used, so the printer controller 80 generates image data in order from the first page, including pages that are not printed. The time required for the printer controller 80 to interpret the print data and generate image data is very short compared to the time required for the printer engine 90 to actually perform printing. Therefore, generating image data for a page that is not to be printed causes little time loss.

以上の説明から解るように、分散先プリンタとしてのプリンタPRT1〜PRT4は、ページ特定情報PEを含む第2の印刷ジョブJB21〜JB24を受信すると、ページ特定情報PEにより特定される割当ページについてのみ印刷を実行する。この結果、各分散先プリンタが、割当ページの印刷をそれぞれ実行することにより、第1の印刷ジョブJB1により要求される印刷が完了される。   As can be understood from the above description, when receiving the second print jobs JB21 to JB24 including the page specifying information PE, the printers PRT1 to PRT4 as the distribution destination printers print only the allocation page specified by the page specifying information PE. Execute. As a result, the printing requested by the first print job JB1 is completed by each of the distribution destination printers executing the printing of the assigned page.

以上説明した第1実施例によれば、プリンタPRT1に内蔵されたネットワークボード200が、ページ単位での分散印刷処理を実行するので、専用の分散サーバ等の外部機器を用いることなく、複数のプリンタPRTからなる簡易な構成で、ページ単位での分散印刷を実現できる。   According to the first embodiment described above, since the network board 200 built in the printer PRT1 executes distributed printing processing in units of pages, a plurality of printers can be used without using an external device such as a dedicated distributed server. Distributed printing in units of pages can be realized with a simple configuration composed of PRTs.

さらに、第2の印刷ジョブJB21〜JB24は、第1の印刷ジョブJB1のジョブ制御言語部501に、ページ特定情報PEとして開始ページ番号Sと終了ページ番号Eとを追加したものである。従って、ネットワークボード200の分散制御部50は、容易に第2の印刷ジョブJB21〜JB24を生成できる。この結果、分散制御部50の処理負荷を低減でき、ネットワークボード200をより簡易な装置にすることができる。詳しく説明すると、従来は、第1の印刷ジョブJB1に含まれる印刷データを加工して、割当ページ分の印刷データを生成していた。係る場合には、上述したように、後ろのページの印刷データが前のページの印刷データを引用している場合など、単純に第1の印刷ジョブJB1に含まれる印刷データを分割するだけでは、割当ページ分の印刷データを生成することができない場合もあった。場合によっては、ページ記述言語で記述された印刷データを一旦、ページ単位の画像データに変換した後、割当ページ分の画像データをページ記述言語に再変換する処理が必要になるおそれもあった(特許文献1)。かかる場合には、割当ページ分の印刷データを生成するための機能をハードウエアまたはソフトウエアとして実現する構成を、分散制御装置に備える必要があった。しかし、本実施例においては、第1の印刷ジョブJB1に含まれる印刷データDTをそのまま第2の印刷ジョブJB21〜JB24に含めるので、そのような構成を必要としない。この結果、分散制御部50の構成を簡素化し、より簡易な構成でページ単位での分散印刷を実現できる。   Further, the second print jobs JB21 to JB24 are obtained by adding a start page number S and an end page number E as page specifying information PE to the job control language unit 501 of the first print job JB1. Accordingly, the distribution control unit 50 of the network board 200 can easily generate the second print jobs JB21 to JB24. As a result, the processing load on the distributed control unit 50 can be reduced, and the network board 200 can be simplified. More specifically, conventionally, print data included in the first print job JB1 has been processed to generate print data for an assigned page. In such a case, as described above, simply by dividing the print data included in the first print job JB1, such as when the print data of the subsequent page refers to the print data of the previous page, In some cases, print data for the allocated pages could not be generated. In some cases, it is necessary to convert the print data described in the page description language into image data for each page, and then reconvert the image data for the allocated pages into the page description language ( Patent Document 1). In such a case, it is necessary to provide the distributed control device with a configuration that realizes a function for generating print data for the allocated pages as hardware or software. However, in this embodiment, since the print data DT included in the first print job JB1 is included in the second print jobs JB21 to JB24 as they are, such a configuration is not necessary. As a result, the configuration of the distribution control unit 50 can be simplified, and distributed printing in units of pages can be realized with a simpler configuration.

また、クライアントCLは、第1の印刷ジョブJB1をプリンタPRT1(分散制御部50)に対して、1回送信するだけで良く、分散先プリンタや割当ページを指定する必要もない。従って、クライアントCLの処理負荷も、通常の印刷処理と同程度とすることができる。   Further, the client CL only needs to send the first print job JB1 once to the printer PRT1 (distribution control unit 50), and does not need to specify the distribution destination printer or the assigned page. Accordingly, the processing load of the client CL can be made comparable to that of normal printing processing.

さらに、第1実施例において、各分散先プリンタの割当ページの決定は、上述した式(1)〜(3)に基づいて行われる。すなわち、総ページ数Q、分散先プリンタの台数M、分散先プリンタの番号mとに基づいて、算出される。そして、総ページ数Qを特定するための総ページ数情報TPは、第1の印刷ジョブJB1のジョブ制御言語部501に含まれているので、分散制御部50は、総ページ数を容易に把握でき、総ページ数に基づいて容易に、適切な割当ページを決定できる。   Further, in the first embodiment, the allocation page of each distribution destination printer is determined based on the above-described equations (1) to (3). That is, it is calculated based on the total number of pages Q, the number M of distribution destination printers, and the number m of distribution destination printers. Since the total page number information TP for specifying the total page number Q is included in the job control language unit 501 of the first print job JB1, the distribution control unit 50 can easily grasp the total page number. It is possible to easily determine an appropriate allocation page based on the total number of pages.

さらに、総ページ数情報TPを含むジョブ制御言語部501は、第1の印刷ジョブJB1において、ページ記述言語部502より先頭側に配置されている。すなわち、総ページ数情報TPは、印刷ジョブ受信部60によって、印刷データDTより先に受信される構成となっている。したがって、分散制御部50は、第1の印刷ジョブJB1のうち、ジョブ制御言語部501を含む先頭部分さえ受信すれば、割当ページを決定して第2の印刷ジョブJB21〜JB24のジョブ制御言語部501を生成することができる。この結果、分散制御部50は、第2の印刷ジョブJB21〜JB24のうち、ジョブ制御言語部501を含む先頭部分を各分散先プリンタに送信した後、第1の印刷ジョブJB1の残りの部分を順次受信して、第2の印刷ジョブJB21〜JB24の残りの部分として各分散先プリンタに送信すれば良い(図5参照)。従って、ネットワークボード200は、第1の印刷ジョブJB1の全体を、スプールする必要がない。従って、ネットワークボード200において、第1の印刷ジョブJB1をスプールしておくバッファ36の容量を低減することができる。   Further, the job control language part 501 including the total page number information TP is arranged at the head of the page description language part 502 in the first print job JB1. That is, the total page number information TP is received by the print job receiving unit 60 before the print data DT. Accordingly, if the distribution control unit 50 receives only the head portion including the job control language unit 501 in the first print job JB1, the distribution control unit 50 determines the allocation page and determines the job control language unit of the second print jobs JB21 to JB24. 501 can be generated. As a result, the distribution control unit 50 transmits the head portion including the job control language unit 501 among the second print jobs JB21 to JB24 to each distribution destination printer, and then transfers the remaining portion of the first print job JB1. It may be received sequentially and transmitted to each distribution destination printer as the remaining portions of the second print jobs JB21 to JB24 (see FIG. 5). Therefore, the network board 200 does not need to spool the entire first print job JB1. Therefore, the capacity of the buffer 36 for spooling the first print job JB1 in the network board 200 can be reduced.

さらに、各分散先プリンタの割当ページのページ数は、式(1)〜(3)および図7から解るように、ほぼ均等にされる。これにより、短時間にページ単位での分散印刷を完了させることができる。また、総ページ数Qが分散先プリンタの台数Mで割り切れない場合には、ページ順の早いページを含む割当ページのページ数を多くしている(図7)。図9を参照して上述したように、分散先プリンタである各プリンタPRTは、ページ特定情報PEを含む印刷ジョブの印刷を行う場合、実際に印刷を行うか否かに関わらず、全ての印刷データDTを先頭から解釈していく。そして、プリンタPRTは、印刷すべきページについて印刷データを解釈したタイミングで、実際に印刷を行う。従って、各PRTにおいて印刷データを解釈する速度が同じであると仮定すれば、ページ順の早い(ページ番号の小さい)ページを含む割当ページを印刷するプリンタPRTは、ページ番号の遅い(ページ番号の大きい)ページを含む割当ページを印刷するプリンタPRTより早く印刷が開始される。このため、ページ順の早いページを含む割当ページのページ数を多くすることにより、より短時間にページ単位での分散印刷を完了させることができる。   Furthermore, the page numbers of the allocated pages of each distribution destination printer are made substantially equal as can be seen from the equations (1) to (3) and FIG. Thereby, distributed printing in units of pages can be completed in a short time. Further, when the total page number Q is not divisible by the number M of the distribution destination printers, the number of allocated pages including pages in the early page order is increased (FIG. 7). As described above with reference to FIG. 9, each printer PRT, which is a distribution destination printer, prints a print job including page identification information PE, regardless of whether or not printing is actually performed. The data DT is interpreted from the top. The printer PRT actually performs printing at the timing when the print data is interpreted for the page to be printed. Accordingly, if it is assumed that the print data interpretation speed is the same in each PRT, the printer PRT that prints the allocated pages including the pages in the early page order (small page number) has the slow page number (the page number of the page number). Printing starts earlier than the printer PRT that prints the allocated page including the (large) page. For this reason, by increasing the number of allocated pages including pages in the early page order, distributed printing can be completed in units of pages in a shorter time.

B.第2実施例:
第2実施例として、両面印刷モードにおける分散印刷処理について説明する。第2実施例における分散印刷システムの概略構成は、図1および図2を参照して説明した第1実施例における構成と同一であるので、その説明を省略する。図10〜図11を参照して、両面印刷モードを要求する印刷ジョブについて説明する。図10は、両面印刷モードを要求する印刷ジョブのジョブ制御言語部501の一例を示す説明図である。図11は、両面印刷モードにおける印刷形態を説明する概念図である。
B. Second embodiment:
As a second embodiment, a distributed printing process in the duplex printing mode will be described. Since the schematic configuration of the distributed printing system in the second embodiment is the same as that in the first embodiment described with reference to FIGS. 1 and 2, the description thereof is omitted. With reference to FIGS. 10 to 11, a print job requesting the double-sided printing mode will be described. FIG. 10 is an explanatory diagram illustrating an example of a job control language unit 501 of a print job that requests the duplex printing mode. FIG. 11 is a conceptual diagram illustrating a printing form in the duplex printing mode.

両面印刷モードでの印刷を要求する印刷ジョブは、図10に示すように、ジョブ制御言語部501に含まれる印刷モード指定情報DXに、「DX=ON」と記述されている。さらに、印刷モード指定情報DXに「DX=ON」と記述されている場合には、印刷モード指定情報DXには、先頭ページ印刷面指定情報が含まれる。先頭ページ印刷面指定情報は、「FC=FR」および「FC=BK」のいずれかである。   As shown in FIG. 10, a print job requesting printing in the duplex printing mode is described as “DX = ON” in the print mode designation information DX included in the job control language unit 501. Further, when “DX = ON” is described in the print mode designation information DX, the print mode designation information DX includes the first page print surface designation information. The first page print surface designation information is either “FC = FR” or “FC = BK”.

両面印刷モードは、1つの印刷用紙の両面に1ページずつ印刷する印刷モードである。図11に示すように、先に印刷がなされる面を第1の面F1、後に印刷がなされる面を第2の面F2とする。先頭ページ印刷面指定情報が「FC=FR」である場合には、図11(a)に示すように、先頭ページ(ページ番号1)は第1の面F1に印刷され、次のページ(ページ番号2)は第2の面F2に印刷される。したがって、先頭ページ印刷面指定情報が「FC=FR」である場合には、その印刷ジョブを1つのプリンタPRTで印刷すると、印刷用紙の第1の面F1には奇数ページが印刷され、第2の面F2には偶数ページが印刷される。   The duplex printing mode is a printing mode in which one page is printed on each side of one printing sheet. As shown in FIG. 11, a surface on which printing is performed first is a first surface F1, and a surface on which printing is performed later is a second surface F2. When the first page print surface designation information is “FC = FR”, as shown in FIG. 11A, the first page (page number 1) is printed on the first surface F1, and the next page (page Number 2) is printed on the second face F2. Therefore, when the first page print surface designation information is “FC = FR”, when the print job is printed by one printer PRT, an odd page is printed on the first surface F1 of the print sheet, and the second page An even page is printed on the surface F2.

一方、先頭ページ印刷面指定情報が「FC=BK」である場合には、図11(b)に示すように、第1の面F1には、なにも印刷されず白紙のままとされ、先頭ページ(ページ番号1)は第2の面F2に印刷される。次のページ(ページ番号2)は、次の印刷用紙の第1の面に印刷される。したがって、先頭ページ印刷面指定情報が「FC=BK」である場合には、その印刷ジョブを1つのプリンタPRTで印刷すると、印刷用紙の第1の面F1には偶数ページが印刷され、第2の面F2には奇数ページが印刷される。   On the other hand, when the first page print surface designation information is “FC = BK”, nothing is printed on the first surface F1 as shown in FIG. The first page (page number 1) is printed on the second surface F2. The next page (page number 2) is printed on the first side of the next printing paper. Therefore, when the first page print surface designation information is “FC = BK”, when the print job is printed by one printer PRT, an even page is printed on the first surface F1 of the print sheet, and the second page is printed. Odd pages are printed on the surface F2.

続いて、図12〜図14を参照して、第1の印刷ジョブJB1(図4)が両面印刷モードによる印刷を要求する印刷ジョブである場合(両面印刷モード時)における分散印刷処理について説明する。図12は、両面印刷モード時における割当ページの決定の処理ルーチンを示すフローチャートである。図13は、両面モード時における割当ページの決定を説明するための概念図である。図14は、両面印刷モード時における割当ページの決定結果について説明する概念図である。   Next, with reference to FIG. 12 to FIG. 14, distributed printing processing when the first print job JB1 (FIG. 4) is a print job requesting printing in the duplex printing mode (in duplex printing mode) will be described. . FIG. 12 is a flowchart showing a processing routine for determining the assigned page in the duplex printing mode. FIG. 13 is a conceptual diagram for explaining allocation page determination in the duplex mode. FIG. 14 is a conceptual diagram for explaining the determination result of the assigned page in the duplex printing mode.

第1の印刷ジョブJB1が両面印刷モードによる印刷を要求する印刷ジョブである場合の分散印刷処理の基本的な処理ステップは、図5を参照して説明した第1実施例における分散印刷処理の処理ステップと同様である。両者の異なる点は、図5:ステップS110における割当ページの決定の手法である。以下、両面印刷モード時の割当ページの決定について説明する。   The basic processing steps of the distributed printing process when the first print job JB1 is a print job requesting printing in the duplex printing mode are the processes of the distributed printing process in the first embodiment described with reference to FIG. It is the same as the step. The difference between the two is the method of determining the allocation page in FIG. 5: Step S110. Hereinafter, determination of the assigned page in the duplex printing mode will be described.

図12には、両面印刷モード時における分散印刷処理のステップS110の処理を、さらに詳しく示したフローチャートが示されている。まず、分散制御部50の割当ページ決定部56は、上述した先頭ページ印刷面指定情報を取得する(ステップS1102)。続いて、割当ページ決定部56は、出力されるべき印刷用紙の総数Qvを算出する(ステップS1104)。印刷用紙の総数Qvは、以下の式(4)によって算出される。   FIG. 12 is a flowchart showing in more detail the process in step S110 of the distributed printing process in the duplex printing mode. First, the allocation page determination unit 56 of the distribution control unit 50 acquires the above-described first page print surface designation information (step S1102). Subsequently, the allocated page determination unit 56 calculates the total number Qv of print sheets to be output (step S1104). The total number Qv of printing paper is calculated by the following equation (4).

Figure 2007041753
Figure 2007041753

上記式(4)において、Qは、印刷を要求される総ページ数であり、図5:ステップS106において取得される。また、bは、先頭ページ印刷面指定情報に応じて設定される変数である。先頭ページ印刷面指定情報が「FC=FR」である場合、すなわち、先頭ページが第1の面F1に印刷される場合には、変数b=0とされる。一方、先頭ページ印刷面指定情報が「FC=BK」である場合、すなわち、先頭ページが第2の面F2に印刷される場合には、変数b=1とされる。Intは、上述した式(1)において説明したように、整数部分を取り出す関数である。図13に示す例は、総ページ数Q=10であり、先頭ページ印刷面指定情報が「FC=BK」である第1の印刷ジョブを、3台の分散先プリンタに分散する場合について示している。かかる場合は、図13(b)に示すように、印刷用紙の総数Qv=6と定められる。なお、図13(a)は、第1の印刷ジョブJB1を1台のプリンタPRTで印刷された場合の印刷結果を概念的に示している。   In the above equation (4), Q is the total number of pages requested to be printed, and is acquired in step S106 in FIG. Further, b is a variable that is set according to the first page print surface designation information. When the first page print surface designation information is “FC = FR”, that is, when the first page is printed on the first surface F1, the variable b = 0. On the other hand, when the first page print surface designation information is “FC = BK”, that is, when the first page is printed on the second surface F2, the variable b = 1. Int is a function for extracting an integer part as described in the above-described equation (1). The example shown in FIG. 13 shows a case where the first print job in which the total number of pages Q = 10 and the first page print surface designation information is “FC = BK” is distributed to three distribution destination printers. Yes. In such a case, as shown in FIG. 13B, the total number of print sheets Qv = 6. FIG. 13A conceptually shows a print result when the first print job JB1 is printed by one printer PRT.

割当ページ決定部56は、続いて、出力されるべき印刷用紙を各分散先プリンタに割り当てる(ステップS1106)。具体的には、割当ページ決定部56は、分散先プリンタごとに、割り当てられる印刷用紙の開始用紙番号Svと終了用紙番号Evとを決定する。用紙番号Sv、Evは、ページ順の早いページが印刷される印刷用紙から順に、付される番号である。割り当てられる印刷用紙の枚数は、第1実施例において割当ページのページ数を決定する際と同様の考え方に基づいて定められる。すなわち、
1.各分散先プリンタに、できるだけ均等な数の印刷用紙を割り当てる。
2.完全に均等に割り当てられない場合、すなわち、印刷用紙の総数Qvが、分散先プリンタの数Mで割り切れない場合には、端数は、ページ順の早いページを割り当てられる分散先プリンタから順に1枚ずつ割り当てる。
Subsequently, the allocation page determination unit 56 allocates the printing paper to be output to each distribution destination printer (step S1106). Specifically, the allocation page determination unit 56 determines the start sheet number Sv and the end sheet number Ev of the print sheet to be allocated for each distribution destination printer. The paper numbers Sv and Ev are numbers assigned in order from the printing paper on which the pages in the early page order are printed. The number of print sheets to be allocated is determined based on the same concept as when determining the number of allocated pages in the first embodiment. That is,
1. Allocate as many print sheets as possible to each destination printer.
2. In the case where the printing paper cannot be completely evenly allocated, that is, when the total number Qv of printing sheets is not divisible by the number M of the distribution destination printers, the fraction is one by one in order from the distribution destination printer to which the pages in the early page order are allocated. assign.

具体的には、開始用紙番号Svおよび終了用紙番号Evは、第1実施例における式(1)〜(3)において、総ページ数Qを印刷用紙の総数Qvに置き換えた式(5)〜(7)を用いて算出される。   Specifically, the start sheet number Sv and the end sheet number Ev are expressed by the equations (5) to (5) in which the total number of pages Q is replaced with the total number Qv of print sheets in the equations (1) to (3) in the first embodiment. 7).

Figure 2007041753
Figure 2007041753

上記式(5)〜(7)において、Pv(m)、Sv(m)、Ev(m)は、それぞれ、m番の分散先プリンタに割り当てられる印刷用紙の数、開始用紙番号、終了用紙番号を表す。図13に示す例では、分散先プリンタの数が3台である場合を示しており、出力されるべき6枚の印刷用紙がそれぞれ2枚ずつ各分散先プリンタに割当られるように、開始用紙番号Sv(m)および終了用紙番号Ev(m)が定められている(図13(c))。   In the above formulas (5) to (7), Pv (m), Sv (m), and Ev (m) are the number of printing sheets, start sheet number, and end sheet number allocated to the mth distribution destination printer, respectively. Represents. The example shown in FIG. 13 shows a case where the number of distribution destination printers is three, and the start paper number is assigned so that each of the six printing papers to be output is assigned to each distribution destination printer. Sv (m) and end paper number Ev (m) are defined (FIG. 13C).

続いて、割当ページ決定部56は、割当られた印刷用紙に印刷されるべきページを割当ページとして決定する(ステップS1108)。図13に示す例では、1台目の分散先プリンタ(m=1)に割当られている1〜2枚目の印刷用紙に印刷されるべきページは、1ページから3ページである。したがって、割当ページ決定部56は、1台目の分散先プリンタの割当ページについて、開始ページ番号S(1)=1、終了ページ番号E(1)=3を算出する(図13(d)参照)。2台目、3台目の分散先プリンタについても同様の考え方により、図13(d)に示すように、それぞれ、S(2)=4、E(2)=7、および、S(3)=8、E(3)=10が算出される。   Subsequently, the allocation page determination unit 56 determines a page to be printed on the allocated printing paper as an allocation page (step S1108). In the example shown in FIG. 13, the pages to be printed on the first and second print sheets assigned to the first distribution destination printer (m = 1) are the first to third pages. Therefore, the allocation page determination unit 56 calculates the start page number S (1) = 1 and the end page number E (1) = 3 for the allocation page of the first distribution destination printer (see FIG. 13D). ). For the second and third distribution destination printers, S (2) = 4, E (2) = 7, and S (3), respectively, as shown in FIG. = 8, E (3) = 10 is calculated.

開始ページ番号S(m)および終了ページ番号E(m)の具体的な算出式は、以下の式(8)〜(9)で表される。
S(1)=1、 S(m)=2×Sv(m)−b−1 (2≦m≦M) ...(8)
E(m)=2×Ev(m)−b (1≦m≦M−1)、 E(M)=Q ...(9)
Specific calculation formulas for the start page number S (m) and the end page number E (m) are represented by the following formulas (8) to (9).
S (1) = 1, S (m) = 2 × Sv (m) −b−1 (2 ≦ m ≦ M) (8)
E (m) = 2 × Ev (m) −b (1 ≦ m ≦ M−1), E (M) = Q (9)

ここで、図14(a)は、先頭ページが第2の面F2に印刷される場合、すなわち、先頭ページ印刷面指定情報が「FC=BK」である場合に決定される割当ページの一例を示している。図14(b)は、先頭ページが第1の面F1に印刷される場合、すなわち、先頭ページ印刷面指定情報が「FC=FR」である場合に決定される割当ページの一例を示している。上述の式(8)(9)により割当ページを決定すると、先頭ページが印刷される印刷面に応じて、割当ページが変化することが解る。具体的には、先頭ページが第2の面F2に印刷される場合には、第1の印刷ジョブJB1の最終ページが含まれる割当ページを除いて、割当ページの終了ページ番号は、奇数になる。最終ページ(Qページ)が含まれる割当ページの終了ページ番号は、当然であるが、最終ページのページ番号Qになる。図14(a)に示す例では、1台目および2台目の分散先プリンタの割当ページの終了ページ番号は、それぞれ、奇数3、7である。3台目の分散先プリンタの割当ページは、最終ページ(10ページ)を含むので、割当ページの終了ページ番号は10になる。一方、先頭ページが第1の面F1に印刷される場合には、第1の印刷ジョブJB1の最終ページが含まれる割当ページを除いて、割当ページの終了ページ番号は、偶数になる。最終ページ(Qページ)が含まれる割当ページの終了ページ番号は、最終ページのページ番号Qである。図14(b)に示す例では、1台目および2台目の分散先プリンタの割当ページの終了ページ番号は、それぞれ、偶数4、8である。3台目の分散先プリンタの割当ページは、最終ページ(10ページ)を含むので、割当ページの終了ページ番号は10になる。   Here, FIG. 14A shows an example of the allocation page determined when the first page is printed on the second surface F2, that is, when the first page print surface designation information is “FC = BK”. Show. FIG. 14B shows an example of an allocation page that is determined when the first page is printed on the first surface F1, that is, when the first page print surface designation information is “FC = FR”. . It can be seen that when the allocation page is determined by the above-described equations (8) and (9), the allocation page changes depending on the print surface on which the first page is printed. Specifically, when the first page is printed on the second face F2, the end page number of the assigned page is an odd number except for the assigned page including the last page of the first print job JB1. . The end page number of the assigned page including the last page (Q page) is naturally the page number Q of the last page. In the example shown in FIG. 14A, the end page numbers of the assigned pages of the first and second distribution destination printers are odd numbers 3 and 7, respectively. Since the allocation page of the third distribution destination printer includes the last page (10 pages), the end page number of the allocation page is 10. On the other hand, when the first page is printed on the first face F1, the end page number of the assigned page is an even number except for the assigned page including the last page of the first print job JB1. The end page number of the assigned page including the last page (Q page) is the page number Q of the last page. In the example shown in FIG. 14B, the end page numbers of the assigned pages of the first and second distribution destination printers are even numbers 4 and 8, respectively. Since the allocation page of the third distribution destination printer includes the last page (10 pages), the end page number of the allocation page is 10.

各分散先プリンタについて、それぞれ、開始ページ番号S(m)および終了ページ番号E(m)が決定されると、すなわち、各分散先プリンタの割当ページが決定されると、分散制御部50は、図5に示すフローチャートに戻って、第1実施例と同様にして、ステップS112以降の処理を実行する。   When the start page number S (m) and the end page number E (m) are determined for each distribution destination printer, that is, when the allocation page of each distribution destination printer is determined, the distribution control unit 50 Returning to the flowchart shown in FIG. 5, the processing after step S <b> 112 is executed in the same manner as in the first embodiment.

分散先プリンタにおける処理は、図8および図9を参照して説明した第1実施例における処理と同一であるので、その説明を省略する。   Since the processing in the distribution destination printer is the same as that in the first embodiment described with reference to FIGS. 8 and 9, the description thereof is omitted.

以上説明した第2実施例によれば、第1実施例において上述した作用・効果に加えて、両面印刷モードに特有の以下の作用・効果を奏する。すなわち、第1の印刷ジョブJB1を1台のプリンタPRTで印刷した場合に、同一の印刷媒体に印刷されるページを、同一の分散先プリンタに割り当てるので、第1の印刷ジョブJB1を1台のプリンタPRTで印刷した場合と同様の印刷結果を再現できる。この結果、ユーザは、分散印刷であることを意識せず、通常の印刷と同じ感覚で印刷ジョブを送信すれば、分散印刷により所望の印刷結果を得ることができる。   According to the second embodiment described above, in addition to the actions and effects described above in the first embodiment, the following actions and effects specific to the duplex printing mode are exhibited. That is, when the first print job JB1 is printed by one printer PRT, pages to be printed on the same print medium are assigned to the same distribution destination printer, so the first print job JB1 is assigned to one printer PRT. It is possible to reproduce the same printing result as when printing with the printer PRT. As a result, the user can obtain a desired print result by distributed printing if he / she does not recognize distributed printing and transmits a print job in the same manner as normal printing.

仮に、両面印刷モードであることを考慮せず、第1実施例に示したアルゴリズムにより割当ページを決定すると、所望の印刷結果を得ることができない。図14(c)(d)は、第1実施例に示したアルゴリズムにより割当ページを決定した場合の一例を示している。図14(c)は、先頭ページが第2の面F2に印刷される場合を示し、図14(d)は、先頭ページが第1の面F1に印刷される場合を示している。図14(c)(d)のいずれの場合であっても、途中の印刷用紙のいずかにおいて、第2の面F2がなにも印刷されない白紙の面になってしまうことが解る。   If the assigned page is determined by the algorithm shown in the first embodiment without considering the double-sided printing mode, a desired printing result cannot be obtained. FIGS. 14C and 14D show an example when the allocation page is determined by the algorithm shown in the first embodiment. FIG. 14C shows a case where the first page is printed on the second surface F2, and FIG. 14D shows a case where the first page is printed on the first surface F1. In either case of FIGS. 14C and 14D, it can be seen that the second surface F2 becomes a blank surface on which nothing is printed in any of the printing papers in the middle.

さらに、各分散先プリンタの割当ページのページ数をほぼ均等にするので、1台のプリンタPRTで印刷を行う場合と同様の印刷結果を再現しつつ、より短時間にページ単位での分散印刷を完了させることができる。   In addition, since the number of allocated pages of each distribution destination printer is made substantially equal, distributed printing in units of pages can be performed in a shorter time while reproducing the same printing results as when printing with one printer PRT. Can be completed.

さらに、先頭ページ印刷面指定情報に応じて、割当ページを決定するので、先頭ページが第1の面F1に印刷される場合であっても、第2の面F2に印刷される場合であっても、第1の印刷ジョブJB1を1台のプリンタPRTで印刷した場合と同様の印刷結果を再現できる。   Further, since the allocation page is determined according to the first page printing surface designation information, even when the first page is printed on the first surface F1, the second page F2 is printed. Also, it is possible to reproduce the same print result as when the first print job JB1 is printed by one printer PRT.

C.変形例:
・第1変形例:
図15および図16を参照して、第1変形例について説明する。図15は、第1変形例における第1の印刷ジョブJB1のデータ構造を示す説明図である。図16は、第1変形例における分散印刷処理の処理ルーチンを示すフローチャートである。
C. Variation:
・ First modification:
A first modification will be described with reference to FIGS. 15 and 16. FIG. 15 is an explanatory diagram showing the data structure of the first print job JB1 in the first modification. FIG. 16 is a flowchart showing a processing routine of distributed printing processing in the first modification.

本変形例における第1の印刷ジョブJB1は、第1および第2実施例における第1の印刷ジョブJB1と異なり、ジョブ制御言語部501が2つの部分、すなわち、第1のジョブ制御言語部501aと第2のジョブ制御言語部501bとに分かれている。第1のジョブ制御言語部501aは、ページ記述言語部502の前に配置される一方で、第2のジョブ制御言語部501bはページ記述言語部502の後ろに配置される。すなわち、本変形例における第1の印刷ジョブJB1は、分散制御部50の分散ジョブ受信部52に受信される際、第1のジョブ制御言語部501a、ページ記述言語部502、第2のジョブ制御言語部501bという順序で受信される。第2のジョブ制御言語部501bには、第1および第2の実施例においてジョブ制御言語部501に含まれていた情報のうち総ページ数情報TPが記述され、第2のジョブ制御言語部501bには、それ以外の情報が記述されている。プリンタコントローラ80およびクライアントCLのプリンタドライバの仕様によって、第1の印刷ジョブJB1がこのような構造を有する場合がある。   The first print job JB1 in this modification is different from the first print job JB1 in the first and second embodiments, and the job control language unit 501 has two parts, that is, the first job control language unit 501a. It is divided into a second job control language unit 501b. The first job control language part 501 a is arranged before the page description language part 502, while the second job control language part 501 b is arranged after the page description language part 502. That is, when the first print job JB1 in the present modification is received by the distributed job receiving unit 52 of the distribution control unit 50, the first job control language unit 501a, the page description language unit 502, the second job control. The language parts 501b are received in this order. The second job control language unit 501b describes the total page number information TP among the information included in the job control language unit 501 in the first and second embodiments, and the second job control language unit 501b. Other information is described in. Depending on the specifications of the printer driver of the printer controller 80 and the client CL, the first print job JB1 may have such a structure.

本変形例における分散印刷処理について説明する。図5を参照して説明した第1および第2実施例における分散印刷処理と異なる点は、図5におけるステップS104に代えてステップS504が実行される点と、図5におけるステップS112〜S116に代えて、ステップS512が実行される点である(図16)。   The distributed printing process in this modification will be described. The difference from the distributed printing process in the first and second embodiments described with reference to FIG. 5 is that step S504 is executed instead of step S104 in FIG. 5 and steps S112 to S116 in FIG. Thus, step S512 is executed (FIG. 16).

ステップS504において、分散制御部50の分散ジョブ受信部52は、印刷ジョブの先頭部分だけでなく、印刷ジョブの全体を受信する。分散制御部50は、次のステップS106において、総ページ数情報TPを参照して、総ページ数Qを取得する必要があるため、印刷ジョブのうち最後に受信される第2のジョブ制御言語部501bを受信しておく必要があるからである。   In step S504, the distributed job receiving unit 52 of the distribution control unit 50 receives not only the head portion of the print job but the entire print job. In the next step S106, the distribution control unit 50 needs to obtain the total page number Q by referring to the total page number information TP. Therefore, the second job control language unit received last in the print job. This is because it is necessary to receive 501b.

ステップS512において、分散制御部50の印刷ジョブ送信部58は、ページ特定情報PEを追加した印刷ジョブを第2の印刷ジョブJB21〜JB24として、各分散先プリンタに送信する。ステップS504において、印刷ジョブの全体が受信されているので、第1実施例のように、第1の印刷ジョブJB1の受信と、第2の印刷ジョブJB21〜JB24の送信を繰り返す必要はない。   In step S512, the print job transmission unit 58 of the distribution control unit 50 transmits the print job to which the page specifying information PE is added to each distribution destination printer as the second print jobs JB21 to JB24. In step S504, since the entire print job has been received, it is not necessary to repeat reception of the first print job JB1 and transmission of the second print jobs JB21 to JB24 as in the first embodiment.

他のステップS102、S106〜S110における処理は、第1および第2の実施例と同一であるので、図16において同一の符号を付しその説明を省略する。   Since the processes in other steps S102 and S106 to S110 are the same as those in the first and second embodiments, the same reference numerals are given in FIG.

本変形例によれば、第1の印刷ジョブJB1の全体を一度に受信する必要があるので、バッファ36には、第1の印刷ジョブJB1の全体を格納できる領域が確保される必要がある。それ以外は、第1および第2の実施例と同様の作用・効果を得ることができる。   According to this modification, since it is necessary to receive the entire first print job JB1 at once, it is necessary to secure an area in the buffer 36 that can store the entire first print job JB1. Other than that, the same operations and effects as those of the first and second embodiments can be obtained.

・第2変形例:
上記第2実施例では、印刷用紙の両面に1ページずつ印刷する両面印刷モードが用いられているが、複数のページを1枚の印刷用紙に印刷するその他の印刷モードにも適用することができる。その他の印刷モードとしては、例えば、1枚の印刷用紙の第1の面F1に複数のページを並べて印刷する印刷モード、具体的には、縮小印刷モードがある。あるいは、第1の面F1および第2の面F2に、それぞれ、複数のページを印刷する印刷モード、具体的には、縮小両面印刷モードがある。第2変形例として第1の面F1および第2の面F2に2ページずつ、つまり、1枚の印刷用紙に4ページの印刷を行う印刷モードが用いられる場合について説明する。図17は、第2変形例における割当ページの決定を説明するための概念図である。
・ Second modification:
In the second embodiment, the double-sided printing mode for printing one page on each side of the printing paper is used, but it can also be applied to other printing modes for printing a plurality of pages on one printing paper. . Other print modes include, for example, a print mode in which a plurality of pages are printed side by side on the first surface F1 of a single print sheet, specifically, a reduced print mode. Alternatively, there is a print mode for printing a plurality of pages on the first surface F1 and the second surface F2, respectively, specifically, a reduced duplex print mode. As a second modification, a case will be described in which a printing mode is used in which two pages are printed on the first surface F1 and the second surface F2, that is, four pages are printed on one printing sheet. FIG. 17 is a conceptual diagram for explaining allocation page determination in the second modified example.

第2変形例においても、割当ページの決定のための処理ステップは、基本的に、図12を参照して説明した第2実施例における処理ステップと同様である。図17(a)は、第1の印刷ジョブJB1を1台のプリンタPRTで印刷された場合の印刷結果を概念的に示している。図17に示す例では、第2の面F2から印刷を始める場合であるので、取得されるページ印刷面指定情報は、「FC=BK」である。また、総ページ数Qは20であり、分散先プリンタの台数は3台であるとする。第2実施例と同様に、割当ページ決定部56は、先頭ページ印刷面指定情報と、総ページ数Qを用いて、出力されるべき印刷用紙の総数Qvを算出し、出力されるべき印刷用紙を各分散先プリンタに割り当てる。図17に示す例では、図17(b)に示すように、印刷用紙の総数Qv=6と定められ、図17(c)に示すように、各分散先プリンタに2枚ずつ出力されるべき印刷用紙が割当てられる。   Also in the second modification, the processing steps for determining the allocation page are basically the same as the processing steps in the second embodiment described with reference to FIG. FIG. 17A conceptually shows a print result when the first print job JB1 is printed by one printer PRT. In the example shown in FIG. 17, since printing is started from the second surface F2, the acquired page print surface designation information is “FC = BK”. Further, it is assumed that the total number of pages Q is 20, and the number of distribution destination printers is three. As in the second embodiment, the allocation page determination unit 56 calculates the total number Qv of print sheets to be output using the first page print surface designation information and the total page count Q, and print sheets to be output. Is assigned to each distribution destination printer. In the example shown in FIG. 17, the total number of print sheets Qv = 6 is determined as shown in FIG. 17B, and two sheets should be output to each distribution destination printer as shown in FIG. 17C. Printing paper is allocated.

さらに、割当ページ決定部56は、割当られた印刷用紙に印刷されるべきページを割当ページとして決定する。図17に示す例では、図17(d)に示すように、最初の印刷用紙に、2ページ、それ以降の印刷用紙(最終ページが割り当てられる印刷用紙を除く)に4ページずつ割り当てられる。その結果、各分散先プリンタの割当ページの開始ページ番号S(m)および終了ページ番号E(m)が、図17(b)に示すように算出される。   Furthermore, the allocation page determination unit 56 determines a page to be printed on the allocated printing paper as an allocation page. In the example shown in FIG. 17, as shown in FIG. 17D, two pages are allocated to the first printing paper, and four pages are allocated to the subsequent printing paper (except for the printing paper to which the final page is allocated). As a result, the start page number S (m) and the end page number E (m) of the allocation page of each distribution destination printer are calculated as shown in FIG.

以上に一例を示したように、複数のページを1枚の印刷用紙に印刷する様々の印刷モードにおいて、第1の印刷ジョブJB1を1台のプリンタPRTで印刷した場合と同様の印刷結果を再現できる。   As shown above, the same print results as when the first print job JB1 was printed by one printer PRT were reproduced in various print modes for printing a plurality of pages on one print sheet. it can.

・その他の変形例:
上記第2実施例では、図12:ステップS1102において、割当ページの決定のために先頭ページ印刷面指定情報を取得しているが、先頭ページが印刷される印刷用紙に印刷されるページ数が特定できる情報であれば、割当ページの決定を行うことができる。したがって、ジョブ制御言語部501に、先頭ページが印刷される印刷用紙に印刷されるページ数をそのまま記述することとし、ステップS1102において、これを取得することとしても良い。
・ Other variations:
In the second embodiment, FIG. 12: In step S1102, the first page printing surface designation information is acquired to determine the allocation page, but the number of pages printed on the printing paper on which the first page is printed is specified. If it is possible information, the allocation page can be determined. Therefore, the number of pages to be printed on the printing paper on which the first page is printed may be described as it is in the job control language unit 501, and this may be acquired in step S1102.

上記第1実施例においては、第1の印刷ジョブJB1は、ページ特定情報PEが含まれていないものとしているが、第1の印刷ジョブJB1のページ記述言語部502に含まれる印刷データのうち一部のページを特定するページ特定情報PEを含んでも良い。   In the first embodiment, it is assumed that the first print job JB1 does not include the page specifying information PE, but one of the print data included in the page description language part 502 of the first print job JB1. The page specifying information PE for specifying the page of the part may be included.

かかる場合には、分散制御部50は、総ページ数情報TPを取得する際に(図5:ステップS106)、総ページ数情報TPに代えてページ特定情報PEを取得する。分散制御部50は、ページ特定情報PEにより特定された範囲のページ数をカウントして、印刷を要求される総ページ数Qとする。   In such a case, the distribution control unit 50 acquires the page specifying information PE instead of the total page number information TP when acquiring the total page number information TP (FIG. 5: step S106). The distribution control unit 50 counts the number of pages in the range specified by the page specifying information PE and sets it as the total number of pages Q requested to be printed.

そして、分散制御部50は、割当ページを決定した後、第1の印刷ジョブJB1に記述されているページ特定情報PEを、割当ページを特定するページ特定情報PEに変更して、第2の印刷ジョブJB21〜JB24を生成すれば良い。その際には、ページ特定情報PEに記述される開始ページ番号および終了ページ番号は、第1の印刷ジョブJB1に記述されているページ特定情報PEにより特定された範囲のページを適切に指定するように調整する。例えば、第1の印刷ジョブJB1に記述されているページ特定情報PEによって5ページ目から14ページ目までの10ページが特定されている場合を考える。そして、係る10ページを、図4に示した例と同様に、4台の分散先プリンタに分散するとする。すると、割当ページは、上述した式(1)〜(3)により、
1台目の分散先プリンタ(プリンタPRT1):S(1)=1、E(1)=3;
2台目の分散先プリンタ(プリンタPRT2):S(2)=4、E(2)=6;
3台目の分散先プリンタ(プリンタPRT3):S(3)=7、E(3)=8;
4台目の分散先プリンタ(プリンタPRT4):S(4)=9、E(4)=10;
と決定されるが、実際に第2の印刷ジョブJB21〜JB24に記述されるページ特定情報PEは、5ページ目から14ページ目までの10ページが印刷されるように、各値に4を加えて調整する。
Then, after determining the allocation page, the distribution control unit 50 changes the page specification information PE described in the first print job JB1 to the page specification information PE that specifies the allocation page, and performs the second printing. Jobs JB21 to JB24 may be generated. At that time, the start page number and the end page number described in the page specifying information PE appropriately specify a page in the range specified by the page specifying information PE described in the first print job JB1. Adjust to. For example, consider a case where 10 pages from the 5th page to the 14th page are specified by the page specifying information PE described in the first print job JB1. Then, it is assumed that the 10 pages are distributed to four distribution destination printers as in the example shown in FIG. Then, the allocation page is expressed by the above formulas (1) to (3),
First distribution destination printer (printer PRT1): S (1) = 1, E (1) = 3;
Second destination printer (printer PRT2): S (2) = 4, E (2) = 6;
Third distribution destination printer (printer PRT3): S (3) = 7, E (3) = 8;
Fourth distribution destination printer (printer PRT4): S (4) = 9, E (4) = 10;
However, the page specification information PE described in the second print jobs JB21 to JB24 is actually added 4 to each value so that 10 pages from the 5th page to the 14th page are printed. Adjust.

したがって、調整後の割当ページの開始ページ番号Sa(m)および終了ページ番号Ea(m)は、
1台目の分散先プリンタ(プリンタPRT1):Sa(1)=5、Ea(1)=7
2台目の分散先プリンタ(プリンタPRT2):Sa(2)=8、Ea(2)=10
3台目の分散先プリンタ(プリンタPRT3):Sa(3)=11、Ea(3)=12
4台目の分散先プリンタ(プリンタPRT4):Sa(4)=13、Ea(4)=14
となる。
Therefore, the start page number Sa (m) and the end page number Ea (m) of the allocated page after adjustment are
First distribution destination printer (printer PRT1): Sa (1) = 5, Ea (1) = 7
Second distribution destination printer (printer PRT2): Sa (2) = 8, Ea (2) = 10
Third destination printer (printer PRT3): Sa (3) = 11, Ea (3) = 12.
Fourth destination printer (printer PRT4): Sa (4) = 13, Ea (4) = 14
It becomes.

上記第1および第2実施例において、プリンタPRTの各部は、ソフトウエア的に構成されているものを、ハードウエア的に構成するようにしてもよいし、ハードウエア的に構成されているものを、ソフトウエア的に構成するようにしてもよい。   In the first and second embodiments, each part of the printer PRT may be configured as hardware instead of being configured as software, or may be configured as hardware. It may be configured as software.

上記第1および第2実施例におけるプリンタエンジン90は、種々のタイプのものが用いられ得る。例えば、レーザー式に限らず、インクジェット式、昇華型、ドットインパクト式、熱転写型など、あらゆるタイプのプリンタエンジンが用いられ得る。   Various types of printer engines 90 in the first and second embodiments can be used. For example, not only a laser type but also any type of printer engine such as an ink jet type, a sublimation type, a dot impact type, and a thermal transfer type can be used.

以上、本発明の実施例および変形例について説明したが、本発明はこれらの実施例および変形例になんら限定されるものではなく、その要旨を逸脱しない範囲内において種々の態様での実施が可能である。   As mentioned above, although the Example and modification of this invention were demonstrated, this invention is not limited to these Example and modification at all, and implementation in a various aspect is possible within the range which does not deviate from the summary. It is.

本発明の第1実施例における分散印刷システムの概略構成を示す説明図。1 is an explanatory diagram showing a schematic configuration of a distributed printing system in a first embodiment of the present invention. 第1実施例における分散印刷システムを構成する各機器の内部構成を示すブロック図。1 is a block diagram showing an internal configuration of each device that constitutes a distributed printing system according to a first embodiment. 印刷ジョブの構成を説明する概念図。FIG. 3 is a conceptual diagram illustrating a configuration of a print job. 分散印刷処理の概要を示す説明図。Explanatory drawing which shows the outline | summary of distributed printing processing. 分散印刷処理の処理ルーチンを示すフローチャート。9 is a flowchart showing a processing routine for distributed printing processing. 分散先プリンタ特定処理の処理ルーチンを示すフローチャート。10 is a flowchart illustrating a processing routine of a distribution destination printer identification process. 分散先プリンタに割り当てられるページ数の一例を示すテーブル。A table showing an example of the number of pages allocated to a distribution destination printer. 通常の印刷ジョブの受信処理の処理ルーチンを示すフローチャート。6 is a flowchart illustrating a processing routine for reception processing of a normal print job. 通常の印刷ジョブの印刷処理の処理ルーチンを示すフローチャート。6 is a flowchart illustrating a processing routine for normal print job print processing. 両面印刷モードを要求する印刷ジョブのジョブ制御言語部の一例を示す説明図。FIG. 3 is an explanatory diagram illustrating an example of a job control language unit of a print job that requests a duplex printing mode. 両面印刷モードにおける印刷形態を説明する概念図。The conceptual diagram explaining the printing form in duplex printing mode. 両面印刷モード時における割当ページの決定の処理ルーチンを示すフローチャート。10 is a flowchart showing a processing routine for determining an assigned page in the duplex printing mode. 両面モード時における割当ページの決定を説明するための概念図。The conceptual diagram for demonstrating determination of the allocation page at the time of duplex mode. 両面印刷モード時における割当ページの決定結果について説明する概念図。The conceptual diagram explaining the determination result of the allocation page at the time of duplex printing mode. 第1変形例における第1の印刷ジョブJB1のデータ構造を示す説明図。Explanatory drawing which shows the data structure of 1st print job JB1 in a 1st modification. 第1変形例における分散印刷処理の処理ルーチンを示すフローチャート。9 is a flowchart showing a processing routine of distributed printing processing in a first modification. 第2変形例における割当ページの決定を説明するための概念図。The conceptual diagram for demonstrating the determination of the allocation page in a 2nd modification.

符号の説明Explanation of symbols

10...TCP/IP部
11...アプリケーション
12...印刷ジョブ送信部
13...TCP/IP部
20...CPU
30...メモリ
32...OID格納部
34...分散先指定ファイル格納部
36...バッファ
40...SNMPマネージャ
50...分散制御部
52...分散ジョブ受信部
54...分散先特定部
56...割当ページ決定部
58...印刷ジョブ送信部
60...印刷ジョブ受信部
70...SNMPエージェント
80...プリンタコントローラ
81...MIBファイル
82...プリンタバッファ
90...プリンタエンジン
100...カスタムネットワークボード
200...ネットワークボード
400...ヘッダ
450...データ部
501...ジョブ制御言語部
501a...第1のジョブ制御言語部
501b...第2のジョブ制御言語部
502...ページ記述言語部
PRT...プリンタ
PRB...プリンタ本体
CL...クライアント
JB...印刷ジョブ
DESCRIPTION OF SYMBOLS 10 ... TCP / IP part 11 ... Application 12 ... Print job transmission part 13 ... TCP / IP part 20 ... CPU
30 ... Memory 32 ... OID storage unit 34 ... Distribution destination designation file storage unit 36 ... Buffer 40 ... SNMP manager 50 ... Distribution control unit 52 ... Distributed job reception unit 54. .. Distributing destination specifying part 56 ... Allocation page determining part 58 ... Print job transmitting part 60 ... Print job receiving part 70 ... SNMP agent 80 ... Printer controller 81 ... MIB file 82. ..Printer buffer 90 ... Printer engine 100 ... Custom network board 200 ... Network board 400 ... Header 450 ... Data part 501 ... Job control language part 501a ... First job Control language part 501b ... second job control language part 502 ... page description language part PRT ... printer PRB ... printer body CL ... client JB ... print job

Claims (11)

ネットワークに接続された複数の印刷装置のうち、少なくとも一つの前記印刷装置に内蔵される印刷制御装置であって、
複数のページに亘る印刷を要求する第1の印刷ジョブを受信する受信部と、
前記複数の印刷装置の中から、前記第1の印刷ジョブにより要求される印刷の分散先となる複数の分散先印刷装置を特定する分散先特定部と、
前記第1の印刷ジョブにより印刷を要求される複数のページを、前記分散先印刷装置の数のグループに分けて、各分散先印刷装置に割り当てられる各割当ページを決定する割当ページ決定部と、
前記割当ページの印刷を要求する第2の印刷ジョブを、複数の前記分散先印刷装置に対してそれぞれ送信する送信部と、
を備える印刷制御装置。
Among a plurality of printing devices connected to a network, the printing control device is built in at least one of the printing devices,
A receiving unit that receives a first print job that requests printing over a plurality of pages;
A distribution destination specifying unit that specifies a plurality of distribution destination printing devices that are distribution destinations of prints requested by the first print job from the plurality of printing devices;
An allocation page determining unit that divides a plurality of pages requested to be printed by the first print job into groups of the number of distribution destination printing apparatuses and determines each allocation page allocated to each distribution destination printing apparatus;
A transmission unit that transmits a second print job requesting printing of the assigned page to each of the plurality of distribution destination printing apparatuses;
A printing control apparatus comprising:
請求項1に記載の印刷制御装置において、
前記第1の印刷ジョブは、
前記印刷が要求される複数のページに対応する印刷データを含み、
前記第2の印刷ジョブは、
前記印刷データをそのまま含むと共に、前記割当ページを特定するためのページ特定情報を含む印刷制御装置。
The print control apparatus according to claim 1,
The first print job is:
Including print data corresponding to a plurality of pages for which printing is requested,
The second print job is
A print control apparatus including the print data as it is and including page specifying information for specifying the assigned page.
請求項2に記載の印刷制御装置において、
前記第2の印刷ジョブは、前記第1の印刷ジョブに、前記ページ特定情報を追加した印刷ジョブである印刷制御装置。
The print control apparatus according to claim 2,
The print control apparatus, wherein the second print job is a print job in which the page specifying information is added to the first print job.
請求項2または請求項3に記載の印刷制御装置において、
前記割当ページは、1または連続する複数のページであり、
前記ページ特定情報は、前記割当ページの開始ページと終了ページを特定するための情報である印刷制御装置。
In the printing control apparatus according to claim 2 or 3,
The allocation page is one or a plurality of continuous pages,
The print control apparatus, wherein the page specifying information is information for specifying a start page and an end page of the allocation page.
請求項1ないし請求項4のいずれかに記載の印刷制御装置において、
前記第1の印刷ジョブは、前記印刷が要求される複数のページの総ページ数を特定するためのページ数情報を含み、
前記割当ページ決定部は、前記割当ページのページ数を、前記ページ数情報に基づいて決定する印刷制御装置。
The print control apparatus according to any one of claims 1 to 4,
The first print job includes page number information for specifying the total number of pages of the plurality of pages requested to be printed,
The allocation page determination unit is a print control apparatus that determines the number of pages of the allocation page based on the page number information.
請求項5に記載の印刷制御装置において、
前記第1の印刷ジョブは、さらに、前記印刷が要求される複数のページに対応する印刷データを含み、
前記第1の印刷ジョブは、前記受信部により受信される際に、前記ページ数情報が前記印刷データより先に受信されるように構成される印刷制御装置。
The printing control apparatus according to claim 5,
The first print job further includes print data corresponding to a plurality of pages for which printing is requested,
The print control apparatus configured to receive the page number information before the print data when the first print job is received by the receiving unit.
請求項1ないし請求項6のいずれかに記載の印刷制御装置において、
前記割当ページ決定部は、各分散先印刷装置に割り当てられる各割当ページのページ数を、ほぼ均等にする印刷制御装置。
The print control apparatus according to any one of claims 1 to 6,
The allocation page determination unit is a print control apparatus that substantially equalizes the number of pages of each allocated page allocated to each distribution destination printing apparatus.
請求項7に記載の印刷制御装置において、
前記第2の印刷ジョブは、前記第1の印刷ジョブにより印刷を要求される複数のページに対応する印刷データを全て含み、
前記分散先印刷装置は、前記第2の印刷ジョブにより要求される印刷を実行する際に、前記印刷データをページ順に解釈して、前記割当ページに対応する印刷データを選択的に印刷し、
前記割当ページ決定部は、前記総ページ数が前記分散先印刷装置の数で割り切れない場合には、各分散先印刷装置に割り当てられる各割当ページのうち、ページ順の早いページを含む割当ページのページ数を多くする印刷制御装置。
The print control apparatus according to claim 7.
The second print job includes all print data corresponding to a plurality of pages requested to be printed by the first print job,
The distribution destination printing apparatus interprets the print data in page order when the printing requested by the second print job is executed, and selectively prints the print data corresponding to the allocated page,
When the total page number is not divisible by the number of distribution destination printing apparatuses, the allocation page determination unit determines an allocation page including pages with an earlier page order among the allocation pages allocated to each distribution destination printing apparatus. Print control device that increases the number of pages.
ネットワークに接続される印刷装置であって、
複数のページに亘る印刷を要求する第1の印刷ジョブを受信する受信部と、
前記印刷装置自身と前記ネットワークに接続された他の印刷装置の中から、前記第1の印刷ジョブにより要求される印刷の分散先となる複数の分散先印刷装置を特定する分散先特定部と、
前記第1の印刷ジョブにより印刷を要求される複数のページを、前記分散先印刷装置の数のグループに分けて、各分散先印刷装置に割り当てられる各割当ページを決定する割当ページ決定部と、
前記割当ページの印刷を要求する第2の印刷ジョブを、複数の前記分散先印刷装置に対してそれぞれ送信する送信部と、
を備える印刷装置。
A printing device connected to a network,
A receiving unit that receives a first print job that requests printing over a plurality of pages;
A distribution destination specifying unit that specifies a plurality of distribution destination printing devices that are distribution destinations of prints requested by the first print job from the printing device itself and other printing devices connected to the network;
An allocation page determining unit that divides a plurality of pages requested to be printed by the first print job into groups of the number of distribution destination printing apparatuses and determines each allocation page allocated to each distribution destination printing apparatus;
A transmission unit that transmits a second print job requesting printing of the assigned page to each of the plurality of distribution destination printing apparatuses;
A printing apparatus comprising:
ネットワークに接続された複数の印刷装置における印刷方法であって、
前記複数の印刷装置の中のいずれかである特定印刷装置において、
複数のページに亘る印刷を要求する第1の印刷ジョブを受信し、
前記複数の印刷装置の中から、前記第1の印刷ジョブにより要求される印刷の分散先となる複数の分散先印刷装置を特定し、
前記第1の印刷ジョブにより印刷を要求される複数のページを、前記分散先印刷装置の数のグループに分けて、各分散先印刷装置に割り当てられる各割当ページを決定し、
前記割当ページの印刷を要求する第2の印刷ジョブを、複数の前記分散先印刷装置に対してそれぞれ送信し、
前記分散先印刷装置のそれぞれにおいて、
前記特定印刷装置から前記第2の印刷ジョブを受信し、
前記第2の印刷ジョブに基づいて、前記割当ページの印刷を実行する印刷方法。
A printing method in a plurality of printing devices connected to a network,
In the specific printing device that is one of the plurality of printing devices,
Receiving a first print job requesting printing across a plurality of pages;
Identifying a plurality of distribution destination printing devices to be a distribution destination of printing requested by the first print job from the plurality of printing devices;
Dividing a plurality of pages requested to be printed by the first print job into groups of the number of distribution destination printing apparatuses, and determining each allocation page allocated to each distribution destination printing apparatus;
A second print job requesting printing of the allocated page is transmitted to each of the plurality of distribution destination printing apparatuses,
In each of the distribution destination printing devices,
Receiving the second print job from the specific printing device;
A printing method for executing printing of the assigned page based on the second print job.
コンピュータに、ネットワークに接続された複数の印刷装置のうちの少なくとも一つを制御させるためのコンピュータプログラムであって、
複数のページに亘る印刷を要求する第1の印刷ジョブを受信する第1の機能と、
前記複数の印刷装置の中から、前記第1の印刷ジョブにより要求される印刷の分散先となる複数の分散先印刷装置を特定する第2の機能と、
前記第1の印刷ジョブにより印刷を要求される複数のページを、前記分散先印刷装置の数のグループに分けて、各分散先印刷装置に割り当てられる各割当ページを決定する第3の機能と、
前記割当ページの印刷を要求する第2の印刷ジョブを、複数の前記分散先印刷装置に対してそれぞれ送信する第4の機能と、
を前記コンピュータに実現させるコンピュータプログラム。
A computer program for causing a computer to control at least one of a plurality of printing devices connected to a network,
A first function for receiving a first print job requesting printing over a plurality of pages;
A second function for identifying a plurality of distribution destination printing apparatuses that are distribution destinations of printing requested by the first print job from the plurality of printing apparatuses;
A third function that divides a plurality of pages requested to be printed by the first print job into groups of the number of distribution destination printing apparatuses, and determines each allocated page allocated to each distribution destination printing apparatus;
A fourth function of transmitting a second print job requesting printing of the assigned page to each of the plurality of distribution destination printing apparatuses;
A computer program for causing the computer to realize the above.
JP2005223717A 2005-08-02 2005-08-02 Printing control for executing distributed printing Pending JP2007041753A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2005223717A JP2007041753A (en) 2005-08-02 2005-08-02 Printing control for executing distributed printing
US11/496,526 US20070030514A1 (en) 2005-08-02 2006-08-01 Control for execution of distributed printing
EP06254043A EP1755030A3 (en) 2005-08-02 2006-08-01 Control for execution of distributed printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005223717A JP2007041753A (en) 2005-08-02 2005-08-02 Printing control for executing distributed printing

Publications (1)

Publication Number Publication Date
JP2007041753A true JP2007041753A (en) 2007-02-15

Family

ID=37799688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005223717A Pending JP2007041753A (en) 2005-08-02 2005-08-02 Printing control for executing distributed printing

Country Status (1)

Country Link
JP (1) JP2007041753A (en)

Similar Documents

Publication Publication Date Title
JP4650158B2 (en) Print control apparatus for executing distributed control, and printing apparatus
JP4635785B2 (en) Distributed processing of print jobs
JP2007276119A (en) Avoiding of error in printer
EP1755030A2 (en) Control for execution of distributed printing
JPH09258931A (en) Printing controller
EP2410728A2 (en) Image forming apparatus and method of controlling the same
JP2004164645A (en) Device, method and program for print control
JP2005322054A (en) Distributed printing control device and print job distribution method
US20070174441A1 (en) Printer
JP3941794B2 (en) Distributed print control apparatus and print job distribution method
JP2007041754A (en) Printing control for executing distributed printing
US7962475B2 (en) Information processing apparatus for searching for a desired image processing apparatus connected to a network, method for controlling the same, and computer-readable storage medium
JP2000035870A (en) Print system and printer
JP2007041753A (en) Printing control for executing distributed printing
JP4453369B2 (en) Printing apparatus and printing method, computer program, and recording medium
JP2006277034A (en) Distributed printing controller and method for determining candidate for receiving printer
KR100637074B1 (en) Printing system using RIP server and printing method thereof
JP2006277501A (en) Distributed printing controller and its method
JP2003196056A (en) Printing system and method
JP2005346739A (en) Printer and printer job data transfer method
JP2007076108A (en) Printing apparatus and dispersion printing method
JP2007079812A (en) Print control device and distributed printing method
JP4139541B2 (en) Printer and printer job data transfer method
JP4438698B2 (en) Distributed printing system, printing method, and computer program
JP2006256089A (en) Distributed printing controller and method for distributing printing job