JP2007168368A - Printer controlling device, and printer device - Google Patents

Printer controlling device, and printer device Download PDF

Info

Publication number
JP2007168368A
JP2007168368A JP2005372138A JP2005372138A JP2007168368A JP 2007168368 A JP2007168368 A JP 2007168368A JP 2005372138 A JP2005372138 A JP 2005372138A JP 2005372138 A JP2005372138 A JP 2005372138A JP 2007168368 A JP2007168368 A JP 2007168368A
Authority
JP
Japan
Prior art keywords
data
printer
pdl data
unit
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005372138A
Other languages
Japanese (ja)
Inventor
Hidenori Kaname
秀紀 要
Kazuhiro Okada
岡田  和広
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2005372138A priority Critical patent/JP2007168368A/en
Publication of JP2007168368A publication Critical patent/JP2007168368A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To raise the printing output speed of a printer device by a simple constitution. <P>SOLUTION: This printer device 100 includes a data acquiring section 104 which acquires PDL data, a page data forming section 108 which forms picture drawing data by developing the PDL data, a printing condition acquiring section 114, a data converting section 112 which rotates the coordinate system of the PDL data at 90°, and a conversion controlling section 106. In this case, the printing condition acquiring section 114 acquires printing conditions indicating sheet sizes enough to be printable by a printer body 120, and the paper feeding direction. The conversion controlling section 106 judges whether the PDL data are rotated or not from the printing information of the PDL data acquired by the data acquiring section 104, and the printing conditions acquired by the printing condition acquiring section. When the conversion controlling section 106 judges to rotate the PDL data, the data converting section 112 rotates the PDL data, and the page data forming section 108 forms the picture drawing data by developing the PDL data which are rotated by the data converting section 112. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、プリンタ制御装置およびプリンタ装置に関する。   The present invention relates to a printer control device and a printer device.

特許文献1には、PDLコントローラ部とプリンタエンジン部とをPCIバスにより接続し、印刷すべき画像データをDMA転送する構成において、PDLコントローラ部内のRAMで展開した描画データを一旦PCII/FのM×Nビットのバッファメモリに書き込み、該バッファメモリから読み出したデータをプリンタエンジン部のRAMに書き込む際に90度回転したデータをバッファメモリから読み出し、エンジン本体のメモリへDMA転送する技術が開示されている。   In Patent Document 1, in a configuration in which a PDL controller unit and a printer engine unit are connected by a PCI bus and image data to be printed is DMA-transferred, drawing data expanded in the RAM in the PDL controller unit is temporarily stored in an M of PCI / F. A technique has been disclosed in which data that is rotated 90 degrees is written from the buffer memory when the data read from the × N-bit buffer memory and the data read from the buffer memory is written to the RAM of the printer engine unit is transferred to the engine memory. Yes.

ここで、PDLコントローラ側では、回転処理を行うことなく、メモリ内に縦用紙サイズの描画データを生成し、PDLボード内のメモリから本体のメモリへPCIコントローラを経由して描画データをDMA転送する過程で、PCIコントローラ内に設けたバッファメモリを利用して描画データを回転させている。
特開2002−79712号公報
Here, on the PDL controller side, drawing data of the vertical paper size is generated in the memory without performing rotation processing, and the drawing data is DMA-transferred from the memory in the PDL board to the memory of the main body via the PCI controller. In the process, drawing data is rotated using a buffer memory provided in the PCI controller.
JP 2002-79712 A

しかし、特許文献1に記載されたようにバッファメモリを利用して描画データを回転させる場合、ページバッファが完全に空になるまで次のページデータをバッファに展開することができず遅延が発生してしまう。この結果、回転が必要な場合の印刷出力速度が低下するという課題があった。また、このような遅延を生じさせないためには、大容量のバッファメモリを準備する必要があり装置が高価になるという課題もあった。   However, when the drawing data is rotated using the buffer memory as described in Patent Document 1, the next page data cannot be expanded in the buffer until the page buffer becomes completely empty, causing a delay. End up. As a result, there has been a problem that the printing output speed is lowered when rotation is required. In order not to cause such a delay, it is necessary to prepare a large-capacity buffer memory, which causes a problem that the apparatus becomes expensive.

本発明は上記事情に鑑みてなされたものであり、その目的とするところは、簡易な構成でプリンタ装置の処理速度を高める技術を提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a technique for increasing the processing speed of a printer apparatus with a simple configuration.

