JP2000094803A - Printing control device, printing control method, and storage medium - Google Patents

Printing control device, printing control method, and storage medium

Info

Publication number
JP2000094803A
JP2000094803A JP10269101A JP26910198A JP2000094803A JP 2000094803 A JP2000094803 A JP 2000094803A JP 10269101 A JP10269101 A JP 10269101A JP 26910198 A JP26910198 A JP 26910198A JP 2000094803 A JP2000094803 A JP 2000094803A
Authority
JP
Japan
Prior art keywords
print
print data
page
printing
pages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10269101A
Other languages
Japanese (ja)
Other versions
JP3832979B2 (en
Inventor
Yutaka Tokura
豊 戸倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP26910198A priority Critical patent/JP3832979B2/en
Publication of JP2000094803A publication Critical patent/JP2000094803A/en
Application granted granted Critical
Publication of JP3832979B2 publication Critical patent/JP3832979B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To allow the printing mechanism of a printing device to exhibit its maximum capacity so as to print efficiently in perfecting print in a printing control apparatus such as a host computer that permits a printing device for conducting print every page unit and capable of printing on both the obverse and reverse surfaces of a sheet-like printing medium to print. SOLUTION: Printing data is taken in a printing data buffer from a spooler in accordance with a printing command (S301). The number of pages of printing data within the buffer is calculated (S302), and if the number of pages calculated is one page, a printing guarantee mode is set (S303, 304), if two or three pages, a low speed mode is set (S305, S306), if four or five pages, a medium speed mode is set (S307, S308), and if six pages or more, a high speed mode is set. At each mode of low speed, medium speed, and high speed, perfecting print is conducted in order of respective different pages.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印刷装置に対して
画像データを転送して印刷を行わせる印刷制御装置、印
刷制御方法、及びその印刷制御手順のプログラムを記憶
したコンピュータにより読み取り可能な記憶媒体に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control apparatus, a print control method, and a computer-readable storage device for storing a program of a print control procedure for transferring image data to a printing apparatus for printing. It is about media.

【0002】[0002]

【従来の技術】上記の印刷制御装置及び印刷装置とし
て、例えばホストコンピュータとこれに接続されるプリ
ンタがある。従来のホストコンピュータとプリンタから
なる印刷システムを図11により説明する。
2. Description of the Related Art As the above-described printing control device and printing device, there are, for example, a host computer and a printer connected thereto. A conventional printing system including a host computer and a printer will be described with reference to FIG.

【0003】図11に示す従来の印刷システムは、印刷
データを生成するホストコンピュータ901と、セント
ロニクスインターフェース等所定のインターフェースを
介してホストコンピュータ901に接続されたプリンタ
902とから構成されている。プリンタ902は、例え
ばページ単位で印刷を行うレーザビームプリンタとして
構成され、ホストコンピュータ901から送られてきた
印刷データを処理するプリンタコントローラ903と、
帯電、露光、現像、転写、定着及び紙搬送等の電子写真
プロセスを実行するプリンタエンジン(印刷機構)90
4とを備え、プリンタエンジン904とプリンタコント
ローラ903とはビデオインターフェースを介して相互
に通信が可能とされている。なお、プリンタ902とし
て、シート状の印刷媒体である記録紙の表裏両面に対し
て印刷可能に構成されたものが知られている。
The conventional printing system shown in FIG. 11 includes a host computer 901 for generating print data, and a printer 902 connected to the host computer 901 via a predetermined interface such as a Centronics interface. The printer 902 is configured as, for example, a laser beam printer that performs printing in page units, and a printer controller 903 that processes print data transmitted from the host computer 901;
A printer engine (printing mechanism) 90 that executes electrophotographic processes such as charging, exposure, development, transfer, fixing, and paper conveyance.
The printer engine 904 and the printer controller 903 can communicate with each other via a video interface. It is known that the printer 902 is configured to be capable of printing on both front and back sides of a recording sheet as a sheet-shaped print medium.

【0004】上記印刷システムにおいては、プリンタコ
ントローラ903がホストコンピュータ901から制御
命令とともに受け取った描画コードやビットマップデー
タを含む印刷データを解析して画像データを生成する。
また、プリンタ902が両面印刷可能なものである場
合、印刷データに含まれる印刷面情報により両面印刷と
片面印刷のモードを指定することができる。両面印刷の
場合、印刷データ内の印刷面情報とプリンタコントロー
ラ903内の処理状態から両面印刷のページ順序を決定
している。つまり、プリンタコントローラ903での印
刷データからの画像データの生成と転送の処理時間、及
び不図示の内部バッファの状態を考慮して最適なページ
順序を決定し印刷処理を行っている。そして、プリンタ
コントローラ903は、決定したページ順序にしたがっ
て、1ページ毎の画像データを生成し、給紙口、用紙サ
イズ等の情報と画像データをプリンタエンジン904に
送出する。
In the above printing system, the printer controller 903 analyzes print data including drawing codes and bitmap data received together with control commands from the host computer 901, and generates image data.
When the printer 902 is capable of performing double-sided printing, the mode of double-sided printing and single-sided printing can be designated by the print side information included in the print data. In the case of double-sided printing, the page order of double-sided printing is determined based on the printing surface information in the print data and the processing state in the printer controller 903. In other words, the printing process is performed by determining the optimal page order in consideration of the processing time for generating and transferring the image data from the print data in the printer controller 903 and the state of the internal buffer (not shown). Then, the printer controller 903 generates image data for each page in accordance with the determined page order, and sends information such as a paper feed port and a paper size and image data to the printer engine 904.

【0005】これを受けたプリンタエンジン904は、
電子写真プロセスを実行し、前記画像データに基づいて
印刷処理を行う。また、プリンタコントローラ903
は、プリンタエンジン904からプリンタエンジン90
4の状態を検知し、エンジンステータスとしてホストコ
ンピュータ901に送出する。
[0005] Upon receiving this, the printer engine 904:
An electrophotographic process is performed, and a printing process is performed based on the image data. Also, the printer controller 903
Is the printer engine 904 to the printer engine 90
4 is detected and sent to the host computer 901 as an engine status.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来例では、印刷データの複雑さや容量によっては、両面
印刷指定の時にプリンタエンジン904の性能を最大限
発揮できずに印刷を行うという問題があった。これは、
プリンタコントローラ903の画像データの生成や転送
などの処理速度や内部バッファの容量不足といった原因
で印刷速度が低下していたと考えられる。唯一の回避策
はプリンタコントローラ903の内部バッファであるR
AMの追加であった。つまり、プリンタコントローラ9
03の性能、バッファの容量等の制限からプリンタエン
ジン904の性能を最大限に発揮させることが困難であ
った。
However, in the above-mentioned conventional example, there is a problem that the printing cannot be performed to the fullest when the double-sided printing is designated, depending on the complexity and capacity of the print data, and the printing is performed. . this is,
It is considered that the printing speed has been reduced due to a processing speed of the printer controller 903 such as generation and transfer of image data and an insufficient capacity of the internal buffer. The only workaround is to use the internal buffer R in the printer controller 903.
AM was added. That is, the printer controller 9
However, it was difficult to maximize the performance of the printer engine 904 due to the performance of the printer engine 03, the capacity of the buffer, and the like.

【0007】一方、近年、ホストコンピュータの性能の
向上は著しく、また、ハードディスクやRAMの容量の
増大からホストコンピュータ上で画像データの生成、プ
リンタエンジンの制御が可能となった。
On the other hand, in recent years, the performance of the host computer has been greatly improved, and the increase in the capacity of the hard disk and the RAM has made it possible to generate image data and control the printer engine on the host computer.

【0008】そこで本発明の課題は、ページ単位で印刷
を行いシート状印刷媒体の表裏両面に印刷可能な印刷装
置に印刷を行わせる印刷制御装置、印刷制御方法、及び
その印刷制御手順のプログラムを記憶したコンピュータ
により読み取り可能な記憶媒体において、両面印刷で印
刷装置の印刷機構の性能を最大限発揮させることがで
き、両面印刷を効率良く行えるようにすることにある。
また、印刷装置をコストアップすることなく、両面印刷
を確実に行えるようにすることにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a print control apparatus, a print control method, and a program for the print control procedure for performing printing on a page basis and causing a printing apparatus capable of printing on both sides of a sheet-shaped print medium to perform printing. It is an object of the present invention to make it possible to maximize the performance of a printing mechanism of a printing apparatus by performing double-sided printing on a storage medium that is readable by a computer and to perform double-sided printing efficiently.
It is another object of the present invention to reliably perform double-sided printing without increasing the cost of a printing apparatus.

【0009】[0009]

【課題を解決するための手段】上記の課題を解決するた
め、本発明によれば、ページ単位で印刷を行いシート状
の印刷媒体の表裏両面に印刷可能な印刷装置に対して画
像データをページ単位で転送して両面印刷または片面印
刷を行わせる印刷制御装置、印刷制御方法、及びその印
刷制御手順を記憶したコンピュータにより読み取り可能
な記録媒体において、印刷命令に応じて、複数ページ分
の印刷データを記憶可能な大容量の印刷データ記憶手段
から印刷データを読み出し、少なくとも1ページ分の印
刷データを記憶可能な印刷データバッファに格納し、そ
の印刷データバッファに格納した印刷データに関して両
面印刷が指定された場合、その格納された印刷データの
ページ数を算出し、その算出したページ数に応じて、そ
れぞれ異なるページ順序で両面印刷を行う複数の両面印
刷モードのいずれか、または、1ページのみの片面印刷
を行う片面印刷モードを択一して設定し、その設定した
印刷モードにしたがって、前記印刷データバッファに格
納された印刷データを変換して1ページ毎の画像データ
を生成して前記印刷装置に転送するようにした。
According to the present invention, in order to solve the above-mentioned problems, according to the present invention, image data is printed by a printing apparatus capable of printing on a page basis and printing on both sides of a sheet-shaped print medium. A print control device, a print control method, and a computer-readable recording medium storing the print control procedure for performing double-sided printing or single-sided printing by transferring the print data for a plurality of pages according to a print command. Print data is read from a large-capacity print data storage means capable of storing the print data, and at least one page of print data is stored in a print data buffer capable of storing the print data, and double-sided printing is designated for the print data stored in the print data buffer. If the number of pages of the stored print data is calculated, the number of pages differs according to the calculated number of pages. One of a plurality of double-sided printing modes for performing double-sided printing in order or a single-sided printing mode for performing single-sided printing of only one page is selected and stored in the print data buffer according to the set printing mode. The generated print data is converted to generate image data for each page and transferred to the printing apparatus.

【0010】上記の印刷モードの設定では、例えば、上
記の算出したページ数が1ページの場合、1ページのみ
の片面印刷を行う印刷モードを設定する。
In the setting of the print mode, for example, when the number of pages calculated is one, a print mode for performing one-sided printing of only one page is set.

【0011】また、算出したページ数が2ページまたは
3ページの場合、2ページ目、1ページ目のページ順序
で両面印刷を行う印刷モードを設定する。
If the calculated number of pages is two or three, a print mode for performing double-sided printing in the page order of the second page and the first page is set.

【0012】また、算出したページ数が4ページまたは
5ページの場合、2ページ目、4ページ目、1ページ
目、3ページ目のページ順序で両面印刷を行う印刷モー
ドを設定する。
If the calculated number of pages is four or five, a print mode for performing double-sided printing in the page order of the second, fourth, first, and third pages is set.

【0013】また、算出したページ数が6ページ以上の
場合、前記印刷装置において3枚のシート状印刷媒体が
印刷処理、印刷面を切り換える処理、及び排出処理を並
行して受けることを可能とするページ順序で両面印刷を
行う印刷モードであって、前記ページ順序にしたがって
複数ページの画像データの生成、転送を行う間に、前記
印刷データバッファ内の画像データに変換した印刷デー
タを削除し、前記印刷データ記憶手段にまだ読み出して
いない印刷データがあれば、印刷データ記憶手段から印
刷データを読み出して印刷データバッファに格納し、該
格納後の印刷データバッファ内の印刷データのページ数
が2ページ以上なら前記ページ順序を追加して設定して
両面印刷を4枚目以降のシート状印刷媒体にも連続的に
行う印刷モードを設定する。
When the calculated number of pages is six or more, the printing apparatus enables the three sheet-shaped print media to receive a printing process, a process of switching a printing surface, and a discharging process in parallel. A print mode in which double-sided printing is performed in a page order, and while generating and transferring image data of a plurality of pages according to the page order, deleting print data converted to image data in the print data buffer; If there is print data that has not been read out yet in the print data storage unit, the print data is read out from the print data storage unit and stored in the print data buffer, and the number of pages of the print data in the print data buffer after storage is two or more. Then, a print mode in which the page order is added and set, and two-sided printing is continuously performed on the fourth and subsequent sheet-like print media, A constant.

【0014】このように、印刷データバッファに格納さ
れた印刷データに関して両面印刷が指定された場合、そ
の格納された印刷データのページ数に応じて、それぞれ
異なるページ順序で両面印刷を行う複数の両面印刷モー
ドのいずれか、または、1ページのみの片面印刷を行う
片面印刷モードを択一して設定し、その印刷モードにし
たがって、印刷データバッファに格納された印刷データ
を変換して1ページ毎の画像データを生成して印刷装置
に転送することにより、両面印刷において印刷装置の性
能を最大限発揮させて効率よく印刷させることができ
る。
As described above, when double-sided printing is designated for the print data stored in the print data buffer, a plurality of double-sided prints for performing double-sided printing in a different page order according to the number of pages of the stored print data. One of the print modes or a single-sided print mode for performing single-sided printing of only one page is selected and set, and the print data stored in the print data buffer is converted in accordance with the print mode, and each page is printed. By generating and transferring the image data to the printing apparatus, it is possible to maximize the performance of the printing apparatus and perform printing efficiently in double-sided printing.

【0015】また、印刷装置側で印刷データからの画像
データの生成処理等を行わずに済み、印刷装置の制御部
の構成を簡単にできる。
Further, the printing apparatus does not need to perform a process of generating image data from print data, and the configuration of the control unit of the printing apparatus can be simplified.

【0016】[0016]

【発明の実施の形態】以下、添付図面を参照して本発明
の実施の形態を詳細に説明する。ここでは、印刷制御装
置として、両面印刷が可能なレーザビームプリンタに印
刷を行わせるホストコンピュータの実施形態を示す。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. Here, an embodiment of a host computer that causes a laser beam printer capable of double-sided printing to perform printing will be described as a print control device.

【0017】まず、ホストコンピュータの前にレーザビ
ームプリンタの構成について図10により説明する。
First, the configuration of the laser beam printer before the host computer will be described with reference to FIG.

【0018】図10に示すレーザビームプリンタ(以
下、プリンタと略す)100は、外部に接続されている
ホストコンピュータから供給される画像データや印刷命
令などに従い、シート状印刷媒体である記録紙に画像を
形成(印刷)する。記録紙への画像形成では、1ページ
毎の画像を記録紙の片面に印刷する片面印刷モードと、
1ぺージ毎の画像を記録紙の表裏両面に印刷する両面印
刷モードとが後述する印刷データに含まれる両面印刷か
片面印刷かの印刷面情報によって選択可能なように設定
されている。
A laser beam printer (hereinafter abbreviated as "printer") 100 shown in FIG. 10 prints an image on recording paper as a sheet-like print medium in accordance with image data and print commands supplied from an externally connected host computer. Is formed (printed). In image formation on recording paper, a single-sided printing mode for printing an image for each page on one side of the recording paper;
The two-sided printing mode in which an image for each page is printed on both the front and back sides of the recording paper is set so as to be selectable based on printing surface information of double-sided printing or single-sided printing included in print data described later.

【0019】プリンタ100は、装置全体の制御および
ホストコンピュータから供給される画像データの処理な
どを行うビデオコントローラ101と、液晶表示器およ
びLED表示器や各種スイッチなどを配置した操作パネ
ル126とを備える。
The printer 100 includes a video controller 101 for controlling the entire apparatus and processing image data supplied from a host computer, and an operation panel 126 on which a liquid crystal display, an LED display, various switches and the like are arranged. .

【0020】ビデオコントローラ101は、画像データ
をビデオ信号に変換し、このビデオ信号をレーザドライ
バ102に出力する。
The video controller 101 converts image data into a video signal and outputs the video signal to the laser driver 102.

【0021】レーザドライバ102は、半導体レーザ1
03を駆動するための回路からなり、この回路は、入力
されたビデオ信号に応じて半導体レーザ103から発射
されるレーザ光104に対するオン・オフ切り換えを行
う。
The laser driver 102 includes the semiconductor laser 1
A circuit for driving the laser beam 03 is turned on / off with respect to a laser beam 104 emitted from the semiconductor laser 103 in accordance with an input video signal.

【0022】レーザ光104は回転多面鏡105で左右
方向に振られることによって静電ドラム106上を走査
露光する。この走査露光によって、静電ドラム106上
に文字パターン等の静電潜像が形成される。この静電潜
像は、静電ドラム106の周囲に配置されている現像ユ
ニット107によって現像剤像として可視化され、この
現像剤像は記録紙に転写される。
The laser beam 104 is scanned and exposed on an electrostatic drum 106 by being swung in the left and right direction by a rotary polygon mirror 105. By this scanning exposure, an electrostatic latent image such as a character pattern is formed on the electrostatic drum 106. The electrostatic latent image is visualized as a developer image by a developing unit 107 disposed around the electrostatic drum 106, and the developer image is transferred to a recording sheet.

【0023】記録紙にはカットシートが用いられ、この
記録紙はプリンタ100に装着された給紙カセット10
8に収容されている。給紙カセット108内の記録紙は
給紙ローラ109によって装置内に取り込まれ、搬送ロ
ーラ110,111によって形成される給紙経路に沿っ
て静電ドラム106まで搬送され、その一方の面が静電
ドラム106に対向し、上記の現像剤像の画像が転写さ
れる。
A cut sheet is used as the recording paper, and the recording paper is supplied to a paper feed cassette 10 mounted on the printer 100.
8 is housed. The recording paper in the paper supply cassette 108 is taken into the apparatus by a paper supply roller 109, and is conveyed to an electrostatic drum 106 along a paper supply path formed by conveyance rollers 110 and 111. The image of the developer image is transferred to the drum 106.

【0024】画像が転写された記録紙は搬送ローラ11
2,113,114によって形成された搬送路に沿って
定着ユニット115に送られ、定着ユニット115は記
録紙に画像を定着させる。画像が定着された記録紙は、
切換器116を介して記録紙の画像形成面(印刷面)を
切り換えるための面切換経路または排出経路へ送られ
る。
The recording paper on which the image has been transferred is transported by a transport roller 11.
The sheet is sent to the fixing unit 115 along the transport path formed by the fixing units 2, 113, and 114, and the fixing unit 115 fixes the image on the recording paper. The recording paper on which the image has been fixed
The recording paper is sent via a switch 116 to a surface switching path or a discharge path for switching the image forming side (printing side) of the recording paper.

【0025】面切換経路は、両面印刷モード時に一方の
面に対する定着が完了した記録紙を搬送ローラ117,
118,119,120,121,111で静電ドラム
106に導くための経路であり、記録紙を搬送ローラ1
18から搬送ローラ119に一旦導いた後に搬送ローラ
119から搬送ローラ120で導くことによって、記録
紙の静電ドラム106に対向する面は一方の面から他方
の面に切り換えられる。
In the two-sided printing mode, the surface switching path is used to transfer the recording sheet, which has been fixed on one side, to the transport rollers 117,
118, 119, 120, 121, and 111 are paths for leading the recording paper to the electrostatic drum 106.
After the recording paper is once guided to the conveyance roller 119 from the conveyance roller 119 and guided by the conveyance roller 120 from the conveyance roller 119, the surface of the recording sheet facing the electrostatic drum 106 is switched from one surface to the other surface.

【0026】排出経路は搬送ローラ122,123,1
24,125で記録紙を外部の排紙トレイ127に排出
するための経路である。
The discharge path is the transport rollers 122, 123, 1
24 and 125 are paths for discharging the recording paper to the external discharge tray 127.

【0027】次に、プリンタ100の片面印刷モードの
動作について説明する。
Next, the operation of the printer 100 in the simplex printing mode will be described.

【0028】まず、1ぺージ分の画像に対応する静電潜
像が静電ドラム106上に形成され、現像剤像として可
視化される。この現像剤像は給紙カセット108から給
紙経路に沿って搬送された記録紙の一方の面に転写され
る。
First, an electrostatic latent image corresponding to an image for one page is formed on the electrostatic drum 106 and is visualized as a developer image. This developer image is transferred onto one surface of the recording paper conveyed from the paper supply cassette 108 along the paper supply path.

【0029】画像が転写された記録紙は定着ユニット1
15に送られ、定着ユニット115で記録紙の一方の面
への画像の定着が行われる。この面の画像が定着された
記録紙は、切換器116で排出経路に沿って排紙トレイ
127に送られ、その一方の面(画像形成面)を排紙ト
レイ127に対し下側として載置される。
The recording paper on which the image has been transferred is fixed to the fixing unit 1.
The fixing unit 115 fixes the image on one side of the recording paper. The recording paper on which the image on this surface is fixed is sent to the paper output tray 127 along the paper output path by the switch 116, and one surface (image forming surface) is placed on the paper output tray 127 as a lower side. Is done.

【0030】なお、以下では、片面印刷モードにおい
て、記録紙の前記の一方の面(画像形成面)を表面と呼
ぶ。また、後述のように両面印刷が指定されている時で
も、片面印刷が実行される場合がある。この場合を以下
では印刷保証モードと呼ぶ。
In the following, in the single-sided printing mode, the one surface (image forming surface) of the recording paper is referred to as a front surface. Further, even when double-sided printing is designated as described later, single-sided printing may be executed. This case is hereinafter referred to as a print guarantee mode.

【0031】次に、両面印刷モードの動作について説明
する。
Next, the operation in the duplex printing mode will be described.

【0032】まず、1ページ分の画像に対応する静電潜
像が静電ドラム106上に形成され、現像剤像として可
視化される。この現像剤像は給紙カセット108から給
紙経路に沿って搬送された記録紙の一方の面に転写され
る。
First, an electrostatic latent image corresponding to an image for one page is formed on the electrostatic drum 106 and is visualized as a developer image. This developer image is transferred onto one surface of the recording paper conveyed from the paper supply cassette 108 along the paper supply path.

【0033】画像が転写された記録紙は定着ユニット1
15に送られ、定着ユニット115で記録紙の一方の面
への画像の定着が行われる。この面の画像が定着された
記録紙は、切換器116で面切換経路へ送られ、面切換
経路に沿って搬送される途中で、その他方の面が静電ド
ラム106に対向するように表裏を反転されて、静電ド
ラム106に導かれる。
The recording paper on which the image has been transferred is fixed to the fixing unit 1
The fixing unit 115 fixes the image on one side of the recording paper. The recording paper on which the image on this surface is fixed is sent to the surface switching path by the switch 116, and while being conveyed along the surface switching path, the other side faces the electrostatic drum 106 so that the other side faces the electrostatic drum 106. Is inverted and guided to the electrostatic drum 106.

【0034】記録紙が面切換経路を経て再び静電ドラム
106に導かれるまでの間に、静電ドラム106上には
次のページの静電潜像が形成され、現像剤像として可視
化され、再び搬送された記録紙の他方の面に転写され
る。そして記録紙は定着ユニット115に送られ、定着
ユニット115で記録紙の他方の面への画像の定着が行
われる。この定着後、記録紙は、切換器116を介して
排出経路に沿って排紙トレイ127に送られ、前記他方
の面を排紙トレイ127に対し下側として載置される。
Before the recording paper is again guided to the electrostatic drum 106 via the surface switching path, an electrostatic latent image of the next page is formed on the electrostatic drum 106 and is visualized as a developer image. The image is transferred to the other surface of the conveyed recording paper again. Then, the recording paper is sent to the fixing unit 115, and the fixing unit 115 fixes the image on the other surface of the recording paper. After this fixing, the recording paper is sent to the paper discharge tray 127 along the paper discharge path via the switching device 116, and is placed with the other surface below the paper discharge tray 127.

【0035】なお、以下では、両面印刷モードにおい
て、記録紙の前記一方の面(画像形成面)を裏面と呼
び、記録紙の前記他方の面(画像形成面)を表面と呼
ぶ。
In the following, in the double-sided printing mode, the one surface (image forming surface) of the recording paper is called a back surface, and the other surface (image forming surface) of the recording paper is called a front surface.

【0036】ところで、両面印刷モードにおいて、上記
動作を最大3枚の記録紙に対して並行して行うことがで
きる。つまり、画像形成をしている記録紙、面切換経路
を搬送している記録紙、排出経路に沿って排紙トレイに
送られている記録紙がプリンタ100内で同時に存在す
る場合である。言い換えれば、プリンタ100内で3枚
の記録紙が印刷処理、印刷面を切り換える処理、及び排
出処理を並行して受けることができ、1枚の記録紙の排
出とともに1枚の記録紙を供給することにより3枚の並
行の処理を4枚目移行の記録紙にも継続することができ
る。この状態で動作している場合、印刷速度が最速とな
る。以下、この状態での両面印刷モードを高速モードと
呼ぶ。
By the way, in the double-sided printing mode, the above operation can be performed in parallel on up to three recording sheets. That is, this is a case where recording paper on which an image is being formed, recording paper being conveyed on the surface switching path, and recording paper being sent to the discharge tray along the discharge path are present in the printer 100 at the same time. In other words, in the printer 100, three recording papers can receive the printing processing, the processing for switching the printing surface, and the discharge processing in parallel, and supply one recording paper together with the discharge of one recording paper. Thus, the parallel processing of the three sheets can be continued on the recording sheet of the fourth sheet. When operating in this state, the printing speed is the highest. Hereinafter, the duplex printing mode in this state is referred to as a high-speed mode.

【0037】また、両面印刷モードにおいて、上記動作
を2枚の記録紙に対して並行して行うことができる。つ
まり、画像形成をしている記録紙、面切換経路を搬送さ
れている記録紙がプリンタ100内で同時に存在する場
合である。以下、この状態での両面印刷モードを中速モ
ードと呼ぶ。
In the double-sided printing mode, the above operation can be performed on two recording sheets in parallel. That is, this is a case where recording paper on which an image is formed and recording paper being conveyed on the surface switching path are present in the printer 100 at the same time. Hereinafter, the duplex printing mode in this state is referred to as a medium speed mode.

【0038】また、両面印刷モードにおいて、プリンタ
100内で処理されている記録紙が1枚のみの場合、印
刷速度は最も遅くなる。以下、この状態での両面印刷モ
ードを低速モードと呼ぶ。
In the two-sided printing mode, when only one recording sheet is processed in the printer 100, the printing speed is the slowest. Hereinafter, the duplex printing mode in this state is referred to as a low-speed mode.

【0039】なお、後で詳述するが、高速モード、中速
モード、低速モードでは、両面印刷を行うページ順が異
なるように設定される。
As will be described later in detail, in the high-speed mode, the medium-speed mode, and the low-speed mode, the order of pages to be printed on both sides is set differently.

【0040】次に、ホストコンピュータと周辺機器から
なるシステムの概略構成を図1により説明する。
Next, a schematic configuration of a system including a host computer and peripheral devices will be described with reference to FIG.

【0041】図1に示すように、ホストコンピュータ1
0は、制御の主体となるCPU11、プログラム等のデ
ータを固定的に記憶するROM12、プログラム等のデ
ータを書き換え可能に記憶するRAM13を有する。ホ
ストコンピュータ10には、周辺機器として、操作入力
手段としてのキーボード14、表示を行うCRTや液晶
表示装置等からなるディスプレイ15、大容量の外部記
憶装置としてのハードディスク装置16、外部記憶装置
としてのフロッピーディスク装置17、及び先述したプ
リンタ100等が接続される。
As shown in FIG. 1, the host computer 1
Reference numeral 0 denotes a CPU 11 serving as a control main body, a ROM 12 for fixedly storing data such as programs, and a RAM 13 for rewritably storing data such as programs. The host computer 10 includes, as peripheral devices, a keyboard 14 as operation input means, a display 15 such as a CRT or liquid crystal display device for displaying, a hard disk device 16 as a large-capacity external storage device, and a floppy disk as an external storage device. The disk device 17 and the printer 100 described above are connected.

【0042】ホストコンピュータ10の電源が投入され
ると、CPU11がROM12に記憶されたブートプロ
グラムを実行し、ハードディスク装置16に記憶された
OS(オペレーティングシステム)のプログラムをRA
M13に読み込む。そして、そのプログラムをCPU1
1が実行することにより、OSが起動される。OSはキ
ーボード14あるいは不図示のマウスなどからの操作入
力に応じてハードディスク装置16あるいはフロッピー
ディスク装置17に記憶された例えば文書作成プログラ
ム等のアプリケーションプログラム(以下、単にアプリ
ケーションという)をRAM13に読み込み、操作入力
に応じてアプリケーションを実行し、例えば文書作成処
理等を行う。
When the power supply of the host computer 10 is turned on, the CPU 11 executes the boot program stored in the ROM 12 and executes the OS (operating system) program stored in the hard disk device 16 into the RA.
Read in M13. Then, the program is transferred to the CPU 1
The execution of 1 starts the OS. The OS reads an application program (hereinafter, simply referred to as an application), such as a document creation program, stored in the hard disk device 16 or the floppy disk device 17 into the RAM 13 in response to an operation input from the keyboard 14 or a mouse (not shown). The application is executed according to the input, for example, a document creation process is performed.

【0043】次に、ホストコンピュータ10の印刷制御
に関わるシステムの構成について図2を参照しながら説
明する。
Next, the configuration of a system relating to print control of the host computer 10 will be described with reference to FIG.

【0044】図2に示すホストコンピュータ10のシス
テムにおいて、ユーザが文書作成プログラム等のアプリ
ケーション201の使用中に印刷処理を実行させたと
き、アプリケーション201からプリンタドライバ20
2へ印刷データが送出される。この間のデータのやり取
りは、アプリケーション201とプリンタドライバ20
2が互いに認識可能な形式で行われる。なお、プリンタ
ドライバ202のプログラムは、OSとともに図1中の
ハードディスク装置16からRAM13に読み込まれ、
印刷時に実行される。
In the system of the host computer 10 shown in FIG. 2, when the user executes a printing process while using the application 201 such as a document creation program, the application 201 sends the printer driver 20 to the printer driver 20.
2, the print data is sent. The data exchange during this time is performed by the application 201 and the printer driver 20.
2 in a mutually recognizable form. The program of the printer driver 202 is read from the hard disk device 16 in FIG.
Executed when printing.

【0045】プリンタドライバ202は、アプリケーシ
ョン201から受けた印刷データを本システムで処理可
能な形式の印刷データに変換する。変換後の印刷データ
は、ハードディスク装置16の所定記憶領域に確保され
ているスプーラ203に格納される。スプーラ203は
多数のページ数分の印刷データを記憶可能な大容量のも
のとされる。
The printer driver 202 converts print data received from the application 201 into print data in a format that can be processed by the present system. The converted print data is stored in the spooler 203 secured in a predetermined storage area of the hard disk drive 16. The spooler 203 has a large capacity capable of storing print data for a large number of pages.

【0046】ここで、プリンタドライバ202によって
生成された印刷データの形式について、図9を参照して
説明しておく。図9に示す印刷データの構成では、印刷
データの開始801と印刷データの終了806のデータ
の間に印刷環境情報802、ぺージの開始803、ぺー
ジの情報804、ぺージの終了805のデータが配置さ
れる。印刷環境情報802は、印刷に使用するプリンタ
の給紙口、用紙(記録紙)サイズ、印刷濃度、両面印刷
か片面印刷かの印刷面、部数、印刷方向等を指定する情
報である。また、ぺージの情報804は、ぺージの開始
803とページの終了805の間に配置され、1ページ
分の描画コードやビットマップデータ等が含まれる。
Here, the format of the print data generated by the printer driver 202 will be described with reference to FIG. In the print data configuration shown in FIG. 9, the print environment information 802, the page start 803, the page information 804, and the data of the page end 805 exist between the data of the print data start 801 and the print data end 806. Is arranged. The print environment information 802 is information for designating a paper feed port of a printer used for printing, a paper (recording paper) size, a print density, a print surface of double-sided printing or single-sided printing, the number of copies, a printing direction, and the like. The page information 804 is arranged between the start 803 of the page and the end 805 of the page, and includes drawing code and bitmap data for one page.

【0047】再び、図2の構成において、符号204,
206,207,208,209で示す以下の各コント
ローラは、ホストコンピュータ10のCPU11が実行
するプログラムのソフトウェアにより構成される。
Again, in the configuration of FIG.
The following controllers indicated by 206, 207, 208, and 209 are configured by software of a program executed by the CPU 11 of the host computer 10.

【0048】リソースコントローラ204は、スプーラ
203に存在する印刷データを読み出し、印刷データの
開始801を確認すると、ページコントローラ206を
起動する。そして、印刷環境情報802をページコント
ローラ206に送出する。また、ぺージの開始803、
ぺージ情報804、ぺージの終了805を印刷データバ
ッファ205に格納する。印刷データバッファ205
は、図1中のRAM13の所定の記憶領域に設定され、
少なくとも1ページ分の印刷データを格納できる容量と
し、例えば印刷データが600dpiでA4のデータと
して約4MB以上の容量とする。
The resource controller 204 reads out the print data existing in the spooler 203 and, upon confirming the start 801 of the print data, activates the page controller 206. Then, the print environment information 802 is sent to the page controller 206. Also, start of page 803,
The page information 804 and the end 805 of the page are stored in the print data buffer 205. Print data buffer 205
Is set in a predetermined storage area of the RAM 13 in FIG.
The print data has a capacity capable of storing at least one page of print data. For example, the print data has a capacity of about 4 MB or more as A4 data at 600 dpi.

【0049】ページコントローラ206は、リソースコ
ントローラ204から受信した印刷環境情報802の
内、給紙口、用紙サイズ、印刷濃度等のプリンタ100
のプリンタエンジン212に指定する必要がある情報を
エンジンコントローラ208に送出する。また、印刷面
情報と印刷データバッファ205の状態から印刷を実行
するぺージを決定する。そして、レンダリングコントロ
ーラ207に対して、印刷するぺージを指定し、レンダ
リングコントローラ207による画像データ生成処理の
終了後、エンジンコントローラ208に対して、印刷開
始の命令、画像データの送出を行う。
The page controller 206 includes, among the printing environment information 802 received from the resource controller 204, a printer 100 such as a paper feed port, a paper size, and a print density.
The information that needs to be specified to the printer engine 212 is sent to the engine controller 208. Further, a page for executing printing is determined based on the print surface information and the state of the print data buffer 205. Then, a page to be printed is specified to the rendering controller 207, and after the image data generation processing by the rendering controller 207 is completed, a print start command and image data are sent to the engine controller 208.

【0050】レンダリングコントローラ207は、ペー
ジコントローラ206によって指定されたぺージの情報
を印刷データバッファ205内の印刷データの中から抽
出する。この場合、ページの開始803とページの終了
805を検索することによって抽出すべきページの情報
804を検索する。そして、ぺージの情報804を変換
して画像データを生成する。
The rendering controller 207 extracts information of the page specified by the page controller 206 from the print data in the print data buffer 205. In this case, the page information 804 to be extracted is searched by searching for the page start 803 and the page end 805. Then, the page information 804 is converted to generate image data.

【0051】エンジンコントローラ208は、ページコ
ントローラ206から受信した印刷環境情報802と画
像データを通信コントローラ209に送出する。また、
通信コントローラ209を介してプリンタ100の状態
を検知する。印刷の開始および画像データの送出は、プ
リンタ100の状態と同期して行われる。
The engine controller 208 sends the print environment information 802 and the image data received from the page controller 206 to the communication controller 209. Also,
The status of the printer 100 is detected via the communication controller 209. The start of printing and the transmission of image data are performed in synchronization with the state of the printer 100.

【0052】通信コントローラ209は、プリンタ10
0との通信インターフェース部であるパラレルポート、
シリアルポート等の入出力デバイスインターフェース部
を制御し、プリンタ100との通信を制御する。
The communication controller 209 is connected to the printer 10
0, a parallel port that is a communication interface unit with
The input / output device interface unit such as a serial port is controlled, and communication with the printer 100 is controlled.

【0053】プリンタ100は、ビデオコントローラ1
01と先述した図10の印刷機構からなるプリンタエン
ジン212を有する。ビデオコントローラ101は、ホ
ストコンピュータ10から受信した印刷命令をプリンタ
エンジン212に送出するとともに、プリンタエンジン
212の状態をホストコンピュータ10に送出する。ま
た、ホストコンピュータ10から受信した画像データを
プリンタエンジン212の処理に同期してビデオ信号と
してプリンタエンジン212に送出する。
The printer 100 includes a video controller 1
01 and the printer engine 212 composed of the printing mechanism of FIG. The video controller 101 sends the print command received from the host computer 10 to the printer engine 212, and sends the status of the printer engine 212 to the host computer 10. Further, the image data received from the host computer 10 is sent to the printer engine 212 as a video signal in synchronization with the processing of the printer engine 212.

【0054】次に、上述した構成を備えたホストコンピ
ュータ10における両面印刷制御の動作を図3〜8のフ
ローチャートを参照して以下に説明する。なお、図3〜
8のフローチャートに対応した両面印刷制御の手順のプ
ログラムをCPU11が実行することにより本実施形態
の両面印刷制御が実現される。そのプログラムは、フロ
ッピーディスクやCDROM等の記憶媒体に記憶されて
提供され、その記憶媒体から図1中のハードディスク装
置16にインストールされ、ハードディスク装置16か
らRAM13に読み込まれて実行される。前記のプログ
ラムを記憶したフロッピーディスクやCDROMおよび
ハードディスク装置等は、本発明に係る両面印刷制御の
手順のプログラムを記憶したコンピュータにより読み取
り可能な記憶媒体の実施形態となる。また、図3〜8及
び以下の説明中で数字の前に付した「S」は勿論「ステ
ップ」を略記したものである。
Next, the operation of double-sided printing control in the host computer 10 having the above-described configuration will be described with reference to the flowcharts of FIGS. In addition, FIG.
The double-sided printing control according to the present embodiment is realized by the CPU 11 executing a program of a double-sided printing control procedure corresponding to the flowchart of FIG. The program is stored and provided in a storage medium such as a floppy disk or a CDROM, is installed in the hard disk device 16 in FIG. 1 from the storage medium, is read from the hard disk device 16 into the RAM 13, and is executed. A floppy disk, a CDROM, a hard disk device, or the like storing the above-described program is an embodiment of a storage medium readable by a computer storing a program of a double-sided printing control procedure according to the present invention. In addition, “S” added to the front of the numeral in FIGS. 3 to 8 and the following description is, of course, abbreviation of “step”.

【0055】まず、図3は、両面印刷制御のメインのル
ーチンを示している。例えば、ユーザがアプリケーショ
ン201に対して、印刷面を両面に指定して複数ページ
のドキュメントの印刷の実行を命令したとする。これに
応じて、図3の制御が開始される。
FIG. 3 shows a main routine of the duplex printing control. For example, it is assumed that the user instructs the application 201 to execute printing of a document of a plurality of pages by designating the printing side as both sides. In response, the control of FIG. 3 is started.

【0056】まず、印刷命令に応じて、リソースコント
ローラ204は、スプーラ203に存在する印刷データ
を取り出し、印刷データバッファ205にページの開始
803、ページの情報804、ページの終了805を格
納する(S301)。この処理は、スプーラ203の印
刷データがなくなるまで、あるいは、印刷データバッフ
ァ205の領域が満たされるまで行われる。また、リソ
ースコントローラ204は印刷データの内の印刷環境情
報802をページコントローラ206に送出する。
First, in response to the print command, the resource controller 204 extracts the print data existing in the spooler 203, and stores the start 803 of the page, the page information 804, and the end 805 of the page in the print data buffer 205 (S301). ). This process is performed until the print data of the spooler 203 runs out or the area of the print data buffer 205 is filled. Further, the resource controller 204 sends the print environment information 802 in the print data to the page controller 206.

【0057】次に、ページコントローラ206は、リソ
ースコントローラ204から受信した印刷環境情報80
2で印刷面の指定が両面か片面か判定し、この場合、両
面であることから、本発明に係る両面印刷制御を行うた
めに、印刷データバッファ205内の印刷データのペー
ジ数をページの開始803とページの終了805の数か
ら算出する(S302)。
Next, the page controller 206 prints the print environment information 80 received from the resource controller 204.
In step 2, it is determined whether the print side is double-sided or single-sided. In this case, since the print side is double-sided, the number of pages of the print data in the print data buffer 205 is set to the start of the page in order to perform double-sided printing control according to the present invention. It is calculated from 803 and the number of page ends 805 (S302).

【0058】そして、ページコントローラ206は、算
出したページ数が1ページであるかを判定し(S30
3)、算出したページ数が1ページならば、印刷保証モ
ードに移行する(S304)。
Then, the page controller 206 determines whether the calculated number of pages is one (S30).
3) If the calculated number of pages is one, the mode shifts to the print guarantee mode (S304).

【0059】次に、算出したページ数が3ページ以下、
すなわち2ページまたは3ページであるかを判定し(S
305)、算出したページ数が3ページ以下ならば、低
速モードに移行する(S306)。
Next, if the calculated number of pages is 3 or less,
That is, it is determined whether the page is page 2 or page 3 (S
If the calculated number of pages is three or less, the mode shifts to the low-speed mode (S306).

【0060】さらに、算出したページ数が5ページ以
下、すなわち4ページまたは5ページであるかを判定し
(S307)、算出したページ数が5ページ以下なら
ば、中速モードに移行する(S308)。
Further, it is determined whether the calculated number of pages is 5 or less, that is, 4 pages or 5 pages (S307). If the calculated number of pages is 5 pages or less, the mode shifts to the medium speed mode (S308). .

【0061】算出したページ数が5ページ以下でない場
合、すなわち6ページ以上の場合は、高速モードに移行
する(S309)。
If the calculated number of pages is not less than 5 pages, that is, if it is 6 pages or more, the mode shifts to the high-speed mode (S309).

【0062】上記各印刷モードの動作は後述する。各印
刷モードの実行後、リソースコントローラ204は、印
刷データをスプーラ203から全て取り出して印刷デー
タバッファ205に格納したかを判定する(S31
0)。
The operation of each of the print modes will be described later. After executing each print mode, the resource controller 204 determines whether all the print data has been extracted from the spooler 203 and stored in the print data buffer 205 (S31).
0).

