JP2021163193A - Image processing apparatus and computer program for image processing apparatus - Google Patents
Image processing apparatus and computer program for image processing apparatus Download PDFInfo
- Publication number
- JP2021163193A JP2021163193A JP2020063930A JP2020063930A JP2021163193A JP 2021163193 A JP2021163193 A JP 2021163193A JP 2020063930 A JP2020063930 A JP 2020063930A JP 2020063930 A JP2020063930 A JP 2020063930A JP 2021163193 A JP2021163193 A JP 2021163193A
- Authority
- JP
- Japan
- Prior art keywords
- data
- setting
- image processing
- item
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本明細書では、設定データを画像処理装置に登録するための技術を開示する。 This specification discloses a technique for registering setting data in an image processing device.
特許文献1には、ホスト端末とプリンタとを備える画像形成システムが開示されている。プリンタは、ホスト端末からIPP(Internet Printing Protocolの略)に従った印刷プリセットの登録リクエストを受信すると、当該印刷プリセットをプリンタのメモリに記憶する。そして、プリンタは、ホスト端末から取得リクエストを受信すると、印刷プリセットをホスト端末に送信する。ホスト端末は、印刷プリセットに対応する印刷設定を印刷設定画面に反映する。
プリンタのメモリの容量は有限である。本明細書では、画像処理装置のメモリが画像処理に関係する設定データを記憶すべき場合に、メモリに記憶されるデータサイズを圧縮し得る技術を提供する。 The memory capacity of the printer is finite. The present specification provides a technique capable of compressing the data size stored in the memory when the memory of the image processing device should store the setting data related to the image processing.
本明細書で開示される画像処理装置は、画像処理を実行するための画像処理実行部と、前記画像処理に関係する設定データの基準である基準データを記憶可能なメモリであって、前記基準データは、前記画像処理を実行するためのN個(前記Nは2以上の整数)の設定項目に対応するN個の値を含む、前記メモリと、端末装置から第1の設定データの登録を要求する第1の登録要求が受信される場合に、前記基準データと前記第1の設定データとの間の差異に関係する第1の差異データを生成する差異データ生成部であって、前記第1の設定データは、前記N個の設定項目に対応するN個の値を含み、前記N個の設定項目のうちのN1個(前記N1は1以上前記N未満の整数)の設定項目について、前記基準データと前記第1の設定データとの間で値が異なり、かつ、前記N個の設定項目のうちの前記N1個の設定項目以外のN2個の設定項目について、前記基準データと前記第1の設定データとの間で値が同じである場合に、前記第1の差異データは、前記第1の設定データのうちの前記N1個の設定項目に対応するN1個の値を含むと共に、前記第1の設定データのうちの前記N2個の設定項目に対応するN2個の値を含まない、前記差異データ生成部と、生成済みの前記第1の差異データを前記メモリに記憶する記憶制御部と、前記第1の差異データが前記メモリに記憶された後に、前記端末装置からデータ取得要求が受信される場合に、前記基準データと前記第1の差異データとを利用して前記第1の設定データを生成して、前記第1の設定データを前記端末装置に送信する設定データ送信部と、前記第1の設定データが前記端末装置に送信された後に、前記端末装置から前記第1の設定データによって示される2個以上の値を含む前記画像処理の実行要求が受信される場合に、前記2個以上の値に従った前記画像処理を前記画像処理実行部に実行させる画像処理制御部と、を備える。 The image processing apparatus disclosed in the present specification is an image processing execution unit for executing image processing and a memory capable of storing reference data which is a reference of setting data related to the image processing, and is the reference. The data includes the registration of the first setting data from the memory and the terminal device, which includes N values corresponding to N setting items (the N is an integer of 2 or more) for executing the image processing. A difference data generation unit that generates first difference data related to a difference between the reference data and the first setting data when the first registration request to be requested is received. The setting data of 1 includes N values corresponding to the N setting items, and for N1 setting items (the N1 is an integer of 1 or more and less than the N) among the N setting items. Regarding N2 setting items other than the N1 setting item among the N setting items whose values are different between the reference data and the first setting data, the reference data and the first setting item. When the value is the same as that of the setting data of 1, the first difference data includes N1 values corresponding to the N1 setting items in the first setting data, and also includes The difference data generation unit that does not include the N2 values corresponding to the N2 setting items in the first setting data, and the storage control that stores the generated first difference data in the memory. When a data acquisition request is received from the terminal device after the first difference data is stored in the memory, the first difference data is used by using the reference data and the first difference data. The setting data transmission unit that generates the setting data of the above and transmits the first setting data to the terminal device, and the first setting data from the terminal device after the first setting data is transmitted to the terminal device. When the execution request of the image processing including the two or more values indicated by the setting data of is received, the image processing control for causing the image processing execution unit to execute the image processing according to the two or more values. It has a part and.
上記の構成によれば、画像処理装置は、基準データと第1の設定データとの間の差異に関係する第1の差異データをメモリに記憶することによって、第1の設定データの登録を実現することができる。ここで、第1の差異データは、基準データとの間に差異があるN1個の値を含むが、基準データとの間に差異が無いN2個の値を含まない。このため、第1の設定データに含まれるN個の設定項目に対応するN個の値そのものをメモリに記憶する構成と比べると、メモリに記憶されるデータサイズを圧縮し得る。 According to the above configuration, the image processing apparatus realizes registration of the first setting data by storing the first difference data related to the difference between the reference data and the first setting data in the memory. can do. Here, the first difference data includes N1 values having a difference from the reference data, but does not include N2 values having no difference from the reference data. Therefore, the data size stored in the memory can be compressed as compared with the configuration in which the N values themselves corresponding to the N setting items included in the first setting data are stored in the memory.
また、本明細書で開示される画像処理装置は、画像処理を実行するための画像処理実行部と、前記画像処理に関係する設定データの基準である基準データを記憶可能なメモリであって、前記基準データは、前記画像処理を実行するための1個以上の設定項目のそれぞれについて、当該設定項目を識別する識別子と、当該設定項目に対応する項目名と、を含む、前記メモリと、端末装置から第1の設定データの登録を要求する第1の登録要求が受信される場合に、前記基準データを利用して前記第1の設定データを生成するための材料となる材料データを生成する材料データ生成部であって、前記第1の設定データは、前記画像処理の1個以上の設定項目のそれぞれについて、当該設定項目を示す項目名と、当該設定項目に対応する値と、を含み、前記材料データは、前記1個以上の設定項目のそれぞれについて、当該設定項目を識別する識別子と、当該設定項目に対応する値と、を含み、前記識別子の長さは、前記項目名の長さよりも短い、前記材料データ生成部と、生成済みの前記材料データを前記メモリに記憶する記憶制御部と、前記材料データが前記メモリに記憶された後に、前記端末装置からデータ取得要求が受信される場合に、前記基準データと前記材料データとを利用して前記第1の設定データを生成して、前記第1の設定データを前記端末装置に送信する設定データ送信部と、前記第1の設定データが前記端末装置に送信された後に、前記端末装置から前記第1の設定データによって示される1個以上の値に従った前記画像処理の実行要求が受信される場合に、前記1個以上の値に従った前記画像処理を前記画像処理実行部に実行させる画像処理制御部と、を備える。 Further, the image processing apparatus disclosed in the present specification is an image processing execution unit for executing image processing and a memory capable of storing reference data which is a reference of setting data related to the image processing. The reference data includes the memory and the terminal including an identifier that identifies the setting item and an item name corresponding to the setting item for each of one or more setting items for executing the image processing. When the first registration request requesting the registration of the first setting data is received from the apparatus, the reference data is used to generate material data as a material for generating the first setting data. In the material data generation unit, the first setting data includes, for each of one or more setting items of the image processing, an item name indicating the setting item and a value corresponding to the setting item. The material data includes, for each of the one or more setting items, an identifier that identifies the setting item and a value corresponding to the setting item, and the length of the identifier is the length of the item name. A shorter data data generation unit, a storage control unit that stores the generated material data in the memory, and a data acquisition request are received from the terminal device after the material data is stored in the memory. In this case, the setting data transmission unit that generates the first setting data by using the reference data and the material data and transmits the first setting data to the terminal device, and the first setting data. After the setting data is transmitted to the terminal device, when the terminal device receives the execution request of the image processing according to the one or more values indicated by the first setting data, the one or more. An image processing control unit that causes the image processing execution unit to execute the image processing according to the value of.
上記の構成によれば、画像処理装置は、第1の設定データを生成するための材料となる材料データをメモリに記憶することによって、第1の設定データの登録を実現することができる。ここで、第1の設定データは、項目名と値を含む。一方、材料データは、識別子と値とを含む。そして、識別子の長さは、項目名の長さよりも短い。このため、第1の設定データそのものをメモリに記憶することによって第1の設定データの登録を実現する構成と比べて、メモリに記憶されるデータサイズを圧縮し得る。 According to the above configuration, the image processing apparatus can realize the registration of the first setting data by storing the material data as the material for generating the first setting data in the memory. Here, the first setting data includes an item name and a value. Material data, on the other hand, includes identifiers and values. The length of the identifier is shorter than the length of the item name. Therefore, the data size stored in the memory can be compressed as compared with the configuration in which the registration of the first setting data is realized by storing the first setting data itself in the memory.
上記の画像処理装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。 A control method for realizing the above-mentioned image processing apparatus, a computer program, and a computer-readable recording medium for storing the computer program are also new and useful.
(第1実施例)
(通信システム2の構成;図1)
図1に示すように、通信システム2は、プリンタ10と、端末100と、を備える。プリンタ10と端末100は、同じLAN(Local Area Networkの略)4に所属しており、LAN4を介して相互に通信可能である。なお、LAN4は、有線LANでもよいし、無線LANでもよい。
(First Example)
(Configuration of
As shown in FIG. 1, the
(プリンタ10の構成)
プリンタ10は、印刷処理を実行可能な周辺装置(即ち端末100の周辺装置)である。なお、プリンタ10は、印刷処理に加えて、スキャン処理、FAX処理等を実行可能な多機能機であってもよい。プリンタ10は、操作部12と、表示部14と、印刷実行部16と、LANインターフェース(以下ではインターフェースを「I/F」と記載する)20と、制御部30と、を備える。
(Configuration of printer 10)
The
操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。表示部14は、いわゆるタッチパネル(即ち、操作部)としても機能する。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。LANI/F20は、LAN4に接続されている。
The
制御部30は、CPU32と、メモリ34と、を備える。CPU32は、メモリ34に格納されているプログラム40に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、基準データ42と、プリセットテーブル44と、を記憶している。
The
基準データ42は、IPP(Internet Printing Protocolの略)に従ったプリセットデータの基準となるデータである。プリセットデータは、印刷処理を実行するための複数個の設定項目(例えば、部数、色数、画質、サイズ等)に対応する複数個の設定値を含む。そして、基準データ42は、複数個の設定項目のそれぞれについて、当該設定項目を識別する識別番号(即ちNo)と、当該設定項目の項目名(即ちAttribute Name)と、当該設定項目に対応する設定値(即ちAttribute Value)とを含む。識別番号は、例えば、連番である。基準データ42は、プリンタ10の出荷段階において予めメモリ34に記憶されている。
The
プリセットテーブル44には、1個以上のプリセットデータのそれぞれについて、当該プリセットデータを生成するための材料となる1個以上のプリセット情報が記憶されている。プリセット情報は、プリセット名と、ユーザ名と、差異データと、を含む。プリセット名は、プリセットデータを識別するための情報である。ユーザ名は、プリンタ(例えばプリンタ10)を利用するユーザを識別するための情報である。なお、変形例では、ユーザ名は、端末(例えば端末100)を利用するユーザを識別するための情報であってもよい。差異データは、基準データ42とプリセットデータとの間の差異に関係するデータである。差異データは、複数個の設定項目のそれぞれについて、当該設定項目を識別する識別番号(即ちNo)と、差異フラグと、当該設定項目に対応する設定値(即ちAttribute Value)と、を含む。差異フラグは、同じ設定項目について、基準データ42の中の設定値とプリセットデータの中の設定値との間に差異があることを示す「YES」と、当該差異が無いことを示す「NO」と、のうちのいずれかの値を示す。
For each of the one or more preset data, the preset table 44 stores one or more preset information which is a material for generating the preset data. The preset information includes a preset name, a user name, and difference data. The preset name is information for identifying the preset data. The user name is information for identifying a user who uses a printer (for example, printer 10). In the modified example, the user name may be information for identifying a user who uses the terminal (for example, the terminal 100). The difference data is data related to the difference between the
(端末100の構成)
端末100は、PC等の据置型の端末装置である。なお、変形例では、端末100は、スマートフォン、タブレットPC、ノートPC等の可搬型の端末装置であってもよい。端末100には、端末100を利用するユーザを識別するためのユーザ名UNが記憶されている。
(Configuration of terminal 100)
The terminal 100 is a stationary terminal device such as a PC. In the modified example, the terminal 100 may be a portable terminal device such as a smartphone, a tablet PC, or a notebook PC. The terminal 100 stores a user name UN for identifying a user who uses the
端末100は、インターネット上のサーバからインストールされたIPPプログラム(図示省略)を備える。IPPプログラムは、HTTP(Hyper Text Transfer Protocolの略)に従ったIPPコマンドを生成して、当該コマンドをプリンタ10に送信するためのプログラムである。本実施例では、上記のサーバは、プリンタ10のベンダとは異なる事業者によって提供されるものである。ただし、変形例では、上記のサーバは、プリンタ10のベンダによって提供されてもよい。なお、端末100は、上記のサーバからIPPプログラムをインストールすることなく、IPPを予めサポートしていてもよい。
The terminal 100 includes an IPP program (not shown) installed from a server on the Internet. The IPP program is a program for generating an IPP command according to HTTP (abbreviation of Hyper Text Transfer Protocol) and transmitting the command to the
(プリセットデータの構造;図2)
図2を参照して、IPPに従ったプリセットデータの構造について説明する。プリセットデータは、プリセット名と、オブジェクトと、を含む。図2では、オブジェクトの構造について説明する。当該オブジェクトは、Attribute Syntax、Length of Attribute Name、Attribute Name、Length of Attribute Value、Attribute Valueを含む。
(Structure of preset data; Fig. 2)
The structure of preset data according to IPP will be described with reference to FIG. The preset data includes a preset name and an object. FIG. 2 describes the structure of the object. The object includes Attribute Syntax, Length of Attribute Name, Attribute Name, Length of Attribute Value, and Attribute Value.
Attribute Syntaxは、対応するAttribute Valueの構文を示す。Attribute Syntaxは、例えば、「integer」、「enum」、「boolean」、「keyword」、「text」、「name」、及び、「octetString」のうちのいずれかを示す。なお、IPPでは、Attribute Syntaxとして、上記の値以外の値も定義されているが、その説明を省略する。 Attribute Syntax indicates the syntax of the corresponding Attribute Value. The Attribute Syntax indicates, for example, one of "integer", "enum", "boolean", "keyword", "text", "name", and "octetString". In IPP, values other than the above values are defined as Attribute Syntax, but the description thereof will be omitted.
「integer」は、Attribute Valueが整数の構文を有することを示す。「enum」Attribute Valueが列挙型の識別子の構文を有することを示す。「boolean」は、Attribute Valueが論理値(即ち「真」及び「偽」のいずれか)の構文を有することを示す。「keyword」は、Attribute ValueがUS-ASCII等の文字コードの構文を有することを示す。「text」は、Attribute Valueが比較的長い文字列の構文を有することを示す。「name」は、Attribute Valueが、プリンタ名といったユーザフレンドリーな文字列に利用される構文を有することを示す。なお、「text」と「name」は、本質的には同じである。「octetString」は、Attribute ValueがOpaque dataの構文を有することを示す。 "Integer" indicates that the Attribute Value has an integer syntax. Indicates that the "enum" Attribute Value has the syntax of an enumerated identifier. "Boolean" indicates that the Attribute Value has the syntax of a logical value (ie, either "true" or "false"). “Keyword” indicates that the Attribute Value has a character code syntax such as US-ASCII. "Text" indicates that the Attribute Value has a relatively long string syntax. "Name" indicates that the Attribute Value has the syntax used for user-friendly strings such as printer names. Note that "text" and "name" are essentially the same. "OctetString" indicates that the Attribute Value has the syntax of Opaque data.
「integer」及び「enum」のAttribute Valueの最大長さは、4オクテットであり、「boolean」のAttribute Valueの最大長さは、1オクテットである。また、「text」及び「octetString」のAttribute Valueの最大長さは、1023オクテットであり、「name」のAttribute Valueの最大長さは、255オクテットである。なお、「keyword」のAttribute Valueの最大長さは、特に定義されていない。即ち、「integer」、「enum」及び「boolean」の構文を有するAttribute Valueの最大長さは、「text」、「octetString」、「name」及び「keyword」の構文を有するAttribute Valueの最大長さよりも短い。 The maximum length of the Attribute Value of "integer" and "enum" is 4 octets, and the maximum length of the Attribute Value of "boolean" is 1 octet. The maximum length of the Attribute Value of "text" and "octetString" is 1023 octets, and the maximum length of the Attribute Value of "name" is 255 octets. The maximum length of the "keyword" Attribute Value is not specifically defined. That is, the maximum length of an Attribute Value with the syntax "integer", "enum" and "boolean" is greater than the maximum length of the Attribute Value with the syntax "text", "octetString", "name" and "keyword". Is also short.
Attribute Nameは、印刷処理を実行するための設定項目を示す項目名である。Length of Attribute Nameは、Attribute Nameの長さを示す。設定項目の項目名は、例えば、部数(copies)、色数(print-color-mode)、印刷面(sides)、画質(print-quality)、印刷媒体(media)等である。IPPでは、Attribute Nameとして、上記の項目名以外の項目名も定義されているが、その説明を省略する。 The Attribute Name is an item name indicating a setting item for executing the printing process. Length of Attribute Name indicates the length of Attribute Name. The item names of the setting items are, for example, the number of copies (copies), the number of colors (print-color-mode), the print surface (sides), the image quality (print-quality), the print medium (media), and the like. In IPP, item names other than the above item names are also defined as Attribute Names, but the description thereof will be omitted.
Attribute Valueは、印刷処理を実行するための設定項目に対応する設定値である。Length of Attribute Valueは、Attribute Valueの長さを示す。例えば、設定項目が「色数」である場合には、設定値は、「モノクロ」又は「カラー」である。設定項目が「印刷面」である場合には、設定値は、「片面」、「両面の長辺綴じ」及び「両面の短辺綴じ」等のいずれかである。また、設定項目が「印刷媒体」である場合には、設定値は、印刷媒体のサイズであるA3、A4、B5等のいずれかである。 Attribute Value is a setting value corresponding to a setting item for executing the printing process. Length of Attribute Value indicates the length of Attribute Value. For example, when the setting item is "the number of colors", the setting value is "monochrome" or "color". When the setting item is "print side", the set value is one of "single side", "double-sided long-edge binding", "double-sided short-edge binding", and the like. When the setting item is "printing medium", the setting value is any of the sizes of the printing medium, such as A3, A4, and B5.
図2に示すように、例えば、設定項目「部数」のAttribute Syntaxは、「integer」を示し、設定項目「色数」のAttribute Syntaxは、「keyword」を示し、設定項目「画質」のAttribute Syntaxは、「enum」を示す。 As shown in FIG. 2, for example, the Attribute Syntax of the setting item "Number of copies" indicates "integer", the Attribute Syntax of the setting item "Number of colors" indicates "keyword", and the Attribute Syntax of the setting item "Image quality". Indicates "enum".
(新しいプリセットデータの登録;図3)
図3を参照して、プリセットデータを登録する処理について説明する。ここで、「プリセットデータを登録する」ことは、プリセットデータを生成するための材料となるプリセット情報をプリセットテーブル44に記憶することを意味する。図3の初期状態では、プリセットテーブル44には、ユーザ名UNに関連付けられているプリセット情報(即ちユーザ名UNを含むプリセット情報)が未だ記憶されていない。なお、以下では、特に言及しない限り、プリンタ10のCPU32が実行する処理について、理解の容易さの観点から、CPU32を主体として記載せずに、プリンタ10を主体として記載する。また、以下では、プリンタ10と端末100は、LAN4及びLANI/F20を介して、通信する。以下では、特に言及しない限り、「LAN4を介して」及び「LANI/F20を介して」という説明を省略する。
(Registration of new preset data; Fig. 3)
The process of registering preset data will be described with reference to FIG. Here, "registering preset data" means storing preset information as a material for generating preset data in the preset table 44. In the initial state of FIG. 3, the preset table 44 does not yet store the preset information associated with the user name UN (that is, the preset information including the user name UN). In the following, unless otherwise specified, the processing executed by the
端末100は、T10において、印刷処理の設定値を入力するための印刷設定画面を表示するための操作を受け付けると、T12において、Get−Printer−Attributesコマンド(以下では「GPA」と記載する)をプリンタ10に送信する。GPAは、プリンタ10が実行可能な全ての印刷条件(例えば、「モノクロ」、「カラー」、「片面」、「両面の長辺綴じ」「両面の短辺綴じ」等)を示す能力情報の送信をプリンタ10に要求するコマンドである。また、当該GPAは、ユーザ名UNを含む。
When the terminal 100 receives an operation for displaying a print setting screen for inputting a print processing setting value in T10, the terminal 100 issues a Get-Printer-Attributes command (hereinafter referred to as "GPA") in T12. It is transmitted to the
プリンタ10は、T12において、端末100からGPAを受信すると、T22において、GPA内のユーザ名UNの認証を実行する。図3のケースでは、ユーザ名UNによって示されるユーザの認証が成功する。なお、仮に、GPAにユーザ名が含まれていない場合には、プリンタ10は、ユーザ名を入力するための入力画面を端末100に表示させるための画面要求を端末100に送信する。
When the
プリンタ10は、ユーザの認証が成功すると、T26において、GPAに対する応答である能力応答を端末100に送信する。図3では、プリセット情報が未だ記憶されていない状況について説明する。この状況では、能力応答は、能力情報を含み、プリセットデータを含まない。なお、1個以上のプリセット情報が記憶されている状況については、後述する図7で説明する。
When the user authentication is successful, the
端末100は、T26において、プリンタ10から能力応答を受信すると、T30において、印刷設定画面(図示省略)とプリセット画面とを表示する。印刷設定画面は、能力応答に含まれる能力情報に適合する設定値を入力するための入力欄を含む。また、プリセット画面は、登録済みのプリセットデータのリストと、新しいプリセットデータを登録するための「New」ボタンを含む。図3の状況では、ユーザ名UNに関連付けられているプリセット情報が存在しないので、リストは空である。
Upon receiving the capability response from the
T32では、端末100は、ユーザから「New」ボタンの選択を受け付ける。T34では、端末100は、新しいプリセットデータを登録するための登録画面を表示する。登録画面は、プリセット名を入力するためのプリセット名入力欄と、能力応答に含まれる能力情報に適合する設定値を入力するための複数個の設定入力欄と、「OK」ボタンと、を含む。例えば、複数個の設定値入力欄は、色数を入力するための欄と、部数を入力するための欄と、画質を入力するための欄と、印刷面を入力するための欄と、印刷媒体のサイズを入力するための欄と、を含む。なお、登録画面では、複数個の設定値入力欄のうちの少なくとも1個の欄に値を入力すればよい。 At T32, the terminal 100 accepts the user to select the "New" button. At T34, the terminal 100 displays a registration screen for registering new preset data. The registration screen includes a preset name input field for inputting a preset name, a plurality of setting input fields for inputting setting values matching the ability information included in the ability response, and an "OK" button. .. For example, a plurality of setting value input fields include a field for inputting the number of colors, a field for inputting the number of copies, a field for inputting image quality, a field for inputting a print surface, and printing. Includes a field for entering the size of the medium. On the registration screen, a value may be input in at least one of a plurality of setting value input fields.
T35では、端末100が、登録画面において、プリセット名「Preset1」と、色数「モノクロ」と、部数「1」と、の入力を受け付ける。T36では、端末100は、登録画面内の「OK」ボタンの選択を受け付ける。 In T35, the terminal 100 accepts the input of the preset name "Preset1", the number of colors "monochrome", and the number of copies "1" on the registration screen. At T36, the terminal 100 accepts the selection of the "OK" button in the registration screen.
T38では、端末100は、T35において入力されたプリセット名「Preset1」と、T35において入力された設定値(即ち「モノクロ」、部数「1」)を示すオブジェクトと、を含むプリセットデータPD1を生成する。 In T38, the terminal 100 generates preset data PD1 including the preset name "Preset1" input in T35 and the object indicating the set value (that is, "monochrome", the number of copies "1") input in T35. ..
T40では、端末100は、IPPに従ったSet−Printer−Attributesコマンド(以下では「SPA」と記載する)をプリンタ10に送信する。SPAは、プリセットデータの登録をプリンタ10に要求するコマンドである。当該SPAは、ユーザ名UNとT38で生成されたプリセットデータPD1とを含む。
At T40, the terminal 100 transmits a Set-Printer-Attributes command (hereinafter referred to as "SPA") according to the IPP to the
プリンタ10は、T40において、端末100からSPAを受信すると、T42において、基準データ42とSPA内のプリセットデータとを比較して、差異データ内の情報を決定するための比較処理を実行する。
When the
図3の初期状態において、基準データ42は、識別番号「1」に対応する部数「1」と識別番号「2」に対応する色数「モノクロ」とを含む(図1参照)。また、上記したように、プリセットデータPD1は、部数「1」と色数「モノクロ」とを含む。即ち、基準データ42とプリセットデータPD1との間に差異は無い。このため、後述するT44で記憶される差異データD1は、識別番号「1」、「2」のそれぞれについて、差異フラグ「NO」を含み、識別番号「1」、「2」のそれぞれについて、値を含まない(図1参照)。なお、基準データ42とプリセットデータPD1との間に差異がある具体的なケースについては、図4にて後述する。また、基準データ42の設定項目の個数よりもプリセットデータPD1の設定項目の個数が多い場合がある。このケースについては、図5にて後述する。
In the initial state of FIG. 3, the
T44では、プリンタ10は、T42で決定された情報を含む差異データD1を生成し、プリセット名「Preset1」とユーザ名UNと差異データD1とを含むプリセット情報をプリセットテーブル44に記憶する。
In T44, the
T46では、プリンタ10は、プリセット名「Preset1」によって識別されるプリセットデータがプリンタ10に登録されたことを示す登録完了通知を端末100に送信する。
At T46, the
(ケースA1;図4)
ケースA1は、図3においてプリセットデータPD1が登録された後に、プリセットデータPD2を含むSPAが受信されて、プリセットデータPD2が登録されるケースを示す。
(Case A1; Fig. 4)
Case A1 shows a case in which the SPA including the preset data PD2 is received and the preset data PD2 is registered after the preset data PD1 is registered in FIG.
図4に示すように、プリセットデータPD2は、2個の設定項目に対応する2個の設定値を含む。具体的には、プリセットデータPD2は、部数「10」と色数「モノクロ」とを含む。 As shown in FIG. 4, the preset data PD2 includes two setting values corresponding to the two setting items. Specifically, the preset data PD2 includes the number of copies "10" and the number of colors "monochrome".
また、基準データ42は、図3の初期状態と同様に、部数「1」と色数「モノクロ」とを含む。
Further, the
本ケースの比較処理(図3のT42参照)では、プリンタ10は、識別番号「1」の設定項目「部数」について、基準データ42内の「1」とプリセットデータPD2内の「10」が異なると判断し、設定項目「部数」に対応する差異フラグを「YES」に決定し、差異データD2として、差異フラグ「YES」とプリセットデータPD2内の設定値「10」とを含めることを決定する。続いて、プリンタ10は、識別番号「2」の設定項目「色数」について、基準データ42内の「モノクロ」とプリセットデータPD2内の「モノクロ」が同じであると判断し、設定項目「色数」に対応する差異フラグ「NO」に決定し、差異データD2として、差異フラグ「NO」を含み、プリセットデータPD2内の設定値「モノクロ」を含めないことを決定する。そして、プリンタ10は、本ケースの比較処理で決定された情報を含む差異データD2を生成し、プリセットデータPD2のプリセット名「Preset2」とユーザ名UNと差異データD2とを含むプリセット情報をプリセットテーブル44に記憶する。
In the comparison process of this case (see T42 in FIG. 3), in the
本ケースによれば、プリンタ10は、基準データ42とプリセットデータPD2との間の差異に関係する差異データD2をメモリ34に記憶することによって、プリセットデータPD2の登録を実現することができる。ここで、差異データD2は、設定項目「部数」について、基準データ42との間に差異がある設定値「10」を含むが、設定項目「色数」について、基準データ42との間に差異がない設定値「モノクロ」を含まない。例えば、基準データ42を利用せずに、プリセットデータPD2に含まれる2個の設定項目に対応する2個の設定値(即ち部数「10」と色数「モノクロ」)の全てをメモリ34に記憶する比較例が想定される。この比較例では、4個の設定値(即ち、2個の部数の設定値と、2個の色数の設定値)がメモリ34に記憶される。これに対して、本実施例によれば、基準データに加えて新たに1個のプリセットデータを登録すると、基準データ42の2個の設定値と、差異のあるプリセットデータPD2の1個の設定値がメモリ34に記憶され、差異のないプリセットデータPD1の設定値がメモリ34に記憶されない。即ち、本実施例では、基準データに加えて新たに1個のプリセットデータを登録すると、3個の設定値がメモリ34に記憶される。このため、本実施例の構成では、上記の比較例と比べて、メモリ34に記憶されるデータサイズを圧縮することができる。そして、登録されるプリセットデータの個数が多くなるほど、比較例と比べて、メモリ34に記憶されるデータサイズをさらに圧縮することができる。
According to this case, the
(ケースA2;図5)
ケースA2は、ケースA1の続きを示す。本ケースでは、プリセットデータPD3を含むSPAが受信されて、プリセットデータPD3が登録される。
(Case A2; Fig. 5)
Case A2 shows a continuation of case A1. In this case, the SPA including the preset data PD3 is received and the preset data PD3 is registered.
図5に示すように、プリセットデータPD3は、4個の設定項目に対応する4個の設定値を含む。具体的には、プリセットデータPD3は、部数「1」と色数「カラー」と印刷面「両面長辺綴じ」と画質「4」とを含む。 As shown in FIG. 5, the preset data PD3 includes four setting values corresponding to the four setting items. Specifically, the preset data PD3 includes the number of copies "1", the number of colors "color", the printing surface "double-sided long edge binding", and the image quality "4".
また、基準データ42は、図3の初期状態と同様に、部数「1」と色数「モノクロ」とを含む。即ち、図5に示すように、基準データ42は、プリセットデータPD3の4個の設定項目のうちの2個の設定項目(即ち「部数」と「色数」)に対応する2個の設定値を含み、他の2個の設定項目(即ち「印刷面」と「画質」)に対応する2個の設定値を含まない。即ち、本ケースでは、基準データ42の設定項目の個数よりもプリセットデータPD3の設定項目の個数が多い。
Further, the
基準データ42の設定項目の個数を多くするほど、基準データ42のデータサイズが大きくなる。当初の基準データ42の設定項目の個数が少ないことで、プリンタ10のメモリ34に予め記憶される基準データ42のデータサイズを圧縮することができる。
As the number of setting items of the
プリンタ10は、基準データ42の設定項目の個数よりも多い設定項目を有するプリセットデータが受信される場合に、基準データ42を拡張する。具体的には、プリンタ10は、プリセットデータPD3の中から、基準データ42に含まれない設定項目の項目名(即ちAttribute Name)を特定する。本ケースでは、プリンタ10は、基準データ42に含まれない項目名「印刷面」と項目名「画質」を特定する。プリンタ10は、新しい識別番号「3」に関連付けて、項目名「印刷面」とプリセットデータPD3の設定値「両面長辺綴じ」を基準データ42に追加し、さらに、新しい識別番号「4」に関連付けて、項目名「画質」とプリセットデータPD3の設定値「4」を基準データ42に追加する。これにより、基準データ42が、2個の設定項目から4個の設定項目に拡張される。
The
本ケースの比較処理(図3のT42参照)では、プリンタ10は、拡張後の基準データ42とプリセットデータPD3とを比較する。具体的には、プリンタ10は、設定項目「部数」、「印刷面」、「画質」のそれぞれについて、基準データ42内の設定値とプリセットデータPD3内の設定値が同じであるので、差異フラグを「NO」に決定し、差異データD3としてプリセットデータPD3内の3個の設定値「1」、「両面長辺綴じ」、「4」を含めないことを決定する。また、プリンタ10は、設定項目「色数」について、基準データ42内の設定値とプリセットデータPD3内の設定値が異なるので、差異フラグを「YES」に決定し、差異データD3としてプリセットデータPD3内の1個の設定値「カラー」を含めることを決定する。そして、プリンタ10は、本ケースの比較処理で決定された情報を含む差異データD3を生成し、プリセットデータPD3のプリセット名「Preset3」とユーザ名UNと差異データD3とを含むプリセット情報をプリセットテーブル44に記憶する。
In the comparison process of this case (see T42 in FIG. 3), the
(ケースA3;図6)
ケースA3は、ケースA2の続きを示す。本ケースでは、プリセットデータPD4を含むSPAが受信されて、プリセットデータPD4が登録される。
(Case A3; Fig. 6)
Case A3 shows a continuation of case A2. In this case, the SPA including the preset data PD4 is received and the preset data PD4 is registered.
図6に示すように、プリセットデータPD4は、拡張後の基準データ42と同じ4個の設定項目に対応する4個の設定値を含む。具体的には、プリセットデータPD4は、部数「1」と色数「カラー」と印刷面「両面長辺綴じ」と画質「3」とを含む。
As shown in FIG. 6, the preset data PD4 includes four setting values corresponding to the same four setting items as the expanded
本ケースの比較処理(図3のT42参照)では、プリンタ10は、拡張後の基準データ42とプリセットデータPD4とを比較する。具体的には、プリンタ10は、プリンタ10は、2個の設定項目「部数」、「印刷面」のそれぞれについて、基準データ42内の設定値とプリセットデータPD4内の設定値が同じであるので、差異フラグを「NO」に決定し、差異データD4としてプリセットデータPD4内の2個の設定値「1」、「両面長辺綴じ」を含めないことを決定する。また、プリンタ10は、2個の設定項目「色数」、「画質」について、基準データ42内の設定値とプリセットデータPD4内の設定値が異なるので、差異フラグを「YES」に決定し、差異データD4としてプリセットデータPD4内の2個の設定値「カラー」、「3」を含めることを決定する。そして、プリンタ10は、本ケースの比較処理で決定された情報を含む差異データD4を生成し、プリセットデータPD4のプリセット名「Preset4」とユーザ名UNと差異データD4とを含むプリセット情報をプリセットテーブル44に記憶する。
In the comparison process of this case (see T42 in FIG. 3), the
例えば、基準データ42の設定項目の個数よりも多い設定項目を有するプリセットデータが受信される場合に、基準データ42を拡張しない比較例が想定される。この比較例では、基準データ42に含まれる設定項目と同じ設定項目については、上記のように、データサイズを圧縮することができるが、基準データ42に含まれる設定項目と異なる設定項目については、プリセットデータに含まれる当該設定項目に対応する設定値をメモリ34に記憶する必要がある。これに対して、図6のケースA3によれば、拡張前の基準データ42に含まれる設定項目とは異なる設定項目「印刷面」について、プリセットデータPD4に含まれる設定値「両面長辺綴じ」をメモリ34に記憶しなくてもよい。本ケースによれば、基準データ42を拡張しない比較例と比べて、メモリ34に記憶されるデータサイズをさらに圧縮することができる。なお、変形例では、上記の比較例を採用してもよい。
For example, when preset data having more setting items than the number of setting items of the
(ケースA4;図7)
ケースA4は、ケースA3の続きを示す。本ケースでは、プリセットデータPD5を含むSPAが受信されて、プリセットデータPD5が登録される。
(Case A4; Fig. 7)
Case A4 shows a continuation of case A3. In this case, the SPA including the preset data PD5 is received and the preset data PD5 is registered.
図7に示すように、プリセットデータPD5は、拡張後の基準データ42の設定項目の個数よりも少ない設定項目を有する。具体的には、プリセットデータPD5は、部数「1」と色数「カラー」と画質「4」とを含み、設定項目「印刷面」に対応する設定値を含まない。
As shown in FIG. 7, the preset data PD5 has less setting items than the number of setting items of the expanded
本ケースの比較処理(図3のT42参照)では、プリンタ10は、拡張後の基準データ42とプリセットデータPD5とを比較する。具体的には、プリンタ10は、プリンタ10は、2個の設定項目「部数」、「画質」のそれぞれについて、基準データ42内の設定値とプリセットデータPD5内の設定値が同じであるので、差異フラグを「NO」に決定し、差異データD5としてプリセットデータPD5内の2個の設定値「1」、「4」を含めないことを決定する。また、プリンタ10は、1個の設定項目「色数」について、基準データ42内の設定値とプリセットデータPD5内の設定値が異なるので、差異フラグを「YES」に決定し、差異データD5としてプリセットデータPD5内の2個の設定値「カラー」を含めることを決定する。また、プリンタ10は、1個の設定項目「印刷面」について、プリセットデータPD5が設定項目「印刷面」に対応する設定値を含まないので、設定項目「印刷面」に対応する設定値及び差異フラグを差異データD5に含めないことを決定する。そして、プリンタ10は、本ケースの比較処理で決定された情報を含む差異データD5を生成し、プリセットデータPD5のプリセット名「Preset5」とユーザ名UNと差異データD5とを含むプリセット情報をプリセットテーブル44に記憶する。
In the comparison process of this case (see T42 in FIG. 3), the
(印刷;図8)
図7を参照して、プリセットデータを利用した印刷について説明する。本ケースは、図7の続きである。本ケースの初期状態では、5個のプリセットデータPD1〜PD5を生成するための材料となる5個のプリセット情報がプリセットテーブル44に記憶されている。
(Printing; Fig. 8)
Printing using preset data will be described with reference to FIG. 7. This case is a continuation of FIG. In the initial state of this case, five preset information, which is a material for generating the five preset data PD1 to PD5, is stored in the preset table 44.
T100〜T122は、図3のT10〜T22と同様である。T124では、プリンタ10は、5個のプリセットデータPD1〜PD5を生成する(即ち復元する)。まず、プリンタ10は、プリセットテーブル44の中から、ユーザ名UNに関連付けられている5個のプリセット情報を特定する。そして、プリンタ10は、特定済みの5個のプリセット情報を利用して、プリセットデータPD1〜PD5を生成する。
T100 to T122 are the same as T10 to T22 in FIG. In T124, the
例えば、プリセットデータPD2は、差異データD2を利用して、次のように復元される(図4参照)。まず、プリンタ10は、差異データD2の中の識別番号「1」を選択する。プリンタ10は、差異データD2の識別番号「1」に対応する差異フラグが「YES」を示すと判断する。この場合、プリンタ10は、基準データ42の識別番号「1」に対応する項目名「部数(copies)」と、差異データD2の識別番号「1」に対応する設定値「10」と、を組み合わせて、プリセットデータPD2のうちの設定項目「部数」についてのデータを復元する。次いで、プリンタ10は、差異データD2の中の識別番号「2」を選択する。プリンタ10は、差異データD2の識別番号「2」に対応する差異フラグが「NO」を示すと判断する。この場合、プリンタ10は、基準データ42の識別番号「2」に対応する項目名「色数(print-color-mode)」及び設定値「モノクロ(monochrome)」をプリセットデータPD2のうちの設定項目「色数」についてのデータとして採用する。これにより、プリセットデータPD2が復元される。プリセットデータPD1、PD3〜PD5も、同様に復元される。
For example, the preset data PD2 is restored as follows using the difference data D2 (see FIG. 4). First, the
T126は、能力応答がプリセットデータPD1〜PD5を含む点を除いて、図3のT26と同様である。T130は、T30と同様である。 T126 is similar to T26 in FIG. 3 except that the capability response includes preset data PD1 to PD5. T130 is the same as T30.
本ケースでは、プリセット画面内のリストには、プリセットデータPD1〜PD5に対応するプリセット名「Preset1」〜「Preset5」が含まれる。ユーザは、プリセット画面内のリストのうちのプリセット名「Preset2」を選択する。この場合、端末100は、印刷の実行の指示を受け付ける「Print」ボタンを含む印刷画面を表示する。印刷画面は、さらに、プリセット名「Preset2」のプリセットデータPD2によって示される部数「10」及び色数「モノクロ」を含む。これにより、ユーザは、プリセット名「Preset2」として登録された設定値を確認することができる。 In this case, the list in the preset screen includes preset names "Preset1" to "Preset5" corresponding to the preset data PD1 to PD5. The user selects the preset name "Preset2" from the list in the preset screen. In this case, the terminal 100 displays a print screen including a "Print" button that receives an instruction to execute printing. The print screen further includes the number of copies "10" and the number of colors "monochrome" indicated by the preset data PD2 of the preset name "Preset2". As a result, the user can confirm the set value registered as the preset name "Preset2".
T140では、端末100は、印刷画面において「Print」ボタンの選択を受け付ける。T150では、端末100は、印刷対象の画像の印刷を要求する印刷実行要求をプリンタ10に送信する。印刷実行要求は、ユーザ名UNと、2個の設定値(即ち、部数「10」及び色数「モノクロ」)と、印刷対象の画像に対応する画像データと、を含む。
At T140, the terminal 100 accepts the selection of the "Print" button on the print screen. At T150, the terminal 100 transmits a print execution request requesting printing of the image to be printed to the
プリンタ10は、T150において、端末100から印刷実行要求を受信すると、印刷実行要求に含まれる2個の設定値に従って、印刷実行要求に含まれる画像データに対応する画像の印刷処理を印刷実行部16に実行させる。
When the
(対応関係)
プリンタ10、印刷実行部16、メモリ34が、それぞれ、「画像処理装置」、「画像処理実行部」、「メモリ」の一例である。端末100が、「端末装置」の一例である。基準データ42が、「基準データ」の一例である。GPAが、「データ取得要求」の一例である。識別番号、Attribute Nameが、それぞれ、「識別子」、「項目名」の一例である。
(Correspondence)
The
図4について、プリセットデータPD2、プリセットデータPD2を含むSPAが、それぞれ、「第1の設定データ」、「第1の登録要求」の一例である。2個の設定項目「部数」、「色数」が、「N個の設定項目」の一例である。1個の設定項目「部数」、1個の設定項目「色数」が、それぞれ、「N1個の設定項目」、「N2個の設定項目」の一例である。プリセットデータPD2内の1個の設定値である部数「10」が、「N1個の値」の一例である。プリセットデータPD2内の1個の設定値である色数「モノクロ」が、「N2個の値」の一例である。差異データD2が、「第1の差異データ(又は材料データ)」の一例である。 With respect to FIG. 4, the preset data PD2 and the SPA including the preset data PD2 are examples of the “first setting data” and the “first registration request”, respectively. The two setting items "number of copies" and "number of colors" are examples of "N setting items". One setting item "number of copies" and one setting item "number of colors" are examples of "N1 setting item" and "N2 setting item", respectively. The number of copies "10", which is one set value in the preset data PD2, is an example of "N1 value". The number of colors "monochrome", which is one set value in the preset data PD2, is an example of "N2 values". The difference data D2 is an example of the “first difference data (or material data)”.
図6について、プリセットデータPD4、プリセットデータPD4を含むSPAが、それぞれ、「第1の設定データ」、「第1の登録要求」の一例である。4個の設定項目「部数」、「色数」、「印刷面」、「画質」が、「N個の設定項目」の一例である。2個の設定項目「色数」、「画質」が、「N1個の設定項目」の一例である。2個の設定項目「部数」、「印刷面」が、「N2個の設定項目」の一例である。プリセットデータPD4内の2個の設定値である色数「カラー」、画質「3」が、「N1個の値」の一例である。プリセットデータPD4内の2個の設定値である部数「1」、印刷面「両面長辺綴じ」が、「N2個の値」の一例である。差異データD4が、「第1の差異データ(又は材料データ)」の一例である。 With respect to FIG. 6, the preset data PD4 and the SPA including the preset data PD4 are examples of the “first setting data” and the “first registration request”, respectively. The four setting items "number of copies", "number of colors", "printing surface", and "image quality" are examples of "N setting items". The two setting items "number of colors" and "image quality" are examples of "N1 setting items". The two setting items "number of copies" and "printing surface" are examples of "N2 setting items". The number of colors "color" and the image quality "3", which are the two set values in the preset data PD4, are examples of "N1 values". The number of copies "1" and the print surface "double-sided long-edge binding", which are the two set values in the preset data PD4, are examples of "N2 values". The difference data D4 is an example of the “first difference data (or material data)”.
図5について、設定項目「印刷面」と設定項目「画質」のいずれかが、「第1の設定項目」の一例である。プリセットデータPD3内の印刷面「両面長辺綴じ」と画質「4」のいずれかが、「第1の値」の一例である。 With respect to FIG. 5, either the setting item “printing surface” or the setting item “image quality” is an example of the “first setting item”. Either the print surface "double-sided long-edge binding" or the image quality "4" in the preset data PD3 is an example of the "first value".
図3のT42、T44が、それぞれ、「差異データ生成部」、「記憶制御部」によって実現される処理の一例である。図7のT126、T152が、それぞれ、「設定データ送信部」、「画像処理制御部」によって実現される処理の一例である。 T42 and T44 in FIG. 3 are examples of processes realized by the "difference data generation unit" and the "memory control unit", respectively. T126 and T152 in FIG. 7 are examples of processing realized by the “setting data transmission unit” and the “image processing control unit”, respectively.
(第2実施例)
本実施例は、基準データ42と差異データが異なる点を除いて、第1実施例と同様である。
(Second Example)
This embodiment is the same as that of the first embodiment except that the difference data is different from the
(基準データ;図9)
基準データ42は、K1個(前記K1は1以上の整数)の設定項目に対応するK1個のデータと、K2個(前記K2は1以上の整数)の設定項目に対応するK2個のデータと、を含む。ここで、K1個の設定項目のそれぞれについて、当該設定項目に対応する設定値は、第1種の態様を有する。第1種の態様は、Attribute Syntax「text」、「octetString」、「name」及び「keyword」のうちのいずれかである。一方、K2個の設定項目のそれぞれについて、当該設定項目に対応する設定値は、第2種の態様を有する。第2種の態様は、Attribute Syntax「integer」、「enum」及び「boolean」のうちのいずれかである。即ち、第2種の態様を有する設定値の最大長さは、第1種の態様を有する設定値の最大長さよりも短い。
(Reference data; Fig. 9)
The
また、K1個の設定項目に対応するK1個のデータのそれぞれは、第1実施例と同様に、識別番号と項目名と設定値とを含む。例えば、図9に示すように、K1個のデータのうちの一つは、識別番号「2」と項目名「印刷面」と設定値「モノクロ」とを含む。一方、K2個の設定項目に対応するK2個のデータのそれぞれは、識別番号と項目名を含み、設定値を含まない。例えば、図9に示すように、K2個のデータのうちの一つは、識別番号「1」と項目名「部数」を含み、設定値を含まない。 Further, each of the K1 data corresponding to the K1 setting item includes an identification number, an item name, and a set value, as in the first embodiment. For example, as shown in FIG. 9, one of the K1 data includes the identification number “2”, the item name “printing surface”, and the set value “monochrome”. On the other hand, each of the K2 data corresponding to the K2 setting items includes the identification number and the item name, and does not include the set value. For example, as shown in FIG. 9, one of the K2 data includes the identification number “1” and the item name “number of copies”, and does not include the set value.
(ケースB1;図9)
図9を参照して、プリセットデータPD6を含むSPAが受信されて、プリセットデータPD6が登録される具体的なケースB1を説明する。
(Case B1; Fig. 9)
A specific case B1 in which the SPA including the preset data PD6 is received and the preset data PD6 is registered will be described with reference to FIG.
図9に示すように、プリセットデータPD6は、3個の設定項目に対応する3個の設定値を含む。具体的には、プリセットデータPD6は、部数「10」と色数「モノクロ」と印刷面「片面」とを含む。 As shown in FIG. 9, the preset data PD6 includes three setting values corresponding to the three setting items. Specifically, the preset data PD6 includes the number of copies "10", the number of colors "monochrome", and the printing surface "single side".
プリンタ10は、端末100からプリセットデータPD6を含むSPAが受信される場合(図3のT40参照)に、第1実施例とは異なる処理を実行して、差異データD6をプリセットテーブル44に記憶する。当該処理では、プリンタ10は、設定項目に対応する設定値が第1種の態様を有する場合に、第1の処理を実行し、設定項目に対応する設定値が第2種の態様を有する場合に、第1の処理とは異なる第2の処理を実行する。具体的には、まず、プリンタ10は、識別番号「1」の設定項目「部数」について、当該設定項目に対応する設定値が第2種の態様(即ち「integer」)を有すると判断し、差異データD6として、差異フラグを含めず、プリセットデータPD6内の設定値「10」を含めることを決定する第2の処理を実行する。続いて、プリンタ10は、識別番号「2」の設定項目「色数」について、当該設定項目に対応する設定値が第1種の態様(即ち「keyword」)を有すると判断し、基準データ42内の「モノクロ」とプリセットデータPD6内の「モノクロ」が同じであると判断し、設定項目「部数」に対応する差異フラグを「NO」に決定し、差異データD6として差異フラグ「NO」を含み、プリセットデータPD6内の設定値「モノクロ」を含めないことを決定する第1の処理を実行する。続いて、プリンタ10は、識別番号「3」の設定項目「印刷面」について、当該設定項目に対応する設定値が第1種の態様(即ち「keyword」)を有すると判断し、基準データ42内の「両面長辺綴じ」とプリセットデータPD6内の「片面」が異なると判断し、設定項目「印刷面」に対応する差異フラグを「YES」に決定し、差異データD6として差異フラグ「YES」とプリセットデータPD6内の設定値「片面」を含めることを決定する第1の処理を実行する。そして、プリンタ10は、本ケースの第1の処理及び第2の処理で決定された情報を含む差異データD6を生成し、プリセットデータPD6のプリセット名「Preset5」とユーザ名UNと差異データD6とを含むプリセット情報をプリセットテーブル44に記憶する。即ち、第1種の態様では、第1実施例の比較処理(即ち差異フラグ「NO」が決定される場合に設定値を差異データとして記憶し、差異フラグ「YES」が決定される場合に設定値を差異データとして記憶しない処理、図3のT42参照)と同様の第1の処理を実行する。一方、第2種の態様では、基準データ42内の設定値とプリセットデータ内の設定値を比較せず、差異フラグの値を決定しない。即ち、第2の処理は、比較処理を含まない。
When the SPA including the preset data PD6 is received from the terminal 100 (see T40 in FIG. 3), the
上記したように、第1の態様の最大長さは、第2種の態様の最大長さよりも長い。例えば、第1の態様を有するL個の設定値をメモリ34に記憶する第1の状況と、第2の態様を有するL個の設定値をメモリ34に記憶する第2の状況と、を比べる。第1の状況におけるデータサイズと第2の状況におけるデータサイズとの差分は、個数Lが大きくなるほど大きくなる。多数の設定値を記憶するとデータサイズが比較的に大きくなる第1種の態様では、第1実施例の比較処理と同様の第1の処理を実行することにより、メモリ34に記憶されるデータサイズを圧縮する。一方、多数の設定値を記憶してもデータサイズが比較的に大きくならない第2種の態様では、比較処理を実行することなく、多数の設定値をそのまま記憶する。即ち、多数の設定値を記憶してもデータサイズが比較的に大きくならない第2種の態様について比較処理を実行しても、第1種の態様と比べて、データサイズを圧縮が期待できない。データサイズを圧縮が期待できない第2種の態様について、比較処理が実行されることを抑制することができる。
As described above, the maximum length of the first aspect is longer than the maximum length of the second aspect. For example, the first situation in which the L set values having the first aspect are stored in the
また、プリンタ10は、端末100からGPAが受信される場合(図8のT120参照)に、第1実施例とは異なる処理を実行して、プリセットデータPD6を復元する。当該処理では、プリンタ10は、第1種の態様を有する設定値に対応する設定項目を示す識別番号が選択される場合に、第3の処理を実行し、第2種の態様を有する設定値に対応する設定項目を示す識別番号が選択される場合に、第3の処理とは異なる第4の処理を実行する(図9参照)。具体的には、プリンタ10は、識別番号「1」を選択する。プリンタ10は、識別番号「1」によって示される設定項目「部数」に対応する設定値が第2種の態様を有するので、識別番号「1」に対応する項目名「部数(copies)」と、差異データD6の識別番号「1」に対応する設定値「10」とを組み合わせて、プリセットデータPD6のうちの設定項目「部数」についてのデータを復元する第4の処理を実行する。続いて、プリンタ10は、識別番号「2」を選択する。プリンタ10は、識別番号「2」によって示される設定項目「色数」に対応する設定値が第1種の態様を有するので、差異データD6の識別番号「2」に対応する差異フラグが「YES」を示すのか否かを判断する。本ケースでは、プリンタ10は、差異フラグが「NO」を示すと判断し、基準データ42の識別番号「2」に対応する項目名「色数(print-color-mode)」及び設定値「モノクロ(monochrome)」をプリセットデータPD6のうちの設定項目「色数」についてのデータとして採用する第3の処理を実行する。続いて、プリンタ10は、識別番号「3」を選択する。プリンタ10は、識別番号「3」によって示される設定項目「印刷面」に対応する設定値が第1種の態様を有するので、差異データD6の識別番号「3」に対応する差異フラグが「YES」を示すのか否かを判断する。本ケースでは、プリンタ10は、差異フラグが「YES」を示すと判断し、基準データ42の識別番号「3」に対応する項目名「印刷面(sides)」と、差異データD6の識別番号「3」に対応する設定値「片面(one-side)」とを組み合わせて、プリセットデータPD6のうちの設定項目「印刷面」についてのデータを復元する第3の処理を実行する。これにより、プリセットデータPD6が復元される。
Further, when the GPA is received from the terminal 100 (see T120 in FIG. 8), the
上記したように、第1種の態様における第3の処理では、差異フラグが「YES」を示すのか否かの判断が実行されるが、第2種の態様における第4の処理では、当該処理が実行されない。このため、全ての設定項目について当該判断が実行される第1実施例と比較して、プリセットデータを復元するための処理を実行するCPU32の処理負荷を低減することができる。
As described above, in the third process in the first type aspect, the determination of whether or not the difference flag indicates "YES" is executed, but in the fourth process in the second type aspect, the process is concerned. Is not executed. Therefore, the processing load of the
(ケースB2;図10)
ケースB2は、ケースB1の続きを示す。本ケースでは、プリセットデータPD7を含むSPAが受信されて、プリセットデータPD7が登録される。
(Case B2; FIG. 10)
Case B2 shows a continuation of Case B1. In this case, the SPA including the preset data PD7 is received, and the preset data PD7 is registered.
図10に示すように、プリセットデータPD7は、5個の設定項目に対応する5個の設定値を含む。具体的には、プリセットデータPD7は、部数「1」と色数「カラー」と印刷面「両面長辺綴じ」と画質「4」と印刷媒体「A4」を含む。即ち、本ケースでは、基準データ42の設定項目の個数よりもプリセットデータPD7の設定項目の個数が多い。
As shown in FIG. 10, the preset data PD7 includes five setting values corresponding to the five setting items. Specifically, the preset data PD7 includes the number of copies "1", the number of colors "color", the printing surface "double-sided long edge binding", the image quality "4", and the printing medium "A4". That is, in this case, the number of setting items of the preset data PD7 is larger than the number of setting items of the
プリンタ10は、基準データ42の設定項目の個数よりも多い設定項目を有するプリセットデータが受信される場合に、基準データ42を拡張する。具体的には、プリンタ10は、プリセットデータPD7の中から、基準データ42に含まれない項目名(即ちAttribute Name)を特定する。本ケースでは、プリンタ10は、基準データ42に含まれない項目名「画質」と項目名「印刷媒体」を特定する。プリンタ10は、特定済みの2個の項目名の中から、項目名「画質」を選択する。プリンタ10は、項目名「画質」に対応する設定値が第2種の態様(即ち「enum」)を有すると判断し、新しい識別番号「4」に関連付けて、項目名「画質」を基準データ42に追加し、プリセットデータPD7内の設定値「4」を基準データ42に追加しない。次いで、プリンタ10は、特定済みの2個の項目名の中から、項目名「印刷媒体」を選択する。プリンタ10は、項目名「印刷媒体」に対応する設定値が第1種の態様(即ち「keyword」)を有すると判断し、新しい識別番号「5」に関連付けて、項目名「印刷媒体」とプリセットデータPD7内の設定値「A4」を基準データ42に追加する。これにより、基準データ42が、3個の設定値から5個の設定値に拡張される。
The
本ケースでは、プリンタ10は、拡張後の基準データ42を利用して、上記の第1の処理と第2の処理とを実行し、差異データD7をプリセットテーブル44に記憶する。詳細については、省略する。
In this case, the
例えば、基準データ42に含まれない項目名が第2種の態様を有する場合でも、プリセットデータPD7内の設定値を基準データ42に追加する比較例が想定される。この比較例では、第2種の態様における第2の処理において利用されない不必要な設定値が基準データ42に追加される。これに対して、本ケースでは、第2種の態様における第2の処理において利用されない不必要な設定値が基準データ42に追加されない。拡張後の基準データ42のデータサイズが、不必要に大きくなることを抑制することができる。なお、変形例では、上記の比較例の構成を採用してもよい。
For example, even when the item name not included in the
(対応関係)
図9について、プリセットデータPD6のうち、設定項目「色数」についてのデータと設定項目「印刷面」についてのデータが、「第1の設定データ」の一例である。プリセットデータPD6を含むSPAが、「第1の登録要求」の一例である。2個の設定項目「色数」、「印刷面」が、「N個の設定項目」の一例である。1個の設定項目「印刷面」、1個の設定項目「色数」が、それぞれ、「N1個の設定項目」、「N2個の設定項目」の一例である。プリセットデータPD6内の1個の設定値である印刷面「片面」が、「N1個の値」の一例である。プリセットデータPD6内の1個の設定値である色数「モノクロ」が、「N2個の値」の一例である。差異データD6のうち、設定項目「色数」についてのデータと設定項目「印刷面」についてのデータが、「第1の差異データ(又は材料データ)」の一例である。プリセットデータPD6内のうち、設定項目「部数」に対応する設定値「10」が、「特定の設定項目に対応する値」の一例である。
(Correspondence)
Regarding FIG. 9, among the preset data PD6, the data regarding the setting item “number of colors” and the data regarding the setting item “printing surface” are examples of the “first setting data”. The SPA including the preset data PD6 is an example of the "first registration request". The two setting items "number of colors" and "printing surface" are examples of "N setting items". One setting item "printing surface" and one setting item "number of colors" are examples of "N1 setting item" and "N2 setting item", respectively. The print surface “single side”, which is one set value in the preset data PD6, is an example of “N1 value”. The number of colors "monochrome", which is one set value in the preset data PD6, is an example of "N2 values". Among the difference data D6, the data regarding the setting item "number of colors" and the data regarding the setting item "printing surface" are examples of the "first difference data (or material data)". Among the preset data PD6, the setting value "10" corresponding to the setting item "number of copies" is an example of the "value corresponding to a specific setting item".
図10について、設定項目「印刷媒体」、設定項目「画質」が、それぞれ、「第1の設定項目」、「第2の設定項目」の一例である。設定値「A4」、設定値「4」が、「第1の値」、「第2の値」の一例である。 In FIG. 10, the setting item “print medium” and the setting item “image quality” are examples of the “first setting item” and the “second setting item”, respectively. The set value "A4" and the set value "4" are examples of the "first value" and the "second value".
(第3実施例)
本実施例は、基準データ42が異なる点と、プリセットテーブル44に材料データが記憶される点を除いて、第1実施例と同様である。
(Third Example)
This embodiment is the same as that of the first embodiment except that the
(基準データ;図11)
基準データ42は、複数個の設定項目のそれぞれについて、当該設定項目を識別する識別番号と、当該設定項目を示す項目名(即ちAttribute Name)と、を含み、当該設定項目に対応する値を含まない。例えば、図11に示すように、基準データ42は、識別番号「1」に対応する項目名「部数(copies)」と、識別番号「2」に対応する項目名「色数(print-color-mode)」と、を含む。
(Reference data; Fig. 11)
The
(ケースC1;図11)
図11を参照して、プリセットデータPD8を含むSPAが受信されて、プリセットデータPD8が登録される具体的なケースC1を説明する。
(Case C1; FIG. 11)
A specific case C1 in which the SPA including the preset data PD8 is received and the preset data PD8 is registered will be described with reference to FIG.
図11に示すように、プリセットデータPD8は、2個の設定項目に対応する2個の設定値を含む。具体的には、プリセットデータPD8は、部数「1」と色数「カラー」とを含む。 As shown in FIG. 11, the preset data PD8 includes two setting values corresponding to the two setting items. Specifically, the preset data PD8 includes the number of copies "1" and the number of colors "color".
プリンタ10は、端末100からプリセットデータPD8を含むSPAが受信される場合(図3のT40参照)に、第1実施例とは異なる処理を実行して、差異データD8をプリセットテーブル44に記憶する。具体的には、まず、プリンタ10は、識別番号「1」の設定項目「部数」について、識別番号「1」とプリセットデータPD8内の設定値「1」との組み合わせを材料データMDとしてプリセットテーブル44に記憶する。続いて、プリンタ10は、識別番号「2」の設定項目「色数」について、識別番号「2」とプリセットデータPD8内の設定値「カラー」との組み合わせを材料データMDとしてプリセットテーブル44に記憶する。そして、プリンタ10は、プリセットデータPD8のプリセット名「Preset8」とユーザ名UNと材料データMDとを含むプリセット情報をプリセットテーブル44に記憶する。
When the SPA including the preset data PD8 is received from the terminal 100 (see T40 in FIG. 3), the
また、プリンタ10は、端末100からGPAが受信される場合(図8のT120参照)に、第1実施例とは異なる処理を実行して、プリセットデータPD8を復元する。具体的には、プリンタ10は、識別番号「1」を選択する。プリンタ10は、識別番号「1」に対応する項目名「部数(copies)」と、材料データMDの識別番号「1」に対応する設定値「1」とを組み合わせて、プリセットデータPD8のうちの設定項目「部数」についてのデータを復元する。続いて、プリンタ10は、識別番号「2」を選択する。プリンタ10は、識別番号「2」に対応する項目名「部数(print-color-mode)」と、材料データMDの識別番号「2」に対応する設定値「カラー」とを組み合わせて、プリセットデータPD8のうちの設定項目「色数」についてのデータを復元する。これにより、プリセットデータPD8が復元される。
Further, when the GPA is received from the terminal 100 (see T120 in FIG. 8), the
本ケースによれば、プリンタ10は、プリセットデータPD8を生成するための材料となる材料データMDをメモリ34に記憶することによって、プリセットデータPD8の登録を実現することができる。ここで、プリセットデータPD8は、項目名(即ちAttribute Name)と設定値(即ちAttribute Value)とを含む。一方、材料データMDは、識別番号と設定値とを含む。例えば、識別番号を利用せず、項目名と設定値との組み合わせを材料データとしてメモリ34に記憶する比較例が想定される。この比較例において、3個のプリセットデータを登録すると、3個の同じ項目名が材料データとしてメモリ34に記憶される。これに対して、本実施例によれば、3個のプリセットデータを登録すると、1個の項目名が基準データ42としてメモリ34に記憶され、4個の識別番号が基準データ42及び材料データMDとしてメモリ34に記憶される。ここで、識別番号には、項目名を表す文字列よりも短い整数が採用される。このため、識別番号の長さが項目名の長さよりも短くなるほど、上記の比較例と比べて、メモリ34に記憶されるデータサイズを圧縮することができる。また、多くのプリセットデータを登録するほど、上記の比較例と比べて、メモリ34に記憶されるデータサイズを圧縮することができる。
According to this case, the
なお、第1、第2実施例でも、第3実施例と同様に、項目名よりも短い識別番号が利用されている。第1、第2実施例でも、第3実施例と同様に、メモリ34に記憶されるデータサイズを圧縮することができる。
In the first and second embodiments, as in the third embodiment, an identification number shorter than the item name is used. In the first and second embodiments as well, the data size stored in the
(対応関係)
識別番号、Attribute Nameが、それぞれ、「識別子」、「項目名」の一例である。材料データMDが、「材料データ」の一例である。
(Correspondence)
The identification number and the Attribute Name are examples of the "identifier" and the "item name", respectively. The material data MD is an example of "material data".
以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 Although specific examples of the present invention have been described in detail above, these are merely examples and do not limit the scope of claims. The techniques described in the claims include various modifications and modifications of the specific examples illustrated above. Modifications of the above embodiment are listed below.
(変形例1)「画像処理」は、印刷処理に限らず、例えば、スキャン処理であってもよい。この場合、「設定データ」は、スキャン処理を実行するための複数個の設定項目(例えば、画質、データ形式、サイズ等)に対応する複数個の設定値を含む。 (Modification 1) The "image processing" is not limited to the printing processing, and may be, for example, a scanning processing. In this case, the "setting data" includes a plurality of setting values corresponding to a plurality of setting items (for example, image quality, data format, size, etc.) for executing the scanning process.
(変形例2)上記の各実施例では、プリンタ10は、端末100からIPPに従ったSPAが受信される場合に、差異データを記憶する(図3のT40)。これに代えて、プリンタ10は、ウェブサーバとして機能し、端末100からのHTTPリクエストを受信する場合に、プリセットデータを登録するための登録画面に対応する画面データを端末100に送信してもよい。プリンタ10は、登録画面において複数個の設定値が入力される場合に、端末100から当該複数個の設定値を含むHTTPコマンドを受信してもよい。そして、プリンタ10は、HTTPコマンド内の複数個の設定値から差異データを生成し記憶してもよい。本変形例では、HTTPコマンドが、「第1の登録要求(又は第2の登録要求)」の一例である。
(Modification 2) In each of the above embodiments, the
(変形例3)第1実施例において、図5のケースA2の処理は実行されなくてもよい。また、第2実施例において、図10のケースB2の処理は実行されなくてもよい。本変形例では、「追加部」を省略可能である。 (Modification 3) In the first embodiment, the process of case A2 of FIG. 5 may not be executed. Further, in the second embodiment, the process of case B2 of FIG. 10 may not be executed. In this modification, the "additional part" can be omitted.
(変形例4)上記の第2実施例において、Attribute Syntax「text」、「octetString」、「name」及び「keyword」のうちのいずれかが、「第1種の態様」の一例であり、Attribute Syntax「integer」、「enum」及び「boolean」のうちのいずれかが、「第2種の態様」の一例である。これに代えて、「第1種の態様」は、設定値の長さが所定の長さ(例えば10オクテット)よりも長い態様である、「第2種の態様」は、設定値の長さが当該所定の長さ以下である態様であってもよい。 (Modification 4) In the above second embodiment, any one of Attribute Syntax "text", "octetString", "name" and "keyword" is an example of "aspect of the first kind", and Attribute. Any one of Syntax "integer", "enum" and "boolean" is an example of "aspect of the second kind". Instead, the "first type mode" is a mode in which the length of the set value is longer than a predetermined length (for example, 10 octets), and the "second type mode" is the length of the set value. May be an embodiment having a length equal to or less than the predetermined length.
(変形例5)上記の第1実施例において、差異データは、識別番号に代えて、項目名(即ちAttribute Name)を記憶してもよい。本変形例では、「識別子」を省略可能である。 (Modification 5) In the first embodiment described above, the difference data may store an item name (that is, an Attribute Name) instead of the identification number. In this modification, the "identifier" can be omitted.
(変形例6)上記の各実施例において、基準データ42は、プリンタ10の出荷段階において予めメモリ34に記憶されている。これに代えて、基準データ42は、端末100からSPAが初めて受信される場合に、当該SPAに含まれるプリセットデータを利用して生成されてもよい。本変形例では、端末100から初めて受信されるSPAに含まれるプリセットデータが、「特定の設定データ」の一例である。
(Modification 6) In each of the above embodiments, the
(変形例7)基準データ42は、Attribute Valueを含み、Length of Attribute Value等を含まないもの(図1等参照)に限らず、例えば、Attribute Valueに加えて、Length of Attribute Value及びLength of Attribute Nameのうちの少なくとも一方を含んでいてもよい。これに伴い、差異データも、Attribute Valueに加えて、Length of Attribute Value及びLength of Attribute Nameのうちの少なくとも一方を含んでいてもよい。
(Modification 7) The
例えば、基準データ42は、Attribute ValueとLength of Attribute Valueとを含んでもよい。そして、プリンタ10は、基準データ42内の情報(即ちAttribute ValueとLength of Attribute Value)と、プリセットデータ内の情報(即ちAttribute ValueとLength of Attribute Value)と、を比較し、両情報の差異を示す情報を差異データとして記憶してもよい。例えば、Attribute Syntaxが「octetString」である場合には、基準データ42と差異データの双方に含まれるLength of Attribute Valueを利用して、プリセットデータのLength of Attribute Valueを復元することができる。本変形例では、Attribute ValueとLength of Attribute Valueが、「値」の一例である。
For example, the
また、例えば、基準データ42及び差異データは、Attribute Syntaxが第1種の構文(例えば「integer」)である場合に、Attribute Valueを含み、Length of Attribute Valueを含まなくてもよく、Attribute Syntaxが第2種の構文(例えば「octetString」)である場合に、Attribute ValueとLength of Attribute Valueとを含んでもよい。
Further, for example, the
(変形例8)上記の各実施例では、図4〜図11の各処理がソフトウェア(例えばプログラム40)によって実現されるが、これらの各処理のうちの少なくとも1つが論理回路等のハードウェアによって実現されてもよい。 (Modification 8) In each of the above embodiments, the processes of FIGS. 4 to 11 are realized by software (for example, program 40), but at least one of these processes is performed by hardware such as a logic circuit. It may be realized.
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 In addition, the technical elements described in the present specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the techniques illustrated in the present specification or drawings achieve a plurality of objectives at the same time, and achieving one of the objectives itself has technical usefulness.
2:通信システム、10:プリンタ、12:操作部、14:表示部、16:印刷実行部、30:制御部、32:CPU、34:メモリ、40:プログラム、42:基準データ、44:プリセットテーブル、100:端末、UN:ユーザ名、PD1〜PD8:プリセットデータ、D1〜D8:差異データ、MD:材料データ 2: Communication system, 10: Printer, 12: Operation unit, 14: Display unit, 16: Print execution unit, 30: Control unit, 32: CPU, 34: Memory, 40: Program, 42: Reference data, 44: Preset Table, 100: Terminal, UN: User name, PD1-PD8: Preset data, D1-D8: Difference data, MD: Material data
Claims (13)
画像処理を実行するための画像処理実行部と、
前記画像処理に関係する設定データの基準である基準データを記憶可能なメモリであって、前記基準データは、前記画像処理を実行するためのN個(前記Nは2以上の整数)の設定項目に対応するN個の値を含む、前記メモリと、
端末装置から第1の設定データの登録を要求する第1の登録要求が受信される場合に、前記基準データと前記第1の設定データとの間の差異に関係する第1の差異データを生成する差異データ生成部であって、
前記第1の設定データは、前記N個の設定項目に対応するN個の値を含み、
前記N個の設定項目のうちのN1個(前記N1は1以上前記N未満の整数)の設定項目について、前記基準データと前記第1の設定データとの間で値が異なり、かつ、前記N個の設定項目のうちの前記N1個の設定項目以外のN2個の設定項目について、前記基準データと前記第1の設定データとの間で値が同じである場合に、前記第1の差異データは、前記第1の設定データのうちの前記N1個の設定項目に対応するN1個の値を含むと共に、前記第1の設定データのうちの前記N2個の設定項目に対応するN2個の値を含まない、前記差異データ生成部と、
生成済みの前記第1の差異データを前記メモリに記憶する記憶制御部と、
前記第1の差異データが前記メモリに記憶された後に、前記端末装置からデータ取得要求が受信される場合に、前記基準データと前記第1の差異データとを利用して前記第1の設定データを生成して、前記第1の設定データを前記端末装置に送信する設定データ送信部と、
前記第1の設定データが前記端末装置に送信された後に、前記端末装置から前記第1の設定データによって示される2個以上の値を含む前記画像処理の実行要求が受信される場合に、前記2個以上の値に従った前記画像処理を前記画像処理実行部に実行させる画像処理制御部と、
を備える、画像処理装置。 It is an image processing device
An image processing execution unit for executing image processing, and
A memory that can store reference data that is a reference of setting data related to the image processing, and the reference data is N setting items (the N is an integer of 2 or more) for executing the image processing. The memory, which contains N values corresponding to
When the first registration request requesting the registration of the first setting data is received from the terminal device, the first difference data related to the difference between the reference data and the first setting data is generated. It is a difference data generator
The first setting data includes N values corresponding to the N setting items.
Regarding N1 of the N setting items (the N1 is an integer of 1 or more and less than the N), the values are different between the reference data and the first setting data, and the N When the values of the N2 setting items other than the N1 setting item among the setting items are the same between the reference data and the first setting data, the first difference data Contains N1 values corresponding to the N1 setting items in the first setting data, and N2 values corresponding to the N2 setting items in the first setting data. The difference data generator, which does not include
A storage control unit that stores the generated first difference data in the memory, and
When a data acquisition request is received from the terminal device after the first difference data is stored in the memory, the first setting data is used by using the reference data and the first difference data. And a setting data transmission unit that transmits the first setting data to the terminal device.
When the image processing execution request including two or more values indicated by the first setting data is received from the terminal device after the first setting data is transmitted to the terminal device, the said An image processing control unit that causes the image processing execution unit to execute the image processing according to two or more values, and an image processing control unit.
An image processing device.
前記端末装置から第2の設定データの登録を要求する第2の登録要求が受信され、かつ、前記第2の設定データが前記N個の設定項目とは異なる第1の設定項目に対応する第1の値を含む場合に、前記第1の値を前記基準データに追加する追加部を備える、請求項1に記載の画像処理装置。 The image processing device further
A second registration request for registering the second setting data is received from the terminal device, and the second setting data corresponds to a first setting item different from the N setting items. The image processing apparatus according to claim 1, further comprising an additional unit that adds the first value to the reference data when the value of 1 is included.
前記基準データは、さらに、前記N個の設定項目のそれぞれについて、当該設定項目を示す項目名を含み、
前記第1の設定データは、前記第1種の態様を有する前記N個の値を含み、
前記第1の設定データは、さらに、前記N個の設定項目のそれぞれについて、当該設定項目を示す項目名を含み、
前記第1の値は、前記第1種の態様を有し、
前記追加部は、前記第1の設定項目を示す第1の項目名と、前記第1種の態様を有する前記第1の値と、を前記基準データに追加し、
前記第2の設定データは、さらに、第2の設定項目に対応する第2の値を含み、
前記追加部は、さらに、
前記第2の値が前記第1種の態様を有する場合に、前記第2の設定項目を示す第2の項目名と、前記第2の値と、を前記基準データに追加し、
前記第2の値が前記第1種の態様とは異なる第2種の態様を有する場合に、前記第2の項目名を前記基準データに追加し、前記第2の値を前記基準データに追加しない、請求項2に記載の画像処理装置。 The reference data includes the N values having the first aspect.
The reference data further includes, for each of the N setting items, an item name indicating the setting item.
The first setting data includes the N values having the first type aspect.
The first setting data further includes, for each of the N setting items, an item name indicating the setting item.
The first value has the aspect of the first kind and has.
The additional part adds the first item name indicating the first setting item and the first value having the first type aspect to the reference data.
The second setting data further includes a second value corresponding to the second setting item.
The additional part further
When the second value has the first type aspect, the second item name indicating the second setting item and the second value are added to the reference data.
When the second value has a second type aspect different from the first type aspect, the second item name is added to the reference data, and the second value is added to the reference data. The image processing apparatus according to claim 2.
前記N個の設定項目に対応する値は、第1種の態様を有し、
前記特定の設定項目に対応する値は、前記第1種の態様とは異なる第2種の態様を有し、
前記差異データ生成部は、前記N個の設定項目のそれぞれについて、前記第1の設定データ内の当該設定項目に対応する値と前記基準データ内の当該設定項目に対応する値とを比較する比較処理を実行して、前記第1の差異データを生成し、
前記特定の設定項目について、前記比較処理は実行されず、
前記記憶制御部は、前記第1の差異データと、前記第1の設定データにおける前記特定の設定項目に対応する値と、を前記メモリに記憶し、
前記設定データ送信部は、前記メモリ内の前記第1の差異データと前記特定の設定項目に対応する値と前記基準データとを利用して、前記第1の設定データを生成する、請求項1から3のいずれか一項に記載の画像処理装置。 The first setting data further includes a value corresponding to a specific setting item of the image processing.
The values corresponding to the N setting items have the mode of the first kind and have.
The value corresponding to the specific setting item has a second type aspect different from the first type aspect, and has a second type aspect.
The difference data generation unit compares each of the N setting items with the value corresponding to the setting item in the first setting data and the value corresponding to the setting item in the reference data. The process is executed to generate the first difference data,
The comparison process is not executed for the specific setting item, and the comparison process is not executed.
The storage control unit stores the first difference data and the value corresponding to the specific setting item in the first setting data in the memory.
The setting data transmitting unit generates the first setting data by using the first difference data in the memory, the value corresponding to the specific setting item, and the reference data. The image processing apparatus according to any one of 3 to 3.
前記第2種の態様は、前記Attribute Syntaxesに従った、integer、enum、及び、booleanのうちの少なくとも一つを含む、請求項3から5のいずれか一項に記載の画像処理装置。 The first aspect comprises at least one of keyword, text, name, and octetString according to the Attribute Syntax of IPP (Internet Printing Protocol).
The image processing apparatus according to any one of claims 3 to 5, wherein the second aspect comprises at least one of integer, enum, and Boolean according to the Attribute Syntax.
前記基準データは、前記N個の設定項目のそれぞれについて、当該設定項目を識別する識別子と、当該設定項目を示す項目名と、を含み、
前記第1の差異データは、前記N1個の設定項目のそれぞれについて、当該設定項目を識別する識別子と、当該設定項目に対応する値と、を含み、
前記識別子の長さは、前記項目名の長さよりも短い、請求項1から6のいずれか一項に記載の画像処理装置。 The first setting data includes, for each of the N setting items, an item name indicating the setting item.
The reference data includes, for each of the N setting items, an identifier that identifies the setting item and an item name indicating the setting item.
The first difference data includes, for each of the N1 setting items, an identifier that identifies the setting item and a value corresponding to the setting item.
The image processing apparatus according to any one of claims 1 to 6, wherein the length of the identifier is shorter than the length of the item name.
画像処理を実行するための画像処理実行部と、
前記画像処理に関係する設定データの基準である基準データを記憶可能なメモリであって、前記基準データは、前記画像処理を実行するための1個以上の設定項目のそれぞれについて、当該設定項目を識別する識別子と、当該設定項目に対応する項目名と、を含む、前記メモリと、
端末装置から第1の設定データの登録を要求する第1の登録要求が受信される場合に、前記基準データを利用して前記第1の設定データを生成するための材料となる材料データを生成する材料データ生成部であって、
前記第1の設定データは、前記画像処理の1個以上の設定項目のそれぞれについて、当該設定項目を示す項目名と、当該設定項目に対応する値と、を含み、
前記材料データは、前記1個以上の設定項目のそれぞれについて、当該設定項目を識別する識別子と、当該設定項目に対応する値と、を含み、
前記識別子の長さは、前記項目名の長さよりも短い、前記材料データ生成部と、
生成済みの前記材料データを前記メモリに記憶する記憶制御部と、
前記材料データが前記メモリに記憶された後に、前記端末装置からデータ取得要求が受信される場合に、前記基準データと前記材料データとを利用して前記第1の設定データを生成して、前記第1の設定データを前記端末装置に送信する設定データ送信部と、
前記第1の設定データが前記端末装置に送信された後に、前記端末装置から前記第1の設定データによって示される1個以上の値に従った前記画像処理の実行要求が受信される場合に、前記1個以上の値に従った前記画像処理を前記画像処理実行部に実行させる画像処理制御部と、
を備える、画像処理装置。 It is an image processing device
An image processing execution unit for executing image processing, and
A memory that can store reference data that is a reference of setting data related to the image processing, and the reference data sets the setting items for each of one or more setting items for executing the image processing. The memory and the memory including the identifier to be identified and the item name corresponding to the setting item.
When the first registration request requesting the registration of the first setting data is received from the terminal device, the reference data is used to generate material data as a material for generating the first setting data. Material data generation unit
The first setting data includes, for each of one or more setting items of the image processing, an item name indicating the setting item and a value corresponding to the setting item.
The material data includes, for each of the one or more setting items, an identifier that identifies the setting item and a value corresponding to the setting item.
The length of the identifier is shorter than the length of the item name, the material data generation unit, and
A storage control unit that stores the generated material data in the memory,
When a data acquisition request is received from the terminal device after the material data is stored in the memory, the reference data and the material data are used to generate the first setting data to generate the first setting data. A setting data transmission unit that transmits the first setting data to the terminal device,
When the image processing execution request according to one or more values indicated by the first setting data is received from the terminal device after the first setting data is transmitted to the terminal device. An image processing control unit that causes the image processing execution unit to execute the image processing according to the one or more values.
An image processing device.
前記画像処理装置は、
画像処理を実行するための画像処理実行部と、
前記画像処理に関係する設定データの基準である基準データを記憶可能なメモリであって、前記基準データは、前記画像処理を実行するためのN個(前記Nは2以上の整数)の設定項目に対応するN個の値を含む、前記メモリと、
コンピュータと、
を備え、
前記コンピュータプログラムは、前記コンピュータを、以下の各部、即ち、
端末装置から第1の設定データの登録を要求する第1の登録要求が受信される場合に、前記基準データと前記第1の設定データとの間の差異に関係する第1の差異データを生成する差異データ生成部であって、
前記第1の設定データは、前記N個の設定項目に対応するN個の値を含み、
前記N個の設定項目のうちのN1個(前記N1は1以上前記N未満の整数)の設定項目について、前記基準データと前記第1の設定データとの間で値が異なり、かつ、前記N個の設定項目のうちの前記N1個の設定項目以外のN2個の設定項目について、前記基準データと前記第1の設定データとの間で値が同じである場合に、前記第1の差異データは、前記第1の設定データのうちの前記N1個の設定項目に対応するN1個の値を含むと共に、前記第1の設定データのうちの前記N2個の設定項目に対応するN2個の値を含まない、前記差異データ生成部と、
生成済みの前記第1の差異データを前記メモリに記憶する記憶制御部と、
前記第1の差異データが前記メモリに記憶された後に、前記端末装置からデータ取得要求が受信される場合に、前記基準データと前記第1の差異データとを利用して前記第1の設定データを生成して、前記第1の設定データを前記端末装置に送信する設定データ送信部と、
前記第1の設定データが前記端末装置に送信された後に、前記端末装置から前記第1の設定データによって示される2個以上の値を含む前記画像処理の実行要求が受信される場合に、前記2個以上の値に従った前記画像処理を前記画像処理実行部に実行させる画像処理制御部と、
として機能させる、コンピュータプログラム。 A computer program for image processing equipment
The image processing device is
An image processing execution unit for executing image processing, and
A memory that can store reference data that is a reference of setting data related to the image processing, and the reference data is N setting items (the N is an integer of 2 or more) for executing the image processing. The memory, which contains N values corresponding to
With a computer
With
The computer program puts the computer into the following parts, that is,
When the first registration request requesting the registration of the first setting data is received from the terminal device, the first difference data related to the difference between the reference data and the first setting data is generated. It is a difference data generator
The first setting data includes N values corresponding to the N setting items.
Regarding N1 of the N setting items (the N1 is an integer of 1 or more and less than the N), the values are different between the reference data and the first setting data, and the N When the values of the N2 setting items other than the N1 setting item among the setting items are the same between the reference data and the first setting data, the first difference data Contains N1 values corresponding to the N1 setting items in the first setting data, and N2 values corresponding to the N2 setting items in the first setting data. The difference data generator, which does not include
A storage control unit that stores the generated first difference data in the memory, and
When a data acquisition request is received from the terminal device after the first difference data is stored in the memory, the first setting data is used by using the reference data and the first difference data. And a setting data transmission unit that transmits the first setting data to the terminal device.
When the image processing execution request including two or more values indicated by the first setting data is received from the terminal device after the first setting data is transmitted to the terminal device, the said An image processing control unit that causes the image processing execution unit to execute the image processing according to two or more values, and an image processing control unit.
A computer program that acts as.
前記画像処理装置は、
画像処理を実行するための画像処理実行部と、
前記画像処理に関係する設定データの基準である基準データを記憶可能なメモリであって、前記基準データは、前記画像処理を実行するための1個以上の設定項目のそれぞれについて、当該設定項目を識別する識別子と、当該設定項目に対応する項目名と、を含む、前記メモリと、
コンピュータと、
を備え、
前記コンピュータプログラムは、前記コンピュータを、以下の各部、即ち、
端末装置から第1の設定データの登録を要求する第1の登録要求が受信される場合に、前記基準データを利用して前記第1の設定データを生成するための材料となる材料データを生成する材料データ生成部であって、
前記第1の設定データは、前記画像処理の1個以上の設定項目のそれぞれについて、当該設定項目を示す項目名と、当該設定項目に対応する値と、を含み、
前記材料データは、前記1個以上の設定項目のそれぞれについて、当該設定項目を識別する識別子と、当該設定項目に対応する値と、を含み、
前記識別子の長さは、前記項目名の長さよりも短い、前記材料データ生成部と、
生成済みの前記材料データを前記メモリに記憶する記憶制御部と、
前記材料データが前記メモリに記憶された後に、前記端末装置からデータ取得要求が受信される場合に、前記基準データと前記材料データとを利用して前記第1の設定データを生成して、前記第1の設定データを前記端末装置に送信する設定データ送信部と、
前記第1の設定データが前記端末装置に送信された後に、前記端末装置から前記第1の設定データによって示される1個以上の値に従った前記画像処理の実行要求が受信される場合に、前記1個以上の値に従った前記画像処理を前記画像処理実行部に実行させる画像処理制御部と、
として機能させる、コンピュータプログラム。 A computer program for image processing equipment
The image processing device is
An image processing execution unit for executing image processing, and
A memory that can store reference data that is a reference of setting data related to the image processing, and the reference data sets the setting items for each of one or more setting items for executing the image processing. The memory and the memory including the identifier to be identified and the item name corresponding to the setting item.
With a computer
With
The computer program puts the computer into the following parts, that is,
When the first registration request requesting the registration of the first setting data is received from the terminal device, the reference data is used to generate material data as a material for generating the first setting data. Material data generation unit
The first setting data includes, for each of one or more setting items of the image processing, an item name indicating the setting item and a value corresponding to the setting item.
The material data includes, for each of the one or more setting items, an identifier that identifies the setting item and a value corresponding to the setting item.
The length of the identifier is shorter than the length of the item name, the material data generation unit, and
A storage control unit that stores the generated material data in the memory,
When a data acquisition request is received from the terminal device after the material data is stored in the memory, the reference data and the material data are used to generate the first setting data to generate the first setting data. A setting data transmission unit that transmits the first setting data to the terminal device,
When the image processing execution request according to one or more values indicated by the first setting data is received from the terminal device after the first setting data is transmitted to the terminal device. An image processing control unit that causes the image processing execution unit to execute the image processing according to the one or more values.
A computer program that acts as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020063930A JP2021163193A (en) | 2020-03-31 | 2020-03-31 | Image processing apparatus and computer program for image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020063930A JP2021163193A (en) | 2020-03-31 | 2020-03-31 | Image processing apparatus and computer program for image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021163193A true JP2021163193A (en) | 2021-10-11 |
Family
ID=78003434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020063930A Pending JP2021163193A (en) | 2020-03-31 | 2020-03-31 | Image processing apparatus and computer program for image processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021163193A (en) |
-
2020
- 2020-03-31 JP JP2020063930A patent/JP2021163193A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200319830A1 (en) | Image forming apparatus, printing system, control method, and storage medium | |
US8319992B2 (en) | Approach for processing locked print jobs obtained from other printing devices | |
US11210036B2 (en) | Print system, print apparatus, control method, and storage medium | |
JP5803834B2 (en) | Print setting apparatus, program, and image forming system | |
US11706359B2 (en) | Print apparatus and control method for performing print processing using print data based on a predetermined content | |
JP2001357155A (en) | System and device for information, control method thereof, storage medium storing program thereof, and the program | |
JP5076877B2 (en) | Document operation system, document operation apparatus, and document operation program | |
JP2021163193A (en) | Image processing apparatus and computer program for image processing apparatus | |
JP7094762B2 (en) | Programs, information processing equipment, and control methods | |
JP2019036801A (en) | Image processing apparatus | |
US8499310B2 (en) | Information processing apparatus, device setup method and storage medium for carrying out a device setup on a network | |
JP2020140394A (en) | Information processor and control method thereof and program and system | |
JP2020047099A (en) | Information processing device, information processing system, and program | |
US20070115511A1 (en) | Image forming device to display combination address book and displaying method thereof | |
US11233916B2 (en) | Printer and non-transitory computer-readable recording medium storing computer readable instructions for printer | |
US20050134913A1 (en) | Printing system to request data for re-printing through a printing device | |
JP7135022B2 (en) | system | |
JP6996174B2 (en) | Computer programs and terminal equipment for terminal equipment | |
JP2019117539A (en) | Communication system, computer program for terminal device, and computer program for server | |
US20230409247A1 (en) | Printing apparatus, control method thereof, and non-transitory storage medium | |
JP2009122745A (en) | Printing instruction device, printing system, and program | |
US20220308802A1 (en) | Information processing apparatus, method of controlling information processing apparatus, and storage medium | |
KR102495800B1 (en) | Printing apparatus, information processing apparatus and printing system | |
JP2000003259A (en) | Lan system and digital copying machine management server | |
JP2007164647A (en) | Electronic device, operation part event processing method, program, and recording medium |