JP6230281B2 - Image processing apparatus, control method, and program - Google Patents
Image processing apparatus, control method, and program Download PDFInfo
- 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
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
特許文献1は、印刷装置が、印刷処理を実行できないフォーマットの印刷データを他の装置に送信してフォーマットの変換を依頼する際、印刷データのフォーマットを特定し、特定されたフォーマットの印刷データを変換可能な他の装置を検索する。しかしながら、印刷装置が、受信した印刷データのフォーマットを特定できない場合、特許文献1の技術では、他の装置にフォーマットの変換を依頼することができない。その結果、特許文献1の技術では、印刷装置が印刷処理を実行できなくなるおそれがあった。
In
上述した問題を解決するために本願発明は、外部装置と通信可能な画像処理装置であって、印刷データのフォーマットの特定方法を示す特定情報を取得する取得手段と、印刷データを受信する受信手段と、前記取得された特定情報に示される前記特定方法に基づいて前記受信された印刷データのフォーマットを特定する特定手段と、前記特定されたフォーマットの印刷データを自ら処理できるか否かを判定する第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.
<印刷システムの機能構成>
図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
サーバ103は、印刷装置102から送信された印刷データを印刷装置102で処理できるフォーマットの印刷データに変換し、ネットワーク104を介して変換後の印刷データを印刷装置102に送信する。そして、印刷装置102は、サーバにより変換された変換後の印刷データを印刷する。
The
また、印刷装置102は、電源投入時やスリープ復帰時にサーバ103にアクセスし、サーバ103が処理可能(変換可能)なデータフォーマットの情報を取得する。
Further, the
次に、印刷装置102の詳細な機能モジュール構成を説明する。ネットワーク処理部201は、ネットワーク104を介して送信された印刷データをデータスプール208に格納する。また、ネットワーク処理部201は、データスプール208に格納された印刷データをサーバ103へ送信したり、サーバ103により変換された変換後の印刷データをデータスプール208に格納したりする。さらに、ネットワーク処理部201は、サーバ103からフォーマット特定情報306を取得し、フォーマット特定テーブル管理部202に格納する。
Next, a detailed functional module configuration of the
フォーマット特定テーブル管理部202は、フォーマット特定テーブル209を管理するとともに、ネットワーク処理部201を介してサーバ103から取得したフォーマット特定情報をフォーマット特定テーブル209に反映する。フォーマット特定テーブル209は、印刷装置102で処理可能なフォーマットの特定情報と、サーバ103から取得したフォーマット特定情報が含まれる。
The format specification
フォーマット特定処理部203は、データスプール208に格納された印刷データのフォーマットを特定する。また、フォーマット特定処理部203は、フォーマットが特定された印刷データを解析処理部204で処理するか、サーバ103にフォーマットの変換処理を依頼するかを決定する。サーバ103にフォーマットの変換処理を依頼する必要がない場合、フォーマット特定処理部203は、データスプール208に格納された印刷データを解析処理部204に渡す。一方、サーバ103にフォーマットの変換処理を依頼する場合、フォーマット特定処理部203は、ネットワーク処理部201を介して印刷データをサーバ103に送信し、サーバ103から受信した変換後の印刷データを解析処理部204に渡す。
A format
解析処理部204は、フォーマット特定処理部203から渡された印刷データをフォーマットに従って解析し、展開処理部205に渡す。展開処理部205は、解析処理部204で解析された印刷データから画像データ(例えば、ビットマップイメージ)を生成し、画像データスプール207に格納する。印刷処理部206は、画像データスプール207に格納された画像データを印刷する。なお、これらの機能モジュールを総称して印刷制御部200と呼ぶ。なお、印刷制御部200は、必ずしも図1に示されたモジュール201〜209を備える必要がなく、本願の課題を解決するために必要なモジュールを備えていれば良い。
The
次に、サーバ103の詳細な機能モジュール構成を説明する。ネットワーク処理部301は、ネットワーク104を介して送信された印刷データをデータスプール305に格納する。
Next, a detailed functional module configuration of the
解析処理部302は、送信された印刷データのフォーマットに従って印刷データを解析し、データ変換部303に渡す。データ変換部303は、解析処理部302で解析されたデータを所定のフォーマットの印刷データに変換し、データスプール305に格納する。ネットワーク処理部301は、データスプール305に格納された変換後の印刷データを印刷装置102へ送信することを指示する。なお、上述した所定のフォーマットとは、印刷装置102が印刷処理を実行可能なフォーマットである。
The
フォーマット特定情報管理部304は、サーバ103で処理可能なフォーマットの特定情報306を管理し、印刷装置102からの要求に従ってフォーマット特定情報306を印刷装置102に送信する。
The format specifying
<ハードウェア構成>
図2は、本発明の印刷装置102とサーバ103のハードウェア構成である。
<Hardware configuration>
FIG. 2 is a hardware configuration of the
印刷装置102は、ROM401、RAM402、CPU403、HDD404、ネットワークI/F405、エンジンI/F406、プリンタエンジン407から構成される。
The
ROM401は、不揮発性メモリであり、印刷装置102の各処理部201〜206のプログラムが格納される。RAM402は、揮発性メモリであり、電源投入時にROM401に格納された各処理部201〜206のプログラムが展開される。
A
フォーマット特定テーブル209は、ROM401に格納されており、電源投入時またはスリープ復帰時にRAM402に展開される。CPU403は、RAM402に展開された各処理部201〜206のプログラムを実行する演算プロセッサである。
The format specification table 209 is stored in the
HDD404は、大量の情報を格納可能な記憶装置であり、データスプール208、画像データスプール207の記憶領域になる。エンジンI/F406は、印刷処理部206の制御で、画像データスプール207の画像データをビデオデータに変換し、プリンタエンジン407に出力する。プリンタエンジン407は、不図示の印刷プロセスでビデオデータをもとに用紙に印刷する。ネットワークI/F405は、ホストコンピュータ101、サーバ103とネットワーク104を介して通信を行う。
The
なお、本願において印刷装置102が実行するフローチャートの各ステップは、CPU403が、メモリからフローチャートの処理に関係するプログラムを読み出して実行することで実現される。
Note that each step of the flowchart executed by the
サーバ103は、RAM501、CPU502、HDD503、ネットワークI/F504から構成される。RAM501は、揮発性メモリであり、電源投入時にHDD503に格納された各処理部301〜304のプログラムが展開される。
The
CPU502は、RAM501に展開された各処理部301〜304のプログラムを実行する演算プロセッサである。HDD503は、大量の情報を格納可能な記憶装置であり、各処理部301〜304のプログラムが格納され、また、データスプール305の記憶領域になる。ネットワークI/F504は、印刷装置102とネットワーク104を介してデータや情報の送受信を行う入出力インターフェースである。
The
なお、本願においてサーバ103が実行するフローチャートの各ステップは、CPU502が、メモリからフローチャートの処理に関係するプログラムを読み出して実行することで実現される。
Note that each step of the flowchart executed by the
<印刷データの一例>
図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
印刷データ701は、電子書籍フォーマットであり、XML(eXtensible Markup Language)形式で記述された複数のファイルをZIP圧縮したデータである。シグネチャ702は、電子書籍フォーマットのデータの先頭にあるZIPヘッダのシグネチャであり、ZIP圧縮型式であることを示している。バイト列703は、ZIPヘッダの直後にあるファイル名(“mimetype”)とファイル内のテキスト“application/epub+zip”のバイト列であり、電子書籍フォーマットのデータであることを示している。
The
フォーマット特定処理部203は、これらの文字列やバイト列を検出することによりフォーマットを特定することができる。一例として挙げた印刷データ以外にも様々なフォーマットの印刷データがあり、データ内のコマンドを検索して特定する必要があるフォーマット(例えば、N201やESC/Pなど)も存在する。
The format
<フォーマット特定情報取得処理>
図4は、印刷装置102のフォーマット特定テーブル管理部202がサーバ103からフォーマット特定情報306を取得するフローである。
<Format specific information acquisition processing>
FIG. 4 is a flow in which the format specification
印刷装置102は、印刷装置102が起動された時、または、スリープから復帰した時に、サーバ接続設定が有効か否かを参照する(S1001)。
The
サーバとの接続設定が有効であると判定された場合、印刷装置102は、ネットワーク処理部201を介してネットワーク104に接続されたサーバ103の起動状況を確認する(S1002)。サーバ103が起動している場合、サーバ103は、印刷装置102に応答メッセージを送信する(S1006)。
If it is determined that the connection setting with the server is valid, the
印刷装置102は、サーバ103からの応答メッセージを受け取る(S1003)と、サーバ103にフォーマット特定情報306の取得依頼を要求する(S1004)。
Upon receiving the response message from the server 103 (S1003), the
サーバ103は、印刷装置102からの取得依頼の要求に対し、フォーマット特定情報306を印刷装置102に送信する(S1007)。
In response to the acquisition request request from the
印刷装置102は、サーバ103からフォーマット特定情報306を受け取ると、フォーマット特定テーブル209を更新する(S1005)。このように印刷装置102は、起動する度(または、スリープから復帰する度)に、フォーマット特定情報を取得することで、適切なフォーマットの特定方法を認識できる。
Upon receiving the
図6(a)は、サーバ103から取得するフォーマット特定情報306である。
FIG. 6A shows the
フォーマット特定情報306は、フォーマット数801から検索キー808により構成される。
The
フォーマット数801は、サーバ103の解析処理部302で処理可能なフォーマットの数である。フォーマット特定情報306には、フォーマット数801に指定された数の802〜808が含まれる。
The
フォーマット名802は、フォーマットの名称であり、ファイル拡張子803は、フォーマットのファイル拡張子である。ファイル拡張子は、ファイル形式の印刷データの拡張子からフォーマットを特定するために用いられる。
The
検索キー数804は、印刷データを検索する検索キーの数である。806〜808は、検索キー数804の数だけ含まれる。検索優先度805は、検索の優先度であり、印刷装置102のフォーマット特定処理部203は、各フォーマットの検索優先度に基づいて検索の順番を決定する。検索オフセット806は、印刷データの先頭から何バイト目から検索を行うかを示す。
The search
検索サイズ807は、検索キー808のサイズである。検索キー808は、印刷データ内を検索するための検索キーである。印刷装置102のフォーマット特定処理部203は、全ての検索キーに適合した場合にフォーマットを特定することができる。つまり、印刷装置102は、フォーマットの特定方法が記載されたフォーマット特定情報を取得することで、印刷データの印刷処理を実行できないとしても、印刷データのフォーマットを特定することが可能となる。
The
サーバ103の解析処理部302のプログラムが拡張され、処理可能なフォーマットが追加された場合、フォーマット特定情報管理部304は、フォーマット特定情報306を更新する。つまり、新規に追加されたフォーマットの特定方法がフォーマット特定情報306に追加される。
When the program of the
印刷装置102は、サーバ103から取得したフォーマット特定情報306を用いてフォーマット特定テーブル209を更新することで、新規のフォーマットであっても特定方法を認識することができ、印刷データのフォーマットを特定できる。
The
図6(b)は、フォーマット特定情報306の一例である。図6(b)において処理可能なフォーマットはPDFと電子書籍フォーマットであるため、フォーマット数として2が記述されている。
FIG. 6B is an example of the
印刷装置102は図6(b)を参照することで、PDFデータ601は、先頭4バイトで特定することができ、PDFのフォーマット特定情報306は、検索キー数1、検索オフセット0、検索サイズ4、検索キーは“%PDF”と認識できる。処理対象の印刷データがこれらの条件に一致した場合、印刷装置102は、処理対象の印刷データのフォーマットがPDFであると認識できる。
With reference to FIG. 6B, the
一方、電子書籍フォーマットのデータ701は、先頭4バイトとヘッダ後の24バイトで特定することができる。電子書籍フォーマットのフォーマット特定情報306は、検索キー数2、検索オフセット0、検索サイズ4、検索キーは“0x50 0x4B 0x03 0x04”となる。また、検索オフセット−1(不定)、検索サイズ24、検索キーは“mimetypeapplication/epub”となる。処理対象の印刷データがこれらの条件に一致した場合、印刷装置102は、処理対象の印刷データのフォーマットが電子書籍フォーマットであると認識できる。
On the other hand, the electronic
本願によれば、例えば、電子書籍フォーマットのデータのフォーマットを特定できない印刷装置102が、フォーマット特定情報306を使ってフォーマット特定テーブルを更新する。その結果、印刷装置102は、電子書籍フォーマットのデータを受信した場合に適切に印刷データのフォーマットを特定できる。
According to the present application, for example, the
<フォーマット特定テーブル更新>
図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
印刷装置102は、フォーマット特定テーブル209のフォーマット数をFに代入し(S1101)、フォーマットカウンタAcを初期化する(S1102)。そして、印刷装置102は、S1004でサーバ103から取得したフォーマット特定情報306のフォーマット数をAに代入する(S1103)。
The
印刷装置102は、フォーマットカウンタAcとフォーマット特定情報306のフォーマット数Aを比較し(S1104)、フォーマットカウンタAcが超えるまでS1104〜S1112を繰り返し実行する。
The
印刷装置102は、サーバ103から取得したフォーマット特定情報306のAc番目の検索優先度をPaに代入し(S1105)、カウンタFcを初期化する(S1106)。 印刷装置102は、カウンタFcとフォーマット数Fを比較し(S1107)、カウンタFcがフォーマット数F以下の場合、フォーマット特定テーブル209のFc番目の検索優先度をPに代入し(S1108)、PaとPを比較する(S1109)。
The
PaがPと同等以下の場合、印刷装置102は、サーバ103から取得したフォーマット特定情報306のAc番目の情報をフォーマット特定テーブル209のFc番目に追加(S1110)する。印刷装置102は、フォーマットカウンタAcをインクリメントし(S1111)、S1104に戻る。
If Pa is equal to or less than P, the
一方、Paの方が大きい場合、印刷装置102は、カウンタFcをインクリメントし(S1112)、S1107に戻る。S1107で、カウンタFcがフォーマット数Fを超えた場合、印刷装置102は、サーバ103から取得したフォーマット特定情報のAc番目の情報をフォーマット特定テーブル209の最後に追加する。
On the other hand, if Pa is larger, the
以上の処理により検索優先度順に並んだフォーマット特定テーブル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
フォーマット特定テーブル209は、フォーマット数901から検索情報アドレス907と検索情報で構成される。検索情報は、検索キー数908から検索キー911で構成される。
The format specification table 209 includes a
フォーマット数901は、印刷装置102とサーバ103で処理可能なフォーマットの数である。902〜911はフォーマット数901の数だけ含まれる。
The
関数アドレス903は、フォーマット特定処理部203内の各フォーマットを特定する関数のアドレスである。ファイル拡張子904は、フォーマットのファイル拡張子であり、ファイル形式の印刷データの拡張子からフォーマットを特定する場合に用いられる。
A
検索優先度905は、印刷装置102が検索する順番を決定するために利用される。
The
処理フラグ906は、印刷装置102、サーバ103のどちらで処理を行うかを示す。
A processing flag 906 indicates whether the
検索情報アドレス907は、フォーマットを特定するための検索情報のアドレスである。
The
検索キー数908は、印刷データを検索する際に使用される検索キーの数である。909〜911は、検索キー数908の数だけ含まれる。なお、検索キー数908から検索キー911の情報は、上述した検索キー数804、検索オフセット806から検索キー808と同じであるため説明は省略する。
The search
図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
印刷装置内で処理できるフォーマットはあらかじめ解析処理部204内に各フォーマットの特定関数があり、関数アドレス903にそれぞれの関数が設定される。
Formats that can be processed in the printing apparatus have a specific function for each format in the
図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
フォーマット特定処理部203は、PDF、PS、LIPS、電子書籍フォーマット、N201の順に印刷データのフォーマットの特定処理を行う。
The format specifying
<印刷処理>
図7は、印刷装置102で実行される印刷処理のフローである。
<Print processing>
FIG. 7 is a flow of print processing executed by the
印刷装置102は、ホストコンピュータ101から印刷データを受信するか、リムーバブルメディアから印刷データを取得しユーザインターフェースからの印刷指示を受ける(S1201)。印刷装置102は、受信された印刷データがファイル形式であるかストリーム形式であるかを判定する(S1202)。具体的には、印刷装置102のネットワーク処理部201には、プリンタドライバが生成した印刷データを受信するストリームデータ受信部と、プリンタドライバ以外のソフトにより生成された印刷データを受信するファイルデータ受信部がある。どちらの受信部が印刷データを受信したかによりS1202の判定が実行される。
The
印刷データがファイル形式であった場合、印刷装置102は、ファイルのフォーマットを特定するフォーマット特定処理(詳細は図8にて後述)を行う(S1203)。
If the print data is in a file format, the
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
そして、印刷装置102は、S1213において生成したジョブチケットと印刷データを変換要求のデータとしてサーバ103へ送信する(S1214)。図12は、S1214において印刷装置102からサーバ103へ送信される変換要求のデータの一例である。サーバ103へ送信されるデータ1001は、入力フォーマット1002と出力フォーマット1003が記述されたジョブチケットと、印刷データ1004から構成される。入力フォーマット1002は、フォーマット特定処理部203で特定された印刷データのフォーマットである。出力フォーマット1003は、印刷装置102が処理可能なフォーマットである。データ1004は、印刷装置が受信した印刷データである。サーバ103は、ジョブチケットに従って、印刷データ1004のフォーマットを印刷装置が処理可能なフォーマットに変換する。
The
印刷装置102は、S1214において印刷データを送信した後、サーバ103から変換された印刷データを受信したか否かを判定する(S1215)。そして、変換後の印刷データを受信したと判定された場合(S1215−Yes)、印刷装置102は、変換後の印刷データの解析処理および展開処理を行うことで生成されたビットマップイメージを画像データスプール207に格納する(S1216)。そして、印刷装置102は、ビットマップイメージを使って印刷処理を実行する(S1217)。
After transmitting the print data in S1214, the
一方、印刷装置102が、印刷データを自ら処理可能と判定した場合(S1212−No)、S1216およびS1217を実行することで印刷データの印刷処理が実行される。
On the other hand, when the
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
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
S1211において印刷データのフォーマットを特定できなかった場合(フォーマットNULL)、印刷装置102は、不図示のユーザインターフェースにエラーを表示する(S1218)。
When the print data format cannot be specified in S1211, the
以上の処理により印刷装置102は、受信した印刷データが自ら処理できない場合であっても、サーバを使って印刷処理を実行することが可能となる。
With the above processing, the
<ファイルのフォーマット特定処理>
図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
印刷装置102は、フォーマットカウンタFcとフォーマット数Fを比較し(S1303)、FcがFを超えた場合は、フォーマットを特定できなかったと判定する。そして、印刷装置102は、フォーマットNULLと特定する(S1308)。
The
FcがF以下の場合、印刷装置102は、フォーマット特定テーブルのFc番目の拡張子と印刷データのファイルの拡張子を比較する(S1304)。
If Fc is less than or equal to F, the
拡張子が同じ場合、印刷装置102は、フォーマット特定テーブル209のFc番目の処理フラグが1か否かを判定する(S1305)。処理フラグが1と判定された場合(S1305−Yes)、印刷装置102は、印刷データのフォーマットと印刷データを処理する場所としてサーバを決定する(S1306)。
If the extensions are the same, the
一方、処理フラグが0と判定された場合(S1305−No)、印刷装置102は、印刷データのフォーマットと印刷データを処理する場所として印刷装置を決定する(S1307)。
On the other hand, if it is determined that the processing flag is 0 (S1305-No), the
フォーマット特定テーブルの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
以上の処理により、ファイル形式の印刷データのフォーマットが決定され、決定されたフォーマットの印刷データを処理すべき場所が決定される。 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
S1405によりフォーマットを特定できた場合(S1406−Yes)、印刷装置102は、印刷データのフォーマットと印刷データを処理する場所としてサーバを決定する(S1407)。
If the format can be specified in S1405 (S1406-Yes), the
一方、S1405によりフォーマットを特定できなかった場合(S1406−No)、印刷装置102は、フォーマットカウンタをインクリメントし(S1410)、S1403へ戻る。
On the other hand, if the format could not be specified in S1405 (S1406-No), the
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
一方、処理フラグが0の場合(S1421−No)、印刷装置102は、印刷データのフォーマットと処理場所として印刷装置を決定する(S1440)。
On the other hand, if the processing flag is 0 (S1421-No), the
以上の処理により、ファイル形式とは異なる形式の印刷データのフォーマットが決定され、決定されたフォーマットの印刷データを処理すべき場所が決定される。 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
印刷装置102は、Offsetが0以上の場合(S1505−Yes)、印刷データのOffsetバイト分のデータをスキップし(S1506)、検索情報の検索サイズ分910のデータを読みだす(S1507)。
When Offset is 0 or more (S1505-Yes), the
印刷装置102は、S1507で読み出したデータと検索情報の検索キー911と比較し(S1508)、一致しなかった場合は、印刷データはFc番目のフォーマットと異なるとしてFALSEと決定する(S1509)。一方、一致した場合、印刷装置102は、検索カウンタKcをインクリメントし(S1520)、S1503に戻る。
The
S1505で、Offsetが−1だった場合(S1505−No)、印刷装置102は、順次印刷データの中身のデータを読み込み(S1510)、検索情報の検索キー911と比較する(S1511)。
If Offset is -1 in S1505 (S1505-No), the
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
<サーバ103の印刷データ変換処理>
図11は、サーバ103の印刷データ変換処理フローである。
<Print Data Conversion Processing of
FIG. 11 is a print data conversion process flow of the
サーバ103は、印刷装置102から送信されたジョブチケットと印刷データを受信する(S1601)と、ジョブチケットから入力フォーマットと出力フォーマットを参照する(S1602)。サーバ103は、参照した入力フォーマットに従って、解析処理部302で印刷データを解析し(S1603)、データ変換部303で参照した出力フォーマットの印刷データに変換する(S1604)。
When the
そしてサーバ103は、ジョブチケットで指定された出力フォーマットに変換された印刷データ(印刷装置102が処理可能な印刷データ)を印刷装置102に送信する(S1605)。
Then, the
上記のとおり、印刷装置102は、フォーマットの特定方法が記述されたフォーマット特定情報を取得することで、例えば、サーバ103で処理可能なフォーマットが追加されてもフォーマットを特定できる。その結果、印刷装置102は、印刷データの印刷処理を実行することが可能になる。
As described above, the
[実施例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
図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
サーバの処理性能の方が高い場合(S1706−Yes)、印刷装置102は、フォーマット特定テーブル209の処理フラグを1に変更し、サーバ側で処理するように切り替える(S1707)。
When the processing performance of the server is higher (S1706-Yes), the
サーバの処理性能の方が低い場合(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
図14(a)は、本実施例においてサーバ103から取得するフォーマット特定情報306である。
FIG. 14A shows the
本実施例のフォーマット特定情報306は、図6(a)のフォーマット特定情報に加え、処理性能1101が追加されている。処理性能1101は、処理対象のフォーマットの印刷データを解析する際の処理性能のパラメータである。
In the
図14(b)は、本実施例におけるフォーマット特定情報306の一例である。
FIG. 14B is an example of the
処理可能なフォーマットは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
図14(c)は、本実施例における印刷装置102で管理されるフォーマット特定テーブル209である。
FIG. 14C shows a format specifying table 209 managed by the
フォーマット特定テーブル209は、図6(c)のフォーマット特定テーブルに加え、処理性能1201が追加されている。処理性能1201は、印刷装置102の処理性能を示す点は異なるが、その他は処理性能1101と同じである。
The format specification table 209 has a
図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
図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
本実施例においては、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
なお、本実施例において更新された後のフォーマット特定テーブル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
[実施例3]
実施例2においては、印刷装置102とサーバ103の両者で処理可能な印刷データについては、処理性能を考慮して、適切な処理場所を選択した。本実施例では、さらに印刷データの生成元のアプリケーションを考慮し、適切な処理場所を決定する。
[Example 3]
In the second embodiment, for print data that can be processed by both the
図17(a)は、本実施例においてサーバ103から取得するフォーマット特定情報306である。
FIG. 17A shows the
本実施例のフォーマット特定情報306は、図14(a)のフォーマット特定情報に、アプリ情報数1301、アプリ情報毎の処理性能1302、名称サイズ1303、アプリケーション名1304が追加されている。
In the
アプリ情報数1301は、フォーマット特定処理部203で振り分け判定をする際に参照するアプリ情報の数である。アプリ情報は、該当フォーマットへ変換する前のアプリケーションのフォーマットに関する情報である。
The number of
処理性能1302は、印刷データの生成元のアプリケーション単位の処理性能を示すパラメータである。名称サイズ1303は、印刷データの生成元のアプリケーション名1304のバイト数である。アプリケーション名1304は、印刷データの生成元のアプリケーションの名称であり、テキスト列の情報である。
The
図17(b)は、本実施例におけるフォーマット特定情報306の一例である。
FIG. 17B is an example of the
フォーマットは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
図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
サーバの処理性能の方が高い場合(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
サーバの処理性能の方が低い場合(S1806−Yes)、印刷装置102は、S1808およびS1809を実行する。つまり、Ac番目のフォーマットの印刷データの生成元のアプリケーションがアプリケーション名1304である場合、印刷データはサーバで処理される。一方、Ac番目のフォーマットの印刷データの生成元のアプリケーションがアプリケーション名1304でない場合、印刷データは印刷装置102で処理される。
If the processing performance of the server is lower (S1806-Yes), the
そして、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
フォーマット特定テーブル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
図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
図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
図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
一方、フォーマットを特定できなかった場合(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
アプリ情報アドレス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
一方、アプリ情報の処理性能が印刷装置102の処理性能よりも低い場合、印刷装置102は、印刷データのフォーマットと処理場所として印刷装置102を決定する(S1940)。
On the other hand, when the processing performance of the application information is lower than the processing performance of the
S1922においてNoと判定された場合、印刷装置102は、フォーマット特定テーブル209のFc番目の処理フラグが1か判定し(S1924)、1であれば印刷データのフォーマットと処理場所としてサーバを決定する。一方、処理フラグが1でなければ、印刷装置102は、印刷データのフォーマットと処理場所として印刷装置を決定する(S1940)。
If it is determined No in S1922, the
上記のとおり、印刷データの生成元のアプリケーションに基づいて、適切な処理場所を決定することができる。 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
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 .
前記第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判定工程と、
前記印刷データを自ら処理できると判定された場合、前記印刷データに基づく印刷処理を実行し、前記印刷データを自ら処理できないと判定した場合、前記印刷データの変換要求を外部装置へ送信する印刷制御工程を有し、
前記特定情報は、検索キーと前記印刷データにおいて前記検索キーを検索すべき部分とを、印刷データのフォーマットごとに示す情報を含む
ことを特徴とする制御方法。 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 .
前記第2判定工程が、前記外部装置の処理性能が前記画像処理装置の処理性能よりも高いと判定した場合、前記印刷制御工程は、前記印刷データを前記外部装置に送信することを特徴とする請求項9乃至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 .
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)
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)
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 |
-
2013
- 2013-06-10 JP JP2013121839A patent/JP6230281B2/en not_active Expired - Fee Related
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 |