【0063】印刷データをスプーラ203から全て取り
出していなければ、再度スプーラ203に存在する印刷
データを取り出し(S301)、以上の処理を繰り返
す。
If all the print data has not been extracted from the spooler 203, the print data existing in the spooler 203 is extracted again (S301), and the above processing is repeated.

【0064】また、印刷データをスプーラ203から全
て取り出していたら、ページコントローラ206は、印
刷データバッファ205内に画像データに変換していな
い残りのページの印刷データがあるか否か判定する(S
311)。これは、後述する理由により、この時点で印
刷データバッファ205内に画像データに変換していな
い残りのページの印刷データがある場合があるからであ
る。
If all the print data has been extracted from the spooler 203, the page controller 206 determines whether or not there is print data of the remaining pages that have not been converted into image data in the print data buffer 205 (S).
311). This is because the print data of the remaining pages that have not been converted into image data at this time may exist in the print data buffer 205 at this point in time for reasons to be described later.

【0065】そして、印刷データバッファ205内に残
りのページの印刷データがなければ処理を終了するが、
あった場合は、ページコントローラ206は、レンダリ
ングコントローラ207にその残りのページの印刷デー
タを画像データに変換させ、その画像データをエンジン
コントローラ208を介してプリンタ100に転送させ
る(S312)。そして、処理を終了する。
If there is no print data for the remaining pages in the print data buffer 205, the process ends.
If there is, the page controller 206 causes the rendering controller 207 to convert the print data of the remaining pages into image data and transfer the image data to the printer 100 via the engine controller 208 (S312). Then, the process ends.

【0066】次に、上記のS302で算出された印刷デ
ータバッファ205内の印刷データのページ数に応じて
択一的に設定されるS304,S306,S308,S
309の各印刷モードの制御動作について図4〜8のフ
ローチャートにより説明する。
Next, S 304, S 306, S 308, and S are set alternatively according to the number of pages of the print data in the print data buffer 205 calculated in S 302.
The control operation of each print mode 309 will be described with reference to the flowcharts of FIGS.

【0067】まず、図4のフローチャートは、算出され
た印刷データバッファ205内のページ数が1ページの
時に設定される印刷保証モードの制御手順を示してい
る。
First, the flowchart of FIG. 4 shows a control procedure of the print guarantee mode set when the calculated number of pages in the print data buffer 205 is one page.

【0068】この場合、両面印刷を行うことが不可能な
ので、ページコントローラ206は、印刷データ中の印
刷環境情報802で両面印刷が指定されていても、印刷
を保証するために片面印刷に切り替える。そして、レン
ダリングコントローラ207に印刷データバッファ20
5内の印刷データの1ページの情報804を画像データ
に変換させる。レンダリングコントローラ207は、そ
の変換を行って画像データを生成し、その画像データは
エンジンコントローラ208、通信コントローラ209
を経てプリンタ100に転送される(S401)。
In this case, since double-sided printing cannot be performed, the page controller 206 switches to single-sided printing in order to guarantee printing even if double-sided printing is specified by the print environment information 802 in the print data. Then, the print data buffer 20 is sent to the rendering controller 207.
5, the information 804 of one page of the print data is converted into image data. The rendering controller 207 performs the conversion to generate image data, and the image data is transmitted to the engine controller 208 and the communication controller 209.
Is transferred to the printer 100 via the printer (S401).

【0069】そして、プリンタ100で1ページの画像
データの片面印刷が行われ、印刷した記録紙の排紙が完
了したときに、ページコントローラ206は、印刷デー
タバッファ205内の1ページの印刷データを削除し
(S402)、印刷保証モードの処理を終了する。そし
て図3のS310に移行する。
When one-sided printing of one page of image data is performed by the printer 100 and the ejection of the printed recording paper is completed, the page controller 206 transfers the one-page print data in the print data buffer 205. The print guarantee mode is deleted (S402), and the processing in the print guarantee mode ends. Then, control goes to a step S310 in FIG.

【0070】次に、図5のフローチャートは、図3のS
302で算出された印刷データバッファ205内のペー
ジ数が3ページ以下の時、すなわち2ページまたは3ペ
ージの場合に設定される低速モードの制御手順を示して
いる。
Next, the flowchart of FIG.
A low-speed mode control procedure set when the number of pages in the print data buffer 205 calculated in 302 is three or less, ie, two or three pages, is shown.

【0071】この場合、ページコントローラ206は、
1枚の記録紙に裏面、表面の順で両面印刷を行うように
順次印刷ページを指定する。まず、ページコントローラ
206は、印刷開始ページを2ページ目に指定する(S
501)。
In this case, the page controller 206
The print pages are sequentially specified so that double-sided printing is performed on one recording sheet in the order of the back side and the front side. First, the page controller 206 specifies the print start page as the second page (S
501).

【0072】これを受けて、レンダリングコントローラ
207は印刷データバッファ205から2ページ目のペ
ージの情報804を抽出し、これを変換して画像データ
を生成し、その画像データはエンジンコントローラ20
8、通信コントローラ209を経てプリンタ100に転
送される(S502)。
In response to this, the rendering controller 207 extracts the second page information 804 from the print data buffer 205 and converts it to generate image data.
8. Transferred to the printer 100 via the communication controller 209 (S502).

【0073】次に、ページコントローラ206は、印刷
ページを1ページ目に指定する(S503)。
Next, the page controller 206 designates a print page as the first page (S503).

【0074】これを受けて、レンダリングコントローラ
207は印刷データバッファ205から1ページ目のペ
ージの情報804を抽出し、これを変換して画像データ
を生成し、その画像データは、エンジンコントローラ2
08、通信コントローラ209を経てプリンタ100に
転送される。(S504)。
In response, the rendering controller 207 extracts the page information 804 of the first page from the print data buffer 205 and converts it to generate image data.
08, and is transferred to the printer 100 via the communication controller 209. (S504).

【0075】そして、上記のように順次2ページ目、1
ページ目の画像データを転送されたプリンタ100で1
枚の記録紙に2ページの画像データの両面印刷が行わ
れ、印刷した記録紙の排紙が完了したときに、ページコ
ントローラ206は、印刷データバッファ205内の1
ページ目と2ページ目の印刷データを削除し(S50
5)、低速モードの処理を終了する。そして図3のS3
10に移行する。
Then, as described above, the second page, 1
In the printer 100 to which the image data of the page is transferred, 1
When two-sided printing of two pages of image data is performed on two sheets of recording paper, and the ejection of the printed recording paper is completed, the page controller 206
The print data of the page and the second page is deleted (S50
5) Terminate the processing in the low-speed mode. And S3 of FIG.
Move to 10.

【0076】なお、上述した低速モードの制御は、図3
のS302で算出した印刷データバッファ205内の印
刷データのページ数が2ページまたは3ページであった
場合に行うが、3ページであった場合、図5のS505
の印刷データ削除を行った後に、印刷データバッファ2
05内で3ページ目の印刷データが残る。ここで、S5
05からS310に移行して、S310の判定でスプー
ラ203から印刷データを全て取り込んでいないと判定
された場合、S301に移行してスプーラ203から次
の印刷データを印刷データバッファ205に取り込む
が、その時に、上記の残った3ページ目の印刷データ
は、印刷データバッファ205内で次の1ページ目の印
刷データとしてシフトされ、その後に後続のページの印
刷データが取り込まれるものとする。
It should be noted that the control in the low-speed mode described above is performed according to FIG.
This is performed when the number of pages of the print data in the print data buffer 205 calculated in S302 is two or three pages. When the number of pages is three pages, in S505 in FIG.
Print data buffer 2
The print data of the third page remains in 05. Here, S5
If the process moves from S05 to S310 and it is determined in S310 that all the print data has not been captured from the spooler 203, the process proceeds to S301 and captures the next print data from the spooler 203 into the print data buffer 205. Then, the print data of the remaining third page is shifted as print data of the next first page in the print data buffer 205, and thereafter, print data of a subsequent page is fetched.

【0077】また、上記のS505の印刷データ削除を
行った後に、3ページ目の印刷データが残った場合で、
S505からS310に移行して、S310の判定でス
プーラ203から印刷データを全て取り込んだと判定さ
れた場合、S311に移行し、印刷データバッファ20
5内に残りのページの印刷データ(3ページ目の印刷デ
ータ)があると判定され、S312でその画像データの
生成、転送がなされる。この場合、この3ページ目の画
像データは片面印刷されることは勿論である。
Further, in the case where the print data of the third page remains after the print data is deleted in S505,
If the process proceeds from S505 to S310, and if it is determined in S310 that all the print data has been fetched from the spooler 203, the process proceeds to S311 and the print data buffer 20
It is determined that print data of the remaining page (print data of the third page) exists in 5, and the image data is generated and transferred in S 312. In this case, of course, the image data of the third page is printed on one side.

【0078】次に、図6のフローチャートは、図3のS
302で算出された印刷データバッファ205内のペー
ジ数が5ページ以下の時、すなわち4ページまたは5ペ
ージの場合に設定される中速モードの制御手順を示して
いる。
Next, the flowchart of FIG.
The middle speed mode control procedure is set when the number of pages in the print data buffer 205 calculated in 302 is 5 pages or less, that is, 4 pages or 5 pages.

【0079】この場合、ページコントローラ206は、
1枚目の記録紙の裏面、2枚目の記録紙の裏面、1枚目
の記録紙の表面、2枚目の記録紙の表面、の順で両面印
刷を行うように印刷ページを順次指定する。
In this case, the page controller 206
Print pages are sequentially specified so that double-sided printing is performed in the order of the back of the first recording paper, the back of the second recording paper, the front of the first recording paper, and the front of the second recording paper I do.

【0080】まず、ページコントローラ206は、印刷
開始ページを2ページ目に指定する(S601)。そし
て、レンダリングコントローラ207は印刷データバッ
ファから2ページ目のページの情報804を抽出し、こ
れを変換して画像データを生成し、その画像データはエ
ンジンコントローラ208、通信コントローラ209を
経てプリンタ100に転送される(S602)。
First, the page controller 206 specifies the print start page as the second page (S601). Then, the rendering controller 207 extracts the page information 804 of the second page from the print data buffer, converts this information to generate image data, and transfers the image data to the printer 100 via the engine controller 208 and the communication controller 209. Is performed (S602).

【0081】次に、ページコントローラ206は、印刷
ページを4ページ目に指定する(S603)。そして、
レンダリングコントローラ207は、印刷データバッフ
ァ205内の4ページ目のページの情報804を変換し
て画像データを生成し、その画像データはエンジンコン
トローラ208、通信コントローラ209を経てプリン
タ100に転送される(S604)。
Next, the page controller 206 designates a print page as the fourth page (S603). And
The rendering controller 207 converts the page information 804 of the fourth page in the print data buffer 205 to generate image data, and the image data is transferred to the printer 100 via the engine controller 208 and the communication controller 209 (S604). ).

【0082】次に、ページコントローラ206は、印刷
ページを1ページ目に指定する(S605)。そして、
レンダリングコントローラ207は印刷データバッファ
205内の1ページ目のページの情報804を変換して
画像データを生成し、その画像データはエンジンコント
ローラ208、通信コントローラ209を経てプリンタ
100に転送される(S606)。
Next, the page controller 206 designates a print page as the first page (S605). And
The rendering controller 207 converts the first page information 804 in the print data buffer 205 to generate image data, and the image data is transferred to the printer 100 via the engine controller 208 and the communication controller 209 (S606). .

【0083】次に、ページコントローラ206は、印刷
ページを3ページ目に指定する(S607)。そして、
レンダリングコントローラ207は印刷データバッファ
205内の3ページ目のページの情報804を変換して
画像データを生成し、その画像データはエンジンコント
ローラ208、通信コントローラ209を経てプリンタ
100に転送される(S608)。
Next, the page controller 206 specifies the third page of the print page (S607). And
The rendering controller 207 converts the information 804 of the third page in the print data buffer 205 to generate image data, and the image data is transferred to the printer 100 via the engine controller 208 and the communication controller 209 (S608). .

【0084】そして、上記のようにして順次2ページ
目、4ページ目、1ページ目、3ページ目の画像データ
を転送されたプリンタがこれらの画像データを2枚の記
録紙に両面印刷し、その排紙が完了したときに、ページ
コントローラ206は、印刷データバッファ205内の
1〜4ページ目の印刷データを削除し(S609)、中
速モードの処理を終了する。そして図3のS310に移
行する。
The printer to which the image data of the second page, the fourth page, the first page, and the third page are sequentially transferred as described above, prints these image data on two recording papers on both sides. When the paper ejection is completed, the page controller 206 deletes the print data of the first to fourth pages in the print data buffer 205 (S609), and ends the processing in the medium speed mode. Then, control goes to a step S310 in FIG.

【0085】なお、上述した中速モードの制御は、図3
のS302で算出した印刷データバッファ205内の印
刷データのページ数が4ページまたは5ページであった
場合に行うが、5ページであった場合、図6のS609
の印刷データ削除を行った後に、印刷データバッファ2
05内で5ページ目の印刷データが残る。この場合の処
理は前述した低速モードで3ページ目の印刷データが残
った場合の処理と同様とする。
Note that the control in the medium speed mode described above is performed in accordance with FIG.
The processing is performed when the number of pages of the print data in the print data buffer 205 calculated in S302 is 4 or 5, but when the number is 5 pages, S609 in FIG.
Print data buffer 2
The print data of the fifth page remains in 05. The processing in this case is the same as the processing when the print data of the third page remains in the low-speed mode described above.

【0086】このような中速モードでは、プリンタ10
0内で2枚の記録紙が印刷処理、印刷面を切り換える処
理、及び排出処理を並行して受けることができ、前述し
た低速モードの場合より両面印刷を高速に効率よく行う
ことができる。
In such a medium speed mode, the printer 10
Two recording papers can be subjected to the printing process, the process of switching the printing surface, and the discharging process in parallel within 0, and the duplex printing can be performed faster and more efficiently than in the low-speed mode described above.

【0087】次に、図7,8のフローチャートは、図3
のS302で算出された印刷データバッファ205内の
ページ数が6ページ以上である場合に設定される高速モ
ードの制御手順を示している。なお、図7,8のフロー
チャートは符号Aの部分で連結されているものとする。
Next, the flowcharts of FIGS.
9 shows a control procedure of the high-speed mode set when the number of pages in the print data buffer 205 calculated in S302 is six or more. It is assumed that the flowcharts of FIGS.

【0088】高速モードの場合、ページコントローラ2
06は、1枚目の記録紙の裏面、2枚目の記録紙の裏
面、1枚目の記録紙の表面、3枚目の記録紙の裏面、2
枚目の記録紙の表面、の順で両面印刷を行なった後、こ
の時点で既にスプーラ203から印刷データを全て取り
込んでいれば、3枚目の記録紙の表面に印刷を行うよう
に印刷ページを順次指定する。また、前記時点でスプー
ラ203から印刷データを全て取り込んでいなければ、
印刷データを印刷データバッファ205に取り込み、こ
の取り込み後の印刷データバッファ205内の印刷デー
タのページ数が2ページ以上だったら、両面印刷を4枚
目以降の記録紙にも連続的に行うように印刷ページを追
加して順次指定する。
In the high-speed mode, the page controller 2
Reference numeral 06 denotes the back of the first recording paper, the back of the second recording paper, the front of the first recording paper, the back of the third recording paper,
After performing double-sided printing in the order of the front surface of the third recording paper, if all the print data has already been acquired from the spooler 203 at this time, a print page is printed so as to perform printing on the front surface of the third recording paper. Are sequentially specified. If all the print data has not been taken in from the spooler 203 at the time,
If print data is fetched into the print data buffer 205 and the number of pages of print data in the print data buffer 205 after fetching is two or more, double-sided printing is performed continuously on the fourth and subsequent recording sheets. Add print pages and specify them sequentially.

【0089】まず、ページコントローラ206は、印刷
開始ページを2ページ目に指定する(S701)。そし
て、レンダリングコントローラ207は、印刷データバ
ッファ205内の2ページ目のページの情報804を変
換して画像データを生成し、その画像データはエンジン
コントローラ208、通信コントローラ209を経てプ
リンタ100に転送される(S702)。
First, the page controller 206 specifies a print start page as the second page (S701). Then, the rendering controller 207 converts the page information 804 of the second page in the print data buffer 205 to generate image data, and the image data is transferred to the printer 100 via the engine controller 208 and the communication controller 209. (S702).

【0090】次に、ページコントローラ206は、印刷
ページを4ページ目に指定する(S703)。そして、
レンダリングコントローラ207は印刷データバッファ
205内の4ページ目のページの情報804を変換して
印刷ページの画像データを生成し、その画像データはエ
ンジンコントローラ208、通信コントローラ209を
経てプリンタ100に転送される(S704)。
Next, the page controller 206 designates the fourth print page (S703). And
The rendering controller 207 converts the fourth page information 804 in the print data buffer 205 to generate print page image data, and the image data is transferred to the printer 100 via the engine controller 208 and the communication controller 209. (S704).

【0091】次に、ページコントローラ206は、印刷
ページを1ページ目に指定する(S705)。そして、
レンダリングコントローラ207は印刷データバッファ
205内の1ページ目のページの情報804を変換して
印刷ページの画像データを生成し、その画像データはエ
ンジンコントローラ208、通信コントローラ209を
経てプリンタ100に転送される(S706)。
Next, the page controller 206 designates a print page as the first page (S705). And
The rendering controller 207 converts the page information 804 of the first page in the print data buffer 205 to generate image data of the print page, and the image data is transferred to the printer 100 via the engine controller 208 and the communication controller 209. (S706).

【0092】次に、ページコントローラ206は、印刷
ページを現在のページ+5ページ、つまり、最初の場合
(S707〜S714のループの最初の場合)は6ペー
ジ目に指定する(S707)。そして、レンダリングコ
ントローラ207は印刷データバッファ205内の現在
のページ+5ページのページの情報804を変換して印
刷ページの画像データを生成し、その画像データはエン
ジンコントローラ208、通信コントローラ209を経
てプリンタ100に転送される(S708)。
Next, the page controller 206 designates the print page as the current page + 5 pages, that is, the sixth page in the first case (the first case of the loop of S707 to S714) (S707). Then, the rendering controller 207 converts the information 804 of the current page + 5 pages in the print data buffer 205 to generate image data of the print page, and the image data is transmitted via the engine controller 208 and the communication controller 209 to the printer 100. (S708).

【0093】次に、プリンタ100において、現在のペ
ージ−5と現在のページ−4、つまり、最初の場合1ペ
ージ目と2ページ目の両面印刷が1枚の記録紙に行わ
れ、その排紙が完了したときに、ページコントローラ2
06は、印刷データバッファ205内の現在のページ−
5、現在のページ−4の印刷データを削除する(S70
9)。
Next, in the printer 100, double-sided printing of the current page-5 and the current page-4, that is, the first and second pages in the first case is performed on one sheet of recording paper. Is completed, the page controller 2
06 is the current page in the print data buffer 205-
5. Delete the print data of the current page-4 (S70)
9).

【0094】次に、ページコントローラ206は、印刷
ページを現在のページ−3ページ、つまり、最初の場合
は3ページ目に指定する(S710)。そして、レンダ
リングコントローラ207は印刷データバッファ205
内の現在のページ−3ページ目のページの情報804を
変換して印刷ページの画像データを生成し、その画像デ
ータはエンジンコントローラ208、通信コントローラ
209を経てプリンタ210に転送される(S71
1)。
Next, the page controller 206 designates the print page as the current page-3 page, that is, the third page in the first case (S710). Then, the rendering controller 207 sends the print data buffer 205
The information 804 of the third page of the current page is converted to generate image data of a print page, and the image data is transferred to the printer 210 via the engine controller 208 and the communication controller 209 (S71).
1).

【0095】その後、リソースコントローラ204は、
印刷データをスプーラ203から全て取り出し印刷デー
タバッファ205に格納したかを判定する(S71
2)。印刷データをスプーラ203から全て取り出して
いれば、ページコントローラ206は、印刷ページを現
在のページ+2ページ、つまり最初の場合は5ページ目
に指定する(S715)。そして、レンダリングコント
ローラ207は印刷データバッファ205内の現在ペー
ジ+2ページ目のページの情報804を変換して印刷ペ
ージの画像データを生成し、その画像データはエンジン
コントローラ208、通信コントローラ209を経てプ
リンタ210に転送される(S716)。
After that, the resource controller 204
It is determined whether all the print data has been extracted from the spooler 203 and stored in the print data buffer 205 (S71).
2). If all the print data has been extracted from the spooler 203, the page controller 206 specifies the print page as the current page + 2 pages, that is, the fifth page in the first case (S715). Then, the rendering controller 207 converts the current page + the second page information 804 in the print data buffer 205 to generate image data of the print page, and the image data is sent to the printer 210 via the engine controller 208 and the communication controller 209. (S716).

【0096】現在のページ、つまり最初の場合は5ペー
ジ目の印刷が記録紙に行われ、その排紙が完了したとき
に、ページコントローラ206は、印刷データバッファ
205内の現在のページ−2、現在のページ−1、現在
のページ、現在のページ+1の印刷データ、つまり最初
の場合3ページ目、4ページ目、5ページ目、6ページ
目の印刷データを削除し(S717)、その後、高速モ
ードの処理を終了して図3のS310に移行する。
When the printing of the current page, that is, the fifth page in the first case, is performed on the recording paper and the discharge is completed, the page controller 206 sets the current page-2, The print data of the current page-1, the current page, and the current page + 1, that is, the print data of the third page, the fourth page, the fifth page, and the sixth page in the first case are deleted (S717). The mode processing ends, and the flow shifts to S310 in FIG.

【0097】一方、S712での判定の結果、印刷デー
タをスプーラ203から全て取り出していなければ、リ
ソースコントローラ204は、スプーラ203に存在す
る印刷データを取り出し、印刷データバッファ205に
格納する(S713)。
On the other hand, if the result of determination in S 712 is that all print data has not been retrieved from the spooler 203, the resource controller 204 retrieves print data present in the spooler 203 and stores it in the print data buffer 205 (S 713).

【0098】次に、ページコントローラ206は、印刷
データバッファ205内の印刷データのページ数が2ペ
ージ以上であるかを判定し(S714)、2ページ以上
でなければ、S715以降の処理を行う。また、2ペー
ジ以上であれば、S707以降の処理を繰り返す。
Next, the page controller 206 determines whether or not the number of pages of the print data in the print data buffer 205 is two or more (S714). If not, the process from S715 is performed. If there are two or more pages, the processing from S707 onward is repeated.

【0099】なお、上述した高速モードの制御では、図
8のS717で印刷データ削除を行った後に、低速モー
ド及び中速モードの場合と同様に印刷データバッファ2
05内に印刷データが残る場合がある。この場合の処理
は前述した低速モード及び中速モードで印刷データが残
った場合の処理と同様とする。
In the high-speed mode control described above, after the print data is deleted in S717 of FIG. 8, the print data buffer 2 is deleted in the same manner as in the low-speed mode and the medium-speed mode.
05 may remain in the print data. The processing in this case is the same as the processing when print data remains in the low-speed mode and the medium-speed mode described above.

【0100】このような高速モードでは、プリンタ10
0内で3枚の記録紙が印刷処理、印刷面を切り換える処
理、及び排出処理を並行して受けるようにして両面印刷
を行い、スプーラ203に後続のページの印刷データが
ある場合は、それを印刷データバッファ205に読み取
りながら4枚目以降の記録紙にも連続的に両面印刷を行
い、プリンタ100内で常時3枚の記録紙が上記3つの
処理を並行して受けるようにすることができ、プリンタ
エンジン212の性能を最大限発揮させることができ、
前述した中速モードの場合より更に両面印刷を高速に効
率よく行うことができる。
In such a high-speed mode, the printer 10
If the print data of the subsequent page is present in the spooler 203, the print data, the process of switching the print surface, and the discharge process are performed in parallel in the three pages. While reading the print data into the print data buffer 205, double-sided printing is continuously performed on the fourth and subsequent recording sheets, so that the three recording sheets can receive the above three processes in parallel in the printer 100 at all times. , To maximize the performance of the printer engine 212,
Double-sided printing can be performed at higher speed and more efficiently than in the case of the medium speed mode described above.

【0101】以上のように本実施形態によれば、両面印
刷が指定された場合、ホストコンピュータ10におい
て、スプーラ203から印刷データバッファ205に読
み込んだ印刷データのページ数に応じて、印刷保証モー
ド、低速モード、中速モード、高速モードのいずれかを
択一して設定し、その設定したモードにしたがって1ペ
ージ毎の画像データの生成とプリンタへの転送を行うの
で、両面印刷においてプリンタ100のプリンタエンジ
ン212の性能を最大限発揮させることができ、効率よ
く両面印刷を行うことができる。また、画像データの生
成処理などをホストコンピュータ10上で行うことによ
り、プリンタ100のビデオコントローラ101の構成
を簡単にしてプリンタ100のコストダウンを実現で
き、かつ両面印刷を確実に行うことができる。
As described above, according to the present embodiment, when double-sided printing is specified, the host computer 10 sets the print guarantee mode according to the number of pages of the print data read from the spooler 203 into the print data buffer 205. One of the low-speed mode, medium-speed mode, and high-speed mode is selected and set, and image data for each page is generated and transferred to the printer in accordance with the set mode. The performance of the engine 212 can be maximized, and double-sided printing can be performed efficiently. Further, by performing image data generation processing and the like on the host computer 10, the configuration of the video controller 101 of the printer 100 can be simplified, the cost of the printer 100 can be reduced, and double-sided printing can be reliably performed.

【0102】[0102]

【発明の効果】以上の説明から明らかなように、本発明
によれば、ページ単位で印刷を行いシート状の印刷媒体
の表裏両面に印刷可能な印刷装置に対して画像データを
ページ単位で転送して両面印刷または片面印刷を行わせ
る印刷制御装置、印刷制御方法、及びその印刷制御手順
を記憶したコンピュータにより読み取り可能な記録媒体
において、印刷命令に応じて、複数ページ分の印刷デー
タを記憶可能な大容量の印刷データ記憶手段から印刷デ
ータを読み出し、少なくとも1ページ分の印刷データを
記憶可能な印刷データバッファに格納し、その印刷デー
タバッファに格納した印刷データに関して両面印刷が指
定された場合、その格納された印刷データのページ数を
算出し、その算出したページ数に応じて、それぞれ異な
るページ順序で両面印刷を行う複数の両面印刷モードの
いずれか、または、1ページのみの片面印刷を行う片面
印刷モードを択一して設定し、その設定した印刷モード
にしたがって、前記印刷データバッファに格納された印
刷データを変換して1ページ毎の画像データを生成して
前記印刷装置に転送するようにしたので、両面印刷にお
いて印刷装置の印刷機構の性能を最大限発揮させること
ができ、効率よく両面印刷を行うことができる。また、
画像データの生成処理などを印刷制御装置上で行うこと
により、印刷装置の制御部の構成を簡単にして印刷装置
のコストダウンを実現でき、かつ両面印刷を確実に行え
るという優れた効果が得られる。
As is apparent from the above description, according to the present invention, image data is transferred page by page to a printing apparatus capable of printing on both sides of a sheet-shaped print medium and printing on both sides. A print control device, a print control method, and a computer-readable recording medium storing the print control procedure for performing double-sided printing or single-sided printing, and capable of storing print data for a plurality of pages according to a print command. Read out the print data from a large-capacity print data storage unit, store the print data in at least one page in a print data buffer capable of storing the print data, and specify double-sided printing for the print data stored in the print data buffer. The number of pages of the stored print data is calculated, and both pages are arranged in different page orders according to the calculated number of pages. One of a plurality of double-sided printing modes for printing or a single-sided printing mode for performing single-sided printing of only one page is selected and set, and the printing stored in the print data buffer is performed according to the set printing mode. Since the data is converted and the image data for each page is generated and transferred to the printing apparatus, the performance of the printing mechanism of the printing apparatus can be maximized in the duplex printing, and the duplex printing can be efficiently performed. It can be carried out. Also,
Performing the image data generation processing and the like on the print control device can provide an excellent effect that the configuration of the control unit of the print device can be simplified, the cost of the print device can be reduced, and double-sided printing can be reliably performed. .

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

【図1】本発明の実施形態におけるホストコンピュータ
と周辺機器からなるシステムの概略構成を示すブロック
図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a system including a host computer and peripheral devices according to an embodiment of the present invention.

【図2】同ホストコンピュータの印刷制御に関わるシス
テムの構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a system related to print control of the host computer.

【図3】同ホストコンピュータによる両面印刷制御のメ
インルーチンの手順を示すフローチャート図である。
FIG. 3 is a flowchart illustrating a procedure of a main routine of double-sided printing control by the host computer.

【図4】同制御における印刷保証モードの制御手順を示
すフローチャート図である。
FIG. 4 is a flowchart illustrating a control procedure of a print guarantee mode in the control.

【図5】同制御における低速モードの制御手順を示すフ
ローチャート図である。
FIG. 5 is a flowchart showing a control procedure in a low-speed mode in the control.

【図6】同制御における中速モードの制御手順を示すフ
ローチャート図である。
FIG. 6 is a flowchart showing a control procedure in a middle speed mode in the same control.

【図7】同制御における高速モードの制御手順を示すフ
ローチャート図である。
FIG. 7 is a flowchart showing a control procedure in a high-speed mode in the control.

【図8】同高速モードの制御手順を示すフローチャート
図である。
FIG. 8 is a flowchart showing a control procedure in the high-speed mode.

【図9】同ホストコンピュータのプリンタドライバによ
って生成された印刷データの構成を示す説明図である。
FIG. 9 is an explanatory diagram showing a configuration of print data generated by a printer driver of the host computer.

【図10】レーザビームプリンタの機械的構成を示す概
略的な断面図である。
FIG. 10 is a schematic sectional view showing a mechanical configuration of the laser beam printer.

【図11】従来のホストコンピュータとプリンタからな
る印刷システムの概略を示すブロック図である。
FIG. 11 is a block diagram schematically showing a printing system including a conventional host computer and a printer.

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

10 ホストコンピュータ 11 CPU 12 ROM 13 RAM 14 キーボード 15 ディスプレイ 16 ハードディスク装置 17 フロッピーディスク装置 100 プリンタ 101 ビデオコントローラ 201 アプリケーション 202 プリンタドライバ 203 スプーラ 204 リソースコントローラ 205 印刷データバッファ 206 ページコントローラ 207 レンダリングコントローラ 208 エンジンコントローラ 209 通信コントローラ 212 プリンタエンジン Reference Signs List 10 host computer 11 CPU 12 ROM 13 RAM 14 keyboard 15 display 16 hard disk drive 17 floppy disk drive 100 printer 101 video controller 201 application 202 printer driver 203 spooler 204 resource controller 205 print data buffer 206 page controller 207 rendering controller 208 engine controller 209 communication Controller 212 Printer engine

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 3/12 G06F 3/12 P 5B021──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06F 3/12 G06F 3/12 P 5B021

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 ページ単位で印刷を行いシート状印刷媒
体の表裏両面に印刷可能な印刷装置に対して画像データ
をページ単位で転送して両面印刷または片面印刷を行わ
せる印刷制御装置であって、 複数ページ分の印刷データを記憶可能な大容量の印刷デ
ータ記憶手段と、 少なくとも1ページ分の印刷データを記憶可能な印刷デ
ータバッファと、 印刷命令に応じて前記印刷データ記憶手段から印刷デー
タを読み出して前記印刷データバッファに格納する印刷
データ取り込み手段と、 該印刷データ取り込み手段により前記印刷データバッフ
ァに格納された印刷データに関して両面印刷が指定され
た場合、該格納された印刷データのページ数を算出する
ページ数算出手段と、 該ページ数算出手段により算出されたページ数に応じ
て、それぞれ異なるページ順序で両面印刷を行う複数の
両面印刷モードのいずれか、または、1ページのみの片
面印刷を行う片面印刷モードを択一して設定する印刷モ
ード設定手段と、 該印刷モード設定手段により設定された印刷モードにし
たがって、前記印刷データバッファに格納された印刷デ
ータを変換して1ページ毎の画像データを生成して前記
印刷装置に転送する画像データ生成、転送手段と、を有
することを特徴とする印刷制御装置。
1. A printing control apparatus for performing printing on a page basis and transferring image data on a page basis to a printing apparatus capable of printing on both front and back sides of a sheet-shaped print medium to perform double-sided printing or single-sided printing. A large-capacity print data storage means capable of storing a plurality of pages of print data; a print data buffer capable of storing at least one page of print data; and a print data storage means for storing print data from the print data storage means in response to a print command. A print data capturing unit for reading and storing the print data in the print data buffer; and when the print data capturing unit specifies double-sided printing for the print data stored in the print data buffer, the number of pages of the stored print data is determined. The number of pages to be calculated is different from the number of pages calculated by the number of pages calculated by the page number calculator. A print mode setting means for selecting and setting one of a plurality of double-sided print modes for performing double-sided printing in a page order or a single-sided print mode for performing single-sided printing of only one page; Image data generating and transferring means for converting print data stored in the print data buffer to generate image data for each page and transferring the image data to the printing apparatus according to the print mode. Printing control device.
【請求項2】 前記ページ数算出手段により算出された
ページ数が1ページの場合、前記印刷モード設定手段
は、1ページのみの片面印刷を行う印刷モードを設定す
ることを特徴とする請求項1に記載の印刷制御装置。
2. The print mode setting unit according to claim 1, wherein when the number of pages calculated by the page number calculation unit is one, the print mode setting unit sets a print mode for performing one-sided printing of only one page. 3. The print control device according to claim 1.
【請求項3】 前記ページ数算出手段により算出された
ページ数が2ページまたは3ページの場合、前記印刷モ
ード設定手段は、2ページ目、1ページ目のページ順序
で両面印刷を行う印刷モードを設定することを特徴とす
る請求項1または2に記載の印刷制御装置。
3. When the number of pages calculated by the number-of-pages calculating means is two or three, the print mode setting means sets a print mode for performing double-sided printing in the page order of the second page and the first page. The print control device according to claim 1, wherein the print control device is set.
【請求項4】 前記ページ数算出手段により算出された
ページ数が4ページまたは5ページの場合、前記印刷モ
ード設定手段は、2ページ目、4ページ目、1ページ
目、3ページ目のページ順序で両面印刷を行う印刷モー
ドを設定することを特徴とする請求項1から3までのい
ずれか1項に記載の印刷制御装置。
4. When the number of pages calculated by the page number calculating means is four or five, the print mode setting means sets the page order of the second page, the fourth page, the first page, and the third page. The print control apparatus according to claim 1, wherein a print mode for performing double-sided printing is set.
【請求項5】 前記ページ数算出手段により算出された
ページ数が6ページ以上の場合、前記印刷モード設定手
段は、前記印刷装置において3枚のシート状印刷媒体が
印刷処理、印刷面を切り換える処理、及び排出処理を並
行して受けることを可能とするページ順序で両面印刷を
行う印刷モードであって、前記ページ順序にしたがって
前記画像データ生成、転送手段により複数ページの画像
データの生成、転送を行う間に、前記印刷データバッフ
ァ内の画像データに変換した印刷データを削除し、前記
印刷データ記憶手段にまだ読み出していない印刷データ
があれば、印刷データ記憶手段から印刷データを読み出
して印刷データバッファに格納し、該格納後の印刷デー
タバッファ内の印刷データのページ数が2ページ以上な
ら前記ページ順序を追加して設定して両面印刷を4枚目
以降のシート状印刷媒体にも連続的に行う印刷モードを
設定することを特徴とする請求項1から4までのいずれ
か1項に記載の印刷制御装置。
5. When the number of pages calculated by the number-of-pages calculating means is six or more, the print mode setting means performs a process of switching between a printing process and a printing surface of three sheet-shaped print media in the printing apparatus. And a print mode in which double-sided printing is performed in a page order that enables the discharge process to be received in parallel. The image data generation and transfer unit generates and transfers image data of a plurality of pages according to the page order. During the execution, the print data converted to the image data in the print data buffer is deleted, and if there is any print data that has not been read out yet in the print data storage means, the print data is read out from the print data storage means and the print data buffer is read out. And if the number of pages of print data in the print data buffer after the storage is two or more, the page order is changed. The print control according to any one of claims 1 to 4, wherein a print mode for additionally setting and performing continuous printing on the fourth and subsequent sheet print media is set. apparatus.
【請求項6】 ページ単位で印刷を行いシート状印刷媒
体の表裏両面に印刷可能な印刷装置に対して画像データ
をページ単位で転送して両面印刷または片面印刷を行わ
せる印刷制御方法であって、 印刷命令に応じて、複数ページ分の印刷データを記憶可
能な大容量の印刷データ記憶手段から印刷データを読み
出し、少なくとも1ページ分の印刷データを記憶可能な
印刷データバッファに格納する印刷データ取り込み工程
と、 該印刷データ取り込み工程により前記印刷データバッフ
ァに格納された印刷データに関して両面印刷が指定され
た場合、該格納された印刷データのページ数を算出する
ページ数算出工程と、 該ページ数算出工程により算出されたページ数に応じ
て、それぞれ異なるページ順序で両面印刷を行う複数の
両面印刷モードのいずれか、または、1ページのみの片
面印刷を行う片面印刷モードを択一して設定する印刷モ
ード設定工程と、 該印刷モード設定工程により設定された印刷モードにし
たがって、前記印刷データバッファに格納された印刷デ
ータを変換して1ページ毎の画像データを生成して前記
印刷装置に転送する画像データ生成、転送工程と、 を有することを特徴とする印刷制御方法。
6. A printing control method in which image data is transferred in page units to a printing apparatus capable of printing in page units and capable of printing on both front and back sides of a sheet-shaped print medium to perform double-sided printing or single-sided printing. Reading print data from a large-capacity print data storage means capable of storing a plurality of pages of print data in accordance with a print command, and storing the print data in a print data buffer capable of storing at least one page of print data; A step of calculating the number of pages of the stored print data when double-sided printing is designated for the print data stored in the print data buffer in the print data capturing step; Multiple duplex printing modes that perform duplex printing in different page orders according to the number of pages calculated in the process. A print mode setting step of selectively setting a single-sided print mode for performing one-sided printing of only one page, and a print mode buffer stored in the print data buffer according to the print mode set in the print mode setting step. And B. converting the print data to generate image data for each page, and transferring the generated image data to the printing apparatus.
【請求項7】 前記ページ数算出工程により算出された
ページ数が1ページの場合、前記印刷モード設定工程で
は、1ページのみの片面印刷を行う印刷モードを設定す
ることを特徴とする請求項6に記載の印刷制御方法。
7. The print mode in which, when the number of pages calculated in the page number calculation step is one, in the print mode setting step, a print mode for performing one-sided printing of only one page is set. 3. The printing control method according to 1.
【請求項8】 前記ページ数算出工程により算出された
ページ数が2ページまたは3ページの場合、前記印刷モ
ード設定工程では、2ページ目、1ページ目のページ順
序で両面印刷を行う印刷モードを設定することを特徴と
する請求項6または7に記載の印刷制御方法。
8. When the number of pages calculated in the page number calculation step is two or three pages, the print mode setting step sets a print mode in which double-sided printing is performed in the page order of the second page and the first page. The printing control method according to claim 6, wherein the setting is performed.
【請求項9】 前記ページ数算出工程により算出された
ページ数が4ページまたは5ページの場合、前記印刷モ
ード設定工程では、2ページ目、4ページ目、1ページ
目、3ページ目のページ順序で両面印刷を行う印刷モー
ドを設定することを特徴とする請求項6から8までのい
ずれか1項に記載の印刷制御方法。
9. When the number of pages calculated in the page number calculation step is four or five pages, in the print mode setting step, the page order of the second page, the fourth page, the first page, and the third page 9. The print control method according to claim 6, wherein a print mode for performing double-sided printing is set.
【請求項10】 前記ページ数算出工程により算出され
たページ数が6ページ以上の場合、前記印刷モード設定
工程では、前記印刷装置において3枚のシート状印刷媒
体が印刷処理、印刷面を切り換える処理、及び排出処理
を並行して受けることを可能とするページ順序で両面印
刷を行う印刷モードであって、前記ページ順序にしたが
って複数ページの画像データの生成、転送を行う間に、
前記印刷データバッファ内の画像データに変換した印刷
データを削除し、前記印刷データ記憶手段にまだ読み出
していない印刷データがあれば、印刷データ記憶手段か
ら印刷データを読み出して印刷データバッファに格納
し、該格納後の印刷データバッファ内の印刷データのペ
ージ数が2ページ以上なら前記ページ順序を追加して設
定して両面印刷を4枚目以降のシート状印刷媒体にも連
続的に行う印刷モードを設定することを特徴とする請求
項6から9までのいずれか1項に記載の印刷制御方法。
10. When the number of pages calculated in the number-of-pages calculating step is six or more, in the printing mode setting step, a process of switching between a printing process and a printing surface of three sheet-shaped print media in the printing apparatus. And a print mode in which double-sided printing is performed in a page order that enables the discharge process to be received in parallel, and while generating and transferring image data of a plurality of pages in accordance with the page order,
Delete the print data converted to image data in the print data buffer, if there is print data not yet read in the print data storage means, read the print data from the print data storage means and store it in the print data buffer, If the number of pages of print data in the print data buffer after the storage is two or more, the print mode in which the page order is added and set and double-sided printing is continuously performed on the fourth and subsequent sheet-shaped print media is performed. The print control method according to claim 6, wherein the print control is set.
【請求項11】 前記画像データ生成、転送工程の後
に、 該工程により前記印刷データバッファ内の画像データに
変換された印刷データを削除する印刷データ削除工程
と、 前記印刷データ記憶手段から印刷データを全て読み出し
前記印刷データバッファに格納したか否かを判定する判
定工程を有し、 前記判定工程で前記印刷データ記憶手段から印刷データ
を全て読み出し前記印刷データバッファに格納したと判
定されるまで、前記印刷データ取り込み工程、ページ数
算出工程、印刷モード設定工程、画像データ生成、転送
工程、及び印刷データ削除工程を繰り返すことを特徴と
する請求項6から10までのいずれか1項に記載の印刷
制御方法。
11. A print data deleting step of deleting print data converted into image data in the print data buffer by the step after the image data generating and transferring step, and printing data from the print data storage means. A determination step of determining whether or not all of the print data has been read and stored in the print data buffer; and until the determination step determines that all of the print data has been read from the print data storage unit and stored in the print data buffer, The print control according to any one of claims 6 to 10, wherein a print data capturing step, a page number calculation step, a print mode setting step, image data generation, a transfer step, and a print data deletion step are repeated. Method.
【請求項12】 前記判定工程で前記印刷データ記憶手
段から印刷データを全て読み出し前記印刷データバッフ
ァに格納したと判定された場合、前記印刷データバッフ
ァ内に画像データに変換していない残りの印刷データが
あるか否か判定する工程と、 該工程により残りの印刷データがあると判定された場
合、前記残りの印刷データを変換して画像データを生成
して前記印刷装置へ転送する工程を有することを特徴と
する請求項11に記載の印刷制御方法。
12. In the determination step, when it is determined that all print data has been read from the print data storage unit and stored in the print data buffer, the remaining print data not converted to image data is stored in the print data buffer. Determining whether or not there is, and if the step determines that there is remaining print data, converting the remaining print data to generate image data and transferring the image data to the printing apparatus. The print control method according to claim 11, wherein:
【請求項13】 ページ単位で印刷を行いシート状印刷
媒体の表裏両面に印刷可能な印刷装置に対して画像デー
タをページ単位で転送して両面印刷または片面印刷を行
わせる印刷制御手順のプログラムを記憶したコンピュー
タにより読み取り可能な記憶媒体であって、 印刷命令に応じて、複数ページ分の印刷データを記憶可
能な大容量の印刷データ記憶手段から印刷データを読み
出し、少なくとも1ページ分の印刷データを記憶可能な
印刷データバッファに格納する印刷データ取り込み手順
と、 該印刷データ取り込み手順により前記印刷データバッフ
ァに格納された印刷データに関して両面印刷が指定され
た場合、該格納された印刷データのページ数を算出する
ページ数算出手順と、 該ページ数算出手順により算出されたページ数に応じ
て、それぞれ異なるページ順序で両面印刷を行う複数の
両面印刷モードのいずれか、または、1ページのみの片
面印刷を行う片面印刷モードを択一して設定する印刷モ
ード設定手順と、 該印刷モード設定手順により設定された印刷モードにし
たがって、前記印刷データバッファに格納された印刷デ
ータを変換して1ページ毎の画像データを生成して前記
印刷装置に転送する画像データ生成、転送手順と、のプ
ログラムを記憶したことを特徴とする記憶媒体。
13. A program for a print control procedure for transferring image data in page units to a printing apparatus capable of printing in page units and capable of printing on both front and back sides of a sheet-like print medium and performing double-sided printing or single-sided printing. A storage medium readable by a computer which reads print data from a large-capacity print data storage means capable of storing a plurality of pages of print data according to a print command, and stores at least one page of print data. A print data fetching procedure for storing the print data in the storable print data buffer; and, when double-sided printing is designated for the print data stored in the print data buffer by the print data fetching procedure, the number of pages of the stored print data is determined. According to the number-of-pages calculating procedure to be calculated, and the number of pages calculated by the number-of-pages calculating procedure, A print mode setting procedure in which one of a plurality of duplex printing modes for performing duplex printing in a different page order or a single-sided printing mode for performing single-side printing of only one page is set; and In accordance with the set print mode, a program for converting the print data stored in the print data buffer to generate image data for each page and transferring the image data to the printing apparatus is stored. A storage medium characterized by the following.
【請求項14】 前記ページ数算出手順により算出され
たページ数が1ページの場合、前記印刷モード設定手順
では、1ページのみの片面印刷を行う印刷モードを設定
することを特徴とする請求項13に記載の記憶媒体。
14. The printing mode setting step, wherein when the number of pages calculated by the page number calculating step is one, a print mode for performing one-sided printing of only one page is set in the print mode setting step. A storage medium according to claim 1.
【請求項15】 前記ページ数算出手順により算出され
たページ数が2ページまたは3ページの場合、前記印刷
モード設定手順では、2ページ目、1ページ目のページ
順序で両面印刷を行う印刷モードを設定することを特徴
とする請求項13または14に記載の記憶媒体。
15. When the number of pages calculated by the number-of-pages calculating step is two or three, the print mode setting step sets a print mode for performing double-sided printing in the page order of the second page and the first page. The storage medium according to claim 13, wherein the storage medium is set.
【請求項16】 前記ページ数算出手順により算出され
たページ数が4ページまたは5ページの場合、前記印刷
モード設定手順では、2ページ目、4ページ目、1ペー
ジ目、3ページ目のページ順序で両面印刷を行う印刷モ
ードを設定することを特徴とする請求項13から15ま
でのいずれか1項に記載の記憶媒体。
16. When the number of pages calculated by the number-of-pages calculating step is four or five, the print mode setting step sets the page order of the second page, the fourth page, the first page, and the third page. 16. The storage medium according to claim 13, wherein a print mode for performing double-sided printing is set.
【請求項17】 前記ページ数算出手順により算出され
たページ数が6ページ以上の場合、前記印刷モード設定
手順では、前記印刷装置において3枚の印刷媒体が印刷
処理、印刷面を切り換える処理、及び排出処理を並行し
て受けることを可能とするページ順序で両面印刷を行う
印刷モードであって、前記ページ順序にしたがって複数
ページの画像データの生成、転送を行う間に、前記印刷
データバッファ内の画像データに変換した印刷データを
削除し、前記印刷データ記憶手段にまだ読み出していな
い印刷データがあれば、印刷データ記憶手段から印刷デ
ータを読み出して印刷データバッファに格納し、該格納
後の印刷データバッファ内の印刷データのページ数が2
ページ以上なら前記ページ順序を追加して設定して両面
印刷を4枚目以降のシート状印刷媒体にも連続的に行う
印刷モードを設定することを特徴とする請求項13から
16までのいずれか1項に記載の記憶媒体。
17. When the number of pages calculated by the number-of-pages calculating step is six or more, the print mode setting step includes a process of printing three print media in the printing apparatus, a process of switching a print surface, and A print mode in which double-sided printing is performed in a page order that enables the discharge process to be received in parallel, and while generating and transferring a plurality of pages of image data in accordance with the page order, the print data buffer The print data converted to the image data is deleted, and if there is print data that has not been read out yet in the print data storage means, the print data is read out from the print data storage means and stored in the print data buffer, and the print data after the storage is stored. Number of pages of print data in buffer is 2
17. A print mode in which the page order is additionally set if the number of pages is equal to or more than one, and a printing mode in which double-sided printing is continuously performed on the fourth and subsequent sheet printing media is set. 2. The storage medium according to claim 1.
JP26910198A 1998-09-24 1998-09-24 Print control apparatus, print control method, and storage medium Expired - Fee Related JP3832979B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26910198A JP3832979B2 (en) 1998-09-24 1998-09-24 Print control apparatus, print control method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26910198A JP3832979B2 (en) 1998-09-24 1998-09-24 Print control apparatus, print control method, and storage medium

Publications (2)

Publication Number Publication Date
JP2000094803A true JP2000094803A (en) 2000-04-04
JP3832979B2 JP3832979B2 (en) 2006-10-11

Family

ID=17467691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26910198A Expired - Fee Related JP3832979B2 (en) 1998-09-24 1998-09-24 Print control apparatus, print control method, and storage medium

Country Status (1)

Country Link
JP (1) JP3832979B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006044028A (en) * 2004-08-04 2006-02-16 Ricoh Co Ltd Printer control device, printer control system, method of controlling printer, and recording medium containing program for practicing the method
JP2007008159A (en) * 2005-06-27 2007-01-18 Samsung Electronics Co Ltd Printer, method for controlling double-sided printing of printer, image forming apparatus, controller of image forming apparatus, and method for controlling image forming apparatus
JP2011134182A (en) * 2009-12-25 2011-07-07 Casio Electronics Co Ltd Print system
US8737905B2 (en) 2009-05-27 2014-05-27 Brother Kogyo Kabushiki Kaisha Image forming apparatus and driver
US8831458B2 (en) 2009-06-12 2014-09-09 Brother Kogyo Kabushiki Kaisha Image forming apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006044028A (en) * 2004-08-04 2006-02-16 Ricoh Co Ltd Printer control device, printer control system, method of controlling printer, and recording medium containing program for practicing the method
JP2007008159A (en) * 2005-06-27 2007-01-18 Samsung Electronics Co Ltd Printer, method for controlling double-sided printing of printer, image forming apparatus, controller of image forming apparatus, and method for controlling image forming apparatus
US8737905B2 (en) 2009-05-27 2014-05-27 Brother Kogyo Kabushiki Kaisha Image forming apparatus and driver
US8831458B2 (en) 2009-06-12 2014-09-09 Brother Kogyo Kabushiki Kaisha Image forming apparatus
JP2011134182A (en) * 2009-12-25 2011-07-07 Casio Electronics Co Ltd Print system

Also Published As

Publication number Publication date
JP3832979B2 (en) 2006-10-11

Similar Documents

Publication Publication Date Title
US7233403B2 (en) Print control method and apparatus
US8498011B2 (en) Image forming apparatus and control method for dynamically adjusting rendering speed and printing speed
JP2000025277A (en) Method and apparatus for controlling printing
JP4328823B2 (en) Information processing apparatus, control method, and storage medium storing computer-readable control program
EP0691584B1 (en) Image forming apparatus with priority interrupt control
JP3639685B2 (en) Printing apparatus and printing control method
JPH0879417A (en) Image forming device
JPH08262814A (en) Printer
JP3832979B2 (en) Print control apparatus, print control method, and storage medium
JP2000094800A (en) Image forming apparatus, image forming system, and computer-readable storage medium storing image forming program
JP3814410B2 (en) Printing control apparatus and method
JP2000137798A (en) Device and method for image input and output, and image processing system
JP2002144670A (en) Imaging system, its post-processing method and storage medium
JP4475619B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium
JP5651963B2 (en) Printing system, control method therefor, and program
JP3774562B2 (en) Printing control apparatus and method
JP2001105668A (en) Image output apparatus and control method thereof
JP3386039B2 (en) Printing equipment
JP2004185106A (en) Information processor
JP2006302036A (en) Color processing mode switching method, information processor implementing the method, and control program thereof
JPH10285388A (en) Image output system/method and storage medium
JPH11127288A (en) Image forming device, its method and memory medium
JP2003058331A (en) Device and method for controlling printing
JP2003246122A (en) Imaging apparatus
JP2007274401A (en) Image management system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041215

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060711

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060718

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090728

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110728

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120728

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120728

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130728

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees