JP2011037219A - Image processing apparatus, method for controlling image processing apparatus and computer program - Google Patents

Image processing apparatus, method for controlling image processing apparatus and computer program Download PDF

Info

Publication number
JP2011037219A
JP2011037219A JP2009188919A JP2009188919A JP2011037219A JP 2011037219 A JP2011037219 A JP 2011037219A JP 2009188919 A JP2009188919 A JP 2009188919A JP 2009188919 A JP2009188919 A JP 2009188919A JP 2011037219 A JP2011037219 A JP 2011037219A
Authority
JP
Japan
Prior art keywords
file
print data
pdl
image processing
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009188919A
Other languages
Japanese (ja)
Other versions
JP5455504B2 (en
Inventor
Tomohide Kubota
朋秀 窪田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2009188919A priority Critical patent/JP5455504B2/en
Publication of JP2011037219A publication Critical patent/JP2011037219A/en
Application granted granted Critical
Publication of JP5455504B2 publication Critical patent/JP5455504B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus efficiently executing a judgement of PDL class of printing data on which compression processing is carried out, a method for controlling the image processing apparatus, and a computer program. <P>SOLUTION: The image processing apparatus 1 receives printing data and judges whether or not the printing data received are a compressed form. When the image processing apparatus 1 judges that the printing data are the compressed form, the kind of a page description language of the printing data is judged without applying decompression processing to the printing data. The image processing apparatus 1 acquires a file of the printing data for which the kind of the page description language is determined, and the acquired file is analyzed. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像処理装置、画像処理装置の制御方法、及びコンピュータプログラムに関する。   The present invention relates to an image processing apparatus, an image processing apparatus control method, and a computer program.

複数の種類のPDL(Page Description Language :ページ記述言語)データを解釈して処理することができるプリンタ等の画像処理装置が提案されている。このような画像処理装置は、受信した印刷データについてPDLの種別(以下、PDL種別と記述)の判定を行い、このPDL種別の判定結果に基づいて、印刷データの印刷処理を行う。PDL種別の判定は、印刷データにどのPDLが用いられているかについての判定である。
特許文献1は、印刷データ先頭の所定サイズのデータ中の各コマンド群についての、複数の種類のPDLに関する構文規則一致度を算出し、算出した構文規則一致度に基づいて印刷データに用いられているPDLを判定する印刷装置を開示している。すなわち、この印刷装置は、印刷データを先頭から順に展開してPDL種別を判定する。
An image processing apparatus such as a printer capable of interpreting and processing a plurality of types of PDL (Page Description Language) data has been proposed. Such an image processing apparatus determines the type of PDL (hereinafter referred to as PDL type) for the received print data, and performs print processing of the print data based on the determination result of the PDL type. The determination of the PDL type is a determination as to which PDL is used for the print data.
Japanese Patent Application Laid-Open No. 2004-228867 calculates syntax rule matching degrees for a plurality of types of PDLs for each command group in data of a predetermined size at the beginning of print data, and is used for print data based on the calculated syntax rule matching degrees. A printing apparatus for determining a PDL that is present is disclosed. That is, this printing apparatus develops print data in order from the top and determines the PDL type.

特開2007−241758号公報JP 2007-241758 A

近年、Microsoft社が提唱する、XML(Extensible Markup Language)をベースとするXPS(XML Paper Specification )印刷システムが広く知られている。XPS文書は、文書データであるとともに、印刷データとしての側面を有する。従って、XPS文書をプリンタドライバを用いずに直接プリンタなどの画像処理装置に送信して印刷を行うことが考えられる。
XPS文書については、通常、XPS文書を構成する各ファイルをまとめてZIP形式で圧縮処理をすることが行われている。また、バリアブル印刷に特化した印刷言語であるPPML(Personalized Print Markup Language)の形式で記述されたデータについても、複数のファイルをまとめてZIP形式で圧縮処理を行うのが一般的である。パーソナルコンピュータ等の情報機器が性能向上したことにより、印刷データや文書データを上記のように圧縮処理して容量を抑え、ネットワーク負荷を軽減することが行われている。
In recent years, an XPS (XML Paper Specification) printing system based on XML (Extensible Markup Language) proposed by Microsoft Corporation is widely known. The XPS document is document data and has an aspect as print data. Therefore, it is conceivable to print an XPS document by directly transmitting it to an image processing apparatus such as a printer without using a printer driver.
As for the XPS document, usually, the files constituting the XPS document are collectively compressed in the ZIP format. Also, with respect to data described in a PPML (Personalized Print Markup Language) format, which is a printing language specialized for variable printing, it is common to compress a plurality of files together in a ZIP format. As information devices such as personal computers have improved performance, print data and document data are compressed as described above to reduce the capacity and reduce the network load.

ここで、同一形式で圧縮処理された印刷データが直接画像処理装置に送信される場合、画像処理装置が、先頭数バイトの情報に基づいてPDL種別の判定をすることは困難である。また、画像処理装置が、圧縮処理された印刷データの中身を確認するためには、印刷データのファイルを展開する必要がある。また、XPS文書やPPML文書の印刷データについては、データ順序が一定でないため、先頭のファイルにPDL種別の判定に用いるデータがあるとは限らない。このため、印刷データを先頭から順に展開してPDL種別を判定する技術では、PDL種別の判定に時間がかかる。
本発明は、圧縮処理された印刷データのPDL種別の判定を効率的に実行する画像処理装置、画像処理装置の制御方法、及びコンピュータプログラムの提供を目的とする。
Here, when print data compressed in the same format is directly transmitted to the image processing apparatus, it is difficult for the image processing apparatus to determine the PDL type based on the information of the first few bytes. Further, in order for the image processing apparatus to check the contents of the compressed print data, it is necessary to expand the print data file. Further, the print order of XPS documents and PPML documents is not always in a fixed order, so there is not always data used for determining the PDL type in the first file. For this reason, it takes time to determine the PDL type in the technology for determining the PDL type by developing the print data in order from the top.
An object of the present invention is to provide an image processing apparatus, a control method for an image processing apparatus, and a computer program that efficiently execute determination of the PDL type of compressed print data.

本発明の一実施形態の画像処理装置は、印刷データを受信するデータ受信手段と、受信した前記印刷データが圧縮形式であるかを判断し、前記印刷データが圧縮形式であると判断した場合に、前記印刷データを展開処理せずに該印刷データのページ記述言語の種別を判定するページ記述言語判定手段と、前記ページ記述言語の種別が判定された印刷データのファイルを取得するファイル取得手段と、前記ファイル取得手段から前記ファイルを受け取って解析する解析手段とを備える。   An image processing apparatus according to an embodiment of the present invention determines a data reception unit that receives print data, whether the received print data is in a compressed format, and determines that the print data is in a compressed format. A page description language determining unit that determines a type of page description language of the print data without developing the print data, and a file acquisition unit that acquires a file of print data for which the type of page description language is determined Analyzing means for receiving and analyzing the file from the file acquisition means.

本発明の画像処理装置によれば、圧縮処理された印刷データのPDL種別の判定を効率的に行うことができる。その結果、この印刷データについて、PDL種別の判定時間を短縮することができる。   According to the image processing apparatus of the present invention, it is possible to efficiently determine the PDL type of the compressed print data. As a result, the PDL type determination time can be shortened for this print data.

本実施形態のシステム構成の一例を示す図である。It is a figure which shows an example of the system configuration | structure of this embodiment. 文書判定情報記憶部内の文書判定情報の例を示す図である。It is a figure which shows the example of the document determination information in a document determination information storage part. 順次処理XPS文書とランダム処理XPS文書のファイル構造である。It is the file structure of a sequential process XPS document and a random process XPS document. 画像処理装置によるPDL種別判定処理を説明する図である。It is a figure explaining PDL classification judgment processing by an image processing device. ファイル情報の記憶処理フローと、印刷データのPDL解析部に対する送信処理フローの例を示す図である。It is a figure which shows the example of the storage processing flow of file information, and the transmission processing flow with respect to the PDL analysis part of print data.

図1は、本実施形態のシステム構成の一例を示す図である。図1(A)は、本実施形態の画像処理装置を有するシステムの構成例を示し、図1(B)は、本実施形態の画像処理装置が備える制御装置の機能ブロック図の例を示す。図1(A)に示す画像処理装置1は、印刷データを受信し、受信した印刷データにどのページ記述言語(PDL)が用いられているかを判定(PDL種別を判定)し、PDL判定結果に基づいて印刷処理を実行する情報処理装置である。画像処理装置1は、MFP(Multi Function Printer)、SFP(Single Function Printer )、LBP(Laser Beam Printer)のうち、いずれのプリンタであってもよい。また、画像処理装置1は、MFP、SFP、LBP以外のプリント方式のプリンタであってもよい。画像処理装置1は、イーサネット(登録商標)等のLAN(Local Area Network)3を介し、画像処理装置1に対して各種指示を行うホストコンピュータ2と接続されている。   FIG. 1 is a diagram illustrating an example of a system configuration of the present embodiment. FIG. 1A shows a configuration example of a system having an image processing apparatus of the present embodiment, and FIG. 1B shows an example of a functional block diagram of a control device provided in the image processing apparatus of the present embodiment. The image processing apparatus 1 shown in FIG. 1A receives print data, determines which page description language (PDL) is used in the received print data (determines the PDL type), and displays the PDL determination result. An information processing apparatus that executes print processing based on the information processing apparatus. The image processing apparatus 1 may be any printer among MFP (Multi Function Printer), SFP (Single Function Printer), and LBP (Laser Beam Printer). Further, the image processing apparatus 1 may be a printer using a printing method other than MFP, SFP, or LBP. The image processing apparatus 1 is connected to a host computer 2 that gives various instructions to the image processing apparatus 1 via a LAN (Local Area Network) 3 such as Ethernet (registered trademark).

画像処理装置は、図1(A)に示すように、制御装置11、プリンタ装置12、外部メディア接続部13、操作部14、記憶装置15を備える。制御装置11は、画像処理装置1全体を制御する。制御装置11は、外部メディア接続部13、記憶装置15、又はLAN3を介して印刷データを受信し、受信した印刷データについてPDL種別の判定を行う。また、制御装置11は、PDL判定種別の判定結果に基づいて、印刷データの印刷制御処理を実行する。具体的には、制御装置11はプリンタ装置12に指示して印刷データを印刷出力させる。   As shown in FIG. 1A, the image processing apparatus includes a control device 11, a printer device 12, an external media connection unit 13, an operation unit 14, and a storage device 15. The control device 11 controls the entire image processing device 1. The control device 11 receives the print data via the external media connection unit 13, the storage device 15, or the LAN 3, and determines the PDL type for the received print data. In addition, the control device 11 executes print control processing for print data based on the determination result of the PDL determination type. Specifically, the control device 11 instructs the printer device 12 to print out the print data.

制御装置11は、ハードウェア資源として、CPU(Central Processing Unit )111、ROM(Read Only Memory)112、RAM(Random Access Memory)113を備える。CPU111は、ROM112又は他の記憶媒体に格納された制御プログラムに基づいて、画像処理装置1全体を統括制御する。上記制御プログラムは、本実施形態の画像処理装置の制御方法を実現するコンピュータプログラムである。RAM113は、CPU111の作業領域として用いられる記憶手段である。プリンタ装置12は、制御装置11の指示に従って、印刷データを印刷出力する。外部メディア接続部13は、USB(Universal Serial Bus)メモリ等の外部メディアから印刷データの入力が可能な装置である。操作部14は、各種機能の表示/設定や画像処理装置の状況の表示を行う。このために、操作部14は液晶パネルを備える。記憶装置15は、印刷データの格納/保存を行う。   The control device 11 includes a CPU (Central Processing Unit) 111, a ROM (Read Only Memory) 112, and a RAM (Random Access Memory) 113 as hardware resources. The CPU 111 performs overall control of the entire image processing apparatus 1 based on a control program stored in the ROM 112 or other storage medium. The control program is a computer program that realizes the control method of the image processing apparatus of the present embodiment. The RAM 113 is storage means used as a work area for the CPU 111. The printer device 12 prints out the print data in accordance with an instruction from the control device 11. The external media connection unit 13 is a device that can input print data from an external media such as a USB (Universal Serial Bus) memory. The operation unit 14 displays / sets various functions and displays the status of the image processing apparatus. For this purpose, the operation unit 14 includes a liquid crystal panel. The storage device 15 stores / saves print data.

図1(B)に示すように、制御装置11は、データ受信部101、PDL判定部102、文書判定情報記憶部103、ファイル情報記憶部104、ファイル取得部105、PDL解析部106、印刷制御部107を備える。データ受信部101は、外部メディア接続部13、記憶装置15、LAN3から印刷データを受信するデータ受信手段として機能する。PDL判定部102は、受信した印刷データについてPDL種別の判定を行うページ記述言語判定手段として機能する。PDL判定部102は、受信した印刷データが圧縮形式であるかを判断し、印刷データが圧縮形式であると判断した場合に、印刷データを展開処理せずに該印刷データに用いられているPDLの種別を判定する。例えば、PDL判定部102は、上記圧縮形式であると判断した印刷データのファイルのファイル名を取得する。そして、PDL判定部102は、取得したファイル名と文書判定情報記憶部103内(第1の記憶手段内)の文書判定情報とに基づいて、該取得したファイル名に対応するPDL種別を決定し、決定した種別を上記印刷データのPDL種別と判定する。文書判定情報は、PDL種別とファイル名との対応情報を含む情報である。PDL判定部102は、更に、上記取得したファイル名に対応するファイルのアドレス情報を取得し、該ファイル名とアドレス情報との対応情報をファイル情報記憶部104内(第2の記憶手段内)に記憶する。文書判定情報記憶部103は、文書判定情報が予め記憶される第1の記憶手段として機能する。ファイル情報記憶部104は、PDL判定部102によって取得されたファイル名とアドレス情報との対応情報が記憶される第2の記憶手段として機能する。ファイル情報記憶部104は、ハードウェア資源としてのRAM113又は記憶装置15に対応する。   As shown in FIG. 1B, the control device 11 includes a data reception unit 101, a PDL determination unit 102, a document determination information storage unit 103, a file information storage unit 104, a file acquisition unit 105, a PDL analysis unit 106, a print control. Part 107 is provided. The data receiving unit 101 functions as a data receiving unit that receives print data from the external media connection unit 13, the storage device 15, and the LAN 3. The PDL determination unit 102 functions as a page description language determination unit that determines the PDL type for the received print data. The PDL determination unit 102 determines whether the received print data is in a compressed format, and if it is determined that the print data is in a compressed format, the PDL used for the print data without performing the decompression process. The type of is determined. For example, the PDL determination unit 102 acquires the file name of the print data file determined to be in the compression format. The PDL determination unit 102 determines a PDL type corresponding to the acquired file name based on the acquired file name and the document determination information in the document determination information storage unit 103 (in the first storage unit). The determined type is determined as the PDL type of the print data. The document determination information is information including correspondence information between the PDL type and the file name. The PDL determination unit 102 further acquires address information of the file corresponding to the acquired file name, and stores correspondence information between the file name and address information in the file information storage unit 104 (in the second storage unit). Remember. The document determination information storage unit 103 functions as a first storage unit that stores document determination information in advance. The file information storage unit 104 functions as a second storage unit that stores correspondence information between the file name acquired by the PDL determination unit 102 and the address information. The file information storage unit 104 corresponds to the RAM 113 or the storage device 15 as hardware resources.

ファイル取得部105は、PDL判定部102によってPDL種別が判定された印刷データのファイルを取得し、取得したファイルをPDL解析部106に渡すファイル取得手段として機能する。ファイル取得部105は、PDL解析部106による解析処理に必要である順番にファイルを取得する。例えば、ファイル取得部105は、PDL判定部102によって判定されたPDL種別が順次処理可能な印刷データに対応する種別である場合に、取得した該印刷データのファイルを順次展開してPDL解析部106に渡す。順次処理可能な印刷データは、PDL解析部106の処理に必要なファイルの順番にファイルが格納されている印刷データである。PDL種別が、PDL解析部106による解析処理対象となるファイルがランダムに格納され、各々のファイルに次に解析処理対象となるファイルのファイル名が含まれている印刷データに対応する種別である場合、ファイル取得部105は、以下の処理を実行する。ファイル取得部105は、各々のファイルに含まれる次に解析処理対象となるファイルのファイル名に基づいて、上記解析処理対象となるファイルを順次取得する。具体的には、ファイル取得部105は、次に解析処理対象となるファイルのファイル名と、ファイル情報記憶部104内の対応情報とに基づいて、次に解析処理対象となるファイルのファイル名に対応するアドレス情報を取得する。そして、ファイル取得部105は、取得されたアドレス情報に基づいて、次に解析処理対象となるファイルにアクセスする。PDL解析部106は、ファイル取得部105からファイルを受け取って解析、すなわち印刷データを解析する。印刷制御部107は、PDL解析部106によって解析された印刷データをプリンタ装置12に送信し、印刷データを印刷出力させる。   The file acquisition unit 105 functions as a file acquisition unit that acquires a print data file whose PDL type has been determined by the PDL determination unit 102 and passes the acquired file to the PDL analysis unit 106. The file acquisition unit 105 acquires files in the order necessary for the analysis processing by the PDL analysis unit 106. For example, when the PDL type determined by the PDL determination unit 102 is a type corresponding to print data that can be sequentially processed, the file acquisition unit 105 sequentially expands the acquired print data file and performs the PDL analysis unit 106. To pass. The print data that can be sequentially processed is print data in which files are stored in the order of files necessary for processing by the PDL analysis unit 106. When the PDL type is a type corresponding to print data in which a file to be analyzed by the PDL analysis unit 106 is randomly stored and each file includes the file name of the next file to be analyzed The file acquisition unit 105 executes the following processing. The file acquisition unit 105 sequentially acquires the files to be analyzed based on the file name of the next file to be analyzed included in each file. Specifically, the file acquisition unit 105 sets the file name of the file to be analyzed next based on the file name of the file to be analyzed next and the correspondence information in the file information storage unit 104. Get the corresponding address information. Then, the file acquisition unit 105 accesses the file to be analyzed next based on the acquired address information. The PDL analysis unit 106 receives a file from the file acquisition unit 105 and analyzes it, that is, analyzes print data. The print control unit 107 transmits the print data analyzed by the PDL analysis unit 106 to the printer device 12, and prints out the print data.

図2は、文書判定情報記憶部内の文書判定情報の例を示す図である。文書判定情報は、例えば、図2(A)のテーブル(以下、PDL種別テーブル)に格納された情報と、図2(B)に示すテーブル(以下、印刷不可文書テーブル)に格納された情報とを含む。PDL種別テーブルには、PDL種別とファイル名との対応情報とが予め格納されている。図2(A)に示す例では、印刷データであるPPML文書、順次処理XPS文書、ランダム処理XPS文書のそれぞれに対応させて、文書に含まれるファイルのファイル名が格納されている。図2(A)に示す例では、PPML文書は、定義ファイルとしてppmlファイルを含み、更に、pdf等の参照される文書データも含む。XPS文書(順次処理XPS文書及びランダム処理XPS文書)は、[Content_Types].xmlやFixedDocumentSequence.fdseqファイルを含む。特に、順次処理XPS文書は、[Content_Types].xml/〜.pieceというpieceファイルを含む。なお、順次処理XPS文書は、前述した順次処理可能な印刷データの例である。また、ランダム処理XPS文書は、PDL解析部106による解析処理対象となるファイルがランダムに格納され、各々のファイルに次に解析処理対象となるファイルのファイル名が含まれている印刷データの例である。   FIG. 2 is a diagram illustrating an example of document determination information in the document determination information storage unit. The document determination information includes, for example, information stored in a table in FIG. 2A (hereinafter referred to as a PDL type table) and information stored in a table illustrated in FIG. 2B (hereinafter referred to as a non-printable document table). including. In the PDL type table, correspondence information between PDL types and file names is stored in advance. In the example shown in FIG. 2A, the file names of the files included in the document are stored in association with the PPML document, which is the print data, the sequentially processed XPS document, and the random processed XPS document. In the example shown in FIG. 2A, the PPML document includes a ppml file as a definition file, and further includes document data to be referred to such as pdf. XPS documents (sequentially processed XPS documents and random processed XPS documents) are stored in [Content_Types]. xml and FixedDocumentSequence. Includes fdseq file. In particular, the sequentially processed XPS document is [Content_Types]. xml / ~. Includes a piece file called piece. The sequentially processed XPS document is an example of print data that can be sequentially processed as described above. The random processing XPS document is an example of print data in which files to be analyzed by the PDL analysis unit 106 are randomly stored, and each file includes the file name of the file to be analyzed next. is there.

印刷不可文書テーブルには、印刷が可能でない文書と、文書に含まれるファイルのファイル名との対応情報が予め格納されている。図2(B)に示す例では、印刷不可文書テーブルには、パワーポイント文書、ワード文書、エクセル文書と、各々の文書に含まれるファイルのファイル名との対応情報が格納されている。パワーポイント文書、ワード文書、エクセル文書は、それぞれ、Microsoft社のOffice2007(登録商標)によって作成される、パワーポイント、ワード、エクセルの文書である。例えば、パワーポイント文書は、[Content_Types].xmlファイルとppt/〜ファイルとを含む。ワード文書は、[Content_Types].xmlファイルとword/〜ファイルとを含む。エクセル文書は、[Content_Types].xmlファイルとxl/〜ファイルとを含む。   In the unprintable document table, correspondence information between documents that cannot be printed and the file names of files included in the documents is stored in advance. In the example shown in FIG. 2B, correspondence information between the PowerPoint document, the word document, and the Excel document and the file name of the file included in each document is stored in the non-printable document table. The PowerPoint document, Word document, and Excel document are PowerPoint, Word, and Excel documents created by Office 2007 (registered trademark) of Microsoft Corporation. For example, the PowerPoint document is [Content_Types]. Includes xml files and ppt / ~ files. The word document is [Content_Types]. Contains xml files and word / ~ files. The Excel document is [Content_Types]. Contains xml files and xl / ~ files.

図3は、順次処理XPS文書とランダム処理XPS文書のファイル構造の一例を示す図である。図3(A)は、順次処理XPS文書のファイル構造を示す。順次処理XPS文書には、PDL解析部106の処理に必要なファイルの順番にファイルが格納されている。図3(A)に示す例では、[Content_Types].xml/[0].pieceファイルから[Content_Types].xml/[6].pieceファイルまでのファイルが順次格納されている。図3(A)中の点線の矢印で示す順番に各々のファイルが処理される。   FIG. 3 is a diagram illustrating an example of the file structure of the sequentially processed XPS document and the random processed XPS document. FIG. 3A shows the file structure of the sequentially processed XPS document. In the sequentially processed XPS document, files are stored in the order of files necessary for processing by the PDL analysis unit 106. In the example shown in FIG. 3A, [Content_Types]. xml / [0]. [Content_Types] from the piece file. xml / [6]. Files up to the piece file are sequentially stored. Each file is processed in the order indicated by the dotted arrows in FIG.

図3(B)は、ランダム処理XPS文書のファイル構造を示す。ランダム処理XPS文書には、ファイルが、PDL解析部106の処理に必要なファイルの順番にではなく、ランダムに格納されている。図3(B)中の点線の矢印が、ランダム処理XPS文書のファイルが処理される順番を示す。図3(B)に示すランダム処理XPS文書の解析処理には、まず、文書のファイル構造を示す定義ファイルである[Content_Types].xmlファイルが必要である。次に、_rels/.relsファイル、FixedDocumentSequence.fdseqファイル、FixedDocument.fdocファイルの順に、PDL解析部106の解析処理対象となる。_rels/.relsファイルは、ファイルアクセスの最初の起点となるファイルである。_rels/.relsファイル内には、FixedDocumentSequence.fdseqファイルのパス(ファイル名)が記述されている。FixedDocumentSequence.fdseqファイル内には、FixedDocument.fdocファイルのパス(ファイル名)が記述されている。FixedDocument.fdocファイルは、ドキュメント情報を有する。また、FixedDocument.fdocファイル内には、ページ情報を含むFixedPage(図3(B)中の1.fpage)のパスが記述されている。このFixedPage内に1ページ分の情報が記載されている。   FIG. 3B shows the file structure of a randomly processed XPS document. In the random processing XPS document, files are stored at random, not in the order of files necessary for processing by the PDL analysis unit 106. The dotted arrows in FIG. 3B indicate the order in which the files of the randomly processed XPS document are processed. In the analysis processing of the random processing XPS document shown in FIG. 3B, first, a content file [Content_Types]. An xml file is required. Next, _rels /. rels file, FixedDocumentSequence. fdseq file, FixedDocument. It becomes an analysis processing target of the PDL analysis unit 106 in the order of the fdoc file. _Rels /. The rels file is a file that is the first starting point of file access. _Rels /. In the rels file, FixedDocumentSequence. The path (file name) of the fdseq file is described. FixedDocumentSequence. In the fdseq file, FixedDocument. The path (file name) of the fdoc file is described. FixedDocument. The fdoc file has document information. Also, FixedDocument. In the fdoc file, a path of FixedPage (1.fpage in FIG. 3B) including page information is described. One page of information is described in the FixedPage.

図4は、本実施形態の画像処理装置によるPDL種別判定処理を説明する図である。図4(A)は画像処理装置1が備える制御装置11が実行するPDL種別判定処理フローの例を示す。まず、制御装置11が備えるPDL判定部102が、データ受信部101から印刷データを受け取り、この印刷データについて、印刷データのファイル名が示す拡張子に基づいてPDL種別を判定する(ステップS1)。ステップS1においては、PDL判定部102は、拡張子に基づいてPDL種別を判定できる場合には、PDL種別を判定して処理を終了する。例えば、印刷データのファイル名がXXX.xpsである場合には、拡張子に基づいてこの印刷データがXPS文書であると判定できるので、PDL判定部102は、この印刷データがXPS文書であると判定する。一方、PDL判定部102が、拡張子に基づいてPDL種別を判定できない場合には、ステップS2に進む。例えば、印刷データのファイル名がYYY.zipである場合のように、印刷データのファイルがZIP形式のファイルである場合には、印刷データがXPS文書であるかPPML文書であるか、又はその他の文書であるかを判定することができない。   FIG. 4 is a diagram for explaining PDL type determination processing by the image processing apparatus according to the present embodiment. FIG. 4A shows an example of a PDL type determination processing flow executed by the control device 11 included in the image processing device 1. First, the PDL determination unit 102 included in the control device 11 receives print data from the data reception unit 101, and determines the PDL type for this print data based on the extension indicated by the file name of the print data (step S1). In step S1, when the PDL type can be determined based on the extension, the PDL determination unit 102 determines the PDL type and ends the process. For example, the print data file name is XXX. If it is XPS, it can be determined that the print data is an XPS document based on the extension, so the PDL determination unit 102 determines that the print data is an XPS document. On the other hand, if the PDL determination unit 102 cannot determine the PDL type based on the extension, the process proceeds to step S2. For example, if the print data file name is YYY. When the print data file is a ZIP format file as in the case of zip, it cannot be determined whether the print data is an XPS document, a PPML document, or another document. .

次に、PDL判定部102は、印刷データが圧縮形式であるかを判断する(ステップS2)。PDL判定部102は、例えば、印刷データの先頭4バイトが”0x504B0304”である場合には、印刷データがZIP形式すなわち圧縮形式で圧縮処理されたデータであると判断する。PDL判定部102が、印刷データが圧縮形式であると判断した場合はステップS3に進む。PDL判定部102が、印刷データが圧縮形式でないと判断した場合には、PDL判定部102は、従来のPDL種別の判定処理を行う(ステップS8)。ステップS8における従来のPDL種別の判定処理においては、PDL判定部102は、印刷データの先頭から印刷データの内容を解析し、この解析結果に基づいてPDL種別を判定する。ステップS3においては、PDL判定部102は、印刷データに含まれる先頭のファイルから順にファイル名を取得する(ステップS3)。具体的には、PDL判定部102は、ファイルに付加されているヘッダを解析して、ファイル名を取得できるかを判断する。PDL判定部102が、ファイル名を取得できないと判断した場合は、ステップS9に進む。PDL判定部102が、ファイル名を取得できると判断した場合は、PDL判定部102はファイル名を取得し、ステップS4に進む。   Next, the PDL determination unit 102 determines whether the print data is in a compressed format (step S2). For example, when the first 4 bytes of the print data is “0x504B0304”, the PDL determination unit 102 determines that the print data is data that has been compressed in the ZIP format, that is, the compression format. If the PDL determination unit 102 determines that the print data is in a compressed format, the process proceeds to step S3. If the PDL determination unit 102 determines that the print data is not in a compressed format, the PDL determination unit 102 performs a conventional PDL type determination process (step S8). In the conventional PDL type determination process in step S8, the PDL determination unit 102 analyzes the contents of the print data from the top of the print data, and determines the PDL type based on the analysis result. In step S3, the PDL determination unit 102 acquires file names in order from the first file included in the print data (step S3). Specifically, the PDL determination unit 102 analyzes the header added to the file and determines whether the file name can be acquired. If the PDL determination unit 102 determines that the file name cannot be acquired, the process proceeds to step S9. When the PDL determination unit 102 determines that the file name can be acquired, the PDL determination unit 102 acquires the file name and proceeds to step S4.

ステップS3における処理について、圧縮形式であると判断された印刷データのファイルがZIP形式で圧縮処理された印刷データのファイル(以下、ZIPファイルと記述)である場合を例にとって以下に説明する。図4(B)は、ZIPファイルの構成例を示す図である。図4(B)に示す例では、ZIPファイルは、ファイル1乃至nの各々に対応する圧縮データを含む。各々のファイルに対応する圧縮データの前にはヘッダが付加されている。また、ZIPファイルの最後尾には、ZIPファイルに含まれるファイル名の一覧を含むZIPのヘッダが付加されている。各々の圧縮データの前に付加されているヘッダは、対応するファイルのファイル名、展開後のファイルサイズ、圧縮データのサイズ等の情報を含む。従って、例えば、PDL判定部102は、ZIPファイルを展開せずに、ZIPファイルに含まれる各々のファイルのヘッダを解析することによって、各々のファイルのファイル名を取得することができる。   The process in step S3 will be described below by taking as an example the case where the print data file determined to be in the compression format is a print data file compressed in the ZIP format (hereinafter referred to as a ZIP file). FIG. 4B is a diagram illustrating a configuration example of a ZIP file. In the example shown in FIG. 4B, the ZIP file includes compressed data corresponding to each of the files 1 to n. A header is added before the compressed data corresponding to each file. A ZIP header including a list of file names included in the ZIP file is added to the tail of the ZIP file. The header added before each compressed data includes information such as the file name of the corresponding file, the file size after decompression, and the size of the compressed data. Therefore, for example, the PDL determination unit 102 can acquire the file name of each file by analyzing the header of each file included in the ZIP file without expanding the ZIP file.

ステップS4において、PDL判定部102は、ステップS3において取得したファイル名に基づいて、印刷データのPDL種別を判定する(ステップS4)。具体的には、PDL判定部102は、図2(A)に示すPDL種別テーブル内に、取得したファイル名に対応するPDL種別の文書があるかを判断し、この判断結果に基づいて、印刷データのPDL種別が判定できるかを判断する。PDL判定部102が、PDL種別テーブル内に、取得したファイル名に対応するPDL種別の文書があると判断した場合は、この文書に対応するPDL種別を印刷データのPDL種別であると判断し、PDL種別の判定処理を終了する。PDL種別の判定処理の終了後、PDL判定部102が、印刷データとこの印刷データについての、PDL種別の判定処理結果とをファイル取得部105に送信する。そして、ファイル取得部105が、送信されたPDL種別の判定処理結果に基づいて、印刷データのファイルを、解析に必要なファイルから順に展開してPDL解析部106に送信する。PDL判定部102が、PDL種別テーブル内に、取得したファイル名に対応するPDL種別の文書がないと判断した場合は、ステップS5に進む。   In step S4, the PDL determination unit 102 determines the PDL type of the print data based on the file name acquired in step S3 (step S4). Specifically, the PDL determination unit 102 determines whether there is a document of the PDL type corresponding to the acquired file name in the PDL type table shown in FIG. 2A, and prints based on the determination result. It is determined whether the PDL type of data can be determined. If the PDL determination unit 102 determines that there is a PDL type document corresponding to the acquired file name in the PDL type table, the PDL type corresponding to this document is determined to be the PDL type of the print data, The PDL type determination process ends. After the PDL type determination process ends, the PDL determination unit 102 transmits the print data and the PDL type determination process result for the print data to the file acquisition unit 105. Then, based on the transmitted PDL type determination processing result, the file acquisition unit 105 develops print data files in order from the files necessary for analysis, and transmits them to the PDL analysis unit 106. If the PDL determination unit 102 determines that there is no PDL type document corresponding to the acquired file name in the PDL type table, the process proceeds to step S5.

ステップS5において、PDL判定部102が、ステップS3において取得したファイル名に対応する文書が図2(B)に示す印刷不可文書テーブル内にあるかを判断する(ステップS5)。PDL判定部102が、ファイル名に対応する文書が印刷不可文書テーブル内にないと判断した場合は、上記ステップS3に戻る。PDL判定部102が、ファイル名に対応する文書が印刷不可文書テーブル内にあると判断した場合は、PDL判定部102は、この文書の文書情報を取得し、ステップS6に進む。この文書情報には、例えば、ファイル名、文書を作成したアプリケーション名等が含まれる。次に、PDL判定部102は、上記取得した文書の文書情報を操作部14の液晶パネル上に表示する(ステップS6)。ステップS6においては、PDL判定部102が、液晶パネル上に、上記文書情報を表示するとともに、印刷データが印刷可能でないことを示すエラー表示をするようにしてもよい。そして、PDL判定部102が、印刷処理をキャンセルして(ステップS7)、処理を終了する。   In step S5, the PDL determination unit 102 determines whether the document corresponding to the file name acquired in step S3 is in the unprintable document table shown in FIG. 2B (step S5). If the PDL determination unit 102 determines that the document corresponding to the file name is not in the unprintable document table, the process returns to step S3. If the PDL determination unit 102 determines that the document corresponding to the file name is in the non-printable document table, the PDL determination unit 102 acquires the document information of this document, and proceeds to step S6. This document information includes, for example, a file name, the name of the application that created the document, and the like. Next, the PDL determination unit 102 displays the document information of the acquired document on the liquid crystal panel of the operation unit 14 (step S6). In step S6, the PDL determination unit 102 may display the document information on the liquid crystal panel and display an error indicating that the print data cannot be printed. Then, the PDL determination unit 102 cancels the printing process (step S7) and ends the process.

上記ステップS3において、PDL判定部102が、ファイル名を取得できないと判断した場合、PDL判定部102は、印刷データに含まれる特定又は任意のファイルを展開して(ステップS9)、印刷データの中身を取り出す。そして、PDL判定部102が、取り出した印刷データの中身を解析して、PDL種別の判定を行う。具体的には、PDL判定部102は、展開したファイルのファイル名の情報と、印刷データの中身に含まれるコマンド情報とに基づいてPDL種別を判定する(ステップS10)。なお、PDL判定部102が、印刷データが印刷可能でない印刷データであって、PDL種別を判定することができないと判断した場合には、印刷処理をキャンセルする。図4を参照して説明したPDL種別の判定処理によれば、圧縮形式で圧縮処理された印刷データをできるだけ展開せずにファイル名に基づいてPDL種別を判定することができる。その結果、同じ圧縮形式で保存された、異なるPDLデータのPDL種別を迅速に判定することが可能となる。   If the PDL determination unit 102 determines in step S3 that the file name cannot be acquired, the PDL determination unit 102 expands the specific or arbitrary file included in the print data (step S9), and the contents of the print data Take out. Then, the PDL determination unit 102 analyzes the contents of the extracted print data and determines the PDL type. Specifically, the PDL determination unit 102 determines the PDL type based on the file name information of the expanded file and the command information included in the contents of the print data (step S10). If the PDL determination unit 102 determines that the print data is not printable print data and cannot determine the PDL type, the print processing is cancelled. According to the PDL type determination process described with reference to FIG. 4, it is possible to determine the PDL type based on the file name without expanding the print data compressed in the compression format as much as possible. As a result, it is possible to quickly determine the PDL type of different PDL data stored in the same compression format.

図5は、PDL判定部によるファイル情報の記憶処理フローの例と、PDL種別を判定された印刷データのPDL解析部に対する送信処理フローの例を示す図である。図5(A)は、ファイル情報の記憶処理フローの例を示す。この例におけるファイル情報の記憶処理は、図4(A)を参照して説明したPDL種別の判定処理と並行して行われる。また、この例におけるファイル情報の記憶処理は、図4のステップS4におけるPDL種別の判定処理において印刷データがXPS文書であると判定された場合に実行される。
まず、PDL判定部102が、印刷データに含まれる先頭のファイルから順にファイル情報を取得する(ステップS21)。ファイル情報は、例えば、ファイル名とファイルのアドレス情報との対応情報である。ファイルのアドレス情報は、各ファイルが格納されている先頭アドレスの情報である。図4(B)に示すZIPファイルの例では、ZIPファイルに含まれる各ファイルの圧縮データに付加されているヘッダの先頭アドレスの情報がファイルのアドレス情報である。PDL判定部102は、図4(A)のステップS3におけるファイル名の取得処理においてヘッダを解析した時に、ヘッダのサイズとヘッダの後に続く圧縮データのサイズの情報とを取得する。そして、PDL判定部102は、取得したヘッダのサイズと圧縮データのサイズの情報とに基づいて、各々のファイルのアドレス情報を求める。
FIG. 5 is a diagram illustrating an example of a file information storage processing flow by the PDL determination unit and an example of a transmission processing flow of the print data for which the PDL type has been determined, to the PDL analysis unit. FIG. 5A shows an example of a storage processing flow of file information. The file information storage process in this example is performed in parallel with the PDL type determination process described with reference to FIG. The file information storage process in this example is executed when the print data is determined to be an XPS document in the PDL type determination process in step S4 of FIG.
First, the PDL determination unit 102 acquires file information in order from the first file included in the print data (step S21). The file information is, for example, correspondence information between a file name and file address information. The file address information is information on the head address where each file is stored. In the example of the ZIP file shown in FIG. 4B, the header address information added to the compressed data of each file included in the ZIP file is the file address information. When the PDL determination unit 102 analyzes the header in the file name acquisition process in step S3 of FIG. 4A, the PDL determination unit 102 acquires the size of the header and the size of the compressed data that follows the header. The PDL determination unit 102 obtains address information of each file based on the acquired header size and compressed data size information.

続いて、PDL判定部102が、ステップS21において取得したファイル情報をファイル記憶部104に記憶する(ステップS22)。PDL判定部102が、印刷データに含まれる最終ファイルについてファイル情報を記憶したと判断した場合は処理を終了する。PDL判定部102が、印刷データに含まれる最終ファイルについてファイル情報を記憶していないと判断した場合は、上記ステップS21に戻る。図5(A)を参照して上述したファイル情報記憶処理において記憶されたファイル情報は、後述する図5(B)のステップS36においてファイル取得部105が必要なファイルへアクセスする際に用いられる。すなわち、PDL種別の判定処理と並行してファイル情報を取得して記憶しておくことによって、PDL種別の判定処理に続く処理において、記憶されたファイル情報を用いてファイルに直接アクセスすることが可能となる。   Subsequently, the PDL determination unit 102 stores the file information acquired in step S21 in the file storage unit 104 (step S22). If the PDL determination unit 102 determines that the file information is stored for the final file included in the print data, the process ends. If the PDL determination unit 102 determines that the file information is not stored for the final file included in the print data, the process returns to step S21. The file information stored in the file information storage process described above with reference to FIG. 5A is used when the file acquisition unit 105 accesses a necessary file in step S36 of FIG. 5B described later. That is, by acquiring and storing file information in parallel with the PDL type determination process, it is possible to directly access the file using the stored file information in the process following the PDL type determination process. Become.

図5(B)は、PDL種別を判定された印刷データのPDL解析部に対する送信処理フローの例を示す。この例では、図4(A)のステップS4のPDL種別の判定処理において、印刷データがXPS文書であると判定された場合の処理について説明する。
図5(B)に示す処理フローでは、ファイル取得部105が、PDL判定部102から受け取った印刷データが順次処理XPS文書であるか、ランダム処理XPS文書のいずれであるかに応じて、処理の切り替えを行う。まず、ファイル取得部105が、PDL判定部102から受け取った印刷データが順次処理XPS文書であるかを判断する(ステップS31)。ファイル取得部105が、印刷データが順次処理XPS文書であると判断した場合、ファイル取得部105は、印刷データの先頭のファイルから順次展開してPDL解析部106に送信する(ステップS32)。
FIG. 5B shows an example of a transmission processing flow for the PDL analysis unit of the print data for which the PDL type is determined. In this example, a process will be described in a case where it is determined that the print data is an XPS document in the PDL type determination process in step S4 of FIG.
In the processing flow shown in FIG. 5B, the file acquisition unit 105 performs processing according to whether the print data received from the PDL determination unit 102 is a sequential processing XPS document or a random processing XPS document. Switch. First, the file acquisition unit 105 determines whether the print data received from the PDL determination unit 102 is a sequentially processed XPS document (step S31). When the file acquisition unit 105 determines that the print data is a sequentially processed XPS document, the file acquisition unit 105 sequentially develops the first file of the print data from the first file and transmits it to the PDL analysis unit 106 (step S32).

ファイル取得部105が、PDL判定部102から受け取った印刷データが順次処理XPS文書ではなく、ランダム処理XPS文書であると判断した場合には、ステップS33に進む。ステップS33において、ファイル取得部105が、PDL解析部106による解析処理に必要なファイルのファイル名の取得処理を行う(ステップS33)。図3(B)に示すランダム処理XPS文書を例にとって説明すると、ファイル取得部105は、ファイルアクセスの最初の起点である_rels/.relsファイルのデータをPDL解析部106に送信し、このファイルを解析させ、解析結果を受け取る。この解析結果には、FixedDocumentSequence.fdseqファイルのパス(ファイル名)が記述されている。従って、ファイル取得部105は、FixedDocumentSequence.fdseqを次に処理が必要なファイルのファイル名として取得する。このように、ファイル取得部105は、PDL解析部106にランダム処理XPS文書を解析させ、該解析結果に基づいて、次に必要なファイルのファイル名を取得することができる。   If the file acquisition unit 105 determines that the print data received from the PDL determination unit 102 is not a sequentially processed XPS document but a random processed XPS document, the process proceeds to step S33. In step S33, the file acquisition unit 105 acquires a file name of a file necessary for the analysis process by the PDL analysis unit 106 (step S33). In the example of the random processing XPS document shown in FIG. 3B, the file acquisition unit 105 uses the _rels /. The data of the rels file is transmitted to the PDL analysis unit 106, the file is analyzed, and the analysis result is received. This analysis result includes FixedDocumentSequence. The path (file name) of the fdseq file is described. Therefore, the file acquisition unit 105 uses FixedDocumentSequence. fdseq is acquired as the file name of the file that needs to be processed next. In this way, the file acquisition unit 105 can cause the PDL analysis unit 106 to analyze the random processing XPS document and acquire the file name of the next necessary file based on the analysis result.

次に、ファイル取得部105が、ファイル情報記憶部104内のファイル情報を参照して、ステップS23によって取得されたファイル名がファイル情報記憶部104に記憶されているかを判断する(ステップS34)。ファイル取得部105が、ファイル名がファイル情報記憶部104に記憶されていないと判断した場合は、ステップS35に進む。ファイル取得部105は、ステップS33において取得されたファイル名がファイル情報記憶処理104に記憶されるまで処理を待つ(ステップS35)。ファイル取得部105が、ファイル名がファイル情報記憶部104に記憶されていると判断した場合、ファイル取得部105は、ファイル情報記憶部104のファイル情報に基づいて、ファイル名に対応するファイルのアドレス情報を取得する。ファイル取得部105は、取得したアドレス情報に基づいて、必要なファイルにアクセスしてファイルを取得し、取得したファイルを展開してPDL解析部106に対して送信する(ステップS36)。例えば、ファイル取得部105は、FixedDocumentSequence.fdseqファイルをPDL解析部106に対して送信する。PDL解析部106は、送信されたFixedDocumentSequence.fdseqファイルを解析して、このファイル内に記述されているFixedDocument.fdocファイルのパス(ファイル名)を取得する。FixedDocument.fdocファイルは、FixedDocumentSequence.fdseqファイルの次に解析処理が必要なファイルである。   Next, the file acquisition unit 105 refers to the file information in the file information storage unit 104 and determines whether the file name acquired in step S23 is stored in the file information storage unit 104 (step S34). If the file acquisition unit 105 determines that the file name is not stored in the file information storage unit 104, the process proceeds to step S35. The file acquisition unit 105 waits for processing until the file name acquired in step S33 is stored in the file information storage processing 104 (step S35). When the file acquisition unit 105 determines that the file name is stored in the file information storage unit 104, the file acquisition unit 105 determines the address of the file corresponding to the file name based on the file information in the file information storage unit 104. Get information. Based on the acquired address information, the file acquisition unit 105 accesses the necessary file to acquire the file, expands the acquired file, and transmits it to the PDL analysis unit 106 (step S36). For example, the file acquisition unit 105 uses FixedDocumentSequence. The fdseq file is transmitted to the PDL analysis unit 106. The PDL analysis unit 106 transmits the FixedDocumentSequence. The fdseq file is analyzed, and FixedDocument.txt described in the file is analyzed. Get the path (file name) of the fdoc file. FixedDocument. The fdoc file is a FixedDocumentSequence. This file needs to be analyzed after the fdseq file.

続いて、ファイル取得部105が、PDL解析部106による解析処理に必要なファイルがないかを判断する(ステップS37)。ファイル取得部105が、解析処理に必要なファイルがないと判断した場合は処理を終了する。ファイル取得部105が、解析処理に必要なファイルがあると判断した場合は、上記ステップS33の処理に戻る。この処理において、ファイル取得部105は、例えば、上記PDL解析部106によって取得されたFixedDocument.fdocファイルのパス(ファイル名)を取得する。上述したステップS33乃至S37の処理の結果、ランダム処理XPS文書に含まれるファイルが、処理が必要な順番に展開される。その結果、スプールデータ領域を効率的に利用することができる。   Subsequently, the file acquisition unit 105 determines whether there is a file necessary for the analysis processing by the PDL analysis unit 106 (step S37). If the file acquisition unit 105 determines that there is no file required for the analysis process, the process ends. If the file acquisition unit 105 determines that there is a file necessary for the analysis process, the process returns to step S33. In this process, the file acquisition unit 105, for example, uses the FixedDocument.acquired by the PDL analysis unit 106. Get the path (file name) of the fdoc file. As a result of the processing in steps S33 to S37 described above, the files included in the random processing XPS document are expanded in the order in which processing is necessary. As a result, the spool data area can be used efficiently.

図5(B)を参照して上述した処理によれば、印刷データが順次処理XPS文書である場合には、PDL種別の判定終了後、ファイル取得部105が直ちに印刷データの先頭ファイルからPDL解析部106に対して印刷データを送信することができる。その結果、PDL解析処理を迅速に行うことが可能となる。また、印刷データがランダム処理XPS文書である場合には、ファイル取得部105が、ファイル情報記憶部104に記憶されているファイル情報と、解析処理に必要なファイルのファイル名とに基づいて、このファイルに迅速にアクセスすることができる。   According to the processing described above with reference to FIG. 5B, when the print data is a sequentially processed XPS document, the file acquisition unit 105 immediately analyzes the PDL analysis from the first file of the print data after the determination of the PDL type is completed. The print data can be transmitted to the unit 106. As a result, the PDL analysis process can be performed quickly. In addition, when the print data is a random processing XPS document, the file acquisition unit 105 performs this processing based on the file information stored in the file information storage unit 104 and the file name of the file necessary for the analysis process. Quick access to files.

(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.

1 画像処理装置
2 ホストコンピュータ
3 LAN
1 Image processing device 2 Host computer 3 LAN

Claims (8)

印刷データを受信するデータ受信手段と、
受信した前記印刷データが圧縮形式であるかを判断し、前記印刷データが圧縮形式であると判断した場合に、前記印刷データを展開処理せずに該印刷データのページ記述言語の種別を判定するページ記述言語判定手段と、
前記ページ記述言語の種別が判定された印刷データのファイルを取得するファイル取得手段と、
前記ファイル取得手段から前記ファイルを受け取って解析する解析手段とを備える
ことを特徴とする画像処理装置。
Data receiving means for receiving print data;
It is determined whether the received print data is in a compressed format, and when it is determined that the print data is in a compressed format, the type of page description language of the print data is determined without decompressing the print data Page description language determination means;
File acquisition means for acquiring a file of print data for which the type of the page description language is determined;
An image processing apparatus comprising: an analysis unit that receives and analyzes the file from the file acquisition unit.
ページ記述言語の種別とファイル名との対応情報が予め記憶された第1の記憶手段を備え、
前記ページ記述言語判定手段は、前記圧縮形式であると判断した印刷データのファイルのファイル名を取得し、前記取得したファイル名と前記第1の記憶手段内の対応情報とに基づいて、該取得したファイル名に対応するページ記述言語の種別を決定し、決定した種別を前記印刷データのページ記述言語の種別と判定する
ことを特徴とする請求項1に記載の画像処理装置。
First storage means in which correspondence information between a page description language type and a file name is stored in advance;
The page description language determination unit acquires a file name of a print data file determined to be in the compression format, and acquires the file name based on the acquired file name and correspondence information in the first storage unit The image processing apparatus according to claim 1, further comprising: determining a page description language type corresponding to the file name and determining the determined type as a page description language type of the print data.
前記ファイル取得手段は、前記ページ記述言語判定手段によって判定されたページ記述言語の種別が順次処理可能な印刷データに対応する種別である場合に、取得した該印刷データのファイルを順次展開して前記解析手段に渡す
ことを特徴とする請求項2に記載の画像処理装置。
The file acquisition unit sequentially expands the acquired print data file when the type of the page description language determined by the page description language determination unit is a type corresponding to print data that can be sequentially processed. The image processing apparatus according to claim 2, wherein the image processing apparatus is passed to an analysis unit.
前記ファイル取得手段は、前記判定されたページ記述言語の種別が、前記解析手段による解析処理対象となるファイルがランダムに格納され、各々のファイルに次に解析処理対象となるファイルのファイル名が含まれている印刷データに対応する種別である場合に、各々のファイルに含まれる次に解析処理対象となるファイルのファイル名に基づいて、前記解析処理対象となるファイルを順次取得する
ことを特徴とする請求項2に記載の画像処理装置。
In the file acquisition means, the type of the determined page description language is stored randomly as a file to be analyzed by the analyzing means, and each file includes the file name of the file to be analyzed next The file to be analyzed is sequentially acquired based on the file name of the next file to be analyzed included in each file when the type corresponds to the print data being recorded. The image processing apparatus according to claim 2.
前記ページ記述言語判定手段は、更に、前記取得したファイル名に対応するファイルのアドレス情報を取得し、該ファイル名とアドレス情報との対応情報を第2の記憶手段に記憶し、
前記ファイル取得手段は、前記解析処理対象となる各々のファイルに含まれる、次に解析処理対象となるファイルのファイル名と、前記第2の記憶手段内の対応情報とに基づいて、前記次に解析処理対象となるファイルのファイル名に対応するアドレス情報を取得し、取得されたアドレス情報に基づいて、前記次に解析処理対象となるファイルにアクセスする
ことを特徴とする請求項4に記載の画像処理装置。
The page description language determination unit further acquires address information of a file corresponding to the acquired file name, and stores correspondence information between the file name and address information in a second storage unit,
The file acquisition unit includes the file name of the next file to be analyzed and the corresponding information in the second storage unit, and is included in each file to be analyzed. 5. The address information corresponding to the file name of the file to be analyzed is acquired, and the file to be analyzed next is accessed based on the acquired address information. Image processing device.
前記ページ記述言語判定手段は、前記圧縮形式であると判断した印刷データのファイルのヘッダを解析し、該解析結果に基づいて該ファイルのファイル名を取得する
ことを特徴とする請求項1乃至5のいずれかに記載の画像処理装置。
6. The page description language determination unit analyzes a header of a file of print data determined to be in the compression format, and acquires a file name of the file based on the analysis result. An image processing apparatus according to any one of the above.
印刷データを受信する工程と、
受信した前記印刷データが圧縮形式であるかを判断し、前記印刷データが圧縮形式であると判断した場合に、前記印刷データを展開処理せずに該印刷データのページ記述言語の種別を判定する工程と、
前記ページ記述言語の種別が判定された印刷データのファイルを取得する工程と、
前記取得されたファイルを解析する工程とを有する
ことを特徴とする画像処理装置の制御方法。
Receiving print data; and
It is determined whether the received print data is in a compressed format, and when it is determined that the print data is in a compressed format, the type of page description language of the print data is determined without decompressing the print data Process,
Obtaining a print data file for which the type of the page description language is determined;
And a step of analyzing the acquired file. A method for controlling an image processing apparatus.
請求項7に記載の画像処理装置の制御方法をコンピュータに実行させることを特徴とするコンピュータプログラム。   A computer program for causing a computer to execute the control method of the image processing apparatus according to claim 7.
JP2009188919A 2009-08-18 2009-08-18 Image processing apparatus, image processing apparatus control method, and computer program Expired - Fee Related JP5455504B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009188919A JP5455504B2 (en) 2009-08-18 2009-08-18 Image processing apparatus, image processing apparatus control method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009188919A JP5455504B2 (en) 2009-08-18 2009-08-18 Image processing apparatus, image processing apparatus control method, and computer program

Publications (2)

Publication Number Publication Date
JP2011037219A true JP2011037219A (en) 2011-02-24
JP5455504B2 JP5455504B2 (en) 2014-03-26

Family

ID=43765504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009188919A Expired - Fee Related JP5455504B2 (en) 2009-08-18 2009-08-18 Image processing apparatus, image processing apparatus control method, and computer program

Country Status (1)

Country Link
JP (1) JP5455504B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013137622A (en) * 2011-12-28 2013-07-11 Brother Ind Ltd Printing controller and program

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0577517A (en) * 1991-09-24 1993-03-30 Tokyo Electric Co Ltd Printer
JPH06262810A (en) * 1993-03-12 1994-09-20 Fuji Xerox Co Ltd Image processing device
JP2001169119A (en) * 1999-12-14 2001-06-22 Canon Inc Method and device for image output
JP2002157108A (en) * 2000-11-17 2002-05-31 Canon Inc Image processing method, storage medium, and image forming device
JP2003337822A (en) * 2002-05-21 2003-11-28 Fujitsu Ltd Compression retrieval archive processing method, compression retrieval archive processing program and recording medium with its program recorded
JP2004330688A (en) * 2003-05-09 2004-11-25 Hitachi Printing Solutions Ltd Printer equipped with automatic distinction capability of page description language and character-encoding scheme
JP2005071240A (en) * 2003-08-27 2005-03-17 Seiko Epson Corp Printing data creation device, printer, and printing system
JP2009163709A (en) * 2007-09-28 2009-07-23 Konica Minolta Systems Lab Inc Method for determining document characteristics from pdl data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0577517A (en) * 1991-09-24 1993-03-30 Tokyo Electric Co Ltd Printer
JPH06262810A (en) * 1993-03-12 1994-09-20 Fuji Xerox Co Ltd Image processing device
JP2001169119A (en) * 1999-12-14 2001-06-22 Canon Inc Method and device for image output
JP2002157108A (en) * 2000-11-17 2002-05-31 Canon Inc Image processing method, storage medium, and image forming device
JP2003337822A (en) * 2002-05-21 2003-11-28 Fujitsu Ltd Compression retrieval archive processing method, compression retrieval archive processing program and recording medium with its program recorded
JP2004330688A (en) * 2003-05-09 2004-11-25 Hitachi Printing Solutions Ltd Printer equipped with automatic distinction capability of page description language and character-encoding scheme
JP2005071240A (en) * 2003-08-27 2005-03-17 Seiko Epson Corp Printing data creation device, printer, and printing system
JP2009163709A (en) * 2007-09-28 2009-07-23 Konica Minolta Systems Lab Inc Method for determining document characteristics from pdl data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013137622A (en) * 2011-12-28 2013-07-11 Brother Ind Ltd Printing controller and program

Also Published As

Publication number Publication date
JP5455504B2 (en) 2014-03-26

Similar Documents

Publication Publication Date Title
US8659777B2 (en) Server system, print device, network print system including server system and print device, and downloading method in network print system
US8553263B2 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JP2007249856A (en) Information processor, printing setup reflection method for information processor, and program
US10558411B2 (en) Server apparatus, method of controlling the server apparatus, storage medium, and printing system that determine whether to perform, in the server apparatus, rendering processing on a page of a print job
JP2016200934A (en) Image output system, image processing device, image output device and method and program thereof
US9652189B2 (en) Non-transitory computer-readable storage medium storing printer driver causing computing device to perform prohibition processing, and print control method of the printer driver
US9772804B2 (en) Job processing apparatus, control method, and program that processes a plurality of jobs in response to reception of execution instructions thereof
US20070223025A1 (en) Printing Apparatus and Method, Computer-Readable Medium, and Computer Data Signal
US9507544B2 (en) Information processing apparatus, recording medium, and control method to process print data using filters
JP4784361B2 (en) Printing system, information processing apparatus, and program
JP6371697B2 (en) Information processing apparatus, print control method, and program
US9830541B2 (en) Image output system, image output method, document server, and non-transitory computer readable recording medium
JP6632424B2 (en) Information processing apparatus, program and control method
JP4144392B2 (en) Image processing apparatus, image forming system, image forming method, and program
JP5455504B2 (en) Image processing apparatus, image processing apparatus control method, and computer program
US9626131B2 (en) Print data processing method, print data processing apparatus, and storage medium for processing print data according to print setting information in the print data
JP6827738B2 (en) Control methods, programs and information processing equipment
JP6338324B2 (en) Print image processing system and program
US8023124B2 (en) Printing apparatus and printing method
JP7158895B2 (en) Information processing device, its control method, and program
JP2013206243A (en) Printing control device, printing system, printing control program and printing control method
US8836984B2 (en) Image processing apparatus, method and storage medium for increasing the speed of printing data stored in an external storage medium by reducing the number of accesses to the medium
JP2012218227A (en) Image forming apparatus
KR20110071527A (en) Image forming apparatus and method for distinguish xps file
JP4957816B2 (en) PDL data processing apparatus and PDL data processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120813

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130625

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130917

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140107

R151 Written notification of patent or utility model registration

Ref document number: 5455504

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees