JP2008186164A - Data processing apparatus, image forming apparatus and image forming system - Google Patents
Data processing apparatus, image forming apparatus and image forming system Download PDFInfo
- Publication number
- JP2008186164A JP2008186164A JP2007018068A JP2007018068A JP2008186164A JP 2008186164 A JP2008186164 A JP 2008186164A JP 2007018068 A JP2007018068 A JP 2007018068A JP 2007018068 A JP2007018068 A JP 2007018068A JP 2008186164 A JP2008186164 A JP 2008186164A
- Authority
- JP
- Japan
- Prior art keywords
- page
- command
- paper feed
- paper
- 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.)
- Withdrawn
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明はインクジェットプリンタ等の印刷装置を使用して印刷データを可視像として印刷処理するものであって、特定のデータ処理装置から送られてくる印刷データを印刷可能な印刷システムに関する。 The present invention relates to a printing system that prints print data as a visible image using a printing apparatus such as an inkjet printer, and that can print print data sent from a specific data processing apparatus.
データ処理装置から送られてくる印刷コマンドを、印刷用紙上に可視像として印刷処理する印刷装置にはインクジェット方式や電子写真方式の装置がある。 As a printing apparatus that prints a print command sent from a data processing apparatus as a visible image on a printing paper, there are an inkjet type apparatus and an electrophotographic type apparatus.
電子写真方式では均一帯電された感光体上に1ページ分のイメージデータに応じた光の像を照射するために、半導体レーザを印刷コマンドに応じてON−OFF駆動制御して、レーザビームによる光像を上記感光体表面に照射させて静電潜像を形成する。潜像を可視像とするために着色剤であるトナーにて現像し、現像したトナー像を印刷用紙上に転写するようにして印刷処理を行うものである。電子写真方式による印刷装置はページプリンタとして、1ページ分のイメージデータを表現する印刷コマンドに対して印刷処理を実行する。 In the electrophotographic system, a laser beam is controlled by ON / OFF driving according to a print command in order to irradiate a uniformly charged photoconductor with a light image corresponding to image data for one page. An electrostatic latent image is formed by irradiating the surface of the photoreceptor with an image. In order to make the latent image a visible image, development is performed with toner that is a colorant, and printing processing is performed so that the developed toner image is transferred onto a printing paper. As a page printer, an electrophotographic printing apparatus executes print processing for a print command representing image data for one page.
ページプリンタに対して、1ライン毎、又は複数ライン毎にイメージデータを可視像として直接印刷用紙上に印刷処理するラスタプリンタ方式がある。このラスタプリンタは1ページ分のイメージデータを入力しなくても必要なライン分のイメージデータが印刷コマンドとして入力されれば印刷処理を実行できる。そのため印刷コマンドを複数ページに渡って記憶しておくページメモリを備えなくても、ラスタメモリを備えるだけで印刷処理を実行できる。従ってラスタプリンタはメモリ容量を極力少なくすることが可能であり、同時に直接印刷用紙に印刷処理を実行できるため小型化が可能となり、低コスト化を実現可能となる。このようなプリンタとして、インクジェット方式による装置がある。 For page printers, there is a raster printer system that prints image data as a visible image directly on a print sheet for each line or for each of a plurality of lines. This raster printer can execute print processing if image data for a necessary line is input as a print command without inputting image data for one page. Therefore, even if a page memory for storing a print command over a plurality of pages is not provided, a printing process can be executed only by providing a raster memory. Therefore, the raster printer can reduce the memory capacity as much as possible, and at the same time can directly execute the printing process on the printing paper, so that the size can be reduced and the cost can be reduced. As such a printer, there is an ink jet apparatus.
インクジェット方式は、少なくともインクを吐出するオリフィスを備えるインクジェットヘッドを印刷用紙の送り方向と直交する方向に記録走査させることで、印刷用紙上にインクによるドット(画素)を直接形成して可視像を得る。このようなラスタプリンタにおいてはプリンタ自身がラスタメモリを有しているが、1ページ分の印刷コマンドを保持することが出来ないため、印刷中の或る時点において次のページの印刷コマンドが存在するかどうかを判断できない。そのため次のページの印刷用紙を事前に決められた位置に先行給紙しておくことはできない。 In the inkjet method, at least an ink jet head having an orifice for ejecting ink is recorded and scanned in a direction orthogonal to the feeding direction of the printing paper, so that dots (pixels) are directly formed on the printing paper to form a visible image. obtain. In such a raster printer, the printer itself has a raster memory. However, since the print command for one page cannot be held, the print command for the next page exists at a certain point during printing. I can not judge whether or not. For this reason, the printing paper for the next page cannot be fed in advance to a predetermined position.
つまり複数枚の印刷用紙への印刷処理を実行する場合、先の印刷用紙の印刷処理が完了した後に次の印刷用紙を印刷処理する時、その印刷用紙の先行給紙を事前に行えなくなる。これは先の印刷用紙への印刷処理を完了した後に次の印刷用紙に対して連続印刷を行うために、次の印刷用紙の給紙は次の印刷コマンドが送られてきた時点で行われるためである。よって複数枚の印刷用紙への連続印刷を行いたい場合には印刷用紙の排紙と給紙の間隔が長くなる。その結果、印刷処理のスループットが低下する。 That is, when printing processing on a plurality of printing papers is performed, when the next printing paper is printed after the printing processing of the previous printing paper is completed, the preceding paper feeding of the printing paper cannot be performed in advance. This is because continuous printing is performed on the next printing paper after completing the printing process on the previous printing paper, and the next printing paper is fed when the next printing command is sent. It is. Therefore, when continuous printing on a plurality of printing papers is desired, the interval between printing paper discharge and paper feeding becomes longer. As a result, the throughput of the printing process is reduced.
ページプリンタにおいては、送られてくる印刷コマンドを全て印刷装置側で記憶するようにしておけば印刷処理を実行する段階で先の印刷用紙への印刷処理を実行中に、次の印刷用紙への連続印刷が存在することを把握できる。これにより次の印刷用紙については事前に決められた位置へ先行給紙しておくことが可能となり、次の印刷用紙への印刷開始までの処理時間が短縮される。電子写真方式のページプリンタにおいては、この手法を用いてデータ処理装置から転送されてくる印刷コマンドを保持し、印刷用紙の先行給紙を印刷処理の実行中に行えるようにしたものがある。 In the page printer, if all the print commands sent are stored on the printing device side, the printing process to the next printing paper is executed during the printing process to the previous printing paper at the stage of executing the printing process. It can be understood that continuous printing exists. As a result, the next printing paper can be fed in advance to a predetermined position, and the processing time until the start of printing on the next printing paper is shortened. Some electrophotographic page printers use this technique to hold print commands transferred from a data processing apparatus so that advance feeding of printing paper can be performed during execution of printing processing.
上記のページプリンタでは、データ処理装置から送られてくる少なくとも2ページ分に相当する印刷コマンドを事前に記憶できる程度のメモリを予め設けておくことで印刷処理する枚数等を把握し、これにより次の印刷用紙を定位置へと事前に送り込むことが可能となる。これにより次の印刷用紙への印刷処理に要する時間を短縮でき、結果として全ての印刷コマンドの処理する時間を短縮できる。 In the above page printer, the number of sheets to be printed is grasped by providing in advance a memory capable of storing print commands corresponding to at least two pages sent from the data processing apparatus. It is possible to send the printing paper to a fixed position in advance. As a result, the time required for the printing process on the next printing paper can be shortened, and as a result, the time for processing all the print commands can be shortened.
一方、インクジェット方式等のメモリ容量を極力少なくしプリンタの低コスト化を実現しているラスタプリンタでは、データ処理装置から送られてくる少なくとも2ページに分に相当する印刷コマンドを事前に記憶できる程度のメモリを印刷装置側に予め設けることはできない。そのため複数枚の印刷用紙の連続印刷を行うような場合、1枚の印刷用紙への印刷処理が完了し、その印刷用紙の排出処理を行うとき、次の印刷用紙への印刷のための印刷コマンドが転送されてきて、始めて次の印刷用紙を定位置へと送り込み、印刷処理を実行するタイミングに合わせて定位置の印刷用紙の搬送を開始し、印刷処理を実行する制御をその都度繰返すことになる。このような少ないメモリでも連続印刷をできるようにするために、データ処理装置において生成した印刷コマンドを解析し、印刷コマンド中に次ページのコマンドが存在すれば先ページのヘッダ部分に次の印刷用紙を給紙する先行給紙コマンドを挿入することで、次の印刷用紙への連続印刷が存在することをプリンタに通知する手法が考えられている(例えば、特許文献1および特許文献2参照。)。
しかしながら、上記の技術では以下のような問題があった。印刷装置のメモリ容量が少ないため、データ処理装置において、作成したイメージデータから印刷コマンドを生成した後に生成した印刷コマンドを解析し、次のページの印刷コマンドの存在を確認した後に、先のページの印刷コマンドのヘッダ部分に先行給紙コマンドを挿入する。このため、データ処理装置には印刷コマンドを生成した後に一時的に最低2ページ分の印刷コマンドを保持できるメモリ空間を確保して、印刷コマンドの解析処理を行う必要があった。あるいはハードディスクドライブ等の二次記憶装置に生成した印刷コマンドを記録するならば、常に次のページのヘッダが存在するかどうかを確認するので結果的に全てのページの印刷コマンドが記録されることになる。 However, the above technique has the following problems. Since the memory capacity of the printing device is small, the data processing device analyzes the generated print command after generating the print command from the created image data, confirms the existence of the print command for the next page, A preceding paper feed command is inserted in the header portion of the print command. For this reason, it is necessary to secure a memory space that can temporarily hold a print command for at least two pages after the print command is generated in the data processing apparatus and perform the analysis process of the print command. Alternatively, if the generated print command is recorded in a secondary storage device such as a hard disk drive, it is always checked whether the header of the next page exists, so that the print command for all pages is recorded as a result. Become.
このようにラスタプリンタが搭載するメモリ容量は少なくて済む一方、上位装置であるデータ処理装置では、印刷時に一時的に大きいメモリ空間を必要とし、かつ印刷コマンドの生成と並行して生成した印刷コマンドの解析処理を行うのでデータ処理装置の中央演算処理装置(CPU)に多大な負荷がかかる。あるいはデータ処理装置のCPUの負荷を少なくするためにはハードディスクドライブなどの二次記憶装置に生成した全ての印刷コマンドを一時的に格納し、印刷コマンドの生成が終了してから解析を開始することになるので、印刷コマンドの生成開始から実際に印刷が始まるまでの時間差がイメージデータの量に従って大きくなる。さらに一つの印刷データに対して複数回の印刷コマンドを発行し複数部数の印刷を実行する場合では、印刷コマンドの量は部数にほぼ比例して増加する。しかしながら作成した印刷コマンドの全てを解析し、次のページの有無を判定し先行給紙コマンドを挿入するのは非常に無駄である。 As described above, the raster printer has a small memory capacity. On the other hand, the data processing apparatus, which is a host device, requires a temporarily large memory space at the time of printing, and the print command generated in parallel with the generation of the print command. Therefore, a great load is applied to the central processing unit (CPU) of the data processing apparatus. Alternatively, in order to reduce the load on the CPU of the data processing device, all print commands generated in a secondary storage device such as a hard disk drive are temporarily stored, and analysis is started after generation of the print command is completed. Therefore, the time difference from the start of print command generation to the actual start of printing increases according to the amount of image data. Further, when a plurality of print commands are issued for one print data and a plurality of copies are executed, the amount of print commands increases almost in proportion to the number of copies. However, it is very wasteful to analyze all the created print commands, determine the presence or absence of the next page, and insert the preceding paper feed command.
また、複数の給紙口を有するプリンタにおいては、連続したページ間で使用する給紙口を変更するような印刷設定がなされた場合、直前の給紙方法において先行給紙を行なってしまうと、給紙方法の変更をするために先行給紙した印刷用紙を白紙で排紙する、あるいは給紙口に先行給紙した用紙をバックフィードするなどの余計な動作が発生する。特に白紙排紙してしまう場合では印刷結果の印刷用紙中に白紙が混ざることになり問題となってしまう。さらに、複数備えられた給紙口のうち少なくとも一つの給紙口に対して用紙のサイズを事前に登録しておき、印刷に使用する用紙のサイズが事前に登録した給紙口の用紙サイズと一致する場合には給紙方法を該給紙口に変更して印刷を行う、所謂『用紙割り当て』機能を提供するものがある。このような『用紙割り当て』に従う給紙方法を選択した場合、連続したページ間で用紙のサイズが変わることにより、使用すべき給紙口が変化し、直前の給紙方法において先行給紙を行う手法では上述したような問題がおき、不都合を生じる結果となってしまう。 Further, in a printer having a plurality of paper feed ports, if a print setting is made to change the paper feed port used between consecutive pages, if the preceding paper feed is performed in the immediately preceding paper feed method, In order to change the paper feeding method, an extra operation such as discharging the previously fed printing paper as a white paper or back feeding the paper previously fed to the paper feeding port occurs. In particular, when white paper is discharged, white paper is mixed in the printing paper as a printing result, which causes a problem. Furthermore, the paper size is registered in advance for at least one of the plurality of paper supply ports, and the paper size used for printing is the same as the paper size of the paper supply port registered in advance. Some of them provide a so-called “paper allocation” function in which the paper feeding method is changed to the paper feeding port when printing matches, and printing is performed. When a paper feed method according to such “paper assignment” is selected, the paper feed port to be used changes as the paper size changes between consecutive pages, and the preceding paper feed is performed in the immediately preceding paper feed method. In the method, the above-mentioned problems occur, resulting in inconvenience.
このような問題を回避するために、直前のページと使用する給紙口が変更された場合や次ページの給紙口が特定できない場合には先行給紙を行わないような工夫がなされているが、先行給紙を行うことによるスループット向上の効果が低減してしまう。 In order to avoid such a problem, when the paper feed port to be used with the previous page is changed or when the paper feed port of the next page cannot be specified, a contrivance is made so that the preceding paper feed is not performed. However, the effect of improving the throughput due to the preceding paper feeding is reduced.
本発明は上記従来の問題点に鑑み、複数の給紙口を有するプリンタにおいて、連続印刷処理を行う時に上述した時間差を無くし印刷時間の短縮を可能にしてスループットを向上させつつ、かつ部数印刷も考慮し、データ処理装置にかかる負荷を少なくする、大容量メモリを持たないラスタプリンタ等の印刷装置とイメージデータから印刷コマンドを生成するデータ処理装置とを含む印刷システムを提供することを目的とする。 In view of the above-described conventional problems, the present invention eliminates the above-described time difference when performing continuous printing processing in a printer having a plurality of paper feed ports, enables a reduction in printing time, and improves the throughput, and also allows the number of copies to be printed. In view of the above, an object of the present invention is to provide a printing system that includes a printing device such as a raster printer that does not have a large-capacity memory and a data processing device that generates a print command from image data. .
さらには、連続したページ間で使用される給紙口が変更された場合であっても、適切な給紙口から先行給紙を行うことでスループットを向上させることを目的とする。また、少なくとも一つの給紙口に対して使用する用紙サイズを割り当てるプリンタにおいても、同様に適切な給紙口から先行給紙を行うことでスループットを向上させることを目的とする。 Furthermore, it is an object of the present invention to improve throughput by performing preceding paper feeding from an appropriate paper feeding port even when the paper feeding port used between consecutive pages is changed. Another object of the present invention is to improve the throughput of a printer that assigns a paper size to be used for at least one paper feed port by similarly performing advance paper feed from an appropriate paper feed port.
上記目的を達成するために、本発明は印刷装置側で次の印刷用紙に対する先行給紙を事前に行うことができるように、印刷コマンドを送るデータ処理装置側で先行給紙を可能とするためのデータ処理を行う。 In order to achieve the above object, the present invention makes it possible for the data processing apparatus sending the print command to perform the preceding feeding so that the preceding feeding for the next printing sheet can be performed in advance on the printing apparatus side. Data processing is performed.
そのために本発明は以下のような構成を有する。印刷データを送信するデータ処理装置と、上記データ処理装置から送られてくる印刷コマンドに応じて印刷用紙に可視像を形成する印刷装置とを含む印刷システムで、上記データ処理装置は印刷する先の印刷用紙に対応する印刷コマンド中に次の印刷用紙の印刷コマンドの存在と用紙を給紙すべき給紙口を示す先行給紙コマンドを付加し、上記印刷コマンドに付加した先行給紙コマンドを含めて上記印刷装置へと送信し、上記印刷装置は印刷コマンドと共に送信されてきた先行給紙コマンドの存在を認識すると共に認識結果に応じて印刷を実行する印刷用紙の先行給紙を行うか否かを制御するようにし、先行給紙を行う場合には上記先行給紙コマンドで指定された給紙口から印刷用紙の先行給紙を行い、上記データ処理装置のプリンタドライバには、印刷の設定を行う印刷設定処理部と、上記印刷設定処理部の印刷設定に従ったイメージデータを印刷コマンド形式で発行するイメージデータ生成部からなり、上記イメージデータ生成部はアプリケーションが生成したページの印刷データからイメージデータを含む印刷コマンドを発行すると同時に任意のタイミングで前記先行給紙コマンドを発行する構成にした。 Therefore, the present invention has the following configuration. A printing system including a data processing device that transmits print data and a printing device that forms a visible image on printing paper in response to a print command sent from the data processing device. In the print command corresponding to the print paper, the presence of the print command for the next print paper and the preceding paper feed command indicating the paper feed port to which the paper is to be fed are added, and the preceding paper feed command added to the print command is added. Whether or not the printing apparatus recognizes the presence of the preceding paper feeding command transmitted together with the printing command and performs the preceding paper feeding of the printing paper to be printed according to the recognition result. In the case of performing the pre-feed, the pre-feed of the print paper is performed from the paper feed port designated by the pre-feed command, and the printer driver of the data processing apparatus is controlled. Includes a print setting processing unit that performs print settings, and an image data generation unit that issues image data according to the print settings of the print setting processing unit in a print command format. The image data generation unit is generated by an application. The preceding paper feed command is issued at an arbitrary timing at the same time when a print command including image data is issued from the print data of the printed page.
また、上記任意のタイミングをイメージデータのラスタに対応する印刷コマンドの間として先行給紙コマンドを発行する構成にした。 Further, the preceding paper feed command is issued with the arbitrary timing as a print command corresponding to the raster of the image data.
また、上記印刷設定処理部により複数部数の設定がなされかつ部単位印刷の設定がされて、同一ページの印刷コマンドを複数回発行する場合は、設定された部数の最終回以外は先行給紙コマンドを発行し、最終回のみ上記アプリケーションにより作成された次ページの印刷データの存在を判断し印刷コマンド発行を制御する構成とした。 In addition, when a plurality of copies are set by the print setting processing unit and copy printing is set, and a print command for the same page is issued a plurality of times, the preceding paper feed command is used except for the final set number of copies. The print command issuance is controlled by determining the presence of the print data of the next page created by the application only the last time.
また、上記印刷設定処理部により印刷用紙を給紙する給紙手段が設定され、アプリケーションの文書のページ単位で設定されている上記給紙手段を上記イメージデータ生成部で判断し、上記先行給紙コマンドを発行する条件として上記給紙手段の情報を用いる構成とした。 Further, a paper feeding unit for feeding printing paper is set by the print setting processing unit, and the image data generating unit determines the paper feeding unit set for each page of the application document, and the preceding paper feeding is performed. The information of the sheet feeding means is used as a condition for issuing a command.
上記構成により本発明によれば以下のような効果が得られる。 With the above configuration, the following effects can be obtained according to the present invention.
(1)プリンタドライバが作成した印刷コマンドの全体を解析し、印刷コマンドの作成後に先行給紙コマンドを挿入する必要がなくなり、あるページについて印刷コマンド発行中に、任意のタイミングで次ページのための先行給紙コマンドを発行することができる。 (1) The entire print command created by the printer driver is analyzed, and there is no need to insert a preceding paper feed command after creating the print command. A preceding paper feed command can be issued.
(2)プリンタドライバが作成した印刷コマンドの全体を、ハードディスクドライブのような二次記憶装置に格納する必要がなくなる。 (2) It is not necessary to store the entire print command created by the printer driver in a secondary storage device such as a hard disk drive.
(3)プリンタドライバが作成した印刷コマンドのうち少なくとも連続した2ページ分の印刷コマンドを格納するだけのメモリ容量を必要としない。 (3) A memory capacity sufficient to store at least two continuous print commands of print commands created by the printer driver is not required.
(4)プリンタドライバが印刷コマンド生成と同時に、作成した印刷コマンドの解析を行う必要が無いのでデータ処理装置の負荷が軽減される。 (4) Since it is not necessary for the printer driver to analyze the generated print command simultaneously with the generation of the print command, the load on the data processing apparatus is reduced.
(5)部数設定や部単位設定が設定されている印刷に関しても、効率良く先行給紙コマンドを発行することができる。 (5) It is possible to efficiently issue a preceding paper feed command for printing in which the number of copies setting or the unit setting is set.
(6)先行給紙コマンドで先行給紙を行う物理的な給紙口を指定するため、複数の給紙口を備えたプリンタでジョブの途中で使用する給紙口が変わる場合であっても、先行給紙コマンドで指定された給紙口から先行給紙を行うことができるため、スループットの向上を図ることができる。 (6) Even when the paper feed port used in the middle of the job is changed in a printer having a plurality of paper feed ports because the physical paper feed port for performing the preceding paper feed is specified by the preceding paper feed command. Since the preceding sheet feeding can be performed from the sheet feeding port designated by the preceding sheet feeding command, the throughput can be improved.
以下、図面に示す実施例に基づき本発明を詳細に説明する。尚、以下において、USBとはユニバーサルシリアルバス(Universal Serial Bus)の略であり、双方向通信が可能な公知のインタフェースであるので、その詳細説明は省略する。 Hereinafter, the present invention will be described in detail based on embodiments shown in the drawings. In the following description, USB is an abbreviation for Universal Serial Bus, and is a known interface capable of bidirectional communication, and thus detailed description thereof is omitted.
(第一実施形態)
<印刷システムの構成>
図1は、本発明の実施の一形態に係る印刷システムの構成を示すブロック図である。プリンタ101は、画像形成を行うインクジェット方式の印刷装置であり、後述するデータ処理装置102で生成された印刷コマンドに基づいて画像の形成を行う。印刷装置の種類については特に問わないが、ここではインクジェット方式のカラープリンタを想定している。プリンタ101は、各種機能ブロック110〜113、120〜125によって構成される。データ処理装置102は、アプリケーションソフトが印刷ジョブを作成し、プリンタドライバが印刷ジョブの印刷命令からイメージデータを作成し、接続されたプリンタ101の印刷動作を制御する印刷コマンドの生成を行う。本実施形態ではデータ処理装置102としてパーソナルコンピュータを用いている。印刷の設定に関するユーザーからの指示や入力を受ける役割も果たす。データ処理装置102は、各種機能ブロック130〜133、140〜143によって構成される。また、データ処理装置102には、データ処理装置102を制御するオペレーティングシステム(以降、OSと略す)として、Microsoft(登録商標) Windows(登録商標) XPが組み込まれており、このOS上で各種機能ブロックが動作する。通信インターフェース103は、データ処理装置102とプリンタ101を接続する通信インタフェースである。本実施形態ではシリアルインタフェースであるUSBを用いているが、この他に、IEEE1394、Ethernet(登録商標)、IrDA、IEEE802.11、電力線などのシリアルインターフェースや、セントロニクス、SCSIなどのパラレルインタフェースを利用することもできる。通信を実現するものであれば有線/無線を問わずどのようなインタフェースであっても構わない。このように、本実施形態における印刷システムとは、単体の装置ではなく、データ処理装置102と画像形成を行うプリンタ101とが特定の双方向インタフェースで接続された構成をとっているが、この例に限られることなく、このようなデータ処理装置とプリンタの機能が一体となった装置一体型の印刷システムであってもよい。尚、プリンタ101及びデータ処理装置102とも本実施形態の特徴を説明する上で特に必要ないと思われる機能については省略する。
(First embodiment)
<Configuration of printing system>
FIG. 1 is a block diagram showing a configuration of a printing system according to an embodiment of the present invention. The
印刷制御部110は、データ処理装置102から送信されてきた印刷コマンドを受けて印刷部120の印刷動作の制御を行う。印刷部120は記録媒体100を搬送したり、記録媒体100に印刷を行うための部分である。記録媒体100は、一般に印刷用紙と呼ばれ、プリンタ101に備え付けられた給紙トレイやカセットなどに積載されているものとする。ヘッド制御部111はヘッド駆動部121の動作の制御を行ない、ヘッドのオリフィスよりインクを吐出させる。フィード制御部112は記録媒体100をプリンタ101に備えつけられた給紙トレイや給紙カセットから1枚ずつ給紙し、搬送路上の定位置を経由し印刷可能位置に搬送し、ラスタの印刷とともに排紙動作を行うために用紙搬送部123の制御を行う。画像形成部113は、データ処理装置102から発行された印刷コマンドに含まれるイメージデータを展開する。印刷制御部110には、印刷制御部110による制御動作の作業領域や、イメージデータの展開、受信した印刷コマンドの保存のためにメモリが用意されており、そのメモリが画像形成部113により使用される。
The print control unit 110 receives the print command transmitted from the
このように印刷制御部110は印刷コマンドに含まれる印刷制御用のコマンドに従ってプリンタエンジンの制御を総合的に行う。具体的には、印刷制御部110はCPUにより制御用手順を記述したプログラムを実行することで実現できる。また、印刷制御用のコマンドとしては、印刷用の量子化されたイメージデータ(2値あるいは2値化前の中間データ)とインクの打ち込み量、パス数、印刷方向及び用紙の搬送量を制御する各種コマンド、および、後述する入力操作部131で設定される用紙種類指示で構成されるコマンドが使用される。ヘッド駆動部121は、印刷制御部110で展開された印刷コマンドのイメージデータに基づき記録媒体100に対して印刷を行う。プリンタ101はインクジェット方式のプリンタであるため、インクの吐出によって画像形成を行う。用紙ピックアップ部122は給紙トレイや給紙カセットに積載されている記録媒体100を搬送路に乗せる動作を行う。用紙搬送部123は用紙ピックアップ部により搬送路に乗せられた記録媒体100を搬送路に沿って定位置を経由し排紙までの搬送動作を行う。用紙検知センサ124は、搬送路途中に設置されており、搬送されている記録媒体100の端部を検出し、記録媒体100が搬送路中の定位置にあることを確認することができる。I/F制御部125は、プリンタ101のインタフェース機能を司るI/F制御部である。本実施形態では用いているインタフェースがUSBであるため、USBの周辺機器側のコントローラによって構成される。I/F制御部125では用紙情報の送信や印刷コマンドの受信などが行われる。また、I/F制御部125は、プリンタ本体で発生したエラーや通信状態などステータス情報に関しても要求があればデータ処理装置102に対して返却する。
As described above, the print control unit 110 comprehensively controls the printer engine in accordance with the print control command included in the print command. Specifically, the print control unit 110 can be realized by executing a program describing a control procedure by the CPU. The print control command controls the quantized image data for printing (binary or intermediate data before binarization), the ink ejection amount, the number of passes, the printing direction, and the paper conveyance amount. Various commands and commands composed of paper type instructions set by the
中央制御部141は、データ処理装置102の各種機能を制御し、CPUの持つ機能がこれに該当する。入力操作部142は、ユーザーの意図を印刷設定に反映させるための各種入力機器から構成される。設定情報通知部143は、印刷設定をユーザーに通知する。通知方法としては、モニタなどの表示装置を使用する場合や音声による通知などが考えられる。I/F制御部140は、データ処理装置102のインタフェース機能を司る。I/F制御部140はUSBのホスト側のコントローラによって構成され、USBホストとしての機能を有する。USBホストとしての機能の一部はOSやドライバなどソフトウェアによっても構成される。プリンタドライバ130は、印刷のための各種設定や印刷データの生成及びプリンタの制御をデータ処理装置102上で行うためのソフトウェアである。中央制御部141(すなわちパーソナルコンピュータのCPU)によりプリンタドライバのプログラムが実行されて、印刷設定処理部131やイメージデータ生成部132、データ通信処理部133などの機能が実現される。印刷設定処理部131は、用紙の設定や印刷品位の設定などを含む各種印刷設定を行う。印刷設定処理部131は、ユーザーからの指示や入力を受け付け、設定された内容を表示もしくは通知する機能を有する。イメージデータ生成部132は、アプリケーションにより作成された印刷ジョブの印刷データからイメージデータを作成して印刷コマンドを生成する。イメージデータ生成部132で作成された印刷ジョブの印刷コマンドは、データ通信処理部133を介してI/F制御部140に送られ、プリンタ101へ印刷コマンドが送られる。
The
<プリンタドライバの動作>
図11は本実施形態におけるプリンタドライバ130の動作の概念図である。データ処理装置102では、印刷するための文書を作成するアプリケーション1110が動作する。アプリケーション1110で文書が作成され、作成された文書の印刷処理を行うにあたり、アプリケーション1110はOSの印刷機能を介してプリンタドライバ130の印刷設定処理部131により、図3を参照して後述する様々印刷設定を行うことが可能である。アプリケーション1110は最初に文書の印刷処理を開始する。そして各ページにおいてページの印刷処理を開始し、文書のページ内に含まれるデータを印刷データとしてOSの印刷機能を介してスプールファイル1111に格納し、各ページにおいてページの印刷処理を終了する。以上の各ページの処理を印刷する文書のページに対して行なった後、文書の印刷処理を終了する。このようにしてアプリケーション1110で作成された文書は印刷データの形式でスプールファイル1111に格納される。ここでアプリケーション1110が文書の印刷処理の開始/終了、ページの印刷処理の開始/終了を行うタイミングで、文書あるいはページの開始/終了の通知がOSの印刷機能によりプリンタドライバ130に報告される。スプールファイル1111は、OSの一部として提供される機能を利用することができる。
<Printer driver operation>
FIG. 11 is a conceptual diagram of the operation of the
プリンタドライバ130のイメージデータ生成部132はスプールファイル1111に格納された印刷データから印刷するイメージデータを作成し、作成したイメージデータをプリンタ101が解釈可能な印刷コマンドに変換する。イメージデータ生成部132により作成された印刷コマンドはデータ通信処理部133を介し、データ処理装置102とプリンタ101を結ぶI/F103を介してプリンタ101に送信される。プリンタ101は受信した印刷コマンドにより制御され記録媒体100にイメージデータを可視像として形成する。
The image
<印刷設定画面>
図2、図3は本実施形態における印刷モードや各種用紙設定を行う際に表示される印刷設定ダイアログの一例を示す図である。図2において、印刷設定ダイアログ301は、表示エリア302〜311、320〜331から構成される。印刷設定では表示する項目が非常に多いため、タブシートを使用して設定項目を内容ごとに分けて見やすい構成にするのが通例である。本実施形態でもタブを使用する。同様に図3においては、表示エリア302〜311、340〜353から構成される。基本設定タブ302では、印刷の基本に関する内容を表示する。ページ設定タブ303は、用紙の大きさ、印刷方向、印刷レイアウト(N−up)などの各種ページ設定に関する内容を表示する。これらのタブにおける詳細については後述する。スタンプ/背景タブ304は、印刷文書に対して文字を重ねるスタンプ機能や、画像を重ねる背景機能という、印刷文書を変更することなしに印刷時に付加するパターンの選択画面を表示する。特殊効果タブ305は、各種画像補整やセピア調など特殊な効果を画像に与える場合に使用する機能の選択画面を表示する。お気に入りタブ306は頻繁に使用する印刷設定などの保存と呼び出し機能を選択させる画面を表示する。ユーティリティタブ307は、ヘッドの調整やクリーニングなどの機能の選択画面を表示する。図4は一つの給紙方法に対して使用する用紙の種類と用紙のサイズを割り当てるための用紙割り当てダイアログの一例を示す図であり、用紙割り当てダイアログ360は、表示エリア361〜366から構成される。これらのダイアログは設定に関する内容を表示するとともに、同時にユーザーによる上記設定内容の変更指示や入力を受け付ける。
<Print setting screen>
2 and 3 are views showing an example of a print setting dialog displayed when the print mode and various paper settings are performed in the present embodiment. In FIG. 2, the
図2に基本設定タブ302が選択された場合の表示例を示す。基本設定の簡易表示エリア320には、文字情報だけでなく視覚に訴える形で設定された情報を表示する。プリントアドバイザ321が選択されると、利用者により印刷設定を適切に入力させるために、印刷目的から最適な印刷設定を段階的に導く機能を持つサブダイアログを表示する。用紙種類選択部322は、用紙の種類を表示するとともに利用者により選択させることができる。用紙種類選択部322はドロップダウンメニューとなっており普段は選択されている用紙の種類が表示され、そこをクリックすることで選択可能な用紙種類がリスト表示される。選択可能な用紙の種類はプリンタで印刷可能な用紙であり、図示されている普通紙の他にも例えば光沢紙、コート紙、写真専用紙、ハガキ、年賀状葉書等が含まれる。給紙方法選択部323は、プリンタ本体が用紙を給紙する給紙方法を表示し、利用者による給紙方法の選択をさせることができる。利用者は、給紙方法選択部323により、たとえば自動給紙口である給紙トレイや給紙カセット、または論理的な給紙方法である「用紙割り当てに従う」が選択できる。給紙方法「用紙割り当てに従う」については後述する。用紙割り当て328が選択されると、後述する図4の用紙割り当てダイアログが表示される。印刷品質選択部324は利用者に印刷の品位を設定させるための項目である。色調整部325は利用者に印刷の色を調整させるための項目である。グレースケール設定部326は、印刷文書がカラーであっても印刷結果をグレースケールにするためのチェックボックスである。バージョン情報330は、本ダイアログを表示するドライバのバージョンを示すサブダイアログを表示させるためのボタンである。標準設定部331が押されると、基本設定302の設定が標準(出荷時設定)に戻される。
FIG. 2 shows a display example when the
ユーザーは各項目を選択した後にOKボタン308を押下することで印刷設定ダイアログ301を閉じ、選択した印刷設定を印刷に反映させることができる。キャンセルボタン309を押下すると印刷設定ダイアログ301が閉じ、選択した設定項目の内容は破棄され印刷に反映されることはない。適用ボタン310は印刷設定ダイアログ301は開いたままで選択した印刷設定を印刷に反映させることができる。ヘルプボタン311は基本設定302の各設定項目に関する説明文を別ウィンドウで表示させることができる。
The user closes the
図3にページ設定タブ303が選択された場合の表示例を示す。ページ設定の簡易表示エリア340には、文字情報だけでなく視覚に訴える形で設定された情報を表示する。用紙サイズ選択部341は、アプリケーションで作成する原稿の用紙サイズを表示するとともに利用者により選択させることができる。また、出力用紙サイズ選択部343は、プリンタで印刷するのに使用する用紙サイズを表示し、選択させることができる。用紙サイズ341と出力用紙サイズ343には、図示されているA4の他にもA5、B5、Letter、葉書等プリンタで利用できる用紙サイズが含まれる。また用紙サイズ341にはプリンタで扱うことのできないサイズのB4、A3、A2等を用意してもよい。印刷の向き選択部342は、アプリケーションで作成する原稿の向きを選択することができる。印刷の種類のフチなし全面印刷選択部344では、印刷用紙に対して余白無しの印刷を行うことを指示することができる。逆順指定部328はページ順を逆順に設定するための項目である。印刷の種類選択部345では、等倍印刷やアプリケーションの原稿を出力用紙サイズに合わせるフィットページ印刷、任意の拡大率を設定できる拡大/縮小印刷、印刷レイアウト(N−up)等を設定することが可能である。両面印刷選択部346では両面印刷を行うかどうかを、自動選択部347では両面印刷時に自動両面印刷を行うか手動両面印刷を行うかを選択できる。とじ方向選択部348では印刷後にとじる辺を指定することができる。とじしろ指定ボタン350を押すと図示しない別のダイアログが表示されとじしろ幅を設定することができる。印刷領域設定ボタン349は両面印刷選択部346と自動選択部347両方が選択された場合に有効となり、印刷領域設定ボタン349を押すと図示しない別のダイアログが表示され自動両面印刷時の印刷領域の設定を行うことができる。印刷部数設定部351は印刷部数を利用者に設定させるための項目である。この数値を設定することによりアプリケーションが作成した印刷ジョブの印刷データを、プリンタドライバが指定された回数繰り返し印刷することにより、複数部数の印刷結果を得ることができる。部単位設定部352は印刷を部単位で行うかどうかを設定するための項目であり、印刷部数351の設定が2以上の場合に設定が有効となる。
FIG. 3 shows a display example when the
図4に用紙割り当てダイアログの表示例を示す。用紙割り当てダイアログではプリンタが有する複数の給紙口のうち少なくとも一つの給紙口に対して、その給紙口で使用する印刷用紙の種類とサイズを割り当てる機能を提供する。ただし、印刷時に全ての用紙割り当てにあてはまらない際に使用する給紙口を一意に決定するため、プリンタが有する給紙口の数をNとするとN−1個の給紙口に対して用紙割り当てを行うことが望ましい。用紙割り当てダイアログ360では給紙カセットに対しての割り当てを行う例を示しており、用紙の種類選択部361では給紙カセットで使用する印刷用紙の種類を表示し、ユーザーが選択することができる。用紙のサイズ選択部362では給紙カセットで使用する印刷用紙のサイズを表示し、ユーザーが選択することが可能である。ここで用紙の種類選択部361、用紙のサイズ362に表示され選択可能な項目は図2と図3で説明したように普通紙やA4の他にも多数存在する。ユーザーは各項目を選択した後にOKボタン363を押下することで用紙割り当てダイアログ360をとじ、選択した用紙割り当て設定を印刷設定に反映させることができる。キャンセルボタン364を押下すると用紙割り当てダイアログ360が閉じ、選択した設定項目の内容は破棄され印刷に反映されることはない。標準に戻すボタン365は選択した設定項目の内容を初期値に戻す。ヘルプボタン366は各設定項目に関する説明文を別ウィンドウで表示させることができる。
FIG. 4 shows a display example of the paper assignment dialog. The paper assignment dialog provides a function for assigning the type and size of the print paper used in the paper feed port to at least one paper feed port of the printer. However, in order to uniquely determine the paper feed ports to be used when all the paper assignments do not apply during printing, if the number of paper feed ports of the printer is N, the paper assignments for N-1 paper feed ports It is desirable to do. The
文書の印刷時においては、文書の印刷にあたり設定された図2の給紙方法323で「用紙割り当てに従う」が設定されていて、かつ、図2の用紙の種類322の設定値と図3の出力用紙サイズ343の設定値のペアと用紙割り当てダイアログ360で給紙カセットに対して設定した用紙の種類選択部361の設定値と用紙のサイズ選択部362の選択値のペアが等しい時に、実際の印刷に使用する給紙口は給紙カセットとなる。
At the time of printing the document, “follow paper assignment” is set in the
<バンディング処理>
図6はデータ処理装置102で動作するラスタプリンタ用のプリンタドライバ130が印刷ジョブに含まれる印刷データからイメージデータ作成し、印刷コマンドに変換する際に用いるバンドとラスタの概念図である。本実施形態のラスタプリンタ101はイメージデータを印刷コマンドとして受け取り、1あるいは複数のラスタ単位で印刷を行う。画像600は印刷後の記録媒体に形成された画像を示している。ここでページ印刷データ(ページ全体の印刷データ)からページ全体のイメージデータ全体を作成するとデータ処理装置102のメモリの残容量が逼迫するため、イメージデータを複数のバンドに分割し、バンドごとにイメージデータを作成する。画像600として形成されたイメージデータはバンド601〜604に分割されている。図6では、イメージデータ全体を4分割している例を示している。イメージデータ全体が必要とするメモリ容量は、図3で示した印刷設定ダイアログを介して設定される印刷品位や用紙サイズにより変化するため、イメージデータの分割数は1つのバンドが必要とするメモリ容量を一定にするように計算される。ここでバンドは複数のラスタで構成される。例えばバンド603は、ラスタ611〜614を含む。図6では4ラスタにより1バンドを構成している。また、各ラスタは画素615の集合となっている。プリンタドライバ130はバンド単位でイメージデータを作成し、作成したイメージデータを印刷コマンドに変換する。一つの印刷コマンドに含まれるイメージデータは1ラスタ分であったり、或いは複数ラスタ分の場合もある。本実施形態では理解を容易にするために一つの印刷コマンドに含まれるイメージデータは1ラスタとして説明する。また、実際には1ラスタからCMYK等のインクに対応した印刷コマンドや、イメージデータを作成したRGBの各色に対応した印刷コマンドが発行される場合もある。
<Banding processing>
FIG. 6 is a conceptual diagram of bands and rasters used when a
<プリンタの構造>
図10はプリンタ101の一例であるインクジェットプリンタの概念図を示しており、本実施形態の特徴を説明する上で特に必要ないと思われる機能については省略する。ラスタプリンタであるインクジェットプリンタは、データ処理装置102から転送されてくる印刷コマンドに含まれる1ラスタ又は複数ラスタのイメージデータを記憶できる程度の必要最小限のラスタメモリを持ち、印刷処理を実行できる。インクジェットヘッド1000は、図の紙面に垂直な方向に沿って往復走査され、インクジェットヘッド1000に対向した部分(ここを記録位置と呼ぶ。)にインクが吐出される。印刷用紙は、インクジェットヘッド1000による1回の走査毎に一定量ずつ搬送される。
<Printer structure>
FIG. 10 is a conceptual diagram of an ink jet printer which is an example of the
印刷用紙Pは、プリンタ101本体に対して着脱可能に設けられている自動給紙のための給紙カセット1004と給紙トレイ1006とに収容されており、そのいずれかから、図3に示した印刷設定ダイアログにおける設定に従い選択的に給紙される。給紙カセット1004上部には、それが装着された状態で用紙先端部分に給紙搬送ローラ1008が配置されている。給紙搬送ローラ1008は給紙カセット1004に載置された最上部の印刷用紙Pと圧接されている。そのため給紙搬送ローラ1008が駆動されることで、最上部の印刷用紙Pが記録位置に供給される。
The printing paper P is stored in a
給紙トレイ1006は給紙先端部分に給紙搬送ローラ1010が配置されている。給紙搬送ローラ1010は給紙トレイ1006の最上部の印刷用紙Pと給紙トレイカムにより印刷時に圧接される。そのため給紙搬送ローラ1010が駆動されることで、最上部の印刷用紙Pの給紙を行う。この構成により、給紙トレイ1006または給紙カセット1004のいずれかを給紙する側の給紙搬送ローラが選択駆動され、給紙トレイまたは給紙カセットの最上部の1枚の印刷用紙(以下、1枚の印刷用紙をシートとも呼ぶ。)Pの給紙が行われる。給紙トレイ1006には任意のサイズの印刷用紙をセットすることも可能で、ユーザーは給紙カセット1004とは別のサイズの印刷用紙をセットすることができる。給紙カセット1004または給紙トレイ1006から選択的に給紙された印刷用紙Pは、インクジェットヘッド1000が設けられている印刷位置の手前に配置された搬送ローラ1016の位置へ送り込まれる。搬送ローラ1016は給紙されてきた印刷用紙Pを一旦停止させ、印刷動作と同期してインクジェットへッド1000の印刷位置へと搬送を開始するように構成されている。インクジェットヘッド1000と対向する印刷位置には、印刷用紙Pを裏面から支持し、印刷状態を安定させるためのプラテン1002が設けられている。インクジェッドヘッド1000とプラテン1002とで印刷位置での印刷部を構成している。インクジェットヘッド1000には、インクドットを吐出するためのオリフィスが印刷用紙の印字面と対向する側に設けられており、インク供給部より供給されるインクをヘッド駆動部121にてオリフィスより吐出させる。インクジェットヘッド1000は、印刷用紙Pの搬送方向と直交する方向、つまり図10の左から右側へと搬送される印刷用紙に対して紙面に直交する方向に沿って往復走査されながらインクドットの吐出を行い、複数ラスタで構成されるイメージデータに応じた可視像を印刷用紙Pの印字面に形成する。ここで、インクジェットヘッド1000による走査が行われるときには、印刷用紙Pの搬送は停止され一方向への走査が行われ、1回の走査分の画像の形成が終了した時点で印刷したラスタ数に応じた量の印刷用紙の搬送が行われる。この動作を往復走査の各方向について繰返し行うことで、印刷用紙Pに1ページ分のイメージデータの印刷画像を形成する。インクジェットヘッド1000と対向する印刷位置を通過した印刷用紙は、印刷位置の下流側に配置されている排出ローラ1018を介して、プリンタ101の本体外へと排出される。その位置に排出トレイ1020が設けられており、排紙トレイ1020に印刷済みのシートが印刷画像を上面にして排出される。プリンタ101は、次のページの印刷コマンドがデータ処理装置から送られてくると、次の印刷用紙Pの給紙を開始して搬送ローラ1016へと送り込むように制御している。給紙カセット1004から給紙される場合、給紙された印刷用紙Pは反転してから搬送ローラ1016に送られるため、反転時に印刷用紙Pを支えるための反転押えローラ1012と1014が給紙カセット1004から搬送ローラ1016を結ぶ搬送路上に設けられている。
The
本実施形態の印刷システムでは、先行給紙(後述)を実行させるために、給紙搬送ローラ1008、1010の下流に、給紙トレイ1006また給紙カセット1004より給紙される印刷用紙Pの有無を検知する印刷用紙検知センサ124を設けている。この印刷用紙検知センサ124は、マイクロスイッチ等の機械式あるいはフォトセンサ等の光学式であってもよく、シートが存在するときには存在信号を、存在しない場合には無しの信号(以下、シート検出信号と呼ぶ。)を出力する。出力された信号は印刷制御部110のフィード制御部112に入力される。このシート検出信号により先行給紙の開始制御がなされる。適所に設けられる印刷用紙Pの検知を行う印刷用紙検知センサは、シートが通過するときにはシート有りを示す信号を出力し、シートが通過した後はシート無しを示すシート検出信号を出力するため、シート検出信号により印刷用紙の先端および後端が検知できる。たとえば、シート検出信号の微分信号に表れるパルスを検出することで、シートの先端と後端とを識別できる。本実施形態の印刷システムにおいては、印刷用紙検知センサ124から出力されるシート検出信号により特に印刷用紙の後端を検知して先行給紙を実行している。印刷用紙検知センサ124からのシート検出信号に基づいて印刷用紙後端が検出された時、つまり印刷中の印刷用紙が搬送路の途中にあり、かつ印刷用紙の後端が給紙ローラ1008または1010から離れている状態の時、プリンタ101が受信済みで現在印刷中のページに対応する印刷コマンド群中に先行給紙コマンドが存在していれば、次の印刷用紙の先端が印刷用紙検知センサ124で検出される位置まで、給紙トレイ1004または給紙カセット1006から用紙を給紙し、搬送しておく。この際、どの給紙口から用紙を搬送しておくかという情報が先行給紙コマンドに含まれており、プリンタ101は該情報に従って、次の印刷用紙を先行給紙コマンドで指定された給紙口より給紙し、搬送する。このことで、現在の印刷用紙の印刷中に、搬送路中で次の印刷用紙の先端を現在の印刷用紙の後端に近づけておくことができる。このため、現在の印刷用紙の後端部分へのインクドットの吐出を行なって最後のバンドの記録が完了したあと、次の印刷用紙の先端がほぼ連続して搬送されてくるので、直ちに次の印刷用紙の先端部分へのインクドットの吐出を行なって先頭のバンドの記録を開始することができる。つまり、先行給紙コマンドをデータ処理装置102から送信しておくことで複数の用紙にわたる印刷をほぼ連続して行うことが可能となり、印刷時間の短縮によるスループット向上を図ることができる。特に、給紙カセット1004からの給紙のように搬送路が長くなるほど先行給紙による効果が大きくなる。
In the printing system of the present embodiment, the presence or absence of the printing paper P fed from the
<印刷コマンド>
図20、図21と図5を用いて、前述したラスタプリンタ101により先行給紙を伴う印刷動作を行わせるための印刷コマンドについて説明する。また、本実施形態の特徴を説明する上で特に必要ないと思われる部分については省略する。また本実施形態では「コマンド」として説明しているが、図面では「命令」と記載する。図6において、1ページのイメージデータはバンドで構成され、1バンドのデータはラスタで構成されると説明したように、印刷コマンドにおいても1ページはバンド単位の印刷コマンドで構成される。また図5に示すように、1バンドはラスタ単位の印刷コマンドで構成される。また各ページのイメージデータを表現する印刷コマンドの他に、前述した先行給紙コマンド、および、ページヘッダとしてその他の設定コマンドも含まれる。ページヘッダには印刷用紙や印字領域の寸法、解像度や印刷コマンド中のイメージデータのビットデプス等の情報が含まれている。
<Print command>
A print command for causing the above-described
図20、図21、図5は3ページの文書を印刷する際に先行給紙を伴う印刷制御を行うためにプリンタドライバ130により作成される印刷コマンド群とその順序を示している。各印刷コマンド群は3ページ分の印刷コマンドを含む。各図において、印刷コマンド群にはページヘッダ401、411、421が含まれ、各ページの印刷コマンドの先頭に位置している。バンドの印刷コマンド(印刷命令)は、各ページごとに、ページの印刷コマンド#1に属するバンドの印刷コマンド402、404、405、ページの印刷コマンド#2に属するバンドの印刷コマンド413、414、415、ページの印刷コマンド#3に属するバンドの印刷コマンド422、423、424が含まれる。
FIGS. 20, 21, and 5 show print command groups created by the
先行給紙動作を伴う印刷を行うためには、先行給紙コマンドを前のページに対応する印刷コマンド中に挿入しておけばよい。図21で示される印刷コマンドの並びが最も簡単な例である。ページの印刷コマンド#1としてくくった印刷コマンド群のうちページヘッダ401に続いて先行給紙命令(コマンド)#1(403)があり、その後にバンドの印刷命令がある。ページの印刷コマンド#2としてくくった印刷コマンドも同様に先行給紙コマンド412が含まれている。またページの印刷コマンド#3としてくくった印刷コンマンドでは最終ページに相当するため先行給紙コマンドは存在しない。このような印刷コマンドを受信したプリンタ101は、ページ1とページ2の印刷処理において、そのページの画像形成を行う前に次の印刷用紙を先行給紙すべき事が判断できる。
In order to perform printing with the preceding sheet feeding operation, the preceding sheet feeding command may be inserted into the printing command corresponding to the previous page. The print command sequence shown in FIG. 21 is the simplest example. Among the print commands grouped as the page
図20で示される印刷コマンドの並びは、プリンタドライバがイメージデータをバンド単位に分割して処理を行ない、そのバンド単位で印刷コマンドを生成する時に、ページの印刷コマンド群内における任意のタイミングで先行給紙コマンドを発行したときの例である。ページの印刷コマンド#1でくくった印刷コマンドのうち、バンドの印刷命令#1−1(402)に続いて先行給紙命令#1(403)があり、その後に残りのバンドの印刷コマンドが続いている。このような印刷コマンドを受信したプリンタ101は印刷用紙の後端部分に最後の画像生成を行う前に次の印刷用紙を先行給紙すべき事が判断できる。図20には最初のバンドの印刷命令402の後に先行給紙コマンド403が続く例を示したが、少なくとも各ページの印刷コマンドに含まれる最後のバンドの印刷命令の前に先行給紙コマンドが存在すれば給紙動作を先行して行うことが可能である。
The print command sequence shown in FIG. 20 is preceded at an arbitrary timing in the print command group of the page when the printer driver divides the image data into band units and performs processing, and generates the print command in the band unit. This is an example when a paper feed command is issued. Of the print commands encapsulated by the page
図5で示される印刷コマンドの並びは、プリンタドライバがイメージデータをバンド単位に分割して処理を行ない、さらにバンドをラスタ単位に分割して印刷コマンドを生成する時に、ラスタ単位の印刷コマンド群内における任意のタイミングで先行給紙コマンドを発行した時の例である。ページの印刷コマンド#1でくくった印刷コマンドのうち、さらにバンドの印刷命令#1−1に続くバンドの印刷命令#1−2でくくった印刷コマンド群のうち、ラスタの印刷命令#1(501)に続いて先行給紙命令#1(403)があり、その後に残りのラスタの印刷コマンドとバンドの印刷コマンドが続いている。このような印刷コマンドを受信したプリンタ101は、印刷用紙の後端部分に最後の画像生成を行う前に次の印刷用紙を先行給紙すべき事を判断できる。図5には二番目のバンドの最初のラスタの印刷コマンド501の後に先行給紙コマンド403が続く例を示したが、少なくとも各ページの印刷コマンドに含まれる最後のラスタの印刷コマンドの前に先行給紙コマンドが存在すれば給紙動作を先行して行うことが可能である。
The print commands shown in FIG. 5 are arranged in a raster-unit print command group when the printer driver performs processing by dividing the image data into band units and further generates a print command by dividing the bands into raster units. This is an example when a preceding paper feed command is issued at an arbitrary timing in FIG. Of the print commands grouped by the page
ここで理想的には、印刷用紙後端が印刷用紙検知センサ124で検出された位置においてインクジェットヘッドによって画像形成されるべきイメージデータを含む印刷コマンドの直前までに先行給紙コマンドが存在すれば、次のページの完全な先行給紙動作を行うことができるのはいうまでもない。
Ideally, if the preceding paper feed command exists immediately before the print command including the image data to be imaged by the inkjet head at the position where the trailing edge of the print paper is detected by the print
<印刷コマンドの発行タイミング>
図18、図19は、データ処理装置102で動作するアプリケーションソフト1110が印刷動作を行う際のアプリケーションソフト1110による印刷データの作成と、プリンタドライバ130のイメージデータ生成部132の処理と、イメージデータ生成部132による印刷コマンド発行のタイミングとを示している。図18、図19では、アプリケーションが3ページで構成される文書の印刷を行うときの例を示す。なお、図におけるアプリケーション1110とイメージデータ生成部132との間の「印刷データ」は、たとえばウインドウズ(登録商標)では、オペレーティングシステムにより提供されるグラフィックデバイスインターフェースと呼ばれる機能を介してプリンタドライバ130に渡される。また、通常アプリケーションによる印刷データの作成はプリンタドライバ130による印刷コマンドの作成よりも短時間で終了するため、図18、図19においても同様に表現している。図18と図19はそれぞれ図20と図21に対応しており、印刷コマンド群中の先行給紙コマンドの位置が異なっている。図18では、ページ印刷コマンド#1中の先行給紙コマンド262は最初のバンドの印刷コマンド261に続いて発行されている。図19では、ページ印刷コマンド中で印刷コマンドのヘッダ(ページヘッダ)260に続いて先行給紙コマンド262が発行されている。
<Print command issuance timing>
18 and 19 show creation of print data by the
図18において、アプリケーションが印刷処理を開始すると(200)、OSの印刷機能によりジョブ印刷データ作成開始がプリンタドライバへ通知される(230)。続いてアプリケーションは文書の1ページ目の描画の開始を宣言すると(201)、同様にプリンタドライバへページの印刷データ作成開始が通知される(231)。ここでアプリケーションは文書の1ページ目に含まれたデータを印刷するための描画命令を発行し(202)、1ページ目のページ描画を終了すると(232)、ページ印刷データ作成完了がプリンタドライバに通知される(232)。こうして或るページの印刷データの作成が完了した時点で初めてプリンタドライバ130は印刷データからイメージデータを作成し、必要に応じバンド単位で分割し、印刷コマンドを発行を開始する。
In FIG. 18, when the application starts print processing (200), the start of job print data creation is notified to the printer driver by the OS print function (230). Subsequently, when the application declares the start of drawing of the first page of the document (201), the printer driver is similarly notified of the start of print data creation for the page (231). Here, the application issues a drawing command for printing the data included in the first page of the document (202). When the page drawing of the first page is completed (232), the completion of page print data creation is sent to the printer driver. Notification is made (232). Thus, the
まずページ印刷コマンドに対応するヘッダを発行し(260)、続いて印刷データからイメージデータへ展開しバンド単位で分割して作成された印刷コマンドが発行される(261)。同様にプリンタドライバ130は次のバンドの処理を行うが、この間にアプリケーションが文書の2ページ目の描画開始を宣言すると(210)、ページ印刷データ作成開始がプリンタドライバに通知され(240)、プリンタドライバ130は次の印刷用紙が必要であることが判断できる。ここでプリンタドライバ130は2番目のバンドの処理中であるため、2番目のバンドの処理が終了した時点で先行給紙コマンドを発行し(262)、続いて2番目のバンドの印刷コマンドを発行する(263)。この間にアプリケーションは文書の2ページ目のデータの描画命令を発行し印刷データを作成し(211)、ページ描画を終了すると(212)、ページ印刷データ作成完了がプリンタドライバ130に通知されるので(241)、この時点でプリンタドライバ130は次のページの印刷コマンドを発行することが可能であることを判断できる。プリンタドライバ130は1ページ目の印刷コマンドをすべて発行した後(264)、2ページ目の印刷コマンドの発行処理を開始する(270)。
First, a header corresponding to the page print command is issued (260), and then a print command created by dividing the print data into image data and divided in units of bands is issued (261). Similarly, the
アプリケーションは続いて文書の3ページ目を印刷するためページ描画開始を宣言し(220)、文書のページのデータを印刷するために描画命令を発行し(221)、ページ描画終了を宣言し(222)、印刷終了を宣言する(223)。プリンタドライバ130にはページ印刷データ作成の開始・終了、印刷終了のタイミングで通知が行われ(250、251、252)、3ページ目が最終ページであることが判断できる。プリンタドライバ130は2ページ目のページ印刷コマンドを、先行給紙コマンド発行(270)、バンドの印刷コマンド発行し(273、274)、続いて最終ページである3ページ目の印刷コマンドを、ヘッダ発行(280)、バンドの印刷コマンド発行し(281、282、283)、印刷処理を終了する。ここでプリンタドライバは最終ページと判断された3ページ目では先行給紙コマンドを発行しない。
Subsequently, the application declares the start of page drawing to print the third page of the document (220), issues a drawing command to print the data of the document page (221), and declares the end of page drawing (222). ) Declares the end of printing (223). The
図19の各番号は図18と同様であるため説明を省くが、1ページ目の印刷コマンドの発行で先行給紙コマンド発行(262)とバンドの印刷コマンド発行(261)の順序が図18と逆になっている。これはアプリケーションから次のページのページ印刷データ作成開始がプリンタドライバ130に通知されるまで、1ページ目の印刷コマンドの最初のバンドの発行を待ち、先行給紙コマンドを発行してから(262)、1ページ目の印刷コマンドの最初のバンドを発行することで(261)、プリンタ101が先ページの画像形成を行う前に次の印刷用紙の先行給紙動作の判断を可能にしているためである。図19ではプリンタドライバ130がバンドの印刷コマンドの間で先行給紙コマンドを発行している例を示したが、ラスタの印刷コマンド間で先行給紙コマンドを発行すれば、さらに細かいタイミングでプリンタは先行給紙動作が必要であることを判断できる。
The numbers in FIG. 19 are the same as those in FIG. 18, and will not be described. The order of the print command issuance (262) and the band print command issuance (261) in issuing the print command for the first page is the same as in FIG. It is reversed. This is because the application waits for the issue of the first band of the print command for the first page until the
<プリンタドライバによる印刷コマンド発行処理>
図7、図8、図9には本実施形態のプリンタドライバ130のイメージデータ生成部132による処理手順のフローチャートを示す。前述したようにラスタ単位の印刷コマンド間で先行給紙コマンドを発行することで、もっとも細かいタイミングでプリンタが先行給紙動作が必要であることが判断できるようになる。そこで、図7、8、9においても、ラスタの印刷コマンド間で先行給紙コマンドを発行できる例を示す。また、図3に示した印刷設定UIを介してユーザーが入力した印刷部数を印刷設定処理部131によって設定した場合においても、効率良く先行給紙コマンドを発行できるようになっている。図7〜9では共通の代用変数を用いる。
<Print command issue processing by printer driver>
7, 8, and 9 are flowcharts of processing procedures performed by the image
図7には部数や部単位の設定がされているときのページ単位の処理のフローを示す。プリンタドライバ130がジョブの印刷処理を開始すると、ユーザーが印刷設定処理部131を介して設定した印刷部数を部数Cに代入し、部単位印刷用の部単位ループ数Lに1を代入し、部単位カウンタuに1を代入し、初期化を行う(S701)。部数Cは部単位印刷が設定されていないときに効率良く同一ページの印刷コマンドを繰り返し発行するために用いられる。
FIG. 7 shows a flow of processing for each page when the number of copies and the number of copies are set. When the
続いて部単位印刷が設定されているかどうかを判断する(S702)。部単位印刷の判定は、図3の部単位印刷設定329により入力された値をたとえば「部単位印刷」のフラグとして保持し、その値をテストして判定できる。部単位印刷が設定されていなければS710に移り、設定されていれば部単位ループ数Lに部数Cを代入し、部数Cに1を代入する(S703)。これによって、部単位印刷が設定されていれば、部単位の印刷コマンドを、部単位ループ数L回発行する。 Subsequently, it is determined whether or not copy printing is set (S702). The determination of the copy printing can be made by holding the value input by the copy printing setting 329 in FIG. 3 as, for example, a “copy printing” flag and testing the value. If the copy printing is not set, the process proceeds to S710. If it is set, the number of copies C is substituted for the number of copy loops L, and 1 is assigned to the number of copies C (S703). Thus, if copy printing is set, the print command for copy is issued L times for the copy loop.
S710からは部単位ループとなっており、先ず部単位印刷が設定されている場合について説明する。S710ではページ番号nに1を代入する。ページ番号nは着目しているページの番号を表す。S720ではコピー数カウンタcに部数Cを代入する。部単位印刷が設定されている場合は部数Cは1であるのでコピー数カウンタcも1となる。S721では部単位印刷かどうかを判断し、部単位印刷でなければS740に移り、部単位印刷であればS722に移り文書のnページ目のページ印刷処理を行う。ここで印刷コマンドおよび先行給紙コマンドが発行される。ページ印刷処理のフローは図8で説明する。続いてS723では(n+1)ページ、つまり次ページの印刷データ作成開始の通知が在ったかどうかを判断し、次ページの印刷データ作成開始の通知があればS724に移り、ページ番号nに(n+1)を代入し次ページの印刷処理を行うためにS720に移る。 A copy unit loop is started from S710. First, a case where copy printing is set will be described. In S710, 1 is substituted for page number n. The page number n represents the number of the page of interest. In S720, the number of copies C is substituted for the copy number counter c. When copy printing is set, the number of copies C is 1, so the copy number counter c is also 1. In step S721, it is determined whether or not the unit printing is performed. If the unit printing is not performed, the process proceeds to step S740. If the unit printing is performed, the process proceeds to step S722, and the page print processing for the nth page of the document is performed. Here, a print command and a preceding paper feed command are issued. The flow of the page printing process will be described with reference to FIG. Subsequently, in S723, it is determined whether or not there is a notification of the start of print data generation for the (n + 1) th page, that is, the next page. If there is a notification of the start of print data generation for the next page, the process proceeds to S724 and the page number n is set to (n + 1) ) Is substituted and the process proceeds to S720 to perform the printing process for the next page.
一方S723の判断で次ページの印刷データ作成開始通知がなければS730に移り、ジョブの印刷データの作成完了通知があったかどうかを判断する。ジョブの印刷データ作成完了通知がなければS732に移り次の通知を待ち、S723に移り処理を続行する。S730の判断でジョブの印刷データ作成完了通知があればS731に移り、部単位数カウンタuが部単位ループ数Lよりも小さいかどうか判断する。カウンタuの方がループ数Lよりも小さければ、印刷すべき残部がまだあるためS733に移り、部単位数カウンタuに(u+1)を代入してS710へ移り次の部単位印刷を続行する。S731における判断で部単位数カウンタuが部単位ループ数Lよりも小さくなければ、印刷設定で指定された部数の印刷を終了したためにジョブ印刷処理を終了する。 On the other hand, if it is determined in step S723 that there is no next page print data creation start notification, the process advances to step S730 to determine whether a job print data creation completion notification is received. If there is no print data creation completion notification for the job, the process proceeds to S732 to wait for the next notification, and then proceeds to S723 to continue the processing. If it is determined in step S730 that there is a print data creation completion notification for the job, the process proceeds to step S731, and it is determined whether the copy unit number counter u is smaller than the copy unit loop number L. If the counter u is smaller than the loop number L, there is still a remaining portion to be printed, so that the process proceeds to S733, (u + 1) is substituted into the unit number counter u, and the process proceeds to S710 to continue the next unit printing. If the copy unit counter u is not smaller than the copy unit loop number L in the determination in S731, the printing of the number of copies designated by the print setting is ended, and the job print processing is ended.
次に印刷設定処理部で部単位印刷が設定されていない場合について説明する。部単位印刷が設定されていない場合は部単位ループ数Lが1となり部数Cには印刷設定処理部で設定された部数が代入されている。よって部単位ループは1回のみ処理され、各ページが部数C回処理されることになる。なお、部単位印刷における説明と共通する説明は省略する。 Next, a case will be described in which copy printing is not set in the print setting processing unit. When copy printing is not set, the copy loop number L is 1, and the number of copies set by the print setting processing unit is substituted for the copy number C. Therefore, the copy unit loop is processed only once, and each page is processed C copies. A description common to the description of the unit printing is omitted.
S740では文書のページnのイメージデータの印刷コマンドを格納するためのファイル(以下、コマンドファイルと呼ぶ。)を作成する。続いてS741ではコピー数カウンタcが0より大きいか判断する。カウンタcが0より大きければS743に移り文書のnページ目のページ印刷処理を行ない、S744でコピー数カウンタcに印刷すべき残部数(c−1)を代入してS741に移り、残りの部数回ページ印刷処理を行う。一方S741の判断で、設定された部数回ページ印刷処理を行なったと判断された場合は、S742に移りS740で作成した印刷コマンドを保存したコマンドファイルを削除し、S723と移り文書の次のページのページ印刷処理を続行する。 In S740, a file for storing a print command of image data of page n of the document (hereinafter referred to as a command file) is created. In step S741, it is determined whether the copy number counter c is greater than zero. If the counter c is larger than 0, the process proceeds to S743, and the page print processing for the nth page of the document is performed. In S744, the remaining number of copies (c-1) to be printed is substituted into the copy number counter c, and the process proceeds to S741, where the remaining number of copies is reached. Execute page printing process twice. On the other hand, if it is determined in S741 that the page printing process has been performed for the set number of copies, the process proceeds to S742, where the command file storing the print command created in S740 is deleted, and the process proceeds to S723 to move to the next page of the document. Continue the page printing process.
図8にはプリンタドライバ130のページ印刷処理のフローチャートを示す。ここでは主にページのイメージデータをバンドに分割し、バンドのラスタごとの処理を説明する。
FIG. 8 shows a flowchart of the page printing process of the
ページ印刷処理の開始後、S801でバンド番号bに1を代入し、先行給紙を既に発行したかどうかを判断するためのフラグFをOFFに設定し、初期化を行う。バンド番号bは着目バンドの番号を表す。 After the start of the page printing process, 1 is substituted for the band number b in S801, and a flag F for determining whether or not the preceding sheet feeding has already been issued is set to OFF and initialization is performed. The band number b represents the number of the target band.
続いてS802ではコピー数カウンタcと部数Cとが等しいかどうかを判断する。S802の判断で両者が等しい場合には、部単位印刷が設定されておらず且つ各ページの第1部目の印刷処理の場合と、部単位印刷が設定されている場合とが含まれる。何れの場合にもS810へ移る。一方S802の判断において両者が異なる場合、つまり部単位印刷が設定されておらず且つ各ページの第2部目以降のページ印刷処理の場合には、S840に移る。 In step S802, it is determined whether the copy number counter c is equal to the number of copies C. If both are equal in the determination in S802, the case where the copy printing is not set and the first copy processing of each page is set and the case where the copy printing is set are included. In either case, the process proceeds to S810. On the other hand, if both are different in the determination in S802, that is, if the unit printing is not set and the page printing process is performed for the second and subsequent parts of each page, the process proceeds to S840.
S810では文書のnページ目の印刷データからバンド番号bにあたる部分のイメージデータを作成する。続いてS811ではバンド内のラスタ番号rに1を代入する。S820では、一定の条件が満たされた場合に先行給紙コマンド発行処理を行う。先行給紙コマンド発行処理は図9を用いて詳述する。続いてS821では、バンドb内のラスタrの部分にあたるイメージデータを印刷コマンドに変換し発行する。S822では部単位印刷かどうかを判断する。部単位印刷でなければS823に移り、作成した印刷コマンドを図7のS740で作成したコマンドファイルに追加し、S824に移る。このようにして作成した印刷コマンドを格納しておくことで、同一ページの印刷コマンドを連続して複数回発行する際にイメージデータと印刷コマンドの作成処理を省くことができる。S822の判断で部単位印刷である場合にはS824に移り、作成した印刷コマンドをコマンドファイルに保存することはしない。 In step S810, image data corresponding to the band number b is created from the print data of the nth page of the document. In step S811, 1 is assigned to the raster number r in the band. In step S820, a preceding paper feed command issuance process is performed when a certain condition is satisfied. The preceding paper feed command issuing process will be described in detail with reference to FIG. In step S821, the image data corresponding to the raster r in the band b is converted into a print command and issued. In step S822, it is determined whether or not copy printing is to be performed. If it is not copy printing, the process proceeds to S823, the created print command is added to the command file created in S740 of FIG. 7, and the process proceeds to S824. By storing the print command created in this way, it is possible to omit the image data and print command creation processing when the print command for the same page is issued a plurality of times in succession. If it is determined in step S822 that the unit printing is performed, the process proceeds to step S824, and the created print command is not stored in the command file.
S824ではラスタ番号rのラスタがバンド内の最終ラスタであるかどうかを判断し、最終ラスタでなければS825に移り、ラスタ番号rに次のラスタ番号(r+1)を代入し、S820に移ることで次のラスタの処理を続行する。一方S824の判断でラスタ番号rのラスタが最終ラスタであると判断された場合はS830に移り、バンド番号bのバンド、すなわち着目バンドはページ内の最終バンドかどうかを判断する。最終バンドでない場合はS831に移り、バンド番号bに次のバンドの番号(b+1)を代入し、S810に移り次のバンドの処理を続行する。一方S830の判断で最終バンドであると判断された場合はページ印刷処理を終了する。 In S824, it is determined whether or not the raster with the raster number r is the final raster in the band. If it is not the final raster, the process proceeds to S825, the next raster number (r + 1) is substituted for the raster number r, and the process proceeds to S820. Continue with the next raster. On the other hand, if it is determined in S824 that the raster with the raster number r is the final raster, the process proceeds to S830, where it is determined whether the band with the band number b, that is, the target band is the final band in the page. If it is not the final band, the process moves to S831, the next band number (b + 1) is substituted for the band number b, and the process moves to S810 to continue the process for the next band. On the other hand, if it is determined in S830 that it is the last band, the page printing process is terminated.
さて、S802で、カウンタcと部数Cとが等しくないと判断された場合、すなわち、同一ページの印刷コマンドを連続して複数回発行する設定(部単位印刷設定でない設定)におけるの第2部目以降であると判断された場合、まずS840ではラスタ番号rに1を代入する。ラスタ番号rは、着目バンドにおける着目するラスタの番号を表す。続いてS841で既に先行給紙コマンドが発行されたかどうかをフラグFをテストして判断し、まだ発行されていない場合はS842に移って先行給紙コマンド発行処理を行う。続いてS843でバンド番号bのラスタ番号rのラスタの印刷コマンドをコマンドファイルから読み込み発行する。コマンドファイルにはページを構成するラスタに対応する印刷コマンドが順番に格納されているため、単純にファイル先頭から印刷コマンド単位で読み進めればよい。続いてS844でラスタ番号rのラスタはバンド内の最終ラスタであるかどうかを判断する。最終ラスタでない場合はS845に移り、ラスタ番号rに次のラスタ番号(r+1)を代入し、S841に移り次のラスタの処理を続行する。一方S844の判断で最終ラスタである場合は、S846に移り、バンド番号bのバンドはページ内の最終バンドであるかどうかを判断する。最終バンドでなければS847に移り、バンド番号bに次のバンド番号(b+1)を代入してS840に移り、次のバンドの処理を続行する。一方S846の判断で最終バンドであればページ印刷処理を終了する。 If it is determined in step S802 that the counter c and the number of copies C are not equal, that is, the second copy in the setting for issuing a print command for the same page a plurality of times in succession (setting that is not set for unit printing). If it is determined that it is after, first, 1 is substituted into the raster number r in S840. The raster number r represents the number of the raster of interest in the band of interest. Subsequently, in S841, it is determined whether or not the preceding paper feed command has already been issued by testing the flag F. If it has not been issued yet, the process proceeds to S842 to perform the preceding paper feed command issuing process. In step S843, a raster print command of raster number r of band number b is read from the command file and issued. Since the command file stores the print commands corresponding to the rasters constituting the page in order, it can simply be read in units of print commands from the top of the file. In step S844, it is determined whether the raster with the raster number r is the last raster in the band. If it is not the final raster, the process proceeds to S845, the next raster number (r + 1) is substituted for the raster number r, and the process proceeds to S841 to continue the next raster. On the other hand, if it is determined in step S844 that the raster is the final raster, the process advances to step S846 to determine whether the band with the band number b is the final band in the page. If it is not the final band, the process proceeds to S847, the next band number (b + 1) is substituted for the band number b, and the process proceeds to S840 to continue the process for the next band. On the other hand, if the last band is determined in S846, the page printing process is terminated.
S841の判断で既に先行給紙コマンドが発行済であると判断された場合はS848に移り、バンド番号bのバンドのラスタ番号r以降の印刷コマンドをファイルから読み込み発行する。これは、文書の或るページの印刷コマンドを複数回発行する処理の最終回において、ファイルに格納された印刷コマンドをラスタごとに発行している間に、次のページの描画開始が宣言されたことがプリンタドライバ130に通知された際には、ラスタの印刷コマンドの間に先行給紙コマンドを発行し、その後においてはページ内のラスタの印刷コマンドをラスタごとに発行する必要はなく、ファイルから次の印刷コマンドを抽出する処理を省くことができるためである。こうしてページ内の残りの印刷コマンドを発行し、ページ印刷処理を終了する。
If it is determined in step S841 that the preceding paper feed command has already been issued, the process advances to step S848, and the print command after the raster number r of the band with the band number b is read from the file and issued. This is because the start of drawing the next page was declared while the print command stored in the file was issued for each raster in the final round of the process of issuing the print command for a certain page of the document multiple times. Is notified to the
図9にはプリンタドライバ130の先行給紙コマンド発行処理のフローチャートを示す。前述したように、文書を印刷するにあたりユーザーが論理的な給紙方法「用紙割り当てにしたがう」を設定した場合、実際に使用される物理的な給紙口は設定された用紙の種類と用紙のサイズ、給紙カセットに割り当てられた用紙の種類と用紙のサイズにより決定される。また、連続したページ間で使用される給紙口が変更になる場合に、現在印刷中の用紙を給紙した給紙口から次ページの印刷用紙を先行給紙してしまうと白紙排紙される結果になってしまうので、先行給紙コマンドには、どの給紙口から用紙を搬送しておくかという情報を含むことにより、プリンタ101は該情報に従って、次の印刷用紙を先行給紙コマンドで指定された給紙口より給紙し、搬送しておくことができる。従って図9では、論理的な給紙方法「用紙割り当てに従う」が印刷ジョブに設定されることを考慮しつつ、先行給紙を行うべき給紙口情報を含む先行給紙コマンドを発行する例について説明する。
FIG. 9 shows a flowchart of the preceding paper feed command issuing process of the
先行給紙コマンド発行処理が始まると、S901で既に先行給紙コマンドが発行されたかどうかをフラグFをテストして判断する。発行済の場合は先行給紙コマンド発行処理を終了する。未だ発行されていなければS902に移り、コピー数カウンタcが1より大きいかどうか、つまり同一ページの印刷コマンドの発行動作を2部分以上行うべきかどうかを判断する。印刷コマンドの発行を2部分以上行うべきであれば、次の出力ページに対しても現在のページと同じ給紙方法が適用されるため、S905に移り現在のページnの印刷設定から、次の用紙を実際にどちらの給紙口から給紙すべきであるかを特定し、特定された給紙口を指定する先行給紙コマンドをS909で発行し、続いてS910で先行給紙コマンド発行フラグFをONに設定し先行給紙コマンド発行処理を終了する。なお、実際に使用される給紙口は、プリンタドライバ130での給紙方法・用紙の種類・用紙サイズに基づき決定するが、詳細は図12を用いて後述する。
When the preceding paper feed command issuance process starts, it is determined in S901 whether or not the preceding paper feed command has already been issued by testing the flag F. If it has been issued, the preceding paper feed command issuance processing is terminated. If it has not been issued yet, the process proceeds to S902, where it is determined whether or not the copy number counter c is greater than 1, that is, whether or not two or more print command issuing operations for the same page should be performed. If two or more print commands should be issued, the same paper feed method as that for the current page is applied to the next output page, so the process proceeds to S905, and the next page print setting is changed to the next page. The paper feed port from which the paper should actually be fed is specified, a preceding paper feed command for designating the specified paper feed port is issued in S909, and then the preceding paper feed command issuance flag is issued in S910. F is set to ON and the preceding paper feed command issuance process is terminated. Note that the paper feed port that is actually used is determined based on the paper feed method, the paper type, and the paper size in the
一方S902で同一ページの印刷コマンド発行動作が最後であると判断されればS903に移る。S903では文書の(n+1)ページ目、つまり次ページの印刷データ作成開始の通知があったかどうかを判断し、通知があればS904に移り文書の(n+1)ページ目、つまり次ページの印刷設定から、次の用紙を給紙する際に実際に使用される給紙口を特定する。なお、スプールファイルには(n+1)ページ目の印刷データの前に、該ページの印刷設定に関する情報が格納されているため、(n+1)ページ目の印刷設定を実データに先駆けて取得することが可能である。 On the other hand, if it is determined in S902 that the print command issuing operation for the same page is the last, the process proceeds to S903. In step S903, it is determined whether or not there has been a notification of the start of print data creation for the (n + 1) th page of the document, that is, the next page. The paper feed slot that is actually used when feeding the next paper is specified. Since the spool file stores information related to the print setting of the (n + 1) th page before the print data of the (n + 1) th page, the print setting of the (n + 1) th page can be acquired prior to the actual data. Is possible.
続いてS909に移り、特定された給紙口を指定する先行給紙コマンドを発行した後に、S910で先行給紙コマンド発行フラグFをONに設定し先行給紙コマンド発行処理を終了する。 Subsequently, the process proceeds to S909, and after issuing a preceding paper feed command designating the specified paper feed port, the preceding paper feed command issuance flag F is set to ON in S910, and the preceding paper feed command issuance processing is terminated.
さて、S903の判断で、文書の(n+1)ページ目、つまり次ページの印刷データ作成開始の通知がない場合はS906に移り、ジョブ印刷データ作成完了通知があったかどうかを判断する。ジョブ印刷データ作成完了通知がなければ先行給紙コマンド発行処理を終了し、先行給紙コマンド発行を先送りにする。一方S906の判断でジョブ印刷データ作成完了の通知があった場合はS907に移り、部単位数カウンタuが部単位ループ数Lより小さいか、つまり部単位印刷の最終部かどうかを判断し、最終部である場合は最終ページであることを意味するので、先行給紙コマンドは発行せずS910に移り、先行給紙コマンド発行フラグをONにしてから先行給紙コマンド発行処理を終了する。一方S907の判断で部単位印刷の最終部でないとされた場合はS908に移り、文書の1ページ目に設定されている印刷設定から、次の用紙を給紙する際に実際に使用される給紙口を特定する。続いてS909に移り、特定された給紙口を指定する先行給紙コマンドを発行した後に、S910で先行給紙コマンド発行フラグFをONに設定して先行給紙コマンド発行処理を終了する。 If it is determined in step S903 that there is no print data creation start notification for the (n + 1) th page of the document, that is, the next page, the process advances to step S906, and it is determined whether a job print data creation completion notification has been received. If there is no job print data creation completion notification, the preceding paper feed command issuance process is terminated, and the preceding paper feed command issuance is postponed. On the other hand, if it is determined in step S906 that job print data creation is completed, the process proceeds to step S907, where it is determined whether the copy unit counter u is smaller than the copy unit loop number L, that is, the final copy of copy printing. If it is a copy, it means that it is the last page, so the preceding paper feed command is not issued, the process proceeds to S910, and the preceding paper feed command issuance flag is turned on, and the preceding paper feed command issuance processing is terminated. On the other hand, if it is determined in step S907 that the copy is not the final copy of the unit printing, the process proceeds to step S908, and the feed actually used when the next sheet is fed from the print setting set on the first page of the document. Identify the paper mouth. Subsequently, the process proceeds to S909, and after issuing a preceding paper feed command designating the specified paper feed port, the preceding paper feed command issuing flag F is set to ON in S910, and the preceding paper feeding command issuing process is ended.
図15に、S909で発行する先行給紙コマンドのデータ構造を示す。「ID」はコマンドの種類を特定するためのものであり、ここでは先行給紙コマンドであることを示すためのIDを指定する。「length」ではコマンド長をbyte単位で指定する。「NextPage」では先行給紙の可否を指定する。図16に示すように、先行給紙が可能である場合は1を、不可である場合は2を指定する。なお、本実施例では次ページがの存在が明らかになった場合は常に先行給紙が可能であるとして先行給紙コマンドを発行するため、NextPageには常に1が入れられる。「InputSlot」では、先行給紙を行う物理的な給紙口を指定する。図17に示すように、次の用紙を給紙トレイから先行給紙するよう指定する場合は1を、給紙カセットから先行給紙するよう指定する場合は2をそれぞれ入れる。 FIG. 15 shows the data structure of the preceding paper feed command issued in S909. “ID” is for specifying the type of command, and here, an ID for indicating a preceding paper feed command is designated. In “length”, the command length is specified in bytes. “NextPage” designates whether or not advance feeding is possible. As shown in FIG. 16, 1 is specified when the preceding paper feeding is possible, and 2 is designated when it is impossible. In the present embodiment, when the presence of the next page becomes clear, the preceding paper feed command is issued assuming that the preceding paper feeding is always possible, so 1 is always set in NextPage. In “InputSlot”, a physical sheet feeding port for performing preceding sheet feeding is designated. As shown in FIG. 17, 1 is entered to designate that the next paper is to be fed in advance from the paper feed tray, and 2 is entered to designate to be fed in advance from the paper feed cassette.
従来の先行給紙の実行のみを指示するためのコマンドは例えば図14に示すようなデータ構造であったが、本発明においては、用紙をどの給紙口から先行給紙すべきであるかを「InputSlot」にて指定することで、ジョブ途中で給紙口が変更される場合であっても常に適切な給紙口から先行給紙を行うことを可能にしている。 The conventional command for instructing only the execution of the preceding paper feed has a data structure as shown in FIG. 14, for example. In the present invention, it is determined from which paper feed port the paper should be fed ahead. By specifying “InputSlot”, it is possible to always perform the preceding paper feeding from an appropriate paper feeding port even when the paper feeding port is changed during the job.
図12にはプリンタドライバ130での印刷設定から、実際に使用される給紙口を判断する処理のフローチャートを示す。本実施例では実給紙口として給紙トレイと給紙カセットの二つを有するプリンタを前提としているので、用紙割り当ては給紙カセットに対して行うものとしている。まずS1201で印刷設定の給紙方法が「用紙割り当てに従う」かどうかを判断し、「用紙割り当てに従う」であればS1202に移る。S1202では印刷設定の用紙の種類と用紙割り当て設定の用紙の種類が合致するかどうかを判断し、合致しなければS1205で実際の給紙口を給紙トレイとして処理を終了する。S1202の判断で合致する場合はS1203に移り、印刷設定の用紙のサイズと用紙割り当て設定の出力用紙サイズが合致するかどうかを判断し、合致しなければS1205で実際の給紙口を給紙トレイとして処理を終了する。S1203の判断で合致する場合はS1204で実際の給紙口を給紙カセットとして処理を終了する。一方S1201で給紙方法が「用紙割り当てに従う」と異なる場合は、給紙方法が実際に使用される物理的な給紙口を示していることから、S1206で給紙方法を判定し、S1207とS1208で設定された給紙方法をそのまま実際に使用する給紙口として決定し処理を終了する。また、3つ以上の給紙口を有するプリンタにおいては最大二つの給紙口に対して用紙割り当てを行なえばよく、S1202とS1203の判別を用紙割り当てされている給紙口の数だけ繰り返せば、給紙方法「用紙割り当てに従う」に対する実際に使用される給紙口を判断するように容易に拡張できる。また給紙方法が「用紙割り当てに従う」以外のときはS1206の判断とS1207とS1208の決定部を複数用意すれば容易に対応できる。
FIG. 12 is a flowchart of processing for determining the paper feed port that is actually used from the print settings in the
そして以上の手順により発行された印刷コマンドを受信したプリンタは、例えば以下のように動作する。 The printer that receives the print command issued by the above procedure operates as follows, for example.
給紙トレイあるいは給紙カセットから供給されたシートが一定の位置に達したなら、印刷コマンドを解釈実行することで可視画像をシート上に形成する。そして、印刷コマンドを順次処理していき、その結果現在印刷中のシートの後端が検出される前に次ページの先行給紙コマンドをフェッチした場合には、その先行給紙コマンドの処理は先送りして、その次の印刷コマンドを処理する。この場合には、その後にシート後端が検出されたときに先行給紙コマンドを処理する。 When the sheet supplied from the sheet feed tray or sheet cassette reaches a certain position, a visible image is formed on the sheet by interpreting and executing the print command. When the print command is sequentially processed and, as a result, the preceding paper feed command for the next page is fetched before the trailing edge of the currently printed sheet is detected, the processing of the preceding paper feed command is advanced. Then, the next print command is processed. In this case, the preceding paper feed command is processed when the trailing edge of the sheet is subsequently detected.
そして、用紙検出センサ124の出力信号に基づいてシートの後端が検出された場合には、印刷制御部110に設けられたメモリに格納された、受信されて未だ未処理の印刷コマンド群の中に、次ページの先行給紙コマンドが含まれているかを調べる。なお、次ページの先行給紙コマンドの受信の有無は、図20等に示したように、ページヘッダによりページごとに区切られた、現在印刷中のページに対応する印刷コマンド群中に先行給紙コマンドが含まれるか否かを調べることで判定できる。
When the trailing edge of the sheet is detected based on the output signal of the
次ページの先行給紙コマンドを既に受信していれば、その先行給紙コマンドを直ちに処理するのが望ましい。ただし、印刷コマンドを順番に処理し、そして先行給紙コマンドで指定された給紙口から次のシートの給送を開始させる。もちろんその動作と並行して現在ページへの印刷処理も遂行する。 If the preceding paper feed command for the next page has already been received, it is desirable to process the preceding paper feed command immediately. However, the print commands are processed in order, and feeding of the next sheet is started from the paper feed port designated by the preceding paper feed command. Of course, the printing process for the current page is also performed in parallel with the operation.
それにより、使用する物理的な給紙口が連続ページで変更された場合であっても、先行給紙コマンドで指定された給紙口から用紙の給送を行っておくことができるため、不要な白紙ページの出力や給紙のやり直しなどを発生させることなく、スループットの向上を図ることができる。 As a result, even if the physical paper feed port to be used is changed on a continuous page, paper can be fed from the paper feed port specified by the preceding paper feed command, which is unnecessary. Throughput can be improved without generating a blank page output or re-feeding.
そして、現在のページの印刷処理が終了するまでの間には、その間に受信した次のページの印刷コマンド群に先行給紙コマンドが含まれていないか監視し、含まれていればその先行給紙コマンドを印刷処理と同時並行的に処理して、次のページのシートの給送を開始させる。 Until the print processing of the current page is completed, it is monitored whether or not the preceding paper feed command is included in the print command group of the next page received during that time. The paper command is processed in parallel with the printing process to start feeding the next page sheet.
なお、USBやIEEE1394などのバスでデータ処理装置とプリンタとが接続されている場合には、データ処理装置からプリンタのメモリのアドレスを指定してデータを送信することができる。そこで、先行給紙コマンドについては、そのページを指定する属性を付与して、他の印刷コマンドとは別の特定領域に送信するようにデータ処理装置を構成することもできる。このようにすれば、メモリ中を印刷制御部110により調べることなく、特定領域のみを調べることで先行給紙コマンドの有無を判別できる。 When the data processing apparatus and the printer are connected by a bus such as USB or IEEE1394, data can be transmitted from the data processing apparatus by designating the address of the printer memory. Therefore, the data processing apparatus can be configured such that the preceding paper feed command is given an attribute for designating the page and is transmitted to a specific area different from other print commands. In this way, it is possible to determine the presence or absence of the preceding paper feed command by examining only the specific area without examining the memory by the print control unit 110.
(第二の実施形態)
<印刷システムの構成>
本発明の第二の実施形態における印刷システムは図1に示すような構成とし、データ処理装置102には、データ処理装置102を制御するOSとしてLinux OSが組み込まれており、このOS上で各種機能ブロックが動作する。
(Second embodiment)
<Configuration of printing system>
The printing system according to the second embodiment of the present invention is configured as shown in FIG. 1, and the
プリンタドライバ130は、第一の実施形態同様、印刷設定処理部131、イメージデータ生成部132、データ通信処理部133によって構成される。本実施形態におけるイメージデータ生成部132は、印刷コマンドの生成を行うフィルタプロセス1322と、入力されたデータのスプールを行うスプールプロセス1321で構成される。詳細は図13を用いて後述する。
As in the first embodiment, the
その他のシステムの構成は第一の実施形態と同様の構成とする。また、プリンタ101についても第一の実施形態同様、図10に示すようなインクジェットプリンタを用いるものとする。
Other system configurations are the same as those in the first embodiment. As for the
<プリンタドライバの動作>
図13は本実施形態におけるプリンタドライバ130の動作の概念図である。データ処理装置102では、印刷するための文書を作成するアプリケーション1110が動作する。アプリケーション1110で文書が作成され、作成された文書の印刷処理を行うにあたり、
プリンタドライバ130の印刷設定処理部131により、図3を参照して第一の実施形態で説明したような様々印刷設定を行うことが可能である。
<Printer driver operation>
FIG. 13 is a conceptual diagram of the operation of the
The print
アプリケーション1110はPostScript(登録商標)などの形式にデータを変換して出力するため、PostScriptデータを印刷できないインクジェットプリンタなどでは、アプリケーション1110から出力されたPostScriptデータを、プリンタへ送るためのプリントデータに変換する処理が必要となる。一般的には、アプリケーションから出力されるPostScriptデータを、まずGhostScriptなどのレンダラに入力し、イメージデータに変換して出力させ、出力されたイメージデータを、プリンタドライバがプリンタの解釈できる印刷コマンドに変換してプリンタに送信することで、印刷を行っている。
Since the
本実施形態におけるプリントシステムでは、図13に示すように、レンダラとしてGhostScript1301を使用してアプリケーションからの印刷を行う。以下、具体的な処理を説明する。
In the printing system according to the present embodiment, printing from an application is performed using
アプリケーション1110は各ページにおいてページの印刷処理を開始し、文書のページ内に含まれるデータを文書の1ページごとにPostScriptファイルとして出力し、文書の印刷処理を終了する。出力されたPostScriptファイルはイメージデータ生成部132のスプールプロセス1321に入力され、スプールプロセス1321は、GhostScript1301を用いてPostScriptファイルをイメージデータに変換し、スプールファイルとしてイメージデータをスプールする。このようにして本実施形態では、イメージデータを、イメージデータ生成部132のスプールプロセス1321がスプールファイル1111に格納する。
The
2ページ目以降のスプールの際には、PostScriptファイルのヘッダを読み終わった時点で、ページの開始を示す『次ページ作成開始通知』をフィルタプロセス1322に送信する。このとき、次ページの印刷設定情報から給紙方法と用紙サイズ、用紙の種類の設定値を『次ページ作成開始通知』に付加してフィルタプロセス1322に送信する。そして、アプリケーション1110からの入力が無くなったら(=最終ページのスプールが終了したら)、スプールプロセス1321は、文書の終了示す『ジョブ印刷データ完了通知』をフィルタプロセス1322に送信する。
When spooling the second and subsequent pages, a “next page creation start notification” indicating the start of the page is transmitted to the filter process 1322 when reading the header of the PostScript file is completed. At this time, the setting values of the paper feed method, paper size, and paper type are added to the “next page creation start notification” from the print setting information of the next page and transmitted to the filter process 1322. Then, when there is no input from the application 1110 (= when the last page has been spooled), the
一方、フィルタプロセス1322は、バンド単位で、スプールファイル1111に格納されたイメージデータを読み込み、プリンタ101が解釈可能な印刷コマンドに変換して出力する処理を繰り返す。その際、各バンド処理の前に、スプールプロセス1321から『次ページ作成開始通知』および『ジョブ印刷データ完了通知』が発行されているか否かをチェックし、『次ページ作成開始通知』を受信した場合は、一定の条件が満たされた場合に先行ピックアップコマンド発行処理を行う。(先行ピックアップコマンド発行処理の詳細は後述する)
フィルタプロセス1322により作成された印刷コマンドはデータ通信処理部133を介し、データ処理装置102とプリンタ101を結ぶI/F103を介してプリンタ101に送信される。プリンタ101は受信した印刷コマンドにより制御され記録媒体100にイメージデータを可視像として形成する。
On the other hand, the filter process 1322 repeats the process of reading the image data stored in the
The print command created by the filter process 1322 is transmitted to the
以上のように、本実施形態においては、イメージデータ生成部132のスプールプロセス1321がGhostScript1301を用いてイメージデータの生成およびイメージデータのスプールを行い、『次ページ作成開始通知』および『ジョブ印刷データ完了通知』をフィルタプロセス1322に対して発行し、フィルタプロセス1322がイメージデータから印刷コマンドを生成して出力する。
As described above, in the present embodiment, the
なお、図6に示すバンドとラスタの概念および、図20,図21と図5に示す印刷コマンドの構造などは第一の実施形態と同様であるため、ここでは説明を省略する。 Note that the concept of the band and raster shown in FIG. 6 and the structure of the print command shown in FIGS. 20, 21, and 5 are the same as those in the first embodiment, and thus the description thereof is omitted here.
<プリンタドライバによる印刷コマンド発行処理>
本実施形態のイメージデータ生成部132の処理手順は、部数や部単位の設定がされているときのジョブ全体の処理手順は図7に示すフローで、1ページごとのページ印刷処理は図8に示すフローで、先行給紙コマンド発行処理は図9に示すフローで行い、それぞれ第一の実施形態においてイメージデータ生成部132が行った処理と同等の処理を行う。
<Print command issue processing by printer driver>
The processing procedure of the image
ただし、上述したように、イメージデータ生成部132がスプールプロセス1321とフィルタプロセス1322で構成されており、例えば、S810における「バンドbのイメージデータを生成」する処理はスプールプロセスがGhostScriptを使用することで行い、S821における「イメージデータを印刷コマンドに変換し発行」する処理、S909における「先行給紙コマンドを発行」する処理などは、フィルタプロセス1322が行うというように、イメージデータ生成部のスプールプロセス1321とフィルタプロセス1322で各々の処理を実行する。
However, as described above, the image
また、『次ページ作成開始通知』および『ジョブ印刷データ完了通知』は、プリンタドライバ132内部のスプールプロセス1321がフィルタプロセス1322に対して発行するものである。従って、S730で「ジョブ印刷データ作成完了通知があったか」という判断は、本実施形態においてはスプールプロセス1321からフィルタプロセス1322に対して『ジョブ印刷データ完了通知』が発行されたかどうかで判断する。
The “next page creation start notification” and the “job print data completion notification” are issued to the filter process 1322 by the
同様に、S903における「ページ(n+1)印刷データ作成開始通知があったか」と言う判断は、スプールプロセス1321からフィルタプロセス1322に対して『次ページ作成開始通知』が発行されたかどうかを判断し、S906における「ジョブ印刷データ作成通知があったか」という判断は、スプールプロセス1321からフィルタプロセス1322に対して『ジョブ印刷データ完了通知』が発行されたかどうかで判断する。さらに、『次ページ作成開始通知』には次ページの印刷設定情報として給紙方法および用紙サイズ、用紙の種類が、スプールプロセス1321からフィルタプロセス1322に送付され、この情報を元に、フィルタプロセス1322は、S904において「ページ(n+1)で実際に使用される給紙口を特定」する際に、特定するための情報を得ることができる。
Similarly, the determination of “whether there has been a notification of start of page (n + 1) print data creation” in S903 determines whether or not “next page creation start notification” has been issued from the
以上の手順により発行された印刷コマンドを受信したプリンタの動作は、第一の実施形態と同様である。 The operation of the printer that has received the print command issued by the above procedure is the same as that of the first embodiment.
ここまで説明した実施の形態では、一つの印刷コマンドに含まれるイメージデータは1ラスタとしたが、複数のラスタが含まれている場合でも同様の効果が得られる。また先行給紙コマンドを発行するタイミングとしてラスタの印刷コマンドの間としたが、これに限った物ではなく例えばバンド間のタイミングで発行してもよいし、さらにはラスタやバンド等のイメージデータを含んだ印刷コマンドの発行の前に印刷コマンドのヘッダの一部として先行給紙コマンドを発行してもよい。 In the embodiments described so far, the image data included in one print command is one raster, but the same effect can be obtained even when a plurality of rasters are included. The timing for issuing the preceding paper feed command is between raster print commands. However, the present invention is not limited to this. For example, it may be issued at a timing between bands, and image data such as a raster or a band may be issued. Prior to issuing the included print command, the preceding paper feed command may be issued as part of the header of the print command.
また、インクジェットヘッドの往動走査と復動走査のそれぞれでインクの吐出を行うように説明したが、片方の走査でインクの吐出を行ない他方の走査ではインクを吐出せずに走査と同時に搬送動作を行なってもよい。 In addition, although it has been described that ink is ejected in each of the forward scan and the backward scan of the inkjet head, the ink is ejected in one scan and the ink is not ejected in the other scan, and the transport operation is performed simultaneously with the scan. May be performed.
プリンタの構造においては印刷用紙検出センサにより印刷用紙の後端を検知した後に先行給紙を実行するようにしたが、プリンタは印刷用紙検出センサにより印刷用紙の先端を検知する構造にしてもよい。この場合は、プリンタドライバは用紙長を表現するデータを印刷コマンドに格納し、プリンタは印刷用紙の先端を検出した後の印刷用紙の搬送量と印刷コマンド中の用紙長から印刷用紙の後端位置を計算し、印刷用紙の後端が給紙搬送ローラから離れた後に先行給紙を実行することができる。 In the structure of the printer, the preceding paper feed is executed after the trailing edge of the printing paper is detected by the printing paper detection sensor. However, the printer may be configured to detect the leading edge of the printing paper by the printing paper detection sensor. In this case, the printer driver stores the data representing the paper length in the print command, and the printer determines the trailing edge position of the printing paper from the transport amount of the printing paper after detecting the leading edge of the printing paper and the paper length in the printing command. And the preceding paper feeding can be executed after the trailing edge of the printing paper is separated from the paper feed roller.
以上のような実施の形態で説明した処理を行うことにより、ユーザーにより部数設定や部単位設定がなされている場合においても、イメージデータの作成と同時に生成した印刷コマンドを解析して先行給紙コマンドを挿入することなく、印刷コマンドを生成する段階で先行給紙コマンドを最も詳細なタイミングであるラスタの印刷コマンドの間で発行しつつ、印刷コマンドを発行することが可能となる。すなわち、生成した印刷コマンドを解析する必要が無いので、生成した印刷コマンドの全てをハードディスク等の二次記憶装置に格納する必要もなく、また、少なくとも2ページ分の印刷コマンドをメモリ中に保持する必要もないため、印刷コマンドの生成を少ないメモリ容量で効率良く行うことができる。 By performing the processing described in the above embodiment, even when the number of copies or the number of copies is set by the user, the print command generated at the same time as the creation of the image data is analyzed and the preceding paper feed command Without inserting a print command, it is possible to issue a print command while issuing a preceding paper feed command between raster print commands at the most detailed timing at the stage of generating a print command. That is, since it is not necessary to analyze the generated print command, it is not necessary to store all the generated print commands in a secondary storage device such as a hard disk, and the print commands for at least two pages are held in the memory. Since there is no need, it is possible to efficiently generate a print command with a small memory capacity.
加えて、先行給紙コマンドで先行給紙を行う給紙口を指定するため、複数の給紙口を備えたプリンタでジョブの途中で使用する給紙口が変わる場合であっても、先行給紙コマンドで指定された給紙口から先行給紙を行うことができるため、次ページを誤った給紙口から先行給紙することに起因する余計な白紙排紙等の動作を抑制し、スループットの向上を図ることができる。 In addition, since the paper feed port for performing the preceding paper feed is designated by the preceding paper feed command, even if the paper feed port used in the middle of the job is changed in a printer having a plurality of paper feed ports, Since it is possible to perform pre-feeding from the paper feed port specified by the paper command, it is possible to suppress unnecessary operations such as extra blank paper discharge due to preceding paper feeding from the wrong paper feed port, and throughput Can be improved.
また、上記のような複数の給紙口を有するプリンタにおいて論理的な給紙方法「用紙割り当てに従う」が設定されているときでも、印刷設定の用紙のサイズ等の設定情報と、用紙割り当ての設定情報に基づき、実際に使用される物理的な給紙口を先行給紙コマンドで指定するため、次ページを誤った給紙口から先行給紙することに起因する余計な白紙排紙等の動作を抑制することができる。 In addition, even when the logical paper feeding method “according to paper assignment” is set in a printer having a plurality of paper feed openings as described above, setting information such as the paper size of the print setting and the paper assignment setting are set. Based on the information, the physical paper feed port that is actually used is specified by the preceding paper feed command. Can be suppressed.
[実施形態の変形例]
尚、本発明は、上記実施形態に限定されず種々の変形が可能である。その変形例としては例えば次のようなものがある。
[Modification of Embodiment]
In addition, this invention is not limited to the said embodiment, A various deformation | transformation is possible. Examples of such modifications include the following.
本発明の特徴として印刷システムの構成要素の一つであるデータ処理装置を説明するのに、実施形態ではパーソナルコンピュータを想定したが、何もパーソナルコンピュータに固有の機能を有しているわけではない。すなわち、上記実施形態で説明してきたように、データ処理装置側で印刷に関する部数や部単位で印刷する項目を設定する機能を備えていればその種類については問わない。つまり印刷システムとしてトータルの機能を満たしていれば個々のデバイス、装置を限定するものではない。 To describe a data processing apparatus that is one of the components of a printing system as a feature of the present invention, a personal computer is assumed in the embodiment, but nothing has a function unique to the personal computer. . That is, as described in the above embodiment, the type is not limited as long as the data processing apparatus has a function of setting the number of copies related to printing and an item to be printed in units of copies. In other words, the individual devices and apparatuses are not limited as long as the total functions of the printing system are satisfied.
本発明の実施形態においては、例としてOSにマイクロソフト(登録商標)社のWindows(登録商標)XPを使用した例とLinux OSを使用した例で説明したが、このOSに限られることなく、同様な構成をとることにより、任意のOSにおいて実現することができる。 In the embodiment of the present invention, the example using Windows (registered trademark) XP of Microsoft (registered trademark) and the example using Linux OS as the OS have been described as examples. However, the present invention is not limited to this OS. By adopting a simple configuration, it can be realized in any OS.
本発明の実施形態においては、データ処理装置102とプリンタ101との間のインタフェースとして、USBインタフェースを用いたが、このインタフェースに限られることなく、同様な構成をとることにより、任意のインタフェースにおいて実現することができる。
In the embodiment of the present invention, the USB interface is used as an interface between the
また、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。 In addition, the present invention can be applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.), but a device (for example, a copier, a facsimile device, etc.) composed of a single device. You may apply to.
また、本発明の目的は、前述した実施形態の機能を実現する、図7乃至図8のソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、パーソナルコンピュータ等のシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。そして、コンピュータに接続されるプリンタにも、上記実施形態で説明した手順で印刷コマンドを処理するためのプログラムが、供給され、プリンタのCPUにより実行される。 Another object of the present invention is to supply a storage medium (or recording medium) that records the program code of the software shown in FIGS. 7 to 8 to realize the functions of the above-described embodiments to a system or apparatus such as a personal computer. This can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium. A program for processing a print command according to the procedure described in the above embodiment is also supplied to the printer connected to the computer, and is executed by the CPU of the printer.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体およびプログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. This includes a case where the CPU of the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
100 記録媒体
101 プリンタ
102 データ処理装置
103 通信インターフェース
110 印刷制御部
111 ヘッド制御部
112 フィード制御部
113 画像系西部
120 印刷部
121 ヘッド駆動部
122 用紙ピックアップ部
123 用紙搬送部
124 印刷用紙検知センサ
125 I/F制御部
130 プリンタドライバ
131 印刷設定処理部
132 イメージデータ生成部
133 データ通信処理部
140 I/F制御部
141 中央制御部
142 入力操作部
143 設定情報通知部
360 用紙割り当てダイアログ
1000 インクジェットヘッド
1002 プラテン
1004 給紙カセット
1006 給紙トレイ
1008 給紙搬送ローラ
1010 給紙搬送ローラ
1012 反転押さえローラ
1014 反転押さえローラ
1016 搬送ローラ
1018 排出ローラ
1020 給紙トレイ
1110 アプリケーションソフト
1111 スプールファイル
1321 スプールプロセス
1322 フィルタプロセス
DESCRIPTION OF
Claims (9)
前記注目ページの次のページの印刷を行うか否かを判定し、行うと判定された場合には、前記注目ページの次ページの給紙方法をさらに判定し、前記次ページの給紙方法に応じて該情報を含む次のページのための先行給紙コマンドを生成してプリンタに送信する給紙コマンド生成工程と
を備えることを特徴とするデータ処理方法。 A print command generation process for generating a print command in units of sub-pages obtained by dividing the page and sending it to the printer for the page of interest;
It is determined whether or not the next page of the page of interest is to be printed. If it is determined that printing is to be performed, the paper feeding method of the next page of the page of interest is further determined, and the paper feeding method of the next page is determined. And a paper feed command generation step of generating a preceding paper feed command for the next page including the information and transmitting the command to the printer.
シートの搬送路中にあってシート後端部を検出する検出工程と、
前記給紙コマンドを受信した場合には、当該給紙コマンドが属するページが印刷されるシートの後端部が前記検出工程により検出された後であれば、前記給紙コマンドから次ページのためのシートの給紙口を特定し、前記次ページのためのシートの給送を行う給紙制御工程と
を備えることを特徴とする画像形成装置の制御方法。 A method for controlling an image forming apparatus that receives a print command and a paper feed command in units of sub-pages obtained by dividing a page, and performs processing according to the command for the page of interest,
A detection step of detecting the trailing edge of the sheet in the sheet conveyance path;
When the paper feed command is received, if the trailing edge of the sheet on which the page to which the paper feed command belongs is detected is detected by the detecting step, the paper feed command is used for the next page. A control method for an image forming apparatus, comprising: a sheet feeding control step of specifying a sheet feeding port and feeding a sheet for the next page.
前記注目ページの次のページの印刷を行うか否かを判定し、行うと判定された場合には、前記注目ページの次ページの給紙方法をさらに判定し、前記次ページの給紙方法に応じて次のページのための先行給紙コマンドを生成してプリンタに送信する給紙コマンド生成手段と
を備えることを特徴とするデータ処理装置。 Print command generation means for generating a print command for each sub-page divided into pages and sending it to the printer for the page of interest;
It is determined whether or not the next page of the page of interest is to be printed. If it is determined that printing is to be performed, the paper feeding method of the next page of the page of interest is further determined, and the paper feeding method of the next page is determined. A data processing apparatus comprising: a paper feed command generation unit that generates a preceding paper feed command for the next page and transmits the command to the printer.
シートの搬送路中にあってシート後端部を検出する検出手段と、
前記給紙コマンドを受信した場合には、当該給紙コマンドが属するページが印刷されるシートの後端部が前記検出手段により検出された後であれば、前記給紙コマンドから次ページのためのシートの給紙口を特定し、前記次ページのためのシートの給送を行う給紙制御手段と
を備えることを特徴とする画像形成装置。 An image forming apparatus that receives a print command and a paper feed command in units of sub-pages obtained by dividing a page, and performs processing according to the command for the page of interest,
Detecting means for detecting the trailing edge of the sheet in the sheet conveyance path;
When the paper feed command is received, if the trailing edge of the sheet on which the page to which the paper feed command belongs is printed is detected by the detection means, the paper feed command is used for the next page. An image forming apparatus comprising: a sheet feeding control unit that identifies a sheet feeding port and feeds a sheet for the next page.
注目ページについて、ページを分割したサブページ単位で印刷コマンドを生成してプリンタに送信する印刷コマンド生成工程と、
前記注目ページの次のページの印刷を行うか否かを判定し、行うと判定された場合には、前記注目ページの次ページの給紙方法をさらに判定し、前記次ページの給紙方法に応じて、該情報を含む次のページのための先行給紙コマンドを生成してプリンタに送信する給紙コマンド生成工程と
を実行させるためのプログラム。 By computer
A print command generation process for generating a print command for each sub-page unit obtained by dividing the page and sending it to the printer for the page of interest;
It is determined whether or not the next page of the page of interest is to be printed. If it is determined that printing is to be performed, the paper feeding method of the next page of the page of interest is further determined, and the paper feeding method of the next page is determined. And a paper feed command generation step of generating a preceding paper feed command for the next page including the information and transmitting it to the printer.
前記注目ページの次のページの印刷を行うか否かを判定し、行うと判定された場合には、前記注目ページの次ページの給紙方法をさらに判定し、前記次ページの給紙方法に応じて、該情報を含む次のページのための先行給紙コマンドを生成してプリンタに送信する給紙コマンド生成手段とを備えるデータ処理装置と、
注目ページについて、ページを分割したサブページ単位の印刷コマンドおよび給紙コマンドを受信してコマンドに応じた処理を行う画像形成装置であって、シートの搬送路中にあってシート後端部を検出する検出手段と、
前記給紙コマンドを受信した場合には、当該給紙コマンドが属するページが印刷されるシートの後端部が前記検出手段により検出された後であれば、前記給紙コマンドから次ページのためのシートの給紙口を特定し、前記次ページのためのシートの給送を行う給紙制御手段とを備える画像形成装置と具備することを特徴とする画像形成システム。 Print command generation means for generating a print command for each sub-page divided into pages and sending it to the printer for the page of interest;
It is determined whether or not the next page of the page of interest is to be printed. If it is determined that printing is to be performed, the paper feeding method of the next page of the page of interest is further determined, and the paper feeding method of the next page is determined. In response, a data processing device comprising paper feed command generation means for generating a preceding paper feed command for the next page including the information and transmitting it to the printer;
An image forming apparatus that receives a print command and a paper feed command in sub-page units for a page of interest and performs processing according to the command, and detects the trailing edge of the sheet in the sheet conveyance path Detecting means for
When the paper feed command is received, if the trailing edge of the sheet on which the page to which the paper feed command belongs is printed is detected by the detection means, the paper feed command is used for the next page. An image forming system comprising: an image forming apparatus including a sheet feeding control unit configured to identify a sheet feeding port and feed a sheet for the next page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007018068A JP2008186164A (en) | 2007-01-29 | 2007-01-29 | Data processing apparatus, image forming apparatus and image forming system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007018068A JP2008186164A (en) | 2007-01-29 | 2007-01-29 | Data processing apparatus, image forming apparatus and image forming system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008186164A true JP2008186164A (en) | 2008-08-14 |
Family
ID=39729180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007018068A Withdrawn JP2008186164A (en) | 2007-01-29 | 2007-01-29 | Data processing apparatus, image forming apparatus and image forming system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008186164A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010231726A (en) * | 2009-03-30 | 2010-10-14 | Oki Data Corp | Information processing device |
JP2017182525A (en) * | 2016-03-31 | 2017-10-05 | ブラザー工業株式会社 | Printing system, driver program, and printer |
-
2007
- 2007-01-29 JP JP2007018068A patent/JP2008186164A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010231726A (en) * | 2009-03-30 | 2010-10-14 | Oki Data Corp | Information processing device |
US8427682B2 (en) | 2009-03-30 | 2013-04-23 | Oki Data Corporation | Information processing device that performs data access control through connecting to multiple devices and method thereof |
JP2017182525A (en) * | 2016-03-31 | 2017-10-05 | ブラザー工業株式会社 | Printing system, driver program, and printer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8587812B2 (en) | Image processing apparatus, method, and medium for processing images for printing | |
US7839520B2 (en) | Program, information processor and preview method | |
US8194276B2 (en) | Data processing apparatus, control method therefor, and program | |
JP4646692B2 (en) | Printing apparatus control method and information processing apparatus and program for executing the method | |
EP2361777B1 (en) | Print control apparatus and print control method | |
US9324011B2 (en) | Processing apparatus and processing method for processing print jobs | |
JP4630847B2 (en) | Information processing apparatus, information processing method, and program | |
US10230857B2 (en) | Image forming apparatus having controlled conveyance speed, image forming method, and storage medium | |
US20160092147A1 (en) | Printing system, printing apparatus, and control method for the printing system | |
US10122867B2 (en) | Image forming apparatus and image forming method with continuous printing | |
JP6139830B2 (en) | Printing apparatus and control method thereof | |
US11899996B2 (en) | Storage medium storing computer-readable instructions for generating cut print image data based on cut print setting | |
EP2648399B1 (en) | Image forming apparatus, image processing method and image forming system | |
JP4803954B2 (en) | Data processing apparatus, image forming apparatus, and image forming system | |
JP2008186164A (en) | Data processing apparatus, image forming apparatus and image forming system | |
JP2005352744A (en) | Data processor, image forming device and image forming system | |
US8264699B2 (en) | Apparatus and methods for converting print data supplied from a host computer to a print media processing apparatus into print image data before a print command is asserted | |
JP2011230358A (en) | Image forming apparatus, control method therefor and, computer program | |
JP6296866B2 (en) | Processing apparatus, method thereof, and program | |
JP2006338127A (en) | Image forming device | |
JP6385111B2 (en) | Processing apparatus, method thereof, and program | |
US11748041B2 (en) | Recording apparatus, control method, and storage medium | |
JP7198090B2 (en) | image forming device | |
JP6900739B2 (en) | Image recording device | |
JP2016107569A (en) | Image processing apparatus and control method, and control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20100406 |