JP5891815B2 - Printing apparatus and printing control method - Google Patents

Printing apparatus and printing control method Download PDF

Info

Publication number
JP5891815B2
JP5891815B2 JP2012013536A JP2012013536A JP5891815B2 JP 5891815 B2 JP5891815 B2 JP 5891815B2 JP 2012013536 A JP2012013536 A JP 2012013536A JP 2012013536 A JP2012013536 A JP 2012013536A JP 5891815 B2 JP5891815 B2 JP 5891815B2
Authority
JP
Japan
Prior art keywords
data transfer
printing
control unit
transfer control
image data
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.)
Expired - Fee Related
Application number
JP2012013536A
Other languages
Japanese (ja)
Other versions
JP2013151118A (en
Inventor
茂 戸矢崎
茂 戸矢崎
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2012013536A priority Critical patent/JP5891815B2/en
Publication of JP2013151118A publication Critical patent/JP2013151118A/en
Application granted granted Critical
Publication of JP5891815B2 publication Critical patent/JP5891815B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、印刷装置および印刷制御方法に関する。   The present invention relates to a printing apparatus and a printing control method.

従来から、印刷装置と、当該印刷装置に対して印刷データを渡すと共に印刷指示を行う上位装置とから構成される印刷システムが既に知られている。このような印刷システムでは、例えば、上位装置は、ホスト装置から送信された、ページ記述言語(PDL:Page Description Language)で記述された印刷データに従いRIP(Raster Image Process)によりラスタイメージによる印刷画像データを生成し、生成した印刷画像データを印刷装置の印刷制御部に転送する(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, a printing system that includes a printing apparatus and a higher-level apparatus that passes print data to the printing apparatus and issues a print instruction is already known. In such a printing system, for example, the host device prints image data based on a raster image by RIP (Raster Image Process) according to print data described in a page description language (PDL) transmitted from the host device. And the generated print image data is transferred to the print control unit of the printing apparatus (see, for example, Patent Document 1).

また、従来技術として、プリンタコントローラと、プリンタエンジンと、プリンタコントローラおよびプリンタエンジンを接続するデータ線とを備える印刷装置が既に知られている(例えば、特許文献2参照)。この印刷装置では、プリンタコントローラとプリンタエンジンとの間で各種制御情報の送受信を行う制御線と、印刷画像データの送受信を行うデータ線とを分離し、データ転送の高速化が図られている。   Further, as a conventional technique, a printing apparatus including a printer controller, a printer engine, and a data line connecting the printer controller and the printer engine is already known (for example, see Patent Document 2). In this printing apparatus, a control line for transmitting / receiving various control information between the printer controller and the printer engine and a data line for transmitting / receiving print image data are separated to increase the data transfer speed.

さらに、印刷画像データを生成する上位装置と、印刷画像データによる印刷を行う印刷装置とを接続する制御線とデータ線とを分離した印刷システムが提案されている。この印刷システムでは、印刷画像データ処理専用コントローラに対する印刷画像データの転送タイミングの制御と、印刷対象の用紙を搬送する用紙搬送制御などの印刷制御を、印刷制御用コントローラで一括制御する。   Further, there has been proposed a printing system in which a control line and a data line for connecting a host apparatus that generates print image data and a printing apparatus that performs printing using print image data are separated. In this printing system, control of print image data transfer timing to a controller dedicated to print image data processing and print control such as paper transport control for transporting paper to be printed are collectively controlled by a controller for print control.

また、この印刷システムにおいて、データ線を色毎に設け、各色の印刷画像データを並列的に転送することで、データ転送をより高速で行うことが可能となる。印刷装置側では、色毎の印刷画像データは色毎のデータ処理専用コントローラにそれぞれ転送され、各々バッファメモリに格納される。そして、印刷制御用コントローラによる各データ処理専用コントローラそれぞれに対する制御に従い、各データ処理専用コントローラにおいて、各バッファメモリから所定のタイミングで各色の印刷画像データが読み出され印刷が行われる。   In this printing system, data lines can be provided for each color, and print image data of each color can be transferred in parallel, so that data transfer can be performed at higher speed. On the printing apparatus side, the print image data for each color is transferred to the data processing dedicated controller for each color and stored in the buffer memory. Then, according to the control for each data processing controller by the print control controller, each data processing controller reads the print image data of each color from each buffer memory at a predetermined timing and performs printing.

しかしながら、このような従来技術の印刷システムでは、色毎に印刷画像データに処理を行うため、1プレーン分のメモリ領域を使用するモノクロ画像、4プレーン分のメモリ領域を使用するカラー画像に関わらず、カラー画像の形成に必要な4プレーン分のメモリ領域を確保してしまう。このため、従来の印刷システムにおいて、モノクロ画像とカラー画像が混在する印刷が行われた場合、モノクロ画像のページでは印刷完了まで1ページあたり3プレーン分のメモリ領域が使用されないまま確保された状態となり、メモリ領域を有効に使用できていないという問題があった。   However, in such a conventional printing system, since print image data is processed for each color, a monochrome image using a memory area for one plane is used regardless of a color image using a memory area for four planes. As a result, a memory area for four planes necessary for forming a color image is secured. For this reason, in a conventional printing system, when printing is performed in which a monochrome image and a color image are mixed, the memory area for 3 planes per page is secured without being used for the monochrome image page until the printing is completed. There was a problem that the memory area could not be used effectively.

本発明は、上記に鑑みてなされたものであって、モノクロ画像とカラー画像が混在する印刷が行われた場合でも、メモリ領域を有効に使用することができる印刷装置および印刷制御方法を提供することを目的とする。   The present invention has been made in view of the above, and provides a printing apparatus and a printing control method capable of effectively using a memory area even when printing in which a monochrome image and a color image are mixed is performed. For the purpose.

上述した課題を解決し、目的を達成するために、本発明にかかる印刷装置は、記憶部を備え、印刷用の画像データを生成する前記印刷装置と別体の上位装置から双方向の通信を行う複数の第1の転送路をそれぞれ介して転送される画像データを前記記憶部に格納し、印刷開始の指示に応じて前記記憶部から前記画像データを読み出す複数のデータ転送制御部と、前記画像データを記録媒体に印刷する印刷部と、印刷を制御するための制御情報を前記上位装置から第2の転送路を介して受け取り、該制御情報に基づいて、前記複数のデータ転送制御部にそれぞれ独立に前記印刷開始の指示を行う印刷制御部と、前記複数のデータ転送制御部によって前記記憶部から読み出された前記画像データそれぞれを、前記印刷部に出力する出力制御部と、を備え、前記複数のデータ転送制御部は互いに接続され、前記複数のデータ転送制御部の間で前記画像データの転送が可能であり、前記複数のデータ転送制御部のそれぞれは、自己の記憶部または他のデータ転送制御部の記憶部から前記画像データを読み出して前記出力制御部に出力すること、を特徴とする。 In order to solve the above-described problems and achieve the object, a printing apparatus according to the present invention includes a storage unit, and performs bidirectional communication from a higher-level apparatus separate from the printing apparatus that generates image data for printing. A plurality of data transfer control units that store image data transferred through the plurality of first transfer paths to be stored in the storage unit and read the image data from the storage unit in response to an instruction to start printing; A printing unit that prints image data on a recording medium, and control information for controlling printing are received from the host device via a second transfer path, and the plurality of data transfer control units are based on the control information. a print control unit for instructing each of the print start independently, an output control unit for each said image data read out from said storage unit by said plurality of data transfer control unit, and outputs to the printing unit, The plurality of data transfer control units are connected to each other, and the image data can be transferred between the plurality of data transfer control units, and each of the plurality of data transfer control units has its own storage unit or The image data is read from a storage unit of another data transfer control unit and output to the output control unit.

また、本発明にかかる印刷制御方法は、印刷装置で実行される印刷制御方法であって、複数のデータ転送制御部のそれぞれが、印刷用の画像データを生成する前記印刷装置と別体の上位装置から双方向の通信を行う複数の第1の転送路をそれぞれ介して転送される画像データを記憶部に格納し、印刷開始の指示に応じて前記記憶部から前記画像データを読み出すデータ転送制御ステップと、印刷部が、前記画像データを記録媒体に印刷するステップと、印刷制御部が、印刷を制御するための制御情報を前記上位装置から第2の転送路を介して受け取り、該制御情報に基づいて、前記複数のデータ転送制御部にそれぞれ独立に前記印刷開始の指示を行う印刷制御ステップと、出力制御部が、前記複数のデータ転送制御部によって前記記憶部から読み出された前記画像データそれぞれを、前記印刷部に出力する出力制御ステップと、を含み、前記複数のデータ転送制御部は互いに接続され、前記複数のデータ転送制御部の間で前記画像データの転送が可能であり、前記データ転送制御ステップは、前記複数のデータ転送制御部のそれぞれが、自己の記憶部または他のデータ転送制御部の記憶部から前記画像データを読み出して前記出力制御部に出力するステップ、を含むことを特徴とする。 The print control method according to the present invention is a print control method executed by a printing apparatus, wherein each of a plurality of data transfer control units is separate from the printing apparatus that generates image data for printing. Data transfer control for storing image data transferred via a plurality of first transfer paths that perform bidirectional communication from the apparatus in the storage unit and reading the image data from the storage unit in response to an instruction to start printing A step in which the printing unit prints the image data on a recording medium, and a printing control unit receives control information for controlling printing from the host device via a second transfer path, and the control information based on a print control step for instructing the print start independently to the plurality of data transfer control unit, the output control unit, from the storage unit by the plurality of data transfer control unit An output control step of outputting each of the extracted image data to the printing unit, wherein the plurality of data transfer control units are connected to each other, and the image data is transferred between the plurality of data transfer control units. In the data transfer control step, each of the plurality of data transfer control units reads the image data from its own storage unit or a storage unit of another data transfer control unit and sends it to the output control unit. And a step of outputting.

本発明によれば、モノクロ画像とカラー画像が混在する印刷が行われた場合でも、メモリ領域を有効に使用することができるという効果を奏する。   According to the present invention, there is an effect that the memory area can be used effectively even when printing in which a monochrome image and a color image are mixed is performed.

図1は、本実施の形態の印刷システムの一例の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an example of a printing system according to the present embodiment. 図2は、上位装置の一例の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of an example of the host device. 図3は、上位装置の機能を示す一例の機能ブロック図である。FIG. 3 is a functional block diagram illustrating an example of the functions of the host device. 図4は、プリンタ装置の一例の構成を示すブロック図である。FIG. 4 is a block diagram illustrating an exemplary configuration of the printer apparatus. 図5は、プリンタコントローラの一例の構成を示すブロック図である。FIG. 5 is a block diagram illustrating an exemplary configuration of the printer controller. 図6は、データ転送制御部の一例の構成を概略的に示すブロック図である。FIG. 6 is a block diagram schematically showing a configuration of an example of the data transfer control unit. 図7は、データ転送制御部の一例の構成をより詳細に示すブロック図である。FIG. 7 is a block diagram showing in more detail the configuration of an example of the data transfer control unit. 図8は、画像出力部の一例の構成を示すブロック図である。FIG. 8 is a block diagram illustrating a configuration of an example of the image output unit. 図9は、本実施の形態に適用可能な用紙の搬送系を含めたプリンタ装置の一例の構造を概略的に示す略線図である。FIG. 9 is a schematic diagram schematically illustrating the structure of an example of a printer apparatus including a paper conveyance system applicable to the present embodiment. 図10は、上位装置とプリンタ装置のプリンタコントローラとの間で送受信される制御情報の一例を示す略線図である。FIG. 10 is a schematic diagram illustrating an example of control information transmitted and received between the host device and the printer controller of the printer device. 図11は、仮想メモリの一例を示す説明図である。FIG. 11 is an explanatory diagram of an example of a virtual memory. 図12は、仮想メモリ上での入力ポインタおよび出力ポインタの制御を説明するための図である。FIG. 12 is a diagram for explaining the control of the input pointer and the output pointer on the virtual memory. 図13は、データ転送制御部30aのメモリアドレス割り当てと、データ転送制御部30aから他のデータ転送制御部30b、30c、30dへアクセスする手順について説明するための図である。FIG. 13 is a diagram for explaining the memory address assignment of the data transfer control unit 30a and the procedure for accessing the other data transfer control units 30b, 30c, and 30d from the data transfer control unit 30a. 図14は、データ転送制御部30bのメモリアドレス割り当てと、データ転送制御部30bから他のデータ転送制御部30a、30c、30dへアクセスする手順について説明するための図である。FIG. 14 is a diagram for explaining a memory address assignment of the data transfer control unit 30b and a procedure for accessing the other data transfer control units 30a, 30c, and 30d from the data transfer control unit 30b. 図15は、データ転送制御部30cのメモリアドレス割り当てと、データ転送制御部30cから他のデータ転送制御部30a、30b、30dへアクセスする手順について説明するための図である。FIG. 15 is a diagram for explaining a memory address assignment of the data transfer control unit 30c and a procedure for accessing the other data transfer control units 30a, 30b, and 30d from the data transfer control unit 30c. 図16は、データ転送制御部30dのメモリアドレス割り当てと、データ転送制御部30dから他のデータ転送制御部30a、30b、30cへアクセスする手順について説明するための図である。FIG. 16 is a diagram for explaining a memory address assignment of the data transfer control unit 30d and a procedure for accessing the other data transfer control units 30a, 30b, and 30c from the data transfer control unit 30d. 図17は、本実施の形態の印刷処理のシーケンス図である。FIG. 17 is a sequence diagram of print processing according to the present embodiment. 図18は、本実施の形態のプリンタコントローラにおける印刷制御処理の手順を示すフローチャートである。FIG. 18 is a flowchart showing the procedure of the print control process in the printer controller of this embodiment. 図19は、本実施の形態のプリンタコントローラにおける印刷制御処理の手順を示すフローチャートである。FIG. 19 is a flowchart showing the procedure of the print control process in the printer controller of this embodiment. 図20は、本実施の形態の転送管理テーブルの一例を示す図である。FIG. 20 is a diagram illustrating an example of a transfer management table according to the present embodiment.

以下に添付図面を参照して、本発明に係る印刷装置および印刷制御方法の実施形態を詳細に説明する。先ず、理解を容易とするために、本実施の形態による印刷装置を含む印刷システムが適用されるプロダクションプリンティングについて、概略的に説明する。プロダクションプリンティングでは、短時間に大量の印刷を行うことを基本的な考え方としている。そのために、プロダクションプリンティングでは、印刷の高速化を図ると共に、ジョブ管理や印刷データの管理などを効率的に行うために、印刷データの作成から印刷物の分配までの管理を行うワークフローのシステムを構築する。   Hereinafter, embodiments of a printing apparatus and a printing control method according to the present invention will be described in detail with reference to the accompanying drawings. First, in order to facilitate understanding, production printing to which a printing system including a printing apparatus according to the present embodiment is applied will be schematically described. In production printing, the basic idea is to perform a large amount of printing in a short time. For this reason, in production printing, in order to speed up printing and efficiently manage jobs and print data, a workflow system that manages from creation of print data to distribution of printed materials is constructed. .

本実施の形態による印刷システムは、プロダクションプリンティングのワークフローにおける、印刷を実行する部分に関わるもので、RIP(Raster Image Processor)処理と、RIP処理により得られたビットマップデータの印刷とを別の装置で行う。RIP処理は、印刷処理の中でも最も処理時間を要し、RIP処理を行う装置と、印刷処理を行う装置とを分離することで、印刷の高速化が可能となる。   The printing system according to the present embodiment relates to a part that executes printing in a production printing workflow, and separates RIP (Raster Image Processor) processing and printing of bitmap data obtained by RIP processing. To do. The RIP process takes the longest processing time in the printing process, and the printing speed can be increased by separating the apparatus that performs the RIP process from the apparatus that performs the printing process.

(印刷システムの概要)
図1は、本実施の形態にかかる印刷システムの一例の構成を示す。この印刷システムは、上位装置10と、印刷装置としてのプリンタ装置13とが、複数のデータ線11と、制御線12とで接続されて構成される。そして、ホスト装置5が上位装置10にネットワークで接続される。ホスト装置5は、例えばコンピュータであって、印刷画像データと、印刷設定情報とを含む印刷ジョブデータを生成する。
(Overview of printing system)
FIG. 1 shows an exemplary configuration of a printing system according to the present embodiment. This printing system is configured by connecting a host device 10 and a printer device 13 as a printing device by a plurality of data lines 11 and control lines 12. Then, the host device 5 is connected to the host device 10 via a network. The host device 5 is a computer, for example, and generates print job data including print image data and print setting information.

印刷ジョブデータは、例えばページ記述言語(PDL)によるデータ(以下、PDLデータと呼ぶ)を含む。このPDLデータを解釈することで、印刷を行うビットマップイメージからなる印刷画像データと、印刷の際のページ情報、レイアウト情報、印刷部数を示す情報など、印刷の設定に関わる印刷設定情報とが生成される。   The print job data includes, for example, data in a page description language (PDL) (hereinafter referred to as PDL data). By interpreting this PDL data, print image data composed of bitmap images to be printed and print setting information related to print settings such as page information, layout information, and information indicating the number of copies to be printed are generated. Is done.

上位装置10は、ホスト装置5から供給される印刷ジョブデータに従ってRIP処理を行い、印刷画像データである各色毎のビットマップデータを作成する。それと共に、上位装置10は、当該印刷ジョブデータやホスト装置5からの情報などに基づき、印刷動作を制御するための制御情報を作成する。   The host device 10 performs RIP processing according to the print job data supplied from the host device 5 and creates bitmap data for each color, which is print image data. At the same time, the upper level apparatus 10 creates control information for controlling the printing operation based on the print job data and information from the host apparatus 5.

上位装置10で作成された各色毎の印刷画像データは、複数のデータ線11をそれぞれ介してプリンタ装置13の図示されないプリンタエンジン部に供給される。また、上位装置10とプリンタコントローラ14との間で、制御線12を介して、印刷を制御するための制御情報の送受信が行われる。プリンタコントローラ14は、この制御情報の送受信に基づきプリンタエンジン部を制御して印刷媒体に対する画像形成を行い、印刷ジョブに従った印刷を実行する。なお、この制御情報の具体的な例については後述する。   The print image data for each color created by the host device 10 is supplied to a printer engine unit (not shown) of the printer device 13 via a plurality of data lines 11. Also, control information for controlling printing is transmitted and received between the upper level apparatus 10 and the printer controller 14 via the control line 12. The printer controller 14 controls the printer engine unit based on the transmission / reception of the control information, forms an image on the print medium, and executes printing according to the print job. A specific example of this control information will be described later.

印刷方式は特に限定されないが、本実施の形態では、印刷媒体として印刷用紙を用い、インクジェット方式により印刷用紙に対して印刷画像を形成する。これに限らず、各実施形態を、トナーを用いて印刷用紙に対して印刷画像を形成する印刷装置にも適用可能である。また、印刷用紙は、切断可能なミシン目が所定間隔で打たれた連続紙である連帳紙(連続帳票)を用いるものとする。プロダクションプリンティングでは、印刷用紙としてこの連帳紙を用いることが多い。勿論、これに限らず、A4サイズ、B4サイズなど、サイズが固定的とされたカット紙を印刷用紙として用いてもよい。なお、連帳紙において、ページは、例えば所定間隔で打たれたミシン目で挟まれる領域をいうものとする。   Although the printing method is not particularly limited, in this embodiment, printing paper is used as a printing medium, and a print image is formed on the printing paper by an inkjet method. Not only this but each embodiment is applicable also to the printing apparatus which forms a printing image with respect to printing paper using a toner. Further, as the printing paper, continuous form paper (continuous form) that is continuous paper in which perforable perforations are punched at a predetermined interval is used. In production printing, this continuous paper is often used as printing paper. Needless to say, the present invention is not limited to this, and a cut sheet having a fixed size such as A4 size or B4 size may be used as the printing paper. In the continuous paper, a page refers to an area sandwiched between perforations that are struck at a predetermined interval, for example.

なお、本実施の形態による印刷システムが印刷対象とする印刷媒体は、紙の印刷用紙に限定されない。すなわち、本実施の形態に適用される印刷方式により印刷が可能で、且つ、ロールとして提供可能な印刷媒体であれば、他の印刷媒体を用いてもよい。例えば、プラスチックフィルムや布などを印刷媒体として用いてもよい。   Note that the print medium to be printed by the printing system according to the present embodiment is not limited to paper printing paper. That is, other printing media may be used as long as printing is possible by the printing method applied to the present embodiment and can be provided as a roll. For example, a plastic film or cloth may be used as the print medium.

(上位装置)
図2は、上位装置10の一例の構成を示す。バス100に対してCPU(Central Processing Unit)101、ROM(Read Only Memory)102、RAM(Random Access Memory)103、ハードディスクドライブ(HDD)104が接続される。バス100に対して、さらに、外部I/F110、制御情報用I/F111および印刷画像データ用I/F112が接続される。バス100に接続されたこれら各部は、バス100を介して互いに通信可能とされている。
(Host device)
FIG. 2 shows an exemplary configuration of the host device 10. A CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, and a hard disk drive (HDD) 104 are connected to the bus 100. An external I / F 110, a control information I / F 111, and a print image data I / F 112 are further connected to the bus 100. These units connected to the bus 100 can communicate with each other via the bus 100.

ROM102およびHDD104は、CPU101が動作するためのプログラムが予め格納される。RAM103は、CPU101のワークメモリとして用いられる。すなわち、CPU101は、ROM102およびHDD104に格納されるプログラムに従い、RAM103をワークメモリとして用いて、この上位装置10の全体の動作を制御する。   In ROM 102 and HDD 104, a program for operating CPU 101 is stored in advance. The RAM 103 is used as a work memory for the CPU 101. That is, the CPU 101 controls the overall operation of the host device 10 using the RAM 103 as a work memory in accordance with programs stored in the ROM 102 and the HDD 104.

外部I/F110は、例えばTCP/IP(Transmission Control Protocol/Internet Protocol)に対応し、ホスト装置5との通信を制御する。制御情報用I/F111は、制御情報の通信を制御する。また、印刷画像データ用I/F112は、印刷画像データの通信を制御するもので、複数のチャネルを有する。例えば、上位装置10において作成された、色Y(Yellow)、C(Cyan)、M(Magenta)およびK(Black)による各色の印刷画像データは、これら複数のチャネルからそれぞれ出力される。印刷画像データ用I/F112は、高速な転送速度が要求されるため、例えばPCI Express(Peripheral Component Interconnect Bus Express)が用いられる。制御情報用I/F111の方式は特に限定されないが、ここでは、印刷画像データ用I/F112と同様に、PCI Expressを用いるものとする。   The external I / F 110 corresponds to, for example, TCP / IP (Transmission Control Protocol / Internet Protocol) and controls communication with the host device 5. The control information I / F 111 controls communication of control information. The print image data I / F 112 controls communication of print image data and has a plurality of channels. For example, the print image data of each color by the colors Y (Yellow), C (Cyan), M (Magenta), and K (Black) created in the host device 10 is output from each of the plurality of channels. Since the print image data I / F 112 is required to have a high transfer rate, for example, PCI Express (Peripheral Component Interconnect Bus Express) is used. The method of the control information I / F 111 is not particularly limited, but here, as with the print image data I / F 112, PCI Express is used.

このような構成において、ホスト装置5から送信された印刷ジョブデータが、上位装置10の外部I/F110に受信され、CPU101を介してHDD104に格納される。CPU101は、HDD104から読み出した印刷ジョブデータに基づきRIP処理を行い、各色のビットマップデータを生成してRAM103にそれぞれ書き出す。例えば、CPU101は、RIP処理によりPDL(Page Description Language)データをレンダリングして各色のビットマップデータを生成してRAM103に書き出す。CPU101は、RAM103に書き出された各色のビットマップデータを圧縮符号化してHDD104に一旦格納する。   In such a configuration, print job data transmitted from the host device 5 is received by the external I / F 110 of the upper level device 10 and stored in the HDD 104 via the CPU 101. The CPU 101 performs RIP processing based on the print job data read from the HDD 104, generates bitmap data for each color, and writes it to the RAM 103. For example, the CPU 101 renders PDL (Page Description Language) data by RIP processing, generates bitmap data of each color, and writes it to the RAM 103. The CPU 101 compresses and encodes the bitmap data of each color written in the RAM 103 and temporarily stores it in the HDD 104.

CPU101は、例えばプリンタ装置13において印刷動作が開始される際に、HDD104から圧縮符号化された各色のビットマップデータを読み出して圧縮符号を復号し、伸張された各色のビットマップデータをRAM103にそれぞれ書き込む。そして、CPU101は、RAM103からこれら各色のビットマップデータを読み出して、各色の印刷画像データとして印刷画像データ用I/F112の各チャネルからそれぞれ出力させ、プリンタ装置13に対して供給する。また、CPU101は、印刷動作の進行などに応じて、印刷を制御するための制御情報の送受信を、プリンタ装置13との間で制御情報用I/F111を介して行う。   For example, when the printing operation is started in the printer device 13, the CPU 101 reads out the bitmap data of each color compressed and encoded from the HDD 104, decodes the compressed code, and stores the decompressed bitmap data of each color in the RAM 103. Write. Then, the CPU 101 reads out the bitmap data of each color from the RAM 103, outputs it as print image data of each color from each channel of the print image data I / F 112, and supplies it to the printer device 13. The CPU 101 transmits / receives control information for controlling printing to / from the printer device 13 via the control information I / F 111 according to the progress of the printing operation.

図3は、上位装置10の機能を説明するための一例の機能ブロック図である。上位装置10は、インターフェイス(I/F)120、123および125、RIP部121、記憶部122、ならびに、制御部124を含む。インターフェイス120、123および125は、それぞれ図2における外部I/F110、印刷画像データ用I/F112および制御情報用I/F111に対応する。RIP部121および制御部124は、図2におけるCPU101上で動作するプログラムにより構成される。また、記憶部122は、図2におけるRAM103またはHDD104のうち少なくとも一方に対応する。   FIG. 3 is a functional block diagram of an example for explaining the functions of the host device 10. The host device 10 includes interfaces (I / F) 120, 123 and 125, a RIP unit 121, a storage unit 122, and a control unit 124. The interfaces 120, 123, and 125 correspond to the external I / F 110, the print image data I / F 112, and the control information I / F 111 in FIG. 2, respectively. The RIP unit 121 and the control unit 124 are configured by programs that operate on the CPU 101 in FIG. The storage unit 122 corresponds to at least one of the RAM 103 or the HDD 104 in FIG.

ホスト装置5でPDLデータを含む印刷ジョブデータが作成され、上位装置10に対して送信される。この印刷ジョブデータは、インターフェイス120に受信されてRIP部121に供給される。RIP部121は、供給された印刷ジョブデータに含まれるPDLデータに基づきレンダリングを行い、Y、C、M、K各色のビットマップデータによる印刷画像データを生成する。RIP部121は、生成したY、C、M、K各色の印刷画像データを、記憶部122に順次格納する。   Print job data including PDL data is created by the host device 5 and transmitted to the host device 10. This print job data is received by the interface 120 and supplied to the RIP unit 121. The RIP unit 121 performs rendering based on the PDL data included in the supplied print job data, and generates print image data using bitmap data of each of Y, C, M, and K colors. The RIP unit 121 sequentially stores the generated print image data for each color of Y, C, M, and K in the storage unit 122.

制御部124は、インターフェイス125を介してプリンタ装置13のプリンタコントローラ14と通信を行う。例えば、制御部124は、ホスト装置5からインターフェイス120を介して供給された印刷ジョブデータに基づき、プリンタ装置13における印刷を制御するための制御情報を生成する。この制御情報は、制御部124からインターフェイス125を介してプリンタコントローラ14に送信される。   The control unit 124 communicates with the printer controller 14 of the printer device 13 via the interface 125. For example, the control unit 124 generates control information for controlling printing in the printer device 13 based on print job data supplied from the host device 5 via the interface 120. This control information is transmitted from the control unit 124 to the printer controller 14 via the interface 125.

インターフェイス123は、記憶部122に記憶されるY、C、M、K各色の印刷画像データにそれぞれ独立してアクセスできるようになっている。また、インターフェイス123は、Y、C、M、K各色に対応する複数のデータ線11を介してプリンタ装置13に接続され、この複数のデータ線11を介して、プリンタ装置13との間でY、C、M、K各色の印刷画像データ転送に関する制御情報のやりとりや、Y、C、M、K各色の印刷画像データの転送を行う。   The interface 123 can independently access print image data of each color Y, C, M, and K stored in the storage unit 122. The interface 123 is connected to the printer device 13 via a plurality of data lines 11 corresponding to each color of Y, C, M, and K, and the Y is connected to the printer device 13 via the plurality of data lines 11. , C, M, and K color print image data transfer, and Y, C, M, and K color print image data transfer.

(プリンタ装置)
図4は、プリンタ装置13の一例の構成を示す。プリンタ装置13は、プリンタコントローラ14およびプリンタエンジン15を有する。プリンタコントローラ14は、制御線12が接続され、上位装置10との間で制御線12を介して制御情報の送受信を行って印刷動作の制御を行う。プリンタエンジン15は、複数のデータ線11a、11b、11cおよび11dがそれぞれ接続され、プリンタコントローラ14の制御に従い、これらデータ線11a、11b、11cおよび11dをそれぞれ介して上位装置10から転送された各色の印刷画像データによる印刷処理を行う。
(Printer device)
FIG. 4 shows an exemplary configuration of the printer device 13. The printer device 13 includes a printer controller 14 and a printer engine 15. The printer controller 14 is connected to the control line 12 and controls the printing operation by transmitting / receiving control information to / from the host apparatus 10 via the control line 12. The printer engine 15 is connected to a plurality of data lines 11a, 11b, 11c, and 11d, and each color transferred from the host device 10 through the data lines 11a, 11b, 11c, and 11d, respectively, under the control of the printer controller 14. Print processing using the print image data.

プリンタコントローラ14およびプリンタエンジン15について、より詳細に説明する。プリンタコントローラ14は、制御情報送受信部20、制御信号送受信部21、用紙搬送制御部22および制御部23を有する。   The printer controller 14 and the printer engine 15 will be described in more detail. The printer controller 14 includes a control information transmission / reception unit 20, a control signal transmission / reception unit 21, a paper conveyance control unit 22, and a control unit 23.

制御情報送受信部20は、上位装置10との間で、印刷を制御するための制御情報の送受信を制御線12を介して行う。制御信号送受信部21は、後述するデータ転送制御部30a、30b、30cおよび30dのそれぞれと、エンジンI/F制御線40a、40b、40cおよび40dにより接続される。制御信号送受信部21は、各データ転送制御部30a、30b、30cおよび30dとの間で、それぞれ個別に制御信号の送受信を行う。用紙搬送制御部22は、後述する搬送制御部51と搬送制御線41により接続され、搬送制御部51との間で用紙搬送を制御するための制御信号の送受信を行う。   The control information transmission / reception unit 20 transmits / receives control information for controlling printing to / from the host device 10 via the control line 12. The control signal transmission / reception unit 21 is connected to data transfer control units 30a, 30b, 30c, and 30d, which will be described later, through engine I / F control lines 40a, 40b, 40c, and 40d. The control signal transmission / reception unit 21 individually transmits / receives control signals to / from the data transfer control units 30a, 30b, 30c, and 30d. The sheet conveyance control unit 22 is connected to a conveyance control unit 51 (to be described later) by a conveyance control line 41, and transmits and receives control signals for controlling the sheet conveyance to and from the conveyance control unit 51.

制御部23は、例えばCPU、ROMおよびRAMを有し、ROMに予め記憶されるプログラムに従い、RAMをワークメモリとして用いてプリンタコントローラ14の各部の制御を行う。また、制御部23は、上位装置10から送信され制御情報送受信部20により受信された制御情報を解釈して、制御信号送受信部21や用紙搬送制御部22に渡す。   The control unit 23 includes, for example, a CPU, a ROM, and a RAM, and controls each unit of the printer controller 14 using the RAM as a work memory according to a program stored in advance in the ROM. In addition, the control unit 23 interprets the control information transmitted from the upper level device 10 and received by the control information transmission / reception unit 20, and passes the control information to the control signal transmission / reception unit 21 and the paper conveyance control unit 22.

なお、制御情報送受信部20、制御信号送受信部21および用紙搬送制御部22は、制御部23に制御されるハードウェアとして構成してもよいし、制御部23上で動作されるプログラムのモジュールとして構成してもよい。   The control information transmission / reception unit 20, the control signal transmission / reception unit 21, and the paper conveyance control unit 22 may be configured as hardware controlled by the control unit 23, or as a program module operated on the control unit 23. It may be configured.

図5は、プリンタコントローラ14の一例のハードウェア構成を示す。プリンタコントローラ14は、CPU321、インターフェイス(I/F)322、RAM323およびROM324を有し、これらCPU321、インターフェイス322、RAM323およびROM324が互いに通信可能にバス320に接続される。バス320には、図示されない通信I/Fを介して制御線12も接続される。CPU321は、ROM324に格納されるプログラムに従いRAM323をワークメモリとして用いて動作し、プリンタ装置13の全体の動作を制御する。インターフェイス322には、ハードウェア的に構成されたロジック回路が含まれ、プリンタコントローラ14と、データ転送制御部30a、30b、30cおよび30d、ならびに、搬送制御部51との通信を制御する。   FIG. 5 shows an exemplary hardware configuration of the printer controller 14. The printer controller 14 includes a CPU 321, an interface (I / F) 322, a RAM 323, and a ROM 324, and the CPU 321, the interface 322, the RAM 323, and the ROM 324 are connected to a bus 320 so that they can communicate with each other. The control line 12 is also connected to the bus 320 via a communication I / F (not shown). The CPU 321 operates using the RAM 323 as a work memory in accordance with a program stored in the ROM 324 and controls the overall operation of the printer device 13. The interface 322 includes a logic circuit configured in hardware, and controls communication between the printer controller 14, the data transfer control units 30 a, 30 b, 30 c and 30 d, and the transport control unit 51.

このような構成において、例えば、図4における制御信号送受信部21および用紙搬送制御部22の機能は、I/F322により実現される。制御部23の機能は、CPU321上で動作するプログラムにより実現される。また、制御情報送受信部20の機能は、図示されない通信I/Fおよびバス320により実現される。   In such a configuration, for example, the functions of the control signal transmission / reception unit 21 and the sheet conveyance control unit 22 in FIG. 4 are realized by the I / F 322. The function of the control unit 23 is realized by a program operating on the CPU 321. Further, the function of the control information transmitting / receiving unit 20 is realized by a communication I / F and a bus 320 (not shown).

図4の説明に戻り、プリンタエンジン15は、同一の構成による複数のデータ転送制御部30a、30b、30cおよび30dを有すると共に、印刷画像データに基づく画像を用紙に出力し画像形成を行う画像出力部50と、印刷用紙の搬送を制御する搬送制御部51とを有する。   Returning to the description of FIG. 4, the printer engine 15 has a plurality of data transfer control units 30a, 30b, 30c, and 30d having the same configuration, and outputs an image based on the print image data on a sheet to form an image. And a conveyance control unit 51 that controls conveyance of the printing paper.

データ転送制御部30a、30b、30cおよび30dは、それぞれデータ線11a、11b、11cおよび11dが接続される。また、データ転送制御部30a、30b、30cおよび30dは、それぞれメモリ31a、31b、31cおよび31dを含み、上位装置10から、データ線11a、11b、11cおよび11dを介して転送された各色の印刷画像データを、それぞれメモリ31a、31b、31cおよび31dに格納する。   Data lines 11a, 11b, 11c and 11d are connected to data transfer control units 30a, 30b, 30c and 30d, respectively. The data transfer control units 30a, 30b, 30c, and 30d include memories 31a, 31b, 31c, and 31d, respectively, and print each color transferred from the host device 10 through the data lines 11a, 11b, 11c, and 11d. The image data is stored in the memories 31a, 31b, 31c and 31d, respectively.

さらに、データ転送制御部30a、30b、30cおよび30dは、データ線34により互いに接続されており、このデータ線34を介してデータ転送制御部30a、30b、30cおよび30dのそれぞれの間で印刷画像データの転送が可能となっている。   Further, the data transfer control units 30a, 30b, 30c and 30d are connected to each other by a data line 34, and a print image is transmitted between the data transfer control units 30a, 30b, 30c and 30d via the data line 34. Data transfer is possible.

これらメモリ31a、31b、31cおよび31dは、例えば同一のメモリ容量と、アドレス構成とを有する。また、メモリ31a、31b、31cおよび31dのそれぞれは、少なくともカラー画像データ3ページ分の印刷画像データを格納可能な容量を有する。3ページ分の印刷画像データは、例えば、上位装置10から転送中のページの印刷画像データと、現在出力中のページの印刷画像データと、次のページの印刷画像データとに対応する。   These memories 31a, 31b, 31c and 31d have, for example, the same memory capacity and address configuration. Each of the memories 31a, 31b, 31c and 31d has a capacity capable of storing print image data for at least three pages of color image data. The print image data for three pages corresponds to, for example, the print image data of the page being transferred from the upper level device 10, the print image data of the page currently being output, and the print image data of the next page.

さらに、データ転送制御部30a、30b、30cおよび30dは、それぞれエンジンI/F制御線40a、40b、40cおよび40dにより制御信号送受信部21と接続される。制御信号送受信部21は、これらエンジンI/F制御線40a、40b、40cおよび40dを介して、各データ転送制御部30a、30b、30cおよび30dとの間でそれぞれ個別に制御信号の送受信を行うことができる。   Further, the data transfer control units 30a, 30b, 30c and 30d are connected to the control signal transmission / reception unit 21 through engine I / F control lines 40a, 40b, 40c and 40d, respectively. The control signal transmission / reception unit 21 individually transmits / receives control signals to / from the data transfer control units 30a, 30b, 30c, and 30d via the engine I / F control lines 40a, 40b, 40c, and 40d. be able to.

図6は、データ転送制御部30a,30bの一例の構成を概略的に示す。なお、データ転送制御部30a、30b、30cおよび30dは、共通の構成が適用されるので、図6では、データ転送制御部30a、30b、30cおよび30dを代表してデータ転送制御部30a、30bの構成を示し、代表してデータ転送制御部30aについて説明する。   FIG. 6 schematically shows an example of the configuration of the data transfer control units 30a and 30b. Since the data transfer control units 30a, 30b, 30c and 30d have a common configuration, in FIG. 6, the data transfer control units 30a, 30b are representative of the data transfer control units 30a, 30b, 30c and 30d. The data transfer control unit 30a will be described as a representative.

データ転送制御部30aは、メモリ31aおよびロジック回路32aを含む。ロジック回路32aに対して、エンジンI/F制御線40aおよびデータ線11aが接続される。ロジック回路32aは、制御信号送受信部21からエンジンI/F制御線40aを介して受け取った制御信号に従い、上位装置10からデータ線11aを介して転送された印刷画像データをメモリ31aに対して格納する。同様に、ロジック回路32aは、制御信号送受信部21からエンジンI/F制御線40aを介して受け取った制御信号に従い、メモリ31aまたはデータ線34を介して接続された他のデータ転送制御部30b、30c、30dのメモリ31b,31c,31dから印刷画像データを読み出して、出力線33aを介して後述する画像出力部50に供給する。   The data transfer control unit 30a includes a memory 31a and a logic circuit 32a. The engine I / F control line 40a and the data line 11a are connected to the logic circuit 32a. The logic circuit 32a stores the print image data transferred from the host device 10 via the data line 11a in the memory 31a according to the control signal received from the control signal transmission / reception unit 21 via the engine I / F control line 40a. To do. Similarly, the logic circuit 32a is connected to another data transfer control unit 30b connected via the memory 31a or the data line 34 in accordance with the control signal received from the control signal transmission / reception unit 21 via the engine I / F control line 40a. Print image data is read from the memories 31b, 31c, and 31d of the 30c and 30d, and supplied to the image output unit 50 described later via the output line 33a.

ロジック回路32aは、アドレス変換部39aを備えている。なお、他のデータ転送制御部30b、30c、30dの各ロジック回路32b、32c、32dもそれぞれアドレス変換部39b、39c、39dを備えている。また、データ転送制御部30a,30b,30c,30dは、それぞれメモリ31a,31b,31c,31dについて共通のメモリマップを有している。   The logic circuit 32a includes an address conversion unit 39a. The logic circuits 32b, 32c, and 32d of the other data transfer control units 30b, 30c, and 30d also include address conversion units 39b, 39c, and 39d, respectively. The data transfer control units 30a, 30b, 30c, and 30d have a common memory map for the memories 31a, 31b, 31c, and 31d, respectively.

このアドレス変換部39aは、他のデータ転送制御部30b、30c、30dからメモリ31aに格納された印刷画像データの読み出しが行われる際、アクセス要求を行った他のデータ転送制御部30b、30c、30dで指定された他のデータ転送制御部30b、30c、30d側のアドレスを、自己のデータ転送制御部30aで使用するアドレスに変換する機能を有する。このため、このとき、データ転送制御部30aは、自己のメモリ31aにおいてアドレス変換部39aで変換されたアドレスに記憶されている印刷画像データを、アクセス要求を行った他のデータ転送制御部30b、30c、30dに受け渡す。   The address conversion unit 39a is configured to read the print image data stored in the memory 31a from the other data transfer control units 30b, 30c, and 30d. It has a function of converting the addresses on the other data transfer control units 30b, 30c, 30d designated by 30d into addresses used by its own data transfer control unit 30a. For this reason, at this time, the data transfer control unit 30a receives the print image data stored in the address converted by the address conversion unit 39a in the memory 31a of the other data transfer control unit 30b that has made an access request. Delivered to 30c and 30d.

例えば、プリンタコントローラ14の制御部23から、データ転送制御部30aに対して、アドレスによりデータ転送制御部30bのメモリ31bに保存されている印刷画像データを読むことを指示されると、データ転送制御部30aはデータ線34を介して、データが保存されているデータ転送制御部30bへアクセスする。アクセス要求を受けたデータ転送制御部30bでは、ロジック回路32bのアドレス変換部39aによりメモリ31bのアドレスへ変換され、メモリ31bに保存されているデータへアクセスする。読乱された印刷画像データはデータ線34を介してデータ転送制御部30aへと転送される。   For example, when the control unit 23 of the printer controller 14 instructs the data transfer control unit 30a to read print image data stored in the memory 31b of the data transfer control unit 30b by an address, the data transfer control The unit 30a accesses the data transfer control unit 30b in which data is stored via the data line 34. In the data transfer control unit 30b that receives the access request, the address conversion unit 39a of the logic circuit 32b converts the address into the address of the memory 31b and accesses the data stored in the memory 31b. The disturbed print image data is transferred to the data transfer control unit 30a via the data line 34.

また、ロジック回路32aには印刷画像データの伸長機能を設けてもよい。伸長機能を設けることにより、上位装置10で生成され、圧縮されてHDD104に保存されている印刷画像データを、上位装置10で伸長せずにデータ線11a〜11dを介して転送することができるため、メモリ31a〜31dの容量を低減することができ、かつ、データ線11a〜11dのトラフィックを軽減することができる。   The logic circuit 32a may be provided with a print image data decompression function. By providing the decompression function, print image data generated by the host device 10 and compressed and stored in the HDD 104 can be transferred via the data lines 11 a to 11 d without being decompressed by the host device 10. The capacity of the memories 31a to 31d can be reduced, and the traffic on the data lines 11a to 11d can be reduced.

なお、論理回路などの組み合わせによりハードウェア的に構成されたロジック回路32aによる制御は、プログラムに対する割り込みにより処理を分岐させる、CPUを用いた制御に対してより高速な処理が可能であるという利点がある。ロジック回路32aは、例えば、エンジンI/F制御線40aを介して受け取った、ビット列による制御信号に対して論理判定を行い、実行する処理を決定する。これに限らず、ロジック回路32aと同等の機能を、CPUを用いてソフトウェア的に実現してもよい。   Note that the control by the logic circuit 32a configured in hardware by a combination of logic circuits and the like has an advantage that higher-speed processing is possible compared to control using a CPU that branches processing by interruption to a program. is there. For example, the logic circuit 32a performs logic determination on a control signal based on a bit string received via the engine I / F control line 40a and determines a process to be executed. However, the present invention is not limited to this, and a function equivalent to that of the logic circuit 32a may be realized by software using a CPU.

データ転送制御部30a、30b、30cおよび30dからそれぞれ出力された各色の印刷画像データは、画像出力部50に供給される。画像出力部50は、各色の印刷画像データによる印刷を実行する。なお、各実施形態では、印刷画像データによる印刷を、ヘッドに設けられたノズルからインクを射出して印刷を行う、インクジェット方式により行う。勿論、印刷方式はインクジェット方式に限られず、例えばレーザプリンタ方式などを用いてもよい。   The print image data of each color output from the data transfer control units 30a, 30b, 30c, and 30d is supplied to the image output unit 50. The image output unit 50 executes printing using print image data of each color. In each embodiment, printing using print image data is performed by an ink jet method in which printing is performed by ejecting ink from nozzles provided in a head. Of course, the printing method is not limited to the ink jet method, and for example, a laser printer method or the like may be used.

図7は、データ転送制御部30aの一例の構成をより詳細に示す。なお、図7において、上述した図6と共通する部分には同一の符号を付して、詳細な説明を省略する。データ転送制御部30aは、メモリ31a、メモリコントローラ132a、データ転送DMA(Direct Memory Access)133aおよび134a、アドレス変換部39aならびに、データ転送制御部コントローラ135aを有する。これらのうち、メモリコントローラ132a、データ転送DMA(Direct Memory Access)133aおよび134a、アドレス変換部39aならびにデータ転送制御部コントローラ135aが、図6におけるロジック回路32aに含まれる。   FIG. 7 shows the configuration of an example of the data transfer control unit 30a in more detail. In FIG. 7, the same reference numerals are given to the portions common to FIG. 6 described above, and detailed description thereof is omitted. The data transfer control unit 30a includes a memory 31a, a memory controller 132a, data transfer DMAs (Direct Memory Access) 133a and 134a, an address conversion unit 39a, and a data transfer control unit controller 135a. Among these, a memory controller 132a, data transfer DMAs (Direct Memory Access) 133a and 134a, an address conversion unit 39a, and a data transfer control unit controller 135a are included in the logic circuit 32a in FIG.

メモリコントローラ132aは、メモリ31aに対するアクセスを制御する。データ転送DMA133aは、上位装置10から印刷画像データを受信し、メモリコントローラ132aを介してメモリに書き込む。データ転送DMA134aは、メモリコントローラ132aを介してメモリ31aからデータを読み出し、出力線33aを介して画像出力部50に転送する。データ転送制御部コントローラ135aは、プリンタコントローラ14内の制御信号送受信部21からエンジンI/F制御線40aを介して送信される制御情報を受信し、受信した制御情報に従いデータ転送DMA133aおよび134aを制御する。   The memory controller 132a controls access to the memory 31a. The data transfer DMA 133a receives print image data from the host device 10 and writes it to the memory via the memory controller 132a. The data transfer DMA 134a reads data from the memory 31a via the memory controller 132a and transfers it to the image output unit 50 via the output line 33a. The data transfer control unit controller 135a receives control information transmitted from the control signal transmission / reception unit 21 in the printer controller 14 via the engine I / F control line 40a, and controls the data transfer DMAs 133a and 134a according to the received control information. To do.

例えば、制御信号送受信部21から送信されたデータ転送の開始要求が、エンジンI/F制御線40aを介してデータ転送制御部コントローラ135aに受信されると、データ転送制御部コントローラ135aは、この要求に従い、データ転送DMA133aに対してデータ転送の開始を指示する。データ転送DMA133aは、この指示に従い、データ転送要求をデータ線11aを介して上位装置10に送信する。この要求に従い上位装置10から送信されたデータは、例えばデータ転送DMA133aに受信され、メモリコントローラ132aを介して、メモリ31aの所定のアドレスに書き込まれる。   For example, when a data transfer start request transmitted from the control signal transmission / reception unit 21 is received by the data transfer control unit controller 135a via the engine I / F control line 40a, the data transfer control unit controller 135a Accordingly, the data transfer DMA 133a is instructed to start data transfer. In accordance with this instruction, the data transfer DMA 133a transmits a data transfer request to the host device 10 via the data line 11a. Data transmitted from the higher-level device 10 in accordance with this request is received by, for example, the data transfer DMA 133a and written to a predetermined address in the memory 31a via the memory controller 132a.

また、制御信号送受信部21から送信された印刷指示が、エンジンI/F制御線40aを介してデータ転送制御部コントローラ135aに受信されると、データ転送制御部コントローラ135aは、データ転送DMA134aに対して、メモリ31aからのデータ読み出しを指示するか、または、他のデータ転送制御部30b、30c、30dに対してアクセスして、メモリ31b、31c、31dからデータ読み出しを行う。   Further, when the print instruction transmitted from the control signal transmission / reception unit 21 is received by the data transfer control unit controller 135a via the engine I / F control line 40a, the data transfer control unit controller 135a instructs the data transfer DMA 134a. Then, it instructs to read data from the memory 31a, or accesses the other data transfer control units 30b, 30c, 30d to read data from the memories 31b, 31c, 31d.

制御信号送受信部21から送信された印刷指示には、印刷画像データが保存されておりアクセスすべきメモリ31a、31b、31c、31dがあるデータ転送制御部30a、30b、30c、30dの指定が保存データ転送制御部として含まれる。また、この印刷指示には、メモリにおける印刷画像データの保存先のアドレスがデータ格納先アドレスとして含まれる。このため、データ転送制御部30aは、印刷指示に含まれる保存データ転送制御部の指定が自己のデータ転送制御部30aかあるいは他のデータ転送制御部30b、30c、30dのいずれかであるかを判断する。そして、データ転送制御部30aは、自己のメモリ31aに対象の印刷画像データが保存されていると判断した場合には、データ転送DMA134aに対して、メモリ31aからのデータ読み出しを指示する。   The print instruction transmitted from the control signal transmitting / receiving unit 21 stores the designation of the data transfer control units 30a, 30b, 30c, and 30d in which the print image data is stored and the memories 31a, 31b, 31c, and 31d to be accessed are stored. It is included as a data transfer control unit. In addition, the print instruction includes the address of the storage destination of the print image data in the memory as the data storage destination address. Therefore, the data transfer control unit 30a determines whether the designation of the stored data transfer control unit included in the print instruction is its own data transfer control unit 30a or another data transfer control unit 30b, 30c, 30d. to decide. When the data transfer control unit 30a determines that the target print image data is stored in its own memory 31a, the data transfer control unit 30a instructs the data transfer DMA 134a to read data from the memory 31a.

データ転送DMA134aは、この指示に応じて、メモリコントローラ132aを介してメモリ31aからデータを読み出す。そして、データ転送DMA134aは、読み出したデータを、出力線33aを介して画像出力部50に転送する。   In response to this instruction, the data transfer DMA 134a reads data from the memory 31a via the memory controller 132a. Then, the data transfer DMA 134a transfers the read data to the image output unit 50 via the output line 33a.

一方、データ転送制御部30aは、印刷指示から他のデータ転送制御部30b、30c、30dのメモリ31b、31c、31dに対象の印刷画像データが保存されていると判断した場合には、印刷指示に含まれる保存データ転送制御部で指定されたデータ転送制御部および格納先アドレスにアクセスして、当該他のデータ転送制御部のメモリから印刷画像デーらを読み出し、データ転送DMA134aは、読み出したデータを、出力線33aを介して画像出力部50に転送する。   On the other hand, if the data transfer control unit 30a determines from the print instruction that the target print image data is stored in the memories 31b, 31c, 31d of the other data transfer control units 30b, 30c, 30d, the print instruction The data transfer control unit and the storage destination address specified by the stored data transfer control unit included in the data access controller are accessed to read the print image data from the memory of the other data transfer control unit, and the data transfer DMA 134a reads the read data Is transferred to the image output unit 50 via the output line 33a.

図8は、画像出力部50の一例の構成を示す。画像出力部50は、出力制御部55と、色Y、C、MおよびK各色のヘッド56a、56b、56cおよび56dとを含む。なお、各色とヘッド56a、56b、56cおよび56dとの関係は、この例に限られない。出力制御部55は、各データ転送制御部30a、30b、30cおよび30dそれぞれの印刷画像データが出力される各出力線33a、33b、33cおよび33dと、ヘッド56a、56b、56cおよび56dとの接続を制御する。すなわち、出力制御部55は、各ヘッド56a、56b、56cおよび56dに対して、それぞれ各出力線33a、33b、33cおよび33dから1を選択して接続するように経路を設定することができる。   FIG. 8 shows an exemplary configuration of the image output unit 50. The image output unit 50 includes an output control unit 55 and heads 56a, 56b, 56c, and 56d for the colors Y, C, M, and K. The relationship between each color and the heads 56a, 56b, 56c, and 56d is not limited to this example. The output control unit 55 connects the output lines 33a, 33b, 33c and 33d to which the print image data of the data transfer control units 30a, 30b, 30c and 30d are output and the heads 56a, 56b, 56c and 56d. To control. That is, the output control unit 55 can set a path so that each head 56a, 56b, 56c and 56d selects and connects one from each output line 33a, 33b, 33c and 33d.

例えば、出力制御部55は、各出力線33a、33b、33cおよび33dと、各ヘッド56a、56b、56cおよび56dとを、1対1に接続するように設定できる。また例えば、出力線33aに対して、各ヘッド56a、56b、56cおよび56dを接続する、というように、出力線33a、33b、33cおよび33dと、ヘッド56a、56b、56cおよび56dとを、1対多に接続するように設定できる。   For example, the output control unit 55 can set the output lines 33a, 33b, 33c, and 33d and the heads 56a, 56b, 56c, and 56d to be connected one-to-one. Further, for example, the output lines 33a, 33b, 33c and 33d and the heads 56a, 56b, 56c and 56d are connected to the output line 33a by connecting the heads 56a, 56b, 56c and 56d. Can be set to connect to many.

各出力線33a、33b、33cおよび33dと各ヘッド56a、56b、56cおよび56dとを接続する経路は、例えばディップスイッチなどを用いてユーザ操作により設定することができる。これに限らず、当該経路を、制御信号送受信部21からの制御信号により設定してもよい。   A path connecting each output line 33a, 33b, 33c and 33d and each head 56a, 56b, 56c and 56d can be set by a user operation using, for example, a dip switch. Not limited to this, the path may be set by a control signal from the control signal transmitting / receiving unit 21.

上述したように、各実施形態によるプリンタ装置13では、上位装置10からの印刷画像データの転送と、当該印刷画像データによる印刷を制御する制御信号の上位装置10とプリンタ装置13との間の送受信とが、異なる経路を介して行われる。また、上位装置10から、各色の印刷画像データがそれぞれ異なるデータ線11a、11b、11cおよび11dを介して転送されると共に、これらデータ線11a、11b、11cおよび11dを介して転送された各色の印刷画像データが、互いに独立して制御され、共通の構成を持つデータ転送制御部30a、30b、30cおよび30dにそれぞれ供給される。さらに、画像出力部50において、各データ転送制御部30a、30b、30cおよび30dの出力と各色のヘッド56a、56b、56cおよび56dとの接続経路をユーザ操作などにより設定可能とされている。   As described above, in the printer device 13 according to each embodiment, transfer of print image data from the host device 10 and transmission / reception of a control signal for controlling printing by the print image data between the host device 10 and the printer device 13 are performed. Are performed via different paths. Also, the print image data of each color is transferred from the host device 10 via different data lines 11a, 11b, 11c and 11d, and each color transferred via these data lines 11a, 11b, 11c and 11d is transferred. The print image data is controlled independently of each other and supplied to the data transfer control units 30a, 30b, 30c and 30d having a common configuration. Further, in the image output unit 50, the connection path between the output of each data transfer control unit 30a, 30b, 30c and 30d and the heads 56a, 56b, 56c and 56d of each color can be set by a user operation or the like.

したがって、各実施形態によるプリンタ装置13は、印刷画像データの色数(Y、C、MおよびKの4色、または、K色のみ、など)や、画像出力部50において用いるヘッド数に応じて、プリンタエンジン15の構成を容易に変更することが可能である。このとき、プリンタエンジン15に対して、各データ転送制御部30a、30b、30cおよび30dのうち、要求される構成に応じて必要とされるものだけを設けるようにできる。   Therefore, the printer device 13 according to each embodiment corresponds to the number of colors of print image data (four colors Y, C, M, and K, or only K colors) and the number of heads used in the image output unit 50. The configuration of the printer engine 15 can be easily changed. At this time, the printer engine 15 can be provided with only the data transfer control units 30a, 30b, 30c, and 30d that are required according to the required configuration.

例えば、色Y、C、MおよびKの4色でフルカラーの印刷を行いたい場合は、プリンタエンジン15に対してデータ転送制御部30a、30b、30cおよび30dを全て設け、出力制御部55において、データ転送制御部30a、30b、30cおよび30dの各出力を、それぞれヘッド56a、56b、56cおよび56dに接続すればよい。また例えば、色Kの1色で印刷を行う場合において、装置コスト優先として、それぞれ1のデータ転送制御部30aおよびヘッド56aのみを設け、出力制御部55においてデータ転送制御部30aの出力をヘッド56aに接続することができる。さらに例えば、色Kの1色で印刷を行う場合において、印刷速度優先として、1のデータ転送制御部30aと4のヘッド56a、56b、56cおよび56dとを設け、出力制御部55においてデータ転送制御部30aの出力をヘッド56a、56b、56cおよび56dにそれぞれ接続することができる。この場合、同一色を複数回、重ねて印刷することになるため、例えば、各ヘッド56a、56b、56cおよび56dでのインクの噴出時間を通常の1/4とし、印刷用紙の搬送速度を通常の4倍として高速印刷を行うことが考えられる。   For example, when it is desired to perform full-color printing with four colors Y, C, M, and K, the data transfer control units 30a, 30b, 30c, and 30d are all provided for the printer engine 15, and the output control unit 55 The outputs of the data transfer control units 30a, 30b, 30c and 30d may be connected to the heads 56a, 56b, 56c and 56d, respectively. Further, for example, when printing with one color K, as an apparatus cost priority, only one data transfer control unit 30a and head 56a are provided, and the output control unit 55 outputs the data transfer control unit 30a to the head 56a. Can be connected to. Further, for example, when printing with one color K, as a priority for the printing speed, one data transfer control unit 30a and four heads 56a, 56b, 56c and 56d are provided, and the output control unit 55 performs data transfer control. The output of the section 30a can be connected to the heads 56a, 56b, 56c and 56d, respectively. In this case, since the same color is printed a plurality of times, for example, the ink ejection time at each of the heads 56a, 56b, 56c and 56d is set to 1/4 of the normal time, and the conveyance speed of the printing paper is normally set. It is conceivable to perform high-speed printing at four times as high.

(印刷用紙の搬送系)
図4を参照し、搬送制御部51は、用紙搬送制御部22と搬送制御線41により接続され、画像出力部50により印刷画像データに基づく画像が形成される用紙の搬送を制御する。図9は、本実施の形態に適用可能な、用紙の搬送系を含めたプリンタ装置200の一例の構造を概略的に示す。既に述べたように、各実施形態では、プリンタ装置200は、印刷用紙として連帳紙を用いる。
(Printing paper transport system)
Referring to FIG. 4, conveyance control unit 51 is connected to sheet conveyance control unit 22 by conveyance control line 41, and controls conveyance of a sheet on which an image based on print image data is formed by image output unit 50. FIG. 9 schematically shows an example of the structure of a printer apparatus 200 including a paper transport system that can be applied to the present embodiment. As described above, in each embodiment, the printer device 200 uses continuous paper as printing paper.

印刷用紙201は、印刷用紙補給部210から電源操作ボックス220を介して第1搬送部230に供給される。印刷用紙201は、第1搬送部230において、搬送制御部51の搬送制御により複数のローラなどを介して搬送されて位置合わせなどがなされ、上述のプリンタエンジン15に対応するプリンタエンジン部240および250に供給される。   The printing paper 201 is supplied from the printing paper supply unit 210 to the first transport unit 230 via the power operation box 220. The printing paper 201 is conveyed by the first conveyance unit 230 through a plurality of rollers and the like by the conveyance control of the conveyance control unit 51, and is aligned, and the printer engine units 240 and 250 corresponding to the printer engine 15 described above. To be supplied.

プリンタエンジン部240および250は、上述の画像出力部50に対応する印刷部241において、第1搬送部230から供給された印刷用紙201に対して印刷画像データに従った印刷を行う。印刷が終了した印刷用紙201は、搬送制御部51の搬送制御によりプリンタエンジン部250から排出され、第2搬送部260に供給される。印刷後の印刷用紙201は、第2搬送部260の内部で所定に搬送されて排出され、裁断部270に供給される。印刷後の印刷用紙201は、裁断部270によりミシン目に従い裁断され各ページを分離される。   The printer engine units 240 and 250 perform printing in accordance with the print image data on the printing paper 201 supplied from the first transport unit 230 in the printing unit 241 corresponding to the image output unit 50 described above. The printing paper 201 that has been printed is discharged from the printer engine unit 250 by the conveyance control of the conveyance control unit 51 and is supplied to the second conveyance unit 260. The printed printing paper 201 is transported in a predetermined manner inside the second transport unit 260 and discharged, and is supplied to the cutting unit 270. The printing paper 201 after printing is cut according to the perforation by the cutting unit 270, and each page is separated.

ここで、プリンタ装置200は、ページが連続した連続紙である印刷用紙201に印刷を行うため、プリンタエンジン部240および250における印刷用紙201への印刷後、当該印刷用紙201が第2搬送部260から排出されるまでの経路にも、印刷用紙201が絶えず存在することになる。   Here, since the printer apparatus 200 performs printing on the printing paper 201 that is a continuous sheet of continuous pages, the printing paper 201 is printed on the printing paper 201 by the printer engine units 240 and 250, and the printing paper 201 is then transferred to the second transport unit 260. The printing paper 201 is always present in the path from the printer to the paper.

なお、第1搬送部230、プリンタエンジン部240および250、ならびに、第2搬送部260からなる構成をもう一組用意して、前側の第2搬送部260から排出された印刷後の印刷用紙201を表裏反転して後側の第1搬送部230に供給することで、印刷用紙201に対する両面印刷が可能となる。   In addition, another set of configurations including the first transport unit 230, the printer engine units 240 and 250, and the second transport unit 260 is prepared, and the printing paper 201 after printing discharged from the front second transport unit 260 is prepared. Is reversed and supplied to the first conveyance unit 230 on the rear side, whereby double-sided printing on the printing paper 201 becomes possible.

(本実施の形態に適用可能な印刷処理の詳細)
次に、各実施形態に適用可能な印刷処理について、より詳細に説明する。図10は、上位装置10とプリンタ装置13のプリンタコントローラ14との間で、制御線12を介して送受信される制御情報の一例を示す。なお、図10において、上位装置10をDFE(Digital Front End Processor)、プリンタコントローラ14をPCTLとして示している。制御情報は、大まかには、(1)ジョブ(JOB)情報と、(2)プリンタ状態および印刷プロセスを示す情報と、(3)印刷条件を示す情報と、(4)接続を示す情報とが含まれる。
(Details of print processing applicable to this embodiment)
Next, the printing process applicable to each embodiment will be described in more detail. FIG. 10 shows an example of control information transmitted / received via the control line 12 between the upper level apparatus 10 and the printer controller 14 of the printer apparatus 13. In FIG. 10, the host device 10 is shown as DFE (Digital Front End Processor), and the printer controller 14 is shown as PCTL. The control information roughly includes (1) job (JOB) information, (2) information indicating a printer status and a printing process, (3) information indicating a printing condition, and (4) information indicating a connection. included.

(1)のジョブ情報は、ジョブ(JOB)開始とジョブ終了とを通知する。ジョブ開始は、上位装置10からプリンタコントローラ14に対するジョブ開始の通知と、当該通知に対するプリンタ装置13から上位装置10への応答が含まれる。ジョブ終了は、上位装置10からプリンタコントローラ14に対する、ジョブ開始により要求した全印刷プロセスの終了の通知と、当該通知に対するプリンタコントローラ14から上位装置10への応答が含まれる。これらジョブ開始およびジョブ終了における応答の際に、ジョブを識別するためのジョブ識別子(JOBID)がプリンタコントローラ14から上位装置10に対して送信される。   The job information of (1) notifies the start and end of a job (JOB). The job start includes a job start notification from the host device 10 to the printer controller 14 and a response from the printer device 13 to the host device 10 in response to the notification. The job end includes a notification from the host apparatus 10 to the printer controller 14 that all print processes requested by the job start and a response from the printer controller 14 to the host apparatus 10 in response to the notification. In response to these job start and job end responses, a job identifier (JOBID) for identifying the job is transmitted from the printer controller 14 to the upper level apparatus 10.

(2)のプリンタ状態および印刷プロセスを示す情報には、印刷プロセス受け付け開始と、プリンタ情報の要求および通知と、印刷プロセス開始と、印刷プロセス要求と、データ転送完了と、データ受信完了と、印刷プロセス完了と、プロセス状態報告と、SC(Service Control)通知と、エラー発生および解除とを通知する。   The information indicating the printer status and the printing process in (2) includes printing process acceptance start, printer information request and notification, printing process start, printing process request, data transfer completion, data reception completion, and printing. Notification of process completion, process status report, SC (Service Control) notification, error occurrence and cancellation.

印刷プロセス受け付け開始は、プリンタコントローラ14が印刷プロセスの受け付けが可能となったことをプリンタ装置13から上位装置10に対して通知する。プリンタ情報の要求および通知は、上位装置10からプリンタコントローラ14に対する必要なプリンタ情報の要求と、当該要求に対するプリンタコントローラ14から上位装置10に対する応答とが含まれる。   In the printing process acceptance start, the printer device 14 notifies the upper level device 10 that the printer controller 14 can accept the printing process. The printer information request and notification includes a request for necessary printer information from the host apparatus 10 to the printer controller 14 and a response from the printer controller 14 to the host apparatus 10 in response to the request.

印刷プロセス開始は、印刷画像データの準備が完了した旨の上位装置10からプリンタコントローラ14に対する通知と、当該通知に対するプリンタ装置13から上位装置10に対する応答を含む。印刷画像データの準備完了通知は、印刷画像データの出力順およびページ(プロセス)単位に行われる。ページは、一連の印刷動作で印刷が行われる印刷単位であるといえる。   The start of the printing process includes a notification from the upper level apparatus 10 that the preparation of print image data is completed to the printer controller 14 and a response from the printer apparatus 13 to the upper level apparatus 10 for the notification. The print image data preparation completion notification is performed in the output order of print image data and in units of pages (processes). A page can be said to be a printing unit in which printing is performed in a series of printing operations.

印刷プロセス要求は、プリンタコントローラ14から上位装置10に対する印刷プロセスの通知と、当該通知に対する上位装置10からプリンタコントローラ14に対する応答とが含まれる。プリンタコントローラ14は、この印刷プロセス要求により、印刷を行う色Y、C、MおよびKをそれぞれ示す色情報(Yellow, Cyan, Magenta or Black)、プロセス識別番号processIDおよびプレーン識別番号を上位装置10に対して通知する。なお、プレーンは、1ページに印刷される各色の印刷画像データによる画像それぞれに対応するものとする。プリンタコントローラ14は、プレーン単位およびエンジンすなわちデータ転送制御部30a、30b、30cおよび30dの要求順に従い、これらの情報を通知する。すなわち、ビットマップデータからなる印刷画像データは、プリンタエンジン15側から上位装置10に取りに行くことになる。   The print process request includes a print process notification from the printer controller 14 to the upper level device 10 and a response from the higher level device 10 to the printer controller 14 in response to the notification. In response to this print process request, the printer controller 14 gives color information (Yellow, Cyan, Magenta or Black), process identification number processID, and plane identification number indicating the colors Y, C, M, and K to be printed to the upper level device 10. Notify them. Note that the plane corresponds to each image based on print image data of each color printed on one page. The printer controller 14 notifies these pieces of information according to the request order of the plane unit and the engine, that is, the data transfer control units 30a, 30b, 30c and 30d. That is, print image data composed of bitmap data goes to the upper level apparatus 10 from the printer engine 15 side.

データ転送完了は、上位装置10からプリンタコントローラ14に対して要求されたプレーンの印刷画像データの転送完了が通知される。データ受信完了は、プリンタコントローラ14から上位装置10に対して、要求したプレーンの印刷画像データの受信完了が通知される。印刷プロセス完了は、上位装置10からプリンタコントローラ14に対して、全ページ(プロセス)の印刷要求の完了が通知される。プロセス状態報告は、プリンタコントローラ14から上位装置10に対して、ページ(プロセス)の印刷状態が通知される。このとき、プリンタコントローラ14は、プリンタエンジン15から給紙、排紙および印刷開始に関する情報を取得し、取得したこれらの情報を当該通知に付加して上位装置10に送信する。   The completion of the data transfer is notified from the upper level device 10 to the printer controller 14 of the completion of the transfer of the requested plane print image data. The completion of data reception is notified from the printer controller 14 to the upper level device 10 that reception of the requested plane print image data has been completed. The completion of the printing process is notified from the upper level device 10 to the printer controller 14 that the printing request for all pages (processes) has been completed. In the process status report, the print status of the page (process) is notified from the printer controller 14 to the upper level apparatus 10. At this time, the printer controller 14 acquires information regarding paper feed, paper discharge, and printing start from the printer engine 15, adds the acquired information to the notification and transmits the information to the upper level device 10.

SC通知は、上位装置10からプリンタコントローラ14に対してプリンタ装置13の障害情報の取得が要求されると共に、当該要求に対して取得された障害情報がプリンタコントローラ14から上位装置10に対して通知される。エラー発生および解除は、上位装置10側でのエラー発生および当該エラーの解除が上位装置10からプリンタコントローラ14に対して通知される。   In the SC notification, the host apparatus 10 requests the printer controller 14 to acquire the fault information of the printer apparatus 13, and the fault information acquired in response to the request is notified from the printer controller 14 to the host apparatus 10. Is done. The error occurrence and cancellation is notified from the host device 10 to the printer controller 14 of the occurrence of the error on the host device 10 side and the cancellation of the error.

(3)の印刷条件を示す情報は、印刷条件の設定、すなわち、上位装置10からプリンタコントローラ14に対する印刷条件の通知と、当該通知に対するプリンタコントローラ14の応答とを含む。印刷条件の例としては、印刷形態、印刷種別、給排紙情報、印刷面順、印刷用紙サイズ、印刷データサイズ、解像度および階調、ならびに、色情報などを含む。   The information indicating the printing condition (3) includes setting of the printing condition, that is, notification of the printing condition from the upper level apparatus 10 to the printer controller 14 and the response of the printer controller 14 to the notification. Examples of printing conditions include a printing form, printing type, paper supply / discharge information, printing surface order, printing paper size, printing data size, resolution and gradation, and color information.

印刷形態は、例えば印刷用紙201に対して両面印刷および片面印刷のうち何れを行うかを示す。印刷種別は、印刷画像データが存在しておりそれを印刷するのか、印刷画像データが存在しておらず白紙ページとするのかを示す。給排紙情報は、印刷用紙201の給紙元および排紙先のスタッカなどの識別情報を示す。印刷面順は、印刷用紙201に対して表面から裏面へと印刷するのか、裏面から表面へと印刷するのかを示す。印刷用紙サイズは、例えば印刷用紙201として連帳紙を用いる場合、印刷を行うページの印刷用紙201の搬送方向の長さを示す。印刷データサイズは、印刷画像データのデータサイズを示す。すなわち、印刷データサイズは、1ページ分の印刷画像データのサイズを示す。解像度および階調は、印刷画像データを印刷用紙201に印刷する際の解像度および階調を示す。また、色情報は、例えば印刷を色Y、C、MおよびK各色を用いたフルカラーで行うのか、色Kのみを用いた単色で行うかを示す。   The print mode indicates, for example, whether to perform double-sided printing or single-sided printing on the printing paper 201. The print type indicates whether print image data exists and is to be printed, or whether print image data does not exist and is a blank page. The paper supply / discharge information indicates identification information such as a paper source and a paper output destination stacker of the printing paper 201. The printing surface order indicates whether printing is performed on the printing paper 201 from the front surface to the back surface or from the back surface to the front surface. For example, when a continuous paper is used as the printing paper 201, the printing paper size indicates the length in the transport direction of the printing paper 201 of the page to be printed. The print data size indicates the data size of the print image data. That is, the print data size indicates the size of print image data for one page. The resolution and gradation indicate the resolution and gradation when printing the print image data on the printing paper 201. The color information indicates whether, for example, printing is performed in full color using each of the colors Y, C, M, and K or single color using only the color K.

(4)の接続を示す情報は、登録および解除を含み、上位装置10およびプリンタコントローラ14のそれぞれで、互いの情報の登録および登録された情報の解除を行う。   The information indicating the connection in (4) includes registration and cancellation, and the host device 10 and the printer controller 14 register each other's information and cancel the registered information.

(プリンタコントローラ14によるメモリ31a,31b,31c,31dの管理)
次に、プリンタコントローラ14の制御部23によるデータ転送制御部30a,30b,30c,30dのメモリ31a,31b,31c,31dの管理について説明する。
本実施の形態では、プリンタコントローラ14のRAM323上に、仮想的なメモリの記憶領域(以下、「仮想メモリ」という。)を確保している。そして、プリンタコントローラ14の制御部23は、この仮想メモリを用いて、データ転送制御部30a,30b,30c,30dのメモリ31a,31b,31c,31dを管理している。
(Management of the memories 31a, 31b, 31c, 31d by the printer controller 14)
Next, management of the memories 31a, 31b, 31c, and 31d of the data transfer control units 30a, 30b, 30c, and 30d by the control unit 23 of the printer controller 14 will be described.
In this embodiment, a virtual memory storage area (hereinafter referred to as “virtual memory”) is secured on the RAM 323 of the printer controller 14. The control unit 23 of the printer controller 14 manages the memories 31a, 31b, 31c, and 31d of the data transfer control units 30a, 30b, 30c, and 30d using this virtual memory.

図11は、仮想メモリの一例を示す説明図である。本実施の形態では、仮想メモリ60a,60b,60c,60dのそれぞれは、データ転送制御部30a,30b,30c,30dのメモリ31a,31b,31c,31dそれぞれに対応して、各メモリ31a,31b,31c,31dの記憶空間と同一の記憶空間を有する記憶空間情報である。   FIG. 11 is an explanatory diagram of an example of a virtual memory. In the present embodiment, each of the virtual memories 60a, 60b, 60c, 60d corresponds to the memories 31a, 31b, 31c, 31d of the data transfer control units 30a, 30b, 30c, 30d, respectively. , 31c, 31d storage space information having the same storage space.

プリンタコントローラ14の制御部23は、上位装置10から転送された印刷画像データを各メモリ31a,31b,31c,31dに対して書き込む先頭位置と、メモリ31a,31b,31c,31dから印刷画像データを読み出す際の先頭位置とを、それぞれ仮想メモリ60a,60b,60c,60d上で管理する。ここで、制御部23は、印刷画像データを各メモリ31a,31b,31c,31dに対して書き込む先頭位置を入力ポインタで管理し、メモリ31a,31b,31c,31dから印刷画像データを読み出す際の先頭位置を出力ポインタで管理する。   The control unit 23 of the printer controller 14 writes the print image data transferred from the host device 10 to the memories 31a, 31b, 31c, and 31d, and the print image data from the memories 31a, 31b, 31c, and 31d. The head position at the time of reading is managed on the virtual memories 60a, 60b, 60c and 60d, respectively. Here, the control unit 23 manages the start position for writing the print image data to each of the memories 31a, 31b, 31c, and 31d with the input pointer, and reads the print image data from the memories 31a, 31b, 31c, and 31d. The head position is managed by the output pointer.

プリンタコントローラ14は、各メモリ31a,31b,31c,31dに対して印刷画像データの書き込みを行う際には、入力ポインタが示すアドレスを各データ転送制御部30a,30b,30c,30dにそれぞれ渡す。   When the printer controller 14 writes print image data to each of the memories 31a, 31b, 31c, and 31d, the printer controller 14 passes the address indicated by the input pointer to each of the data transfer control units 30a, 30b, 30c, and 30d.

各データ転送制御部30a,30b,30c,30dは、プリンタコントローラ14から渡されたこの入力ポインタが示すアドレスを先頭アドレスとして、印刷画像データの書き込みを開始する。同様に、プリンタコントローラ14は、各メモリ31a,31b,31c,31dから印刷画像データの読み出しを行う際には、出力ポインタが示すアドレスを各データ転送制御部30a,30b,30c,30dにそれぞれ渡す。   Each of the data transfer control units 30a, 30b, 30c, and 30d starts writing the print image data with the address indicated by the input pointer passed from the printer controller 14 as the head address. Similarly, when the printer controller 14 reads print image data from each of the memories 31a, 31b, 31c, and 31d, it passes the address indicated by the output pointer to each of the data transfer control units 30a, 30b, 30c, and 30d. .

各データ転送制御部30a,30b,30c,30dは、プリンタコントローラ14から渡されたこの出力ポインタが示すアドレスを先頭アドレスとして、各メモリ31a,31b,31c,31dからのデータの読み出しを開始する。   Each of the data transfer control units 30a, 30b, 30c, and 30d starts reading data from each of the memories 31a, 31b, 31c, and 31d using the address indicated by the output pointer passed from the printer controller 14 as a head address.

プリンタコントローラ14の制御部23は、データ転送制御部30a,30b,30c,30dからメモリ31a,31b,31c,31dに印刷画像データの1ページ分の書き込みが終了した旨の通知を受けたら、入力ポインタを1ページ分アドレスを移動させて更新する。同様に、プリンタコントローラ14の制御部23は、データ転送制御部30a,30b,30c,30dからメモリ31a,31b,31c,31dからの1ページ分の印刷画像データの読み出しが終了した旨の通知を受信したら、出力ポインタを1ページ分アドレスを移動させて更新する。   When the control unit 23 of the printer controller 14 receives notification from the data transfer control units 30a, 30b, 30c, and 30d that the writing of one page of print image data to the memories 31a, 31b, 31c, and 31d has been completed, the input The pointer is updated by moving the address by one page. Similarly, the control unit 23 of the printer controller 14 notifies that the reading of print image data for one page from the memories 31a, 31b, 31c, and 31d from the data transfer control units 30a, 30b, 30c, and 30d has been completed. When received, the output pointer is updated by moving the address by one page.

このように、本実施の形態では、データ転送制御部30a,30b,30c,30dの各メモリ31a,31b,31c,31dの書き込み開始位置および読み出し開始位置が、それぞれ、プリンタコントローラ14側の仮想メモリ60a,60b,60c,60dに対する入力ポインタおよび出力ポインタで一元的に管理されるため、ページ単位での各メモリ31a,31b,31c,31dの記憶領域の確保および解放が容易となる。   Thus, in this embodiment, the write start position and the read start position of each of the memories 31a, 31b, 31c, and 31d of the data transfer control units 30a, 30b, 30c, and 30d are the virtual memory on the printer controller 14 side, respectively. Since the input pointer and the output pointer for 60a, 60b, 60c, and 60d are centrally managed, it is easy to secure and release the storage areas of the memories 31a, 31b, 31c, and 31d in units of pages.

仮想メモリ60は、例えば、各メモリ31a,31b,31c,31dのメモリ空間を示す情報であるアドレスマップとして構成される。このアドレスマップは、本実施の形態のように、制御部23により(すなわち、CPU321により)、RAM323上に構築する他、ROM324に予め記憶しておくように構成してもよい。なお、これに限定されるものではなく、プリンタ装置13の起動時の初期化処理時などに、CPU321がインターフェイス322を介して各データ転送制御部30a、30b、30c、30dと情報のやりとりを行い、各メモリ31a、31b、31c、31dのメモリ空間を示す情報を直接的に取得することも可能である。さらに、プリンタコントローラ14のRAM323上に実際にメモリ空間を確保して、仮想メモリ60a〜60dを構築してもよい。   The virtual memory 60 is configured as an address map that is information indicating the memory space of each of the memories 31a, 31b, 31c, and 31d, for example. The address map may be configured to be stored in advance in the ROM 324 in addition to being constructed on the RAM 323 by the control unit 23 (that is, by the CPU 321) as in the present embodiment. However, the present invention is not limited to this, and the CPU 321 exchanges information with each of the data transfer control units 30a, 30b, 30c, and 30d via the interface 322 at the time of initialization processing when the printer device 13 is started. It is also possible to directly acquire information indicating the memory space of each of the memories 31a, 31b, 31c, and 31d. Further, the virtual memories 60a to 60d may be constructed by actually securing a memory space on the RAM 323 of the printer controller 14.

次に、仮想メモリ60a、60b、60c、60d上での入力ポインタおよび出力ポインタの制御について、メモリ31aに対して3ページの印刷画像データが保存された時の仮想メモリ60aの動作を例にあげて説明する。図12は、仮想メモリ60a、60b、60c、60d上での入力ポインタおよび出力ポインタの制御を説明するための図である。なお、図12では、図の上側から下側に向けてアドレスが増加するものとする。   Next, regarding the control of the input pointer and the output pointer on the virtual memories 60a, 60b, 60c, and 60d, the operation of the virtual memory 60a when three pages of print image data is stored in the memory 31a is taken as an example. I will explain. FIG. 12 is a diagram for explaining control of the input pointer and the output pointer on the virtual memories 60a, 60b, 60c, and 60d. In FIG. 12, it is assumed that the addresses increase from the upper side to the lower side in the figure.

図12(a)に示されるように、仮想メモリ60aでは、初期状態において、入力ポインタおよび出力ポインタが共にアドレスP0を示している。   As shown in FIG. 12A, in the virtual memory 60a, both the input pointer and the output pointer indicate the address P0 in the initial state.

上位装置10からプリンタコントローラ14に対して1ページ目のデータ転送要求が送信されると、データ転送制御部30aは、メモリ31aに対し、仮想メモリ60a上の入力ポインタが示すアドレスP0に相当するアドレスから、当該1ページ目の印刷画像データが書き込まれる。1ページ目画像データの転送終了がプリンタコントローラ14に通知され、1ページ目の画像データ転送が終了したと判定されたら、プリンタコントローラ14の制御部23は、仮想メモリ60aの入力ポインタをアドレスP0から1ページ分移動させてアドレスP1として入力ポインタの更新を行い、次の印刷画像データの転送先アドレスを指定する。   When the data transfer request for the first page is transmitted from the host device 10 to the printer controller 14, the data transfer control unit 30a sends an address corresponding to the address P0 indicated by the input pointer on the virtual memory 60a to the memory 31a. From this, the print image data of the first page is written. When the transfer of the first page of image data is notified to the printer controller 14 and it is determined that the transfer of the first page of image data has been completed, the control unit 23 of the printer controller 14 moves the input pointer of the virtual memory 60a from the address P0. The input pointer is updated as the address P1 after being moved by one page, and the transfer destination address of the next print image data is designated.

2ページ目の印刷画像データは、仮想メモリ60a上の入力ポインタが示すアドレスP1を転送先アドレスとして、各メモリ31aに対して書き込まれる。   The print image data of the second page is written to each memory 31a using the address P1 indicated by the input pointer on the virtual memory 60a as the transfer destination address.

そして、2ページ目の画像データの転送が終了し、かつ、次ページのデータ転送要求が行われている場合、制御部23は、入力ポインタをさらにアドレスP1から1ページ分移動させてアドレスP2として、入力ポインタの更新を行い、次の1ページ分の画像データの転送先アドレスを指定する(図12(b)参照)。   Then, when the transfer of the image data for the second page is completed and the data transfer request for the next page has been made, the control unit 23 further moves the input pointer by one page from the address P1 to obtain the address P2. Then, the input pointer is updated, and the transfer destination address of the image data for the next page is designated (see FIG. 12B).

また、当該1ページ目の印刷が終了すると、図12(c)に示されるように、制御部23は、出力ポインタの位置をアドレスP0から1ページ分移動させてアドレスP1として、出力ポインタの更新を行い、次の印刷開始位置を2ページ目の先頭に指定する。   When the printing of the first page is completed, as shown in FIG. 12C, the control unit 23 moves the position of the output pointer by one page from the address P0 to update the output pointer as the address P1. The next print start position is designated at the top of the second page.

1ページ分の印刷が終了すると、出力ポインタの移動と共に、制御部23は、データ転送制御部30aに対し、メモリ31aの印刷が終了した印刷画像データが書き込まれている領域をゼロクリアするように指示を出す。この指示に従い、データ転送制御部30aは、メモリ31aの印刷が終了した領域(仮想メモリ60a上でアドレスP0〜P1として指定される領域)を値「0」で埋め尽くし、当該領域のゼロクリアを実行する。このように、メモリ31aにおける印刷が終了した領域をゼロクリアすることで、後続する印刷における誤印刷を防止することができる。   When printing for one page is completed, the control unit 23 instructs the data transfer control unit 30a to clear the area where the print image data for which printing has been completed in the memory 31a is written to zero along with the movement of the output pointer. Put out. In accordance with this instruction, the data transfer control unit 30a fills the area where printing of the memory 31a has been completed (area specified as the addresses P0 to P1 on the virtual memory 60a) with the value “0”, and executes zero clear of the area To do. In this way, by clearing the area where printing in the memory 31a is completed to zero, erroneous printing in subsequent printing can be prevented.

本実施の形態では、上述したとおり、メモリ31aに対してゼロクリアする領域を、印刷が終了した印刷画像データが書き込まれた領域としているが、これに限定されるものではない。例えば、メモリ31aに対してゼロクリアする領域を、排紙が終了した印刷画像データが書き込まれた領域とすることができる。これにより、データ転送制御部30a、30b、30c、30dのメモリ31a、31b、31c、31dそれぞれには、排紙される前のデータが保存されることになる。したがって、例えば印刷用紙201のジャムなどの発生などによりページの再印刷が必要になっても、上位装置10からの印刷画像データの再送信を不要とすることができる。   In the present embodiment, as described above, the area that is zero-cleared to the memory 31a is the area in which the print image data that has been printed is written, but is not limited thereto. For example, an area that is zero-cleared with respect to the memory 31a can be an area where print image data that has been discharged is written. As a result, the data before being discharged is stored in the memories 31a, 31b, 31c, 31d of the data transfer control units 30a, 30b, 30c, 30d, respectively. Therefore, for example, even if it is necessary to reprint a page due to the occurrence of a jam or the like of the printing paper 201, it is possible to eliminate the need to retransmit print image data from the upper level device 10.

次に2ページ目のデータ転送が終了すると、制御部23は、図12(d)に示されるように、仮想メモリ60a上の入力ポインタの位置をアドレスP2から1ページ分移動させてアドレスP3として、入力ポインタの更新を行い、3ページ目のデータの転送先アドレスを指定する。   Next, when the data transfer for the second page is completed, the control unit 23 moves the position of the input pointer on the virtual memory 60a by one page from the address P2, as shown in FIG. The input pointer is updated, and the transfer destination address of the data on the third page is designated.

このように、本実施の形態では、1プレーン分のデータ転送の終了時に、仮想メモリ60a、60b、60c、60d上で印刷画像データの転送先アドレスを示す入力ポインタを移動させ、各色1プレーン分の印刷の終了時に、仮想メモリ60a、60b、60c、60d上で印刷画像データ読み出しの開始位置アドレスを示す出力ポインタを移動させるようにしている。そして、メモリ31a、31b、31c、31dに対する印刷画像データの書き込みおよび読み出しを、仮想メモリ60a、60b、60c、60d上の入力ポインタおよび出力ポインタが示すアドレスに従って行っている。このため、プリンタコントローラ14の制御部23は、各メモリ31a、31b、31c、31dの状態を容易に把握することが可能となり、これに伴い、1ページの印刷において、全色の印刷が終了したか否かを容易に判定することができる。   As described above, in this embodiment, at the end of the data transfer for one plane, the input pointer indicating the transfer destination address of the print image data is moved on the virtual memories 60a, 60b, 60c, and 60d, and one plane for each color. At the end of printing, the output pointer indicating the start position address for reading the print image data is moved on the virtual memories 60a, 60b, 60c, and 60d. Then, the printing image data is written to and read from the memories 31a, 31b, 31c, and 31d according to the addresses indicated by the input pointer and the output pointer on the virtual memories 60a, 60b, 60c, and 60d. For this reason, the control unit 23 of the printer controller 14 can easily grasp the state of each of the memories 31a, 31b, 31c, and 31d, and as a result, printing of all colors is completed in printing one page. It can be easily determined whether or not.

(他のデータ転送制御部のメモリへのアクセス)
次に、データ転送制御部30a,30b,30c,30dのそれぞれがデータ線34を介して他のデータ転送制御部30a,30b,30c,30dのメモリ31a,31b,31c,31dにアクセスして、印刷画像データを読み出す処理の詳細について説明する。図13は、データ転送制御部30aのメモリアドレス割り当てと、データ転送制御部30aから他のデータ転送制御部30b、30c、30dへアクセスする手順について説明するための図である。
(Access to memory of other data transfer control unit)
Next, each of the data transfer control units 30a, 30b, 30c and 30d accesses the memories 31a, 31b, 31c and 31d of the other data transfer control units 30a, 30b, 30c and 30d via the data line 34, Details of the process of reading the print image data will be described. FIG. 13 is a diagram for explaining the memory address assignment of the data transfer control unit 30a and the procedure for accessing the other data transfer control units 30b, 30c, and 30d from the data transfer control unit 30a.

データ転送制御部30a、30b、30c、30dはそれぞれに実装されているメモリ31a、31b、31c、31dへアクセスするために、アドレスa〜a+(n−1)のアドレス空間を確保している。さらに、データ転送制御部30a、30b、30c、30dは、上記アドレス空間に加えて、上記のアドレス空間の4倍であるアドレスa+n〜a+(5n−1)のアドレス空間を確保している。   The data transfer control units 30a, 30b, 30c, and 30d reserve address spaces of addresses a to a + (n−1) in order to access the memories 31a, 31b, 31c, and 31d that are respectively mounted. Further, the data transfer control units 30a, 30b, 30c, and 30d secure an address space of addresses a + n to a + (5n−1) that is four times the address space in addition to the address space.

アドレスa+n〜a+(2n−1)のアドレス空間31aaはメモリ31aへ、アドレスa+2n〜a+(3n−1)のアドレス空間31abはメモリ31bへ、アドレスa+3n〜a+(4n−1)のアドレス空間31acはメモリ31cへ、アドレスa+4n〜a+(5n−1)のアドレス空間31adはメモリ31dへのアクセスに使用される。   The address space 31aa of addresses a + n to a + (2n-1) is sent to the memory 31a, the address space 31ab of addresses a + 2n to a + (3n-1) is sent to the memory 31b, and the address space 31ac of addresses a + 3n to a + (4n-1) is sent to the memory 31a. The address space 31ad of addresses a + 4n to a + (5n-1) is used for accessing the memory 31d.

データ転送制御部30aから他のデータ転送制御部30bのメモリ31bに保存されている印刷画像データを読み出すには、データ転送制御部30aは、アドレス空間31abを指定する。すると、データ転送制御部30a(のデータ転送制御部コントローラ135a)は、データ線34を介してデータ転送制御部30bへアクセスし、アドレス空間31abのアドレスは、データ転送制御部30bのロジック回路32b内のアドレス変換部39bによりメモリ31bのアドレスに変換される。   In order to read the print image data stored in the memory 31b of the other data transfer control unit 30b from the data transfer control unit 30a, the data transfer control unit 30a designates the address space 31ab. Then, the data transfer control unit 30a (the data transfer control unit controller 135a) accesses the data transfer control unit 30b via the data line 34, and the address of the address space 31ab is stored in the logic circuit 32b of the data transfer control unit 30b. The address conversion unit 39b converts the address into the address of the memory 31b.

同様に、データ転送制御部30aはアドレス空間31acを指定すると、データ転送制御部30a(のデータ転送制御部コントローラ135a)は、データ線34を介してデータ転送制御部30cのメモリ31cへアクセスし、データ転送制御部30aはアドレス空間31adを指定すると、データ転送制御部30a(のデータ転送制御部コントローラ135a)は、データ線34を介してデータ転送制御部30dのメモリ31dへアクセスされる。   Similarly, when the data transfer control unit 30a designates the address space 31ac, the data transfer control unit 30a (the data transfer control unit controller 135a) accesses the memory 31c of the data transfer control unit 30c via the data line 34, When the data transfer control unit 30a specifies the address space 31ad, the data transfer control unit 30a (the data transfer control unit controller 135a) accesses the memory 31d of the data transfer control unit 30d via the data line.

図14は、データ転送制御部30bのメモリアドレス割り当てと、データ転送制御部30bから他のデータ転送制御部30a、30c、30dへアクセスする手順について説明するための図である。   FIG. 14 is a diagram for explaining a memory address assignment of the data transfer control unit 30b and a procedure for accessing the other data transfer control units 30a, 30c, and 30d from the data transfer control unit 30b.

データ転送制御部30bから他のデータ転送制御部30a、30c、および30dのメモリ31a、31c、31dに保存されている印刷画像データを読み出すには、データ転送制御部30aからのアクセスする手順と同様に、データ転送制御部30bでアドレス空間31baを指定すると、データ線34を介してデータ転送制御部30aへアクセスし、データ転送制御部30aのロジック回路32aのアドレス変換部39aを用いてメモリ31aのアドレスへ変換される。   In order to read out the print image data stored in the memories 31a, 31c, and 31d of the other data transfer control units 30a, 30c, and 30d from the data transfer control unit 30b, it is the same as the access procedure from the data transfer control unit 30a. When the address space 31ba is designated by the data transfer control unit 30b, the data transfer control unit 30a is accessed via the data line 34, and the address conversion unit 39a of the logic circuit 32a of the data transfer control unit 30a is used. Converted to an address.

同様に、アドレス空間31bcを指定した場合にはデータ転送制御部30cのメモリ31cへ、アドレス空間31bdを指定した場合にはデータ転送制御部30dのメモリ31dへ変換される。   Similarly, when the address space 31bc is designated, it is converted into the memory 31c of the data transfer control unit 30c, and when the address space 31bd is designated, it is converted into the memory 31d of the data transfer control unit 30d.

図15は、データ転送制御部30cのメモリアドレス割り当てと、データ転送制御部30cから他のデータ転送制御部30a、30b、30dへアクセスする手順について説明するための図である。図16は、データ転送制御部30dのメモリアドレス割り当てと、データ転送制御部30dから他のデータ転送制御部30a、30b、30cへアクセスする手順について説明するための図である。   FIG. 15 is a diagram for explaining a memory address assignment of the data transfer control unit 30c and a procedure for accessing the other data transfer control units 30a, 30b, and 30d from the data transfer control unit 30c. FIG. 16 is a diagram for explaining a memory address assignment of the data transfer control unit 30d and a procedure for accessing the other data transfer control units 30a, 30b, and 30c from the data transfer control unit 30d.

データ転送制御部30cから他のデータ転送制御部30a,30b,30dへのアクセス、データ転送制御部30dから他のデータ転送制御部30a,30b,30cへのアクセスについてもデータ転送制御部30a,30bからのアクセスの手順と同様に行われる。   The data transfer control unit 30a, 30b also accesses the other data transfer control units 30a, 30b, 30d, and the data transfer control unit 30d accesses the other data transfer control units 30a, 30b, 30c. This is performed in the same manner as the access procedure from.

(印刷シーケンス)
次に、以上のように構成された本実施の形態の印刷システムによる印刷処理について説明する。図17は、本実施の形態の印刷処理のシーケンス図である。
(Print sequence)
Next, printing processing by the printing system of the present embodiment configured as described above will be described. FIG. 17 is a sequence diagram of print processing according to the present embodiment.

なお、ここでは、色C、Y、MおよびKの各色を用いた1ページ目にフルカラー印刷し、2,3ページ目にモノクロ印刷を行うものとする。プリンタコントローラ14は、上位装置10から制御情報として印刷用紙201に関する情報を受信したら(SEQ100)、受信した情報に基づき搬送制御部51に対して用紙送り長を設定する(SEQ110)。用紙送り長は、例えば搬送方向における1ページのサイズである。   Here, it is assumed that full color printing is performed on the first page using the colors C, Y, M, and K, and monochrome printing is performed on the second and third pages. When the printer controller 14 receives information about the print paper 201 as control information from the upper level apparatus 10 (SEQ100), the printer controller 14 sets a paper feed length for the transport control unit 51 based on the received information (SEQ110). The paper feed length is, for example, the size of one page in the transport direction.

プリンタコントローラ14は、上位装置10から1ページ目(ページ#1)の印刷ジョブを受信したら(SEQ101)、受信した印刷ジョブに基づき後述する転送管理テーブルを作成し、作成した転送管理テーブルに従いエンジン制御線40a〜40dを使用して、データ転送制御部30a、30b、30cおよび30dのそれぞれに対して1ページ目を示すページ識別子と、色C、Y、MおよびK各色についてページ識別子で示されるページのデータ転送を開始するように要求する(SEQ110a、110b、110cおよび110d)。   Upon receiving the first page (page # 1) print job from the upper level device 10 (SEQ101), the printer controller 14 creates a transfer management table to be described later based on the received print job, and controls the engine according to the created transfer management table. A page identifier indicating the first page for each of the data transfer control units 30a, 30b, 30c and 30d using the lines 40a to 40d, and a page indicated by the page identifier for each of the colors C, Y, M and K Request to start data transfer (SEQ 110a, 110b, 110c and 110d).

データ転送制御部30aは、この要求に従い、データ線11aを介して上位装置10に対して色Cの1ページ目の印刷画像データを要求し、この要求に応じて上位装置10から転送された色Cの1ページ目の印刷画像データをメモリ31aに格納する。   In accordance with this request, the data transfer control unit 30a requests print image data of the first page of color C from the upper level device 10 via the data line 11a, and the color transferred from the higher level device 10 in response to this request. The print image data of the first page of C is stored in the memory 31a.

各データ転送制御部30b、30cおよび30dについても同様に、SEQ110b、110cおよび110dの要求に従い、データ線11b、11cおよび11dを介して上位装置10に対して各色Y、MおよびKの1ページ目の印刷画像データをそれぞれ要求する。各データ転送制御部30b、30cおよび30dは、この要求に応じて上位装置10から転送された各色Y、MおよびKの1ページ目の印刷画像データを、それぞれメモリ31b、31cおよび31dに格納する。   Similarly, for each data transfer control unit 30b, 30c and 30d, the first page of each color Y, M and K is sent to the host device 10 via the data lines 11b, 11c and 11d in accordance with the request of SEQ 110b, 110c and 110d. Request print image data. Each data transfer control unit 30b, 30c, and 30d stores the print image data of the first page of each color Y, M, and K transferred from the host device 10 in response to this request in the memories 31b, 31c, and 31d, respectively. .

一方、図17の例では、プリンタコントローラ14から各データ転送制御部30a、30b、30cおよび30dに対して1ページ目のデータ転送が要求されている間に、プリンタコントローラ14は、上位装置10から送信された次の2ページ目、3ページ目の印刷ジョブを受信する(SEQ102、SEQ103)。プリンタコントローラ14は、受信された印刷ジョブに基づき2ページ目、3ページ目の転送管理テーブルをRAM323上に生成する。   On the other hand, in the example of FIG. 17, while the printer controller 14 requests the data transfer control units 30 a, 30 b, 30 c, and 30 d to transfer data for the first page, the printer controller 14 The transmitted second and third page print jobs are received (SEQ102, SEQ103). The printer controller 14 generates a transfer management table for the second page and the third page on the RAM 323 based on the received print job.

各データ転送制御部30a、30b、30cおよび30dは、上位装置10からの各色1ページ目の印刷画像データ転送が終了したら、それぞれ、その旨をプリンタコントローラ14に通知する(SEQ111a、111b、111cおよび111d)。プリンタコントローラ14は、当該通知に応答して、データ転送制御部30a、および30bに対してそれぞれ2ページ目(ページ#2)、3ページ目(ページ#3)のデータ転送を開始するように要求する(SEQ112a、113a)。   When the data transfer control units 30a, 30b, 30c, and 30d complete the transfer of print image data for the first page of each color from the upper level device 10, they notify the printer controller 14 accordingly (SEQ111a, 111b, 111c, and 111d). In response to the notification, the printer controller 14 requests the data transfer control units 30a and 30b to start data transfer for the second page (page # 2) and the third page (page # 3), respectively. (SEQ112a, 113a).

この要求に応じて、各データ転送制御部30a、および30bは、上位装置10に対して各色の2ページ目、3ページ目の印刷画像データをそれぞれ要求し、この要求に応じて上位装置10から転送された各色の2ページ目、3ページ目の印刷画像データを、それぞれメモリ31a、および31bに格納する。   In response to this request, the data transfer control units 30a and 30b respectively request the second page and third page print image data of each color from the upper level device 10, and from the higher level device 10 in response to this request. The transferred print image data of the second and third pages of each color is stored in the memories 31a and 31b, respectively.

印刷画像データをどのデータ転送制御部のメモリへ格納するかを選定する方法については後述する。   A method for selecting which data transfer control unit to store the print image data in will be described later.

一方、プリンタコントローラ14は、各データ転送制御部30a、30b、30cおよび30dの全てから1ページ目のデータ転送終了の通知を受信したら、搬送制御部51に対して用紙搬送開始を要求する(SEQ114)。搬送制御部51は、この要求に応じて印刷用紙201の所定速度での搬送を開始する。   On the other hand, when the printer controller 14 receives notification of the end of data transfer for the first page from all of the data transfer control units 30a, 30b, 30c, and 30d, the printer controller 14 requests the transfer control unit 51 to start paper transfer (SEQ114). ). In response to this request, the conveyance control unit 51 starts conveying the printing paper 201 at a predetermined speed.

また、プリンタコントローラ14は、搬送制御部51に対して用紙搬送開始の要求を行うと共に、各データ転送制御部30a、30b、30cおよび30dに対して、1ページ目の印刷の開始を指示する(SEQ115)。   In addition, the printer controller 14 requests the conveyance control unit 51 to start conveyance of the paper and instructs each data transfer control unit 30a, 30b, 30c, and 30d to start printing the first page ( SEQ115).

搬送制御部51は、例えば印刷用紙201が所定位置に到達したら、印刷可能状態である旨をプリンタコントローラ14に対して通知する(SEQ120)。プリンタコントローラ14は、この搬送制御部51からの印刷可能状態報告に応じて、各データ転送制御部30a、30b、30cおよび30dに対して印刷の先頭位置を指示する(SEQ121)。各データ転送制御部30a、30b、30cおよび30dは、印刷先頭指示に応じて印刷を開始する。この例では、印刷用紙201の搬送方向に沿って各色C、Y、MおよびKのヘッドがヘッド56a、56b、56c、56dの順に並べられているものとする。この場合、印刷用紙201における1ページ目の印刷の先頭位置がヘッド56aによる印刷位置に達したら、先ずデータ転送制御部30aにおいて、メモリ31aからの1ページ目の印刷画像データの読み出しが開始される。メモリ31aから読み出された色Cの印刷画像データは、画像出力部50に転送される。そして、印刷画像データが出力制御部55を介してヘッド56aに供給され、印刷用紙201に対する印刷が行われる(SEQ122a)。色Cの1ページ目の印刷が終了すると、その旨がプリンタコントローラ14に対して通知される(SEQ123a)。   For example, when the printing paper 201 reaches a predetermined position, the conveyance control unit 51 notifies the printer controller 14 that the printing is possible (SEQ120). The printer controller 14 instructs each data transfer control unit 30a, 30b, 30c, and 30d on the print start position in response to the printable state report from the transport control unit 51 (SEQ121). Each data transfer control unit 30a, 30b, 30c and 30d starts printing in response to a print head instruction. In this example, it is assumed that the heads of the respective colors C, Y, M, and K are arranged in the order of the heads 56a, 56b, 56c, and 56d along the conveyance direction of the printing paper 201. In this case, when the leading position of printing of the first page on the printing paper 201 reaches the printing position by the head 56a, first, the data transfer control unit 30a starts reading the print image data of the first page from the memory 31a. . The color C print image data read from the memory 31 a is transferred to the image output unit 50. Then, the print image data is supplied to the head 56a via the output control unit 55, and printing on the printing paper 201 is performed (SEQ122a). When the printing of the first page of color C is completed, this is notified to the printer controller 14 (SEQ123a).

続けて、印刷用紙201における1ページ目の印刷の先頭位置がヘッド56bによる印刷位置に達したら、データ転送制御部30bにおいて、メモリ31bからの1ページ目の印刷画像データの読み出しが開始される。メモリ31bから読み出された色Yの印刷画像データは、画像出力部50に転送される。そして、出力制御部55を介してヘッド56bに供給され、印刷用紙201に対する印刷が開始される(SEQ122b)。色Yの1ページ目の印刷が終了したら、その旨がプリンタコントローラ14に対して通知される(SEQ123b)。   Subsequently, when the top position of printing of the first page on the printing paper 201 reaches the printing position by the head 56b, the data transfer control unit 30b starts reading the print image data of the first page from the memory 31b. The print image data of color Y read from the memory 31b is transferred to the image output unit 50. Then, it is supplied to the head 56b via the output control unit 55, and printing on the printing paper 201 is started (SEQ122b). When printing of the first page of color Y is completed, this is notified to the printer controller 14 (SEQ123b).

以下同様にして、色MおよびKの印刷が順次開始され(SEQ122c、122d)、印刷が終了したら、その旨がプリンタコントローラ14に対して通知される(SEQ123cおよび123d)。   Similarly, printing of the colors M and K is sequentially started (SEQ 122c and 122d), and when printing is completed, the printer controller 14 is notified of this (SEQ 123c and 123d).

一方、上述のSEQ112aで開始された2ページ目のモノクロの印刷画像データ(Kのみ)の転送が終了すると、データ転送制御部30aは、その旨をプリンタコントローラ14に対して通知する(SEQ116)。また、3ページ目のモノクロの印刷画像データも同様に転送が終了すると、データ転送制御部30bは、その旨をプリンタコントローラ14に対して通知する(SEQ118)。プリンタコントローラ14は、このデータ転送完了の通知に応じて、データ転送制御部30aに対して、2ページ目、3ページ目の印刷の開始を指示する(SEQ117、SEQ119)。   On the other hand, when the transfer of monochrome print image data (only K) for the second page started in SEQ112a is completed, the data transfer control unit 30a notifies the printer controller 14 to that effect (SEQ116). Similarly, when the transfer of the monochrome print image data of the third page is completed, the data transfer control unit 30b notifies the printer controller 14 to that effect (SEQ118). In response to the data transfer completion notification, the printer controller 14 instructs the data transfer control unit 30a to start printing the second and third pages (SEQ117, SEQ119).

データ転送制御部30dは、1ページ目の印刷の終了後に、それぞれ2ページ目の印刷を開始する。データ転送制御部30dは、1ページ目の印刷が完了(SEQ122d)した後、印刷用紙201における2ページ目の印刷の先頭位置がヘッド56dによる印刷位置に達したら、データ線34を介してデータ転送制御部30aのメモリ31aに保存されている2ページ目の色Kの印刷画像データを読み出して画像出力部50に供給し、印刷用紙201に対する印刷を開始する(SEQ124)。印刷が終了したら、その旨がプリンタコントローラ14に対して通知される(SEQ125)。   The data transfer control unit 30d starts printing the second page after finishing printing the first page. After the printing of the first page is completed (SEQ 122d), the data transfer control unit 30d transfers the data via the data line 34 when the print start position of the second page on the printing paper 201 reaches the print position by the head 56d. The print image data of the color K for the second page stored in the memory 31a of the control unit 30a is read and supplied to the image output unit 50, and printing on the print paper 201 is started (SEQ124). When printing is completed, the printer controller 14 is notified of this (SEQ125).

3ページ目も2ページ目と同様に、データ転送制御部30dは、2ページ目の印刷が完了(SEQ125)した後、印刷用紙201における3ページ目の印刷の先頭位置がヘッド56dによる印刷位置に達したら、データ線34を介してデータ転送制御部30bのメモリ31bに保存されている3ページ目の色Kの印刷画像データを読み出して画像出力部50に供給し、印刷用紙201に対する印刷を開始する(SEQ126)。印刷が終了したら、その旨がプリンタコントローラ14に対して通知される(SEQ127)。   Similarly to the second page, the data transfer control unit 30d also prints the third page on the print sheet 201 to the print position by the head 56d after the second page has been printed (SEQ125). When it reaches, the print image data of the color K of the third page stored in the memory 31b of the data transfer control unit 30b is read through the data line 34 and supplied to the image output unit 50, and printing on the printing paper 201 is started. (SEQ126). When printing is completed, the printer controller 14 is notified of this (SEQ127).

プリンタコントローラ14は、3ページ目の色Kの印刷終了通知をデータ転送制御部30dから受け取ると、印刷ジョブによる最終ページの印刷が終了したとして、搬送制御部51に対して印刷用紙201の搬送の停止を要求する(SEQ128)。搬送制御部51は、この要求に応じて印刷用紙201の搬送を停止させ、その旨をプリンタコントローラ14に対して報告する(SEQ129)。これにより、一連の印刷処理が終了する。   When the printer controller 14 receives the print end notification for the color K of the third page from the data transfer control unit 30d, the printer controller 14 determines that the printing of the last page by the print job has been completed, A stop is requested (SEQ128). In response to this request, the conveyance control unit 51 stops the conveyance of the printing paper 201 and reports to that effect to the printer controller 14 (SEQ129). Thereby, a series of printing processes is completed.

次に、上記印刷シーケンスにおいて、プリンタコントローラ14側の処理の詳細について説明する。図18、図19は、本実施の形態のプリンタコントローラ14における印刷制御処理の手順を示すフローチャートである。図18、19は、図17の印刷シーケンスにおいて、SEQ101からSEQ119までのプリンタコントローラ14側の処理について説明している。また、図18,図19の処理は、印刷画像データのページごとに実行される。   Next, details of processing on the printer controller 14 side in the printing sequence will be described. 18 and 19 are flowcharts showing the procedure of the print control process in the printer controller 14 of the present embodiment. 18 and 19 illustrate processing on the printer controller 14 side from SEQ101 to SEQ119 in the print sequence of FIG. 18 and 19 is executed for each page of print image data.

プリンタコントローラ14の制御部23は、ページ印刷のジョブを受信したら(ステップS1801:Yes)、ページごとに転送管理テーブルを生成する(ステップS1802)。ここで、転送管理テーブルについて説明する。転送管理テーブルは、データ転送制御部30a〜30dによるデータ転送処理や、画像出力部50における印刷処理を管理するために用いられる。プリンタコントローラ14の制御部23は、上位装置10から送信された印刷ジョブ、用紙情報、ならびに、図10を用いて説明した(3)印刷条件を示す情報などに基づきこの転送管理テーブルを作成して保持する。   When receiving the page printing job (step S1801: Yes), the control unit 23 of the printer controller 14 generates a transfer management table for each page (step S1802). Here, the transfer management table will be described. The transfer management table is used to manage data transfer processing by the data transfer control units 30a to 30d and print processing in the image output unit 50. The control unit 23 of the printer controller 14 creates this transfer management table based on the print job and paper information transmitted from the upper level apparatus 10 and (3) information indicating the print conditions described with reference to FIG. Hold.

また、制御部23は、各データ転送制御部30a〜30dに対してデータ転送の開始要求や印刷指示などを行う際に、転送管理テーブルの情報のうち必要な情報を、各データ転送制御部30a〜30dに保持させる。例えば、制御部23は、当該情報を制御信号送受信部21からエンジンI/F制御線40a〜40dを介して各データ転送制御部30a〜30dに対して送信し、これら各データ転送制御部30a〜30dが有するレジスタなどの記憶手段に書き込む。   In addition, when the control unit 23 issues a data transfer start request, a print instruction, or the like to each of the data transfer control units 30a to 30d, the control unit 23 obtains necessary information from the information in the transfer management table. Hold at ~ 30d. For example, the control unit 23 transmits the information from the control signal transmission / reception unit 21 to the data transfer control units 30a to 30d via the engine I / F control lines 40a to 40d, and the data transfer control units 30a to 30d. Write to the storage means such as a register of 30d.

データ転送制御部30aを例にとって、より具体的な例を説明する。制御部23は、転送管理テーブルの情報のうち必要な情報を、制御信号送受信部21からエンジンI/F制御線40aを介してデータ転送制御部30aに送信し、データ転送制御部30aにおけるロジック回路32a(データ転送制御部コントローラ135a)が有するレジスタに書き込む。   A more specific example will be described using the data transfer control unit 30a as an example. The control unit 23 transmits necessary information among the information in the transfer management table from the control signal transmitting / receiving unit 21 to the data transfer control unit 30a via the engine I / F control line 40a, and a logic circuit in the data transfer control unit 30a. Write to the register of 32a (data transfer controller controller 135a).

各データ転送制御部30a〜30dは、このレジスタに書き込まれた転送管理テーブルの情報に従い、上位装置10に対する印刷画像データの転送要求や、画像出力部50に対する印刷指示を出す。なお、転送管理テーブルには、ページを識別するページ識別子が含まれ、各データ転送制御部30a〜30dは、このページ識別子に基づき転送管理テーブルの情報を選択し、データ転送および印刷処理を実行する。   Each of the data transfer control units 30a to 30d issues a print image data transfer request to the upper level device 10 and a print instruction to the image output unit 50 in accordance with the information of the transfer management table written in this register. The transfer management table includes a page identifier for identifying a page, and each data transfer control unit 30a to 30d selects information in the transfer management table based on the page identifier, and executes data transfer and print processing. .

図20は、本実施の形態の転送管理テーブルの一例を示す図である。図20に示すように、転送管理テーブルは、C、M、Y、K各色に共通の情報と、各色毎の情報とを含む。また、各色共通の情報は、画像出力部50に対する印刷指示に関する情報である印刷用の情報とを含む。また、各色毎の情報は、上位装置10からの印刷画像データの転送のために用いるデータ転送用の情報と、上記印刷用の情報とを含む。なお、転送管理テーブルに含まれる各情報は、テーブル形式で管理されるのに限られず、他のデータ管理形式で管理されるようにしてもよい。   FIG. 20 is a diagram illustrating an example of a transfer management table according to the present embodiment. As shown in FIG. 20, the transfer management table includes information common to each color of C, M, Y, and K and information for each color. The information common to each color includes information for printing which is information related to a print instruction to the image output unit 50. The information for each color includes data transfer information used for transfer of print image data from the host device 10 and the print information. Each piece of information included in the transfer management table is not limited to being managed in a table format, but may be managed in another data management format.

本実施の形態による各色共通の情報について説明する。各色共通の情報において、データ転送用および印刷用以外の情報として、ページ識別子PBIDおよび1ページ当たりのデータ数が含まれる。ページ識別子PBIDは、印刷ページを識別するためのページ識別子であり、当該転送管理テーブルは、このページ識別子PBIDにより識別される。1ページ当たりのデータ数は、ページ識別子PBIDで識別されるページに用いられる色数であり、例えばモノクロの場合は値が「1」、フルカラーの場合は値が「4」とされる。   Information common to each color according to the present embodiment will be described. The information common to each color includes a page identifier PBID and the number of data per page as information other than data transfer and printing. The page identifier PBID is a page identifier for identifying a print page, and the transfer management table is identified by the page identifier PBID. The number of data per page is the number of colors used for the page identified by the page identifier PBID. For example, the value is “1” for monochrome and the value is “4” for full color.

本実施の形態に適用される各色共通の情報における印刷用の情報について説明する。印刷用の情報は、印刷を行う印刷画像データの情報として解像度および階調を含み、印刷対象に関する情報として用紙送り長、用紙幅、印刷面(表/裏)を含む。   Information for printing in information common to each color applied to the present embodiment will be described. The information for printing includes resolution and gradation as information of print image data to be printed, and includes a sheet feed length, a sheet width, and a print surface (front / back) as information regarding a print target.

印刷を行う印刷画像データの情報において、解像度は、主走査および副走査方向それぞれの印刷解像度を示す。また、階調は、1画素当たりのビット数を示す。   In the information of the print image data to be printed, the resolution indicates the print resolution in each of the main scanning direction and the sub-scanning direction. The gradation indicates the number of bits per pixel.

本実施の形態による各色毎の情報について説明する。各色毎の情報において、データ転送用および印刷用以外の情報として、C、M、Y、K各色のうち何れの印刷色に関する情報が記述されるかを示すColor識別子が含まれる。各色毎の情報は、構成が共通するので、以下では、Color識別子が「シアン」(C)の情報について説明する。転送管理テーブルには、各色毎の情報がC、M、Y、K各色についてそれぞれ含まれる。   Information for each color according to the present embodiment will be described. In the information for each color, a color identifier indicating which print color information among C, M, Y, and K colors is described as information other than data transfer and printing. Since the information for each color has the same configuration, the following describes the information with the color identifier “cyan” (C). The transfer management table includes information for each color for each color of C, M, Y, and K.

本実施の形態に適用される各色毎の情報におけるデータ転送用の情報は、データ転送要否と、転送済みフラグと、転送元アドレスと、保存データ転送制御部と、データ格納先アドレスと、データ転送サイズとを含む。   The information for data transfer in the information for each color applied to the present embodiment includes data transfer necessity / unnecessity, transferred flag, transfer source address, storage data transfer control unit, data storage destination address, data Including transfer size.

データ転送要否は、当該印刷色の印刷画像データの転送の要否を示す。例えば、白紙すなわち印刷を行わない場合は、C、M、Y、Kの全色について、データ転送要否を「否」とする。また、Color(Cyan、Magenta、Yellow、Black)で指示される色以外は、データ転送要否を「否」に設定する。   Data transfer necessity indicates whether or not transfer of print image data of the print color is necessary. For example, when blank paper, that is, when printing is not performed, the data transfer necessity / unnecessity is set to “No” for all colors C, M, Y, and K. Further, the data transfer necessity / unnecessity is set to “No” for colors other than those indicated by Color (Cyan, Magenta, Yellow, Black).

転送済みフラグは、上位装置10から印刷画像データがデータ転送制御部30a〜30dに転送されたか否かを示すフラグである。転送元アドレスは、上位装置10においてページ識別子PBIDで示されるページの印刷画像データが格納されるアドレスを示す。転送元アドレスは、例えばラスタ(ライン)単位で印刷画像データを指定する。   The transferred flag is a flag indicating whether or not print image data has been transferred from the upper level apparatus 10 to the data transfer control units 30a to 30d. The transfer source address indicates an address where the print image data of the page indicated by the page identifier PBID is stored in the upper level device 10. As the transfer source address, print image data is designated in units of rasters (lines), for example.

データ格納先アドレスは、上述したプリンタコントローラ14の仮想メモリ60a〜60dにおける入力ポインタが示すアドレスである。従って、入力ポインタが更新される度に、データ格納先アドレスも更新される。   The data storage destination address is an address indicated by the input pointer in the virtual memories 60a to 60d of the printer controller 14 described above. Therefore, every time the input pointer is updated, the data storage destination address is also updated.

データ転送サイズは、データ転送制御部30a〜30dの要求により転送される印刷画像データのデータサイズを示し、例えばページ識別子PBIDで示されるページの印刷画像データのデータサイズである。   The data transfer size indicates the data size of print image data transferred in response to a request from the data transfer control units 30a to 30d, and is, for example, the data size of the print image data of the page indicated by the page identifier PBID.

データ転送サイズは、印刷画像データのサイズを所定単位(例えばバイト単位)で揃えるためのバウンダリ調整サイズを含む。1ページが印刷される際には、各メモリ31a〜31dに対して、このデータ転送サイズで示されるデータサイズの印刷画像データが格納されることになる。例えば、図10を用いて説明した、(3)印刷条件を示す情報中の「印刷データサイズ」にバウンダリ調整サイズを加えた値が、このデータ転送サイズになる。   The data transfer size includes a boundary adjustment size for aligning the size of print image data in a predetermined unit (for example, byte unit). When one page is printed, print image data having a data size indicated by the data transfer size is stored in each of the memories 31a to 31d. For example, the data transfer size is a value obtained by adding the boundary adjustment size to “print data size” in the information indicating the print condition (3) described with reference to FIG.

保存データ転送制御部は、どのデータ転送制御部のメモリへ印刷画像データを保存するかを示すパラメータである。この保存データ転送制御は、プリンタコントローラ14の制御部23で決定される。   The stored data transfer control unit is a parameter indicating which data transfer control unit the print image data is stored in. This stored data transfer control is determined by the control unit 23 of the printer controller 14.

本実施の形態に適用される各色毎の情報における印刷用の情報は、印刷要否を含む。印刷要否は、当該印刷色の印刷画像データの印刷の要否、印刷不可領域(上/下/左/右)および画素情報を含む。   The information for printing in the information for each color applied to the present embodiment includes necessity of printing. The necessity of printing includes the necessity of printing the print image data of the print color, the non-printable area (up / down / left / right), and pixel information.

画素情報は、ビットマップ印刷位置Xおよびビットマップ印刷位置Y、ならびに、X方向有効サイズおよびY方向有効サイズを示す。例えば、白紙すなわち印刷を行わない場合は、C、M、Y、Kの全色について、印刷要否を「否」とする。また、Color識別子で指示される色以外は、印刷要否を「否」に設定する。   The pixel information indicates a bitmap printing position X and a bitmap printing position Y, and an X-direction effective size and a Y-direction effective size. For example, when blank paper, that is, when printing is not performed, the necessity of printing is set to “No” for all colors of C, M, Y, and K. Further, for the colors other than those indicated by the Color identifier, the necessity of printing is set to “No”.

図18に戻り、転送管理テーブルが生成されたら、制御部23は、以下のステップS1803からS1806までの処理を繰り返し実行する。すなわち、まず、制御部23は、仮想メモリ60a〜60dを参照して、仮想メモリ60a〜60dに対応するデータ転送制御部30a〜30dのメモリ31a〜31dの使用状況を把握し、印刷画像データを保存するメモリを実装したデータ転送制御部である保存データ転送制御部を決定する(ステップS1803)。   Returning to FIG. 18, when the transfer management table is generated, the control unit 23 repeatedly executes the following processing from steps S1803 to S1806. That is, first, the control unit 23 refers to the virtual memories 60a to 60d, grasps the usage status of the memories 31a to 31d of the data transfer control units 30a to 30d corresponding to the virtual memories 60a to 60d, and prints the print image data. A stored data transfer control unit that is a data transfer control unit in which a memory to be stored is mounted is determined (step S1803).

ここで、保存データ転送制御部を決定は、以下のものがあげられる。例えば、モノクロ画像の場合には、第1に、仮想メモリ60a〜60dの状態からメモリ31a〜31dのうち最も空き領域の容量(空き容量)の大きいメモリを実装したデータ転送制御部に決定し、第2に、メモリの空き領域が同じ場合には、メモリ31a、メモリ31b、メモリ31c、メモリ31dの順に優先順位を割り当てて当該メモリを実装したデータ転送制御部を、保存データ転送制御部として決定するように制御部23を構成することができる。   Here, the determination of the storage data transfer control unit includes the following. For example, in the case of a monochrome image, first, from the state of the virtual memories 60a to 60d, the memory 31a to 31d is determined to be a data transfer control unit mounted with a memory having the largest free space capacity (free capacity), Secondly, when the free areas of the memory are the same, the priority is assigned in the order of the memory 31a, the memory 31b, the memory 31c, and the memory 31d, and the data transfer control unit in which the memory is mounted is determined as the saved data transfer control unit. Thus, the control unit 23 can be configured.

また、印刷画像データが4色フルカラー画像の場合には、4色の印刷画像データを、データサイズ順に並べ、仮想メモリ60a〜60dの状態から、最も空き領域の大きいメモリから順に最も大きいデータサイズの印刷画像データを割り当てるようにしてデータ転送制御部を、保存データ転送制御部として決定するように制御部23を構成することができる。なお、保存データ転送制御部の決定手法はこれらに限定されるものではない。   When the print image data is a four-color full-color image, the four-color print image data is arranged in the order of the data size, and the data size of the largest data size is ordered from the memory with the largest free space from the state of the virtual memories 60a to 60d. The control unit 23 can be configured to determine the data transfer control unit as the storage data transfer control unit by assigning the print image data. Note that the method for determining the stored data transfer control unit is not limited to these.

そして、制御部23は、転送元アドレス(上位装置10においてページ識別子PBIDで示されるページの印刷画像データが格納されるアドレス)、データ格納先アドレス(入力ポインタが示すアドレス)、データ転送サイズ等の情報を決定する(ステップS1804)。   Then, the control unit 23 determines the transfer source address (the address at which the print image data of the page indicated by the page identifier PBID is stored in the host device 10), the data storage destination address (the address indicated by the input pointer), the data transfer size, and the like. Information is determined (step S1804).

次に、制御部23は、ステップS1803で決定された保存データ転送制御部、ステップS1804で決定された転送元アドレス、データ格納先アドレス、データ転送サイズ等の情報を、データ転送管理テーブルに書き込む(ステップS1805)。そして、制御部23は、色ごとに保存データ転送制御部で指定されたデータ転送制御部30a〜30dにに対して、当該色のデータ転送開始の指示を送信する(ステップS1806、SEQ110a,SEQ110b,SEQ110c,SEQ110d)。   Next, the control unit 23 writes information such as the storage data transfer control unit determined in step S1803, the transfer source address, the data storage destination address, and the data transfer size determined in step S1804 into the data transfer management table ( Step S1805). Then, the control unit 23 transmits an instruction to start data transfer of the color to the data transfer control units 30a to 30d designated by the storage data transfer control unit for each color (step S1806, SEQ110a, SEQ110b, SEQ110c and SEQ110d).

例えば、図17の例では、印刷画像データがページ#1のようにカラー画像の場合には、保存データ転送制御部は各色に対応したデータ転送制御部が決定され、このため、ページ#1の各色のデータ転送開始の指示は、当該色に対応したデータ転送制御部30a〜30dに送信されている(SEQ110a,SEQ110b,SEQ110c,SEQ110d,SEQ112a,SEQ112b)。   For example, in the example of FIG. 17, when the print image data is a color image such as page # 1, the data transfer control unit corresponding to each color is determined as the storage data transfer control unit. The instruction to start data transfer for each color is transmitted to the data transfer control units 30a to 30d corresponding to the color (SEQ110a, SEQ110b, SEQ110c, SEQ110d, SEQ112a, SEQ112b).

一方、印刷画像データがページ#2、ページ#3のようにモノクロ画像の場合には、K(ブラック)に対する保存データ転送制御部は、ページ#2ではC(シアン)に対応したデータ転送制御部30a、ページ#3ではY(イエロー)に対応したデータ転送制御部30bが決定され、このため、Kのデータ転送開始の指示は、ページ#2ではC(シアン)に対応したデータ転送制御部30a、ページ#3ではY(イエロー)に対応したデータ転送制御部30bに送信されている(SEQ112a,SEQ112b)。   On the other hand, when the print image data is a monochrome image such as page # 2 or page # 3, the stored data transfer control unit for K (black) is the data transfer control unit corresponding to C (cyan) for page # 2. 30a and page # 3, the data transfer control unit 30b corresponding to Y (yellow) is determined. Therefore, the instruction to start K data transfer is the data transfer control unit 30a corresponding to C (cyan) in page # 2. In page # 3, it is transmitted to the data transfer control unit 30b corresponding to Y (yellow) (SEQ112a, SEQ112b).

なお、データ転送管理テーブルは、データ転送開始の指示とともに、データ転送制御部30a〜30dに送信される。このため、データ転送制御部30a〜30dは、このデータ転送管理テーブルを参照して、上位装置10から送信される色毎の印刷画像データを保存するように構成してもよい。   The data transfer management table is transmitted to the data transfer control units 30a to 30d together with an instruction to start data transfer. For this reason, the data transfer control units 30a to 30d may be configured to store the print image data for each color transmitted from the host device 10 with reference to the data transfer management table.

次に、制御部23は、制御信号送受信部21を介して、データ転送制御部30a〜30dから、ページのデータ転送終了の通知を受信待ち状態となる(ステップS1808)。そして、制御部23が、データ転送制御部30a〜30dから、ページのデータ転送終了の通知を受信すると(ステップS1808:Yes、SEQ111a,SEQ111b,SEQ111c,SEQ111d)、プリンタコントローラ14の用紙搬送制御部22は、搬送制御部51に用紙搬送開始の指示を送信する(ステップS1809、SEQ114)。そして、制御部23は、転送管理テーブルから、保存データ転送制御部、格納先アドレスを取得し(ステップS1810)、保存データ転送制御部および格納先アドレスを含むページ印刷指示を、制御信号送受信部21を介して、データ転送制御部30a〜30dに送信する(ステップS1811,SEQ115,SEQ117,SEQ119)。ステップS1810,S1811の処理は色毎に繰り返し実行される。   Next, the control unit 23 waits to receive a notification of the end of the data transfer of the page from the data transfer control units 30a to 30d via the control signal transmission / reception unit 21 (step S1808). When the control unit 23 receives a notification of the end of page data transfer from the data transfer control units 30a to 30d (step S1808: Yes, SEQ111a, SEQ111b, SEQ111c, and SEQ111d), the sheet conveyance control unit 22 of the printer controller 14 is used. Transmits an instruction to start the sheet conveyance to the conveyance control unit 51 (step S1809, SEQ114). Then, the control unit 23 acquires the storage data transfer control unit and the storage destination address from the transfer management table (step S1810), and issues a page print instruction including the storage data transfer control unit and the storage destination address to the control signal transmission / reception unit 21. To the data transfer control units 30a to 30d (steps S1811, SEQ115, SEQ117, and SEQ119). The processing in steps S1810 and S1811 is repeatedly executed for each color.

これにより、この印刷指示を受信したデータ転送制御部30a〜30dは、印刷指示に含まれる保存データ転送制御部および格納先アドレスで指定されたデータ転送制御部のメモリから印刷画像データを読み出すことになる。   As a result, the data transfer control units 30a to 30d that have received the print instruction read the print image data from the memory of the storage data transfer control unit and the data transfer control unit specified by the storage destination address included in the print instruction. Become.

このように本実施の形態では、各データ転送制御部30a〜30dを互いに接続して、データ転送制御部30a〜30d間で印刷画像データの転送を可能とし、データ転送制御部30a〜30d内のメモリ31a〜31dの使用状況に応じて、上位装置10から転送されてきた印刷画像データの保存先のデータ転送制御部のメモリを決定し、当該決定されたメモリに印刷画像データを保存しておき、印刷指示があった場合には、保存先のデータ転送制御部のメモリから印刷画像データを取得して印刷する。このため、本実施の形態では、モノクロ画像とカラー画像が混在する印刷が行われた場合でも、モノクロ画像の印刷の際に、カラー画像の印刷に必要なページ分の領域をメモリ31a〜31dに確保しておく必要がなくなり、メモリ31a〜31dの領域を有効に使用することができる。   As described above, in the present embodiment, the data transfer control units 30a to 30d are connected to each other so that print image data can be transferred between the data transfer control units 30a to 30d. The memory of the data transfer control unit that stores the print image data transferred from the host device 10 is determined according to the usage status of the memories 31a to 31d, and the print image data is stored in the determined memory. When there is a print instruction, print image data is acquired from the memory of the data transfer control unit of the storage destination and printed. For this reason, in the present embodiment, even when printing in which a monochrome image and a color image are mixed, areas for pages necessary for printing a color image are stored in the memories 31a to 31d when the monochrome image is printed. It is not necessary to secure the area, and the areas of the memories 31a to 31d can be used effectively.

なお、上述の本実施の形態では、印刷に用いる色が、色C、M、Y、Kの所謂プロセスカラーであるとして説明したが、これはこの例に限定されない。例えば、R(赤色)、G(緑色)およびB(青色)や、金色、銀色、白色などの所謂特色を印刷に用いる場合でも、本実施の形態をそのまま適用することができる。また、色数も4色に限らず、5色以上、または、3色以下を用いた印刷にも、第1の実施形態および第2の実施形態は、そのまま適用できる。   In the above-described embodiment, it has been described that the colors used for printing are so-called process colors of colors C, M, Y, and K. However, this is not limited to this example. For example, even when so-called special colors such as R (red), G (green), and B (blue), gold, silver, and white are used for printing, the present embodiment can be applied as it is. Further, the number of colors is not limited to four, and the first embodiment and the second embodiment can be applied as they are to printing using five or more colors or three or less colors.

10 上位装置
11,11a,11b,11c,11d データ線
12 制御線
13 プリンタ装置
14 プリンタコントローラ
15 プリンタエンジン
20 制御情報送受信部
21 制御信号送受信部
22 用紙搬送制御部
30a,30b,30c,30d データ転送制御部
31a,31b,31c,31d メモリ
34 データ線
39a,39b,39c,39d アドレス変換部
40a,40b,40c,40d エンジンI/F制御線
41 搬送制御線
50 画像出力部
51 搬送制御部
55 出力制御部
56a,56b,56c,56d ヘッド
60a,60b,60c,60d 仮想メモリ
DESCRIPTION OF SYMBOLS 10 Host apparatus 11, 11a, 11b, 11c, 11d Data line 12 Control line 13 Printer apparatus 14 Printer controller 15 Printer engine 20 Control information transmission / reception part 21 Control signal transmission / reception part 22 Paper conveyance control part 30a, 30b, 30c, 30d Data transfer Control unit 31a, 31b, 31c, 31d Memory 34 Data line 39a, 39b, 39c, 39d Address conversion unit 40a, 40b, 40c, 40d Engine I / F control line 41 Transfer control line 50 Image output unit 51 Transfer control unit 55 Output Control unit 56a, 56b, 56c, 56d Head 60a, 60b, 60c, 60d Virtual memory

特開2004−287519号公報JP 2004-287519 A 特開2002−254763号公報JP 2002-254663 A

Claims (9)

印刷装置であって、
記憶部を備え、印刷用の画像データを生成する前記印刷装置と別体の上位装置から双方向の通信を行う複数の第1の転送路をそれぞれ介して転送される画像データを前記記憶部に格納し、印刷開始の指示に応じて前記記憶部から前記画像データを読み出す複数のデータ転送制御部と、
前記画像データを記録媒体に印刷する印刷部と、
印刷を制御するための制御情報を前記上位装置から第2の転送路を介して受け取り、該制御情報に基づいて、前記複数のデータ転送制御部にそれぞれ独立に前記印刷開始の指示を行う印刷制御部と、
前記複数のデータ転送制御部によって前記記憶部から読み出された前記画像データそれぞれを、前記印刷部に出力する出力制御部と、を備え、
前記複数のデータ転送制御部は互いに接続され、前記複数のデータ転送制御部の間で前記画像データの転送が可能であり、
前記複数のデータ転送制御部のそれぞれは、自己の記憶部または他のデータ転送制御部の記憶部から前記画像データを読み出して前記出力制御部に出力すること、
を特徴とする印刷装置。
A printing device,
The storage unit includes image data transferred via a plurality of first transfer paths that perform bidirectional communication from a higher-level device that is separate from the printing device that generates image data for printing. A plurality of data transfer control units that store and read out the image data from the storage unit in response to an instruction to start printing;
A printing unit for printing the image data on a recording medium;
Print control for receiving control information for controlling printing from the host apparatus via a second transfer path and instructing the plurality of data transfer control units to independently start the printing based on the control information And
An output control unit that outputs each of the image data read from the storage unit by the plurality of data transfer control units to the printing unit;
The plurality of data transfer control units are connected to each other, and the image data can be transferred between the plurality of data transfer control units,
Each of the plurality of data transfer control units reads out the image data from its own storage unit or a storage unit of another data transfer control unit and outputs it to the output control unit,
A printing apparatus characterized by the above.
前記複数のデータ転送制御部のそれぞれは、他のデータ転送制御部から前記画像データの読み出しが行われる際、他のデータ転送制御部で指定されたアドレスを、自己のデータ転送制御部で使用するアドレスに変換するアドレス変換部を備え、前記記憶部の前記アドレス変換部で変換されたアドレスに記憶されている画像データを前記他のデータ転送制御部に受け渡すこと、
を特徴とする請求項1に記載の印刷装置。
Each of the plurality of data transfer control units uses the address specified by the other data transfer control unit in its own data transfer control unit when the image data is read from the other data transfer control unit. An address conversion unit for converting to an address, and passing the image data stored in the address converted by the address conversion unit of the storage unit to the other data transfer control unit,
The printing apparatus according to claim 1.
前記印刷制御部は、前記複数のデータ転送制御部それぞれの前記記憶部の記憶空間と同一の記憶空間を示す記憶空間情報を有し、前記記憶空間情報により、前記複数のデータ転送制御部それぞれの前記記憶部のそれぞれに対する画像データの書き込みおよび読み出しを行うためのアドレス情報を管理し、
前記複数のデータ転送制御部のそれぞれは、前記記憶部に対する前記画像データの書き込みおよび読み出しを前記アドレス情報に従って行うこと、
を特徴とする請求項1または2に記載の印刷装置。
The print control unit has storage space information indicating the same storage space as the storage space of each of the plurality of data transfer control units, and each of the plurality of data transfer control units is based on the storage space information. Managing address information for writing and reading image data to and from each of the storage units;
Each of the plurality of data transfer control units performs writing and reading of the image data to and from the storage unit according to the address information;
The printing apparatus according to claim 1 or 2.
前記印刷制御部は、前記記憶空間情報に基づいて、前記上位装置から転送される画像データを格納する前記記憶部の前記データ転送制御部を、保存データ転送制御部として決定し、決定された保存データ転送制御部にデータ転送開始の指示を行い、
前記データ転送制御部は、前記印刷制御部から前記データ転送開始の指示があった場合に、前記上位装置から転送される画像データを前記記憶部に格納すること、
を特徴とする請求項3に記載の印刷装置。
The print control unit determines the data transfer control unit of the storage unit that stores image data transferred from the higher-level device as a storage data transfer control unit based on the storage space information, and determines the determined storage Instruct the data transfer control unit to start data transfer,
The data transfer control unit stores, in the storage unit, image data transferred from the host device when an instruction to start data transfer is received from the print control unit;
The printing apparatus according to claim 3.
前記印刷制御部は、色ごとの前記記憶空間情報の空き容量に基づいて、前記保存データ転送制御部を決定すること、
を特徴とする請求項4に記載の印刷装置。
The printing control unit determines the storage data transfer control unit based on a free capacity of the storage space information for each color;
The printing apparatus according to claim 4.
前記印刷制御部は、さらに、色ごとに予め定められた優先順位に従って、前記保存データ転送制御部を決定すること、
を特徴とする請求項5に記載の印刷装置。
The print control unit further determines the storage data transfer control unit according to a priority order predetermined for each color;
The printing apparatus according to claim 5.
前記印刷制御部は、さらに、色ごとの前記画像データのデータサイズに基づいて、前記保存データ転送制御部を決定すること、
を特徴とする請求項5に記載の印刷装置。
The print control unit further determines the storage data transfer control unit based on a data size of the image data for each color;
The printing apparatus according to claim 5.
前記印刷制御部は、前記保存データ転送制御部の指定を含む前記印刷開始の指示を、前記複数のデータ転送制御部のそれぞれに行い、
前記複数のデータ転送制御部のそれぞれは、前記印刷開始の指示に含まれる前記保存データ転送制御部で指定された前記データ転送制御部の前記記憶部から前記画像データを読み出すこと、
を特徴とする請求項4に記載の印刷装置。
The print control unit gives the print start instruction including the designation of the stored data transfer control unit to each of the plurality of data transfer control units,
Each of the plurality of data transfer control units reads the image data from the storage unit of the data transfer control unit specified by the storage data transfer control unit included in the print start instruction;
The printing apparatus according to claim 4.
印刷装置で実行される印刷制御方法であって、
複数のデータ転送制御部のそれぞれが、印刷用の画像データを生成する前記印刷装置と別体の上位装置から双方向の通信を行う複数の第1の転送路をそれぞれ介して転送される画像データを記憶部に格納し、印刷開始の指示に応じて前記記憶部から前記画像データを読み出すデータ転送制御ステップと、
印刷部が、前記画像データを記録媒体に印刷するステップと、
印刷制御部が、印刷を制御するための制御情報を前記上位装置から第2の転送路を介して受け取り、該制御情報に基づいて、前記複数のデータ転送制御部にそれぞれ独立に前記印刷開始の指示を行う印刷制御ステップと、
出力制御部が、前記複数のデータ転送制御部によって前記記憶部から読み出された前記画像データそれぞれを、前記印刷部に出力する出力制御ステップと、を含み、
前記複数のデータ転送制御部は互いに接続され、前記複数のデータ転送制御部の間で前記画像データの転送が可能であり、
前記データ転送制御ステップは、
前記複数のデータ転送制御部のそれぞれが、自己の記憶部または他のデータ転送制御部の記憶部から前記画像データを読み出して前記出力制御部に出力するステップ、
を含むことを特徴とする印刷制御方法。
A printing control method executed by a printing apparatus,
Image data transferred by each of a plurality of data transfer control units via a plurality of first transfer paths that perform bidirectional communication from a higher-level device separate from the printing device that generates image data for printing. A data transfer control step of storing the image data in the storage unit and reading the image data from the storage unit in response to an instruction to start printing;
A printing unit printing the image data on a recording medium;
A print control unit receives control information for controlling printing from the higher-level device via the second transfer path, and based on the control information, the plurality of data transfer control units independently start the print start. A print control step for giving instructions;
An output control unit that outputs each of the image data read from the storage unit by the plurality of data transfer control units to the printing unit, and
The plurality of data transfer control units are connected to each other, and the image data can be transferred between the plurality of data transfer control units,
The data transfer control step includes:
Each of the plurality of data transfer control units reads the image data from its own storage unit or a storage unit of another data transfer control unit and outputs the image data to the output control unit;
A printing control method comprising:
JP2012013536A 2012-01-25 2012-01-25 Printing apparatus and printing control method Expired - Fee Related JP5891815B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012013536A JP5891815B2 (en) 2012-01-25 2012-01-25 Printing apparatus and printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012013536A JP5891815B2 (en) 2012-01-25 2012-01-25 Printing apparatus and printing control method

Publications (2)

Publication Number Publication Date
JP2013151118A JP2013151118A (en) 2013-08-08
JP5891815B2 true JP5891815B2 (en) 2016-03-23

Family

ID=49047915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012013536A Expired - Fee Related JP5891815B2 (en) 2012-01-25 2012-01-25 Printing apparatus and printing control method

Country Status (1)

Country Link
JP (1) JP5891815B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113730709B (en) * 2021-09-23 2023-10-17 奉节县人民医院 Patient blood transfusion auxiliary device with heating function

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003341152A (en) * 2002-05-29 2003-12-03 Canon Inc Printing controlling unit, printing controlling method, printing system, and program
JP2005073004A (en) * 2003-08-26 2005-03-17 Konica Minolta Business Technologies Inc Method and device for managing frame buffer
JP2005193420A (en) * 2003-12-26 2005-07-21 Canon Inc Image output apparatus, its image output method, and control program
JP2008079247A (en) * 2006-09-25 2008-04-03 Konica Minolta Business Technologies Inc Image forming apparatus
JP2009008911A (en) * 2007-06-28 2009-01-15 Fuji Xerox Co Ltd Image forming apparatus

Also Published As

Publication number Publication date
JP2013151118A (en) 2013-08-08

Similar Documents

Publication Publication Date Title
JP5842408B2 (en) Image forming apparatus, image forming apparatus control method, image processing apparatus, and image processing apparatus control method
JP5895391B2 (en) Printing apparatus and printing apparatus control method
US8817280B2 (en) Printing device and method of controlling printing device
JP2013077294A (en) Printer and method for controlling the same
JP5824986B2 (en) Printing system and printing apparatus
JP5796405B2 (en) Printing apparatus and printing apparatus control method
JP5799660B2 (en) Printing apparatus and printing apparatus control method
US8995016B2 (en) Printing device configured to detect a configuration of data control units detachably connected thereto and control method thereof
JP5891815B2 (en) Printing apparatus and printing control method
US8854646B2 (en) Printing device and control method of printing device
JP5799659B2 (en) Printing apparatus and printing apparatus control method
JP5923897B2 (en) Printing apparatus and printing control method
JP5927813B2 (en) Printing apparatus and printing method
JP5842351B2 (en) Printing apparatus, printing system, printing method, and program
US8947686B2 (en) Printing apparatus and printing method
JP5786394B2 (en) Printing apparatus, printing system, printing method, and program
JP5672888B2 (en) Printing apparatus and printing method
JP2014128960A (en) Printer and printer control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151006

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151207

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: 20160126

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160208

R151 Written notification of patent or utility model registration

Ref document number: 5891815

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees