JP6230281B2 - Image processing apparatus, control method, and program - Google Patents

Image processing apparatus, control method, and program Download PDF

Info

Publication number
JP6230281B2
JP6230281B2 JP2013121839A JP2013121839A JP6230281B2 JP 6230281 B2 JP6230281 B2 JP 6230281B2 JP 2013121839 A JP2013121839 A JP 2013121839A JP 2013121839 A JP2013121839 A JP 2013121839A JP 6230281 B2 JP6230281 B2 JP 6230281B2
Authority
JP
Japan
Prior art keywords
print data
format
printing apparatus
image processing
specifying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013121839A
Other languages
Japanese (ja)
Other versions
JP2014237292A5 (en
JP2014237292A (en
Inventor
大野 隆
隆 大野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2013121839A priority Critical patent/JP6230281B2/en
Publication of JP2014237292A publication Critical patent/JP2014237292A/en
Publication of JP2014237292A5 publication Critical patent/JP2014237292A5/ja
Application granted granted Critical
Publication of JP6230281B2 publication Critical patent/JP6230281B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

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

印刷装置は、受信した印刷データに基づいて印刷処理を実行する。一方、特許文献1の印刷装置は、印刷処理を実行できないフォーマットの印刷データを受信した場合、印刷処理を実行できないフォーマットの印刷データを他の装置に送信してフォーマットの変換を依頼する。そして、他の装置は、受信した印刷データを、印刷装置が印刷処理を実行可能なフォーマットの印刷データに変換して印刷装置に返却する。   The printing apparatus executes print processing based on the received print data. On the other hand, when receiving the print data in a format that cannot execute the printing process, the printing apparatus of Patent Document 1 transmits the print data in the format that cannot execute the printing process to another apparatus and requests the format conversion. Then, the other apparatus converts the received print data into print data in a format in which the printing apparatus can execute the printing process, and returns it to the printing apparatus.

特開平11−175294号公報JP-A-11-175294

特許文献1は、印刷装置が、印刷処理を実行できないフォーマットの印刷データを他の装置に送信してフォーマットの変換を依頼する際、印刷データのフォーマットを特定し、特定されたフォーマットの印刷データを変換可能な他の装置を検索する。しかしながら、印刷装置が、受信した印刷データのフォーマットを特定できない場合、特許文献1の技術では、他の装置にフォーマットの変換を依頼することができない。その結果、特許文献1の技術では、印刷装置が印刷処理を実行できなくなるおそれがあった。   In Patent Document 1, when a printing apparatus sends print data in a format that cannot execute print processing to another apparatus and requests conversion of the format, the format of the print data is specified, and the print data in the specified format is Search for other devices that can be converted. However, when the printing apparatus cannot identify the format of the received print data, the technique of Patent Document 1 cannot request other apparatuses to convert the format. As a result, with the technique disclosed in Patent Document 1, the printing apparatus may not be able to execute the printing process.

上述した問題を解決するために本願発明は、外部装置と通信可能な画像処理装置であって、印刷データのフォーマットの特定方法を示す特定情報を取得する取得手段と、印刷データを受信する受信手段と、前記取得された特定情報に示される前記特定方法に基づいて前記受信された印刷データのフォーマットを特定する特定手段と、前記特定されたフォーマットの印刷データを自ら処理できるか否かを判定する第1判定手段と、前記印刷データを自ら処理できると判定された場合、前記印刷データに基づく印刷処理を実行し、前記印刷データを自ら処理できないと判定した場合、前記印刷データの変換要求を外部装置へ送信する印刷制御手段を有し、前記特定情報は、検索キーと印刷データにおいて前記検索キーを検索すべき部分とを、前記印刷データのフォーマットごとに示す情報を含むThe present invention in order to solve the above problems, and capable of communicating image processing apparatus and the external device, receives an acquisition means for acquiring identification information indicating a specific method of the format of the print data, the print data receiving Determining means for specifying the format of the received print data based on the specifying method indicated in the acquired specifying information, and whether the print data of the specified format can be processed by itself A first determination unit that performs the print processing based on the print data when it is determined that the print data can be processed by itself, and if it is determined that the print data cannot be processed by itself, a conversion request for the print data is issued have a print control means for transmitting to an external device, wherein the specific information includes a portion in which to search for the search key in the search key and the print data, the Including information indicating for each format of the printing data.

本発明によれば、受信した印刷データのフォーマットを特定することが可能となり、印刷装置が印刷処理を実行可能となる。   According to the present invention, the format of the received print data can be specified, and the printing apparatus can execute the printing process.

本発明の機能モジュール構成を示す図The figure which shows the functional module structure of this invention 印刷装置とサーバのハードウェア構成を示す図The figure which shows the hardware constitutions of the printing device and the server 印刷システムにおいて処理する印刷データの一例を示す図The figure which shows an example of the print data processed in a printing system 印刷装置がフォーマット特定情報を取得するフローチャートを示す図The figure which shows the flowchart in which a printing apparatus acquires format specific information 図4のS1005の更新処理を説明するフローを示す図The figure which shows the flow explaining the update process of S1005 of FIG. フォーマット特定情報とフォーマット特定テーブルの一例を示す図The figure which shows an example of format specific information and a format specific table 印刷装置の印刷処理のフローを示す図The figure which shows the flow of printing processing of the printing device 図7のS1203のフォーマット特定処理のフローを示す図The figure which shows the flow of the format specific process of S1203 of FIG. 図7のS1210のフォーマット特定処理のフローを示す図The figure which shows the flow of the format specific process of S1210 of FIG. 図9のS1405のフォーマット特定処理のフローを示す図The figure which shows the flow of the format specific process of S1405 of FIG. サーバの印刷データ変換処理のフローを示す図The figure which shows the flow of print data conversion processing of the server サーバ103へ送信される変換要求のデータの一例を示す図The figure which shows an example of the data of the conversion request transmitted to the server 103 図4のS1005の更新処理のフローを示す図The figure which shows the flow of the update process of S1005 of FIG. フォーマット特定情報とフォーマット特定テーブルの一例を示す図The figure which shows an example of format specific information and a format specific table 図4のS1005の更新処理のフローを示す図The figure which shows the flow of the update process of S1005 of FIG. 図7のS1210のフォーマット特定処理のフローを示す図The figure which shows the flow of the format specific process of S1210 of FIG. フォーマット特定情報とフォーマット特定テーブルの一例を示す図The figure which shows an example of format specific information and a format specific table

<印刷システムの機能構成>
図1は、本発明のシステム構成図を示している。
<Functional configuration of printing system>
FIG. 1 shows a system configuration diagram of the present invention.

ホストコンピュータ101は、ユーザの印刷指示に従いネットワーク104を介し、印刷装置102に印刷データの送信を行う。印刷装置(画像処理装置とも呼ぶ)102は、ネットワーク104を介して送信された印刷データまたはUSB等のリムーバブルメディアから取得した印刷データを印刷装置内で処理する。また、印刷装置102は、受信した印刷データを自ら処理できない場合、ネットワーク104を介して外部装置に印刷データを送信する。なお、本願では、印刷データの送信先である外部装置の一例としてサーバ103を記載したが、このサーバ103はクラウド上に配置されていても良い。また、サーバ103の代わりに他の印刷装置に印刷データを送信しても構わない。なお、本願では画像処理装置の一例として印刷装置を挙げて説明するが、画像処理装置は、印刷機能およびスキャナ機能等の複数の機能を備える複合機であっても良い。   The host computer 101 transmits print data to the printing apparatus 102 via the network 104 in accordance with a user's print instruction. A printing apparatus (also referred to as an image processing apparatus) 102 processes print data transmitted via the network 104 or print data acquired from a removable medium such as a USB in the printing apparatus. Further, when the printing apparatus 102 cannot process the received print data by itself, the printing apparatus 102 transmits the print data to the external apparatus via the network 104. In the present application, the server 103 is described as an example of the external device that is the transmission destination of the print data. However, the server 103 may be arranged on the cloud. Further, the print data may be transmitted to another printing apparatus instead of the server 103. In the present application, a printing apparatus will be described as an example of an image processing apparatus. However, the image processing apparatus may be a multifunction machine having a plurality of functions such as a printing function and a scanner function.

サーバ103は、印刷装置102から送信された印刷データを印刷装置102で処理できるフォーマットの印刷データに変換し、ネットワーク104を介して変換後の印刷データを印刷装置102に送信する。そして、印刷装置102は、サーバにより変換された変換後の印刷データを印刷する。   The server 103 converts the print data transmitted from the printing apparatus 102 into print data in a format that can be processed by the printing apparatus 102, and transmits the converted print data to the printing apparatus 102 via the network 104. Then, the printing apparatus 102 prints the converted print data converted by the server.

また、印刷装置102は、電源投入時やスリープ復帰時にサーバ103にアクセスし、サーバ103が処理可能(変換可能)なデータフォーマットの情報を取得する。   Further, the printing apparatus 102 accesses the server 103 when the power is turned on or returns from sleep, and acquires information on a data format that can be processed (converted) by the server 103.

次に、印刷装置102の詳細な機能モジュール構成を説明する。ネットワーク処理部201は、ネットワーク104を介して送信された印刷データをデータスプール208に格納する。また、ネットワーク処理部201は、データスプール208に格納された印刷データをサーバ103へ送信したり、サーバ103により変換された変換後の印刷データをデータスプール208に格納したりする。さらに、ネットワーク処理部201は、サーバ103からフォーマット特定情報306を取得し、フォーマット特定テーブル管理部202に格納する。   Next, a detailed functional module configuration of the printing apparatus 102 will be described. The network processing unit 201 stores print data transmitted via the network 104 in the data spool 208. Also, the network processing unit 201 transmits the print data stored in the data spool 208 to the server 103, and stores the converted print data converted by the server 103 in the data spool 208. Further, the network processing unit 201 acquires the format specifying information 306 from the server 103 and stores it in the format specifying table management unit 202.

フォーマット特定テーブル管理部202は、フォーマット特定テーブル209を管理するとともに、ネットワーク処理部201を介してサーバ103から取得したフォーマット特定情報をフォーマット特定テーブル209に反映する。フォーマット特定テーブル209は、印刷装置102で処理可能なフォーマットの特定情報と、サーバ103から取得したフォーマット特定情報が含まれる。   The format specification table management unit 202 manages the format specification table 209 and reflects the format specification information acquired from the server 103 via the network processing unit 201 in the format specification table 209. The format specification table 209 includes format specification information that can be processed by the printing apparatus 102 and format specification information acquired from the server 103.

フォーマット特定処理部203は、データスプール208に格納された印刷データのフォーマットを特定する。また、フォーマット特定処理部203は、フォーマットが特定された印刷データを解析処理部204で処理するか、サーバ103にフォーマットの変換処理を依頼するかを決定する。サーバ103にフォーマットの変換処理を依頼する必要がない場合、フォーマット特定処理部203は、データスプール208に格納された印刷データを解析処理部204に渡す。一方、サーバ103にフォーマットの変換処理を依頼する場合、フォーマット特定処理部203は、ネットワーク処理部201を介して印刷データをサーバ103に送信し、サーバ103から受信した変換後の印刷データを解析処理部204に渡す。   A format identification processing unit 203 identifies the format of print data stored in the data spool 208. Also, the format specification processing unit 203 determines whether to process the print data whose format is specified by the analysis processing unit 204 or to request the server 103 to perform format conversion processing. When there is no need to request the server 103 to perform format conversion processing, the format identification processing unit 203 passes the print data stored in the data spool 208 to the analysis processing unit 204. On the other hand, when requesting the server 103 to perform format conversion processing, the format identification processing unit 203 transmits print data to the server 103 via the network processing unit 201, and analyzes the converted print data received from the server 103. To the unit 204.

解析処理部204は、フォーマット特定処理部203から渡された印刷データをフォーマットに従って解析し、展開処理部205に渡す。展開処理部205は、解析処理部204で解析された印刷データから画像データ(例えば、ビットマップイメージ)を生成し、画像データスプール207に格納する。印刷処理部206は、画像データスプール207に格納された画像データを印刷する。なお、これらの機能モジュールを総称して印刷制御部200と呼ぶ。なお、印刷制御部200は、必ずしも図1に示されたモジュール201〜209を備える必要がなく、本願の課題を解決するために必要なモジュールを備えていれば良い。   The analysis processing unit 204 analyzes the print data passed from the format specification processing unit 203 according to the format, and passes it to the development processing unit 205. The development processing unit 205 generates image data (for example, a bitmap image) from the print data analyzed by the analysis processing unit 204 and stores the image data in the image data spool 207. A print processing unit 206 prints image data stored in the image data spool 207. These functional modules are collectively referred to as a print control unit 200. The print control unit 200 does not necessarily include the modules 201 to 209 illustrated in FIG. 1, and may include the modules necessary to solve the problem of the present application.

次に、サーバ103の詳細な機能モジュール構成を説明する。ネットワーク処理部301は、ネットワーク104を介して送信された印刷データをデータスプール305に格納する。   Next, a detailed functional module configuration of the server 103 will be described. The network processing unit 301 stores print data transmitted via the network 104 in the data spool 305.

解析処理部302は、送信された印刷データのフォーマットに従って印刷データを解析し、データ変換部303に渡す。データ変換部303は、解析処理部302で解析されたデータを所定のフォーマットの印刷データに変換し、データスプール305に格納する。ネットワーク処理部301は、データスプール305に格納された変換後の印刷データを印刷装置102へ送信することを指示する。なお、上述した所定のフォーマットとは、印刷装置102が印刷処理を実行可能なフォーマットである。   The analysis processing unit 302 analyzes the print data according to the format of the transmitted print data and passes it to the data conversion unit 303. The data conversion unit 303 converts the data analyzed by the analysis processing unit 302 into print data of a predetermined format and stores it in the data spool 305. The network processing unit 301 instructs to transmit the converted print data stored in the data spool 305 to the printing apparatus 102. The predetermined format described above is a format in which the printing apparatus 102 can execute the printing process.

フォーマット特定情報管理部304は、サーバ103で処理可能なフォーマットの特定情報306を管理し、印刷装置102からの要求に従ってフォーマット特定情報306を印刷装置102に送信する。   The format specifying information management unit 304 manages format specifying information 306 that can be processed by the server 103, and transmits the format specifying information 306 to the printing apparatus 102 in accordance with a request from the printing apparatus 102.

<ハードウェア構成>
図2は、本発明の印刷装置102とサーバ103のハードウェア構成である。
<Hardware configuration>
FIG. 2 is a hardware configuration of the printing apparatus 102 and the server 103 according to the present invention.

印刷装置102は、ROM401、RAM402、CPU403、HDD404、ネットワークI/F405、エンジンI/F406、プリンタエンジン407から構成される。   The printing apparatus 102 includes a ROM 401, a RAM 402, a CPU 403, an HDD 404, a network I / F 405, an engine I / F 406, and a printer engine 407.

ROM401は、不揮発性メモリであり、印刷装置102の各処理部201〜206のプログラムが格納される。RAM402は、揮発性メモリであり、電源投入時にROM401に格納された各処理部201〜206のプログラムが展開される。   A ROM 401 is a non-volatile memory and stores programs for the processing units 201 to 206 of the printing apparatus 102. The RAM 402 is a volatile memory, and the programs of the processing units 201 to 206 stored in the ROM 401 are developed when the power is turned on.

フォーマット特定テーブル209は、ROM401に格納されており、電源投入時またはスリープ復帰時にRAM402に展開される。CPU403は、RAM402に展開された各処理部201〜206のプログラムを実行する演算プロセッサである。   The format specification table 209 is stored in the ROM 401 and is expanded in the RAM 402 when the power is turned on or when the sleep mode is restored. The CPU 403 is an arithmetic processor that executes the programs of the processing units 201 to 206 developed in the RAM 402.

HDD404は、大量の情報を格納可能な記憶装置であり、データスプール208、画像データスプール207の記憶領域になる。エンジンI/F406は、印刷処理部206の制御で、画像データスプール207の画像データをビデオデータに変換し、プリンタエンジン407に出力する。プリンタエンジン407は、不図示の印刷プロセスでビデオデータをもとに用紙に印刷する。ネットワークI/F405は、ホストコンピュータ101、サーバ103とネットワーク104を介して通信を行う。   The HDD 404 is a storage device that can store a large amount of information, and serves as a storage area for the data spool 208 and the image data spool 207. The engine I / F 406 converts the image data in the image data spool 207 into video data under the control of the print processing unit 206, and outputs the video data to the printer engine 407. The printer engine 407 prints on paper based on the video data in a printing process (not shown). A network I / F 405 communicates with the host computer 101 and the server 103 via the network 104.

なお、本願において印刷装置102が実行するフローチャートの各ステップは、CPU403が、メモリからフローチャートの処理に関係するプログラムを読み出して実行することで実現される。   Note that each step of the flowchart executed by the printing apparatus 102 in the present application is realized by the CPU 403 reading and executing a program related to the processing of the flowchart from the memory.

サーバ103は、RAM501、CPU502、HDD503、ネットワークI/F504から構成される。RAM501は、揮発性メモリであり、電源投入時にHDD503に格納された各処理部301〜304のプログラムが展開される。   The server 103 includes a RAM 501, a CPU 502, an HDD 503, and a network I / F 504. The RAM 501 is a volatile memory, and the programs of the processing units 301 to 304 stored in the HDD 503 are expanded when the power is turned on.

CPU502は、RAM501に展開された各処理部301〜304のプログラムを実行する演算プロセッサである。HDD503は、大量の情報を格納可能な記憶装置であり、各処理部301〜304のプログラムが格納され、また、データスプール305の記憶領域になる。ネットワークI/F504は、印刷装置102とネットワーク104を介してデータや情報の送受信を行う入出力インターフェースである。   The CPU 502 is an arithmetic processor that executes the programs of the respective processing units 301 to 304 developed in the RAM 501. The HDD 503 is a storage device capable of storing a large amount of information, stores programs for the processing units 301 to 304, and serves as a storage area for the data spool 305. A network I / F 504 is an input / output interface that transmits and receives data and information to and from the printing apparatus 102 via the network 104.

なお、本願においてサーバ103が実行するフローチャートの各ステップは、CPU502が、メモリからフローチャートの処理に関係するプログラムを読み出して実行することで実現される。   Note that each step of the flowchart executed by the server 103 in the present application is realized by the CPU 502 reading and executing a program related to the processing of the flowchart from the memory.

<印刷データの一例>
図3は、本発明の印刷システムにおいて処理する印刷データの一例である。
<Example of print data>
FIG. 3 is an example of print data processed in the printing system of the present invention.

印刷データ601は、PDF(Portable Document Format)データであり、Header、Body、Cross−reference tableから構成される。テキスト602は、Headerの先頭に記述され、PDFデータであることを示している。   The print data 601 is PDF (Portable Document Format) data and includes a header, a body, and a cross-reference table. A text 602 is described at the head of the Header and indicates PDF data.

印刷データ701は、電子書籍フォーマットであり、XML(eXtensible Markup Language)形式で記述された複数のファイルをZIP圧縮したデータである。シグネチャ702は、電子書籍フォーマットのデータの先頭にあるZIPヘッダのシグネチャであり、ZIP圧縮型式であることを示している。バイト列703は、ZIPヘッダの直後にあるファイル名(“mimetype”)とファイル内のテキスト“application/epub+zip”のバイト列であり、電子書籍フォーマットのデータであることを示している。   The print data 701 is an electronic book format, and is data obtained by ZIP-compressing a plurality of files described in an XML (extensible Markup Language) format. A signature 702 is a signature of a ZIP header at the head of data in the electronic book format, and indicates that it is a ZIP compression type. A byte string 703 is a byte string of the file name (“mitype”) immediately after the ZIP header and the text “application / epub + zip” in the file, and indicates that the data is in electronic book format.

フォーマット特定処理部203は、これらの文字列やバイト列を検出することによりフォーマットを特定することができる。一例として挙げた印刷データ以外にも様々なフォーマットの印刷データがあり、データ内のコマンドを検索して特定する必要があるフォーマット(例えば、N201やESC/Pなど)も存在する。   The format identification processing unit 203 can identify the format by detecting these character strings and byte strings. In addition to the print data given as an example, there are print data in various formats, and there are formats (for example, N201, ESC / P, etc.) that need to be searched and specified in the data.

<フォーマット特定情報取得処理>
図4は、印刷装置102のフォーマット特定テーブル管理部202がサーバ103からフォーマット特定情報306を取得するフローである。
<Format specific information acquisition processing>
FIG. 4 is a flow in which the format specification table management unit 202 of the printing apparatus 102 acquires the format specification information 306 from the server 103.

印刷装置102は、印刷装置102が起動された時、または、スリープから復帰した時に、サーバ接続設定が有効か否かを参照する(S1001)。   The printing apparatus 102 refers to whether or not the server connection setting is valid when the printing apparatus 102 is activated or returns from sleep (S1001).

サーバとの接続設定が有効であると判定された場合、印刷装置102は、ネットワーク処理部201を介してネットワーク104に接続されたサーバ103の起動状況を確認する(S1002)。サーバ103が起動している場合、サーバ103は、印刷装置102に応答メッセージを送信する(S1006)。   If it is determined that the connection setting with the server is valid, the printing apparatus 102 checks the activation status of the server 103 connected to the network 104 via the network processing unit 201 (S1002). When the server 103 is activated, the server 103 transmits a response message to the printing apparatus 102 (S1006).

印刷装置102は、サーバ103からの応答メッセージを受け取る(S1003)と、サーバ103にフォーマット特定情報306の取得依頼を要求する(S1004)。   Upon receiving the response message from the server 103 (S1003), the printing apparatus 102 requests the server 103 to obtain the format specifying information 306 (S1004).

サーバ103は、印刷装置102からの取得依頼の要求に対し、フォーマット特定情報306を印刷装置102に送信する(S1007)。   In response to the acquisition request request from the printing apparatus 102, the server 103 transmits the format specifying information 306 to the printing apparatus 102 (S1007).

印刷装置102は、サーバ103からフォーマット特定情報306を受け取ると、フォーマット特定テーブル209を更新する(S1005)。このように印刷装置102は、起動する度(または、スリープから復帰する度)に、フォーマット特定情報を取得することで、適切なフォーマットの特定方法を認識できる。   Upon receiving the format specifying information 306 from the server 103, the printing apparatus 102 updates the format specifying table 209 (S1005). As described above, the printing apparatus 102 can recognize the method of specifying an appropriate format by acquiring the format specifying information every time it starts (or every time it returns from sleep).

図6(a)は、サーバ103から取得するフォーマット特定情報306である。   FIG. 6A shows the format specifying information 306 acquired from the server 103.

フォーマット特定情報306は、フォーマット数801から検索キー808により構成される。   The format specifying information 306 includes a format key 801 and a search key 808.

フォーマット数801は、サーバ103の解析処理部302で処理可能なフォーマットの数である。フォーマット特定情報306には、フォーマット数801に指定された数の802〜808が含まれる。   The format number 801 is the number of formats that can be processed by the analysis processing unit 302 of the server 103. The format specifying information 306 includes the number 802 to 808 specified in the format number 801.

フォーマット名802は、フォーマットの名称であり、ファイル拡張子803は、フォーマットのファイル拡張子である。ファイル拡張子は、ファイル形式の印刷データの拡張子からフォーマットを特定するために用いられる。   The format name 802 is the name of the format, and the file extension 803 is the file extension of the format. The file extension is used to specify the format from the extension of the print data of the file format.

検索キー数804は、印刷データを検索する検索キーの数である。806〜808は、検索キー数804の数だけ含まれる。検索優先度805は、検索の優先度であり、印刷装置102のフォーマット特定処理部203は、各フォーマットの検索優先度に基づいて検索の順番を決定する。検索オフセット806は、印刷データの先頭から何バイト目から検索を行うかを示す。   The search key number 804 is the number of search keys for searching print data. 806 to 808 are included by the number of search keys 804. A search priority 805 is a search priority, and the format specification processing unit 203 of the printing apparatus 102 determines the search order based on the search priority of each format. A search offset 806 indicates how many bytes from the top of the print data are searched.

検索サイズ807は、検索キー808のサイズである。検索キー808は、印刷データ内を検索するための検索キーである。印刷装置102のフォーマット特定処理部203は、全ての検索キーに適合した場合にフォーマットを特定することができる。つまり、印刷装置102は、フォーマットの特定方法が記載されたフォーマット特定情報を取得することで、印刷データの印刷処理を実行できないとしても、印刷データのフォーマットを特定することが可能となる。   The search size 807 is the size of the search key 808. A search key 808 is a search key for searching the print data. The format specification processing unit 203 of the printing apparatus 102 can specify the format when it matches all the search keys. That is, the printing apparatus 102 can specify the format of the print data by acquiring the format specifying information describing the format specifying method, even if the print data cannot be printed.

サーバ103の解析処理部302のプログラムが拡張され、処理可能なフォーマットが追加された場合、フォーマット特定情報管理部304は、フォーマット特定情報306を更新する。つまり、新規に追加されたフォーマットの特定方法がフォーマット特定情報306に追加される。   When the program of the analysis processing unit 302 of the server 103 is expanded and a processable format is added, the format specification information management unit 304 updates the format specification information 306. That is, a method for specifying a newly added format is added to the format specifying information 306.

印刷装置102は、サーバ103から取得したフォーマット特定情報306を用いてフォーマット特定テーブル209を更新することで、新規のフォーマットであっても特定方法を認識することができ、印刷データのフォーマットを特定できる。   The printing apparatus 102 can recognize the identification method even if it is a new format by updating the format identification table 209 using the format identification information 306 acquired from the server 103, and can identify the format of the print data. .

図6(b)は、フォーマット特定情報306の一例である。図6(b)において処理可能なフォーマットはPDFと電子書籍フォーマットであるため、フォーマット数として2が記述されている。   FIG. 6B is an example of the format specifying information 306. Since formats that can be processed in FIG. 6B are PDF and electronic book format, 2 is described as the number of formats.

印刷装置102は図6(b)を参照することで、PDFデータ601は、先頭4バイトで特定することができ、PDFのフォーマット特定情報306は、検索キー数1、検索オフセット0、検索サイズ4、検索キーは“%PDF”と認識できる。処理対象の印刷データがこれらの条件に一致した場合、印刷装置102は、処理対象の印刷データのフォーマットがPDFであると認識できる。   With reference to FIG. 6B, the printing apparatus 102 can specify the PDF data 601 with the first 4 bytes. The PDF format specifying information 306 includes the number of search keys 1, the search offset 0, and the search size 4. The search key can be recognized as “% PDF”. When the print data to be processed matches these conditions, the printing apparatus 102 can recognize that the format of the print data to be processed is PDF.

一方、電子書籍フォーマットのデータ701は、先頭4バイトとヘッダ後の24バイトで特定することができる。電子書籍フォーマットのフォーマット特定情報306は、検索キー数2、検索オフセット0、検索サイズ4、検索キーは“0x50 0x4B 0x03 0x04”となる。また、検索オフセット−1(不定)、検索サイズ24、検索キーは“mimetypeapplication/epub”となる。処理対象の印刷データがこれらの条件に一致した場合、印刷装置102は、処理対象の印刷データのフォーマットが電子書籍フォーマットであると認識できる。   On the other hand, the electronic book format data 701 can be specified by the first 4 bytes and the 24 bytes after the header. The format specifying information 306 of the electronic book format is the number of search keys 2, search offset 0, search size 4, and the search key is “0x50 0x4B 0x03 0x04”. In addition, the search offset-1 (undefined), the search size 24, and the search key are “mimeipeplication / epub”. When the print data to be processed matches these conditions, the printing apparatus 102 can recognize that the format of the print data to be processed is an electronic book format.

本願によれば、例えば、電子書籍フォーマットのデータのフォーマットを特定できない印刷装置102が、フォーマット特定情報306を使ってフォーマット特定テーブルを更新する。その結果、印刷装置102は、電子書籍フォーマットのデータを受信した場合に適切に印刷データのフォーマットを特定できる。   According to the present application, for example, the printing apparatus 102 that cannot specify the data format of the electronic book format updates the format specification table using the format specification information 306. As a result, the printing apparatus 102 can appropriately specify the format of the print data when receiving the data of the electronic book format.

<フォーマット特定テーブル更新>
図5は、図4のS1005において実行される処理である。具体的には、印刷装置102が、更新前のフォーマット特定テーブル209を、サーバ103から受信したフォーマット特定情報306を使って更新する処理である。
<Format specific table update>
FIG. 5 shows the processing executed in S1005 of FIG. Specifically, this is a process in which the printing apparatus 102 updates the format specification table 209 before update using the format specification information 306 received from the server 103.

印刷装置102は、フォーマット特定テーブル209のフォーマット数をFに代入し(S1101)、フォーマットカウンタAcを初期化する(S1102)。そして、印刷装置102は、S1004でサーバ103から取得したフォーマット特定情報306のフォーマット数をAに代入する(S1103)。   The printing apparatus 102 substitutes the number of formats in the format specification table 209 for F (S1101), and initializes the format counter Ac (S1102). Then, the printing apparatus 102 substitutes the number of formats of the format specifying information 306 acquired from the server 103 in S1004 into A (S1103).

印刷装置102は、フォーマットカウンタAcとフォーマット特定情報306のフォーマット数Aを比較し(S1104)、フォーマットカウンタAcが超えるまでS1104〜S1112を繰り返し実行する。   The printing apparatus 102 compares the format counter Ac with the format number A of the format specifying information 306 (S1104), and repeatedly executes S1104 to S1112 until the format counter Ac exceeds.

印刷装置102は、サーバ103から取得したフォーマット特定情報306のAc番目の検索優先度をPaに代入し(S1105)、カウンタFcを初期化する(S1106)。 印刷装置102は、カウンタFcとフォーマット数Fを比較し(S1107)、カウンタFcがフォーマット数F以下の場合、フォーマット特定テーブル209のFc番目の検索優先度をPに代入し(S1108)、PaとPを比較する(S1109)。   The printing apparatus 102 substitutes the Ac-th search priority of the format specifying information 306 acquired from the server 103 for Pa (S1105), and initializes the counter Fc (S1106). The printing apparatus 102 compares the counter Fc with the format number F (S1107), and if the counter Fc is equal to or less than the format number F, substitutes the Fc-th search priority in the format specification table 209 for P (S1108). P is compared (S1109).

PaがPと同等以下の場合、印刷装置102は、サーバ103から取得したフォーマット特定情報306のAc番目の情報をフォーマット特定テーブル209のFc番目に追加(S1110)する。印刷装置102は、フォーマットカウンタAcをインクリメントし(S1111)、S1104に戻る。   If Pa is equal to or less than P, the printing apparatus 102 adds the Ac-th information of the format identification information 306 acquired from the server 103 to the Fc-th of the format identification table 209 (S1110). The printing apparatus 102 increments the format counter Ac (S1111), and returns to S1104.

一方、Paの方が大きい場合、印刷装置102は、カウンタFcをインクリメントし(S1112)、S1107に戻る。S1107で、カウンタFcがフォーマット数Fを超えた場合、印刷装置102は、サーバ103から取得したフォーマット特定情報のAc番目の情報をフォーマット特定テーブル209の最後に追加する。   On the other hand, if Pa is larger, the printing apparatus 102 increments the counter Fc (S1112) and returns to S1107. In step S <b> 1107, when the counter Fc exceeds the format number F, the printing apparatus 102 adds the Ac-th information of the format specification information acquired from the server 103 to the end of the format specification table 209.

以上の処理により検索優先度順に並んだフォーマット特定テーブル209が生成される。   With the above processing, the format specification table 209 arranged in the order of search priority is generated.

図6(c)は、印刷装置102が管理するフォーマット特定テーブル209である。   FIG. 6C shows a format specifying table 209 managed by the printing apparatus 102.

フォーマット特定テーブル209は、フォーマット数901から検索情報アドレス907と検索情報で構成される。検索情報は、検索キー数908から検索キー911で構成される。   The format specification table 209 includes a search information address 907 and search information from the format number 901. The search information includes a search key 911 based on the number of search keys 908.

フォーマット数901は、印刷装置102とサーバ103で処理可能なフォーマットの数である。902〜911はフォーマット数901の数だけ含まれる。   The format number 901 is the number of formats that can be processed by the printing apparatus 102 and the server 103. 902 to 911 are included in the number of formats 901.

関数アドレス903は、フォーマット特定処理部203内の各フォーマットを特定する関数のアドレスである。ファイル拡張子904は、フォーマットのファイル拡張子であり、ファイル形式の印刷データの拡張子からフォーマットを特定する場合に用いられる。   A function address 903 is an address of a function that identifies each format in the format identification processing unit 203. A file extension 904 is a file extension of the format, and is used when the format is specified from the extension of the print data of the file format.

検索優先度905は、印刷装置102が検索する順番を決定するために利用される。   The search priority 905 is used to determine the order in which the printing apparatus 102 searches.

処理フラグ906は、印刷装置102、サーバ103のどちらで処理を行うかを示す。   A processing flag 906 indicates whether the printing apparatus 102 or the server 103 performs processing.

検索情報アドレス907は、フォーマットを特定するための検索情報のアドレスである。   The search information address 907 is an address of search information for specifying the format.

検索キー数908は、印刷データを検索する際に使用される検索キーの数である。909〜911は、検索キー数908の数だけ含まれる。なお、検索キー数908から検索キー911の情報は、上述した検索キー数804、検索オフセット806から検索キー808と同じであるため説明は省略する。   The search key number 908 is the number of search keys used when searching for print data. 909 to 911 are included by the number of search keys 908. Note that the information from the search key number 908 to the search key 911 is the same as the search key number 804 and the search offset 806 to the search key 808 described above, and thus the description thereof is omitted.

図6(d)は、本実施例の更新前のフォーマット特定テーブル209の一例である。サーバ103で処理可能なフォーマットは含まれていない。PS、LIPSの印刷データは先頭データで特定できるフォーマットであるため、検索優先度905には0が設定され、N201の印刷データはコマンド解析が必要なため2が設定される。その結果、印刷データがPSフォーマットであるのかLIPSフォーマットであるのかの特定処理が、N201より優先して行われる。   FIG. 6D is an example of the format specification table 209 before update according to this embodiment. Formats that can be processed by the server 103 are not included. Since the PS and LIPS print data has a format that can be specified by the top data, 0 is set in the search priority 905, and 2 is set in the N201 print data because command analysis is required. As a result, the process of specifying whether the print data is in PS format or LIPS format is performed with priority over N201.

印刷装置内で処理できるフォーマットはあらかじめ解析処理部204内に各フォーマットの特定関数があり、関数アドレス903にそれぞれの関数が設定される。   Formats that can be processed in the printing apparatus have a specific function for each format in the analysis processing unit 204 in advance, and each function is set in the function address 903.

図6(e)は、本実施例の図5の更新処理後のフォーマット特定テーブル209の一例である。
印刷装置102は、サーバ103より図6(b)のフォーマット特定情報を取得し、図5の処理を実行することで図6(d)が図6(e)に更新される。
FIG. 6E is an example of the format specification table 209 after the update process of FIG. 5 of the present embodiment.
The printing apparatus 102 acquires the format specifying information in FIG. 6B from the server 103 and executes the process in FIG. 5 to update FIG. 6D to FIG.

フォーマット特定処理部203は、PDF、PS、LIPS、電子書籍フォーマット、N201の順に印刷データのフォーマットの特定処理を行う。   The format specifying processing unit 203 performs print data format specifying processing in the order of PDF, PS, LIPS, electronic book format, and N201.

<印刷処理>
図7は、印刷装置102で実行される印刷処理のフローである。
<Print processing>
FIG. 7 is a flow of print processing executed by the printing apparatus 102.

印刷装置102は、ホストコンピュータ101から印刷データを受信するか、リムーバブルメディアから印刷データを取得しユーザインターフェースからの印刷指示を受ける(S1201)。印刷装置102は、受信された印刷データがファイル形式であるかストリーム形式であるかを判定する(S1202)。具体的には、印刷装置102のネットワーク処理部201には、プリンタドライバが生成した印刷データを受信するストリームデータ受信部と、プリンタドライバ以外のソフトにより生成された印刷データを受信するファイルデータ受信部がある。どちらの受信部が印刷データを受信したかによりS1202の判定が実行される。   The printing apparatus 102 receives print data from the host computer 101 or acquires print data from a removable medium and receives a print instruction from the user interface (S1201). The printing apparatus 102 determines whether the received print data is in a file format or a stream format (S1202). Specifically, the network processing unit 201 of the printing apparatus 102 includes a stream data receiving unit that receives print data generated by the printer driver, and a file data receiving unit that receives print data generated by software other than the printer driver. There is. The determination in S1202 is executed depending on which receiving unit has received the print data.

印刷データがファイル形式であった場合、印刷装置102は、ファイルのフォーマットを特定するフォーマット特定処理(詳細は図8にて後述)を行う(S1203)。   If the print data is in a file format, the printing apparatus 102 performs a format specifying process (details will be described later with reference to FIG. 8) for specifying the format of the file (S1203).

S1203により印刷データのフォーマットが特定され(S1204)、かつ、印刷データがサーバ103で処理されるべきフォーマットである場合(S1212−Yes)、印刷装置102は、処理情報が記述されたジョブチケットを生成する(S1213)。なお、処理情報とは、図12で後述する変換前の入力フォーマット、出力フォーマットを指す。   If the print data format is specified in S1203 (S1204) and the print data is the format to be processed by the server 103 (S1212-Yes), the printing apparatus 102 generates a job ticket describing the processing information. (S1213). The processing information refers to an input format and output format before conversion, which will be described later with reference to FIG.

そして、印刷装置102は、S1213において生成したジョブチケットと印刷データを変換要求のデータとしてサーバ103へ送信する(S1214)。図12は、S1214において印刷装置102からサーバ103へ送信される変換要求のデータの一例である。サーバ103へ送信されるデータ1001は、入力フォーマット1002と出力フォーマット1003が記述されたジョブチケットと、印刷データ1004から構成される。入力フォーマット1002は、フォーマット特定処理部203で特定された印刷データのフォーマットである。出力フォーマット1003は、印刷装置102が処理可能なフォーマットである。データ1004は、印刷装置が受信した印刷データである。サーバ103は、ジョブチケットに従って、印刷データ1004のフォーマットを印刷装置が処理可能なフォーマットに変換する。   The printing apparatus 102 transmits the job ticket and print data generated in S1213 to the server 103 as conversion request data (S1214). FIG. 12 is an example of conversion request data transmitted from the printing apparatus 102 to the server 103 in step S1214. Data 1001 transmitted to the server 103 includes a job ticket in which an input format 1002 and an output format 1003 are described, and print data 1004. An input format 1002 is a format of print data specified by the format specification processing unit 203. The output format 1003 is a format that can be processed by the printing apparatus 102. Data 1004 is print data received by the printing apparatus. The server 103 converts the format of the print data 1004 into a format that can be processed by the printing apparatus according to the job ticket.

印刷装置102は、S1214において印刷データを送信した後、サーバ103から変換された印刷データを受信したか否かを判定する(S1215)。そして、変換後の印刷データを受信したと判定された場合(S1215−Yes)、印刷装置102は、変換後の印刷データの解析処理および展開処理を行うことで生成されたビットマップイメージを画像データスプール207に格納する(S1216)。そして、印刷装置102は、ビットマップイメージを使って印刷処理を実行する(S1217)。   After transmitting the print data in S1214, the printing apparatus 102 determines whether the converted print data is received from the server 103 (S1215). If it is determined that the converted print data has been received (S1215-Yes), the printing apparatus 102 converts the bitmap image generated by performing the analysis process and the expansion process of the converted print data into image data. The data is stored in the spool 207 (S1216). Then, the printing apparatus 102 executes a printing process using the bitmap image (S1217).

一方、印刷装置102が、印刷データを自ら処理可能と判定した場合(S1212−No)、S1216およびS1217を実行することで印刷データの印刷処理が実行される。   On the other hand, when the printing apparatus 102 determines that the print data can be processed by itself (S1212-No), the print data printing process is executed by executing S1216 and S1217.

S1204でファイルのフォーマットを特定できない(フォーマットNULL)場合、または、S1202で印刷データがファイル以外(ストリーム形式の印刷データ)である場合、印刷装置102は、ファイルのフォーマットを特定するフォーマット特定処理(詳細は図9にて後述)を行う(S1210)。   If the file format cannot be specified in S1204 (format NULL), or if the print data is other than a file (stream format print data) in S1202, the printing apparatus 102 performs format specification processing (details) for specifying the file format. Are performed in FIG. 9 (S1210).

S1210のフォーマット特定処理により印刷データのフォーマットが特定され(S1211)、かつ、印刷データがサーバ103で処理されるべきフォーマットである場合(S1212−Yes)、印刷装置102は、S1213〜S1217を実行する。印刷装置102が、印刷データを自ら処理可能と判定した場合(S1212−No)、S1216−S1217が実行される。   When the print data format is specified by the format specifying process of S1210 (S1211) and the print data is the format to be processed by the server 103 (S1212-Yes), the printing apparatus 102 executes S1213 to S1217. . When the printing apparatus 102 determines that the print data can be processed by itself (S1212-No), S1216 to S1217 are executed.

S1211において印刷データのフォーマットを特定できなかった場合(フォーマットNULL)、印刷装置102は、不図示のユーザインターフェースにエラーを表示する(S1218)。   When the print data format cannot be specified in S1211, the printing apparatus 102 displays an error on a user interface (not shown) (S1218).

以上の処理により印刷装置102は、受信した印刷データが自ら処理できない場合であっても、サーバを使って印刷処理を実行することが可能となる。   With the above processing, the printing apparatus 102 can execute print processing using the server even when the received print data cannot be processed by itself.

<ファイルのフォーマット特定処理>
図8は、図7のS1203のフォーマット特定処理を説明するためのフローチャートである。
<File format identification processing>
FIG. 8 is a flowchart for explaining the format specifying process in S1203 of FIG.

印刷装置102は、フォーマットカウンタFcを初期化し(S1301)、フォーマット特定テーブル209のフォーマット数をFに代入する(S1302)。   The printing apparatus 102 initializes the format counter Fc (S1301), and substitutes the number of formats in the format identification table 209 for F (S1302).

印刷装置102は、フォーマットカウンタFcとフォーマット数Fを比較し(S1303)、FcがFを超えた場合は、フォーマットを特定できなかったと判定する。そして、印刷装置102は、フォーマットNULLと特定する(S1308)。   The printing apparatus 102 compares the format counter Fc with the format number F (S1303), and determines that the format could not be specified when Fc exceeds F. Then, the printing apparatus 102 identifies the format NULL (S1308).

FcがF以下の場合、印刷装置102は、フォーマット特定テーブルのFc番目の拡張子と印刷データのファイルの拡張子を比較する(S1304)。   If Fc is less than or equal to F, the printing apparatus 102 compares the Fc-th extension in the format specification table with the extension of the print data file (S1304).

拡張子が同じ場合、印刷装置102は、フォーマット特定テーブル209のFc番目の処理フラグが1か否かを判定する(S1305)。処理フラグが1と判定された場合(S1305−Yes)、印刷装置102は、印刷データのフォーマットと印刷データを処理する場所としてサーバを決定する(S1306)。   If the extensions are the same, the printing apparatus 102 determines whether or not the Fc-th processing flag in the format specification table 209 is 1 (S1305). If it is determined that the processing flag is 1 (S1305-Yes), the printing apparatus 102 determines the server as a print data format and a place to process the print data (S1306).

一方、処理フラグが0と判定された場合(S1305−No)、印刷装置102は、印刷データのフォーマットと印刷データを処理する場所として印刷装置を決定する(S1307)。   On the other hand, if it is determined that the processing flag is 0 (S1305-No), the printing apparatus 102 determines the printing apparatus as a print data format and a place to process the print data (S1307).

フォーマット特定テーブルのFc番目の拡張子と印刷データのファイルの拡張子が異なる場合(S1304−No)、印刷装置102は、フォーマットカウンタFcをインクリメントし(S1305)、S1303へ戻る。   If the Fc-th extension of the format specification table is different from the extension of the print data file (S1304-No), the printing apparatus 102 increments the format counter Fc (S1305) and returns to S1303.

以上の処理により、ファイル形式の印刷データのフォーマットが決定され、決定されたフォーマットの印刷データを処理すべき場所が決定される。   With the above processing, the format of the print data in the file format is determined, and the place where the print data in the determined format is to be processed is determined.

<ファイル以外のフォーマット特定処理>
図9は、図7のS1210のフォーマット特定処理を説明するためのフローチャートである。
<Non-file format identification process>
FIG. 9 is a flowchart for explaining the format specifying process in S1210 of FIG.

S1401−S1403は、S1301−S1303と同じ処理であるため省略する。また、S1430はS1308と同じ処理であるため省略する。   S1401 to S1403 are the same processes as S1301 to S1303, and thus are omitted. Also, S1430 is the same process as S1308, and will be omitted.

FcがF以下の場合、印刷装置102は、フォーマット特定テーブル209のFc番目に検索情報アドレスが指定されているか判定する(S1404)。検索情報アドレスが指定されている場合(S1404−Yes)、印刷装置102は、サーバ処理のフォーマット特定処理(図10にて後述)を行う(S1405)。   If Fc is equal to or smaller than F, the printing apparatus 102 determines whether the search information address is designated as Fc-th in the format specification table 209 (S1404). When the search information address is specified (S1404-Yes), the printing apparatus 102 performs a format specifying process (described later in FIG. 10) of the server process (S1405).

S1405によりフォーマットを特定できた場合(S1406−Yes)、印刷装置102は、印刷データのフォーマットと印刷データを処理する場所としてサーバを決定する(S1407)。   If the format can be specified in S1405 (S1406-Yes), the printing apparatus 102 determines the server as a print data format and a place to process the print data (S1407).

一方、S1405によりフォーマットを特定できなかった場合(S1406−No)、印刷装置102は、フォーマットカウンタをインクリメントし(S1410)、S1403へ戻る。   On the other hand, if the format could not be specified in S1405 (S1406-No), the printing apparatus 102 increments the format counter (S1410) and returns to S1403.

S1404で検索情報アドレスが指定されていないと判定された場合(S1404−No)、印刷装置102は、フォーマット特定テーブル209のFc番目の関数を実行することでフォーマットを特定できたか判定する(S1420)。フォーマットを特定できた場合、印刷装置102は、フォーマット特定テーブル209のFc番目の処理フラグが1か判定する(S1421)。処理フラグが1の場合(S1421−Yes)、印刷装置102は、印刷データのフォーマットと処理場所としてサーバを決定する(S1407)。   If it is determined in S1404 that the search information address is not specified (S1404-No), the printing apparatus 102 determines whether the format can be specified by executing the Fc-th function in the format specification table 209 (S1420). . If the format can be identified, the printing apparatus 102 determines whether the Fc-th processing flag in the format identification table 209 is 1 (S1421). When the processing flag is 1 (S1421-Yes), the printing apparatus 102 determines the server as the format and processing location of the print data (S1407).

一方、処理フラグが0の場合(S1421−No)、印刷装置102は、印刷データのフォーマットと処理場所として印刷装置を決定する(S1440)。   On the other hand, if the processing flag is 0 (S1421-No), the printing apparatus 102 determines the printing apparatus as the format and processing location of the print data (S1440).

以上の処理により、ファイル形式とは異なる形式の印刷データのフォーマットが決定され、決定されたフォーマットの印刷データを処理すべき場所が決定される。   With the above processing, the format of the print data having a format different from the file format is determined, and the place where the print data of the determined format is to be processed is determined.

図10は、図9のS1405の詳細を説明するためのフローチャートである。   FIG. 10 is a flowchart for explaining details of S1405 in FIG.

印刷装置102は、検索カウンタKcを初期化し(S1501)、検索情報アドレス907に格納された検索情報の検索キー数908をKに代入する(S1502)。検索カウンタKcと検索キー数Kを比較し(S1503)、KcがK以下の場合、印刷装置102は、検索情報のKc番目の検索オフセット909をOffsetに代入する(S1504)。   The printing apparatus 102 initializes the search counter Kc (S1501), and substitutes the number of search keys 908 of the search information stored in the search information address 907 into K (S1502). The search counter Kc is compared with the number K of search keys (S1503), and if Kc is equal to or less than K, the printing apparatus 102 substitutes the Kc-th search offset 909 of the search information into Offset (S1504).

印刷装置102は、Offsetが0以上の場合(S1505−Yes)、印刷データのOffsetバイト分のデータをスキップし(S1506)、検索情報の検索サイズ分910のデータを読みだす(S1507)。   When Offset is 0 or more (S1505-Yes), the printing apparatus 102 skips the data for the Offset bytes of the print data (S1506), and reads the data corresponding to the search size 910 of the search information (S1507).

印刷装置102は、S1507で読み出したデータと検索情報の検索キー911と比較し(S1508)、一致しなかった場合は、印刷データはFc番目のフォーマットと異なるとしてFALSEと決定する(S1509)。一方、一致した場合、印刷装置102は、検索カウンタKcをインクリメントし(S1520)、S1503に戻る。   The printing apparatus 102 compares the data read in S1507 with the search information search key 911 (S1508), and if they do not match, determines that the print data is different from the Fc-th format and determines FALSE (S1509). On the other hand, if they match, the printing apparatus 102 increments the search counter Kc (S1520) and returns to S1503.

S1505で、Offsetが−1だった場合(S1505−No)、印刷装置102は、順次印刷データの中身のデータを読み込み(S1510)、検索情報の検索キー911と比較する(S1511)。   If Offset is -1 in S1505 (S1505-No), the printing apparatus 102 sequentially reads the contents of the print data (S1510) and compares it with the search information search key 911 (S1511).

S1510で読み込まれたデータと検索キー911が一致した場合、印刷装置102は、検索カウンタKcをインクリメントし(S1520)、S1503に戻る。S1510で読み込まれたデータと検索キー911が一致しなかった場合、印刷装置102は、読み込まれたデータが検索キーに一致するか、または、読み込むべきデータがなくなるまでS1510〜S1512を繰り返し実行する。読み込むべきデータがなくなったら、印刷装置102は、FALSEと決定する(S1509)。全ての検索キー911が印刷データに含まれていた場合、印刷装置102は、印刷データはFc番目のフォーマットであると決定する(S1530)。   If the data read in S1510 matches the search key 911, the printing apparatus 102 increments the search counter Kc (S1520) and returns to S1503. If the data read in S1510 and the search key 911 do not match, the printing apparatus 102 repeatedly executes S1510 to S1512 until the read data matches the search key or there is no more data to be read. When there is no more data to be read, the printing apparatus 102 determines FALSE (S1509). If all the search keys 911 are included in the print data, the printing apparatus 102 determines that the print data is in the Fc-th format (S1530).

<サーバ103の印刷データ変換処理>
図11は、サーバ103の印刷データ変換処理フローである。
<Print Data Conversion Processing of Server 103>
FIG. 11 is a print data conversion process flow of the server 103.

サーバ103は、印刷装置102から送信されたジョブチケットと印刷データを受信する(S1601)と、ジョブチケットから入力フォーマットと出力フォーマットを参照する(S1602)。サーバ103は、参照した入力フォーマットに従って、解析処理部302で印刷データを解析し(S1603)、データ変換部303で参照した出力フォーマットの印刷データに変換する(S1604)。   When the server 103 receives the job ticket and print data transmitted from the printing apparatus 102 (S1601), the server 103 refers to the input format and output format from the job ticket (S1602). The server 103 analyzes the print data in the analysis processing unit 302 in accordance with the referenced input format (S1603), and converts the print data into the output format referenced in the data conversion unit 303 (S1604).

そしてサーバ103は、ジョブチケットで指定された出力フォーマットに変換された印刷データ(印刷装置102が処理可能な印刷データ)を印刷装置102に送信する(S1605)。   Then, the server 103 transmits the print data (print data that can be processed by the printing apparatus 102) converted into the output format specified by the job ticket to the printing apparatus 102 (S1605).

上記のとおり、印刷装置102は、フォーマットの特定方法が記述されたフォーマット特定情報を取得することで、例えば、サーバ103で処理可能なフォーマットが追加されてもフォーマットを特定できる。その結果、印刷装置102は、印刷データの印刷処理を実行することが可能になる。   As described above, the printing apparatus 102 can specify the format even if a format that can be processed by the server 103 is added, for example, by acquiring the format specifying information describing the format specifying method. As a result, the printing apparatus 102 can execute print data print processing.

[実施例2]
実施例1では、印刷装置が処理可能なフォーマットの印刷データは印刷装置で処理を行っていた。一方、本実施例においては、印刷装置102、サーバ103の処理性能を考慮して印刷データの処理場所を決める方法について説明する。
[Example 2]
In the first embodiment, print data in a format that can be processed by the printing apparatus is processed by the printing apparatus. On the other hand, in this embodiment, a method for determining the processing location of print data in consideration of the processing performance of the printing apparatus 102 and the server 103 will be described.

図13は、本実施例における図4のS1005のフォーマット特定テーブル209の更新処理を説明するためのフローチャートである。   FIG. 13 is a flowchart for explaining the update processing of the format specification table 209 in S1005 of FIG. 4 in the present embodiment.

なお、S1701からS1704は、S1101からS1104と同じ処理であるため説明は省略する。   Note that steps S1701 to S1704 are the same as steps S1101 to S1104, and a description thereof will be omitted.

サーバ103から取得したフォーマット特定情報のAc番目のフォーマット名を参照し、Ac番目のフォーマット名がフォーマット特定テーブル209にあるかを調べる(S1705)。フォーマット特定情報のAc番目のフォーマット名がフォーマット特定テーブル209にある場合、印刷装置102は、サーバ103から取得したフォーマット特定情報のAc番目の処理性能とフォーマット特定テーブル209の処理性能を比較する(S1706)。   With reference to the Ac-th format name of the format identification information acquired from the server 103, it is checked whether the Ac-th format name is in the format identification table 209 (S1705). When the Ac-th format name of the format specification information is in the format specification table 209, the printing apparatus 102 compares the Ac-th processing performance of the format specification information acquired from the server 103 with the processing performance of the format specification table 209 (S1706). ).

サーバの処理性能の方が高い場合(S1706−Yes)、印刷装置102は、フォーマット特定テーブル209の処理フラグを1に変更し、サーバ側で処理するように切り替える(S1707)。   When the processing performance of the server is higher (S1706-Yes), the printing apparatus 102 changes the processing flag of the format identification table 209 to 1 and switches to processing on the server side (S1707).

サーバの処理性能の方が低い場合(S1706−No)、次のフォーマットに処理を移すためにS1716のインクリメント処理が実行される。   When the processing performance of the server is lower (S1706-No), the increment processing of S1716 is executed to shift the processing to the next format.

また、S1705においてNoと判定された場合は、図5のS1105以降と同様の処理を行う。   If it is determined No in S1705, the same processing as S1105 and subsequent steps in FIG. 5 is performed.

本処理により、印刷装置102およびサーバ103の両者で実行可能なフォーマットは、効率的に処理可能な装置で解析処理が実行されることとなる。   With this processing, the format that can be executed by both the printing apparatus 102 and the server 103 is analyzed by an apparatus that can efficiently process the format.

図14(a)は、本実施例においてサーバ103から取得するフォーマット特定情報306である。   FIG. 14A shows the format specifying information 306 acquired from the server 103 in this embodiment.

本実施例のフォーマット特定情報306は、図6(a)のフォーマット特定情報に加え、処理性能1101が追加されている。処理性能1101は、処理対象のフォーマットの印刷データを解析する際の処理性能のパラメータである。   In the format specifying information 306 of this embodiment, processing performance 1101 is added to the format specifying information of FIG. The processing performance 1101 is a parameter of processing performance when analyzing print data in a format to be processed.

図14(b)は、本実施例におけるフォーマット特定情報306の一例である。   FIG. 14B is an example of the format specifying information 306 in the present embodiment.

処理可能なフォーマットはPDFと電子書籍フォーマットであり、処理性能は、PDFが10、電子書籍フォーマットが20である。これらの値は、サーバ103のCPU502の性能に応じて設定されたり、1ページ当たりの解析速度や1ページ当たりの解析に係る時間に基づいて設定される。   The formats that can be processed are PDF and electronic book format, and the processing performance is 10 for PDF and 20 for electronic book format. These values are set according to the performance of the CPU 502 of the server 103, or set based on the analysis speed per page and the time required for analysis per page.

図14(c)は、本実施例における印刷装置102で管理されるフォーマット特定テーブル209である。   FIG. 14C shows a format specifying table 209 managed by the printing apparatus 102 in this embodiment.

フォーマット特定テーブル209は、図6(c)のフォーマット特定テーブルに加え、処理性能1201が追加されている。処理性能1201は、印刷装置102の処理性能を示す点は異なるが、その他は処理性能1101と同じである。   The format specification table 209 has a processing performance 1201 added to the format specification table of FIG. The processing performance 1201 is the same as the processing performance 1101 except that the processing performance 1201 indicates the processing performance of the printing apparatus 102.

図14(d)は、本実施例における更新処理前のフォーマット特定テーブル209の一例である。各フォーマットに処理性能のパラメータが設定されている。これらの値は、印刷装置102のCPU403の性能、1ページ当たりの解析速度、1ページ当たりの解析に係る時間に基づいて設定される。   FIG. 14D is an example of the format specification table 209 before the update process in this embodiment. Processing performance parameters are set for each format. These values are set based on the performance of the CPU 403 of the printing apparatus 102, the analysis speed per page, and the time required for analysis per page.

図14(e)は、本実施例における図13の更新処理後のフォーマット特定テーブル209の一例である。   FIG. 14E is an example of the format specifying table 209 after the update process of FIG. 13 in the present embodiment.

印刷装置102のフォーマット特定テーブル管理部202は、サーバ103より図14(b)のフォーマット特定情報を取得する。フォーマット特定テーブル管理部202は、フォーマット特定テーブル209に存在するPDFのフォーマット特定情報の処理性能(10)とフォーマット特定テーブル209の処理性能(10)を比較する。その結果、サーバ103の処理性能の方が高いため、処理フラグを1に置き換える。一方、フォーマット特定テーブル209に存在しない電子書籍フォーマットについては、検索優先度に従ってフォーマット特定テーブル209に追加される。   The format specification table management unit 202 of the printing apparatus 102 acquires the format specification information shown in FIG. The format specification table management unit 202 compares the processing performance (10) of the PDF format specification information existing in the format specification table 209 with the processing performance (10) of the format specification table 209. As a result, since the processing performance of the server 103 is higher, the processing flag is replaced with 1. On the other hand, electronic book formats that do not exist in the format specification table 209 are added to the format specification table 209 according to the search priority.

本実施例においては、CPU403の性能に応じて処理性能のパラメータを決定しているが、CPU403以外の印刷装置102のハードウェアの構成(例えば、HDD404の搭載有無)に応じて変更してもよい。例えば、解析処理部204において大容量の記憶領域が必要なフォーマット(例えばPDFなど)は、HDD404を搭載していない印刷装置102において印刷データのサイズが制限される。このようなケースにおいては、処理性能を0に設定することで、サーバ103での処理に切り替わり、サイズ制限を回避することができる。   In this embodiment, the parameters of the processing performance are determined according to the performance of the CPU 403, but may be changed according to the hardware configuration of the printing apparatus 102 other than the CPU 403 (for example, whether the HDD 404 is installed). . For example, a format (for example, PDF) that requires a large storage area in the analysis processing unit 204 is limited in size of print data in the printing apparatus 102 that does not include the HDD 404. In such a case, by setting the processing performance to 0, the processing is switched to the processing in the server 103 and the size limitation can be avoided.

なお、本実施例において更新された後のフォーマット特定テーブル209を用いた印刷処理は、実施例1と同じであるため詳細な説明は省略する。   Note that the printing process using the format specification table 209 after being updated in the present embodiment is the same as that in the first embodiment, and thus detailed description thereof is omitted.

上記のとおり、フォーマット特定情報に処理性能を加えることで、印刷装置102とサーバ103の両者で処理可能な印刷データについては、印刷装置102の処理性能とサーバ103の処理性能に応じて、どちらで処理するかを変えることができる。その結果、最適なパフォーマンスが得られるようになる。   As described above, by adding the processing performance to the format specifying information, the print data that can be processed by both the printing apparatus 102 and the server 103 depends on the processing performance of the printing apparatus 102 and the processing performance of the server 103. You can change what is processed. As a result, optimum performance can be obtained.

[実施例3]
実施例2においては、印刷装置102とサーバ103の両者で処理可能な印刷データについては、処理性能を考慮して、適切な処理場所を選択した。本実施例では、さらに印刷データの生成元のアプリケーションを考慮し、適切な処理場所を決定する。
[Example 3]
In the second embodiment, for print data that can be processed by both the printing apparatus 102 and the server 103, an appropriate processing location is selected in consideration of processing performance. In the present embodiment, an appropriate processing location is determined in consideration of the application from which the print data is generated.

図17(a)は、本実施例においてサーバ103から取得するフォーマット特定情報306である。   FIG. 17A shows the format specifying information 306 acquired from the server 103 in this embodiment.

本実施例のフォーマット特定情報306は、図14(a)のフォーマット特定情報に、アプリ情報数1301、アプリ情報毎の処理性能1302、名称サイズ1303、アプリケーション名1304が追加されている。   In the format specifying information 306 of this embodiment, the number of application information 1301, the processing performance 1302 for each application information, the name size 1303, and the application name 1304 are added to the format specifying information in FIG.

アプリ情報数1301は、フォーマット特定処理部203で振り分け判定をする際に参照するアプリ情報の数である。アプリ情報は、該当フォーマットへ変換する前のアプリケーションのフォーマットに関する情報である。   The number of application information 1301 is the number of application information that is referred to when the format identification processing unit 203 performs distribution determination. The application information is information related to the format of the application before conversion into the corresponding format.

処理性能1302は、印刷データの生成元のアプリケーション単位の処理性能を示すパラメータである。名称サイズ1303は、印刷データの生成元のアプリケーション名1304のバイト数である。アプリケーション名1304は、印刷データの生成元のアプリケーションの名称であり、テキスト列の情報である。   The processing performance 1302 is a parameter indicating the processing performance of the application unit of the print data generation source. The name size 1303 is the number of bytes of the application name 1304 from which the print data is generated. The application name 1304 is the name of the application that is the generation source of the print data, and is text string information.

図17(b)は、本実施例におけるフォーマット特定情報306の一例である。   FIG. 17B is an example of the format specifying information 306 in the present embodiment.

フォーマットはPDFであり、アプリ情報数は2である。アプリ情報のアプリケーション名のテキスト列は”application1”, “application2”であり、それぞれ処理性能は20である。これらのアプリケーション以外は、フォーマットの処理性能1101の10となる。   The format is PDF and the number of application information is two. The text strings of application names in the application information are “application1” and “application2”, and the processing performance is 20, respectively. Other than these applications, the format processing performance 1101 is 10.

図15は、本実施例の図4のS1005のフォーマット特定テーブル209の更新処理のフローである。   FIG. 15 is a flowchart of the update process of the format specification table 209 in S1005 of FIG. 4 of the present embodiment.

なお、S1801からS1804は、S1101からS1104と同じ処理であるため説明は省略する。   Note that steps S1801 to S1804 are the same as steps S1101 to S1104, and a description thereof will be omitted.

印刷装置102は、サーバ103から取得したフォーマット特定情報のAc番目のフォーマット名を参照し、フォーマット特定テーブル209にあるかを調べる(S1805)。フォーマット特定情報のAc番目のフォーマット名がフォーマット特定テーブル209にある場合、印刷装置102は、サーバ103から取得したフォーマット特定情報のAc番目の処理性能とフォーマット特定テーブル209の処理性能を比較する(S1806)。   The printing apparatus 102 refers to the Ac-th format name of the format specifying information acquired from the server 103 and checks whether it is in the format specifying table 209 (S1805). When the Ac-th format name of the format specification information is in the format specification table 209, the printing apparatus 102 compares the Ac-th processing performance of the format specification information acquired from the server 103 with the processing performance of the format specification table 209 (S1806). ).

サーバの処理性能の方が高い場合(S1806−Yes)、印刷装置102は、フォーマット特定テーブル209の処理フラグを1に変更し、サーバ側で処理するように切り替える(S1807)。さらに、印刷装置102は、アプリ情報数1301が0より大きいか否かを判定する(S1808)。アプリ情報数1301が0より大きいと判定された場合、フォーマット特定テーブル209のアプリ情報アドレス1401に処理性能1302からアプリケーション名1304を指定する。つまり、Ac番目のフォーマットのデータは、印刷データの生成元のアプリケーションに関わらずサーバで処理されることになる。   When the processing performance of the server is higher (S1806-Yes), the printing apparatus 102 changes the processing flag of the format identification table 209 to 1 and switches to processing on the server side (S1807). Further, the printing apparatus 102 determines whether or not the number of application information 1301 is greater than 0 (S1808). When it is determined that the number of application information 1301 is greater than 0, the application name 1304 is designated from the processing performance 1302 to the application information address 1401 of the format identification table 209. That is, the Ac-th format data is processed by the server regardless of the application that generated the print data.

サーバの処理性能の方が低い場合(S1806−Yes)、印刷装置102は、S1808およびS1809を実行する。つまり、Ac番目のフォーマットの印刷データの生成元のアプリケーションがアプリケーション名1304である場合、印刷データはサーバで処理される。一方、Ac番目のフォーマットの印刷データの生成元のアプリケーションがアプリケーション名1304でない場合、印刷データは印刷装置102で処理される。   If the processing performance of the server is lower (S1806-Yes), the printing apparatus 102 executes S1808 and S1809. In other words, when the application that generates the Ac-th format print data is the application name 1304, the print data is processed by the server. On the other hand, when the application that generates the print data in the Ac-th format is not the application name 1304, the print data is processed by the printing apparatus 102.

そして、S1817にてフォーマットカウンタAcがインクリメントされる。   In step S1817, the format counter Ac is incremented.

なお、それ以外の処理については、図5と同じであるため説明は省略する。   Since the other processes are the same as those in FIG.

図17(c)は、本実施例における印刷装置102のフォーマット特定テーブル管理部202で管理するフォーマット特定テーブル209である。   FIG. 17C shows a format specification table 209 managed by the format specification table management unit 202 of the printing apparatus 102 in this embodiment.

フォーマット特定テーブル209は、図14(c)のフォーマット特定テーブル209に加え、アプリ情報アドレス1401、アプリ情報数1402、アプリ情報毎の、処理性能1403、名称サイズ1404、アプリケーション名1405から構成される。アプリ情報アドレス1401は、サーバ103から取得したアプリ情報を格納したRAM402のアドレスである。アプリ情報数1402、処理性能1403、名称サイズ1404、アプリケーション名1405は、図17(a)のアプリ情報と同じである。   The format specification table 209 includes an application information address 1401, the number of application information 1402, a processing performance 1403, a name size 1404, and an application name 1405 for each application information in addition to the format specification table 209 of FIG. The application information address 1401 is an address of the RAM 402 that stores application information acquired from the server 103. The number of application information 1402, processing performance 1403, name size 1404, and application name 1405 are the same as the application information in FIG.

図17(d)は、本実施例における更新処理前のフォーマット特定テーブル209の一例である。   FIG. 17D is an example of the format specifying table 209 before the update process in the present embodiment.

印刷装置102は、PDFの印刷処理が可能であり、処理性能は10である。   The printing apparatus 102 can perform PDF printing processing and has a processing performance of 10.

図17(e)は、本実施例における図15の更新処理後のフォーマット特定テーブル209の一例である。   FIG. 17E is an example of the format specifying table 209 after the update process of FIG. 15 in the present embodiment.

印刷装置102のフォーマット特定テーブル管理部202は、サーバ103より図17(b)に示すPDFのフォーマット特定情報を取得すると、各処理性能を参照し、比較する。このときサーバ103から取得したフォーマット特定情報の処理性能は同等であるが、図17(b)に示すアプリ情報の処理性能(20)は印刷装置の処理性能よりも高いため、アプリ情報アドレス1401にアドレスを指定し、アプリ情報1402から1405をフォーマット特定テーブル209に追加する。   When the format specifying table management unit 202 of the printing apparatus 102 acquires the PDF format specifying information shown in FIG. 17B from the server 103, the processing performance is referred to and compared. At this time, the processing performance of the format specifying information acquired from the server 103 is the same, but the processing performance (20) of the application information shown in FIG. 17B is higher than the processing performance of the printing apparatus. An address is designated and application information 1402 to 1405 is added to the format specification table 209.

図16は、本実施例における印刷処理S1210のファイル以外のフォーマット特定処理フローである。   FIG. 16 is a flowchart of a format specifying process other than the file in the print process S1210 in this embodiment.

なお、S1901からS1903は、S1401からS1403と同じ処理であるため説明は省略する。   Note that steps S1901 to S1903 are the same as steps S1401 to S1403, and a description thereof will be omitted.

FcがF以下の場合、印刷装置102は、フォーマット特定テーブル209の検索情報アドレスが指定されているかを判定する(S1904)。検索情報アドレスが指定されている場合、印刷装置102は、フォーマット特定テーブル209のFc番目の検索情報アドレスを参照し、サーバ処理のフォーマット特定処理を行う(S1905)。サーバ処理のフォーマット特定処理でフォーマットを特定できた場合(S1906−Yes)、特定されたフォーマットと処理場所としてサーバを決定する(S1907)。   If Fc is equal to or smaller than F, the printing apparatus 102 determines whether the search information address of the format identification table 209 is designated (S1904). If the search information address is specified, the printing apparatus 102 refers to the Fc-th search information address in the format specification table 209 and performs the format specification process of the server process (S1905). If the format can be identified by the format identification process of the server process (S1906-Yes), the server is determined as the identified format and processing location (S1907).

一方、フォーマットを特定できなかった場合(S1906−No)の処理は図9と同じである。   On the other hand, the processing when the format cannot be specified (S1906-No) is the same as that in FIG.

S1904で、Fc番目の検索情報アドレスが指定されていない場合、印刷装置102は、フォーマット特定テーブル209のFc番目の関数を実行することでフォーマットを特定できたか否かを判定する(S1920)。フォーマットを特定できた場合(S1920−Yes)、印刷装置102は、アプリ情報アドレス1401のアドレスが指定されているか調べる(S1921)。   If the Fc-th search information address is not specified in S1904, the printing apparatus 102 determines whether or not the format has been specified by executing the Fc-th function in the format specification table 209 (S1920). If the format can be specified (S1920-Yes), the printing apparatus 102 checks whether the address of the application information address 1401 is specified (S1921).

アプリ情報アドレス1401のアドレスが指定されている場合(S1921−Yes)、印刷装置102は、印刷データの生成元のアプリケーション名がアプリ情報のアプリケーション名と一致するかを調べる(S1922)。S1922でアプリケーション名が一致した場合(S1922−Yes)、印刷装置102は、フォーマット特定テーブル209のFc番目の処理性能(印刷装置の処理性能)と、アプリ情報の処理性能を比較する(S1923)。例えば、印刷データのフォーマットがPDFであり、かつ、印刷データの生成元のアプリケーションがapplication1であった場合、印刷装置は、図17(e)を用いて印刷装置の処理性能(10)とアプリ情報の処理性能(20)が比較される。ここで、アプリ情報の処理性能が印刷装置102の処理性能よりも高い場合、印刷装置102は、印刷データのフォーマットと処理場所としてサーバを決定する(S1907)。   When the address of the application information address 1401 is designated (S1921-Yes), the printing apparatus 102 checks whether the application name of the print data generation source matches the application name of the application information (S1922). If the application names match in S1922 (S1922—Yes), the printing apparatus 102 compares the Fc-th processing performance (processing performance of the printing apparatus) in the format specification table 209 with the processing performance of the application information (S1923). For example, if the format of the print data is PDF and the application from which the print data is generated is application1, the printing apparatus uses the processing performance (10) and application information of the printing apparatus using FIG. Are compared. If the processing performance of the application information is higher than the processing performance of the printing apparatus 102, the printing apparatus 102 determines a server as the print data format and processing location (S1907).

一方、アプリ情報の処理性能が印刷装置102の処理性能よりも低い場合、印刷装置102は、印刷データのフォーマットと処理場所として印刷装置102を決定する(S1940)。   On the other hand, when the processing performance of the application information is lower than the processing performance of the printing apparatus 102, the printing apparatus 102 determines the printing apparatus 102 as the print data format and processing location (S1940).

S1922においてNoと判定された場合、印刷装置102は、フォーマット特定テーブル209のFc番目の処理フラグが1か判定し(S1924)、1であれば印刷データのフォーマットと処理場所としてサーバを決定する。一方、処理フラグが1でなければ、印刷装置102は、印刷データのフォーマットと処理場所として印刷装置を決定する(S1940)。   If it is determined No in S1922, the printing apparatus 102 determines whether the Fc-th processing flag in the format specification table 209 is 1 (S1924), and if it is 1, determines the server as the print data format and processing location. On the other hand, if the processing flag is not 1, the printing apparatus 102 determines the printing apparatus as the format and processing location of the print data (S1940).

上記のとおり、印刷データの生成元のアプリケーションに基づいて、適切な処理場所を決定することができる。   As described above, an appropriate processing location can be determined based on the application that generated the print data.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である   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 execute

101 ホストコンピュータ
102 印刷装置
101 Host computer 102 Printing device

Claims (14)

外部装置と通信可能な画像処理装置であって、
刷データのフォーマットの特定方法を示す特定情報を取得する取得手段と、
印刷データを受信する受信手段と、
前記取得された特定情報に示される前記特定方法に基づいて前記受信された印刷データのフォーマットを特定する特定手段と、
前記特定されたフォーマットの印刷データを自ら処理できるか否かを判定する第1判定手段と、
前記印刷データを自ら処理できると判定された場合、前記印刷データに基づく印刷処理を実行し、前記印刷データを自ら処理できないと判定した場合、前記印刷データの変換要求を外部装置へ送信する印刷制御手段を有し、
前記特定情報は、検索キーと前記印刷データにおいて前記検索キーを検索すべき部分とを、印刷データのフォーマットごとに示す情報を含む
ことを特徴とする画像処理装置。
An image processing device capable of communicating with an external device,
Acquisition means for acquiring identification information indicating a specific method of the format of print data,
Receiving means for receiving print data;
Specifying means for specifying the format of the received print data based on the specifying method indicated in the acquired specifying information;
First determination means for determining whether the print data of the specified format can be processed by itself;
When it is determined that the print data can be processed by itself, the print control is executed based on the print data, and when it is determined that the print data cannot be processed by itself, the print data conversion request is transmitted to an external device. have a means,
The image processing apparatus according to claim 1, wherein the specific information includes information indicating, for each print data format, a search key and a portion of the print data that should be searched for the search key .
前記取得手段は、前記画像処理装置が起動した後に前記特定情報を前記外部装置から取得することを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the acquisition unit acquires the specific information from the external apparatus after the image processing apparatus is activated . 前記印刷データの変換要求には変換後のフォーマットが指定されていることを特徴とする請求項1または2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein a format after conversion is specified in the print data conversion request. 前記特定手段は、前記印刷データの拡張、または、前記印刷データから特定の検索キーを検出することで、前記印刷データのフォーマットを特定することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。 The specifying unit, the extension of the print data, or by detecting a specific search key from the print data, any one of claims 1 to 3, characterized in that to identify the format of the print data The image processing apparatus according to item. 前記第1判定手段が、前記画像処理装置および前記外部装置の両者が前記印刷データを処理できると判定した場合、前記外部装置の処理性能が前記画像処理装置の処理性能よりも高いか否かを判定する第2判定手段を有し、
前記第2判定手段が、前記外部装置の処理性能が前記画像処理装置の処理性能よりも高いと判定した場合、前記印刷制御手段は、前記印刷データを前記外部装置に送信することを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。
If the first determination unit determines that both the image processing apparatus and the external apparatus can process the print data, whether or not the processing performance of the external apparatus is higher than the processing performance of the image processing apparatus. A second determination means for determining;
When the second determination unit determines that the processing performance of the external apparatus is higher than the processing performance of the image processing apparatus, the print control unit transmits the print data to the external apparatus. The image processing apparatus according to claim 1.
前記特定情報は、前記外部装置が処理可能なフォーマットの種類の数を示す情報と、前記外部装置が処理可能なファイル拡張子を示す情報とを含む情報であることを特徴とする請求項1に記載の画像処理装置。   2. The information according to claim 1, wherein the specific information is information including information indicating a number of types of formats that can be processed by the external apparatus and information indicating a file extension that can be processed by the external apparatus. The image processing apparatus described. 前記検索キーを検索すべき部分を示す情報は、前記印刷データの先頭から何バイト目から検索を行うかを示す情報、または、検索のために前記印刷データから読み出すデータの検索サイズを示す情報の少なくともいずれかを含むことを特徴とする請求項1に記載の画像処理装置。The information indicating the part to be searched for the search key is information indicating the number of bytes from the start of the print data, or information indicating the search size of data read from the print data for search. The image processing apparatus according to claim 1, comprising at least one of them. 外部装置と通信可能な画像処理装置において実行される制御方法であって、
刷データのフォーマットの特定方法を示す特定情報を取得する取得工程と、
印刷データを受信する受信工程と、
前記取得された特定情報に示される前記特定方法に基づいて前記受信された印刷データのフォーマットを特定する特定工程と、
前記特定されたフォーマットの印刷データを自ら処理できるか否かを判定する第1判定工程と、
前記印刷データを自ら処理できると判定された場合、前記印刷データに基づく印刷処理を実行し、前記印刷データを自ら処理できないと判定した場合、前記印刷データの変換要求を外部装置へ送信する印刷制御工程を有し、
前記特定情報は、検索キーと前記印刷データにおいて前記検索キーを検索すべき部分とを、印刷データのフォーマットごとに示す情報を含む
ことを特徴とする制御方法。
A control method executed in an image processing apparatus capable of communicating with an external device,
An acquisition step of acquiring identification information indicating a specific method of the format of print data,
A receiving process for receiving print data;
A specifying step of specifying a format of the received print data based on the specifying method indicated in the acquired specifying information;
A first determination step for determining whether the print data in the specified format can be processed by itself;
When it is determined that the print data can be processed by itself, the print control is executed based on the print data, and when it is determined that the print data cannot be processed by itself, the print data conversion request is transmitted to an external device. We have a process,
The control method, wherein the specific information includes information indicating a search key and a portion of the print data for searching the search key for each print data format .
外部装置と通信可能な画像処理装置に、
刷データのフォーマットの特定方法を示す特定情報を取得する取得工程と、
印刷データを受信する受信工程と、
前記取得された特定情報に示される前記特定方法に基づいて前記受信された印刷データのフォーマットを特定する特定工程と、
前記特定されたフォーマットの印刷データを自ら処理できるか否かを判定する第1判定工程と、
前記印刷データを自ら処理できると判定された場合、前記印刷データに基づく印刷処理を実行し、前記印刷データを自ら処理できないと判定した場合、前記印刷データの変換要求を外部装置へ送信する印刷制御工程を実行させるためのプログラムであって、
前記特定情報は、検索キーと前記印刷データにおいて前記検索キーを検索すべき部分とを、印刷データのフォーマットごとに示す情報を含むことを特徴とするプログラム
In an image processing device that can communicate with an external device,
An acquisition step of acquiring identification information indicating a specific method of the format of print data,
A receiving process for receiving print data;
A specifying step of specifying a format of the received print data based on the specifying method indicated in the acquired specifying information;
A first determination step for determining whether the print data in the specified format can be processed by itself;
When it is determined that the print data can be processed by itself, the print control is executed based on the print data, and when it is determined that the print data cannot be processed by itself, the print data conversion request is transmitted to an external device. A program for executing a process ,
The specific information includes information indicating, for each print data format, a search key and a portion of the print data that should be searched for the search key .
前記取得工程は、前記画像処理装置が起動した後に前記外部装置から前記特定情報を取得することを特徴とする請求項に記載のプログラム。 The program according to claim 9 , wherein the acquiring step acquires the specific information from the external device after the image processing apparatus is activated . 前記印刷データの変換要求には変換後のフォーマットが指定されていることを特徴とする請求項または10に記載のプログラム。 Program according to claim 9 or 10, characterized in that the format after conversion is specified in the conversion request of the print data. 前記特定工程は、前記印刷データの拡張、または、前記印刷データから特定の検索キーを検出することで、前記印刷データのフォーマットを特定することを特徴とする請求項乃至11のいずれか1項に記載のプログラム。 The specific process, extension of the print data, or by detecting a specific search key from the print data, any one of claims 9 to 11, wherein identifying a format of the print data The program described in the section. 前記第1判定工程が、前記画像処理装置および前記外部装置の両者が前記印刷データを処理できると判定した場合、前記外部装置の処理性能が前記画像処理装置の処理性能よりも高いか否かを判定する第2判定工程を有し、
前記第2判定工程が、前記外部装置の処理性能が前記画像処理装置の処理性能よりも高いと判定した場合、前記印刷制御工程は、前記印刷データを前記外部装置に送信することを特徴とする請求項乃至12のいずれか1項に記載のプログラム。
If the first determination step determines that both the image processing apparatus and the external apparatus can process the print data, whether or not the processing performance of the external apparatus is higher than the processing performance of the image processing apparatus. A second determination step for determining,
When the second determination step determines that the processing performance of the external device is higher than the processing performance of the image processing device, the print control step transmits the print data to the external device. The program according to any one of claims 9 to 12 .
前記検索キーを検索すべき部分を示す情報は、前記印刷データの先頭から何バイト目から検索を行うかを示す情報、または、検索のために前記印刷データから読み出すデータの検索サイズを示す情報の少なくともいずれかを含むことを特徴とする請求項9乃至13のいずれか1項に記載のプログラム。The information indicating the part to be searched for the search key is information indicating the number of bytes from the start of the print data, or information indicating the search size of data read from the print data for search. The program according to any one of claims 9 to 13, including at least one of them.
JP2013121839A 2013-06-10 2013-06-10 Image processing apparatus, control method, and program Expired - Fee Related JP6230281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013121839A JP6230281B2 (en) 2013-06-10 2013-06-10 Image processing apparatus, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013121839A JP6230281B2 (en) 2013-06-10 2013-06-10 Image processing apparatus, control method, and program

Publications (3)

Publication Number Publication Date
JP2014237292A JP2014237292A (en) 2014-12-18
JP2014237292A5 JP2014237292A5 (en) 2016-07-28
JP6230281B2 true JP6230281B2 (en) 2017-11-15

Family

ID=52134903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013121839A Expired - Fee Related JP6230281B2 (en) 2013-06-10 2013-06-10 Image processing apparatus, control method, and program

Country Status (1)

Country Link
JP (1) JP6230281B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7446158B2 (en) 2020-05-27 2024-03-08 キヤノン株式会社 Program, control method, information processing device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4333053B2 (en) * 2001-05-21 2009-09-16 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus, printing method, program, and recording medium
JP2006065372A (en) * 2004-08-24 2006-03-09 Canon Inc Printing system, printing method, and storage medium
JP2006285750A (en) * 2005-04-01 2006-10-19 Matsushita Electric Ind Co Ltd Print processing device, print processing system, and print processing method
JP4645833B2 (en) * 2005-08-24 2011-03-09 富士ゼロックス株式会社 Image forming apparatus, image forming program, and image forming system
US8199348B2 (en) * 2008-11-03 2012-06-12 Sharp Laboratories Of America, Inc. Methods and systems for handling files for MFPS utilizing external services
JP2011076402A (en) * 2009-09-30 2011-04-14 Oki Data Corp Image forming device and image forming system
JP2011131382A (en) * 2009-12-22 2011-07-07 Kyocera Mita Corp Image forming system and image forming apparatus

Also Published As

Publication number Publication date
JP2014237292A (en) 2014-12-18

Similar Documents

Publication Publication Date Title
JP5127232B2 (en) Data processing apparatus, data processing method, and computer program
CN102033723A (en) Information processing apparatus and method thereof
JP7171218B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD AND PROGRAM
JP2008158766A (en) Information processing device having print job retrieval function, information processing method, program, and storage medium
JP5538995B2 (en) Information processing apparatus, information processing method, and program
JP2016018344A (en) Image forming apparatus and information processing apparatus, automatic installation system, and automatic installation method
JP5804749B2 (en) Data processing apparatus, data processing method and program
KR101496438B1 (en) Print controling apparatus, image forming apparatus and method for controling print
JP5225062B2 (en) Print control apparatus, print control method, and computer program
JP2018037746A (en) Information processing system, information processor, and information processing method
JP6230281B2 (en) Image processing apparatus, control method, and program
US8984397B2 (en) Architecture for arbitrary extensible markup language processing engine
JP5879807B2 (en) Print control apparatus, control program, and recording medium
US10002314B2 (en) Information processing apparatus for efficiently issuing a print instruction to image forming apparatus and method for controlling the same
KR20110051052A (en) Method for controling print, and print controling apparatus
US20120019856A1 (en) Job ticket conversion apparatus and conversion method thereof
JP5871521B2 (en) Print data processing method, print data processing apparatus and program
JP2014174951A (en) Information processing apparatus, information processing method, and program
JP5577759B2 (en) Information processing apparatus, print control method, print control program, and recording medium
JP4532872B2 (en) Document processing method and document processing apparatus
JP4619433B2 (en) Print control apparatus, print control method, and program
JP5298046B2 (en) Image forming apparatus
JP2015204056A (en) Print control device, method for processing data of print control device, program, and printer driver
JP6164912B2 (en) Data processing apparatus, control method, and program
JP2018058297A (en) Image formation output control device and image formation output control program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160609

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160609

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170421

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171017

R151 Written notification of patent or utility model registration

Ref document number: 6230281

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees