JP6977516B2 - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP6977516B2
JP6977516B2 JP2017233939A JP2017233939A JP6977516B2 JP 6977516 B2 JP6977516 B2 JP 6977516B2 JP 2017233939 A JP2017233939 A JP 2017233939A JP 2017233939 A JP2017233939 A JP 2017233939A JP 6977516 B2 JP6977516 B2 JP 6977516B2
Authority
JP
Japan
Prior art keywords
printer
condition
terminal device
condition information
print
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.)
Active
Application number
JP2017233939A
Other languages
Japanese (ja)
Other versions
JP2019098664A (en
Inventor
和英 澤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2017233939A priority Critical patent/JP6977516B2/en
Publication of JP2019098664A publication Critical patent/JP2019098664A/en
Application granted granted Critical
Publication of JP6977516B2 publication Critical patent/JP6977516B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Description

本明細書では、プリンタが利用可能な印刷条件を示す条件情報を端末装置に送信するプリンタを開示する。 The present specification discloses a printer that transmits condition information indicating printing conditions that can be used by the printer to a terminal device.

特許文献1には、プリンタと端末装置との間でIPP(Internet Printing Protocolの略)に従った通信が実行されて、プリンタが端末装置からの指示に従って印刷を実行することが開示されている。プリンタは、プリンタドライバを備える端末装置から能力情報要求を受信すると、プリンタが利用可能なデータ形式情報、解像度情報等を含む能力通知を端末装置に送信する。そして、プリンタは、端末装置から、能力通知に含まれるデータ形式、解像度等に従った印刷データを受信し、印刷データによって表わされる画像の印刷を実行する。 Patent Document 1 discloses that communication according to IPP (abbreviation of Internet Printing Protocol) is executed between a printer and a terminal device, and the printer executes printing according to an instruction from the terminal device. When the printer receives the capability information request from the terminal device including the printer driver, the printer sends a capability notification including data format information, resolution information, etc. that can be used by the printer to the terminal device. Then, the printer receives print data according to the data format, resolution, etc. included in the capability notification from the terminal device, and prints the image represented by the print data.

特開2016−72785号公報Japanese Unexamined Patent Publication No. 2016-72785 特開2001−350604号公報Japanese Unexamined Patent Publication No. 2001-350604

特許文献1の技術では、端末装置のプリンタドライバの種類について何ら考慮されていない。本明細書では、プリンタに印刷の実行を指示するための印刷アプリケーションの種類に応じた適切な処理を実行し得るプリンタを提供する。 In the technique of Patent Document 1, no consideration is given to the type of printer driver of the terminal device. The present specification provides a printer capable of performing appropriate processing according to the type of printing application for instructing the printer to execute printing.

本明細書によって開示されるプリンタは、印刷実行部と、端末装置から、前記プリンタが利用可能な印刷条件を示す条件情報を要求する情報要求を受信する情報要求受信部であって、前記情報要求は、前記プリンタに印刷の実行を指示するための特定の印刷アプリケーションが前記端末装置において利用されることによって、前記端末装置から前記プリンタに送信される、前記情報要求受信部と、前記情報要求の内容に応じて、前記端末装置に送信されるべき対象条件情報を決定する条件情報決定部と、前記条件情報決定部にて決定される前記対象条件情報を前記端末装置に送信する条件情報送信部と、前記対象条件情報が前記端末装置に送信された後に、前記端末装置から、前記対象条件情報に従った対象印刷データを受信する印刷データ受信部と、前記対象印刷データによって表わされる対象画像の印刷を前記印刷実行部に実行させる印刷制御部と、を備えてもよく、前記条件情報決定部は、前記特定の印刷アプリケーションが第1種の印刷アプリケーションであることに起因して、前記情報要求が第1の内容を示す場合に、第1の印刷条件を示す第1の条件情報を前記対象条件情報として決定し、前記特定の印刷アプリケーションが前記第1種の印刷アプリケーションとは異なる第2種の印刷アプリケーションであることに起因して、前記情報要求が前記第1の内容とは異なる第2の内容を示す場合に、前記第1の印刷条件とは異なる第2の印刷条件を示す第2の条件情報を前記対象条件情報として決定してもよい。 The printer disclosed by the present specification is an information request receiving unit that receives an information request from a print execution unit and a terminal device for requesting condition information indicating printing conditions that can be used by the printer. Is the information request receiving unit and the information request transmitted from the terminal device to the printer by using a specific printing application for instructing the printer to perform printing in the terminal device. A condition information determination unit that determines target condition information to be transmitted to the terminal device according to the content, and a condition information transmission unit that transmits the target condition information determined by the condition information determination unit to the terminal device. A print data receiving unit that receives the target print data according to the target condition information from the terminal device after the target condition information is transmitted to the terminal device, and a target image represented by the target print data. A print control unit that causes the print execution unit to perform printing may be provided, and the condition information determination unit may request the information because the specific print application is a first-class print application. When indicates the first content, the first condition information indicating the first printing condition is determined as the target condition information, and the specific printing application is different from the first type printing application. When the information request indicates a second content different from the first content due to the printing application of the above, a second printing condition different from the first printing condition is indicated. The condition information of may be determined as the target condition information.

上記の構成によると、プリンタは、端末装置が第1種の印刷アプリケーションを利用する場合に、第1の印刷条件を示す第1の条件情報を対象条件情報として決定し、端末装置が第1種の印刷アプリケーションとは異なる第2種の印刷アプリケーションを利用する場合に、第1の印刷条件とは異なる第2の印刷条件を示す第2の条件情報を対象条件情報として決定する。従って、プリンタは、端末装置の印刷アプリケーションの種類に応じた対象条件情報を端末装置に送信することができる。この結果、プリンタは、端末装置から、端末装置の印刷アプリケーションの種類に応じた対象条件情報に従った対象印刷データを受信して印刷を実行することができる。このように、プリンタは、端末装置の印刷アプリケーションの種類に応じた適切な処理を実行し得る。 According to the above configuration, when the terminal device uses the first type printing application, the printer determines the first condition information indicating the first printing condition as the target condition information, and the terminal device is the first type. When a second type of printing application different from the printing application of No. 1 is used, the second condition information indicating the second printing condition different from the first printing condition is determined as the target condition information. Therefore, the printer can transmit the target condition information according to the type of the printing application of the terminal device to the terminal device. As a result, the printer can receive the target print data according to the target condition information according to the type of the print application of the terminal device from the terminal device and execute printing. In this way, the printer can perform appropriate processing according to the type of printing application of the terminal device.

上記のプリンタを実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。また、上記のプリンタと端末装置とを備える通信システムも、新規で有用である。 A control method for realizing the above printer, a computer program, and a computer-readable recording medium for storing the computer program are also new and useful. Further, a communication system including the above-mentioned printer and terminal device is also new and useful.

通信システムの構成を示す。The configuration of the communication system is shown. プリンタ及び端末装置が実行する各処理のシーケンス図を示す。A sequence diagram of each process executed by the printer and the terminal device is shown. 対象条件情報決定処理のフローチャートを示す。The flowchart of the target condition information determination process is shown. プリンタと第1の端末装置との間で実現されるケースAのシーケンス図を示す。The sequence diagram of the case A realized between the printer and the first terminal apparatus is shown. プリンタと第2の端末装置との間で実現されるケースBのシーケンス図を示す。The sequence diagram of the case B realized between the printer and the second terminal apparatus is shown. プリンタと第3の端末装置との間で実現されるケースCのシーケンス図を示す。The sequence diagram of the case C realized between the printer and the third terminal apparatus is shown.

(通信システム2の構成;図1)
図1に示されるように、通信システム2は、プリンタPRと、複数個の端末装置TE1〜TE3と、を備える。各デバイスPR,TE1〜TE3は、LAN(LocalArea Networkの略)4を介して相互に通信可能である。LAN4は、有線LAN及び無線LANのどちらでもよい。
(Configuration of communication system 2; FIG. 1)
As shown in FIG. 1, the communication system 2 includes a printer PR and a plurality of terminal devices TE1 to TE3. The devices PR, TE1 to TE3 can communicate with each other via LAN (abbreviation of Local Area Network) 4. The LAN 4 may be either a wired LAN or a wireless LAN.

(プリンタPRの構成)
プリンタPRは、印刷機能を実行可能な周辺機器(即ち各端末装置TE1〜TE3の周辺機器)である。なお、プリンタPRは、印刷機能に加えて、スキャン機能、FAX機能等を実行可能な多機能機であってもよい。プリンタPRは、操作部12と、表示部14と、印刷実行部16と、通信インターフェイス18と、制御部20と、を備える。各部12〜20は、バス線(符号省略)に接続されている。
(Configuration of printer PR)
The printer PR is a peripheral device capable of executing a printing function (that is, a peripheral device of each terminal device TE1 to TE3). The printer PR may be a multifunctional machine capable of executing a scanning function, a fax function, and the like in addition to the printing function. The printer PR includes an operation unit 12, a display unit 14, a print execution unit 16, a communication interface 18, and a control unit 20. Each part 12 to 20 is connected to a bus line (reference numeral omitted).

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタPRに与えることができる。表示部14は、様々な情報を表示するためのディスプレイである。表示部14は、いわゆるタッチパネル(即ち操作部)としても機能する。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構を備える。通信インターフェイス18は、LAN4に接続されている。 The operation unit 12 includes a plurality of keys. The user can give various instructions to the printer PR 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 includes a printing mechanism such as an inkjet method and a laser method. The communication interface 18 is connected to the LAN 4.

制御部20は、CPU22と、メモリ24と、を備える。CPU22は、メモリ24に格納されているプログラム30に従って、様々な処理を実行するプロセッサである。メモリ24は、ROM、RAM等によって構成され、上記のプログラム30の他に、条件情報32を格納する。 The control unit 20 includes a CPU 22 and a memory 24. The CPU 22 is a processor that executes various processes according to the program 30 stored in the memory 24. The memory 24 is composed of a ROM, RAM, and the like, and stores condition information 32 in addition to the above program 30.

条件情報32は、プリンタPRが利用可能な印刷条件を示す情報であり、換言すると、プリンタPRの能力(即ち印刷に関係する能力)を示す能力情報である。プリンタPRが利用可能な印刷条件は、複数個の条件項目のそれぞれについて、当該条件項目に対応する各項目値を含む。複数個の条件項目は、「フォーマット」と「印刷解像度」とを含む。条件項目「フォーマット」は、プリンタPRが利用可能(即ち解釈可能)な印刷データのフォーマットを示す項目である。プリンタPRは、PWG(Printer Working Groupの略)Raster(以下ではRasterを省略して簡単に「PWG」と記載する)、JPEG(Joint Photograph Experts Groupの略)、及び、PDF(Portable Document Formatの略)のいずれかのフォーマットを有する印刷データを解釈可能である。従って、条件項目「フォーマット」には、項目値「PWG」と項目値「JPEG」と項目値「PDF」が対応付けられている。条件項目「印刷解像度」は、プリンタPRが利用可能な印刷解像度を示す項目である。プリンタPRは、300dpi、600dpi、及び、1200dpiのいずれかの印刷解像度を利用して印刷を実行可能である。従って、条件項目「印刷解像度」には、項目値「300dpi」と項目値「600dpi」と項目値「1200dpi」とが対応付けられている。 The condition information 32 is information indicating the printing conditions that can be used by the printer PR, in other words, the ability information indicating the ability of the printer PR (that is, the ability related to printing). The print condition that can be used by the printer PR includes each item value corresponding to the condition item for each of the plurality of condition items. The plurality of condition items include "format" and "print resolution". The condition item "format" is an item indicating the format of print data that can be used (that is, interpretable) by the printer PR. Printer PR is PWG (abbreviation of Printer Working Group) Raster (hereinafter abbreviated as "PWG" for short), JPEG (abbreviation of Joint Photograph Experts Group), and PDF (abbreviation of Portable Document Format). ) Can be interpreted as print data having any of the formats. Therefore, the item value "PWG", the item value "JPEG", and the item value "PDF" are associated with the condition item "format". The condition item "print resolution" is an item indicating the print resolution that can be used by the printer PR. The printer PR can perform printing using any of the print resolutions of 300 dpi, 600 dpi, and 1200 dpi. Therefore, the item value "300 dpi", the item value "600 dpi", and the item value "1200 dpi" are associated with the condition item "print resolution".

(各端末装置TE1〜TE3の構成)
各端末装置TE1〜TE3は、デスクトップPC(Personal Computerの略)、ノートPC、タブレットPC、スマートフォン等のユーザ端末である。各端末装置TE1〜TE3は、IPP(Internet Printing Protocol)に従った手順でプリンタPRに印刷を指示するための印刷アプリケーションAP1〜AP3を備える。以下では、印刷アプリケーションのことを単に「アプリ」と呼ぶ。いずれのアプリAP1〜AP3も、プリンタPRのベンダを含む複数のベンダによって提供される複数種類のプリンタのそれぞれに印刷を実行させることが可能な汎用アプリケーションである。
(Configuration of each terminal device TE1 to TE3)
Each terminal device TE1 to TE3 is a user terminal such as a desktop PC (abbreviation of Personal Computer), a notebook PC, a tablet PC, or a smartphone. Each terminal device TE1 to TE3 includes printing applications AP1 to AP3 for instructing the printer PR to print in a procedure according to IPP (Internet Printing Protocol). In the following, the printing application is simply referred to as an "app". Each of the applications AP1 to AP3 is a general-purpose application capable of causing each of a plurality of types of printers provided by a plurality of vendors including the vendor of the printer PR to execute printing.

端末装置TE1のアプリAP1は、UBUNTU(登録商標)Printである。UBUNTUPrintは、通常、Linux(登録商標)OSで利用される。LinuxOSは、通常、PCに搭載され、スマートフォンに搭載されない。本実施例では、端末装置TE1が比較的に高い処理能力を有するPCである状況を想定している。 The application AP1 of the terminal device TE1 is Ubuntu® Print. UBUNTUPrint is typically used in Linux® OS. LinuxOS is usually installed in a PC and not in a smartphone. In this embodiment, it is assumed that the terminal device TE1 is a PC having a relatively high processing capacity.

端末装置TE2のアプリAP2は、AirPrint(登録商標)である。AirPrintは、通常、iOS(登録商標)で利用される。本実施例では、端末装置TE2がスマートフォンである状況を想定している。 The app AP2 of the terminal device TE2 is AirPrint®. AirPrint is typically used with iOS®. In this embodiment, it is assumed that the terminal device TE2 is a smartphone.

端末装置TE3のアプリAP3は、Mopria(登録商標)である。Mopriaは、通常、アンドロイド(登録商標)OSで利用される。本実施例では、端末装置TE3がスマートフォンである状況を想定している。 The application AP3 of the terminal device TE3 is Mopria (registered trademark). Mopria is usually used in Android® OS. In this embodiment, it is assumed that the terminal device TE3 is a smartphone.

(プリンタPR及び各端末装置TE1〜TE3の処理;図2)
図2を参照して、プリンタPR及び各端末装置TE1〜TE3によって実行される各処理の内容を説明する。以下の処理は、各端末装置TE1〜TE3のアプリAP1〜AP3がIPPに従った手順でプリンタPRに印刷を指示するための処理である。即ち、いずれのアプリAP1〜AP3も同じプロトコルであるIPPを利用してプリンタPRとの通信を実行する。なお、以下では、各端末装置TE1〜TE3を総称して「端末装置TE」と呼ぶ。
(Processing of printer PR and each terminal device TE1 to TE3; FIG. 2)
With reference to FIG. 2, the contents of each process executed by the printer PR and the terminal devices TE1 to TE3 will be described. The following processing is a processing for the applications AP1 to AP3 of each terminal device TE1 to TE3 to instruct the printer PR to print according to the procedure according to the IPP. That is, all of the applications AP1 to AP3 execute communication with the printer PR using IPP which is the same protocol. In the following, each terminal device TE1 to TE3 will be collectively referred to as "terminal device TE".

S10では、端末装置TEは、ユーザから印刷指示を受け付ける。印刷指示は、端末装置TEのアプリ(以下では「対象アプリ」と呼ぶ)を起動する指示と、対象アプリによって表示される画面上で「印刷」を示すボタンを選択する指示と、を含む。端末装置TEは、S10において、ユーザから印刷指示を受け付ける場合に、S12において、対象アプリを利用して、条件情報要求をプリンタPRに送信する。条件情報要求は、プリンタPRが利用可能な印刷条件を示す条件情報を要求するコマンドである。 In S10, the terminal device TE receives a print instruction from the user. The print instruction includes an instruction to start an application of the terminal device TE (hereinafter referred to as a "target application") and an instruction to select a button indicating "print" on the screen displayed by the target application. When the terminal device TE receives a print instruction from the user in S10, the terminal device TE uses the target application in S12 to transmit the condition information request to the printer PR. The condition information request is a command for requesting condition information indicating printing conditions that can be used by the printer PR.

プリンタPRのCPU22は、S12において、端末装置TEから条件情報要求を受信する場合に、S20において、条件情報要求の内容に応じて、端末装置TEに送信されるべき対象条件情報を決定する対象条件情報決定処理を実行する。次いで、CPU22は、S22において、対象条件情報を端末装置TEに送信する。図2の例では、対象条件情報は、条件項目「フォーマット」に対応する3個の項目値(即ち、PWG、JPEG、PDF)と、条件項目「印刷解像度」に対応する3個の項目値(即ち、300dpi、600dpi、1200dpi)と、を含む。 When the CPU 22 of the printer PR receives the condition information request from the terminal device TE in S12, the target condition determines the target condition information to be transmitted to the terminal device TE according to the content of the condition information request in S20. Executes information determination processing. Next, the CPU 22 transmits the target condition information to the terminal device TE in S22. In the example of FIG. 2, the target condition information includes three item values (that is, PWG, JPEG, PDF) corresponding to the condition item “format” and three item values (that is, PWG, JPEG, PDF) corresponding to the condition item “print resolution”. That is, 300 dpi, 600 dpi, 1200 dpi) and the like.

端末装置TEは、S22において、プリンタPRから対象条件情報を受信する場合に、S30において、対象アプリを利用して設定画面を表示する。図2の例では、設定画面は、対象条件情報に含まれる条件項目「印刷解像度」に対応する3個の項目値(即ち、300dpi、600dpi、1200dpi)を含む。これにより、ユーザは、設定画面に含まれる3個の印刷解像度の中から所望の印刷解像度を指定することができる。設定画面は、対象条件情報に含まれる条件項目「フォーマット」に対応する3個の項目値を含まない。即ち、ユーザは、プリンタPRに送信されるべき印刷データのフォーマットを指定することができない。 When the terminal device TE receives the target condition information from the printer PR in S22, the terminal device TE displays the setting screen by using the target application in S30. In the example of FIG. 2, the setting screen includes three item values (that is, 300 dpi, 600 dpi, 1200 dpi) corresponding to the condition item “print resolution” included in the target condition information. As a result, the user can specify a desired print resolution from the three print resolutions included in the setting screen. The setting screen does not include the three item values corresponding to the condition item "format" included in the target condition information. That is, the user cannot specify the format of the print data to be transmitted to the printer PR.

S32では、端末装置TEは、ユーザから指定指示を受け付ける。指定指示は、S30で表示された設定画面において1個の印刷解像度(以下では「指定解像度」と呼ぶ)を指定する指示と、OKボタンを選択する指示と、を含む。指定指示は、さらに、端末装置TEに記憶されている1個以上の画像データの中から1個の画像データ(以下では「指定画像データ」と呼ぶ)を指定する指示を含む。 In S32, the terminal device TE receives a designated instruction from the user. The designation instruction includes an instruction to specify one print resolution (hereinafter referred to as "designated resolution") on the setting screen displayed in S30, and an instruction to select an OK button. The designation instruction further includes an instruction to designate one image data (hereinafter referred to as "designated image data") from one or more image data stored in the terminal device TE.

端末装置TEは、S32において、ユーザから指定指示を受け付ける場合に、S34において、対象アプリを利用して指定画像データから印刷データを生成する。具体的には、端末装置TEは、まず、端末装置TEのアプリの種類と、指定画像データの種類と、に応じて、対象条件情報に含まれる条件項目「フォーマット」に対応する各項目値のうちのいずれか1個の項目値(以下では「選択フォーマット」と呼ぶ)を選択する。具体的な選択の手法は、図4〜図6を参照して後で説明する。次いで、端末装置TEは、指定画像データのフォーマットと選択フォーマットとが一致しない場合には、指定画像データに対するフォーマット変換処理を実行して選択フォーマットを有する変換済み画像データを生成し、変換済み画像データに対する解像度変換処理を実行して指定解像度を有する印刷データを生成する。また、端末装置TEは、指定画像データのフォーマットと選択フォーマットとが一致する場合には、指定画像データに対するフォーマット変換処理を実行することなく、指定画像データに対する解像度変換処理を実行して指定解像度を有する印刷データを生成する。そして、S40において、端末装置TEは、対象アプリを利用して印刷データをプリンタPRに送信する。図2の例では、印刷データは、PDFのフォーマット及び1200dpiの印刷解像度を有する。 When the terminal device TE receives a designated instruction from the user in S32, the terminal device TE generates print data from the designated image data using the target application in S34. Specifically, the terminal device TE first sets the value of each item corresponding to the condition item "format" included in the target condition information according to the type of the application of the terminal device TE and the type of the designated image data. Select one of the item values (hereinafter referred to as "selection format"). The specific selection method will be described later with reference to FIGS. 4 to 6. Next, when the format of the designated image data and the selected format do not match, the terminal device TE executes a format conversion process for the designated image data to generate converted image data having the selected format, and the converted image data. The resolution conversion process for is executed to generate print data having a specified resolution. Further, when the format of the designated image data and the selected format match, the terminal device TE executes the resolution conversion process for the designated image data without executing the format conversion process for the designated image data to obtain the designated resolution. Generate print data to have. Then, in S40, the terminal device TE transmits the print data to the printer PR by using the target application. In the example of FIG. 2, the print data has a PDF format and a print resolution of 1200 dpi.

プリンタPRのCPU22は、S40において、端末装置TEから印刷データを受信する場合に、S42において、印刷データを印刷実行部16に供給して、印刷データによって表わされる画像の印刷を印刷実行部16に実行させる。これにより、図2の処理が終了する。 When the CPU 22 of the printer PR receives print data from the terminal device TE in S40, the CPU 22 supplies the print data to the print execution unit 16 in S42, and prints the image represented by the print data to the print execution unit 16. Let it run. As a result, the process of FIG. 2 is completed.

(対象条件情報決定処理;図3)
続いて、図3を参照して、図2のS20の対象条件情報決定処理の内容を説明する。プリンタPRのCPU22は、図2のS12において、端末装置TEから条件情報要求を受信する場合に、図3の処理を開始する。
(Target condition information determination process; Fig. 3)
Subsequently, with reference to FIG. 3, the content of the target condition information determination process in S20 of FIG. 2 will be described. When the CPU 22 of the printer PR receives the condition information request from the terminal device TE in S12 of FIG. 2, the CPU 22 of the printer PR starts the process of FIG.

IPPでは、端末装置TEにおいて設定画面(図2のS30参照)を表示するために、プリンタPRが利用可能な印刷条件を確認するための要求が端末装置TEからプリンタPRに送信される仕組みになっている。この要求が条件情報要求であり、より具体的には、条件情報要求は、コマンド「Get-Printer-Attributes」を含み、当該コマンドの後に、プリンタPRが利用可能な印刷条件の各条件項目を示す各文字列を含む。当各文字列は、条件項目に対応する各項目値の送信をプリンタPRに要求するコマンドであるとも言える。即ち、条件情報要求は、コマンド「Get-Printer-Attributes」と各条件項目に対応する各コマンドとを含む複数個のコマンドを含む。そして、条件情報要求は、IPPに従った1個以上のパケットのそれぞれに当該各コマンドが記述されたものであり、当該1個以上のパケットは、端末装置TEからプリンタPRに順次送信される。CPU22は、当該1個以上のパケット(即ち条件情報要求)を順次受信して各コマンドを解析することによって、端末装置TEに送信されるべき対象条件情報を決定する。 In the IPP, in order to display the setting screen (see S30 in FIG. 2) in the terminal device TE, a request for confirming the print conditions that can be used by the printer PR is transmitted from the terminal device TE to the printer PR. ing. This request is a condition information request, and more specifically, the condition information request includes the command "Get-Printer-Attributes", and after the command, indicates each condition item of the print condition that can be used by the printer PR. Includes each string. It can be said that each character string is a command for requesting the printer PR to transmit each item value corresponding to the condition item. That is, the condition information request includes a plurality of commands including the command "Get-Printer-Attributes" and each command corresponding to each condition item. The condition information request is one in which each of the commands is described in each of the one or more packets according to the IPP, and the one or more packets are sequentially transmitted from the terminal device TE to the printer PR. The CPU 22 sequentially receives the one or more packets (that is, a condition information request) and analyzes each command to determine the target condition information to be transmitted to the terminal device TE.

S50では、CPU22は、条件情報要求がコマンド「cups-version」を含むのか否かを判断する。コマンド「cups-version」は、CUPS(Common UNIX Printing Systemの略)のバージョンの送信をプリンタPRに要求するコマンドである。条件情報要求の送信元の端末装置TEのアプリ(即ち対象アプリ)がUBUNTUPrintである場合には、条件情報要求がコマンド「cups-version」を含むが、対象アプリがUBUNTUPrintでない場合(例えば、AirPrint、Mopria等である場合)には、条件情報要求が当該コマンドを含まない。CPU22は、条件情報要求が当該コマンドを含まないと判断する場合(S50でNO)には、S60に進む。一方、CPU22は、条件情報要求が当該コマンドを含むと判断する場合(S50でYES)には、S52において、対象アプリがUBUNTUPrintであると判断し、S54に進む。 In S50, the CPU 22 determines whether or not the condition information request includes the command "cups-version". The command "cups-version" is a command that requests the printer PR to send a version of CUPS (abbreviation of Common UNIX Printing System). When the application (that is, the target application) of the terminal device TE that is the source of the condition information request is UBUNTUPrant, the condition information request includes the command "cups-version", but the target application is not UBUNTUPrant (for example, AirPrint, In the case of Mopria etc.), the condition information request does not include the command. When the CPU 22 determines that the condition information request does not include the command (NO in S50), the CPU 22 proceeds to S60. On the other hand, when the CPU 22 determines that the condition information request includes the command (YES in S50), the CPU 22 determines in S52 that the target application is UBUNTUPrant, and proceeds to S54.

S54では、CPU22は、対象条件情報として、条件項目「フォーマット」に対応する項目値「PWG」と、条件項目「印刷解像度」に対応する3個の項目値「300dpi」、「600dpi」、及び、「1200dpi」と、を決定する。即ち、CPU22は、対象アプリがUBUNTUPrintである場合には、プリンタPRがPDF及びJPEGの印刷データを利用可能であるにも関わらず、対象条件情報として、PDF及びJPEGを決定せずにPWGのみを決定する。また、CPU22は、対象アプリがUBUNTUPrintである場合には、対象条件情報として、プリンタPRが利用可能な全ての印刷解像度を決定する。S54が終了すると、図3の処理が終了する。この結果、図2のS22では、対象条件情報として、1個のフォーマットと3個の印刷解像度とが端末装置TEに通知される。 In S54, the CPU 22 has, as target condition information, an item value "PWG" corresponding to the condition item "format", three item values "300 dpi" and "600 dpi" corresponding to the condition item "print resolution", and "1200 dpi" is determined. That is, when the target application is UBUNTUPrant, the CPU 22 uses only the PWG without determining the PDF and JPEG as the target condition information even though the printer PR can use the print data of PDF and JPEG. decide. Further, when the target application is UBUNTUPrant, the CPU 22 determines all the print resolutions that can be used by the printer PR as the target condition information. When S54 ends, the process of FIG. 3 ends. As a result, in S22 of FIG. 2, one format and three print resolutions are notified to the terminal device TE as the target condition information.

S60では、CPU22は、条件情報要求が3個のコマンド(即ち、「print-icons」、「number-up-default」、及び、「print-quality-default」)の全てを含むのか否かを判断する。コマンド「print-icons」は、アイコン画像の送信をプリンタPRに要求するコマンドである。コマンド「number-up-default」は、プリンタPRが利用可能なNin1印刷の種類である「number-up」のデフォルト値の送信をプリンタPRに要求するコマンドである。Nin1印刷は、Nページ分(Nは1以上の整数)の画像を1枚の印刷媒体に印刷するための印刷手法である。コマンド「print-quality-default」は、プリンタPRが利用可能な印刷品質のデフォルト値の送信をプリンタPRに要求するコマンドである。対象アプリがAirPrintである場合には、条件情報要求が上記の3個のコマンドの全てを含むが、対象アプリがAirPrintでない場合(例えばMopria等である場合)には、条件情報要求が上記の3個のコマンドのうちの少なくとも1個のコマンドを含まない。CPU22は、条件情報要求が上記の3個のコマンドのうちの少なくとも1個のコマンドを含まないと判断する場合(S60でNO)には、S70に進む。一方、CPU22は、条件情報要求が上記の3個のコマンドの全てを含むと判断する場合(S60でYES)には、S62において、対象アプリがAirPrintであると判断し、S64に進む。 In S60, the CPU 22 determines whether the condition information request includes all three commands (that is, "print-icons", "number-up-default", and "print-quality-default"). do. The command "print-icons" is a command that requests the printer PR to send icon images. The command "number-up-default" is a command that requests the printer PR to send a default value of "number-up", which is a type of Nin1 printing that can be used by the printer PR. Nin1 printing is a printing method for printing N pages of images (N is an integer of 1 or more) on one printing medium. The command "print-quality-default" is a command that requests the printer PR to send a default value of print quality that can be used by the printer PR. When the target application is AirPrint, the conditional information request includes all of the above three commands, but when the target application is not AirPrint (for example, Mopria etc.), the conditional information request is the above 3 Does not include at least one of the commands. When the CPU 22 determines that the condition information request does not include at least one of the above three commands (NO in S60), the process proceeds to S70. On the other hand, when the CPU 22 determines that the condition information request includes all of the above three commands (YES in S60), the CPU 22 determines in S62 that the target application is AirPrint, and proceeds to S64.

S64では、CPU22は、対象条件情報として、条件項目「フォーマット」に対応する3個の項目値「PWG」、「JPEG」、及び、「PDF」と、条件項目「印刷解像度」に対応する3個の項目値「300dpi」、「600dpi」、及び、「1200dpi」と、を決定する。即ち、CPU22は、対象アプリがAirPrintである場合には、対象条件情報として、プリンタPRが利用可能な全てのフォーマット及び全ての印刷解像度を決定する。S64が終了すると、図3の処理が終了する。この結果、図2のS22では、対象条件情報として、3個のフォーマットと3個の印刷解像度とが端末装置TEに通知される。 In S64, the CPU 22 has three item values "PWG", "JPEG", and "PDF" corresponding to the condition item "format" and three items corresponding to the condition item "print resolution" as target condition information. The item values "300 dpi", "600 dpi", and "1200 dpi" are determined. That is, when the target application is AirPrint, the CPU 22 determines all formats and all print resolutions that can be used by the printer PR as target condition information. When S64 ends, the process of FIG. 3 ends. As a result, in S22 of FIG. 2, the terminal device TE is notified of the three formats and the three print resolutions as the target condition information.

S72では、CPU22は、対象アプリがMopria等(即ち、UBUNTUPrint及びAirPrint以外のアプリ)であると判断し、S74に進む。S74では、CPU22は、対象条件情報として、条件項目「フォーマット」に対応する2個の項目値「PWG」及び「JPEG」と、条件項目「印刷解像度」に対応する1個の項目値「300dpi」と、を決定する。即ち、CPU22は、対象アプリがMopria等である場合には、プリンタPRがPDFの印刷データを利用可能であるにも関わらず、対象条件情報として、PDFを決定せずにPWG及びJPEGを決定する。また、CPU22は、プリンタPRが600dpi及び1200dpiの印刷データを利用可能であるにも関わらず、対象条件情報として、600dpi及び1200dpiを決定せずに300dpiのみを決定する。S74が終了すると、図3の処理が終了する。この結果、図2のS22では、対象条件情報として、2個のフォーマットと1個の印刷解像度とが端末装置TEに通知される。 In S72, the CPU 22 determines that the target application is Mopria or the like (that is, an application other than UBUNTUPrint and AirPrint), and proceeds to S74. In S74, the CPU 22 has two item values "PWG" and "JPEG" corresponding to the condition item "format" and one item value "300 dpi" corresponding to the condition item "print resolution" as the target condition information. And decide. That is, when the target application is Mopria or the like, the CPU 22 determines PWG and JPEG as the target condition information without determining the PDF even though the printer PR can use the print data of the PDF. .. Further, although the printer PR can use the print data of 600 dpi and 1200 dpi, the CPU 22 determines only 300 dpi without determining 600 dpi and 1200 dpi as the target condition information. When S74 ends, the process of FIG. 3 ends. As a result, in S22 of FIG. 2, two formats and one print resolution are notified to the terminal device TE as target condition information.

(具体的なケース;図4〜図6)
続いて、図4〜図6を参照して、図2及び図3の処理によって実現される具体的なケースA〜Cを説明する。
(Specific case; FIGS. 4 to 6)
Subsequently, specific cases A to C realized by the processes of FIGS. 2 and 3 will be described with reference to FIGS. 4 to 6.

(ケースA;図4)
まず、図4を参照して、プリンタPRと、アプリAP1(即ちUBUNTUPrint)を備える端末装置TE1と、の間で実現されるケースAを説明する。端末装置TE1は、S110において、印刷指示を受け付ける場合に、S112において、条件情報要求をプリンタPRに送信する。アプリAP1によって生成される条件情報要求は、コマンド「cups-version」を含む。
(Case A; Fig. 4)
First, with reference to FIG. 4, a case A realized between the printer PR and the terminal device TE1 provided with the application AP1 (that is, UBUNTUPrint) will be described. When the terminal device TE1 receives a print instruction in S110, the terminal device TE1 transmits a condition information request to the printer PR in S112. The conditional information request generated by the app AP1 includes the command "cups-version".

プリンタPRは、S112において、端末装置TE1から条件情報要求を受信する場合に、条件情報要求がコマンド「cups-version」を含むので(図3のS50でYES)、端末装置TE1のアプリAP1がUBUNTUPrintであると決定し(S52)、S120において、対象条件情報として、条件項目「フォーマット」に対応する「PWG」と、条件項目「印刷解像度」に対応する「300dpi」、「600dpi」、及び、「1200dpi」と、を決定する(S54)。そして、プリンタPRは、S122において、決定済みの対象条件情報を端末装置TE1に送信する。 When the printer PR receives the condition information request from the terminal device TE1 in S112, the condition information request includes the command "cups-version" (YES in S50 of FIG. 3). (S52), and in S120, as the target condition information, "PWG" corresponding to the condition item "format", "300 dpi", "600 dpi", and "300 dpi" corresponding to the condition item "print resolution", and " "1200 dpi" is determined (S54). Then, the printer PR transmits the determined target condition information to the terminal device TE1 in S122.

端末装置TE1は、S122において、プリンタPRから対象条件情報を受信する場合に、S130において、対象条件情報内の3個の印刷解像度を選択肢として含む設定画面を表示する。端末装置TE1は、S132において、指定指示を受け付ける場合に、S134において、印刷データを生成する。具体的には、端末装置TE1は、対象条件情報が1個のフォーマット「PWG」のみを含むので、選択フォーマットとして「PWG」を選択する。次いで、端末装置TE1は、ユーザによって指定された指定画像データに対するフォーマット変換処理を実行して、PWGのフォーマットを有する変換済み画像データを生成する。そして、端末装置TE1は、変換済み画像データに対する解像度変換処理を実行して、ユーザによって指定された指定解像度(本ケースでは1200dpi)を有する印刷データPD1を生成する。次いで、端末装置TE1は、S140において、印刷データPD1をプリンタPRに送信する。 When the terminal device TE1 receives the target condition information from the printer PR in S122, the terminal device TE1 displays a setting screen including three print resolutions in the target condition information as options in S130. When the terminal device TE1 receives the designated instruction in S132, the terminal device TE1 generates print data in S134. Specifically, since the terminal device TE1 includes only one format "PWG" for the target condition information, "PWG" is selected as the selection format. Next, the terminal device TE1 executes a format conversion process for the designated image data designated by the user to generate converted image data having the PWG format. Then, the terminal device TE1 executes a resolution conversion process on the converted image data to generate print data PD1 having a designated resolution (1200 dpi in this case) specified by the user. Next, the terminal device TE1 transmits the print data PD1 to the printer PR in S140.

プリンタPRは、S140において、端末装置TE1から印刷データPD1を受信する場合に、S142において、印刷データPD1によって表わされる画像の印刷処理を実行する。 When the printer PR receives the print data PD1 from the terminal device TE1 in S140, the printer PR executes the printing process of the image represented by the print data PD1 in S142.

(ケースAの効果)
端末装置TE1のアプリAP1(即ちUBUNTUPrint)は、JPEG又はPDFのフォーマットを有する印刷データを生成する際に、プリンタPRが解釈不可能なコマンドを含む印刷データを生成し得る。この場合、プリンタPRが印刷処理を適切に実行することができない可能性がある。一方、プリンタPRは、PWGのあらゆるコマンドを解釈可能である。従って、プリンタPRは、端末装置TE1のアプリAP1がUBUNTUPrintであると決定する場合に、「JPEG」及び「PDF」を含まずに「PWG」のみを含む対象条件情報を決定し(S120)、当該対象条件情報を端末装置TE1に送信する(S122)。このために、プリンタPRは、端末装置TE1からPWGのフォーマットを有する印刷データPD1を受信することができ(S140)、この結果、印刷処理を適切に実行することができる(S142)。
(Effect of Case A)
The app AP1 (ie, UBUNTUPrint) of the terminal device TE1 may generate print data including commands that the printer PR cannot interpret when generating print data having a JPEG or PDF format. In this case, the printer PR may not be able to properly execute the printing process. On the other hand, the printer PR can interpret any command of PWG. Therefore, when the printer PR determines that the application AP1 of the terminal device TE1 is UBUNTUPIrant, the printer PR determines the target condition information including only "PWG" without including "JPEG" and "PDF" (S120). The target condition information is transmitted to the terminal device TE1 (S122). Therefore, the printer PR can receive the print data PD1 having the PWG format from the terminal device TE1 (S140), and as a result, the print process can be appropriately executed (S142).

また、上述したように、端末装置TE1のアプリAP1(即ちUBUNTUPrint)は、通常、LinuxOSを備えるPCに搭載される。即ち、端末装置TE1は、比較的に高い処理能力を有するPCであり、この結果、比較的に高い印刷解像度を有する印刷データを迅速に生成することができる。従って、プリンタPRは、端末装置TE1のアプリAP1がUBUNTUPrintであると決定する場合に、比較的に高い印刷解像度である「1200dpi」を含む対象条件情報を決定し(S120)、当該対象条件情報を端末装置TE1に送信する(S122)。仮に、1200dpiがユーザによって指定されても(S132)、端末装置TE1は、1200dpiの印刷解像度を有する印刷データPD1を迅速に生成することができる(S134)。このために、プリンタPRは、端末装置TE1から印刷データPD1を迅速に受信することができ(S140)、この結果、印刷処理を迅速に実行することができる(S142)。 Further, as described above, the application AP1 (that is, UBUNTUPrint) of the terminal device TE1 is usually mounted on a PC equipped with a Linux OS. That is, the terminal device TE1 is a PC having a relatively high processing capacity, and as a result, print data having a relatively high print resolution can be quickly generated. Therefore, when the printer PR determines that the application AP1 of the terminal device TE1 is UBUNTUPrint, the printer PR determines the target condition information including "1200 dpi" which is a relatively high print resolution (S120), and determines the target condition information. It is transmitted to the terminal device TE1 (S122). Even if 1200 dpi is specified by the user (S132), the terminal device TE1 can rapidly generate print data PD1 having a print resolution of 1200 dpi (S134). Therefore, the printer PR can quickly receive the print data PD1 from the terminal device TE1 (S140), and as a result, the print process can be executed quickly (S142).

(ケースB;図5)
続いて、図5を参照して、プリンタPRと、アプリAP2(即ちAirPrint)を備える端末装置TE2と、の間で実現されるケースBを説明する。端末装置TE2は、S210において、印刷指示を受け付ける場合に、S212において、条件情報要求をプリンタPRに送信する。アプリAP2によって生成される条件情報要求は、コマンド「cups-version」を含まないと共に、3個のコマンド(即ち、「print-icons」、「number-up-default」、及び、「print-quality-default」)の全てを含む。
(Case B; Fig. 5)
Subsequently, with reference to FIG. 5, a case B realized between the printer PR and the terminal device TE2 provided with the application AP2 (that is, AirPrint) will be described. When the terminal device TE2 receives a print instruction in S210, the terminal device TE2 transmits a condition information request to the printer PR in S212. The conditional information request generated by the app AP2 does not include the command "cups-version" and has three commands (ie, "print-icons", "number-up-default", and "print-quality-". default ") is included.

プリンタPRは、S212において、端末装置TE2から条件情報要求を受信する場合に、条件情報要求が、コマンド「cups-version」を含まず(図3のS50でNO)、かつ、上記の3個のコマンドの全てを含むので(S60でYES)、端末装置TE2のアプリAP2がAirPrintであると決定する(S62)。この場合、プリンタPRは、S220において、対象条件情報として、条件項目「フォーマット」に対応する「PWG」、「JPEG」、及び、「PDF」と、条件項目「印刷解像度」に対応する「300dpi」、「600dpi」、及び、「1200dpi」と、を決定する(S64)。そして、プリンタPRは、S222において、決定済みの対象条件情報を端末装置TE2に送信する。 When the printer PR receives the condition information request from the terminal device TE2 in S212, the condition information request does not include the command "cups-version" (NO in S50 of FIG. 3), and the above three Since all of the commands are included (YES in S60), it is determined that the application AP2 of the terminal device TE2 is AirPrint (S62). In this case, in S220, the printer PR has "PWG", "JPEG", and "PDF" corresponding to the condition item "format" and "300 dpi" corresponding to the condition item "print resolution" as the target condition information. , "600 dpi" and "1200 dpi" are determined (S64). Then, the printer PR transmits the determined target condition information to the terminal device TE2 in S222.

端末装置TE2は、S222において、プリンタPRから対象条件情報を受信する場合に、S230において、対象条件情報内の3個の印刷解像度を選択肢として含む設定画面を表示する。端末装置TE2は、S232において、指定指示を受け付ける場合に、S234において、印刷データを生成する。具体的には、端末装置TE2は、まず、対象条件情報内の3個のフォーマットから1個のフォーマットを選択する。例えば、端末装置TE2によって撮影された写真画像を表わす写真画像データを格納するストレージから、ユーザによって指定画像データが指定される場合には、端末装置TE2は、JPEGを選択する。一方、当該ストレージとは異なるストレージから指定画像データが指定される場合には、端末装置TE2は、PDFを選択する。即ち、本ケースでは、PWGが選択されることはない。端末装置TE2は、必要であればフォーマット変換処理を実行して、JPEG又はPDFのフォーマットを有する変換済み画像データを生成し、解像度変換処理を実行して、指定解像度を有する印刷データPD2を生成する。次いで、端末装置TE2は、S240において、印刷データPD2をプリンタPRに送信する。 When the terminal device TE2 receives the target condition information from the printer PR in S222, the terminal device TE2 displays a setting screen including three print resolutions in the target condition information as options in S230. The terminal device TE2 generates print data in S234 when receiving a designated instruction in S232. Specifically, the terminal device TE2 first selects one format from the three formats in the target condition information. For example, when the designated image data is specified by the user from the storage for storing the photographic image data representing the photographic image taken by the terminal device TE2, the terminal device TE2 selects JPEG. On the other hand, when the designated image data is designated from a storage different from the storage, the terminal device TE2 selects PDF. That is, in this case, PWG is not selected. The terminal device TE2 executes a format conversion process if necessary to generate converted image data having a JPEG or PDF format, and executes a resolution conversion process to generate print data PD2 having a specified resolution. .. Next, the terminal device TE2 transmits the print data PD2 to the printer PR in S240.

プリンタPRは、S240において、端末装置TE2から印刷データPD2を受信する場合に、S242において、印刷データPD2によって表わされる画像の印刷処理を実行する。 When the printer PR receives the print data PD2 from the terminal device TE2 in S240, the printer PR executes the printing process of the image represented by the print data PD2 in S242.

(ケースBの効果)
端末装置TE2のアプリAP2(即ちAirPrint)は、PWG、JPEG、及び、PDFのうちのいずれのフォーマットを有する印刷データを生成する際にも、プリンタPRが解釈可能なコマンドのみを含む印刷データを生成する。従って、プリンタPRは、端末装置TE2のアプリAP2がAirPrintであると決定する場合に、全てのフォーマットを含む対象条件情報を決定し(S220)、当該対象条件情報を端末装置TE2に送信する(S222)。これにより、多数のフォーマットの選択肢を携帯端末TE2に提供することができる。プリンタPRは、端末装置TE2からJPEG及びPDFのどちらのフォーマットを有する印刷データPD2を受信しても(S240)、印刷データPD2に従った印刷処理を適切に実行することができる(S242)。
(Effect of Case B)
When generating print data having any of the formats of PWG, JPEG, and PDF, the application AP2 (that is, AirPrint) of the terminal device TE2 generates print data including only commands that can be interpreted by the printer PR. do. Therefore, when the application AP2 of the terminal device TE2 is determined to be AirPrint, the printer PR determines the target condition information including all formats (S220) and transmits the target condition information to the terminal device TE2 (S222). ). This makes it possible to provide the mobile terminal TE2 with a large number of format options. Even if the printer PR receives the print data PD2 having either the JPEG or PDF format from the terminal device TE2 (S240), the printer PR can appropriately execute the print process according to the print data PD2 (S242).

また、端末装置TE2がPCではなくスマートフォンであるが、アプリAP2(即ちAirPrint)は、印刷データを生成するためのS234の処理を迅速に実行可能である。従って、プリンタPRは、端末装置TE2のアプリAP2がAirPrintであると決定する場合に、比較的に高い印刷解像度である「1200dpi」を含む対象条件情報を決定し(S220)、当該対象条件情報を端末装置TE2に送信する(S222)。仮に、1200dpiがユーザによって指定されても(S232)、端末装置TE2は、1200dpiの印刷解像度を有する印刷データPD2を迅速に生成することができる(S234)。このために、プリンタPRは、端末装置TE2から印刷データPD2を迅速に受信することができ(S240)、この結果、印刷処理を迅速に実行することができる(S242)。 Further, although the terminal device TE2 is not a PC but a smartphone, the application AP2 (that is, AirPrint) can quickly execute the process of S234 for generating print data. Therefore, when the printer PR determines that the application AP2 of the terminal device TE2 is AirPrint, the printer PR determines the target condition information including "1200 dpi" which is a relatively high print resolution (S220), and determines the target condition information. It is transmitted to the terminal device TE2 (S222). Even if 1200 dpi is specified by the user (S232), the terminal device TE2 can quickly generate print data PD2 having a print resolution of 1200 dpi (S234). Therefore, the printer PR can quickly receive the print data PD2 from the terminal device TE2 (S240), and as a result, the print process can be executed quickly (S242).

(ケースC;図6)
続いて、図6を参照して、プリンタPRと、アプリAP3(即ちMopria)を備える端末装置TE3と、の間で実現されるケースCを説明する。端末装置TE3は、S310において、印刷指示を受け付ける場合に、S312において、条件情報要求をプリンタPRに送信する。アプリAP3によって生成される条件情報要求は、コマンド「cups-version」を含まない。また、条件情報要求は、コマンド「print-icons」を含むと共に、コマンド「number-up-default」及び「print-quality-default」を含まない。
(Case C; Fig. 6)
Subsequently, with reference to FIG. 6, a case C realized between the printer PR and the terminal device TE3 provided with the application AP3 (that is, Mopria) will be described. When the terminal device TE3 receives a print instruction in S310, the terminal device TE3 transmits a condition information request to the printer PR in S312. The condition information request generated by the app AP3 does not include the command "cups-version". Further, the condition information request includes the command "print-icons" and does not include the commands "number-up-default" and "print-quality-default".

プリンタPRは、S312において、端末装置TE3から条件情報要求を受信する場合に、条件情報要求が、コマンド「cups-version」を含まず(図3のS50でNO)、かつ、上記の3個のコマンドのうちの2個のコマンド「number-up-default」及び「print-quality-default」を含まないので(S60でNO)、端末装置TE3のアプリAP3がMopria等であると決定する(S72)。次いで、プリンタPRは、S320において、対象条件情報として、条件項目「フォーマット」に対応する「PWG」及び「JPEG」と、条件項目「印刷解像度」に対応する「300dpi」と、を決定する(S74)。そして、プリンタPRは、S322において、決定済みの対象条件情報を端末装置TE3に送信する。 When the printer PR receives the condition information request from the terminal device TE3 in S312, the condition information request does not include the command "cups-version" (NO in S50 of FIG. 3), and the above three items are used. Since the two commands "number-up-default" and "print-quality-default" are not included (NO in S60), it is determined that the application AP3 of the terminal device TE3 is Mopria or the like (S72). .. Next, in S320, the printer PR determines, as the target condition information, "PWG" and "JPEG" corresponding to the condition item "format" and "300 dpi" corresponding to the condition item "print resolution" (S74). ). Then, the printer PR transmits the determined target condition information to the terminal device TE3 in S322.

端末装置TE3は、S322において、プリンタPRから対象条件情報を受信する場合に、S330において、対象条件情報内の1個の印刷解像度(即ち300dpi)のみを選択肢として含む設定画面を表示する。端末装置TE3は、S332において、指定指示を受け付ける場合に、S334において、印刷データを生成する。具体的には、端末装置TE3は、対象条件情報に含まれる2個のフォーマットから1個のフォーマットを選択する。例えば、写真画像データを格納するストレージから指定画像データが指定される場合には、端末装置TE3は、JPEGを選択する。一方、当該ストレージとは異なるストレージから指定画像データが指定される場合には、端末装置TE3は、PWGを選択する。端末装置TE3は、必要であればフォーマット変換処理を実行して、PWG又はJPEGのフォーマットを有する変換済み画像データを生成し、解像度変換処理を実行して、指定解像度を有する印刷データPD3を生成する。次いで、端末装置TE3は、S340において、印刷データPD3をプリンタPRに送信する。 When receiving the target condition information from the printer PR in S322, the terminal device TE3 displays a setting screen including only one print resolution (that is, 300 dpi) in the target condition information as an option in S330. When the terminal device TE3 receives the designated instruction in S332, the terminal device TE3 generates print data in S334. Specifically, the terminal device TE3 selects one format from the two formats included in the target condition information. For example, when the designated image data is designated from the storage for storing the photographic image data, the terminal device TE3 selects JPEG. On the other hand, when the designated image data is designated from a storage different from the storage, the terminal device TE3 selects PWG. The terminal device TE3 executes a format conversion process if necessary to generate converted image data having a PWG or JPEG format, and executes a resolution conversion process to generate print data PD3 having a specified resolution. .. Next, the terminal device TE3 transmits the print data PD3 to the printer PR in S340.

プリンタPRは、S340において、端末装置TE3から印刷データPD3を受信する場合に、S342において、印刷データPD3によって表わされる画像の印刷処理を実行する。 When the printer PR receives the print data PD3 from the terminal device TE3 in S340, the printer PR executes the printing process of the image represented by the print data PD3 in S342.

(ケースCの効果)
端末装置TE3のアプリAP3(即ちMopria)は、PDFのフォーマットを有する印刷データを生成する際に、プリンタPRが解釈不可能なコマンドを含む印刷データを生成し得る。一方、アプリAP3は、PWG及びJPEGのうちのどちらのフォーマットを有する印刷データを生成する際にも、プリンタPRが解釈可能なコマンドのみを含む印刷データを生成する。従って、プリンタPRは、端末装置TE3のアプリAP3がMopria等であると決定する場合に、「PDF」を含まずに「PWG」及び「JPEG」を含む対象条件情報を決定し(S320)、当該対象条件情報を端末装置TE3に送信する(S322)。プリンタPRは、端末装置TE3からPWG及びJPEGのうちのどちらのフォーマットを有する印刷データPD3を受信しても(S340)、印刷データPD3に従った印刷処理を適切に実行することができる(S342)。
(Effect of Case C)
The app AP3 (ie, Mopria) of the terminal device TE3 may generate print data including commands that the printer PR cannot interpret when generating print data having a PDF format. On the other hand, when generating print data having either PWG or JPEG format, the application AP3 generates print data including only commands that can be interpreted by the printer PR. Therefore, when the printer PR determines that the application AP3 of the terminal device TE3 is Mopria or the like, the printer PR determines the target condition information including "PWG" and "JPEG" without including "PDF" (S320). The target condition information is transmitted to the terminal device TE3 (S322). Even if the printer PR receives the print data PD3 having either the PWG or JPEG format from the terminal device TE3 (S340), the printer PR can appropriately execute the print process according to the print data PD3 (S342). ..

また、端末装置TE3は、PCではなくスマートフォンであり、アプリAP3(即ちMopria)は、印刷データを生成するためのS334の処理に比較的長時間を要する。従って、プリンタPRは、端末装置TE3のアプリAP3がMopria等であると決定する場合に、比較的に低い印刷解像度である「300dpi」のみを含む対象条件情報を決定し(S320)、当該対象条件情報を端末装置TE3に送信する(S322)。従って、端末装置TE3は、300dpiの印刷解像度を有する印刷データPD3を迅速に生成することができる(S334)。このために、プリンタPRは、端末装置TE3から印刷データPD3を迅速に受信することができ(S340)、この結果、印刷処理を迅速に実行することができる(S342)。 Further, the terminal device TE3 is not a PC but a smartphone, and the application AP3 (that is, Mopria) takes a relatively long time to process S334 for generating print data. Therefore, when the printer PR determines that the application AP3 of the terminal device TE3 is Mopria or the like, the printer PR determines the target condition information including only "300 dpi" having a relatively low print resolution (S320), and the target condition. Information is transmitted to the terminal device TE3 (S322). Therefore, the terminal device TE3 can rapidly generate print data PD3 having a print resolution of 300 dpi (S334). Therefore, the printer PR can quickly receive the print data PD3 from the terminal device TE3 (S340), and as a result, the print process can be executed quickly (S342).

(本実施例の効果)
本実施例によると、プリンタPRは、各端末装置TE1〜TE3のアプリAP1〜AP3の種類に応じた対象条件情報を端末装置TE1等に送信することができる(図4〜図6のS122,S222,S322)。この結果、プリンタPRは、各端末装置TE1等から、端末装置TE1等のアプリAP1等の種類に応じた対象条件情報に従った印刷データPD1等を受信して印刷を実行することができる(S140,S142,S240,S242,S340,S342)。このように、プリンタPRは、端末装置TE1等のアプリAP1等の種類に応じた適切な処理を実行することができる。
(Effect of this example)
According to this embodiment, the printer PR can transmit the target condition information corresponding to the types of the applications AP1 to AP3 of the terminal devices TE1 to TE3 to the terminal devices TE1 and the like (S122 and S222 of FIGS. 4 to 6). , S322). As a result, the printer PR can receive the print data PD1 or the like according to the target condition information according to the type of the application AP1 or the like of the terminal device TE1 or the like from each terminal device TE1 or the like and execute printing (S140). , S142, S240, S242, S340, S342). In this way, the printer PR can execute appropriate processing according to the type of the application AP1 or the like such as the terminal device TE1.

(対応関係)
一つの例では、アプリAP1(即ちUBUNTUPrint)、アプリAP2(即ちAirPrint)が、それぞれ、「第1種の印刷アプリケーション」、「第2種の印刷アプリケーション」の一例である。この例では、図4のS112の条件情報要求の内容、図5のS212の条件情報要求の内容が、それぞれ、「第1の内容」、「第2の内容」の一例である。コマンド「cups-version」が、「所定コマンド」の一例である。図4のS122の対象条件情報によって示される印刷条件、図5のS222の対象条件情報によって示される印刷条件が、それぞれ、「第1の印刷条件」、「第2の印刷条件」の一例である。ここで、条件項目「フォーマット」が「特定の条件項目」の一例である場合には、「第1の印刷条件」が「他方の印刷条件」の一例であり、「第2の印刷条件」が「一方の印刷条件」の一例であり、PWGが「第1の項目値」の一例であり、JPEG又はPDFが「第2の項目値」の一例である。
(Correspondence)
In one example, the app AP1 (ie, UBUNTUPrint) and the app AP2 (ie, AirPrint) are examples of a "first-class printing application" and a "second-class printing application," respectively. In this example, the content of the condition information request of S112 in FIG. 4 and the content of the condition information request of S212 of FIG. 5 are examples of "first content" and "second content", respectively. The command "cups-version" is an example of a "predetermined command". The print condition indicated by the target condition information in S122 of FIG. 4 and the print condition indicated by the target condition information in S222 of FIG. 5 are examples of the "first print condition" and the "second print condition", respectively. .. Here, when the condition item "format" is an example of a "specific condition item", the "first print condition" is an example of the "other print condition", and the "second print condition" is an example. It is an example of "one print condition", PWG is an example of "first item value", and JPEG or PDF is an example of "second item value".

別の例では、アプリAP2(即ちAirPrint)、アプリAP3(即ちMopria)が、それぞれ、「第1種の印刷アプリケーション」、「第2種の印刷アプリケーション」の一例である。この例では、図5のS212の条件情報要求の内容、図6のS312の条件情報要求の内容が、それぞれ、「第1の内容」、「第2の内容」の一例である。3個のコマンド(即ち、「print-icons」、「number-up-default」、「print-quality-default」)が、「所定コマンド」の一例である。図5のS222の対象条件情報によって示される印刷条件、図6のS322の対象条件情報によって示される印刷条件が、それぞれ、「第1の印刷条件」、「第2の印刷条件」の一例である。ここで、条件項目「フォーマット」が「特定の条件項目」の一例である場合には、「第1の印刷条件」が「一方の印刷条件」の一例であり、「第2の印刷条件」が「他方の印刷条件」の一例であり、PWG又はJPEGが「第1の項目値」の一例であり、PDFが「第2の項目値」の一例である。また、条件項目「印刷解像度」が「特定の条件項目」の一例である場合には、「第1の印刷条件」が「一方の印刷条件」の一例であり、「第2の印刷条件」が「他方の印刷条件」の一例であり、300dpiが「第1の項目値」の一例であり、600dpi又は1200dpiが「第2の項目値」の一例である。なお、アプリAP1〜アプリAP3のうちの他の組み合わせも、「第1種の印刷アプリケーション」及び「第2種の印刷アプリケーション」の組み合わせの一例である。 In another example, the app AP2 (ie, AirPrint) and the app AP3 (ie, Mopria) are examples of a "first-class printing application" and a "second-class printing application," respectively. In this example, the content of the condition information request in S212 of FIG. 5 and the content of the condition information request in S312 of FIG. 6 are examples of the "first content" and the "second content", respectively. Three commands (ie, "print-icons", "number-up-default", "print-quality-default") are examples of "predetermined commands". The print condition indicated by the target condition information of S222 of FIG. 5 and the print condition indicated by the target condition information of S322 of FIG. 6 are examples of the "first print condition" and the "second print condition", respectively. .. Here, when the condition item "format" is an example of the "specific condition item", the "first print condition" is an example of the "one print condition" and the "second print condition" is an example. It is an example of "the other printing condition", PWG or JPEG is an example of "first item value", and PDF is an example of "second item value". When the condition item "print resolution" is an example of "specific condition item", the "first print condition" is an example of "one print condition" and the "second print condition" is an example. It is an example of "the other printing condition", 300 dpi is an example of "first item value", and 600 dpi or 1200 dpi is an example of "second item value". The other combination of the application AP1 to the application AP3 is also an example of the combination of the "first type printing application" and the "second type printing application".

図2のS12、S20、S22、S40、S42の処理が、それぞれ、「情報要求受信部」、「条件情報決定部」、「条件情報送信部」、「印刷データ受信部」、「印刷制御部」によって実行される処理の一例である。図3のS50,S52,S60,S62,S72が、「種類決定部」によって実行される処理の一例である。 The processes of S12, S20, S22, S40, and S42 in FIG. 2 are the "information request receiving unit", "condition information determining unit", "condition information transmitting unit", "print data receiving unit", and "print control unit", respectively. This is an example of the processing executed by. S50, S52, S60, S62, and S72 in FIG. 3 are examples of processes executed by the “type determination unit”.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 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 exemplified above. Modifications of the above embodiment are listed below.

(変形例1)「第1種の印刷アプリケーション」及び「第2種の印刷アプリケーション」の組み合わせは、例えば、以下の組み合わせであってもよい。即ち、Mac(登録商標)OSで利用されるAirPrint、iOSで利用されるAirPrintが、それぞれ、「第1種の印刷アプリケーション」、「第2種の印刷アプリケーション」の一例であってもよい。この場合、例えば、前者のAirPrintを備える端末装置が比較的に高い処理能力を有するPCである可能性が高いので、プリンタPRは、比較的に高い印刷解像度(例えば1200dpi)を含む対象条件情報を決定してもよい。また、後者のAirPrintを備える端末装置がPCよりも処理能力が低いスマートフォンである可能性が高いので、プリンタPRは、当該高い印刷解像度を含まない対象条件情報を決定してもよい。 (Modification 1) The combination of the "first-class printing application" and the "second-class printing application" may be, for example, the following combinations. That is, AirPrint used in the Mac® OS and AirPrint used in iOS may be examples of a "first-class printing application" and a "second-class printing application," respectively. In this case, for example, since the terminal device provided with the former AirPrint is likely to be a PC having a relatively high processing capacity, the printer PR obtains target condition information including a relatively high print resolution (for example, 1200 dpi). You may decide. Further, since the terminal device provided with the latter AirPrint is likely to be a smartphone having a lower processing capacity than the PC, the printer PR may determine the target condition information that does not include the high print resolution.

(変形例2)「対象条件情報」は、条件項目「フォーマット」を含まなくてもよい。また、別の変形例では、「対象条件情報」は、条件項目「印刷解像度」を含まなくてもよい。また、さらに別の変形例では、「対象条件情報」は、用紙サイズ及び色数を含んでいてもよい。この場合、プリンタPRは、例えば、端末装置のアプリがUBUNTUPrint又はAirPrintである場合(即ち比較的に高い処理能力を有する場合)には、比較的に大きい用紙サイズ(例えばA3)及びカラーの色数を含む対象条件情報を決定し、端末装置のアプリがMopriaである場合(即ち比較的に低い処理能力を有する場合)には、当該大きい用紙サイズを含まないと共にカラーの色数を含まない対象条件情報を決定してもよい。 (Modification 2) The "target condition information" does not have to include the condition item "format". Further, in another modification, the "target condition information" may not include the condition item "print resolution". Further, in yet another modification, the "target condition information" may include the paper size and the number of colors. In this case, the printer PR has a relatively large paper size (for example, A3) and a number of colors of colors, for example, when the application of the terminal device is UBUNTUPrint or AirPrint (that is, when it has a relatively high processing capacity). When the target condition information including the above is determined and the application of the terminal device is Mopria (that is, when it has a relatively low processing capacity), the target condition does not include the large paper size and the number of colors of the color. Information may be determined.

(変形例3)プリンタPRは、図3のS50及びS60に代えて、以下の(1)又は(2)の手法を採用してもよい。(1)例えば、プリンタPRは、条件情報要求に含まれる先頭のコマンドが第1のコマンドである場合に、第1種の印刷アプリケーションであると決定し、先頭のコマンドが第1のコマンドとは異なる第2のコマンドである場合に、第2種の印刷アプリケーションであると決定してもよい。(2)例えば、プリンタPRは、条件情報要求に含まれる複数個のコマンドの並び順が第1の並び順である場合に、第1種の印刷アプリケーションであると決定し、当該複数個のコマンドの並び順が第1の並び順とは異なる第2の並び順である場合に、第2種の印刷アプリケーションであると決定してもよい。一般的に言うと、情報要求の内容に応じて対象条件情報が決定されればよい。 (Modification 3) The printer PR may adopt the following method (1) or (2) instead of S50 and S60 in FIG. (1) For example, when the first command included in the condition information request is the first command, the printer PR determines that it is a first-class printing application, and the first command is the first command. If it is a different second command, it may be determined that it is a second type printing application. (2) For example, when the order of the plurality of commands included in the condition information request is the first order, the printer PR determines that it is a first-class printing application, and the plurality of commands are ordered. When the order of the second order is different from the order of the first order, it may be determined that the printing application is of the second type. Generally speaking, the target condition information may be determined according to the content of the information request.

(変形例4)図3のS52、S62、及び、S72は省略可能である。本変形例では、「種類決定部」を省略可能である。 (Modification 4) S52, S62, and S72 in FIG. 3 can be omitted. In this modification, the "type determination unit" can be omitted.

(変形例5)各アプリAP1〜AP3は、汎用アプリケーションでなくてもよく、プリンタPRのベンダによって提供されるプリンタのみに印刷を指示可能なアプリケーションであってもよい。 (Modification 5) Each application AP1 to AP3 does not have to be a general-purpose application, and may be an application capable of instructing printing only to a printer provided by a printer PR vendor.

(変形例6)各アプリAP1〜AP3によって利用されるプロトコルは、相互に異なっていてもよい。例えば、アプリAP1によって利用されるプロトコルがIPPであり、アプリAP2によって利用されるプロトコルがIPPとは異なるプロトコル(例えばプリンタPRのベンダの独自プロトコル)であってもよい。 (Variation Example 6) The protocols used by each of the applications AP1 to AP3 may be different from each other. For example, the protocol used by the application AP1 may be IPP, and the protocol used by the application AP2 may be a protocol different from the IPP (for example, a protocol unique to the printer PR vendor).

(変形例7)上記の実施例では、プリンタPRのCPU22がメモリ24内のプログラム30を実行することによって、図2〜図6の各処理が実現される。これに代えて、これらの各処理のうちの少なくとも1つの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 7) In the above embodiment, each process of FIGS. 2 to 6 is realized by executing the program 30 in the memory 24 by the CPU 22 of the printer PR. Instead of this, at least one of these processes may be realized by hardware such as a logic circuit.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 Further, 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 exemplified in the present specification or the drawings achieve a plurality of purposes at the same time, and achieving one of the purposes itself has technical usefulness.

2:通信システム、PR:プリンタ、10:バス線、12:操作部、14:表示部、16:印刷実行部、18:通信インターフェイス、20:制御部、22:CPU、24:メモリ、30:プログラム、32:条件情報、TE1〜TE3:端末装置、AP1〜AP3:印刷アプリケーション、PD1〜PD3:印刷データ 2: Communication system, PR: Printer, 10: Bus line, 12: Operation unit, 14: Display unit, 16: Print execution unit, 18: Communication interface, 20: Control unit, 22: CPU, 24: Memory, 30: Program, 32: Condition information, TE1-TE3: Terminal device, AP1-AP3: Print application, PD1-PD3: Print data

Claims (10)

プリンタであって、
印刷実行部と、
端末装置から、前記プリンタが利用可能な印刷条件を示す条件情報を要求する情報要求を受信する情報要求受信部であって、前記情報要求は、前記プリンタに印刷の実行を指示するための特定の印刷アプリケーションが前記端末装置において利用されることによって、前記端末装置から前記プリンタに送信される、前記情報要求受信部と、
前記情報要求の内容に応じて、前記端末装置に送信されるべき対象条件情報を決定する条件情報決定部と、
前記条件情報決定部にて決定される前記対象条件情報を前記端末装置に送信する条件情報送信部と、
前記対象条件情報が前記端末装置に送信された後に、前記端末装置から、前記対象条件情報に従った対象印刷データを受信する印刷データ受信部と、
前記対象印刷データによって表わされる対象画像の印刷を前記印刷実行部に実行させる印刷制御部と、を備え、
前記条件情報決定部は、
前記特定の印刷アプリケーションが第1種の印刷アプリケーションであることに起因して、前記情報要求が第1の内容を示す場合に、第1の印刷条件を示す第1の条件情報を前記対象条件情報として決定し、
前記特定の印刷アプリケーションが前記第1種の印刷アプリケーションとは異なる第2種の印刷アプリケーションであることに起因して、前記情報要求が前記第1の内容とは異なる第2の内容を示す場合に、前記第1の印刷条件とは異なる第2の印刷条件を示す第2の条件情報を前記対象条件情報として決定する、プリンタ。
It ’s a printer,
The print execution unit and
An information request receiving unit that receives an information request from a terminal device for requesting condition information indicating a print condition that can be used by the printer, wherein the information request is a specific information request for instructing the printer to perform printing. The information request receiving unit, which is transmitted from the terminal device to the printer by using the printing application in the terminal device,
A condition information determination unit that determines target condition information to be transmitted to the terminal device according to the content of the information request.
A condition information transmission unit that transmits the target condition information determined by the condition information determination unit to the terminal device, and a condition information transmission unit.
A print data receiving unit that receives target print data according to the target condition information from the terminal device after the target condition information is transmitted to the terminal device.
A print control unit that causes the print execution unit to print the target image represented by the target print data is provided.
The condition information determination unit
Due to the fact that the specific printing application is a first-class printing application, when the information request indicates the first content, the first condition information indicating the first printing condition is used as the target condition information. Determined as
When the information request indicates a second content different from the first content because the specific printing application is a second type printing application different from the first type printing application. , A printer that determines second condition information indicating a second print condition different from the first print condition as the target condition information.
前記条件情報決定部は、前記情報要求の内容に応じて、前記特定の印刷アプリケーションの種類を決定する種類決定部を備え、
前記種類決定部は、
前記情報要求が前記第1の内容を示す場合に、前記特定の印刷アプリケーションが前記第1種の印刷アプリケーションであると決定し、
前記情報要求が前記第2の内容を示す場合に、前記特定の印刷アプリケーションが前記第2種の印刷アプリケーションであると決定し、
前記条件情報決定部は、
前記特定の印刷アプリケーションが前記第1種の印刷アプリケーションであると決定される場合に、前記第1の条件情報を前記対象条件情報として決定し、
前記特定の印刷アプリケーションが前記第2種の印刷アプリケーションであると決定される場合に、前記第2の条件情報を前記対象条件情報として決定する、請求項1に記載のプリンタ。
The condition information determination unit includes a type determination unit that determines the type of the specific printing application according to the content of the information request.
The type determination unit
When the information request indicates the first content, it is determined that the specific printing application is the first type printing application.
When the information request indicates the second content, it is determined that the specific printing application is the second type printing application.
The condition information determination unit
When the specific printing application is determined to be the first type printing application, the first condition information is determined as the target condition information.
The printer according to claim 1, wherein when the specific printing application is determined to be the second type printing application, the second condition information is determined as the target condition information.
前記第1の内容は、前記特定の印刷アプリケーションが前記第1種の印刷アプリケーションであることに起因して、所定コマンドが前記情報要求に記述されていることを含み、
前記第2の内容は、前記特定の印刷アプリケーションが前記第2種の印刷アプリケーションであることに起因して、前記所定コマンドが前記情報要求に記述されていないことを含む、請求項1又は2に記載のプリンタ。
The first content includes that a predetermined command is described in the information request due to the particular printing application being the first type printing application.
The second content is claimed in claim 1 or 2, comprising the fact that the predetermined command is not described in the information request due to the particular printing application being the second type printing application. The printer described.
前記プリンタが利用可能な前記印刷条件は、1個以上の条件項目のそれぞれについて、1個以上の項目値を含み、
前記第1の印刷条件及び前記第2の印刷条件のうちの一方の印刷条件は、前記1個以上の条件項目のうちの特定の条件項目について、第1の項目値と第2の項目値とを含み、
前記第1の印刷条件及び前記第2の印刷条件のうちの他方の印刷条件は、前記特定の条件項目について、前記第1の項目値を含むと共に前記第2の項目値を含まない、請求項1から3のいずれか一項に記載のプリンタ。
The printing conditions available to the printer include one or more item values for each of the one or more condition items.
The printing condition of one of the first printing condition and the second printing condition is a first item value and a second item value for a specific condition item among the one or more condition items. Including
A claim that the first print condition and the other print condition of the second print condition include the first item value and do not include the second item value for the specific condition item. The printer according to any one of 1 to 3.
前記1個以上の条件項目は、前記端末装置から前記プリンタに送信されるべき前記対象印刷データのフォーマット及び印刷解像度のうちの少なくとも一方を含む、請求項4に記載のプリンタ。 The printer according to claim 4, wherein the one or more condition items include at least one of the format and print resolution of the target print data to be transmitted from the terminal device to the printer. 前記特定の条件項目が前記フォーマットである場合に、
前記第1の項目値は、PDF(Portable Document Formatの略)とは異なるフォーマットであり、
前記第2の項目値は、前記PDFである、請求項5に記載のプリンタ。
When the specific condition item is in the format,
The first item value is a format different from PDF (abbreviation of Portable Document Format).
The printer according to claim 5, wherein the second item value is the PDF.
前記特定の印刷アプリケーションは、前記プリンタのベンダを含む複数のベンダによって提供される複数種類のプリンタのそれぞれに印刷の実行を指示することが可能な汎用アプリケーションである、請求項1から6のいずれか一項に記載のプリンタ。 The specific printing application is any one of claims 1 to 6, which is a general-purpose application capable of instructing each of a plurality of types of printers provided by a plurality of vendors including the vendor of the printer to execute printing. The printer described in paragraph 1. 前記第1種の印刷アプリケーションである前記特定の印刷アプリケーションを利用する前記端末装置と前記プリンタとの間で実行される通信に利用されるプロトコルと、前記第2種の印刷アプリケーションである前記特定の印刷アプリケーションを利用する前記端末装置と前記プリンタとの間で実行される通信に利用されるプロトコルと、は同じである、請求項1から7のいずれか一項に記載のプリンタ。 A protocol used for communication executed between the terminal device and the printer using the specific printing application which is the first type printing application, and the specific type which is the second type printing application. The printer according to any one of claims 1 to 7, wherein the protocol used for communication executed between the terminal device using the printing application and the printer is the same. 前記プロトコルは、IPP(Internet Printing Protocolの略)である、請求項8に記載のプリンタ。 The printer according to claim 8, wherein the protocol is IPP (abbreviation of Internet Printing Protocol). プリンタのためのコンピュータプログラムであって、
前記プリンタのコンピュータを、
端末装置から、前記プリンタが利用可能な印刷条件を示す条件情報を要求する情報要求を受信する情報要求受信部であって、前記情報要求は、前記プリンタに印刷の実行を指示するための特定の印刷アプリケーションが前記端末装置において利用されることによって、前記端末装置から前記プリンタに送信される、前記情報要求受信部と、
前記情報要求の内容に応じて、前記端末装置に送信されるべき対象条件情報を決定する条件情報決定部と、
前記条件情報決定部にて決定される前記対象条件情報を前記端末装置に送信する条件情報送信部と、
前記対象条件情報が前記端末装置に送信された後に、前記端末装置から、前記対象条件情報に従った対象印刷データを受信する印刷データ受信部と、
前記対象印刷データによって表わされる対象画像の印刷を前記プリンタの印刷実行部に実行させる印刷制御部と、として機能させ、
前記条件情報決定部は、
前記特定の印刷アプリケーションが第1種の印刷アプリケーションであることに起因して、前記情報要求が第1の内容を示す場合に、第1の印刷条件を示す第1の条件情報を前記対象条件情報として決定し、
前記特定の印刷アプリケーションが前記第1種の印刷アプリケーションとは異なる第2種の印刷アプリケーションであることに起因して、前記情報要求が前記第1の内容とは異なる第2の内容を示す場合に、前記第1の印刷条件とは異なる第2の印刷条件を示す第2の条件情報を前記対象条件情報として決定する、コンピュータプログラム。
A computer program for printers
The computer of the printer
An information request receiving unit that receives an information request from a terminal device for requesting condition information indicating a print condition that can be used by the printer, wherein the information request is a specific information request for instructing the printer to perform printing. The information request receiving unit, which is transmitted from the terminal device to the printer by using the printing application in the terminal device,
A condition information determination unit that determines target condition information to be transmitted to the terminal device according to the content of the information request.
A condition information transmission unit that transmits the target condition information determined by the condition information determination unit to the terminal device, and a condition information transmission unit.
A print data receiving unit that receives target print data according to the target condition information from the terminal device after the target condition information is transmitted to the terminal device.
It functions as a print control unit that causes the print execution unit of the printer to print the target image represented by the target print data.
The condition information determination unit
Due to the fact that the specific printing application is a first-class printing application, when the information request indicates the first content, the first condition information indicating the first printing condition is used as the target condition information. Determined as
When the information request indicates a second content different from the first content because the specific printing application is a second type printing application different from the first type printing application. , A computer program that determines, as the target condition information, second condition information indicating a second print condition different from the first print condition.
JP2017233939A 2017-12-06 2017-12-06 Printer Active JP6977516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017233939A JP6977516B2 (en) 2017-12-06 2017-12-06 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017233939A JP6977516B2 (en) 2017-12-06 2017-12-06 Printer

Publications (2)

Publication Number Publication Date
JP2019098664A JP2019098664A (en) 2019-06-24
JP6977516B2 true JP6977516B2 (en) 2021-12-08

Family

ID=66975391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017233939A Active JP6977516B2 (en) 2017-12-06 2017-12-06 Printer

Country Status (1)

Country Link
JP (1) JP6977516B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6643746B1 (en) * 2019-05-27 2020-02-12 千住金属工業株式会社 Solder paste and flux for solder paste

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6198502B2 (en) * 2013-07-25 2017-09-20 キヤノン株式会社 Information processing apparatus and method, and program
JP6432256B2 (en) * 2014-09-30 2018-12-05 ブラザー工業株式会社 Printer
US9367271B2 (en) * 2014-10-28 2016-06-14 Xerox Corporation System and method for achieving tap-to-print functionality on a mobile device
JP2016136364A (en) * 2015-01-23 2016-07-28 キヤノン株式会社 Communication device and control method therefor, program

Also Published As

Publication number Publication date
JP2019098664A (en) 2019-06-24

Similar Documents

Publication Publication Date Title
JP6341785B2 (en) Printing apparatus, printing apparatus control method, and program
US20160231970A1 (en) Image forming apparatus, method of controlling printing and printing system
US10129420B2 (en) Image processing apparatus, control method, and storage medium thereof
US20200089443A1 (en) Printing system, information processing apparatus, method of controlling same, storage medium, external apparatus, method of controlling same, and storage medium
JP2023052591A (en) Program and print system
JP2019061622A (en) program
JP2014116803A (en) Information processor, control method and program for the same and information processing system
JP2024028997A (en) Program and printing system
JP6977516B2 (en) Printer
JP7024270B2 (en) Program and printing system
US20230102837A1 (en) Non-transitory computer-readable medium storing support program
JP2009053789A (en) Information processor, program, and computer-readable recording medium
JP7479867B2 (en) Printing device, control method thereof, and program
US11252288B2 (en) Information processing apparatus for communicating with image forming apparatus and control method for controlling the same
JP2015118566A (en) Information processing device and method of controlling the same
JP6409369B2 (en) Scanner
JP7000746B2 (en) Program and printing system
JP6822189B2 (en) Printer
JP2021111229A (en) Information processing device, and generation method and program for image data
JP6410051B2 (en) Server and server program
JP6598622B2 (en) Image forming apparatus, information processing method, and program
JP6015478B2 (en) Control device, control method, and printer driver program
US11843734B2 (en) Information processing apparatus and information processing method
JP2015016611A (en) Image processing device, method of controlling image processing device, and program
JP6881935B2 (en) Communication equipment, control methods and programs for communication equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201127

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211006

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211012

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211025

R150 Certificate of patent or registration of utility model

Ref document number: 6977516

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150