JP2021163193A - Image processing apparatus and computer program for image processing apparatus - Google Patents

Image processing apparatus and computer program for image processing apparatus Download PDF

Info

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
Application number
JP2020063930A
Other languages
Japanese (ja)
Inventor
智美 白木
Tomomi Shiraki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2020063930A priority Critical patent/JP2021163193A/en
Publication of JP2021163193A publication Critical patent/JP2021163193A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a technology that can compress size of data stored in a memory in a case where the memory of an image processing apparatus should store setting data associated with image processing.SOLUTION: An image processing apparatus comprises: a memory that can store reference data being a reference of setting data associated with image processing; a storage control unit that generates first difference data associated with a difference between the reference data and first setting data in a case where a first registration request requesting registration of the first setting data is received from a terminal device, to store in the memory; a setting data transmission unit that generates the first setting data using the reference data and the first difference data in a case where a data acquisition request is received from the terminal device, to transmit the first setting data to the terminal device; and an image processing control unit that causes an image processing execution unit to perform image processing according to a value in a case where an execution request of image processing including the value indicated by the first setting data is received from the terminal device.SELECTED DRAWING: Figure 3

Description

本明細書では、設定データを画像処理装置に登録するための技術を開示する。 This specification discloses a technique for registering setting data in an image processing device.

特許文献1には、ホスト端末とプリンタとを備える画像形成システムが開示されている。プリンタは、ホスト端末からIPP(Internet Printing Protocolの略)に従った印刷プリセットの登録リクエストを受信すると、当該印刷プリセットをプリンタのメモリに記憶する。そして、プリンタは、ホスト端末から取得リクエストを受信すると、印刷プリセットをホスト端末に送信する。ホスト端末は、印刷プリセットに対応する印刷設定を印刷設定画面に反映する。 Patent Document 1 discloses an image forming system including a host terminal and a printer. When the printer receives a print preset registration request according to IPP (abbreviation of Internet Printing Protocol) from the host terminal, the printer stores the print preset in the printer memory. Then, when the printer receives the acquisition request from the host terminal, the printer transmits the print preset to the host terminal. The host terminal reflects the print settings corresponding to the print presets on the print setting screen.

特開2019−119089号公報Japanese Unexamined Patent Publication No. 2019-119089

Internet Printing Protocol/1.1: Model and Semantics、2017年1月、インターネット「https://tools.ietf.org/html/rfc8011」Internet Printing Protocol / 1.1: Model and Semantics, January 2017, Internet "https://tools.ietf.org/html/rfc8011"

プリンタのメモリの容量は有限である。本明細書では、画像処理装置のメモリが画像処理に関係する設定データを記憶すべき場合に、メモリに記憶されるデータサイズを圧縮し得る技術を提供する。 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.

通信システムの構成を示す。The configuration of the communication system is shown. プリセットデータの構造を示す。The structure of preset data is shown. プリセットデータを登録する処理のシーケンス図を示す。The sequence diagram of the process of registering preset data is shown. プリセットデータを登録するケースA1を示す。A case A1 for registering preset data is shown. プリセットデータを登録するケースA2を示す。A case A2 for registering preset data is shown. プリセットデータを登録するケースA3を示す。A case A3 for registering preset data is shown. プリセットデータを登録するケースA4を示す。A case A4 for registering preset data is shown. プリセットデータを利用した印刷を実行する処理のシーケンス図を示す。The sequence diagram of the process of executing printing using preset data is shown. 第2実施例について、プリセットデータを登録するケースB1を示す。Case B1 for registering preset data is shown for the second embodiment. 第2実施例について、プリセットデータを登録するケースB2を示す。Case B2 for registering preset data is shown for the second embodiment. 第3実施例について、プリセットデータを登録するケースC1を示す。Case C1 for registering preset data is shown for the third embodiment.

(第1実施例)
(通信システム2の構成;図1)
図1に示すように、通信システム2は、プリンタ10と、端末100と、を備える。プリンタ10と端末100は、同じLAN(Local Area Networkの略)4に所属しており、LAN4を介して相互に通信可能である。なお、LAN4は、有線LANでもよいし、無線LANでもよい。
(First Example)
(Configuration of communication system 2; FIG. 1)
As shown in FIG. 1, the communication system 2 includes a printer 10 and a terminal 100. The printer 10 and the terminal 100 belong to the same LAN (abbreviation of Local Area Network) 4, and can communicate with each other via the LAN 4. The LAN 4 may be a wired LAN or a wireless LAN.

(プリンタ10の構成)
プリンタ10は、印刷処理を実行可能な周辺装置(即ち端末100の周辺装置)である。なお、プリンタ10は、印刷処理に加えて、スキャン処理、FAX処理等を実行可能な多機能機であってもよい。プリンタ10は、操作部12と、表示部14と、印刷実行部16と、LANインターフェース(以下ではインターフェースを「I/F」と記載する)20と、制御部30と、を備える。
(Configuration of printer 10)
The printer 10 is a peripheral device (that is, a peripheral device of the terminal 100) capable of executing printing processing. The printer 10 may be a multifunctional machine capable of performing scan processing, fax processing, and the like in addition to printing processing. The printer 10 includes an operation unit 12, a display unit 14, a print execution unit 16, a LAN interface (hereinafter, the interface is referred to as “I / F”) 20, and a control unit 30.

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。表示部14は、いわゆるタッチパネル(即ち、操作部)としても機能する。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。LANI/F20は、LAN4に接続されている。 The operation unit 12 includes a plurality of keys. The user can input various instructions to the printer 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The display unit 14 also functions as a so-called touch panel (that is, an operation unit). The print execution unit 16 is a printing mechanism such as an inkjet method or a laser method. The LANI / F20 is connected to the LAN4.

制御部30は、CPU32と、メモリ34と、を備える。CPU32は、メモリ34に格納されているプログラム40に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、基準データ42と、プリセットテーブル44と、を記憶している。 The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to the program 40 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, and the like. The memory 34 stores the reference data 42 and the preset table 44.

基準データ42は、IPP(Internet Printing Protocolの略)に従ったプリセットデータの基準となるデータである。プリセットデータは、印刷処理を実行するための複数個の設定項目(例えば、部数、色数、画質、サイズ等)に対応する複数個の設定値を含む。そして、基準データ42は、複数個の設定項目のそれぞれについて、当該設定項目を識別する識別番号(即ちNo)と、当該設定項目の項目名(即ちAttribute Name)と、当該設定項目に対応する設定値(即ちAttribute Value)とを含む。識別番号は、例えば、連番である。基準データ42は、プリンタ10の出荷段階において予めメモリ34に記憶されている。 The reference data 42 is data that serves as a reference for preset data according to IPP (abbreviation of Internet Printing Protocol). The preset data includes a plurality of setting values corresponding to a plurality of setting items (for example, the number of copies, the number of colors, the image quality, the size, etc.) for executing the printing process. Then, in the reference data 42, for each of the plurality of setting items, the identification number (that is, No) that identifies the setting item, the item name (that is, Attribute Name) of the setting item, and the setting corresponding to the setting item are set. Includes a value (ie, Attribute Value). The identification number is, for example, a serial number. The reference data 42 is stored in the memory 34 in advance at the shipping stage of the printer 10.

プリセットテーブル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 reference data 42 and the preset data. The difference data includes, for each of the plurality of setting items, an identification number (that is, No) that identifies the setting item, a difference flag, and a setting value (that is, Attribute Value) corresponding to the setting item. The difference flags are "YES" indicating that there is a difference between the set value in the reference data 42 and the set value in the preset data for the same setting item, and "NO" indicating that there is no such difference. And, one of the values is shown.

(端末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 terminal 100.

端末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 printer 10. In this embodiment, the server is provided by a business operator different from the vendor of the printer 10. However, in the modified example, the above server may be provided by the vendor of the printer 10. The terminal 100 may support IPP in advance without installing the IPP program from the above server.

(プリセットデータの構造;図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 CPU 32 of the printer 10 will be described mainly by the printer 10 without describing the CPU 32 as the main body from the viewpoint of easy understanding. Further, in the following, the printer 10 and the terminal 100 communicate with each other via LAN4 and LANI / F20. In the following, unless otherwise specified, the description "via LAN4" and "via LANI / F20" will be omitted.

端末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 printer 10. The GPA transmits capability information indicating all the printing conditions that the printer 10 can execute (for example, "monochrome", "color", "single-sided", "double-sided long-edge binding", "double-sided short-edge binding", etc.). Is a command that requests the printer 10. In addition, the GPA includes the user name UN.

プリンタ10は、T12において、端末100からGPAを受信すると、T22において、GPA内のユーザ名UNの認証を実行する。図3のケースでは、ユーザ名UNによって示されるユーザの認証が成功する。なお、仮に、GPAにユーザ名が含まれていない場合には、プリンタ10は、ユーザ名を入力するための入力画面を端末100に表示させるための画面要求を端末100に送信する。 When the printer 10 receives the GPA from the terminal 100 at the T12, the printer 10 executes the authentication of the user name UN in the GPA at the T22. In the case of FIG. 3, the authentication of the user indicated by the user name UN is successful. If the GPA does not include the user name, the printer 10 transmits a screen request for displaying the input screen for inputting the user name on the terminal 100 to the terminal 100.

プリンタ10は、ユーザの認証が成功すると、T26において、GPAに対する応答である能力応答を端末100に送信する。図3では、プリセット情報が未だ記憶されていない状況について説明する。この状況では、能力応答は、能力情報を含み、プリセットデータを含まない。なお、1個以上のプリセット情報が記憶されている状況については、後述する図7で説明する。 When the user authentication is successful, the printer 10 transmits a capability response, which is a response to the GPA, to the terminal 100 at T26. FIG. 3 describes a situation in which preset information is not yet stored. In this situation, the ability response includes ability information and no preset data. The situation in which one or more preset information is stored will be described with reference to FIG. 7, which will be described later.

端末100は、T26において、プリンタ10から能力応答を受信すると、T30において、印刷設定画面(図示省略)とプリセット画面とを表示する。印刷設定画面は、能力応答に含まれる能力情報に適合する設定値を入力するための入力欄を含む。また、プリセット画面は、登録済みのプリセットデータのリストと、新しいプリセットデータを登録するための「New」ボタンを含む。図3の状況では、ユーザ名UNに関連付けられているプリセット情報が存在しないので、リストは空である。 Upon receiving the capability response from the printer 10 at T26, the terminal 100 displays a print setting screen (not shown) and a preset screen at T30. The print setting screen includes an input field for inputting a setting value matching the ability information included in the ability response. The preset screen also includes a list of registered preset data and a "New" button for registering new preset data. In the situation of FIG. 3, the list is empty because there is no preset information associated with the username UN.

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 printer 10. SPA is a command that requests the printer 10 to register preset data. The SPA includes the user name UN and the preset data PD1 generated by T38.

プリンタ10は、T40において、端末100からSPAを受信すると、T42において、基準データ42とSPA内のプリセットデータとを比較して、差異データ内の情報を決定するための比較処理を実行する。 When the printer 10 receives the SPA from the terminal 100 at the T40, the printer 10 compares the reference data 42 with the preset data in the SPA at the T42 and executes a comparison process for determining the information in the difference data.

図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 reference data 42 includes the number of copies “1” corresponding to the identification number “1” and the number of colors “monochrome” corresponding to the identification number “2” (see FIG. 1). Further, as described above, the preset data PD1 includes the number of copies "1" and the number of colors "monochrome". That is, there is no difference between the reference data 42 and the preset data PD1. Therefore, the difference data D1 stored in T44, which will be described later, includes the difference flag “NO” for each of the identification numbers “1” and “2”, and has a value for each of the identification numbers “1” and “2”. Is not included (see FIG. 1). A specific case where there is a difference between the reference data 42 and the preset data PD1 will be described later with reference to FIG. In addition, the number of setting items of the preset data PD1 may be larger than the number of setting items of the reference data 42. This case will be described later in FIG.

T44では、プリンタ10は、T42で決定された情報を含む差異データD1を生成し、プリセット名「Preset1」とユーザ名UNと差異データD1とを含むプリセット情報をプリセットテーブル44に記憶する。 In T44, the printer 10 generates the difference data D1 including the information determined in T42, and stores the preset information including the preset name “Preset1”, the user name UN, and the difference data D1 in the preset table 44.

T46では、プリンタ10は、プリセット名「Preset1」によって識別されるプリセットデータがプリンタ10に登録されたことを示す登録完了通知を端末100に送信する。 At T46, the printer 10 transmits a registration completion notification indicating that the preset data identified by the preset name “Preset1” has been registered in the printer 10 to the terminal 100.

(ケース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 reference data 42 includes the number of copies "1" and the number of colors "monochrome" as in the initial state of FIG.

本ケースの比較処理(図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 printer 10, the setting item "number of copies" of the identification number "1" is different from "1" in the reference data 42 and "10" in the preset data PD2. The difference flag corresponding to the setting item "number of copies" is determined to be "YES", and it is determined to include the difference flag "YES" and the set value "10" in the preset data PD2 as the difference data D2. .. Subsequently, the printer 10 determines that the setting item "color number" of the identification number "2" is the same as "monochrome" in the reference data 42 and "monochrome" in the preset data PD2, and determines that the setting item "color" is the same. It is determined that the difference flag "NO" corresponding to "number" is included, the difference flag "NO" is included as the difference data D2, and the set value "monochrome" in the preset data PD2 is not included. Then, the printer 10 generates difference data D2 including the information determined by the comparison process of this case, and presets the preset information including the preset name "Preset2" of the preset data PD2, the user name UN, and the difference data D2. Store in 44.

本ケースによれば、プリンタ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 printer 10 can realize the registration of the preset data PD2 by storing the difference data D2 related to the difference between the reference data 42 and the preset data PD2 in the memory 34. Here, the difference data D2 includes a setting value "10" having a difference from the reference data 42 with respect to the setting item "number of copies", but has a difference from the reference data 42 with respect to the setting item "number of colors". Does not include the setting value "monochrome". For example, without using the reference data 42, all of the two setting values (that is, the number of copies "10" and the number of colors "monochrome") corresponding to the two setting items included in the preset data PD2 are stored in the memory 34. A comparative example is assumed. In this comparative example, four set values (that is, a set value of two copies and a set value of two colors) are stored in the memory 34. On the other hand, according to this embodiment, when one preset data is newly registered in addition to the reference data, two setting values of the reference data 42 and one setting of the preset data PD2 having a difference are set. The value is stored in the memory 34, and the set value of the preset data PD1 having no difference is not stored in the memory 34. That is, in this embodiment, when one preset data is newly registered in addition to the reference data, three set values are stored in the memory 34. Therefore, in the configuration of this embodiment, the data size stored in the memory 34 can be compressed as compared with the above comparative example. Then, as the number of registered preset data increases, the data size stored in the memory 34 can be further compressed as compared with the comparative example.

(ケース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 reference data 42 includes the number of copies "1" and the number of colors "monochrome" as in the initial state of FIG. That is, as shown in FIG. 5, the reference data 42 has two setting values corresponding to two setting items (that is, “number of copies” and “number of colors”) out of the four setting items of the preset data PD3. And does not include the two setting values corresponding to the other two setting items (that is, "printing surface" and "image quality"). That is, in this case, the number of setting items of the preset data PD3 is larger than the number of setting items of the reference data 42.

基準データ42の設定項目の個数を多くするほど、基準データ42のデータサイズが大きくなる。当初の基準データ42の設定項目の個数が少ないことで、プリンタ10のメモリ34に予め記憶される基準データ42のデータサイズを圧縮することができる。 As the number of setting items of the reference data 42 increases, the data size of the reference data 42 increases. Since the number of setting items of the initial reference data 42 is small, the data size of the reference data 42 stored in advance in the memory 34 of the printer 10 can be compressed.

プリンタ10は、基準データ42の設定項目の個数よりも多い設定項目を有するプリセットデータが受信される場合に、基準データ42を拡張する。具体的には、プリンタ10は、プリセットデータPD3の中から、基準データ42に含まれない設定項目の項目名(即ちAttribute Name)を特定する。本ケースでは、プリンタ10は、基準データ42に含まれない項目名「印刷面」と項目名「画質」を特定する。プリンタ10は、新しい識別番号「3」に関連付けて、項目名「印刷面」とプリセットデータPD3の設定値「両面長辺綴じ」を基準データ42に追加し、さらに、新しい識別番号「4」に関連付けて、項目名「画質」とプリセットデータPD3の設定値「4」を基準データ42に追加する。これにより、基準データ42が、2個の設定項目から4個の設定項目に拡張される。 The printer 10 expands the reference data 42 when preset data having more setting items than the number of setting items of the reference data 42 is received. Specifically, the printer 10 specifies an item name (that is, an Attribute Name) of a setting item that is not included in the reference data 42 from the preset data PD3. In this case, the printer 10 specifies the item name "printing surface" and the item name "image quality" that are not included in the reference data 42. The printer 10 adds the item name "printing surface" and the set value "double-sided long edge binding" of the preset data PD3 to the reference data 42 in association with the new identification number "3", and further adds the item name "double-sided long edge binding" to the new identification number "4". In association with this, the item name "image quality" and the preset data PD3 setting value "4" are added to the reference data 42. As a result, the reference data 42 is expanded from two setting items to four setting items.

本ケースの比較処理(図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 printer 10 compares the expanded reference data 42 with the preset data PD3. Specifically, in the printer 10, the setting value in the reference data 42 and the setting value in the preset data PD3 are the same for each of the setting items "number of copies", "printing surface", and "image quality", so that the difference flag Is determined to be "NO", and it is determined not to include the three set values "1", "double-sided long side binding", and "4" in the preset data PD3 as the difference data D3. Further, the printer 10 determines the difference flag to "YES" because the setting value in the reference data 42 and the setting value in the preset data PD3 are different for the setting item "number of colors", and the preset data PD3 is set as the difference data D3. It is decided to include one of the setting values "color". Then, the printer 10 generates the difference data D3 including the information determined by the comparison process of this case, and presets the preset information including the preset name "Preset3" of the preset data PD3, the user name UN, and the difference data D3. Store in 44.

(ケース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 reference data 42. Specifically, the preset data PD4 includes the number of copies "1", the number of colors "color", the printing surface "double-sided long edge binding", and the image quality "3".

本ケースの比較処理(図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 printer 10 compares the expanded reference data 42 with the preset data PD4. Specifically, in the printer 10, the printer 10 has the same set value in the reference data 42 and the set value in the preset data PD4 for each of the two setting items "number of copies" and "printing surface". , The difference flag is set to "NO", and it is decided not to include the two set values "1" and "double-sided long side binding" in the preset data PD4 as the difference data D4. Further, the printer 10 determines the difference flag to "YES" because the setting value in the reference data 42 and the setting value in the preset data PD4 are different for the two setting items "color number" and "image quality". It is determined to include the two set values "color" and "3" in the preset data PD4 as the difference data D4. Then, the printer 10 generates difference data D4 including the information determined by the comparison process of this case, and presets the preset information including the preset name "Preset4" of the preset data PD4, the user name UN, and the difference data D4. Store in 44.

例えば、基準データ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 reference data 42 is received, a comparative example in which the reference data 42 is not expanded is assumed. In this comparative example, the data size can be compressed for the same setting items as the setting items included in the reference data 42, but the setting items different from the setting items included in the reference data 42 can be compressed as described above. It is necessary to store the setting value corresponding to the setting item included in the preset data in the memory 34. On the other hand, according to the case A3 of FIG. 6, for the setting item "printing surface" different from the setting item included in the reference data 42 before expansion, the setting value "double-sided long edge binding" included in the preset data PD4. Does not have to be stored in the memory 34. According to this case, the data size stored in the memory 34 can be further compressed as compared with the comparative example in which the reference data 42 is not expanded. In the modified example, the above comparative example may be adopted.

(ケース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 reference data 42. Specifically, the preset data PD5 includes the number of copies "1", the number of colors "color", and the image quality "4", and does not include the setting value corresponding to the setting item "printing surface".

本ケースの比較処理(図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 printer 10 compares the expanded reference data 42 with the preset data PD5. Specifically, in the printer 10, the printer 10 has the same set value in the reference data 42 and the set value in the preset data PD5 for each of the two setting items "number of copies" and "image quality". It is determined that the difference flag is set to "NO" and that the difference data D5 does not include the two set values "1" and "4" in the preset data PD5. Further, since the setting value in the reference data 42 and the setting value in the preset data PD5 are different for one setting item "color number", the printer 10 determines the difference flag to "YES" and sets it as the difference data D5. It is decided to include the two setting values "color" in the preset data PD5. Further, in the printer 10, since the preset data PD5 does not include the setting value corresponding to the setting item "printing surface" for one setting item "printing surface", the setting value and the difference corresponding to the setting item "printing surface". Decide not to include the flag in the difference data D5. Then, the printer 10 generates the difference data D5 including the information determined by the comparison process of this case, and presets the preset information including the preset name "Preset 5" of the preset data PD5, the user name UN, and the difference data D5. Store in 44.

(印刷;図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 printer 10 generates (that is, restores) five preset data PD1 to PD5. First, the printer 10 identifies five preset informations associated with the user name UN from the preset table 44. Then, the printer 10 uses the five specified preset information to generate preset data PD1 to PD5.

例えば、プリセットデータ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 printer 10 selects the identification number "1" in the difference data D2. The printer 10 determines that the difference flag corresponding to the identification number "1" of the difference data D2 indicates "YES". In this case, the printer 10 combines the item name "copies" corresponding to the identification number "1" of the reference data 42 and the set value "10" corresponding to the identification number "1" of the difference data D2. Then, the data about the setting item "number of copies" in the preset data PD2 is restored. Next, the printer 10 selects the identification number "2" in the difference data D2. The printer 10 determines that the difference flag corresponding to the identification number "2" of the difference data D2 indicates "NO". In this case, the printer 10 sets the item name "print-color-mode" and the setting value "monochrome" corresponding to the identification number "2" of the reference data 42 in the preset data PD2. Adopted as data about "number of colors". As a result, the preset data PD2 is restored. The preset data PD1 and PD3 to PD5 are also restored in the same manner.

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 printer 10. The print execution request includes a user name UN, two set values (that is, the number of copies "10" and the number of colors "monochrome"), and image data corresponding to the image to be printed.

プリンタ10は、T150において、端末100から印刷実行要求を受信すると、印刷実行要求に含まれる2個の設定値に従って、印刷実行要求に含まれる画像データに対応する画像の印刷処理を印刷実行部16に実行させる。 When the printer 10 receives the print execution request from the terminal 100 in the T150, the printer 10 prints the image corresponding to the image data included in the print execution request according to the two set values included in the print execution request. To execute.

(対応関係)
プリンタ10、印刷実行部16、メモリ34が、それぞれ、「画像処理装置」、「画像処理実行部」、「メモリ」の一例である。端末100が、「端末装置」の一例である。基準データ42が、「基準データ」の一例である。GPAが、「データ取得要求」の一例である。識別番号、Attribute Nameが、それぞれ、「識別子」、「項目名」の一例である。
(Correspondence)
The printer 10, the print execution unit 16, and the memory 34 are examples of an “image processing device”, an “image processing execution unit”, and a “memory”, respectively. The terminal 100 is an example of a "terminal device". The reference data 42 is an example of “reference data”. GPA is an example of a "data acquisition request". The identification number and the Attribute Name are examples of the "identifier" and the "item name", respectively.

図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 reference data 42.

(基準データ;図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 reference data 42 includes K1 data corresponding to K1 setting items (K1 is an integer of 1 or more) and K2 data corresponding to K2 setting items (K2 is an integer of 1 or more). ,including. Here, for each of the K1 setting items, the setting value corresponding to the setting item has the mode of the first kind. The first aspect is one of the Attribute Syntax "text", "octetString", "name" and "keyword". On the other hand, for each of the K2 setting items, the setting value corresponding to the setting item has the second type mode. The second aspect is one of the Attribute Syntax "integer", "enum" and "boolean". That is, the maximum length of the set value having the second type aspect is shorter than the maximum length of the set value having the first type aspect.

また、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 printer 10 executes a process different from that of the first embodiment and stores the difference data D6 in the preset table 44. .. In this process, the printer 10 executes the first process when the set value corresponding to the setting item has the mode of the first type, and when the set value corresponding to the setting item has the mode of the second type. In addition, a second process different from the first process is executed. Specifically, first, the printer 10 determines that the setting value corresponding to the setting item "number of copies" of the identification number "1" has the second type mode (that is, "integer"). The second process of determining that the difference data D6 does not include the difference flag and includes the set value “10” in the preset data PD6 is executed. Subsequently, the printer 10 determines that the setting value corresponding to the setting item "color number" of the identification number "2" has the first type mode (that is, "keyword"), and the reference data 42 Judging that "monochrome" in the preset data PD6 is the same as "monochrome" in the preset data PD6, the difference flag corresponding to the setting item "number of copies" is determined to be "NO", and the difference flag "NO" is set as the difference data D6. The first process of determining not to include the set value "monochrome" in the preset data PD6 is executed. Subsequently, the printer 10 determines that the setting value corresponding to the setting item "printing surface" of the identification number "3" has the first type mode (that is, "keyword"), and the reference data 42 Judging that the "double-sided long-side binding" in the preset data PD6 is different from the "single-sided" in the preset data PD6, the difference flag corresponding to the setting item "printing surface" is determined to be "YES", and the difference flag "YES" is set as the difference data D6. "And the first process of determining to include the set value" one side "in the preset data PD6 is executed. Then, the printer 10 generates the difference data D6 including the information determined in the first process and the second process of this case, and the preset name “Preset 5” of the preset data PD6, the user name UN, and the difference data D6 The preset information including the above is stored in the preset table 44. That is, in the first aspect, the comparison process of the first embodiment (that is, the set value is stored as the difference data when the difference flag “NO” is determined, and is set when the difference flag “YES” is determined. The first process similar to the process of not storing the value as the difference data (see T42 in FIG. 3) is executed. On the other hand, in the second aspect, the set value in the reference data 42 and the set value in the preset data are not compared, and the value of the difference flag is not determined. That is, the second process does not include the comparison process.

上記したように、第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 memory 34 and the second situation in which the L set values having the second aspect are stored in the memory 34 are compared. .. The difference between the data size in the first situation and the data size in the second situation increases as the number L increases. In the first aspect in which the data size becomes relatively large when a large number of set values are stored, the data size stored in the memory 34 is stored by executing the first process similar to the comparison process of the first embodiment. To compress. On the other hand, in the second type mode in which the data size does not become relatively large even if a large number of set values are stored, a large number of set values are stored as they are without executing the comparison process. That is, even if the comparison process is executed for the second type mode in which the data size does not become relatively large even if a large number of set values are stored, the data size cannot be expected to be compressed as compared with the first type mode. It is possible to suppress the execution of the comparison process in the second type mode in which the data size cannot be expected to be compressed.

また、プリンタ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 printer 10 executes a process different from that of the first embodiment to restore the preset data PD6. In this process, the printer 10 executes the third process when the identification number indicating the setting item corresponding to the set value having the first type mode is selected, and the printer 10 executes the third process, and the set value having the second type mode. When the identification number indicating the setting item corresponding to is selected, the fourth process different from the third process is executed (see FIG. 9). Specifically, the printer 10 selects the identification number "1". Since the setting value corresponding to the setting item "number of copies" indicated by the identification number "1" has the second type mode in the printer 10, the item name "copies" corresponding to the identification number "1" and the item name "copies" are used. In combination with the setting value "10" corresponding to the identification number "1" of the difference data D6, the fourth process of restoring the data regarding the setting item "number of copies" in the preset data PD6 is executed. Subsequently, the printer 10 selects the identification number "2". Since the setting value corresponding to the setting item "color number" indicated by the identification number "2" has the first aspect of the printer 10, the difference flag corresponding to the identification number "2" of the difference data D6 is "YES". Is determined. In this case, the printer 10 determines that the difference flag indicates "NO", and determines that the item name "print-color-mode" corresponding to the identification number "2" of the reference data 42 and the set value "monochrome". (Monochrome) ”is used as the data for the setting item“ number of colors ”in the preset data PD6, and the third process is executed. Subsequently, the printer 10 selects the identification number "3". Since the setting value corresponding to the setting item "printing surface" indicated by the identification number "3" has the first aspect of the printer 10, the difference flag corresponding to the identification number "3" of the difference data D6 is "YES". Is determined. In this case, the printer 10 determines that the difference flag indicates "YES", and the item name "printed surfaces (sides)" corresponding to the identification number "3" of the reference data 42 and the identification number "sides" of the difference data D6. In combination with the setting value "one-side" corresponding to "3", the third process of restoring the data about the setting item "print side" in the preset data PD6 is executed. As a result, the preset data PD6 is restored.

上記したように、第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 CPU 32 that executes the process for restoring the preset data can be reduced as compared with the first embodiment in which the determination is executed for all the setting items.

(ケース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 reference data 42.

プリンタ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 printer 10 expands the reference data 42 when preset data having more setting items than the number of setting items of the reference data 42 is received. Specifically, the printer 10 specifies an item name (that is, an Attribute Name) that is not included in the reference data 42 from the preset data PD7. In this case, the printer 10 specifies the item name "image quality" and the item name "print medium" that are not included in the reference data 42. The printer 10 selects the item name "image quality" from the two specified item names. The printer 10 determines that the set value corresponding to the item name "image quality" has the second type mode (that is, "enum"), associates it with the new identification number "4", and uses the item name "image quality" as reference data. It is added to 42, and the set value "4" in the preset data PD7 is not added to the reference data 42. Next, the printer 10 selects the item name "printing medium" from the two specified item names. The printer 10 determines that the set value corresponding to the item name "print medium" has the first type mode (that is, "keyword"), and associates the setting value with the new identification number "5" with the item name "print medium". The set value "A4" in the preset data PD7 is added to the reference data 42. As a result, the reference data 42 is expanded from three set values to five set values.

本ケースでは、プリンタ10は、拡張後の基準データ42を利用して、上記の第1の処理と第2の処理とを実行し、差異データD7をプリセットテーブル44に記憶する。詳細については、省略する。 In this case, the printer 10 executes the first process and the second process described above by using the expanded reference data 42, and stores the difference data D7 in the preset table 44. Details will be omitted.

例えば、基準データ42に含まれない項目名が第2種の態様を有する場合でも、プリセットデータPD7内の設定値を基準データ42に追加する比較例が想定される。この比較例では、第2種の態様における第2の処理において利用されない不必要な設定値が基準データ42に追加される。これに対して、本ケースでは、第2種の態様における第2の処理において利用されない不必要な設定値が基準データ42に追加されない。拡張後の基準データ42のデータサイズが、不必要に大きくなることを抑制することができる。なお、変形例では、上記の比較例の構成を採用してもよい。 For example, even when the item name not included in the reference data 42 has the second type mode, a comparative example in which the set value in the preset data PD7 is added to the reference data 42 is assumed. In this comparative example, unnecessary set values that are not used in the second process in the second aspect are added to the reference data 42. On the other hand, in this case, unnecessary setting values that are not used in the second process in the second aspect are not added to the reference data 42. It is possible to prevent the data size of the expanded reference data 42 from becoming unnecessarily large. In the modified example, the configuration of the above comparative example may be adopted.

(対応関係)
図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 reference data 42 is different and the material data is stored in the preset table 44.

(基準データ;図11)
基準データ42は、複数個の設定項目のそれぞれについて、当該設定項目を識別する識別番号と、当該設定項目を示す項目名(即ちAttribute Name)と、を含み、当該設定項目に対応する値を含まない。例えば、図11に示すように、基準データ42は、識別番号「1」に対応する項目名「部数(copies)」と、識別番号「2」に対応する項目名「色数(print-color-mode)」と、を含む。
(Reference data; Fig. 11)
The reference data 42 includes, for each of the plurality of setting items, an identification number for identifying the setting item and an item name (that is, Attribute Name) indicating the setting item, and includes a value corresponding to the setting item. No. For example, as shown in FIG. 11, in the reference data 42, the item name "copies" corresponding to the identification number "1" and the item name "color-number (print-color-)" corresponding to the identification number "2" are used. mode) ”, including.

(ケース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 printer 10 executes a process different from that of the first embodiment and stores the difference data D8 in the preset table 44. .. Specifically, first, the printer 10 uses a combination of the identification number "1" and the set value "1" in the preset data PD8 as the material data MD for the setting item "number of copies" of the identification number "1" as a preset table. Store in 44. Subsequently, the printer 10 stores the combination of the identification number "2" and the set value "color" in the preset data PD8 in the preset table 44 as the material data MD for the setting item "color number" of the identification number "2". do. Then, the printer 10 stores the preset information including the preset name “Preset 8” of the preset data PD8, the user name UN, and the material data MD in the preset table 44.

また、プリンタ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 printer 10 executes a process different from that of the first embodiment to restore the preset data PD8. Specifically, the printer 10 selects the identification number "1". The printer 10 combines the item name "copies" corresponding to the identification number "1" and the set value "1" corresponding to the identification number "1" of the material data MD to be included in the preset data PD8. Restore the data for the setting item "Number of copies". Subsequently, the printer 10 selects the identification number "2". The printer 10 combines preset data by combining the item name "print-color-mode" corresponding to the identification number "2" and the set value "color" corresponding to the identification number "2" of the material data MD. Restore the data about the setting item "number of colors" in PD8. As a result, the preset data PD8 is restored.

本ケースによれば、プリンタ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 printer 10 can realize the registration of the preset data PD8 by storing the material data MD, which is a material for generating the preset data PD8, in the memory 34. Here, the preset data PD8 includes an item name (that is, Attribute Name) and a set value (that is, Attribute Value). On the other hand, the material data MD includes an identification number and a set value. For example, a comparative example is assumed in which the combination of the item name and the set value is stored in the memory 34 as material data without using the identification number. In this comparative example, when three preset data are registered, the same three item names are stored in the memory 34 as material data. On the other hand, according to the present embodiment, when three preset data are registered, one item name is stored in the memory 34 as the reference data 42, and the four identification numbers are the reference data 42 and the material data MD. Is stored in the memory 34. Here, an integer shorter than the character string representing the item name is adopted as the identification number. Therefore, as the length of the identification number becomes shorter than the length of the item name, the data size stored in the memory 34 can be compressed as compared with the above comparative example. Further, the more preset data is registered, the more the data size stored in the memory 34 can be compressed as compared with the above comparative example.

なお、第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 memory 34 can be compressed as in the third embodiment.

(対応関係)
識別番号、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 printer 10 stores the difference data when the SPA according to the IPP is received from the terminal 100 (T40 in FIG. 3). Instead, the printer 10 may function as a web server, and when receiving an HTTP request from the terminal 100, may transmit screen data corresponding to the registration screen for registering preset data to the terminal 100. .. When a plurality of setting values are input on the registration screen, the printer 10 may receive an HTTP command including the plurality of setting values from the terminal 100. Then, the printer 10 may generate and store the difference data from a plurality of set values in the HTTP command. In this modification, the HTTP command is an example of a "first registration request (or second registration request)".

(変形例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 reference data 42 is stored in the memory 34 in advance at the shipping stage of the printer 10. Instead, the reference data 42 may be generated by using the preset data included in the SPA when the SPA is received from the terminal 100 for the first time. In this modification, the preset data included in the SPA received from the terminal 100 for the first time is an example of "specific setting data".

(変形例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 reference data 42 is not limited to the one containing the Attribute Value and not including the Length of Attribute Value (see FIG. 1 etc.), for example, in addition to the Attribute Value, the Length of Attribute Value and the Length of Attribute. It may contain at least one of the Names. Along with this, the difference data may also include at least one of the Length of Attribute Value and the Length of Attribute Name in addition to the Attribute Value.

例えば、基準データ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 reference data 42 may include an Attribute Value and a Length of Attribute Value. Then, the printer 10 compares the information in the reference data 42 (that is, Attribute Value and Length of Attribute Value) with the information in the preset data (that is, Attribute Value and Length of Attribute Value), and determines the difference between the two information. The indicated information may be stored as difference data. For example, when the Attribute Syntax is "octetString", the Length of Attribute Value of the preset data can be restored by using the Length of Attribute Value included in both the reference data 42 and the difference data. In this modification, Attribute Value and Length of Attribute Value are examples of "values".

また、例えば、基準データ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 reference data 42 and the difference data may include the Attribute Value and may not include the Length of Attribute Value when the Attribute Syntax is the first type syntax (for example, “integer”). Attribute Value and Length of Attribute Value may be included in the case of the second type syntax (for example, "octetString").

(変形例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.
前記基準データは、第1種の態様を有する前記N個の値を含み、
前記基準データは、さらに、前記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.
前記第1の設定データは、さらに、前記画像処理の特定の設定項目に対応する値を含み、
前記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種の態様を有する値の最大長さは、前記第1種の態様を有する値の最大長さよりも短い、請求項3又は4に記載の画像処理装置。 The image processing apparatus according to claim 3 or 4, wherein the maximum length of the value having the second type aspect is shorter than the maximum length of the value having the first type aspect. 前記第1種の態様は、IPP(Internet Printing Protocolの略)のAttribute Syntaxesに従った、keword、text、name、及び、octetStringのうちの少なくとも一つを含み、
前記第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.
前記第1の設定データは、前記N個の設定項目のそれぞれについて、当該設定項目を示す項目名を含み、
前記基準データは、前記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の設定データは、IPP(Internet Printing Protocolの略)に従ったデータである、請求項1から7のいずれか一項に記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 7, wherein the first setting data is data according to IPP (abbreviation of Internet Printing Protocol). 前記基準データは、前記端末装置から前記第1の登録要求を受信する前に、前記端末装置から特定の設定データの登録を要求する最初の登録要求が受信される場合に、前記特定の設定データを利用して生成される、請求項1から8のいずれか一項に記載の画像処理装置。 The reference data is the specific setting data when the first registration request requesting the registration of specific setting data is received from the terminal device before receiving the first registration request from the terminal device. The image processing apparatus according to any one of claims 1 to 8, which is generated by using the above. 前記基準データは、前記端末装置から設定データの登録を要求する登録要求が未だ受信されていない状態において、前記メモリに予め記憶されている、請求項1から8のいずれか一項に記載の画像処理装置。 The image according to any one of claims 1 to 8, wherein the reference data is stored in advance in the memory in a state where a registration request requesting registration of setting data has not yet been received from the terminal device. Processing equipment. 画像処理装置であって、
画像処理を実行するための画像処理実行部と、
前記画像処理に関係する設定データの基準である基準データを記憶可能なメモリであって、前記基準データは、前記画像処理を実行するための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.
JP2020063930A 2020-03-31 2020-03-31 Image processing apparatus and computer program for image processing apparatus Pending JP2021163193A (en)

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)

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