JP2010052386A - Image forming apparatus and printing system - Google Patents

Image forming apparatus and printing system Download PDF

Info

Publication number
JP2010052386A
JP2010052386A JP2008222182A JP2008222182A JP2010052386A JP 2010052386 A JP2010052386 A JP 2010052386A JP 2008222182 A JP2008222182 A JP 2008222182A JP 2008222182 A JP2008222182 A JP 2008222182A JP 2010052386 A JP2010052386 A JP 2010052386A
Authority
JP
Japan
Prior art keywords
unit
printing
print job
intermediate data
page
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
JP2008222182A
Other languages
Japanese (ja)
Inventor
Shinsei Yokoyama
信征 横山
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data 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 Oki Data Corp filed Critical Oki Data Corp
Priority to JP2008222182A priority Critical patent/JP2010052386A/en
Publication of JP2010052386A publication Critical patent/JP2010052386A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shorten print time by dispensing with the necessity for requiring to transmit all of print jobs even if memory lack occurs in executing printing in units of a copy in an image forming apparatus. <P>SOLUTION: The image forming apparatus executes printing in units of a copy and includes a receiving part for receiving a print job transmitted from an upper device, a developing part for developing the print job to generate intermediate data, a printing part for converting the intermediate data into image data to execute printing, a storage part for storing the print job, the intermediate data, and the image data, a volume determining part for determining a vacant volume of the storage part, a control part for determining the print job to retransmit according to a processing time from receipt of the print job to output of printing when the volume determining part determines that the vacant volume of the storage part is short, and a transmitting part for requiring the print job determined by the control part to the upper device. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、部単位印刷を行う画像形成装置及び印刷システムに関する。   The present invention relates to an image forming apparatus and a printing system that perform unit printing.

従来、プリンタ側のメモリ容量が小さく、部単位印刷の要求に対して1部目の印刷途中にメモリが不足してしまうと、印刷ジョブ内の印刷済みの頁の中間データが消去されるために、2部目以降の部単位印刷を実行するには、オペレータがパーソナルコンピュータ(以下PC)により部数分、繰り返し印刷ジョブを送信することにより、部単位印刷を行ってきた。
また、上記のように、不足部数に応じてオペレータがPCからプリンタに印刷ジョブを送信するのは面倒な為、下記の特許文献1には、プリンタ側のメモリが不足して部単位印刷が実行できない場合に、印刷ジョブを送信したPCを待機させ、プリンタ側でメモリに格納可能な印刷ジョブの一部を受け取り、印刷処理後に格納されていた印刷ジョブを消去して、残りの印刷ジョブを待機していたPCから転送させ、このような転送動作を指定部数回繰り返す印刷制御方法が開示されている。
特開2004−110092号公報
Conventionally, if the memory capacity on the printer side is small and the memory becomes insufficient during the printing of the first copy in response to a request for unit printing, the intermediate data of the printed pages in the print job is erased. In order to execute the second and subsequent copies, the operator has repeatedly performed a print by sending a print job for the number of copies using a personal computer (PC).
In addition, as described above, it is troublesome for an operator to send a print job from a PC to a printer according to the insufficient number of copies. Therefore, in Patent Document 1 below, the printer side memory is insufficient and copy printing is executed. If this is not possible, the PC that sent the print job is made to wait, the printer receives a part of the print job that can be stored in the memory, erases the print job stored after the printing process, and waits for the remaining print job A printing control method is disclosed in which data is transferred from a PC that has been used, and such a transfer operation is repeated a specified number of times.
JP 2004-110092 A

しかしながら、上述の印刷制御方法では、PCから部単位印刷毎に印刷ジョブを含み再送することになり印刷までに時間がかかる点が課題であった。   However, the above-described print control method has a problem in that it takes a long time to print because a print job is included and retransmitted for each copy printing from the PC.

本発明は、以上の問題を解決するために、次の構成を具備する。   In order to solve the above problems, the present invention has the following configuration.

本発明は、部単位印刷を行う画像形成装置であって、上位装置から送信される印刷ジョブを受け取る受信部と、上記印刷ジョブを展開して中間データを生成する展開部と、上記中間データからイメージデータに変換し、印刷を行う印刷部と、上記印刷ジョブと上記中間データ及び上記イメージデータとを記憶する記憶部と、上記記憶部の空き容量を判断する容量判断部と、上記部単位印刷の1部目の印刷途中に上記容量判断部が上記記憶部の空き容量が不足していると判断すると、上記印刷ジョブの受信から印刷出力までの処理時間に基づいて、再送させる上記印刷ジョブを決定する制御部と、上記制御部により決定された上記印刷ジョブを上記上位装置に要求する送信部とを備えることを特徴とする。   The present invention is an image forming apparatus that performs unit printing, a receiving unit that receives a print job transmitted from a host device, a developing unit that expands the print job to generate intermediate data, and the intermediate data A printing unit that converts to image data and performs printing; a storage unit that stores the print job, the intermediate data, and the image data; a capacity determination unit that determines a free capacity of the storage unit; and the unit printing If the capacity determination unit determines that the storage unit has insufficient free space during the printing of the first copy, the print job to be retransmitted is based on the processing time from reception of the print job to print output. A control unit for determining and a transmission unit for requesting the print job determined by the control unit to the host apparatus are provided.

本発明によれば、画像形成装置において、部単位印刷を行う場合に1部目の印刷途中にメモリが不足した場合でも、印刷ジョブの一部をメモリに記憶させて2部目以降の部単位印刷に利用することにより、2部目以降に印刷ジョブを全て送信する必要がないので、全て送信する場合と比較して印刷完了までの時間がかからない。   According to the present invention, in the image forming apparatus, even when the unit printing is performed, even if the memory is insufficient during the printing of the first copy, a part of the print job is stored in the memory and the second and subsequent copies are printed. By using it for printing, it is not necessary to send all print jobs for the second and subsequent copies, so that it takes less time to complete printing than when all the print jobs are sent.

以下、本発明の実施形態を説明する。ここでは、画像形成装置としてプリンタを適用して説明する。   Embodiments of the present invention will be described below. Here, a description will be given by applying a printer as the image forming apparatus.

図1は、実施例1の印刷システムのブロック図である。
図に示すように、印刷システム1は、PC10とプリンタ20とで構成される。
FIG. 1 is a block diagram of a printing system according to the first embodiment.
As shown in the figure, the printing system 1 includes a PC 10 and a printer 20.

PC10は、プリンタドライバ11、アプリケーション12及びPC通信部13とを有する。   The PC 10 includes a printer driver 11, an application 12, and a PC communication unit 13.

アプリケーション12は、図示しないOS(オペレーティングシステム)上で使用される汎用のアプリケーションであり、例えば、文書作成ソフトウエア、図形作成ソフトウエア、表計算ソフトウエア、データベースソフトウエア等からなる。
プリンタドライバ11は、アプリケーション12上で作成された図面、文書等を印刷するための印刷ジョブを作成する部分である。
The application 12 is a general-purpose application used on an OS (operating system) (not shown), and includes, for example, document creation software, figure creation software, spreadsheet software, database software, and the like.
The printer driver 11 is a part that creates a print job for printing drawings, documents, and the like created on the application 12.

PC通信部13は、プリンタドライバ11にて生成された印刷ジョブをプリンタ20に送信する部分である。また、PC通信部13は、プリンタ20からの指示により、印刷ジョブの再送要求を受信すると再度、印刷ジョブを送信する。   The PC communication unit 13 is a part that transmits the print job generated by the printer driver 11 to the printer 20. In addition, when the PC communication unit 13 receives a print job retransmission request in accordance with an instruction from the printer 20, the PC communication unit 13 transmits the print job again.

一方、プリンタ20は、制御部21、通信部22、展開部23、印刷部24、記憶部25、記憶量判断部26、印刷時間測定部27、展開時間測定部28及び受信時間測定部29とを有する。   On the other hand, the printer 20 includes a control unit 21, a communication unit 22, a development unit 23, a printing unit 24, a storage unit 25, a storage amount determination unit 26, a printing time measurement unit 27, a development time measurement unit 28, and a reception time measurement unit 29. Have

制御部21は、プリンタ20のシステム全体の制御を司る部分である。
通信部22は、PC10より送信されてくる印刷ジョブを受信する部分である。受信した印刷ジョブは、制御部21によって後述の受信データ記憶領域25aに格納される。また、通信部22は、部単位印刷を行う場合に1部目の印刷途中にメモリが不足した場合に、2部目以降の部単位印刷のために、PC10に対して、印刷ジョブの一部の再送要求を送信する。
The control unit 21 is a part that controls the entire system of the printer 20.
The communication unit 22 is a part that receives a print job transmitted from the PC 10. The received print job is stored by the control unit 21 in a received data storage area 25a described later. In addition, when performing the unit printing, the communication unit 22 sends a part of the print job to the PC 10 for the second unit and subsequent copies when the memory is insufficient during the first printing. Send a resend request.

展開部23は、通信部22が受信した印刷ジョブが制御部21によって受信データ記憶領域25aに格納されると、初頁の印刷ジョブから展開していき、中間データを生成し、更に、生成された中間データを後述の中間データ記憶領域25bに格納していく部分である。   When the print job received by the communication unit 22 is stored in the received data storage area 25a by the control unit 21, the expansion unit 23 expands from the first page print job, generates intermediate data, and further generates The intermediate data is stored in an intermediate data storage area 25b described later.

印刷部24は、中間データ記憶領域25bに格納された中間データをイメージデータに変換し、イメージデータを後述の印刷イメージ記憶領域25cに格納させ、更に格納されたイメージデータから印刷を行う部分である。   The printing unit 24 is a part that converts the intermediate data stored in the intermediate data storage area 25b into image data, stores the image data in a print image storage area 25c described later, and prints from the stored image data. .

記憶部25(図2で詳細に説明)は、プリンタ20におけるRAM(RANDOM ACCESS MEMORY)等からなるメモリである。記憶部25は、通信部22が受信した印刷ジョブの一時データ、展開部23が印刷ジョブを展開して生成した中間データ、印刷部24が中間データから変換して生成したイメージデータ等の一時データ、後述する各処理時間の測定値及び演算領域等からなる記憶領域である。記憶部25は、揮発性メモリなので、プリンタ20の電源が遮断されると内部データは消去される。   The storage unit 25 (described in detail in FIG. 2) is a memory including a RAM (Random Access Memory) in the printer 20. The storage unit 25 is temporary data such as temporary data of a print job received by the communication unit 22, intermediate data generated by expanding the print job by the expansion unit 23, and image data generated by converting the intermediate data by the printing unit 24. This is a storage area composed of measured values of each processing time and a calculation area, which will be described later. Since the storage unit 25 is a volatile memory, the internal data is erased when the printer 20 is powered off.

記憶量判断部26は、記憶部25のメモリ空き容量を判定する部分である。
印刷時間測定部27は、印刷部24において、中間データ記憶領域25bに格納されている頁単位での中間データをイメージデータに変換し、変換されたイメージデータを印刷イメージ記憶領域25cに格納し、格納されたイメージデータの印刷が完了するまでの時間を測定する部分である。
The storage amount determination unit 26 is a part that determines the memory free capacity of the storage unit 25.
The printing time measuring unit 27 converts the intermediate data for each page stored in the intermediate data storage area 25b into image data in the printing unit 24, stores the converted image data in the print image storage area 25c, and This is a part for measuring the time until printing of the stored image data is completed.

展開時間測定部28は、展開部23において、受信データ記憶領域25aに格納された頁単位の印刷ジョブを展開して中間データを生成し、生成された中間データを中間データ記憶領域25bに格納するまでの時間を測定する部分である。   The expansion time measurement unit 28 expands the page-by-page print job stored in the received data storage area 25a in the expansion unit 23 to generate intermediate data, and stores the generated intermediate data in the intermediate data storage area 25b. It is a part to measure the time until.

受信時間測定部29は、制御部21が通信部22を介して、頁単位での印刷ジョブを受信し、受信した頁単位での印刷ジョブを受信データ記憶領域25aに格納させるまでの時間を測定する部分である。   The reception time measurement unit 29 measures the time until the control unit 21 receives a print job in page units via the communication unit 22 and stores the received print job in page units in the received data storage area 25a. It is a part to do.

なお、上述の印刷ジョブの受信、中間データへの展開、イメージデータへの変換及び印刷処理は並列処理で実行される。   Note that the above-described reception of a print job, expansion into intermediate data, conversion to image data, and print processing are executed in parallel processing.

次に、記憶部25のメモリ構成について説明する。
図2は、本発明のメモリ構成の説明図である。
図に示すように、記憶部25のメモリ構成は、受信データ記憶領域25a、中間データ記憶領域25b、印刷イメージ記憶領域25c及び測定値記憶領域25dとからなる。
Next, the memory configuration of the storage unit 25 will be described.
FIG. 2 is an explanatory diagram of the memory configuration of the present invention.
As shown in the figure, the memory configuration of the storage unit 25 includes a received data storage area 25a, an intermediate data storage area 25b, a print image storage area 25c, and a measurement value storage area 25d.

受信データ記憶領域25aは、制御部21がPC10から送信されてくる印刷ジョブを格納させる領域である。
受信データ記憶領域25aには、制御部21によって初頁から順に印刷ジョブが格納され、格納された印刷ジョブは、展開部23によって初頁から順に中間データに展開され、展開された中間データは、中間データ記憶領域25bに格納される。中間データに展開された頁の印刷ジョブは、制御部21によって受信データ記憶領域25aから消去される。
制御部21は、中間データに展開された頁の印刷ジョブについては受信データ記憶領域25aから消去していき、引き続き次頁以降の印刷ジョブを受信データ記憶領域25aに格納していく。
The received data storage area 25a is an area in which the control unit 21 stores a print job transmitted from the PC 10.
In the received data storage area 25a, print jobs are stored in order from the first page by the control unit 21, and the stored print jobs are expanded into intermediate data from the first page by the expansion unit 23. It is stored in the intermediate data storage area 25b. The print job of the page developed into the intermediate data is deleted from the received data storage area 25a by the control unit 21.
The control unit 21 deletes the print job for the page expanded into the intermediate data from the received data storage area 25a, and continuously stores the print job for the next page and subsequent pages in the received data storage area 25a.

中間データ記憶領域25bは、PC10から送信されてきた印刷ジョブに対して展開部23にて展開された頁の中間データを格納する部分である。また、中間データ記憶領域25bには、印刷ジョブを中間データに展開する為のワークエリアが確保されている。   The intermediate data storage area 25b is a part for storing intermediate data of pages developed by the development unit 23 for a print job transmitted from the PC 10. In the intermediate data storage area 25b, a work area for expanding a print job into intermediate data is secured.

印刷イメージ記憶領域25cは、展開部23で生成され、中間データ記憶領域25bに格納された中間データから変換されたイメージデータを格納する領域である。
格納されたイメージデータは、印刷が完了すると、印刷部24において次頁以降のイメージデータの格納エリアを確保するために消去される。
The print image storage area 25c is an area for storing image data generated by the expansion unit 23 and converted from the intermediate data stored in the intermediate data storage area 25b.
When the printing is completed, the stored image data is erased in the printing unit 24 in order to secure a storage area for image data of the next page and subsequent pages.

測定値記憶領域25dは、印刷時間測定部27、展開時間測定部28及び受信時間測定部29において測定された時間を格納する領域である。   The measured value storage area 25d is an area for storing the time measured by the printing time measurement unit 27, the development time measurement unit 28, and the reception time measurement unit 29.

なお、これらの領域は、固定のアドレスに割り当てる必要はなく、適宜送信されてくる印刷ジョブに応じて必要な空間が確保できるようにアドレスが設定される。   Note that these areas do not need to be assigned to fixed addresses, and addresses are set so that a necessary space can be secured according to a print job transmitted as appropriate.

次に、実施例1のPC10がプリンタ20に部単位印刷を指示する動作について説明する。
図3は、実施例1におけるPCの印刷処理の流れを示すフローチャートである。
以下にステップS10からステップS14までをステップ順に実施例1のPC10の動作について図1を併用しながら説明する。
Next, an operation in which the PC 10 according to the first embodiment instructs the printer 20 to perform unit printing will be described.
FIG. 3 is a flowchart illustrating the flow of the printing process of the PC in the first embodiment.
Hereinafter, steps S10 to S14 will be described in the order of steps with respect to the operation of the PC 10 according to the first embodiment with reference to FIG.

(ステップS10)
オペレータは、PC10内にインストールされているアプリケーション12上で作成された図形、文書等の印刷要求と併せて部単位印刷の要求をプリンタドライバ11に指示する。
(Step S10)
The operator instructs the printer driver 11 to request a unit print together with a print request for graphics, documents, etc. created on the application 12 installed in the PC 10.

(ステップS11)
指示を受けたプリンタドライバ11は、プリンタ20に送信する印刷データを作成する。
(Step S11)
Upon receiving the instruction, the printer driver 11 creates print data to be transmitted to the printer 20.

(ステップS12)
更にプリンタドライバ11は、生成した印刷データに部単位印刷コマンドを付加し、印刷ジョブを生成する。
(Step S12)
Furthermore, the printer driver 11 adds a copy command to the generated print data and generates a print job.

(ステップS13)
生成された印刷ジョブは、PC通信部13に伝達され、プリンタ20の通信部22に送信される。
(Step S13)
The generated print job is transmitted to the PC communication unit 13 and transmitted to the communication unit 22 of the printer 20.