本発明によれば、
ページ記述言語で記述されたPDLデータを取得するPDLデータ取得部と、
前記PDLデータを展開して描画データを生成する描画データ生成部と、
制御対象のプリンタが印刷可能な用紙サイズおよび給紙方向を示す印刷条件を取得する印刷条件取得部と、
前記PDLデータの座標系を90度回転する変換部と、
前記PDLデータ取得部が取得した前記PDLデータの印刷サイズおよび印刷方向を示す印刷情報、および前記印刷条件取得部が取得した前記印刷条件に基づき、前記PDLデータを回転させるか否かを判断する変換制御部と、
を含み、
前記変換制御部が前記PDLデータを回転させると判断した場合、前記変換部は、当該PDLデータを回転し、前記描画データ生成部は、前記変換部が回転した前記PDLデータを展開して前記描画データを生成するプリンタ制御装置が提供される。
According to the present invention,
A PDL data acquisition unit for acquiring PDL data described in a page description language;
A drawing data generation unit that expands the PDL data to generate drawing data;
A printing condition acquisition unit that acquires a printing condition indicating a paper size and a paper feeding direction that can be printed by the printer to be controlled;
A converter that rotates the coordinate system of the PDL data by 90 degrees;
Conversion for determining whether to rotate the PDL data based on the print information indicating the print size and print direction of the PDL data acquired by the PDL data acquisition unit and the print conditions acquired by the print condition acquisition unit A control unit;
Including
When the conversion control unit determines to rotate the PDL data, the conversion unit rotates the PDL data, and the drawing data generation unit expands the PDL data rotated by the conversion unit and performs the drawing. A printer controller for generating data is provided.

本発明のプリンタ制御装置によれば、描画データを生成する前に、必要に応じてPDLデータを回転させてデータの印刷方向を変換するので、スムーズなデータ生成を行うことができ、プリンタの処理速度を高めることができる。   According to the printer control apparatus of the present invention, before the drawing data is generated, the PDL data is rotated as necessary to change the printing direction of the data, so that the data can be generated smoothly and the printer processing can be performed. Speed can be increased.

本発明のプリンタ制御装置において、前記印刷条件取得部は、前記制御対象のプリンタとバスを介して接続された構成とすることができ、当該バスを介して前記印刷条件を取得することができる。   In the printer control apparatus of the present invention, the printing condition acquisition unit can be configured to be connected to the printer to be controlled via a bus, and can acquire the printing conditions via the bus.

ここで、前記印刷条件取得部は、汎用のオプションボードに設けられた構成とすることができる。本発明のプリンタ制御装置によれば、初期状態でオプションボード側で印刷条件を把握していなくても、印刷条件取得部により制御対象のプリンタの印刷条件を取得することができ、印刷条件に応じて適切な描画データを生成することができる。   Here, the printing condition acquisition unit may be provided on a general-purpose option board. According to the printer control device of the present invention, even if the printing condition is not grasped on the option board side in the initial state, the printing condition of the control target printer can be acquired by the printing condition acquisition unit. Appropriate drawing data can be generated.

本発明のプリンタ制御装置において、前記変換制御部は、前記印刷条件において前記PDLデータと同じサイズで横方向給紙が可能な場合、横方向給紙が優先的に行われるように、前記PDLデータを回転させるか否かを判断することができる。   In the printer control apparatus according to the present invention, the conversion control unit may be configured to preferentially perform the lateral feeding when the feeding condition allows the lateral feeding with the same size as the PDL data. It can be determined whether or not to rotate.

プリンタにおいて、横方向給排紙(LEFセット)の方が、縦方向給排紙(SEF(short edge feed)セット)よりも印刷速度を高めることができる。そのため、横方向給排紙が可能な場合、印刷するデータを横長(ランドスケープ)で作成することが好ましい。本発明のプリンタ制御装置によれば、横方向給排紙が可能な場合、印刷するデータが横長となるように制御されるので、印刷速度を高めることができる。   In the printer, the lateral feed / discharge (LEF set) can increase the printing speed than the vertical feed / discharge (SEF (short edge feed) set). For this reason, it is preferable that the data to be printed is created in landscape (landscape) when horizontal paper feed / discharge is possible. According to the printer control apparatus of the present invention, when the lateral feeding / discharging is possible, the printing data is controlled to be horizontally long, so that the printing speed can be increased.

本発明によれば、本発明のプリンタ制御装置と、プリントエンジンを含む印刷処理部と、を含むプリンタ装置が提供される。   According to the present invention, there is provided a printer apparatus including the printer control apparatus of the present invention and a print processing unit including a print engine.

本発明のプリンタ装置は、前記印刷処理部が設けられたプリンタ本体と、前記PDLデータ取得部、前記描画データ生成部、前記印刷条件取得部、前記変換部、および前記変換制御部が設けられたオプションボードと、をさらに含むことができ、前記印刷条件取得部は、前記プリンタ本体とバスを介して接続され、当該バスを介して前記印刷条件を取得することができる。   The printer device of the present invention includes a printer main body provided with the print processing unit, the PDL data acquisition unit, the drawing data generation unit, the printing condition acquisition unit, the conversion unit, and the conversion control unit. And an option board, and the printing condition acquisition unit is connected to the printer main body via a bus, and can acquire the printing condition via the bus.

なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above-described constituent elements and a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, etc. are also effective as an aspect of the present invention.

本発明によれば、簡易な構成でプリンタ装置の処理速度を高めることができる。   According to the present invention, the processing speed of the printer apparatus can be increased with a simple configuration.

以下、本発明の実施の形態について、図面を用いて説明する。尚、すべての図面において、同様な構成要素には同様の符号を付し、適宜説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In all the drawings, the same reference numerals are given to the same components, and the description will be omitted as appropriate.

図1は、本実施の形態におけるプリンタ装置の構成を示すブロック図である。
プリンタ装置100は、プリンタコントローラ(プリンタ制御装置)102とプリンタ本体120とを含む。プリンタ本体120は、プリントエンジンを有し、印刷処理を行う。プリンタ本体120は、たとえばネットワークプリンタ機能やネットワークスキャナ機能等を備えたMFP(Multi Functional Peripheral)等のネットワークファクシミリ装置とすることができる。プリンタコントローラ102は、汎用のオプションボードとすることができる。プリンタコントローラ102とプリンタ本体120とは、PCIバス等のバスを介して接続され、データの授受を行う。PCIバス等の汎用バスによってプリンタコントローラ102とプリンタ本体120とを接続することにより、プリンタ本体120の種類に関わらず、プリンタコントローラ102を汎用的に用いることができる。すなわち、1種類のプリンタコントローラ102により、複数種類のプリンタ本体120を制御可能とすることができる。
FIG. 1 is a block diagram illustrating a configuration of a printer apparatus according to the present embodiment.
The printer apparatus 100 includes a printer controller (printer control apparatus) 102 and a printer main body 120. The printer main body 120 has a print engine and performs printing processing. The printer main body 120 can be a network facsimile apparatus such as an MFP (Multi Functional Peripheral) having a network printer function, a network scanner function, and the like. The printer controller 102 can be a general-purpose option board. The printer controller 102 and the printer main body 120 are connected via a bus such as a PCI bus, and exchange data. By connecting the printer controller 102 and the printer main body 120 by a general-purpose bus such as a PCI bus, the printer controller 102 can be used for general purposes regardless of the type of the printer main body 120. That is, a plurality of types of printer main bodies 120 can be controlled by one type of printer controller 102.

プリンタコントローラ102は、PC200においてドライバで作成されたPDL(Page Description Language)データをネットワーク150を介して受信する。ネットワーク150は、たとえばLAN、USB、またはパラレルケーブル等とすることができる。次いで、プリンタコントローラ102は、PDLデータを描画してページデータを生成し、プリンタ本体120に転送する。この一連の手順で処理を行う場合、従来は、たとえばPC200で縦長(ポートレート:縦置き)のPDLデータが作成された場合、プリンタ本体120に縦長のページデータが転送されていた。また、たとえばPC200で横長(ランドスケープ:横置き)のPDLデータが作成された場合、プリンタ本体120に横長のページデータが転送されていた。   The printer controller 102 receives PDL (Page Description Language) data created by the driver in the PC 200 via the network 150. The network 150 can be, for example, a LAN, a USB, or a parallel cable. Next, the printer controller 102 draws PDL data to generate page data, and transfers the page data to the printer main body 120. In the case of performing processing in this series of procedures, conventionally, for example, when vertically long (portrait: portrait) PDL data is created on the PC 200, the vertically long page data is transferred to the printer main body 120. For example, when landscape-oriented PDL data is created on the PC 200, landscape-oriented page data is transferred to the printer main body 120.

本実施の形態においては、プリンタ本体120で印刷可能な用紙サイズおよび給紙方向を示す印刷条件に応じて、プリンタコントローラ102でPDLデータの座標系が90度回転される。プリンタ本体120において、横方向給排紙の方が縦方向給排紙(SEF(short edge feed)セット)よりも印刷速度(PPM:Page Per Minute)を高めることができる。本実施の形態においては、プリンタコントローラ102は、プリンタ本体120で横方向給排紙が可能な場合であって、PC200から送信されたPDLデータが縦長の場合、描画データを生成する前にPDLデータの座標系を90度回転する。そのため、印刷速度を高めることができる。   In the present embodiment, the printer controller 102 rotates the coordinate system of the PDL data by 90 degrees in accordance with the printing conditions indicating the paper size and paper feeding direction that can be printed by the printer main body 120. In the printer main body 120, the lateral feed / discharge can increase the printing speed (PPM: Page Per Minute) more than the vertical feed / discharge (SEF (short edge feed) set). In the present embodiment, the printer controller 102 is capable of paper feed / discharge in the horizontal direction by the printer main body 120. If the PDL data transmitted from the PC 200 is vertically long, the PDL data is generated before the drawing data is generated. The coordinate system is rotated 90 degrees. Therefore, the printing speed can be increased.

ここで、プリンタコントローラ102は、初期状態では、プリンタ本体120の印刷条件を保持していないものとすることができる。プリンタコントローラ102は、プリンタ本体120から印刷条件を取得する。本実施の形態におけるプリンタ装置100によれば、プリンタコントローラ102において、プリンタ本体120の印刷条件を取得して、PDLデータの座標変換を行うので、無駄な処理を行うことなく印刷速度を高めることができる。   Here, it is assumed that the printer controller 102 does not hold the printing conditions of the printer main body 120 in the initial state. The printer controller 102 acquires printing conditions from the printer main body 120. According to the printer device 100 in the present embodiment, the printer controller 102 acquires the printing conditions of the printer main body 120 and performs coordinate conversion of the PDL data, so that the printing speed can be increased without performing unnecessary processing. it can.

プリンタコントローラ102は、データ取得部104(PDLデータ取得部)、変換制御部106、ページデータ生成部(描画データ生成部)108、転送制御部110、データ変換部(変換部)112、印刷条件取得部114および印刷条件記憶部116を含む。プリンタ本体120は、印刷処理部122、印刷条件検知部124、データ送受信部126およびプリンタ性能記憶部130を含む。   The printer controller 102 includes a data acquisition unit 104 (PDL data acquisition unit), a conversion control unit 106, a page data generation unit (drawing data generation unit) 108, a transfer control unit 110, a data conversion unit (conversion unit) 112, and print condition acquisition. Section 114 and printing condition storage section 116. The printer main body 120 includes a print processing unit 122, a print condition detection unit 124, a data transmission / reception unit 126, and a printer performance storage unit 130.

なお、図1において、本発明の本質に関わらない部分の構成については省略してある。図1に示したプリンタ装置100の各構成要素は、ハードウエア単位の構成ではなく、機能単位のブロックを示している。プリンタ装置100の各構成要素は、任意のコンピュータのCPU、メモリ、メモリにロードされた本図の構成要素を実現するプログラム、そのプログラムを格納するハードディスクなどの記憶ユニット、ネットワーク接続用インタフェースを中心にハードウエアとソフトウエアの任意の組合せによって実現される。そして、その実現方法、装置にはいろいろな変形例があることは、当業者には理解されるところである。   In FIG. 1, the configuration of parts not related to the essence of the present invention is omitted. Each component of the printer apparatus 100 shown in FIG. 1 is not a hardware unit configuration but a functional unit block. Each component of the printer 100 is centered on an arbitrary computer CPU, memory, a program for realizing the components shown in the figure loaded in the memory, a storage unit such as a hard disk for storing the program, and a network connection interface. Realized by any combination of hardware and software. It will be understood by those skilled in the art that there are various modifications to the implementation method and apparatus.

プリンタ本体120のプリンタ性能記憶部130は、プリンタ本体120で印刷可能な用紙サイズおよび各用紙サイズにおいて横方向給排紙が可能か否かを示す印刷条件等の印刷処理部122の性能を記憶する。印刷条件検知部124は、印刷処理部122の性能を検知する。印刷条件検知部124は、印刷処理部122にセットされた用紙カセットや用紙カセット中の用紙の有無等の状態に基づき、印刷処理部122の性能を検知することができる。この場合、印刷条件検知部124は、検知した印刷処理部122の性能をプリンタ性能記憶部130に記憶することができる。また、プリンタ性能記憶部130にデフォルトで印刷処理部122の性能を記憶しておくこともできる。この場合、印刷条件検知部124は、プリンタ性能記憶部130を参照して印刷処理部122の性能を検知することができる。   The printer performance storage unit 130 of the printer main body 120 stores the performance of the print processing unit 122 such as the paper size that can be printed by the printer main body 120 and the printing conditions that indicate whether or not each paper size can be fed in the horizontal direction. . The print condition detection unit 124 detects the performance of the print processing unit 122. The print condition detection unit 124 can detect the performance of the print processing unit 122 based on the paper cassette set in the print processing unit 122 and the presence / absence of paper in the paper cassette. In this case, the print condition detection unit 124 can store the detected performance of the print processing unit 122 in the printer performance storage unit 130. Further, the performance of the print processing unit 122 can be stored in the printer performance storage unit 130 by default. In this case, the print condition detection unit 124 can detect the performance of the print processing unit 122 with reference to the printer performance storage unit 130.

データ送受信部126は、印刷条件検知部124が検知した印刷条件等の性能をプリンタコントローラ102に送信する。   The data transmission / reception unit 126 transmits the performance such as the printing condition detected by the printing condition detection unit 124 to the printer controller 102.

印刷条件検知部124は、たとえば、電源投入後に印刷処理部122の性能を検知して、データ送受信部126を介してプリンタコントローラ102にその情報を供給することができる。また、印刷条件検知部124は、電源オン中に適宜印刷処理部122の性能を検知して、変更があった場合等にプリンタコントローラ102にその情報を供給することもできる。   For example, the print condition detection unit 124 can detect the performance of the print processing unit 122 after power-on and supply the information to the printer controller 102 via the data transmission / reception unit 126. In addition, the printing condition detection unit 124 can appropriately detect the performance of the printing processing unit 122 while the power is on, and supply the information to the printer controller 102 when there is a change.

プリンタコントローラ102の印刷条件取得部114は、データ送受信部126から送信された印刷条件を取得する。印刷条件取得部114は、取得した印刷条件を印刷条件記憶部116に記憶する。このようにすれば、プリンタコントローラ102において、初期状態では印刷処理部122の性能に関する情報を保持していなくても、印刷処理部122の性能を把握することができる。   The printing condition acquisition unit 114 of the printer controller 102 acquires the printing conditions transmitted from the data transmission / reception unit 126. The printing condition acquisition unit 114 stores the acquired printing conditions in the printing condition storage unit 116. In this way, the printer controller 102 can grasp the performance of the print processing unit 122 even if the printer controller 102 does not hold information regarding the performance of the print processing unit 122 in the initial state.

データ取得部104は、ネットワーク150を介して接続されたPC200等からPDLデータを受信する。   The data acquisition unit 104 receives PDL data from the PC 200 or the like connected via the network 150.

なお、印刷条件取得部114がプリンタ本体120から印刷条件を取得して印刷条件記憶部116に記憶するタイミングは、種々設定することができる。たとえば、印刷条件取得部114は、プリンタ装置100の電源投入時にプリンタ本体120から印刷条件を取得して印刷条件記憶部116に記憶することができる。また、印刷条件取得部114は、プリンタ本体120において印刷条件が変更になったときにプリンタ本体120から印刷条件を取得して印刷条件記憶部116に記憶することができる。また、印刷条件取得部114は、データ取得部104がPC200等からプリントジョブを受信したとき、すなわちPDLデータを受信したときに、プリンタ本体120から印刷条件を取得することができる。また、印刷条件取得部114は、ページ単位の処理を行う毎にプリンタ本体120から印刷条件を取得することもできる。このようにすれば、印刷処理の途中で紙切れ等が生じた場合でも、プリンタ本体120の現状の性能にあわせてPDLデータの処理を行うことができる。   Note that the timing at which the printing condition acquisition unit 114 acquires the printing conditions from the printer main body 120 and stores them in the printing condition storage unit 116 can be set in various ways. For example, the printing condition acquisition unit 114 can acquire printing conditions from the printer main body 120 when the printer apparatus 100 is turned on and store the printing conditions in the printing condition storage unit 116. The printing condition acquisition unit 114 can acquire the printing conditions from the printer main body 120 and store them in the printing condition storage unit 116 when the printing conditions are changed in the printer main body 120. The print condition acquisition unit 114 can acquire print conditions from the printer main body 120 when the data acquisition unit 104 receives a print job from the PC 200 or the like, that is, when PDL data is received. The print condition acquisition unit 114 can also acquire print conditions from the printer main body 120 every time processing is performed in units of pages. In this way, even when a paper break occurs during the printing process, the PDL data can be processed in accordance with the current performance of the printer main body 120.

変換制御部106は、データ取得部104がPDLデータを受信すると、印刷条件記憶部116を参照する。変換制御部106は、データ取得部104が受信したPDLデータの印刷情報および印刷条件記憶部116に記憶された印刷条件に基づき、PDLデータを回転させるか否かを判断する。上述したように、印刷処理を迅速に行うためには、できるだけLEF給排紙とすることが好ましい。変換制御部106は、印刷条件取得部114が取得した印刷条件において、PDLデータと同じサイズでLEF給排紙が可能な場合、LEF給排紙が優先的に行われるようにPDLデータを回転させるか否かを判断することができる。   When the data acquisition unit 104 receives the PDL data, the conversion control unit 106 refers to the printing condition storage unit 116. The conversion control unit 106 determines whether to rotate the PDL data based on the print information of the PDL data received by the data acquisition unit 104 and the print conditions stored in the print condition storage unit 116. As described above, in order to perform the printing process quickly, it is preferable to use LEF paper supply / discharge as much as possible. The conversion control unit 106 rotates the PDL data so that LEF supply / discharge is preferentially performed when LEF supply / discharge is possible with the same size as the PDL data under the print conditions acquired by the print condition acquisition unit 114. It can be determined whether or not.

たとえば、PDLデータのサイズに対応する印刷条件がLEF給排紙可能な場合で、PDLデータが縦長(ポートレート:縦置き)だった場合、変換制御部106はPDLデータを回転させると判断する。   For example, if the printing condition corresponding to the size of the PDL data is LEF paper supply / discharge, and the PDL data is portrait (portrait: portrait), the conversion control unit 106 determines to rotate the PDL data.

一方、PDLデータのサイズに対応する印刷条件がLEF給排紙不可な場合で、PDLデータが横長(ランドスケープ:横置き)だった場合も、変換制御部106はPDLデータを回転させると判断する。   On the other hand, even when the printing condition corresponding to the size of the PDL data is not LEF feeding / discharging and the PDL data is landscape (landscape: landscape), the conversion control unit 106 determines to rotate the PDL data.

データ変換部112は、変換制御部106がPDLデータを回転させると判断した場合、PDLデータの座標系を90度回転する。   When the conversion control unit 106 determines that the PDL data is to be rotated, the data conversion unit 112 rotates the coordinate system of the PDL data by 90 degrees.

ページデータ生成部108は、PDLデータを展開して描画データ(ラスタデータ)を生成する。ここで、描画データは、ページ単位の描画データで構成されたページデータである。ページデータ生成部108は、データ変換部112によりPDLデータが回転された場合、データ変換部112が変換したPDLデータを展開して描画データを生成する。   The page data generation unit 108 expands PDL data and generates drawing data (raster data). Here, the drawing data is page data composed of drawing data in units of pages. When the data conversion unit 112 rotates the PDL data, the page data generation unit 108 expands the PDL data converted by the data conversion unit 112 and generates drawing data.

転送制御部110は、ページデータ生成部108が生成した描画データをプリンタ本体120に転送する。   The transfer control unit 110 transfers the drawing data generated by the page data generation unit 108 to the printer main body 120.

プリンタ本体120において、データ送受信部126は、プリンタコントローラ102から送信される描画データを受信する。印刷処理部122は、プリンタエンジンを含み、データ送受信部126が受信した描画データを印刷する。   In the printer main body 120, the data transmission / reception unit 126 receives drawing data transmitted from the printer controller 102. The print processing unit 122 includes a printer engine, and prints drawing data received by the data transmission / reception unit 126.

なお、プリンタコントローラ102において、ページデータ生成部108は、描画データをMH(Modified Huffman)、MR(Modified Read)またはMMR(Modified Modified Read)方式で符号化・圧縮した後にプリンタ本体120に転送することができる。この場合、印刷処理部122は、圧縮された描画データをデコードした後に、印刷することができる。   In the printer controller 102, the page data generation unit 108 encodes and compresses the drawing data using the MH (Modified Huffman), MR (Modified Read), or MMR (Modified Modified Read) method, and then transfers the data to the printer main body 120. Can do. In this case, the print processing unit 122 can print after decoding the compressed drawing data.

図2は、本実施の形態におけるプリンタ装置100の処理手順を示すフローチャートである。
データ取得部104がPDLデータを受信すると(S100のYES)、変換制御部106は、印刷条件記憶部116を参照する。変換制御部106は、印刷条件記憶部116に記憶された印刷条件およびデータ取得部104が受信したPDLデータの印刷情報に基づき、回転が必要か否かを判断する(S102)。変換制御部106が回転が必要と判断した場合(S102のYES)、データ変換部112は、PDLデータの座標系を90度回転させる(S104)。ステップS102で回転が必要でないと判断された場合(S102のNO)、ステップS106に進む。ページデータ生成部108は、データ変換部112が変換したPDLデータまたはデータ取得部104が受信したそのままのPDLデータを展開して描画データを生成する(S106)。ページデータ生成部108は、描画データを符号化・圧縮することもできる。転送制御部110は、ページデータ生成部108が生成した描画データをプリンタ本体120に転送する。
FIG. 2 is a flowchart showing a processing procedure of the printer apparatus 100 according to the present embodiment.
When the data acquisition unit 104 receives the PDL data (YES in S100), the conversion control unit 106 refers to the printing condition storage unit 116. The conversion control unit 106 determines whether or not rotation is necessary based on the printing conditions stored in the printing condition storage unit 116 and the printing information of the PDL data received by the data acquisition unit 104 (S102). When the conversion control unit 106 determines that rotation is necessary (YES in S102), the data conversion unit 112 rotates the coordinate system of the PDL data by 90 degrees (S104). If it is determined in step S102 that rotation is not necessary (NO in S102), the process proceeds to step S106. The page data generation unit 108 generates drawing data by expanding the PDL data converted by the data conversion unit 112 or the PDL data as received by the data acquisition unit 104 (S106). The page data generation unit 108 can also encode / compress drawing data. The transfer control unit 110 transfers the drawing data generated by the page data generation unit 108 to the printer main body 120.

この後、プリンタ本体120において、印刷処理部122により印刷処理が行われる。   Thereafter, in the printer main body 120, the print processing unit 122 performs print processing.

本実施の形態におけるプリンタ装置100によれば、描画データを生成してからデータを回転するのではなく、描画データを生成する前に、PDLデータを回転させる。そのため、バッファを用いた展開処理等を行う必要がなく、処理速度を高めることができる。また、プリンタコントローラ102において、プリンタ本体120の性能を把握して回転処理を行うため、無駄な処理による遅延を防ぐこともできる。   According to the printer device 100 in the present embodiment, the PDL data is rotated before generating the drawing data, instead of rotating the data after generating the drawing data. Therefore, it is not necessary to perform a development process using a buffer, and the processing speed can be increased. Further, since the printer controller 102 grasps the performance of the printer main body 120 and performs rotation processing, it is possible to prevent a delay due to useless processing.

以上、図面を参照して本発明の実施形態について述べたが、これらは本発明の例示であり、上記以外の様々な構成を採用することもできる。   As mentioned above, although embodiment of this invention was described with reference to drawings, these are the illustrations of this invention, Various structures other than the above are also employable.

以上の実施の形態において、データ取得部104がネットワーク150経由でPDLデータを取得する場合を例として説明したが、データ取得部104は、たとえば記憶媒体等に記憶されたPDLデータを取得することもできる。   In the above embodiment, the case where the data acquisition unit 104 acquires PDL data via the network 150 has been described as an example. However, the data acquisition unit 104 may acquire PDL data stored in a storage medium or the like, for example. it can.

本発明の実施の形態におけるプリンタ装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a printer device according to an embodiment of the present invention. 本発明の実施の形態におけるプリンタ装置の処理手順を示すフローチャートである。6 is a flowchart illustrating a processing procedure of the printer apparatus according to the embodiment of the present invention.

符号の説明Explanation of symbols

100 プリンタ装置
102 プリンタコントローラ
104 データ取得部
106 変換制御部
108 ページデータ生成部
110 転送制御部
112 データ変換部
114 印刷条件取得部
116 印刷条件記憶部
120 プリンタ本体
122 印刷処理部
124 印刷条件検知部
126 データ送受信部
130 プリンタ性能記憶部
150 ネットワーク
200 PC
DESCRIPTION OF SYMBOLS 100 Printer apparatus 102 Printer controller 104 Data acquisition part 106 Conversion control part 108 Page data generation part 110 Transfer control part 112 Data conversion part 114 Print condition acquisition part 116 Print condition storage part 120 Printer main body 122 Print processing part 124 Print condition detection part 126 Data transmission / reception unit 130 Printer performance storage unit 150 Network 200 PC

Claims (5)

ページ記述言語で記述されたPDLデータを取得するPDLデータ取得部と、
前記PDLデータを展開して描画データを生成する描画データ生成部と、
制御対象のプリンタが印刷可能な用紙サイズおよび給紙方向を示す印刷条件を取得する印刷条件取得部と、
前記PDLデータの座標系を90度回転する変換部と、
前記PDLデータ取得部が取得した前記PDLデータの印刷サイズおよび印刷方向を示す印刷情報、および前記印刷条件取得部が取得した前記印刷条件に基づき、前記PDLデータを回転させるか否かを判断する変換制御部と、
を含み、
前記変換制御部が前記PDLデータを回転させると判断した場合、前記変換部は、当該PDLデータを回転し、前記描画データ生成部は、前記変換部が回転した前記PDLデータを展開して前記描画データを生成するプリンタ制御装置。
A PDL data acquisition unit for acquiring PDL data described in a page description language;
A drawing data generation unit that expands the PDL data to generate drawing data;
A printing condition acquisition unit that acquires a printing condition indicating a paper size and a paper feeding direction that can be printed by the printer to be controlled;
A converter that rotates the coordinate system of the PDL data by 90 degrees;
Conversion that determines whether or not to rotate the PDL data based on the print information indicating the print size and print direction of the PDL data acquired by the PDL data acquisition unit and the print conditions acquired by the print condition acquisition unit A control unit;
Including
When the conversion control unit determines to rotate the PDL data, the conversion unit rotates the PDL data, and the drawing data generation unit expands the PDL data rotated by the conversion unit and performs the drawing. Printer control device that generates data.
請求項1に記載のプリンタ制御装置において、
前記印刷条件取得部は、前記制御対象のプリンタとバスを介して接続され、当該バスを介して前記印刷条件を取得するプリンタ制御装置。
The printer control device according to claim 1.
The printing condition acquisition unit is a printer control apparatus that is connected to the printer to be controlled via a bus and acquires the printing conditions via the bus.
請求項1または2に記載のプリンタ制御装置において、
前記変換制御部は、前記印刷条件において前記PDLデータと同じサイズで横方向給紙が可能な場合、横方向給紙が優先的に行われるように、前記PDLデータを回転させるか否かを判断するプリンタ制御装置。
The printer control device according to claim 1 or 2,
The conversion control unit determines whether or not to rotate the PDL data so that the horizontal feeding is performed preferentially when the printing condition allows the horizontal feeding with the same size as the PDL data. Printer control device.
請求項1から3いずれかに記載のプリンタ制御装置と、
プリントエンジンを含む印刷処理部と、
を含むプリンタ装置。
A printer control device according to any one of claims 1 to 3,
A print processing unit including a print engine;
Printer device including
請求項4に記載のプリンタ装置において、
前記印刷処理部が設けられたプリンタ本体と、
前記PDLデータ取得部、前記描画データ生成部、前記印刷条件取得部、前記変換部、および前記変換制御部が設けられたオプションボードと、をさらに含み、
前記印刷条件取得部は、前記プリンタ本体とバスを介して接続され、当該バスを介して前記印刷条件を取得するプリンタ装置。
The printer apparatus according to claim 4, wherein
A printer body provided with the print processing unit;
An option board provided with the PDL data acquisition unit, the drawing data generation unit, the printing condition acquisition unit, the conversion unit, and the conversion control unit;
The printing condition acquisition unit is connected to the printer body via a bus and acquires the printing conditions via the bus.
JP2005372138A 2005-12-26 2005-12-26 Printer controlling device, and printer device Pending JP2007168368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005372138A JP2007168368A (en) 2005-12-26 2005-12-26 Printer controlling device, and printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005372138A JP2007168368A (en) 2005-12-26 2005-12-26 Printer controlling device, and printer device

Publications (1)

Publication Number Publication Date
JP2007168368A true JP2007168368A (en) 2007-07-05

Family

ID=38295557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005372138A Pending JP2007168368A (en) 2005-12-26 2005-12-26 Printer controlling device, and printer device

Country Status (1)

Country Link
JP (1) JP2007168368A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012250442A (en) * 2011-06-03 2012-12-20 Ricoh Co Ltd Image forming apparatus, image forming control method, and image forming control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012250442A (en) * 2011-06-03 2012-12-20 Ricoh Co Ltd Image forming apparatus, image forming control method, and image forming control program

Similar Documents

Publication Publication Date Title
JP2008030287A (en) Printing apparatus, printing system and program
US8189211B2 (en) Image processing system
KR20090020980A (en) Terminal unit, image forming apparatus, printing system comprising them and printing methods of thereof
JP7172150B2 (en) Information processing device, communication system, image forming method, program
US20140063548A1 (en) Printing apparatus and printing system
JP7073634B2 (en) Electronic devices and programs
JP2007168368A (en) Printer controlling device, and printer device
US9165225B2 (en) Program and information processing apparatus
US8358445B2 (en) Image reading apparatus, control method therefor, and storage medium
JP2010124236A (en) Image forming device, method for transferring image data, and program
JP2006254357A (en) Facsimile machine
JP2006130816A (en) Image forming device
JP2009027328A (en) Image forming apparatus
JPS63116569A (en) Image processing system
JP4378395B2 (en) Image processing apparatus, printing apparatus, control program, recording medium
JP4901705B2 (en) Image forming apparatus, output image processing method, and program
JP2010088007A (en) Image forming apparatus
JP2008250435A (en) Printing system, and prn file generation method in printing system
JP2004086691A (en) Image processing system
JP4265801B2 (en) Image forming apparatus and image forming system
JP2009094604A (en) Integrated circuit for interline correction, color copier, and color scanner
JP2008217422A (en) Image processor
JP2007190838A (en) Printer, and data processing device
JP2006270314A (en) Image processing apparatus
JP2001358892A (en) Image forming system and control method therefor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091013

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100223