(ステップS14)
PC通信部13は、印刷ジョブの送信が完了しても、部単位印刷が完了したことを示すプリンタ20からの印刷完了通知がくるまでプリンタ20との接続を継続し待機する。
(Step S14)
Even if the transmission of the print job is completed, the PC communication unit 13 continues to connect to the printer 20 and waits until a print completion notification is received from the printer 20 indicating that the unit printing has been completed.

次に、実施例1のプリンタ20が部単位印刷の指示を受けた場合の動作について説明する。
図4、図5及び図6は、実施例1におけるプリンタの印刷処理の流れを示すフローチャート(その1からその3)である。
図4に示すステップS20からステップS32までをステップ順に図1を併用しながら説明し、引き続き、図5及び図6のステップS40からステップS65までをステップ順に説明する。
Next, an operation when the printer 20 according to the first embodiment receives an instruction for printing in units of units will be described.
4, 5, and 6 are flowcharts (part 1 to part 3) illustrating the flow of the printing process of the printer in the first embodiment.
Steps S20 to S32 shown in FIG. 4 will be described in the order of steps in conjunction with FIG. 1, and steps S40 to S65 of FIGS. 5 and 6 will be described in the order of steps.

(ステップS20)
プリンタ20の通信部22は、PC10から印刷ジョブを受信する。通信部22は、受信した印刷ジョブを制御部21に伝達する。
(Step S20)
The communication unit 22 of the printer 20 receives a print job from the PC 10. The communication unit 22 transmits the received print job to the control unit 21.

(ステップS21)
制御部21は、受信した印刷ジョブに部単位印刷コマンドが付加されているかどうかを確認する。部単位印刷コマンドが付加されている場合はステップS23に進み、付加されていない場合はステップS22に進む。
(Step S21)
The control unit 21 confirms whether or not a unit print command is added to the received print job. If the copy command has been added, the process proceeds to step S23, and if not, the process proceeds to step S22.

(ステップS22)
制御部21は、受信した印刷ジョブに部単位印刷コマンドが付加されていない場合には、通常の印刷処理を行い、処理を終了する。
(Step S22)
When the copy command is not added to the received print job, the control unit 21 performs normal print processing and ends the processing.

(ステップS23)
一方、制御部21は、受信した印刷ジョブに部単位印刷コマンドが付加されている場合には、通信部22から伝達される印刷ジョブの頁単位での受信時間を測定するように受信時間測定部29に指示する。指示を受けた受信時間測定部29は、制御部21が通信部22を介して受信した頁単位の印刷ジョブを受信データ記憶領域25aへ格納を開始させると、時間計測を開始し、制御部21が頁単位の印刷ジョブを受信データ記憶領域25aへ格納を完了させると、時間計測を終了する。
受信時間測定部29は、頁受信時間を制御部21に通知し、通知を受けた制御部21は、頁受信時間を記憶部25の測定値記憶領域25dに格納させる。
(Step S23)
On the other hand, when a copy command is added to the received print job, the control unit 21 receives the print time transmitted from the communication unit 22 so as to measure the reception time in page units. 29. Receiving the instruction, the reception time measuring unit 29 starts to measure the time when the control unit 21 starts storing the print job for each page received via the communication unit 22 in the received data storage area 25a. When the storage of the page-by-page print job in the received data storage area 25a is completed, the time measurement is finished.
The reception time measurement unit 29 notifies the page reception time to the control unit 21, and the control unit 21 that has received the notification stores the page reception time in the measurement value storage area 25 d of the storage unit 25.

(ステップS24)
制御部21は、受信データ記憶領域25aに格納された印刷ジョブを中間データに展開するよう展開部23に指示する。指示を受けた展開部23は、印刷ジョブの展開を行う前に頁単位で印刷ジョブから中間データへ展開する時間を測定するよう展開時間測定部28に指示する。
(Step S24)
The control unit 21 instructs the expansion unit 23 to expand the print job stored in the received data storage area 25a into intermediate data. Upon receiving the instruction, the developing unit 23 instructs the developing time measuring unit 28 to measure the time for developing from the print job to the intermediate data in units of pages before developing the print job.

(ステップS25)
展開部23は、頁単位の中間データへの展開を完了させると、中間データ記憶領域25bに中間データを格納する。展開部23は、中間データの格納が完了すると制御部21にその旨を通知する。一方、展開時間測定部28は、頁単位での展開時間を測定し、測定値を展開部23に通知する。通知を受けた展開部23は、各頁ごとの展開時間を、記憶部25の測定値記憶領域25dに格納させる。
(Step S25)
When the expansion unit 23 completes the expansion of the page-by-page intermediate data, the expansion unit 23 stores the intermediate data in the intermediate data storage area 25b. The expansion unit 23 notifies the control unit 21 of the completion of the storage of the intermediate data. On the other hand, the development time measurement unit 28 measures the development time in units of pages and notifies the development unit 23 of the measured value. Upon receiving the notification, the expansion unit 23 stores the expansion time for each page in the measurement value storage area 25 d of the storage unit 25.

(ステップS26)
中間データの格納完了の通知を受けた制御部21は、記憶量判断部26に中間データ記憶領域25bのメモリ空き状況を確認するよう指示する。指示を受けた記憶量判断部26は、中間データ記憶領域25bを含めた記憶部25全体のメモリ空き状況を確認し、制御部21に伝える。メモリ不足と判断すると、ステップS31に進み、メモリに余裕があればステップS27に進む。
(Step S26)
Receiving the notification of the completion of storage of the intermediate data, the control unit 21 instructs the storage amount determination unit 26 to check the memory availability in the intermediate data storage area 25b. Receiving the instruction, the storage amount determination unit 26 confirms the memory empty state of the entire storage unit 25 including the intermediate data storage area 25 b and notifies the control unit 21 of it. If it is determined that the memory is insufficient, the process proceeds to step S31. If there is a margin in the memory, the process proceeds to step S27.

(ステップS27)
メモリに余裕があるとの通知を受けた制御部21は、展開部23に中間データからイメージデータへの変換を指示する。指示を受けた展開部23は、印刷部24に指示して、展開された中間データをイメージデータに変換し、印刷イメージ記憶領域25cに格納させる。印刷部24は、印刷時間測定部27に指示して、頁単位でのイメージ変換時間を測定させ、測定値を入手すると、記憶部25の測定値記憶領域25dに格納する。
(Step S27)
Receiving the notification that the memory is sufficient, the control unit 21 instructs the expansion unit 23 to convert the intermediate data into the image data. Upon receiving the instruction, the developing unit 23 instructs the printing unit 24 to convert the developed intermediate data into image data and store it in the print image storage area 25c. The printing unit 24 instructs the printing time measurement unit 27 to measure the image conversion time in page units, and when the measurement value is obtained, the printing unit 24 stores it in the measurement value storage area 25d of the storage unit 25.

(ステップS28)
印刷部24は、印刷を開始する前に印刷時間測定部27に各頁ごとの印刷時間を測定するよう指示し、イメージデータに変換された頁から印刷を開始させる。印刷時間測定部27は、印刷部24より印刷の開始及び完了の通知により頁ごとの印刷時間を測定する。頁単位の印刷時間の測定が完了すると印刷時間測定部27は、測定値を印刷部24に伝達する。そして印刷部24は、その測定値を記憶部25の測定値記憶領域25dに格納する。
(Step S28)
The printing unit 24 instructs the printing time measuring unit 27 to measure the printing time for each page before starting printing, and starts printing from the page converted into image data. The printing time measuring unit 27 measures the printing time for each page based on notification of the start and completion of printing from the printing unit 24. When the measurement of the printing time for each page is completed, the printing time measuring unit 27 transmits the measurement value to the printing unit 24. The printing unit 24 stores the measured value in the measured value storage area 25d of the storage unit 25.

(ステップS29)
制御部21は、印刷ジョブに含まれる印刷頁数のデータに基づいて、印刷中の頁が最終頁かどうかを判断する。最終頁であれば、ステップS30に進み、最終頁でなければステップS21に戻る。
(Step S29)
The control unit 21 determines whether the page being printed is the last page based on the data of the number of printed pages included in the print job. If it is the last page, the process proceeds to step S30, and if it is not the last page, the process returns to step S21.

(ステップS30)
制御部21が記憶量判断部26からメモリ不足の通知を受けずに、PC10より要求の合った部単位印刷の1部目が印刷完了できたことは、印刷ジョブ全ての中間データが中間データ記憶領域25bに格納されたことを示す。従って、制御部21は、2部目以降の印刷において改めてPC10に印刷ジョブを要求する必要が無いために、印刷完了通知を通信部22を介してPC10に送信し、PC10とプリンタ20の接続を終了させる。
(Step S30)
The fact that the control unit 21 did not receive a memory shortage notification from the storage amount determination unit 26 and completed the first copy of the unit printing requested by the PC 10 indicates that intermediate data of all print jobs is stored as intermediate data. It indicates that it has been stored in the area 25b. Accordingly, since the control unit 21 does not need to request a print job from the PC 10 again for the second and subsequent copies, the control unit 21 transmits a print completion notification to the PC 10 via the communication unit 22 and connects the PC 10 and the printer 20. Terminate.

(ステップS31)
一方、制御部21は、部単位印刷の1部目の印刷途中に記憶量判断部26からメモリ不足との通知を受けると、印刷を継続するために、印刷が完了している頁の中間データを中間データ記憶領域25bから消去してメモリの空き領域を確保させる。
(Step S31)
On the other hand, when the control unit 21 receives a notification that the memory amount is insufficient from the storage amount determination unit 26 during the printing of the first copy of the unit printing, in order to continue printing, the intermediate data of the page that has been printed Is deleted from the intermediate data storage area 25b to secure a free memory area.

(ステップS32)
制御部21は、メモリを確保しながら部単位印刷1部目の印刷を継続する。そして1部目の印刷が完了すると図5のフローチャートに示すS40に進む。
(Step S32)
The control unit 21 continues printing the first copy of the unit printing while securing the memory. When the first copy is completed, the process proceeds to S40 shown in the flowchart of FIG.

以上の説明により、部単位印刷の1部目の印刷途中にメモリ不足が発生した場合には、印刷済みの中間データを消去してメモリ空間を確保させた上で印刷を継続する。
そこでステップS40からステップS65では、メモリ不足が発生した場合にメモリを
有効活用すべく、印刷ジョブをA、B、C3つのブロックに分けA及ぶCブロックの印刷ジョブの頁については、展開された中間データを記憶部25に格納させ、Bブロックの頁については、中間データを消去してメモリ空間を確保させるために、あらためてPC10から印刷ジョブを再送させる。
As described above, when a memory shortage occurs during the printing of the first copy of the unit printing, the printing is continued after erasing the printed intermediate data to secure a memory space.
Therefore, in steps S40 to S65, the print job is divided into three blocks A, B, and C in order to effectively use the memory when a memory shortage occurs. The data is stored in the storage unit 25, and for the page of the B block, the print job is retransmitted from the PC 10 again in order to erase the intermediate data and secure the memory space.

そのとき、Aにおける印刷処理と、BにおけるPC10からの印刷ジョブの受信を並列処理し且つ、処理時間が同等になるように頁分けを決めることで、効果的な時間短縮が可能になる。PC10から部単位印刷に必要な頁のみ(Bブロック)の印刷ジョブを送信させるための頁数の設定について説明する。   At that time, the print processing in A and the reception of the print job from the PC 10 in B are processed in parallel, and the page division is determined so that the processing time is equal, so that the effective time can be shortened. The setting of the number of pages for transmitting a print job for only pages (B block) necessary for copy printing from the PC 10 will be described.

(ステップS40)
ステップS32においてメモリ不足が確認された状況で部単位印刷の1部目の印刷を完了させると、制御部21は、部単位印刷2部目の印刷に先がけて、部単位印刷1部目の印刷を行った際に測定した各時間に基づいて、Bブロックの頁数を抽出する。先ず1頁からN頁(Nは総頁の1/3もしくは1/2の頁)までをAブロックとし、中間データからイメージデータへの変換時間と印刷時間を記憶部25の測定値記憶領域25dから読み込み、総時間を計算する。この総時間をS1とする。
(Step S40)
When the printing of the first copy of the unit printing is completed in the situation where the memory shortage is confirmed in step S32, the control unit 21 prints the first copy of the unit printing prior to the printing of the second copy of the unit printing. The number of pages of the B block is extracted based on each time measured at the time of performing. First, from page 1 to page N (where N is 1/3 or 1/2 of the total page) is A block, the conversion time from intermediate data to image data and the printing time are measured value storage area 25d of storage unit 25. Read from and calculate the total time. Let this total time be S1.

(ステップS41)
次に、先に求めた総時間S1と同等な処理時間を要するBブロックを示す(N+1)頁からM頁を求める。M頁を算出するために、変数iを用いてS2を算出する。変数iの初期値は1とする。
(Step S41)
Next, M pages are obtained from (N + 1) pages indicating B blocks that require processing time equivalent to the previously obtained total time S1. In order to calculate M pages, S2 is calculated using the variable i. The initial value of variable i is 1.

(ステップS42)
制御部21は、(N+1)頁目から(N+1+i)頁までの受信時間と、中間データに展開する時間と、中間データからイメージデータへ変換する時間及び印刷時間を測定値記憶領域25dから読み込み、総時間を計算する。この総時間をS2とする。
(Step S42)
The control unit 21 reads from the measurement value storage area 25d the reception time from the (N + 1) th page to the (N + 1 + i) page, the time for developing the intermediate data, the time for converting from the intermediate data to the image data, and the printing time. Calculate the total time. Let this total time be S2.

(ステップS43)
制御部21は、S1とS2を比較する。S1が大きければステップS44に進み、S2が大きければステップS45に進む。
(Step S43)
The control unit 21 compares S1 and S2. If S1 is large, the process proceeds to step S44, and if S2 is large, the process proceeds to step S45.

(ステップS44)
制御部21は、変数iに1を加算して再度S2を抽出する。従ってステップS42に戻る。
(Step S44)
The control unit 21 adds 1 to the variable i and extracts S2 again. Therefore, the process returns to step S42.

(ステップS45)
制御部21は、S2がS1より大きくなったとして1頁前までをM頁とする。ここではN+1+i−1=N+i=M(頁)とする。
(Step S45)
The control unit 21 assumes that S2 is larger than S1 up to the previous page as M pages. Here, N + 1 + i-1 = N + i = M (page).

(ステップS46)
次に、Cブロックを示す(M+1)頁から最終頁であるL頁の処理時間を算出し、先に求めたBブロックの総時間S2以下の処理時間であるかを確認する。変数iを初期値1として、最終頁であるL頁までの総時間S3を求める。
(Step S46)
Next, the processing time of the L page, which is the last page, is calculated from the (M + 1) page indicating the C block, and it is confirmed whether the processing time is equal to or shorter than the total time S2 of the B block obtained previously. A variable i is set to an initial value 1, and a total time S3 up to the last page L is obtained.

(ステップS47)
制御部21は、(M+1)頁目から(M+1+i)頁までの中間データからイメージデータへの変換時間と印刷時間を測定値記憶領域25dから読み込み、総時間(S3)を計算する。
(Step S47)
The control unit 21 reads the conversion time from the intermediate data from the (M + 1) th page to the (M + 1 + i) page and the image data and the printing time from the measured value storage area 25d, and calculates the total time (S3).

(ステップS48)
制御部21は、iを加算していく中で(M+1+i)が最終頁に達したかどうかを判定する。最終頁でなければステップS49に進み、最終頁であればステップS50に進む。
(Step S48)
The control unit 21 determines whether (M + 1 + i) has reached the last page while adding i. If it is not the last page, the process proceeds to step S49, and if it is the last page, the process proceeds to step S50.

(ステップS49)
制御部21は、変数iに1を加算する。そして再度S3を抽出するためにステップS47に戻る。
(Step S49)
The control unit 21 adds 1 to the variable i. Then, the process returns to step S47 to extract S3 again.

(ステップS50)
制御部21は、最終頁に達し、しかもS2がS3よりも大きければ、3つのブロック分けが完了する。そして図6に示すフローチャートのS51に進み2部目の印刷を行う。
(Step S50)
When the control unit 21 reaches the final page and S2 is larger than S3, the three block divisions are completed. Then, the process proceeds to S51 in the flowchart shown in FIG. 6 to print the second copy.

(ステップS51)
制御部21は、部単位印刷の1部目の印刷途中のステップS31でメモリ不足が発生すると、印刷を継続できるように、中間データを中間データ記憶領域25bから消去し、メモリの空き領域を確保させる。そして、制御部21は、通信部22を介して2部目の印刷に先がけてPC10に印刷ジョブの再送要求を送信する。再送要求を受けたPC10は、待機状態から復帰し、プリンタ20に再送要求のあった印刷ジョブを送信する。
(Step S51)
The control unit 21 deletes the intermediate data from the intermediate data storage area 25b so as to continue printing when a memory shortage occurs in step S31 during the printing of the first copy of the unit printing, and secures a free memory area. Let Then, the control unit 21 transmits a print job retransmission request to the PC 10 via the communication unit 22 prior to printing the second copy. The PC 10 that has received the retransmission request returns from the standby state and transmits the print job for which the retransmission request has been made to the printer 20.

(ステップS52)
通信部22は、印刷ジョブを受信すると初頁から順に印刷ジョブを制御部21に送る。通信部22から印刷ジョブを受け取った制御部21は、展開部23及び印刷部24に指示して2部目の印刷を開始させる。
(Step S52)
When receiving the print job, the communication unit 22 sends the print job to the control unit 21 in order from the first page. The control unit 21 that has received the print job from the communication unit 22 instructs the development unit 23 and the printing unit 24 to start printing the second copy.

(ステップS53)
先ず制御部21は、展開部23及び印刷部24に指示して1頁から、ステップS40で決定したN頁までの印刷を開始させる。
(Step S53)
First, the control unit 21 instructs the developing unit 23 and the printing unit 24 to start printing from one page to the N page determined in step S40.

(ステップS54)
次に制御部21は、1頁からN頁までの印刷が完了すると、展開部23に指示し1頁からN頁までの中間データを記憶部25の中間データ記憶領域25bに格納させる。
(Step S54)
Next, when the printing from page 1 to page N is completed, the control unit 21 instructs the expansion unit 23 to store the intermediate data from page 1 to page N in the intermediate data storage area 25b of the storage unit 25.

(ステップS55)
次に制御部21は、展開部23及び印刷部24に指示して(N+1)頁からM頁までの印刷を開始させる。
(Step S55)
Next, the control unit 21 instructs the development unit 23 and the printing unit 24 to start printing from the (N + 1) page to the M page.

(ステップS56)
次に制御部21は、展開部23及び印刷部24に指示して(M+1)頁から最終頁であるL頁までの印刷を開始させる。
(Step S56)
Next, the control unit 21 instructs the developing unit 23 and the printing unit 24 to start printing from the (M + 1) page to the L page which is the final page.

(ステップS57)
次に制御部21は、(M+1)頁からL頁までの印刷が完了すると、展開部23に指示し(M+1)頁からL頁までの中間データを記憶部25の中間データ記憶領域25bに格納させる。これにより、印刷ジョブの1からN頁までの中間データと、(M+1)頁からL頁までの中間データが中間データ記憶領域25bに格納される。
(Step S57)
Next, when the printing from the (M + 1) page to the L page is completed, the control unit 21 instructs the developing unit 23 to store the intermediate data from the (M + 1) page to the L page in the intermediate data storage area 25b of the storage unit 25. Let As a result, the intermediate data from page 1 to page N and the intermediate data from page (M + 1) to page L are stored in the intermediate data storage area 25b.

(ステップS58)
制御部21は、2部目の印刷が完了し、記憶部25に所定の中間データが格納されたのを受けて、展開部23及び印刷部24に指示して3部目の印刷を開始させる。
(Step S58)
Upon completion of printing of the second copy and storage of predetermined intermediate data in the storage unit 25, the control unit 21 instructs the development unit 23 and the printing unit 24 to start printing of the third copy. .

(ステップS59)
先ず、制御部21は、展開部23及び印刷部24に指示して、中間データ記憶領域25bに格納されている1頁からN頁までの中間データを用いた印刷を開始させる。
(Step S59)
First, the control unit 21 instructs the development unit 23 and the printing unit 24 to start printing using intermediate data from page 1 to page N stored in the intermediate data storage area 25b.

(ステップS60)
また、制御部21は、展開部23及び印刷部24に指示して1頁からN頁までの印刷を指示すると同時に通信部22に指示してPC10に(N+1)頁からM頁までの印刷ジョブの再送要求を送信させる。
(Step S60)
Further, the control unit 21 instructs the developing unit 23 and the printing unit 24 to instruct printing from the first page to the Nth page, and at the same time instructs the communication unit 22 to send a print job from the (N + 1) th page to the Mth page to the PC 10. Send a resend request.

(ステップS61)
制御部21は、通信部22を介してPC10から(N+1)頁からM頁までの印刷ジョブを受信すると展開部23に(N+1)頁からM頁までの印刷ジョブを中間データに展開するように指示する。
(Step S61)
When the control unit 21 receives a print job from the (N + 1) page to the M page from the PC 10 via the communication unit 22, the control unit 21 expands the print job from the (N + 1) page to the M page into intermediate data in the expansion unit 23. Instruct.

(ステップS62)
制御部21は、1頁からN頁までの印刷が完了したかどうかを展開部23に確認する。
(Step S62)
The control unit 21 confirms with the developing unit 23 whether or not printing from the first page to the Nth page is completed.

(ステップS63)
1頁からN頁までの印刷が完了したとの通知を受けると制御部21は、展開部23を介して印刷部24に指示し、PC10から再度、受信した(N+1)頁からM頁までの印刷ジョブの印刷を開始させる。
(Step S63)
Upon receiving notification that printing from page 1 to page N has been completed, the control unit 21 instructs the printing unit 24 via the development unit 23, and again receives from the PC 10 from page (N + 1) to page M. Start printing the print job.

(ステップS64)
次に、制御部21は、展開部23及び印刷部24に指示して中間データ記憶領域25bに格納されている(M+1)頁から最終頁のL頁までの中間データを用いて印刷を開始させる。
(Step S64)
Next, the control unit 21 instructs the development unit 23 and the printing unit 24 to start printing using the intermediate data from the (M + 1) page stored in the intermediate data storage area 25b to the L page of the last page. .

(ステップS65)
制御部21は、3部目の印刷が全て完了すると通信部22を介して、PC10に印刷完了通知を送信する。
(Step S65)
When the printing of the third copy is completed, the control unit 21 transmits a print completion notification to the PC 10 via the communication unit 22.

次に図4から図6のフローチャートで説明したPC10とプリンタ20との通信経緯を示したのが図7の状態遷移の説明図である。   Next, the state transition of FIG. 7 shows the communication history between the PC 10 and the printer 20 described in the flowcharts of FIGS.

図に示すように、PC10から部単位印刷の要求をプリンタ20が受信し、メモリ不足が発生した場合に2部目の印刷の際に、格納すべき中間データを抽出する。3部目の印刷においては、格納された中間データを用いて印刷することにより、印刷ジョブの一部のみを再送要求すればよく、印刷時間の短縮化につながる。   As shown in the drawing, when the printer 20 receives a request for copy printing from the PC 10 and a memory shortage occurs, intermediate data to be stored is extracted at the time of printing the second copy. In printing the third copy, it is only necessary to request retransmission of a part of the print job by printing using the stored intermediate data, leading to a reduction in printing time.

なお、実施例1では印刷ジョブの受信時間、中間データへの展開時間、中間データからイメージデータに変換して印刷を完了させるまでの印刷時間を使って算出したが、これらの何れかの要素、又は組み合わせにより同様の処理が可能である。   In the first embodiment, calculation is performed using the reception time of the print job, the development time to the intermediate data, and the print time from the conversion of the intermediate data to the image data until the printing is completed. Or the same processing is possible by combination.

以上のように、実施例1によれば、画像形成装置において、部単位印刷を行う場合にメモリが不足した場合でも、2部目の印刷の際に所望の中間データを格納することで、3部目の印刷においては印刷ジョブを全て送信する必要がないので、印刷完了までの時間が短くなる。   As described above, according to the first embodiment, in the image forming apparatus, even when the memory is insufficient when performing the unit printing, the desired intermediate data is stored when the second copy is printed. In printing the second copy, it is not necessary to transmit the entire print job, so the time until the printing is completed is shortened.

図8は、実施例2の印刷システムのブロック図である。
図に示すように、印刷システム100は、PC10とプリンタ200とで構成される。
実施例2の印刷システム100では、プリンタ200の構成に差異がある。よって以下に実施例1と異なる部分のみについて詳細に説明し、実施例1と同様な構成については実施例1と同一の符号を付して説明を省略する。
FIG. 8 is a block diagram of a printing system according to the second embodiment.
As shown in the figure, the printing system 100 includes a PC 10 and a printer 200.
In the printing system 100 according to the second embodiment, the configuration of the printer 200 is different. Therefore, only the parts different from the first embodiment will be described in detail below, and the same components as those of the first embodiment are denoted by the same reference numerals as those of the first embodiment and the description thereof is omitted.

プリンタ200は、制御部21、通信部22、展開部23、印刷部24、記憶部25、記憶量判断部26、印刷時間測定部27、展開時間測定部28、受信時間測定部29とを有し、実施例2では新たに分割量判断部201を備える。   The printer 200 includes a control unit 21, a communication unit 22, a development unit 23, a printing unit 24, a storage unit 25, a storage amount determination unit 26, a printing time measurement unit 27, a development time measurement unit 28, and a reception time measurement unit 29. In the second embodiment, a division amount determination unit 201 is newly provided.

分割量判断部201は、部単位印刷の1部目の印刷において、メモリ不足発生時に記憶部25に格納できた中間データの頁数と印刷ジョブの総頁数の関係から2部目以降の印刷において記憶部25に中間データを格納して印刷することができるかどうかを判定する部分である。   The division amount determination unit 201 prints the second and subsequent copies from the relationship between the number of pages of intermediate data and the total number of pages of the print job that can be stored in the storage unit 25 when the memory shortage occurs in the first copy of unit printing. In FIG. 5, it is a part for determining whether or not intermediate data can be stored in the storage unit 25 and printed.

次に、実施例2のプリンタ200が部単位印刷の指示を受けた場合の動作について説明する。
図9、図10及び図11は、実施例2におけるプリンタの印刷処理の流れを示すフローチャート(その1からその3)である。なお、図9に示すフローチャートは、ステップS76の分岐先を除いて、実施例1の図4のフローチャートと同様である。よって、フローチャートの説明は、ステップS76の分岐先である図10のステップS90から説明する。
Next, an operation when the printer 200 according to the second embodiment receives an instruction for printing in units of copies will be described.
9, FIG. 10 and FIG. 11 are flowcharts (No. 1 to No. 3) showing the flow of the printing process of the printer in the second embodiment. The flowchart shown in FIG. 9 is the same as the flowchart of FIG. 4 of the first embodiment except for the branch destination in step S76. Therefore, the description of the flowchart will be made from step S90 of FIG. 10 which is the branch destination of step S76.

(ステップS90)
制御部21は、部単位印刷の1部目の印刷途中にメモリ不足との通知を記憶量判断部26から受けると、分割量判断部201に、記憶部25に格納可能な中間データの頁数を抽出させる。その際、制御部21は、PC10から通知された印刷ジョブの総頁数を入手し、予め、分割量判断部201に伝達しておく。分割量判断部201は、部単位印刷の1部目の印刷において、メモリ不足発生時に記憶部25に格納できた中間データの頁数と印刷ジョブの総頁数の関係から2部目以降の印刷において記憶部25に中間データを格納して印刷することができるかを判定する。判定において分割量判断部201は、記憶部25に格納された中間データの頁数と印刷ジョブの総頁数からDを求める。Dの算出式はD=(格納された中間データ頁数)/(印刷ジョブの総頁数)である。
(Step S90)
When the control unit 21 receives a notification from the storage amount determination unit 26 that the memory is insufficient during printing of the first copy of the unit printing, the division amount determination unit 201 causes the division amount determination unit 201 to store the number of pages of intermediate data that can be stored in the storage unit 25. To extract. At that time, the control unit 21 obtains the total number of pages of the print job notified from the PC 10 and transmits it to the division amount determination unit 201 in advance. The division amount determination unit 201 prints the second and subsequent copies from the relationship between the number of pages of intermediate data that can be stored in the storage unit 25 and the total number of pages in the print job when the first copy of unit printing is performed. It is determined whether intermediate data can be stored in the storage unit 25 and printed. In the determination, the division amount determination unit 201 obtains D from the number of pages of the intermediate data stored in the storage unit 25 and the total number of pages of the print job. The formula for calculating D is D = (number of stored intermediate data pages) / (total number of pages in the print job).

(ステップS91)
Dが0.5を超えていなければ、中間データ記憶領域25bに中間データを格納することができないので分割量判断部201は、先に求めたDが0.5を超えているかどうかを判定し、制御部21に通知する。0.5を超えていればステップS96に進み、超えていなければステップS92に進む。
(Step S91)
If D does not exceed 0.5, the intermediate data cannot be stored in the intermediate data storage area 25b. Therefore, the division amount determination unit 201 determines whether or not D previously obtained exceeds 0.5. The control unit 21 is notified. If it exceeds 0.5, the process proceeds to step S96, and if not, the process proceeds to step S92.

(ステップS92)
Dが0.5を超えていないので制御部21は、残頁の印刷を継続できるようにメモリの空き領域を確保すべく、印刷が完了している頁の中間データを中間データ記憶領域25bから消去する。これにより制御部21は、部単位印刷の1部目の印刷を完了させる。
(Step S92)
Since D does not exceed 0.5, the control unit 21 stores the intermediate data of the page for which printing has been completed from the intermediate data storage area 25b in order to secure a free memory area so that the remaining pages can be printed. to erase. Thereby, the control unit 21 completes the printing of the first copy of the unit printing.

(ステップS93)
制御部21は、1部目の印刷を完了させると、通信部22を介してPC10に全頁分の印刷ジョブの再送要求を送信する。
(Step S93)
When the printing of the first copy is completed, the control unit 21 transmits a print job retransmission request for all pages to the PC 10 via the communication unit 22.

(ステップS94)
制御部21は、PC10から印刷ジョブを受信すると引
き続き印刷を行う。印刷においては、ステップS92にように記憶部25の空き容量を確保させながら行う。
(Step S94)
When receiving a print job from the PC 10, the control unit 21 continues printing. The printing is performed while securing the free capacity of the storage unit 25 as in step S92.

(ステップS95)
制御部21は、部単位印刷が終了したかどうかを判定する。終了すれば処理終了とし、終了でなければステップS93に戻り、引き続き通常印刷を行う。
(Step S95)
The control unit 21 determines whether or not copy printing has been completed. If completed, the process ends. If not completed, the process returns to step S93 to continue normal printing.

(ステップS96)
Dが0.5を超えているので、制御部21は、印刷が完了している頁の中間データを格納させる頁数を確認する。分割量判断部201は、印刷ジョブの総頁数から最初の分割頁数Nを算出する。分割にあたっては、印刷ジョブを3ブロックに分ける構成にするために総頁数を3で除算する。これによりブロック毎の処理時間が均等になる。印刷ジョブの総頁数を3で除算しNを算出する。最初の分割頁数N≒(印刷ジョブの総頁数)/3で算出され、少数点は切り上げでも切り下げでも構わず、Nは整数とする。
(Step S96)
Since D exceeds 0.5, the control unit 21 confirms the number of pages in which intermediate data of pages that have been printed is stored. The division amount determination unit 201 calculates the first divided page number N from the total number of pages of the print job. In the division, the total number of pages is divided by 3 in order to divide the print job into 3 blocks. Thereby, the processing time for each block becomes equal. Divide the total number of pages in the print job by 3 to calculate N. The number of first divided pages is N≈ (total number of pages of the print job) / 3, and the decimal point may be rounded up or down, and N is an integer.

(ステップS97)
次に制御部21は、展開部23に指示して1頁からステップS96で求めたN頁までの中間データを中間データ記憶領域25bに格納させる。
(Step S97)
Next, the control unit 21 instructs the development unit 23 to store the intermediate data from page 1 to page N obtained in step S96 in the intermediate data storage area 25b.

(ステップS98)
次に制御部21は、1頁からN頁までの中間データからイメージへの変換時間と印刷時間を記憶部25の測定値記憶領域25dから読み込み、総時間を計算する。この総時間をS1とする。
(Step S98)
Next, the control unit 21 reads the conversion time from the intermediate data from page 1 to page N to the image and the printing time from the measured value storage area 25d of the storage unit 25, and calculates the total time. Let this total time be S1.

(ステップS99)
次に、先に求めた総時間S1と同等な処理時間を要する(N+1)頁以降の頁数を算出する。ここでは算出する頁数をM頁とし、M頁を算出するために、変数iを用いて新たにS2を算出する。変数iの初期値は1とする。
(Step S99)
Next, the number of pages after (N + 1) pages that require a processing time equivalent to the previously obtained total time S1 is calculated. Here, the number of pages to be calculated is M pages, and in order to calculate M pages, S2 is newly calculated using the variable i. The initial value of variable i is 1.

(ステップS100)
制御部21は、次に(N+1)頁目から(N+1+i)頁までの受信時間と中間データからイメージへの変換時間と印刷時間を測定値記憶領域25dから読み込み、総時間を計算する。この総時間をS2とする。
(Step S100)
Next, the control unit 21 reads the reception time from the (N + 1) th page to the (N + 1 + i) page, the conversion time from the intermediate data to the image, and the printing time from the measured value storage area 25d, and calculates the total time. Let this total time be S2.

(ステップS101)
制御部21は、S1とS2を比較する。S1が大きければステップS102に進み、S2が大きければステップS103に進む。
(Step S101)
The control unit 21 compares S1 and S2. If S1 is large, the process proceeds to step S102, and if S2 is large, the process proceeds to step S103.

(ステップS102)
制御部21は、変数iに1を加算する。そして、再度S2を抽出するためにステップS100に戻る。
(Step S102)
The control unit 21 adds 1 to the variable i. And in order to extract S2 again, it returns to step S100.

(ステップS103)
制御部21は、S2がS1より大きくなったとして1頁前までをM頁とする。ここではN+1+i−1=N+i=M(頁)とする。
(Step S103)
The control unit 21 assumes that S2 is larger than S1 up to the previous page as M pages. Here, N + 1 + i-1 = N + i = M (page).

(ステップS104)
次に、(M+1)頁から最終頁であるL頁の処理時間を算出し、先に求めた総時間S2以下の処理時間であるかを確認する。変数iを初期値1として、最終頁であるL頁までの総時間S3を求める。
(Step S104)
Next, the processing time of page L, which is the last page, is calculated from page (M + 1), and it is confirmed whether the processing time is equal to or shorter than the total time S2 obtained previously. A variable i is set to an initial value 1, and a total time S3 up to the last page L is obtained.

(ステップS105)
制御部21は、(M+1)頁目から(M+1+i)頁までの中間データからイメージデータへの変換時間と印刷時間を測定値記憶領域25dから読み込み、総時間(S3)を計算する。
(Step S105)
The control unit 21 reads the conversion time from the intermediate data from the (M + 1) th page to the (M + 1 + i) page and the image data and the printing time from the measured value storage area 25d, and calculates the total time (S3).

(ステップS106)
制御部21は、iを加算していく中で(M+1+i)が最終頁に達したかどうかを判定する。最終頁でなければステップS107に進み、最終頁であればステップS108に進む。
(Step S106)
The control unit 21 determines whether (M + 1 + i) has reached the last page while adding i. If it is not the last page, the process proceeds to step S107, and if it is the last page, the process proceeds to step S108.

(ステップS107)
制御部21は、変数iに1を加算して再度S3を抽出する。従ってステップS105に戻る。
(Step S107)
The control unit 21 adds 1 to the variable i and extracts S3 again. Therefore, the process returns to step S105.

(ステップS108)
制御部21は、最終頁に達し、しかもS2がS3よりも大きければ、3つのブロック分けが完了する。
(Step S108)
When the control unit 21 reaches the final page and S2 is larger than S3, the three block divisions are completed.

(ステップS109)
次に制御部21は、(M+1)頁から先に求めたL頁までの中間データを記憶部25の中間データ記憶領域25bに格納させる。そして、図11に示すフローチャートのステップS110に進む。
(Step S109)
Next, the control unit 21 stores the intermediate data from the (M + 1) page to the previously obtained L page in the intermediate data storage area 25b of the storage unit 25. And it progresses to step S110 of the flowchart shown in FIG.

これにより、実施例2においては、部単位印刷の1部目を印刷が完了した時点で、必要な中間データが格納されているので、2部目以降の印刷において、必要な頁の印刷ジョブのみをPC10に再送要求して入手し印刷するので、時間短縮が可能になる。   As a result, in the second embodiment, since the necessary intermediate data is stored when the first copy of the unit printing is completed, only the print job for the necessary pages is printed in the second and subsequent copies. Since the request is retransmitted to the PC 10 to obtain and print, the time can be shortened.

引き続き実施例2の2部目の印刷動作に関する図11のフローチャートについて説明する。   Next, the flowchart of FIG. 11 regarding the printing operation of the second copy of the second embodiment will be described.

(ステップS110)
制御部21は、2部目の印刷にあたって、展開部23を介して印刷部24に指示し、記憶部25に記憶されている1頁からN頁までの中間データをイメージデータに変換させる。
(Step S110)
When printing the second copy, the control unit 21 instructs the printing unit 24 via the development unit 23 to convert intermediate data from page 1 to page N stored in the storage unit 25 into image data.

(ステップS111)
印刷部24は、1頁からN頁までをイメージデータに変換すると印刷を開始させる。
(Step S111)
The printing unit 24 starts printing when pages 1 to N are converted into image data.

(ステップS112)
制御部21は、展開部23を介して印刷部24に1頁からN頁までの印刷を指示すると同時に、通信部22を介して(N+1)頁からM頁の印刷ジョブの再送要求を送信する。
(Step S112)
The control unit 21 instructs the printing unit 24 to print from the first page to the Nth page via the development unit 23, and at the same time transmits a request for resending a print job for the Mth page from the (N + 1) th page via the communication unit 22. .

(ステップS113)
制御部21は、通信部22を介して(N+1)頁からM頁の印刷ジョブを受信すると、展開部23に対して、受信した印刷ジョブを中間データに展開して中間データ記憶領域25bのワークエリアに格納するよう指示する。
(Step S113)
When the control unit 21 receives a print job of pages (N + 1) to (M) via the communication unit 22, the control unit 21 develops the received print job into intermediate data and expands the received print job to a work in the intermediate data storage area 25b. Instruct to store in area.

(ステップS114)
展開部23は、印刷部24において1頁からN頁までの印刷が完了したかどうかを監視する。1頁からN頁までの印刷が完了すればステップS115に進む。
(Step S114)
The development unit 23 monitors whether printing from the first page to the Nth page is completed in the printing unit 24. If printing from page 1 to page N is completed, the process proceeds to step S115.

(ステップS115)
展開部23は、印刷部24において1頁からN頁までの印刷が完了したとの通知を受けると、制御部21に伝達する。伝達された制御部21は、続いて(N+1)頁からM頁の印刷を行うようにと展開部23及び印刷部24に指示する。
(Step S115)
Upon receiving notification that printing from page 1 to page N has been completed in the printing unit 24, the developing unit 23 transmits the notification to the control unit 21. The transmitted control unit 21 then instructs the development unit 23 and the printing unit 24 to perform printing from the (N + 1) th page to the Mth page.

(ステップS116)
次に印刷部24は、中間データ記憶領域25bに格納されている(N+1)頁からM頁の中間データをイメージデータに変換すると印刷を開始する。
(Step S116)
Next, the printing unit 24 starts printing when the intermediate data from page (N + 1) to page M stored in the intermediate data storage area 25b is converted into image data.

(ステップS117)
制御部21は、部単位印刷が全て完了したかどうかを監視する。完了すればステップS118に進み、そうでなければ、ステップS110に戻る。
(Step S117)
The control unit 21 monitors whether all the unit printing has been completed. If completed, the process proceeds to step S118; otherwise, the process returns to step S110.

(ステップS118)
制御部21は、部単位印刷が全て完了したとの通知を受けると、通信部22を介してPC10に印刷完了通知を送信する。
(Step S118)
When the control unit 21 receives a notification that all the unit printing has been completed, the control unit 21 transmits a print completion notification to the PC 10 via the communication unit 22.

図9から図11までのフローチャートで説明したPC10とプリンタ200との通信の経緯を示したのが図12の状態遷移の説明図である。   FIG. 12 is an explanatory diagram of state transitions showing the history of communication between the PC 10 and the printer 200 described in the flowcharts of FIGS. 9 to 11.

図に示すように、PC10から部単位印刷の要求をプリンタ200が授受し、部単位印刷の1部目の印刷途中にメモリ不足が発生した場合に、格納すべき中間データを抽出し、2部目の印刷においては、格納された中間データを用いて印刷することにより、印刷ジョブの一部のみを再送要求すればよく、印刷時間の短縮化につながる。   As shown in the figure, when the printer 200 receives a request for copy printing from the PC 10 and a memory shortage occurs during the printing of the first copy of the copy, the intermediate data to be stored is extracted. In the printing of the eyes, it is only necessary to request retransmission of a part of the print job by printing using the stored intermediate data, leading to a reduction in printing time.

なお、実施例2では印刷ジョブの受信時間、中間データへの展開時間、中間データからイメージデータに変換して印刷を完了させるまでの印刷時間を使って算出したが、これらの何れかの要素、又は組み合わせにより同様の処理が可能である。   In the second embodiment, calculation is performed using the reception time of the print job, the development time to the intermediate data, and the print time from the conversion of the intermediate data to the image data until the printing is completed. Or the same processing is possible by combination.

以上のように、実施例2によれば、画像形成装置において、部単位印刷を行う場合にメモリが不足した場合でも、1部目の印刷の際に所望の中間データを格納することで、2部目の印刷においては印刷ジョブを全て送信する必要がないので印刷完了までの時間が短くなる。   As described above, according to the second embodiment, in the image forming apparatus, even when the memory is insufficient when performing the unit printing, the desired intermediate data is stored when the first copy is printed. In printing the second copy, it is not necessary to transmit all print jobs, so the time until printing is completed is shortened.

なお、実施例1、2では画像形成装置としてプリンタに適用した場合について説明してきたが、本発明の趣旨からすれば、FAX装置、複合機及び複写装置にも適用できる。   In the first and second embodiments, the case where the present invention is applied to a printer as an image forming apparatus has been described. However, in the gist of the present invention, the present invention can also be applied to a FAX apparatus, a multifunction peripheral, and a copying apparatus.

実施例1の印刷システムのブロック図である。1 is a block diagram of a printing system according to Embodiment 1. FIG. 本発明のメモリ構成の説明図である。It is explanatory drawing of the memory structure of this invention. 実施例1におけるPCの印刷処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of a printing process performed by a PC according to the first exemplary embodiment. 実施例1におけるプリンタの印刷処理の流れを示すフローチャート(その1である。7 is a flowchart (part 1) illustrating a flow of printing processing of the printer according to the first exemplary embodiment. 実施例1におけるプリンタの印刷処理の流れを示すフローチャート(その2である。7 is a flowchart (part 2) illustrating the flow of printing processing of the printer according to the first exemplary embodiment. 実施例1におけるプリンタの印刷処理の流れを示すフローチャート(その3である。7 is a flowchart (part 3) illustrating the flow of the printing process of the printer according to the first exemplary embodiment. 実施例1の状態遷移の説明図である。It is explanatory drawing of the state transition of Example 1. FIG. 実施例2の印刷システムのブロック図である。FIG. 10 is a block diagram of a printing system according to a second embodiment. 実施例2におけるプリンタの印刷処理の流れを示すフローチャート(その1)である。9 is a flowchart (part 1) illustrating a flow of printing processing of a printer according to a second exemplary embodiment. 実施例2におけるプリンタの印刷処理の流れを示すフローチャート(その2)である。10 is a flowchart (part 2) illustrating a flow of printing processing of the printer according to the second exemplary embodiment. 実施例2におけるプリンタの印刷処理の流れを示すフローチャート(その3)である。10 is a flowchart (part 3) illustrating the flow of the printing process of the printer according to the second exemplary embodiment. 実施例2の状態遷移の説明図である。It is explanatory drawing of the state transition of Example 2. FIG.

符号の説明Explanation of symbols

1、100 印刷システム
10 PC
20、200 プリンタ
21制御部
22 通信部
23 展開部
24 印刷部
25 記憶部
26 記憶量判断部
27 印刷時間測定部
28 展開時間測定部
29 受信時間測定部
1, 100 printing system 10 PC
20, 200 Printer 21 Control unit 22 Communication unit 23 Development unit 24 Printing unit 25 Storage unit 26 Storage amount judgment unit 27 Printing time measurement unit 28 Development time measurement unit 29 Reception time measurement unit

Claims (5)

部単位印刷を行う画像形成装置であって、
上位装置から送信される印刷ジョブを受け取る受信部と、
前記印刷ジョブを展開して中間データを生成する展開部と、
前記中間データからイメージデータに変換し、印刷を行う印刷部と、
前記印刷ジョブと前記中間データ及び前記イメージデータとを記憶する記憶部と、
前記記憶部の空き容量を判断する容量判断部と、
前記部単位印刷の1部目の印刷途中に前記容量判断部が前記記憶部の空き容量が不足していると判断すると、前記印刷ジョブの受信から印刷出力までの処理時間に基づいて、再送させる前記印刷ジョブを決定する制御部と、
前記制御部により決定された前記印刷ジョブを前記上位装置に要求する送信部と、
を備えることを特徴とする画像形成装置。
An image forming apparatus for performing copy printing,
A receiving unit for receiving a print job transmitted from the host device;
A developing unit that expands the print job to generate intermediate data;
A printing unit that converts the intermediate data into image data and performs printing;
A storage unit for storing the print job, the intermediate data, and the image data;
A capacity determination unit for determining the free capacity of the storage unit;
If the capacity determination unit determines that the storage unit has insufficient free space during printing of the first copy of the unit printing, it is retransmitted based on the processing time from reception of the print job to print output. A control unit for determining the print job;
A transmission unit that requests the upper-level apparatus for the print job determined by the control unit;
An image forming apparatus comprising:
前記制御部は、
前記受信部で前記印刷ジョブを受信するまでの時間を測定する受信時間測定部と、
前記展開部で前記中間データに展開するまでの時間を測定する展開時間測定部と、
前記印刷部で前記イメージデータを印刷するまでの時間を測定する印刷時間測定部と、
を有し、
前記受信時間測定部により測定された受信時間と、前記展開時間測定部により測定された展開時間及び前記印刷時間測定部により測定された印刷時間の何れかに基づいて、前記上位装置に再送要求する前記印刷ジョブを決定することを特徴とする請求項1に記載の画像形成装置。
The controller is
A reception time measuring unit that measures a time until the print unit receives the print job;
A development time measuring unit that measures a time until the development unit develops the intermediate data;
A printing time measuring unit that measures the time until the image data is printed by the printing unit;
Have
Based on one of the reception time measured by the reception time measurement unit, the development time measured by the development time measurement unit, and the print time measured by the print time measurement unit, a retransmission request is made to the host device. The image forming apparatus according to claim 1, wherein the print job is determined.
前記制御部は、
前記再送要求する前記印刷ジョブを頁単位で要求することを特徴とする請求項1に記載の画像形成装置。
The controller is
The image forming apparatus according to claim 1, wherein the print job requesting the retransmission is requested in units of pages.
前記制御部は、
部単位印刷の1部目の印刷の際に、所望の前記中間データを前記記憶部に格納しながら印刷を行い、2部目の印刷では、前記記憶部に格納された前記中間データを用いて印刷を行い、
前記受信部は、前記制御部が前記記憶部に格納された前記中間データを用いて印刷を行うのと並列して、前記再送要求した前記印刷ジョブを受信することを特徴とする請求項1に記載の画像形成装置。
The controller is
When printing the first copy of the unit printing, printing is performed while storing the desired intermediate data in the storage unit. In the second printing, the intermediate data stored in the storage unit is used. Print and
The reception unit receives the print job requested to be retransmitted in parallel with the control unit performing printing using the intermediate data stored in the storage unit. The image forming apparatus described.
請求項1から請求項4に記載の何れかの画像形成装置と、該画像形成装置からの再送要求に基づいて前記印刷ジョブを再送する前記上位装置とからなる印刷システム。   5. A printing system comprising: the image forming apparatus according to claim 1; and the host apparatus that retransmits the print job based on a retransmission request from the image forming apparatus.
JP2008222182A 2008-08-29 2008-08-29 Image forming apparatus and printing system Pending JP2010052386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008222182A JP2010052386A (en) 2008-08-29 2008-08-29 Image forming apparatus and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008222182A JP2010052386A (en) 2008-08-29 2008-08-29 Image forming apparatus and printing system

Publications (1)

Publication Number Publication Date
JP2010052386A true JP2010052386A (en) 2010-03-11

Family

ID=42068796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008222182A Pending JP2010052386A (en) 2008-08-29 2008-08-29 Image forming apparatus and printing system

Country Status (1)

Country Link
JP (1) JP2010052386A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012006167A (en) * 2010-06-22 2012-01-12 Konica Minolta Business Technologies Inc Image processing apparatus, control method of image processing apparatus, and control program of image processing apparatus
WO2013129039A1 (en) * 2012-02-28 2013-09-06 シャープ株式会社 Printer, printing method, program and recording medium therefor
JP2016092455A (en) * 2014-10-29 2016-05-23 コニカミノルタ株式会社 Image forming device and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012006167A (en) * 2010-06-22 2012-01-12 Konica Minolta Business Technologies Inc Image processing apparatus, control method of image processing apparatus, and control program of image processing apparatus
WO2013129039A1 (en) * 2012-02-28 2013-09-06 シャープ株式会社 Printer, printing method, program and recording medium therefor
JP2013176916A (en) * 2012-02-28 2013-09-09 Sharp Corp Printer, printing method, program and recording medium of the same
CN104105602A (en) * 2012-02-28 2014-10-15 夏普株式会社 Printer, printing method, program and recording medium therefor
JP2016092455A (en) * 2014-10-29 2016-05-23 コニカミノルタ株式会社 Image forming device and program

Similar Documents

Publication Publication Date Title
JP7355147B2 (en) application program
EP2395423A2 (en) Information transmission apparatus, control method of information transmission apparatus, and computer program
US8199352B2 (en) Image forming apparatus and control method therefor
KR20090020980A (en) Terminal unit, image forming apparatus, printing system comprising them and printing methods of thereof
US7317550B2 (en) Printing utilizing external storage
JP2010052386A (en) Image forming apparatus and printing system
JP2018176629A (en) Image processing device
US9047552B2 (en) Forming system and image forming apparatus that generate image log data to server
JP2010068373A (en) Image processor, and image processing system
JPH11138918A (en) Image forming system
JP5257751B2 (en) Image processing system, memory management method, and memory management program
JP6780631B2 (en) Image formation system
JP2009021931A (en) Image communication system and image accumulation device
JP2010194772A (en) Image forming apparatus
JP2010260198A (en) Printer
JP2008305328A (en) Image forming apparatus and data processor, and data processing method and program for executing data processing method
KR100234302B1 (en) Method of controlling printing sequence of image data waited to be printed
JP2007011694A (en) Image recording system, image recording method and image recording device
JP2000229451A (en) Method and apparatus for printer control
JP2006130816A (en) Image forming device
JP6897151B2 (en) Image forming device and program
JPH11175293A (en) Image processor
JP2005339257A (en) Image processor and image processing system
JP6033244B2 (en) Image forming apparatus and image forming method
JP2010214773A (en) Image forming apparatus, image forming program, and recording medium