JP7151355B2 - Printer and computer program for printer - Google Patents

Printer and computer program for printer Download PDF

Info

Publication number
JP7151355B2
JP7151355B2 JP2018191218A JP2018191218A JP7151355B2 JP 7151355 B2 JP7151355 B2 JP 7151355B2 JP 2018191218 A JP2018191218 A JP 2018191218A JP 2018191218 A JP2018191218 A JP 2018191218A JP 7151355 B2 JP7151355 B2 JP 7151355B2
Authority
JP
Japan
Prior art keywords
specific
user
information
request
printer
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
JP2018191218A
Other languages
Japanese (ja)
Other versions
JP2020059199A (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 JP2018191218A priority Critical patent/JP7151355B2/en
Publication of JP2020059199A publication Critical patent/JP2020059199A/en
Application granted granted Critical
Publication of JP7151355B2 publication Critical patent/JP7151355B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本明細書では、端末装置から受信される印刷データに従った印刷を実行するプリンタを開示する。 This specification discloses a printer that performs printing according to print data received from a terminal device.

特許文献1には、IPP(Internet Printing Protocolの略)に従った印刷を画面形成装置に実行させる技術が開示されている。画像形成装置は、端末から能力情報の送信の要求を受信すると、当該画像形成装置の能力情報を端末に送信する。端末は、画像形成装置から能力情報を受信すると、IPP設定画面を表示する。端末のユーザは、IPP設定画面で印刷設定を行い、IPP設定画面内の印刷開始ボタンを押下することで、画像形成装置に印刷を実行させる。 Japanese Unexamined Patent Application Publication No. 2002-200001 discloses a technique for causing a screen forming apparatus to perform printing according to IPP (abbreviation of Internet Printing Protocol). When the image forming apparatus receives a request for transmission of capability information from the terminal, the image forming apparatus transmits capability information of the image forming apparatus to the terminal. Upon receiving the capability information from the image forming apparatus, the terminal displays the IPP setting screen. The user of the terminal makes print settings on the IPP setting screen and presses a print start button on the IPP setting screen to cause the image forming apparatus to execute printing.

特開2016-126444号公報JP 2016-126444 A

IPPに従って画像形成装置から端末に送信される能力情報は、通常、画像形成装置が利用可能な印刷条件を含む。しかしながら、画像形成装置において、ユーザ毎に、当該ユーザに利用が許可される印刷条件が設定され得る。例えば、上記の印刷条件のうちの一部の印刷条件のみの利用が特定のユーザに許可され得る。この場合、上記の印刷条件を含む能力情報が特定のユーザの端末に送信されると、特定のユーザに利用が許可されていない印刷条件を含む能力情報が当該端末に送信されることになる。従って、特定のユーザに利用が許可されていない印刷条件を含む印刷設定が行われ得る。 Capability information transmitted from the image forming apparatus to the terminal according to the IPP usually includes printing conditions available to the image forming apparatus. However, in the image forming apparatus, the printing conditions that the user is permitted to use can be set for each user. For example, a specific user may be permitted to use only some of the above printing conditions. In this case, when the capability information including the printing conditions is transmitted to the terminal of the specific user, the capability information including the printing conditions that the specific user is not permitted to use is transmitted to the terminal. Therefore, print settings including print conditions that are not permitted to be used by a specific user may be made.

本明細書では、ユーザに利用が許可されていない印刷条件を含む印刷設定が当該ユーザによって選択されるのを抑制することが可能な技術を提供する。 This specification provides a technology that can prevent a user from selecting print settings that include print conditions that the user is not permitted to use.

本明細書によって開示されるプリンタは、印刷実行部と、複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、を備えてもよい。 The printer disclosed by this specification corresponds to a print execution unit, user information identifying each of a plurality of users, and printing condition information indicating printing conditions that the user is permitted to use. and a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, the capability information request requesting transmission of printing conditions that can be used by the printer. and from the memory, when the capability information request includes specific user information identifying a specific user, a specific print associated with the specific user information. an acquisition unit configured to acquire the specific printing condition information, which is condition information and indicates a specific printing condition that is a part of the printing conditions that can be used by the printer; a response transmission unit configured to transmit a capability information response including the capability information response to the terminal device; a print data receiving unit for receiving specific print data according to the selected print settings from the terminal device when selected by the specific user; and executing printing according to the specific print data. and a print control unit that causes the unit to execute.

上記の構成によると、プリンタは、端末装置から能力情報要求を受信し、能力情報要求が特定のユーザ情報を含む場合に、メモリから、特定のユーザ情報に対応付けられている特定の印刷条件情報を取得する。そして、プリンタは、取得済みの特定の印刷条件情報を含む能力情報応答を端末装置に送信する。この場合、端末装置を利用する特定のユーザは、プリンタが利用可能な印刷条件のうちの一部である、特定のユーザに利用が許可される特定の印刷条件に適合する印刷設定を選択することができる。そして、プリンタは、端末装置から選択済みの印刷設定に従った特定の印刷データを受信し、特定印刷データに従った印刷を実行する。このように、プリンタは、特定のユーザに利用が許可されていない印刷条件を含む印刷設定が特定のユーザによって選択されるのを抑制することができる。 According to the above configuration, the printer receives the capability information request from the terminal device, and when the capability information request includes the specific user information, the printer reads from the memory the specific printing condition information associated with the specific user information. to get Then, the printer transmits to the terminal device a capability information response including the acquired specific printing condition information. In this case, a specific user who uses the terminal device selects print settings that are part of the print conditions available to the printer and that conform to specific print conditions that the specific user is permitted to use. can be done. Then, the printer receives specific print data according to the selected print settings from the terminal device, and executes printing according to the specific print data. In this way, the printer can prevent a specific user from selecting print settings that include print conditions that the specific user is not permitted to use.

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

通信システムの構成を示す。1 shows the configuration of a communication system; IPP処理のフローチャートを示す。4 shows a flowchart of IPP processing. 制限処理のフローチャートを示す。4 shows a flow chart of restriction processing. PDFデータに従った印刷が実行されるケースAのシーケンス図を示す。FIG. 10 is a sequence diagram of case A in which printing is executed according to PDF data; ウェブページデータに従った印刷が制限されるケースBのシーケンス図を示す。FIG. 10 is a sequence diagram of case B in which printing according to web page data is restricted; ウェブページデータに従った印刷が実行されるケースCのシーケンス図を示す。FIG. 10 is a sequence diagram of case C in which printing according to web page data is executed; PDFデータに従った印刷が実行されるケースDのシーケンス図を示す。FIG. 10 is a sequence diagram of case D in which printing is executed according to PDF data; 第2実施例のIPP処理のフローチャートを示す。FIG. 11 shows a flow chart of IPP processing of the second embodiment. FIG. PDFデータに従った印刷が実行されるケースDのシーケンス図を示す。FIG. 10 is a sequence diagram of case D in which printing is executed according to PDF data; PDFデータに従った印刷が実行されるケースEのシーケンス図を示す。FIG. 10 is a sequence diagram of case E in which printing is executed according to PDF data; PCに表示される各画面の一例を示す。An example of each screen displayed on a PC is shown. 比較例のシーケンス図を示す。FIG. 4 shows a sequence diagram of a comparative example;

(第1実施例)
(通信システム2の構成;図1)
図1に示すように、通信システム2は、プリンタ10と、複数個のPC100A~100Dと、を備える。プリンタ10と各PC100A~100Dは、同じLAN(Local Area Networkの略)4に所属しており、LAN4を介して相互に通信可能である。
(First embodiment)
(Configuration of communication system 2; Fig. 1)
As shown in FIG. 1, the communication system 2 includes a printer 10 and a plurality of PCs 100A-100D. The printer 10 and the PCs 100A to 100D belong to the same LAN (abbreviation for Local Area Network) 4, and can communicate with each other via the LAN 4. FIG.

(プリンタ10の構成)
プリンタ10は、印刷機能を実行可能な周辺装置(即ちPC100A~100Dの周辺装置)である。なお、プリンタ10は、印刷機能に加えて、スキャン機能、FAX機能等を実行可能な多機能機であってもよい。プリンタ10は、操作部12と、表示部14と、印刷実行部16と、通信インタフェース(以下ではインタフェースを「I/F」と記載する)20と、制御部30と、を備える。
(Configuration of Printer 10)
The printer 10 is a peripheral device (that is, a peripheral device of the PCs 100A to 100D) capable of executing printing functions. Note that the printer 10 may be a multi-function device capable of executing a scanning function, a FAX function, etc. in addition to the printing function. The printer 10 includes an operation unit 12 , a display unit 14 , a print execution unit 16 , a communication interface (hereinafter the interface will be referred to as “I/F”) 20 , and a control unit 30 .

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。表示部14は、いわゆるタッチパネル(即ち、操作部)としても機能する。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。通信I/F20は、LAN4に接続されている。通信I/F20は、無線I/Fであってもよいし、有線I/Fであってもよい。 The operation unit 12 has a plurality of keys. A 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. Communication I/F 20 is connected to LAN 4 . The communication I/F 20 may be a wireless I/F or a wired I/F.

制御部30は、CPU32と、メモリ34と、を備える。CPU32は、メモリ34に格納されているプログラム36に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、印刷条件テーブル38を記憶している。 The control unit 30 has a CPU 32 and a memory 34 . The CPU 32 executes various processes according to programs 36 stored in the memory 34 . The memory 34 is composed of a volatile memory, a nonvolatile memory, or the like. The memory 34 stores a printing condition table 38. FIG.

印刷条件テーブル38では、ユーザIDと、印刷条件の許可情報と、拡張子制限情報(以下では、「制限情報」呼ぶ)と、が対応付けて記憶される。印刷条件テーブル38内の各情報は、プリンタ10の管理者によって予め登録される。ユーザIDは、ユーザを識別する情報である。なお、ユーザID「U1」、「U2」は、個々のユーザを識別するためのユーザIDであり、ユーザID「Public」は、個々のユーザ以外の全てのユーザである一般ユーザを示すIDである。 The printing condition table 38 stores a user ID, printing condition permission information, and extension restriction information (hereinafter referred to as “restriction information”) in association with each other. Each piece of information in the printing condition table 38 is registered in advance by the administrator of the printer 10 . A user ID is information for identifying a user. The user IDs "U1" and "U2" are user IDs for identifying individual users, and the user ID "Public" is an ID indicating general users who are all users other than individual users. .

印刷条件の許可情報は、プリンタ10が利用可能な印刷条件「両面」及び「カラー」のそれぞれについて、当該印刷条件の利用が許可されていることを示す「OK」と、当該印刷条件の利用が許可されていないことを示す「NG」と、のうちのいずれかの値を有する。ここで、「両面」は両面印刷を意味し、「カラー」はカラー印刷を意味する。なお、図示省略しているが、プリンタ10は、印刷条件「片面」及び「モノクロ」も利用可能である。ここで、「片面」は片面印刷を意味し、「モノクロ」はモノクロ印刷を意味する。印刷条件「モノクロ」及び「片面」は、一般ユーザを含む全てのユーザに利用が許可されている。 The permission information of the printing conditions includes, for each of the printing conditions “double-sided” and “color” that can be used by the printer 10, “OK” indicating that the use of the printing conditions is permitted, and and "NG" indicating that it is not permitted. Here, "double-sided" means double-sided printing, and "color" means color printing. Although not shown, the printer 10 can also use the printing conditions "single-sided" and "monochrome." Here, "single-sided" means single-sided printing, and "monochrome" means monochrome printing. All users including general users are permitted to use the printing conditions "monochrome" and "single-sided".

制限情報は、拡張子制限機能が設定されていることを示す「有」と、拡張子制限機能が設定されていないことを示す「無」と、のうちのいずれかの値が設定される。拡張子制限機能は、端末装置(例えばPC100A)とのIPP(Internet Printing Protocolの略)を利用した通信において、当該端末装置から送信されるJob名が拡張子を含まない場合に、当該Job名によって識別される印刷データに従った印刷の実行を制限する機能である。即ち、制限情報「有」であるユーザから送信されるJob名が拡張子を含まない場合には、印刷の実行が制限され、制限情報「無」であるユーザから送信されるJob名が拡張子を含まない場合には、印刷の実行が制限されない。 The restriction information is set to either "Yes" indicating that the extension restriction function is set or "No" indicating that the extension restriction function is not set. The extension restriction function is used in communication with a terminal device (for example, PC 100A) using IPP (abbreviation of Internet Printing Protocol), if the Job name sent from the terminal device does not include an extension, This is a function that restricts execution of printing according to identified print data. That is, when the Job name sent from the user with the restriction information “Yes” does not include an extension, the execution of printing is restricted, and the Job name sent from the user with the restriction information “No” has the extension is not included, the execution of printing is not restricted.

(PC100A~100Dの構成)
PC100A~100Cは、プリンタ10の管理者とは異なるユーザによって利用されるPCである。PC100A~100Cには、それぞれ、当該PCを利用するユーザを識別するためのユーザID「U1」、「U2」、「U3」が記憶されている。PC100Dは、プリンタ10の管理者によって利用されるPCである。PC100A~100Dは、インターネット上のサーバからインストールされたIPPプログラム(図示省略)を備える。IPPプログラムは、HTTP(Hyper Text Transfer Protocolの略)に従ったIPPコマンドを生成して、当該コマンドをプリンタ10に送信するためのプログラムである。上記のサーバは、プリンタ10のベンダとは異なる事業者によって提供されるものであるが、変形例では、プリンタ10のベンダによって提供されるものでもよい。なお、PC100A~100Dは、サーバからIPPプログラムをインストールすることなく、IPPをサポートしていてもよい。
(Configuration of PC100A to 100D)
The PCs 100A to 100C are used by users other than the administrator of the printer 10. FIG. User IDs "U1", "U2", and "U3" for identifying users who use the PCs are stored in the PCs 100A to 100C, respectively. The PC 100D is a PC used by an administrator of the printer 10. FIG. The PCs 100A-100D are equipped with 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 for Hyper Text Transfer Protocol) and transmitting the command to the printer 10 . The server described above is provided by a company different from the vendor of the printer 10, but may be provided by the vendor of the printer 10 in a modified example. PCs 100A-100D may support IPP without installing an IPP program from a server.

(IPP処理;図2)
続いて、図2を参照して、プリンタ10のCPU32によって実行されるIPP処理について説明する。ユーザによってプリンタ10の電源がONされると、図2の処理が開始される。IPP処理は、IPPに従ったコマンド(以下では、「IPPコマンド」と呼ぶことがある)を受信することに応じて印刷を実行する処理である。なお、プリンタ10によって実行される以下の全ての通信は、通信I/F20を介して実行される。従って、以下では、「通信I/F20を介して」という説明を省略する。
(IPP treatment; Fig. 2)
Next, IPP processing executed by the CPU 32 of the printer 10 will be described with reference to FIG. When the power of the printer 10 is turned on by the user, the process of FIG. 2 is started. The IPP process is a process of executing printing in response to receiving a command according to IPP (hereinafter sometimes referred to as an "IPP command"). All the following communications performed by the printer 10 are performed via the communication I/F 20 . Therefore, the description of "via the communication I/F 20" will be omitted below.

S10において、CPU32は、PCから能力情報要求を受信することを監視する。能力情報要求は、プリンタ10が利用可能な全ての印刷条件(即ち「片面」、「両面」、「モノクロ」、及び、「カラー」)を含む能力情報応答の送信を要求するためのIPPコマンドである。CPU32は、PCから能力情報要求を受信する場合(S10でYES)に、S20に進む。以下では、能力情報要求の送信元のPCのことを「対象PC」と呼ぶ。能力情報要求は、HTTPを利用するIPPに従った要求であり、HTTPのヘッダ部とボディ部とを含む。能力情報要求のボディ部には、対象PCへのログインに利用されたユーザIDが記述される。 In S10, the CPU 32 monitors reception of a capability information request from the PC. Capability information request is an IPP command for requesting transmission of a capability information response containing all printing conditions available to printer 10 (i.e., "single-sided", "duplex", "monochrome", and "color"). be. When the CPU 32 receives the capability information request from the PC (YES in S10), the process proceeds to S20. Hereinafter, the PC that is the transmission source of the capability information request will be referred to as the "target PC". The capability information request is a request according to IPP using HTTP, and includes an HTTP header and body. The body of the capability information request describes the user ID used to log in to the target PC.

S20において、CPU32は、S10で受信された能力情報要求内のボディ部に記述されているユーザIDが、メモリ34内の印刷条件テーブル38に登録されているのか否かを判断する。CPU32は、ボディ部に記述されているユーザIDに一致するユーザIDが印刷条件テーブル38に登録されている場合(S20でYES)に、S22に進み、ボディ部に記述されているユーザIDに一致するユーザIDが印刷条件テーブル38に登録されていない場合(S20でNO)に、S30に進む。 At S<b>20 , the CPU 32 determines whether or not the user ID described in the body of the capability information request received at S<b>10 is registered in the printing condition table 38 in the memory 34 . If a user ID that matches the user ID described in the body part is registered in the printing condition table 38 (YES in S20), the CPU 32 advances to S22 to match the user ID described in the body part. If the user ID to be printed is not registered in the printing condition table 38 (NO in S20), the process proceeds to S30.

S30において、CPU32は、印刷条件テーブル38内にユーザID「Public」が登録されているのか否かを判断する。CPU32は、ユーザID「Public」が登録されている場合(S30でYES)に、S22に進み、ユーザID「Public」が登録されていない場合(S30でNO)に、S32に進む。 In S<b>30 , the CPU 32 determines whether or not the user ID “Public” is registered in the printing condition table 38 . The CPU 32 proceeds to S22 when the user ID "Public" is registered (YES in S30), and proceeds to S32 when the user ID "Public" is not registered (NO in S30).

S32において、CPU32は、エラー通知を対象PCに送信する。当該エラー通知は、IPPを利用した印刷が許可されていないことを示すメッセージを含む。S32が終了すると、S10に戻る。 In S32, the CPU 32 transmits an error notification to the target PC. The error notification includes a message indicating that printing using IPP is not permitted. When S32 ends, the process returns to S10.

S22において、CPU32は、対象PCに送信されるべき印刷条件情報を取得する。CPU32は、S20でYESと判断した場合には、S10で受信された能力情報要求内のボディ部に記述されているユーザIDを利用して、印刷条件情報を取得する。具体的には、CPU32は、印刷条件テーブル38において、当該ユーザIDに対応付けられている許可情報「OK」を示す印刷条件を特定する。そして、CPU32は、特定済みの印刷条件と「片面」と「モノクロ」とを示す印刷条件情報を取得する。また、CPU32は、S30でYESと判断した場合には、ユーザID「Public」を利用して、印刷条件情報を取得する。具体的には、CPU32は、印刷条件テーブル38において、ユーザID「Public」に対応付けられている許可情報「OK」を示す印刷条件を特定する。そして、CPU32は、特定済みの印刷条件と「片面」と「モノクロ」とを示す印刷条件情報として取得する。 In S22, the CPU 32 acquires printing condition information to be transmitted to the target PC. If the CPU 32 determines YES in S20, the CPU 32 uses the user ID described in the body of the capability information request received in S10 to acquire the printing condition information. Specifically, the CPU 32 identifies a printing condition indicating permission information “OK” associated with the user ID in the printing condition table 38 . Then, the CPU 32 acquires the specified printing conditions and the printing condition information indicating "single-sided" and "monochrome". If the CPU 32 determines YES in S30, the CPU 32 uses the user ID "Public" to acquire the printing condition information. Specifically, the CPU 32 identifies a printing condition indicating permission information “OK” associated with the user ID “Public” in the printing condition table 38 . Then, the CPU 32 acquires the specified printing conditions and the printing condition information indicating "single-sided" and "monochrome".

S24において、CPU32は、S22で取得された印刷条件情報を含む能力情報応答を対象PCに送信する。これにより、能力情報応答に含まれる印刷条件情報によって示される各印刷条件の中から、実際の印刷に利用される印刷設定が対象PCのユーザによって選択される。 In S24, the CPU 32 transmits a capability information response including the printing condition information acquired in S22 to the target PC. As a result, the user of the target PC selects the print settings to be used for actual printing from among the print conditions indicated by the print condition information included in the capability information response.

S40において、CPU32は、対象PCからJob検証要求を受信する。Job検証要求は、印刷の実行をプリンタ10に要求するIPPコマンドであり、より具体的には、ユーザによって選択される印刷設定が、当該ユーザが利用可能な印刷条件に適合しているのか否かを問い合わせるためのコマンドである。Job検証要求は、HTTPを利用するIPPに従った要求であり、HTTPのヘッダ部とボディ部とを含む。Job検証要求内のボディ部には、対象PCへのログインに利用されたユーザIDと、ユーザによって選択された印刷設定を示す印刷設定情報と、が記述される。CPU32は、まず、当該ボディ部に記述されているユーザIDを利用して、S22と同様に、印刷条件情報を特定する。そして、CPU32は、当該ボディ部に記述されている印刷設定が特定済みの印刷条件情報に適合すると判断し、S42に進む。本実施例では、S22で特定される印刷条件情報を含む能力情報応答がS24で対象PCに送信され、当該印刷条件情報の中から印刷設定がユーザによって選択される。このために、CPU32は、Job検証要求に記述されている印刷設定が、ユーザが利用可能な印刷条件に適合していると判断する(即ちJob検証要求に応じた検証が成功したと判断する)。即ち、本実施例では、Job検証要求に応じた検証が失敗しない。 In S40, the CPU 32 receives a Job verification request from the target PC. The job verification request is an IPP command that requests the printer 10 to execute printing. This command is for querying The job verification request is a request conforming to IPP using HTTP, and includes an HTTP header and body. The body of the job verification request describes the user ID used to log in to the target PC and print setting information indicating print settings selected by the user. First, the CPU 32 uses the user ID described in the body portion to identify the printing condition information, as in S22. Then, the CPU 32 determines that the print settings described in the body part match the specified print condition information, and proceeds to S42. In this embodiment, a capability information response including the printing condition information specified in S22 is transmitted to the target PC in S24, and the user selects print settings from the printing condition information. For this reason, the CPU 32 determines that the print settings described in the Job verification request match the print conditions available to the user (that is, determines that the verification according to the Job verification request has succeeded). . That is, in this embodiment, the verification in response to the Job verification request does not fail.

Job検証要求内のボディ部には、さらに、印刷データを識別するJob名が記述される。例えば、ファイル名「aaa.pdf」を有するPDFデータが印刷対象として対象PCにおいて選択される場合には、Job名は、当該ファイル名に一致する「aaa.pdf」である。また、URL(Uniform Resource Locatorの略)「http://aaa/bbb.co.jp」に対応するウェブページが印刷対象として対象PCにおいて選択される場合には、Job名は、当該URLのページタイトルに一致する「bbb」である。即ち、対象PCのユーザによってウェブページの印刷が所望されている場合には、Job名は拡張子を含まない。S42において、CPU32は、ステータス「SUCCESS」を含むJob検証応答を対象PCに送信する。 The body part of the job verification request further describes a job name that identifies the print data. For example, when PDF data having the file name "aaa.pdf" is selected as a print target on the target PC, the Job name is "aaa.pdf" that matches the file name. In addition, when a web page corresponding to the URL (Uniform Resource Locator) "http://aaa/bbb.co.jp" is selected as a print target on the target PC, the Job name is the page of the URL. It is "bbb" which matches the title. That is, when the user of the target PC desires to print the web page, the Job name does not include the extension. In S42, the CPU 32 transmits a Job verification response including the status "SUCCESS" to the target PC.

S44において、CPU32は、対象PCから、印刷設定情報を含むJob生成要求を受信する。Job生成要求は、印刷ジョブを識別するジョブIDの生成をプリンタ10に要求するIPPコマンドである。 In S44, the CPU 32 receives a job generation request including print setting information from the target PC. A job generation request is an IPP command that requests the printer 10 to generate a job ID that identifies a print job.

S46において、CPU32は、ユニークな文字列であるJobIDを生成し、当該JobIDを含むJob生成応答を対象PCに送信する。これにより、当該JobIDによって識別される印刷データが対象PCによって生成される。ここで、ユーザによって選択された印刷設定に従った印刷データが対象PCによって生成される。具体的には、印刷設定が「カラー」を示す場合、カラー画像を表わす印刷データが対象PCによって生成され、印刷設定が「モノクロ」を示す場合、モノクロ画像を表わす印刷データが対象PCによって生成される。なお、「両面」及び「片面」については、印刷データによって表わされる画像に差はない。 In S46, the CPU 32 generates a JobID, which is a unique character string, and transmits a Job generation response including the JobID to the target PC. As a result, print data identified by the JobID is generated by the target PC. Here, the target PC generates print data according to the print settings selected by the user. Specifically, when the print setting indicates "color", the target PC generates print data representing a color image, and when the print setting indicates "monochrome", the target PC generates print data representing a monochrome image. be. Note that there is no difference in the image represented by the print data for "double-sided" and "single-sided".

S48において、CPU32は、対象PCから、S46で送信されたJob生成応答に含まれるJobIDに一致するJobIDと、印刷データと、を受信する。 In S48, the CPU 32 receives, from the target PC, the JobID that matches the JobID included in the Job generation response transmitted in S46, and the print data.

S50において、CPU32は、S40で受信されたJob検証要求内のボディ部に記述されているJob名が拡張子を含むのか否かを判断する。CPU32は、当該Job名が拡張子を含む場合(S50でYES)に、S52に進み、当該Job名が拡張子を含まない場合(S50でNO)に、S60に進む。 At S50, the CPU 32 determines whether or not the Job name described in the body of the Job verification request received at S40 includes an extension. If the Job name includes an extension (YES in S50), the CPU 32 proceeds to S52, and if the Job name does not include an extension (NO in S50), the CPU 32 proceeds to S60.

S52において、CPU32は、S48で受信された印刷データを印刷実行部16に供給し、当該印刷データに従った印刷を印刷実行部16に実行させる。なお、CPU32は、S44で受信されたJob検証要求内のボディ部に記述されている印刷設定が「片面」を示す場合に、印刷媒体の片面のみに印刷することを印刷実行部16に指示し、「両面」を示す場合に、印刷媒体の両面に印刷することを印刷実行部16に指示する。 In S52, the CPU 32 supplies the print data received in S48 to the print execution unit 16, and causes the print execution unit 16 to execute printing according to the print data. If the print setting described in the body of the job verification request received in S44 indicates "single-sided", the CPU 32 instructs the print execution unit 16 to print on only one side of the print medium. , "double-sided", the print execution unit 16 is instructed to print on both sides of the print medium.

また、S60において、CPU32は、対象PCのユーザに対して拡張子制限機能が設定されているのか否かを判断する。CPU32は、印刷条件テーブル38から、S40で受信されたJob検証要求内のボディ部に記述されているユーザIDに対応付けられている制限情報を特定し、特定済みの制限情報が「有」であるのか否かを判断する。CPU32は、特定済みの制限情報が「有」である場合に、S60でYESと判断し、S62に進み、特定済みの制限情報が「無」である場合に、S60でNOと判断し、S52に進む。 Also, in S60, the CPU 32 determines whether or not the extension restriction function is set for the user of the target PC. The CPU 32 identifies, from the printing condition table 38, restriction information associated with the user ID described in the body of the Job verification request received in S40, and determines if the identified restriction information is "present". determine whether there is. If the specified restriction information is "present", the CPU 32 determines YES in S60, and proceeds to S62. proceed to

S62において、CPU32は、制限処理(図3参照)を実行する。制限処理は、S48で受信された印刷データに従った印刷の実行を制限する処理であり、具体的には、印刷の実行を許可するのか否かを管理者に問い合わせる処理である。 In S62, the CPU 32 executes a restriction process (see FIG. 3). The restriction process is a process of restricting execution of printing according to the print data received in S48, specifically, a process of inquiring of the administrator whether or not to permit execution of printing.

S70において、CPU32は、S62の制限処理において印刷の実行が許可されたのか否かを判断する。CPU32は、制限処理において印刷の実行が許可された(即ち「印刷OK」)と判断する場合(S70でYES)に、S52に進み、制限処理において印刷の実行が許可されなかった(即ち「印刷NG」)と判断する場合(S70でNO)に、S72に進む。 In S70, the CPU 32 determines whether execution of printing is permitted in the restriction processing of S62. If the CPU 32 determines that the execution of printing is permitted in the restriction process (ie, "printing OK") (YES in S70), the CPU 32 proceeds to S52, and the execution of printing is not permitted in the restriction processing (ie, "printing is permitted"). NG") (NO in S70), the process proceeds to S72.

S72において、CPU32は、印刷データに従った印刷を印刷実行部16に実行させることなく、エラー通知を対象PCに送信する。当該エラー通知は、ウェブページデータに従った印刷の実行が禁止されていることを示すメッセージを含む通知である。 In S72, the CPU 32 transmits an error notification to the target PC without causing the print execution unit 16 to print according to the print data. The error notification is a notification containing a message indicating that printing according to web page data is prohibited.

(制限処理;図3)
続いて、図3を参照して、図2のS62で実行される制限処理について説明する。S90において、CPU32は、メモリ34に予め決められている管理者PC(即ちPC100D)のIPアドレス、又は、メールアドレスを送信先として、問合通知を管理者PCに送信する。問合通知は、拡張子を含まないJob名によって識別される印刷データに従った印刷の実行が要求されたことを示す通知である。そして、問合通知は、拡張子を含まないJob名によって識別される印刷データに従った印刷の実行を許可するのか否かを管理者に問い合わせるための通知である。問合通知は、S40で受信されたJob検証要求内のボディ部に記述されているユーザID及びJob名を含む。
(Restriction processing; Fig. 3)
Next, with reference to FIG. 3, the limiting process executed in S62 of FIG. 2 will be described. In S90, the CPU 32 transmits an inquiry notification to the administrator PC with the IP address or mail address of the administrator PC (that is, the PC 100D) predetermined in the memory 34 as the destination. The inquiry notification is a notification indicating that execution of printing according to print data identified by a Job name without an extension is requested. The inquiry notification is a notification for inquiring of the administrator whether or not to permit execution of printing according to the print data identified by the Job name without the extension. The inquiry notification includes the user ID and Job name described in the body of the Job verification request received in S40.

S100において、CPU32は、管理者PCからPINコードを受信したのか否かを判断する。CPU32は、管理者PCからPINコードを受信する場合(S100でYES)に、S102に進み、管理者PCから制限通知を受信する場合(S100でNO)に、S110に進む。PINコードは、管理者によって印刷が許可されることに応じて管理者PCから送信される情報であり、制限通知は、管理者によって印刷が許可されなかったことに応じて管理者PCから送信される情報である。 At S100, the CPU 32 determines whether or not a PIN code has been received from the administrator's PC. When the PIN code is received from the administrator PC (YES in S100), the CPU 32 proceeds to S102, and when the restriction notification is received from the administrator PC (NO in S100), the CPU 32 proceeds to S110. The PIN code is information sent from the administrator's PC when printing is permitted by the administrator, and the restriction notification is sent from the administrator's PC when printing is not permitted by the administrator. information.

S102において、CPU32は、PINコードの入力欄を含む入力画面を表わすための入力画面データを対象PCに送信する。なお、変形例では、CPU32は、PINコードの入力欄を含む入力画面を表示部14に表示させてもよい。 In S102, CPU 32 transmits input screen data for representing an input screen including a PIN code input field to the target PC. In a modified example, the CPU 32 may cause the display unit 14 to display an input screen including a PIN code input field.

S104において、CPU32は、対象PCから、PINコードを受信したのか否かを判断する。CPU32は、対象PCからPINコードが受信される場合(S104でYES)に、S106に進む。一方、CPU32は、入力画面データを送信してから、PINコードが受信されることなく、所定時間が経過する場合に、S104でNOと判断し、S110に進む。 In S104, the CPU 32 determines whether or not the PIN code has been received from the target PC. When the PIN code is received from the target PC (YES in S104), the CPU 32 proceeds to S106. On the other hand, when the predetermined time has elapsed since the input screen data was transmitted without the PIN code being received, the CPU 32 determines NO in S104 and proceeds to S110.

S106において、CPU32は、S100で受信されたPINコードとS104で受信されたPINコートとが一致するのか否かを判断する。CPU32は、2個のPINコードが一致する場合(S106でYES)に、S108に進み、2個のPINコードが一致しない場合(S106でNO)に、S110に進む。 At S106, the CPU 32 determines whether or not the PIN code received at S100 and the PIN code received at S104 match. The CPU 32 proceeds to S108 if the two PIN codes match (YES in S106), and proceeds to S110 if the two PIN codes do not match (NO in S106).

S108において、CPU32は、印刷の実行が許可された(即ち「印刷OK」)と判断する。S108が終了すると、図3の処理を終了する。 In S108, the CPU 32 determines that execution of printing is permitted (that is, "printing OK"). When S108 ends, the process of FIG. 3 ends.

S110において、CPU32は、印刷の実行が許可されなかった(即ち「印刷NG」)と判断する。S110が終了すると、図3の処理を終了する。 In S110, the CPU 32 determines that execution of printing is not permitted (that is, "printing NG"). When S110 ends, the process of FIG. 3 ends.

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

(ケースA;図4)
図4を参照して、PDFデータに従った印刷が実行されるケースAについて説明する。ケースAの初期状態では、印刷条件テーブル38は、図1の状態、即ち、印刷条件テーブル38には、ユーザID「U1」が登録されており、当該ユーザIDに、印刷条件「両面」の許可情報「OK」と、印刷条件「カラー」の許可情報「NG」と、制限情報「有」と、が対応付けられている。また、ケースAの初期状態では、PDFデータ「aaa.pdf」がPC100Aに表示されている。
(Case A; Fig. 4)
Case A in which printing is performed according to PDF data will be described with reference to FIG. In the initial state of case A, the printing condition table 38 is in the state shown in FIG. The information "OK", the permission information "NG" for the print condition "color", and the restriction information "yes" are associated with each other. Further, in the initial state of case A, the PDF data "aaa.pdf" is displayed on the PC 100A.

PC100Aは、T10において、印刷設定画面を表示させるための指示を受け付けると、T12において、ボディ部にユーザID「U1」が記述されている能力情報要求をプリンタ10に送信する。 When the PC 100A receives the instruction to display the print setting screen at T10, at T12, the PC 100A transmits to the printer 10 a capability information request in which the user ID "U1" is described in the body.

プリンタ10は、T12において、PC100Aから能力情報要求を受信すると(図2のS10でYES)、能力情報要求内のボディ部に記述されているユーザID「U1」に一致するユーザIDが印刷条件テーブル38に登録されていると判断し(S20でYES)、ユーザID「U1」に対応する印刷条件情報を取得する(S22)。プリンタ10は、印刷条件テーブル38において、ユーザID「U1」に対応づけられている許可情報「OK」を示す印刷条件「両面」を特定し、「片面」と「両面」と「モノクロ」とを示す印刷条件情報を取得する(S22)。即ち、「カラー」が、印刷条件情報に含まれない。そして、プリンタ10は、T14において、取得済みの印刷条件情報を含む能力情報応答をPC100Aに送信する(S24)。 At T12, when the printer 10 receives the capability information request from the PC 100A (YES in S10 of FIG. 2), the user ID matching the user ID "U1" described in the body of the capability information request is registered in the printing conditions table. 38 (YES in S20), and obtains the printing condition information corresponding to the user ID "U1" (S22). The printer 10 identifies the printing condition "double-sided" indicating permission information "OK" associated with the user ID "U1" in the printing condition table 38, and selects "single-sided", "double-sided", and "monochrome". The indicated printing condition information is acquired (S22). That is, "color" is not included in the printing condition information. Then, at T14, the printer 10 transmits a capability information response including the acquired printing condition information to the PC 100A (S24).

PC100Aは、T14において、プリンタ10から能力情報応答を受信すると、T16において、印刷設定画面D1を表示する。図11(A)に示されるように、画面D1は、印刷設定を促すためのメッセージと、「片面」、「両面」、及び、「モノクロ」に対応する3個のチェックボックスと、OKボタンと、キャンセルボタンと、を含む。なお、「片面」、「モノクロ」のそれぞれに対応するチェックボックスには予めチェックが付与されている。また、「モノクロ」に対応するチェックボックスへの操作は無効化されている。PC100Aは、T18において、「両面」に対応するチェックボックスへのチェックの付与を受け付け、T20において、OKボタンの操作を受け付けると、T30において、ユーザID「U1」と印刷設定情報(「両面」及び「モノクロ」)とJob名「aaa.pdf」とがボディ部に記述されているJob検証要求をプリンタ10に送信する。 Upon receiving the capability information response from the printer 10 at T14, the PC 100A displays the print setting screen D1 at T16. As shown in FIG. 11A, screen D1 includes a message for prompting print settings, three check boxes corresponding to "single-sided", "double-sided", and "monochrome", and an OK button. , and a cancel button. The check boxes corresponding to "single-sided" and "monochrome" are checked in advance. Also, the operation to the check box corresponding to "monochrome" is disabled. PC 100A accepts the addition of a check mark to the check box corresponding to "double-sided" at T18, and accepts the operation of the OK button at T20. “monochrome”) and the job name “aaa.pdf” in the body portion are sent to the printer 10 .

プリンタ10は、T30において、PC100AからJob検証要求を受信すると(S40)、印刷設定「両面」及び「モノクロ」が、当該ユーザが利用可能な印刷条件(「片面」、「両面」、及び、「モノクロ」)に適合すると判断し、T32において、ステータス「SUCCESS」を含むJob検証応答をPC100Aに送信する(S42)。 When the printer 10 receives the job verification request from the PC 100A at T30 (S40), the printer 10 changes the print settings "double-sided" and "monochrome" to the print conditions ("single-sided", "double-sided", and " Monochrome"), and at T32, a Job verification response including the status "SUCCESS" is sent to PC 100A (S42).

PC100Aは、T32において、プリンタ10からJob検証応答を受信すると、当該応答がステータス「SUCCESS」を含むので、プリンタ10による検証が成功したと判断し、T40において、Job生成要求をプリンタ10に送信する。 When the PC 100A receives the job verification response from the printer 10 at T32, it determines that the verification by the printer 10 is successful because the response includes the status "SUCCESS", and transmits a job generation request to the printer 10 at T40. .

プリンタ10は、T40において、PC100AからJob生成要求を受信すると(S44)、T42において、ユニークな文字列であるJobID「X1」を生成し、T44において、生成済みのJobID「X1」を含むJob生成応答をPC100Aに送信する(S46)。 When the printer 10 receives the Job generation request from the PC 100A at T40 (S44), at T42 it generates JobID "X1" which is a unique character string, and at T44 it generates a Job including the already generated JobID "X1". A response is sent to PC 100A (S46).

PC100Aは、T44において、プリンタ10からJob生成応答を受信すると、当該応答からJobID「X1」を抽出し、PDFデータ「aaa.pdf」を、モノクロ画像を表わす印刷データに変換し、T50において、JobID「X1」と変換済みの印刷データとをプリンタ10に送信する。 When PC 100A receives the Job generation response from printer 10 at T44, PC 100A extracts JobID "X1" from the response, converts PDF data "aaa.pdf" into print data representing a monochrome image, and extracts JobID “X1” and the converted print data are sent to the printer 10 .

プリンタ10は、T50において、PC100Aから、JobID「X1」と印刷データとを受信すると(S48)、T30で受信されたJob検証要求内のボディ部に記述されているJob名「aaa.pdf」が拡張子「pdf」を含むと判断し(S50でYES)、T52において、モノクロ画像によって表わされる印刷データの両面印刷を実行する(S52)。 When the printer 10 receives the JobID "X1" and the print data from the PC 100A at T50 (S48), the Job name "aaa.pdf" described in the body of the Job verification request received at T30 is It is determined that the extension "pdf" is included (YES in S50), and in T52 double-sided printing of the print data represented by the monochrome image is executed (S52).

PC100Aは、T60において、JobID「X1」を含むJob状態要求をプリンタ10に送信する。Job状態要求は、当該要求内のJobIDの印刷の状況を確認するIPPコマンドである。PC100Aは、印刷データを送信してから、ステータス「印刷完了」を含むJob状態応答を受信するまでの間、Job状態要求を定期的に送信する。 The PC 100A transmits to the printer 10 a job status request including JobID "X1" at T60. A Job status request is an IPP command for confirming the printing status of the JobID in the request. The PC 100A periodically transmits a job status request after transmitting the print data until receiving a job status response including the status "printing completed".

プリンタ10は、T60において、PC100AからJob状態要求を受信すると、JobID「X1」に対応する印刷データの印刷を実行中であるので、T62において、ステータス「印刷中」を含むJob状態応答をPC100Aに送信する。プリンタ10は、T50で受信された印刷データの印刷が完了した後のT70において、PC100AからJob状態要求を受信すると、T72において、ステータス「印刷完了」を含むJob状態応答をPC100Aに送信する。これにより、PC100Aからプリンタ10へのJob状態要求の送信が停止される。 When the printer 10 receives the job status request from the PC 100A at T60, the printer 10 is currently printing the print data corresponding to the JobID "X1". Send. When the printer 10 receives a job status request from the PC 100A at T70 after printing of the print data received at T50 is completed, the printer 10 transmits a job status response including the status "printing completed" to the PC 100A at T72. As a result, transmission of job status requests from the PC 100A to the printer 10 is stopped.

(ケースAの効果)
ケースAの効果を説明する前に、図12を参照して、比較例のプリンタ10Aの動作を説明する。なお、比較例のプリンタ10Aにおいて、ユーザID「U1」に対応づけられている印刷条件「両面」、「カラー」の許可情報は、それぞれ、「OK」、「NG」である。T610、T612は、それぞれ、図4のT10、T12と同様である。比較例のプリンタ10Aは、T612において、PC100Aから能力情報要求を受信すると、プリンタ10Aが利用可能な全ての印刷条件(即ち「片面」、「両面」、「モノクロ」、「カラー」)を含む能力情報応答をPC100Aに送信する。即ち、プリンタ10Aは、ユーザID「U1」に対応付けられている印刷条件の許可情報が「NG」である印刷条件(カラー)も送信する。この場合、PC100Aは、T616において、印刷設定画面D5を表示する。図11(E)に示されるように、画面D5は、「カラー」に対応するチェックボックスを有する点を除いて、画面D1と同様である。そして、PC100Aは、T618において、「カラー」及び「両面」に対応するチェックボックスへのチェックの付与を受け付け、T620において、OKボタンの操作を受け付けると、Job検証要求をプリンタ10Aに送信する。当該要求において、ボディ部には、ユーザID「U1」と、印刷設定情報(印刷設定「カラー」及び「両面」)と、Job名「aaa.pdf」と、が記述されている。プリンタ10Aは、プリンタ10Aは、T630において、PC100AからJob検証要求を受信すると、当該要求のボディ部内に記述されている印刷設定「カラー」が、ユーザID「U1」に対応する印刷条件情報に適合しないと判断し、T632において、ステータス「ERROR」を含むJob検証応答をPC100Aに送信する。即ち、プリンタ10Aは、印刷データに従った印刷を実行できない。
(Effect of case A)
Before describing the effects of case A, the operation of the printer 10A of the comparative example will be described with reference to FIG. In the printer 10A of the comparative example, the permission information for the printing conditions "double-sided" and "color" associated with the user ID "U1" are "OK" and "NG", respectively. T610 and T612 are the same as T10 and T12 in FIG. 4, respectively. When the printer 10A of the comparative example receives the capability information request from the PC 100A in T612, the printer 10A is capable of specifying all the print conditions available for the printer 10A (i.e., "single-sided", "double-sided", "monochrome", and "color"). Send an information response to PC 100A. That is, the printer 10A also transmits the printing condition (color) whose permission information of the printing condition associated with the user ID "U1" is "NG". In this case, the PC 100A displays the print setting screen D5 at T616. As shown in FIG. 11E, screen D5 is similar to screen D1 except that it has a check box corresponding to "color". In T618, the PC 100A accepts the addition of checks to the check boxes corresponding to "color" and "double-sided", and in T620, upon accepting the operation of the OK button, transmits a job verification request to the printer 10A. In the request, the user ID "U1", print setting information (print settings "color" and "double-sided"), and job name "aaa.pdf" are described in the body. When the printer 10A receives the job verification request from the PC 100A at T630, the print setting "color" described in the body of the request matches the print condition information corresponding to the user ID "U1". It determines not to, and at T632, it transmits a Job verification response including the status "ERROR" to PC 100A. That is, the printer 10A cannot print according to the print data.

一方、ケースAに示されるように、プリンタ10は、PC100Aから能力情報要求を受信し(T12)、能力情報要求のボディ部内にユーザID「U1」が記述されている場合に、メモリ34内の印刷条件テーブル38を利用して、ユーザID「U1」に対応付けられている印刷条件情報(「片面」、「両面」、及び、「モノクロ」)を取得する。そして、プリンタ10は、取得済みの印刷条件情報を含む能力情報応答をPC100Aに送信する(T14)。この場合、PC100Aを利用するユーザは、プリンタ10が利用可能な全ての印刷条件のうち、当該ユーザに利用が許可される印刷条件(「片面」、「両面」、「モノクロ」)に適合する印刷設定を選択することができる。そして、プリンタ10は、PC100Aから、ユーザによって選択された印刷設定情報(「両面」、「モノクロ」)を受信し(T32)、印刷データを受信し(T50)、受信済みの印刷データに従った印刷を実行する(T52)。従って、プリンタ10は、ユーザに利用が許可されていない印刷条件を含む印刷設定が当該ユーザによって選択されるのを抑制することができる。即ち、プリンタ10Aは、印刷データに従った印刷を適切に実行できる。 On the other hand, as shown in case A, the printer 10 receives a capability information request from the PC 100A (T12). Using the printing condition table 38, the printing condition information (“single-sided”, “double-sided”, and “monochrome”) associated with the user ID “U1” is acquired. The printer 10 then transmits a capability information response including the acquired printing condition information to the PC 100A (T14). In this case, the user using the PC 100A can perform printing that conforms to the printing conditions (“single-sided”, “double-sided”, “monochrome”) that the user is permitted to use among all the printing conditions available to the printer 10. You can choose your settings. Then, the printer 10 receives the print setting information (“double-sided”, “monochrome”) selected by the user from the PC 100A (T32), receives the print data (T50), and follows the received print data. Print is executed (T52). Therefore, the printer 10 can prevent the user from selecting print settings including print conditions that the user is not permitted to use. That is, the printer 10A can appropriately execute printing according to the print data.

(ケースB;図5)
続いて、図5を参照して、ウェブページデータに従った印刷が制限されるケースBについて説明する。ケースBの初期状態は、ケースAの初期状態と同様である。また、ケースBの初期状態では、ウェブページ「http://aaa/bbb.co.jp」がPC100Aに表示されている。
(Case B; Fig. 5)
Next, with reference to FIG. 5, case B in which printing according to web page data is restricted will be described. The initial state of case B is similar to the initial state of case A. In addition, in the initial state of case B, the web page "http://aaa/bbb.co.jp" is displayed on PC 100A.

T110~T150は、Job検証要求のボディ部内に記述されているJob名が「bbb」である点、及び、JobIDが「X2」である点を除いて、図4のT10~T50と同様である。なお、PC100Aは、ウェブページ「http://aaa/bbb.co.jp」を、モノクロ画像を表わす印刷データに変換し、T150において、当該印刷データをプリンタ10に送信する。 T110 to T150 are the same as T10 to T50 in FIG. 4 except that the Job name described in the body of the Job verification request is "bbb" and the JobID is "X2". . PC 100A converts the web page “http://aaa/bbb.co.jp” into print data representing a monochrome image, and transmits the print data to printer 10 at T150.

プリンタ10は、T150において、PC100Aから、JobID「X2」と印刷データとを受信すると(図2のS48)、T130で受信したJob検証要求内ボディ部に記述されているJob名「bbb」が拡張子を含まないと判断し(S50でNO)、印刷条件テーブル38において、ユーザID「U1」に対応付けられている制限情報が「有」であると判断し(S60でYES)、T160において、T130で受信されたJob検証要求内のボディ部に記述されているユーザID「U1」及びJob名「bbb」を含む問合通知をPC100Dに送信する(S90)。これにより、管理者は、PC100Aのユーザによって、ウェブページの印刷が所望されていることを知ることができる。 When the printer 10 receives the JobID "X2" and the print data from the PC 100A at T150 (S48 in FIG. 2), the job name "bbb" described in the body of the Job verification request received at T130 is expanded. It is determined that the child is not included (NO at S50), it is determined that the restriction information associated with the user ID "U1" is "present" in the printing condition table 38 (YES at S60), and at T160, An inquiry notification including the user ID "U1" and the job name "bbb" described in the body of the job verification request received at T130 is sent to the PC 100D (S90). This allows the administrator to know that the user of PC 100A desires to print the web page.

PC100Dは、ウェブページデータの印刷を許可するための操作を受け付けると、PINコードを生成し、T162において、当該PINコードをPC100Aに送信する。 When PC 100D receives an operation for permitting printing of web page data, PC 100D generates a PIN code, and at T162, transmits the PIN code to PC 100A.

PC100Aは、T162において、PC100Dから、PINコードを受信すると、T164において、PINコードを表示する。これにより、PC100Aのユーザは、PC100Dから送信されるPINコードを知ることができる。T166は、通信対象がプリンタ10である点を除いて、T162と同様である。 Upon receiving the PIN code from PC 100D at T162, PC 100A displays the PIN code at T164. This allows the user of PC 100A to know the PIN code transmitted from PC 100D. T166 is the same as T162 except that the communication target is the printer 10 .

プリンタ10は、T166において、PC100Dから、PINコードを受信すると(S100でYES)、T168において、当該PINコードを記憶し、T170において、入力画面データをPC100Aに送信する(S102)。 When the printer 10 receives the PIN code from the PC 100D at T166 (YES at S100), it stores the PIN code at T168 and transmits the input screen data to the PC 100A at T170 (S102).

PC100Aは、T170において、プリンタ10から入力画面データを受信すると、T172において、入力画面を表示する。そして、PC100Aは、T174において、PINコードの入力を受け付けると、T176において、入力済みのPINコードをプリンタ10に送信する。 Upon receiving the input screen data from the printer 10 at T170, the PC 100A displays the input screen at T172. When the PC 100A accepts the input of the PIN code at T174, the PC 100A transmits the input PIN code to the printer 10 at T176.

プリンタ10は、T176において、PC100AからPINコードを受信すると(S104でYES)、T168で記憶されたPINコードと、T176で受信されたPINコードと、が一致すると判断し(S106でYES)、印刷の実行が許可されたと判断すし(S108、S70でYES)、T180において、モノクロ画像によって表わされる印刷データの両面印刷を実行する(S52)。T190、T192は、それぞれ、図4のT70、T72と同様である。 When the printer 10 receives the PIN code from the PC 100A at T176 (YES at S104), the printer 10 determines that the PIN code stored at T168 matches the PIN code received at T176 (YES at S106), and prints. is permitted (YES in S108 and S70), and in T180, double-sided printing of the print data represented by the monochrome image is executed (S52). T190 and T192 are the same as T70 and T72 in FIG. 4, respectively.

(ケースBの効果)
ケースAに示されるように、プリンタ10は、PC100Aから受信されるJob検証要求内のボディ部に記述されているJob名「aaa.pdf」が拡張子を含む場合(図4のT30)に、PC100Aから受信される印刷データに従った印刷を実行する(T52)。また、ケースBに示されるように、プリンタ10は、PC100Aから受信されるJob検証要求内のJob名「bbb」が拡張子を含まない場合(図5のT130)に、PC100Aから受信される印刷データに従った印刷の実行を制限する。従って、プリンタ10は、印刷データを識別するJob名が拡張子を含まない状況を考慮して、Job名が拡張子を含むのか否かに応じて印刷を実行するのか制限するのかを切り替えることができる。
(Effect of case B)
As shown in case A, when the Job name "aaa.pdf" described in the body of the Job verification request received from PC 100A includes an extension (T30 in FIG. 4), printer 10 Printing is executed according to the print data received from PC 100A (T52). Further, as shown in case B, the printer 10 outputs the print data received from PC 100A when the Job name "bbb" in the Job verification request received from PC 100A does not include an extension (T130 in FIG. 5). Restrict execution of printing according to data. Therefore, the printer 10 can switch between executing printing and restricting printing depending on whether the job name includes an extension in consideration of the situation where the job name that identifies the print data does not include the extension. can.

また、プリンタ10は、PC100Aから受信されるJob検証要求のボディ部に記述されているJob名「bbb」が拡張子を含まない場合(図5のT130)に、問合通知をPC100Dに送信する(T160)。そして、プリンタ10は、PC100DからPINコードが受信される場合(T166)に、T150で受信された印刷データに従った印刷を実行する(T180)。従って、プリンタ10は、PC100Aのユーザに対して拡張子を含まないJob名によって識別される印刷データに従った印刷が制限されている状況においても、プリンタ10の管理者によって印刷データの印刷が許可される場合に、印刷データに従った印刷を実行することができる。 Also, when the job name "bbb" described in the body of the job verification request received from PC 100A does not include an extension (T130 in FIG. 5), printer 10 transmits an inquiry notification to PC 100D. (T160). When the PIN code is received from PC 100D (T166), printer 10 executes printing according to the print data received at T150 (T180). Therefore, the printer 10 is permitted to print the print data by the administrator of the printer 10 even in a situation where the user of the PC 100A is restricted from printing according to the print data identified by the Job name that does not include the extension. If so, printing can be executed according to the print data.

(ケースC;図6)
続いて、ウェブページデータに従った印刷が実行されるケースCについて説明する。ケースCの初期状態は、ケースAの初期状態と同様である。即ち、印刷条件テーブル38には、ユーザID「U2」が登録されており、当該ユーザIDに、印刷条件「両面」の許可情報「NG」と、印刷条件「カラー」の許可情報「OK」と、制限情報「無」と、が対応付けられている。
(Case C; Fig. 6)
Next, case C in which printing is executed according to web page data will be described. The initial state of case C is similar to the initial state of case A. That is, the user ID "U2" is registered in the printing condition table 38, and the user ID includes permission information "NG" for the printing condition "double-sided" and permission information "OK" for the printing condition "color". , and restriction information “no” are associated with each other.

T210、T212は、通信対象がPC100Bである点を除いて、図4のT10、T12と同様である。プリンタ10は、T212において、PC100Bから能力情報要求を受信すると(図2のS10でYES)、能力情報要求のボディ部内に記述されているユーザID「U2」に一致するユーザIDが印刷条件テーブル38に登録されていると判断し(S20でYES)、ユーザID「U2」に対応する印刷条件情報を取得する(S22)。プリンタ10は、印刷条件テーブル38において、ユーザID「U2」に対応づけられている許可条件「OK」を示す「カラー」を特定し、「片面」と「モノクロ」と「カラー」とを示す印刷条件情報を取得する。即ち、「両面」が、印刷条件情報に含まれない。そして、プリンタ10は、T214において、取得済みの印刷条件情報を含む能力情報応答をPC100Bに送信する(S24)。 T210 and T212 are the same as T10 and T12 in FIG. 4 except that the communication target is the PC 100B. At T212, when the printer 10 receives the capability information request from the PC 100B (YES in S10 of FIG. 2), the printer 10 receives the user ID "U2" described in the body of the capability information request, (YES at S20), and obtains the printing condition information corresponding to the user ID "U2" (S22). The printer 10 identifies "color" indicating the permission condition "OK" associated with the user ID "U2" in the printing condition table 38, and performs printing indicating "single-sided", "monochrome", and "color". Get condition information. That is, "double-sided" is not included in the printing condition information. Then, in T214, the printer 10 transmits a capability information response including the acquired printing condition information to the PC 100B (S24).

PC100Bは、T214において、プリンタ10から能力情報応答を受信すると、T216において、印刷設定画面D2を表示する。図11(B)に示されるように、画面D2は、印刷設定を促すためのメッセージと、「片面」、「モノクロ」、及び、「カラー」に対応する3個のチェックボックスと、OKボタンと、キャンセルボタンと、を含む。「片面」、「モノクロ」のそれぞれに対応するチェックボックスには予めチェックが付与されている。また、「片面」に対応するチェックボックスへの操作は無効化されている。PC100Bは、T218において、「カラー」に対応するチェックボックスへのチェックの付与を受け付け、T220において、OKボタンの操作を受け付ける。T230~T250は、通信対象がPC100Bである点、印刷設定が「片面」及び「カラー」である点、及び、JobIDが「X3」である点を除いて、図5のT130~T150と同様である。なお、PC100Bは、T250において、JobID「X3」とカラー画像を表わす印刷データとをプリンタ10に送信する。 Upon receiving the capability information response from the printer 10 at T214, the PC 100B displays the print setting screen D2 at T216. As shown in FIG. 11B, screen D2 includes a message for prompting print settings, three check boxes corresponding to "single-sided", "monochrome", and "color", and an OK button. , and a cancel button. The check boxes corresponding to "single-sided" and "monochrome" are checked in advance. Also, the operation to the check box corresponding to "single-sided" is disabled. At T218, the PC 100B accepts the addition of a check mark to the check box corresponding to "color", and at T220 accepts the operation of the OK button. T230 to T250 are the same as T130 to T150 in FIG. 5 except that the communication target is the PC 100B, the print settings are "single-sided" and "color", and the JobID is "X3". be. PC 100B transmits Job ID “X3” and print data representing a color image to printer 10 at T250.

プリンタ10は、T250において、PC100Bから、JobID「X3」及び印刷データを受信すると(図2のS48)、T230で受信されたJob検証要求内のボディ部に記述されているJob名「bbb」が拡張子を含まないと判断し(S50でNO)、印刷条件テーブル38において、ユーザID「U2」に対応付けられている制限情報が「無」であると判断する(S60でNO)。そして、プリンタ10は、T260において、カラー画像を表わす印刷データの片面印刷を実行する(S52)。T270、T272は、それぞれ、図4のT70、T72と同様である。 When the printer 10 receives the Job ID "X3" and the print data from the PC 100B at T250 (S48 in FIG. 2), the Job name "bbb" described in the body part of the Job verification request received at T230 is It determines that the extension is not included (NO at S50), and determines that the restriction information associated with the user ID "U2" in the printing condition table 38 is "None" (NO at S60). At T260, the printer 10 executes single-sided printing of the print data representing the color image (S52). T270 and T272 are the same as T70 and T72 in FIG. 4, respectively.

(ケースCの効果)
プリンタ10は、PC100Bのユーザを識別するユーザID「U2」に対応付けられている制限情報が「無」である場合に、PC100Bから、Job検証要求のボディ部に記述されているJob名「bbb」が拡張子を含まなくても、当該Job名によって識別される印刷データに従った印刷を実行する(T260)。従って、プリンタ10は、ユーザ毎に、拡張子を含まないJob名によって識別される印刷データを実行するのか制限するのかを切り替えることができる。
(Effect of case C)
When the restriction information associated with the user ID "U2" for identifying the user of PC 100B is "no", the printer 10 receives the job name "bbb" described in the body of the job verification request from PC 100B. ” does not include an extension, printing is executed according to the print data identified by the Job name (T260). Therefore, the printer 10 can switch whether to execute print data identified by a Job name without an extension or restrict it for each user.

(ケースD;図7)
続いて、図7を参照して、PDFデータに従った印刷が実行されるケースDについて説明する。ケースDの初期状態は、ケースAの初期状態と同様である。即ち、印刷条件テーブル38には、ユーザID「U3」が登録されておらず、ユーザID「Public」が登録されており、当該ユーザIDに、印刷条件「両面」の許可情報「NG」と、印刷条件「カラー」の許可情報「NG」と、制限情報「有」と、が対応付けられている。
(Case D; Fig. 7)
Next, with reference to FIG. 7, case D in which printing according to PDF data is executed will be described. The initial state of case D is similar to the initial state of case A. That is, the user ID "U3" is not registered in the printing condition table 38, but the user ID "Public" is registered. Permission information “NG” for the print condition “color” is associated with restriction information “yes”.

T310、T312は、通信対象がPC100Cである点を除いて、図4のT10、T12と同様である。プリンタ10は、T312において、PC100Cから、ユーザID「U3」を含む能力情報要求を受信すると(S10でYES)、能力情報要求内のボディ部に記述されているユーザID「U3」が印刷条件テーブル38に登録されていないと判断し(S20でNO)、ユーザID「Public」が印刷条件テーブル38に登録されていると判断する(S30でYES)。プリンタ10は、印刷条件テーブル38において、ユーザID「Public」に対応づけられている許可情報が存在しないことを特定し、「片面」と「モノクロ」とを示す印刷条件情報を取得する(S22)。即ち、「両面」、「カラー」が、印刷条件情報に含まれない。そして、プリンタ10は、T214において、取得済みの印刷条件情報を含む能力情報応答をPC100Cに送信する。 T310 and T312 are the same as T10 and T12 in FIG. 4 except that the communication target is the PC 100C. At T312, when the printer 10 receives the capability information request including the user ID "U3" from the PC 100C (YES in S10), the user ID "U3" described in the body part of the capability information request is registered in the printing condition table. 38 (NO in S20), and determines that the user ID "Public" is registered in the printing condition table 38 (YES in S30). The printer 10 identifies that there is no permission information associated with the user ID "Public" in the printing condition table 38, and acquires printing condition information indicating "single-sided" and "monochrome" (S22). . That is, "double-sided" and "color" are not included in the printing condition information. Then, in T214, the printer 10 transmits a capability information response including the acquired printing condition information to the PC 100C.

PC100Cは、T316において、プリンタ10から能力情報応答を受信すると、T316において、印刷設定画面D3を表示する。図11(C)に示されるように、画面D3は、印刷設定を示すメッセージと、「片面」及び「モノクロ」に対応する2個のチェックボックスと、OKボタンと、キャンセルボタンと、を含む。「片面」及び「モノクロ」に対応するチェックボックスには予めチェックが付与されており、当該チェックボックスへの操作は無効化されている。従って、ユーザは、OKボタン及びキャンセルボタンのみを操作可能である。T320~T352、T370、T372は、通信対象がPC100Cである点、印刷設定が「片面」及び「モノクロ」である点、及び、JobIDが「X4」である点を除いて、それぞれ、図4のT20~T52、T70、T72と同様である。 Upon receiving the capability information response from the printer 10 at T316, the PC 100C displays the print setting screen D3 at T316. As shown in FIG. 11C, screen D3 includes a message indicating print settings, two check boxes corresponding to "single-sided" and "monochrome", an OK button, and a cancel button. The check boxes corresponding to "single-sided" and "monochrome" are checked in advance, and operations on the check boxes are disabled. Therefore, the user can operate only the OK button and the cancel button. T320 to T352, T370, and T372 are the same as in FIG. It is the same as T20 to T52, T70 and T72.

(本実施例の効果)
プリンタ10は、対象PCから能力情報要求を受信し(図2のS20でYES)、能力情報要求がユーザIDを含む場合に、メモリ34内の印刷条件テーブル38を利用して、当該ユーザ情報に対応付けられている印刷条件情報を取得する(S22)。そして、プリンタ10は、取得済みの印刷条件情報を含む能力情報応答を端末装置に送信する(S24)。この場合、対象PCを利用するユーザは、プリンタ10が利用可能な印刷条件のうちの一部である、当該ユーザに利用が許可される印刷条件に適合する印刷設定を選択することができる。そして、プリンタ10は、対象PCから選択済みの印刷設定に従った印刷データを受信し(S48)、当該印刷データに従った印刷を実行する(S52)。このように、プリンタ10は、対象PCのユーザに利用が許可されていない印刷条件を含む印刷設定が当該ユーザによって選択されるのを抑制することができる。
(Effect of this embodiment)
The printer 10 receives the capability information request from the target PC (YES in S20 of FIG. 2), and if the capability information request includes the user ID, the printer 10 uses the printing condition table 38 in the memory 34 to obtain the user information. Acquire the associated printing condition information (S22). The printer 10 then transmits a capability information response including the acquired printing condition information to the terminal device (S24). In this case, the user who uses the target PC can select print settings that are part of the print conditions available to the printer 10 and that match the print conditions that the user is permitted to use. Then, the printer 10 receives print data according to the selected print settings from the target PC (S48), and executes printing according to the print data (S52). In this way, the printer 10 can prevent the user of the target PC from selecting print settings that include print conditions that the user is not permitted to use.

(対応関係)
PC100A、100Bが、「端末装置」の一例である。能力情報要求内のボディ部に記述されているユーザIDが、「ユーザ情報」の一例である。PC100Aのユーザ及びPC100Bのユーザが、「特定のユーザ」の一例である。印刷条件「両面」、「片面」、「モノクロ」、及び、「カラー」が、「プリンタが利用可能な印刷条件」の一例である。印刷条件「両面」と「片面」と「モノクロ」とを示す印刷条件情報、及び、印刷条件「「片面」と「モノクロ」と「カラー」とを示す印刷条件情報が、「特定の印刷条件情報」の一例である。拡張子が、「所定のデータ形式」の一例である。
(correspondence relationship)
The PCs 100A and 100B are examples of "terminal devices." A user ID described in the body part of the capability information request is an example of "user information". The user of PC 100A and the user of PC 100B are examples of "specific users." The printing conditions “double-sided”, “single-sided”, “monochrome”, and “color” are examples of “printing conditions available for the printer”. The printing condition information indicating the printing conditions ``double-sided'', ``single-sided'' and ``monochrome'', and the printing condition information indicating the printing conditions ````single-sided'', ``monochrome'' and ``color'' are included in the ``specific printing condition information is an example of An extension is an example of a 'predetermined data format'.

図2のS10、S22、S24が、それぞれ、「要求受信部」、「取得部」、「応答送信部」によって実行される処理の一例である。図2のS52が、「印刷制御部」によって実行される処理の一例である。 S10, S22, and S24 in FIG. 2 are examples of processing executed by the 'request receiving unit', the 'acquisition unit', and the 'response transmitting unit', respectively. S52 in FIG. 2 is an example of processing executed by the "print control unit".

(第2実施例)
図1に示すように、本実施例では、プリンタ10の印刷条件テーブル38では、ユーザIDと、パスワードと、印刷条件の許可情報と、制限情報と、が対応付けて記憶されている。パスワードは、ユーザ認証に利用される情報である。また、プリンタ10のCPU32は、図2のIPP処理に代えて、図8のIPP処理を実行する。なお、以下では、ユーザID及びパスワードを総称して、「ユーザ情報」と記載することがある。
(Second embodiment)
As shown in FIG. 1, in this embodiment, the printing condition table 38 of the printer 10 stores user IDs, passwords, permission information of printing conditions, and restriction information in association with each other. A password is information used for user authentication. Also, the CPU 32 of the printer 10 executes the IPP process of FIG. 8 instead of the IPP process of FIG. In addition, below, a user ID and a password may be generically described as "user information."

(IPP処理;図8)
図8を参照して、プリンタ10のCPU32によって実行されるIPP処理について説明する。S210は、図2のS10と同様である。上述のように、能力情報要求は、HTTPを利用するIPPに従った要求であり、HTTPのヘッダ部とボディ部とを含む。能力情報要求のヘッダ部には、ユーザID及びパスワードが記述され得る。ユーザID及びパスワードは、対象PCのユーザによって、IPPコマンドのHTTPのヘッダ部に記述されるべきユーザID及びパスワードが設定されている場合にのみ記述される。
(IPP treatment; Fig. 8)
The IPP process executed by the CPU 32 of the printer 10 will be described with reference to FIG. S210 is the same as S10 in FIG. As described above, the capability information request is a request according to IPP using HTTP, and includes an HTTP header and body. A user ID and a password can be described in the header of the capability information request. The user ID and password are described only when the user of the target PC has set the user ID and password to be described in the HTTP header of the IPP command.

S220において、CPU32は、メモリ34内の全ての印刷条件情報が同じであるのか否かを判断する。CPU32は、印刷条件「両面」に対応する全ての許可情報が「OK」又は「NG」であり、かつ、印刷条件「カラー」に対応する全ての許可情報が「OK」又は「NG」である場合に、印刷条件情報が同じであると判断し(S220でYES)、S222、S224の処理をスキップして、S226に進む。一方、CPU32は、印刷条件テーブル38内の1個の印刷条件の許可情報でも異なる場合に、全ての印刷条件情報が同じでないと判断し(S220でNO)、S222に進む。 At S220, the CPU 32 determines whether or not all the print condition information in the memory 34 are the same. The CPU 32 determines that all permission information corresponding to the printing condition "double-sided" is "OK" or "NG" and all permission information corresponding to the printing condition "color" is "OK" or "NG". If so, it is determined that the printing condition information is the same (YES in S220), skips S222 and S224, and proceeds to S226. On the other hand, if even one print condition permission information in the print condition table 38 is different, the CPU 32 determines that all the print condition information is not the same (NO in S220), and proceeds to S222.

S222において、CPU32は、S210で受信した能力情報要求内のヘッダ部に、ユーザ情報(即ちユーザID及びパスワード)が記述されているのか否かを判断する。CPU32は、ヘッダ部にユーザ情報が記述されている場合(S222でYES)に、S224に進み、ヘッダ部にユーザ情報が記述されていない場合(S222でNO)に、S230に進む。 At S222, the CPU 32 determines whether user information (that is, user ID and password) is described in the header portion of the capability information request received at S210. The CPU 32 proceeds to S224 if user information is described in the header portion (YES in S222), and proceeds to S230 if user information is not described in the header portion (NO in S222).

S224において、CPU32は、能力情報要求内のヘッダ部に記述されているユーザ情報を利用したユーザ認証を実行する。具体的には、CPU32は、ヘッダ部に記述されているユーザ情報と一致するユーザ情報が印刷条件テーブル38に登録されているのか否かを判断する。CPU32は、ヘッダ部内のユーザ情報と一致するユーザ情報が印刷条件テーブル38に登録されている場合に、ユーザ認証が成功したと判断し(S224でYES)、S226に進み、ヘッダ部に記述されているユーザ情報と一致するユーザ情報が印刷条件テーブル38に登録されていない場合に、ユーザ認証が失敗したと判断し(S224でNO)、S230に進む。 At S224, the CPU 32 executes user authentication using the user information described in the header portion of the capability information request. Specifically, the CPU 32 determines whether user information that matches the user information described in the header is registered in the printing condition table 38 . When the user information matching the user information in the header is registered in the printing condition table 38, the CPU 32 determines that the user authentication has succeeded (YES in S224), proceeds to S226, and determines that the user information described in the header is successful. If user information that matches the existing user information is not registered in the printing condition table 38, it is determined that user authentication has failed (NO in S224), and the process proceeds to S230.

S230において、CPU32は、ユーザ情報要求を能力情報要求の送信元のPCに送信する。ユーザ情報要求は、ユーザ情報の送信を要求するための信号であり、ユーザ情報入力画面データを含む。これにより、対象PCには、ユーザ情報入力画面D4が表示される。図11(D)に示されるように、画面D4は、ユーザ情報の入力を促すメッセージと、ユーザ名入力欄と、パスワード入力欄と、OKボタンと、キャンセルボタンと、を含む。従って、対象PCのユーザは、対象PCにIPPコマンドのHTTPのヘッダ部に記述されるべきユーザID及びパスワードが設定されていない状況であっても、各入力欄にユーザID及びパスワードを入力することで、対象PCに、ヘッダ部にユーザID及びパスワードが記述されている能力情報要求を送信させることができる。 In S230, the CPU 32 transmits the user information request to the PC that transmitted the capability information request. A user information request is a signal for requesting transmission of user information, and includes user information input screen data. As a result, the user information input screen D4 is displayed on the target PC. As shown in FIG. 11D, the screen D4 includes a message prompting user information input, a user name input field, a password input field, an OK button, and a cancel button. Therefore, the user of the target PC can enter the user ID and password in each input field even if the user ID and password to be described in the HTTP header of the IPP command are not set in the target PC. , the target PC can be made to transmit a capability information request in which the user ID and password are described in the header.

また、S226において、CPU32は、対象PCに送信されるべき印刷条件情報を取得する。CPU32は、S224でYESと判断した場合には、S210で受信された能力情報要求内のヘッダ部に記述されているユーザ情報を利用して、印刷条件情報を取得する。具体的には、CPU32は、印刷条件テーブル38において、当該ユーザ情報に対応付けられている許可情報「OK」を示す印刷条件を特定する。そして、CPU32は、特定済みの印刷条件と「片面」と「モノクロ」とを示す印刷条件情報を取得する。また、CPU32は、S220でYESと判断した場合には、ユーザ情報を利用することなく、印刷条件情報を取得する。例えば、CPU32は、印刷条件テーブル38内において、許可情報が「OK」である印刷条件を特定する。そして、CPU32は、特定済みの印刷条件と「片面」と「モノクロ」とを示す印刷条件情報を取得する。S228、S240は、それぞれ、図2のS24、S40と同様である。S242、S244、S250は、それぞれ、S222、S224、S230と同様である。S246は、図2のS42と同様である。その後、図2のS44~S72と同様の処理が実行されると、S210に戻る。 Also, in S226, the CPU 32 acquires printing condition information to be transmitted to the target PC. If the CPU 32 determines YES in S224, the CPU 32 uses the user information described in the header portion of the capability information request received in S210 to acquire the printing condition information. Specifically, the CPU 32 identifies a printing condition indicating permission information “OK” associated with the user information in the printing condition table 38 . Then, the CPU 32 acquires the specified printing conditions and the printing condition information indicating "single-sided" and "monochrome". Further, when the CPU 32 determines YES in S220, the CPU 32 acquires the printing condition information without using the user information. For example, the CPU 32 identifies a printing condition whose permission information is “OK” in the printing condition table 38 . Then, the CPU 32 acquires the specified printing conditions and the printing condition information indicating "single-sided" and "monochrome". S228 and S240 are the same as S24 and S40 in FIG. 2, respectively. S242, S244, and S250 are the same as S222, S224, and S230, respectively. S246 is the same as S42 in FIG. After that, when the same processes as S44 to S72 in FIG. 2 are executed, the process returns to S210.

(具体的なケース;図9、図10)
続いて、図9、図10を参照して、図3、図8の処理によって実現される具体的なケースE、ケースFについて説明する。
(Specific cases; Figures 9 and 10)
Next, with reference to FIGS. 9 and 10, specific cases E and F realized by the processes of FIGS. 3 and 8 will be described.

(ケースE;図9)
図9を参照して、PDFデータに従った印刷が実行されるケースEについて説明する。ケースEの初期状態では、印刷条件テーブル38は図1の状態、即ち、ユーザID「U1」及びパスワード「P1」が登録されており、当該ユーザIDに、印刷条件「両面」の許可情報「OK」と、印刷条件「カラー」の許可情報「NG」と、制限情報「有」と、が対応付けられている。また、PC100Aには、IPPコマンドのHTTPのヘッダ部に記述されるべきユーザ情報として、ユーザID「U1」及び「パスワード」が設定済みである。また、ケースEの初期状態では、PDFデータ「aaa.pdf」がPC100Aに表示されている。
(Case E; Fig. 9)
Case E in which printing is executed according to PDF data will be described with reference to FIG. In the initial state of case E, the printing condition table 38 is in the state shown in FIG. ”, permission information “NG” of the print condition “color”, and restriction information “present” are associated with each other. Also, in the PC 100A, a user ID "U1" and a "password" have already been set as user information to be described in the HTTP header of the IPP command. Further, in the initial state of case E, the PDF data "aaa.pdf" is displayed on the PC 100A.

T410、T412は、それぞれ、図4のT10、T12と同様である。なお、T412の能力情報要求において、ヘッダ部には、ユーザID「U1」及びパスワード「P1」が記述されており、ボディ部には、ユーザID「U1」が記述されている。 T410 and T412 are the same as T10 and T12 in FIG. 4, respectively. In addition, in the capability information request of T412, the header part describes the user ID "U1" and the password "P1", and the body part describes the user ID "U1".

プリンタ10は、T412において、PC100Aから能力情報要求を受信すると(図8のS210でYES)、メモリ34内の全ての印刷条件情報が同じではないと判断し(S220でNO)、能力情報要求のヘッダ部に、ユーザID「U1」及びパスワード「P1」が記述されていると判断する(S222でYES)。そして、プリンタ10は、T413において、ユーザID「U1」及びパスワード「P1」を利用したユーザ認証を実行し(S224でYES)、「片面」と「両面」と「モノクロ」とを示す印刷条件情報を取得する(S226)。T414~T420は、図4のT14~T20と同様である。 When the printer 10 receives the capability information request from the PC 100A in T412 (YES in S210 of FIG. 8), it determines that all the printing condition information in the memory 34 is not the same (NO in S220), and issues the capability information request. It is determined that the user ID "U1" and password "P1" are described in the header (YES in S222). Then, in T413, the printer 10 executes user authentication using the user ID "U1" and password "P1" (YES in S224), and prints the printing condition information indicating "single-sided", "double-sided", and "monochrome". (S226). T414 to T420 are the same as T14 to T20 in FIG.

PC100Aは、T420において、OKボタンの操作を受け付けると、T430において、Job検証要求をプリンタ10に送信する。Job検証要求において、ヘッダ部には、ユーザID「U1」及びパスワード「P1」が記述されており、ボディ部には、ユーザID「U1」と、印刷設定情報(「両面」及び「モノクロ」)と、Job名「aaa.pdf」と、が記述されている。 When the PC 100A accepts the operation of the OK button at T420, it transmits a Job verification request to the printer 10 at T430. In the job verification request, the header part describes the user ID "U1" and the password "P1", and the body part describes the user ID "U1" and print setting information ("double-sided" and "monochrome"). and the Job name “aaa.pdf” are described.

プリンタ10は、T430において、PC100AからJob検証要求を受信すると、Job検証要求内のヘッダ部にユーザID「U1」及びパスワード「P1」が記述されていると判断し(S242でYES)、T431において、ユーザID「U1」及びパスワード「P1」を利用したユーザ認証を実行し(S244でYES)、印刷設定「両面」及び「モノクロ」が、当該ユーザが利用可能な印刷条件(「片面」、「両面」、及び、「モノクロ」)に適合すると判断する。そして、プリンタ10は、T432において、ステータス「SUCCESS」を含むJob検証応答をPC100Aに送信する(S246)。その後のT440~T472は、プリンタ10によって生成されるJobIDが「X5」である点を除いて、T40~T72と同様である。 Upon receiving the Job verification request from the PC 100A at T430, the printer 10 determines that the user ID "U1" and the password "P1" are described in the header part of the Job verification request (YES at S242), and at T431 , user authentication is executed using the user ID “U1” and password “P1” (YES in S244), and the print settings “double-sided” and “monochrome” are set to print conditions available to the user (“single-sided”, “ "Double-Sided" and "Monochrome"). Then, in T432, the printer 10 transmits a Job verification response including the status "SUCCESS" to the PC 100A (S246). Subsequent T440-T472 are similar to T40-T72, except that the JobID generated by the printer 10 is "X5".

(ケースF;図10)
続いて、図10を参照して、PDFデータに従った印刷が実行されるケースFについて説明する。ケースFの初期状態では、印刷条件テーブル38には、ユーザID「U1」及びパスワード「P1」が登録されており、当該ユーザIDに、印刷条件「両面」の許可情報「OK」、印刷条件「カラー」の許可情報「NG」、制限情報「有」が対応付けられている。また、印刷条件テーブル38には、ユーザID「U2」及びパスワード「P2」が登録されており、当該ユーザIDに、印刷条件「両面」の許可情報「OK」、印刷条件「カラー」の許可情報「NG」、制限情報「無」が対応付けられている。また、PC100Aには、IPPコマンドのHTTPのヘッダ部に記述されるべきユーザ情報が設定されていない。また、ケースFの初期状態では、PDFデータ「aaa.pdf」がPC100Aに表示されている。
(Case F; Fig. 10)
Next, with reference to FIG. 10, case F in which printing according to PDF data is executed will be described. In the initial state of case F, a user ID "U1" and a password "P1" are registered in the printing condition table 38, and the user ID includes permission information "OK" for the printing condition "double-sided" and printing condition " Permission information “NG” and restriction information “Yes” are associated with “Color”. A user ID "U2" and a password "P2" are registered in the printing condition table 38, and the user ID includes permission information "OK" for the printing condition "double-sided" and permission information for the printing condition "color". "NG" and restriction information "no" are associated. User information to be described in the HTTP header of the IPP command is not set in the PC 100A. Further, in the initial state of case F, the PDF data "aaa.pdf" is displayed on the PC 100A.

T510、T512は、それぞれ、図4のT10、T12と同様である。なお、T412の能力情報要求において、ヘッダ部には、ユーザ情報が記述されておらず、ボディ部には、ユーザID「U1」が記述されている。 T510 and T512 are the same as T10 and T12 in FIG. 4, respectively. In addition, in the capability information request of T412, no user information is described in the header part, and the user ID "U1" is described in the body part.

プリンタ10は、T512において、PC100Aから能力情報要求を受信すると(図8のS210でYES)、メモリ34内の全ての印刷条件情報が同じであると判断し(S220でYES)、印刷条件「両面」に対応する全ての許可情報が「OK」であると判断し、「片面」と「両面」と「モノクロ」とを示す印刷条件情報を取得する(S226)。T514~T520は、図4のT14~T20と同様である。 When the printer 10 receives the capability information request from the PC 100A in T512 (YES in S210 of FIG. 8), it determines that all the printing condition information in the memory 34 is the same (YES in S220), and is "OK", and print condition information indicating "single-sided", "double-sided", and "monochrome" is acquired (S226). T514-T520 are the same as T14-T20 in FIG.

PC100Aは、T520において、OKボタンの操作を受け付けると、T530において、Job検証要求をプリンタ10に送信する。Job検証要求において、ヘッダ部には、ユーザ情報が記述されておらず、ボディ部には、ユーザID「U1」と、印刷設定情報(「両面」及び「モノクロ」)と、Job名「aaa.pdf」と、が記述されている。 When the PC 100A accepts the operation of the OK button at T520, it transmits a Job verification request to the printer 10 at T530. In the job verification request, no user information is described in the header section, and the body section includes user ID "U1", print setting information ("double-sided" and "monochrome"), and job name "aaa. pdf” is described.

プリンタ10は、T530において、PC100AからJob検証要求を受信すると(S240)、Job検証要求内のヘッダ部にユーザ情報が記述されていないと判断し(S242でNO)、T532において、ユーザ入力画面データを含むユーザ情報要求をPC100Aに送信する。 When the printer 10 receives the Job verification request from the PC 100A at T530 (S240), it determines that the user information is not described in the header part of the Job verification request (NO at S242), and at T532, the user input screen data to the PC 100A.

PC100Aは、T532において、プリンタ10からユーザ情報要求を受信すると、T534において、ユーザ情報入力画面D4(図11(E)参照))を表示する。PC100Aは、T536において、ユーザID「U1」及びパスワード「P1」が画面D4に入力され、T538において、画面D4内のOKボタンが操作されると、T540において、Job検証要求をプリンタ10に送信する。当該要求において、ヘッダ部には、ユーザID「U1」及びパスワード「P1」が記述されており、ボディ部にはユーザID「U1」と、印刷設定情報(「両面」及び「モノクロ」)と、Job名「aaa.pdf」と、が記述されている。 Upon receiving the user information request from the printer 10 at T532, the PC 100A displays the user information input screen D4 (see FIG. 11E) at T534. The PC 100A inputs the user ID "U1" and the password "P1" to the screen D4 in T536, and when the OK button in the screen D4 is operated in T538, the PC 100A transmits a job verification request to the printer 10 in T540. . In the request, the header part describes the user ID "U1" and the password "P1", and the body part describes the user ID "U1", print setting information ("double-sided" and "monochrome"), Job name "aaa.pdf" is described.

プリンタ10は、T540において、PC100AからJob検証要求を受信すると(S240)、Job検証要求内のヘッダ部にユーザ情報が記述されていると判断する(S242でYES)。T541、T542は、それぞれ、図9のT431、T432と同様である。その後、PC100Aとプリンタ10との間で図4のT40~T72と同様の処理が実行される。 When the printer 10 receives the job verification request from the PC 100A at T540 (S240), the printer 10 determines that user information is described in the header portion of the job verification request (YES at S242). T541 and T542 are the same as T431 and T432 in FIG. 9, respectively. After that, the same processes as T40 to T72 in FIG. 4 are executed between the PC 100A and the printer 10. FIG.

(ケースFの効果)
プリンタ10は、メモリ34内の全ての印刷条件情報が同じである状況において、PC100Aから受信される能力情報要求内のヘッダ部にユーザ情報が記述されていない場合に、PC100Aにユーザ情報要求を送信することなく、印刷条件情報を取得し、特定済みの印刷条件情報を含む能力情報応答をPC100Aに送信する(T514)。このため、プリンタ10は、全ての印刷条件情報が同じである場合に、PC100Aのユーザにユーザ情報を入力させなくても、当該ユーザが利用可能な印刷条件(「片面」、「両面」、及び、「モノクロ」)に適合する印刷設定画面データをPC100Aに送信することができる。従って、ユーザの利便性が向上する。また、プリンタ10が、PC100Aから能力情報要求を受信した時点(T510)において、ユーザは、印刷設定画面を表示させるための指示を入力しているが、まだプリンタ10に印刷を実行させるための指示を入力していない。なお、プリンタ10に印刷を実行させるための指示の入力とは、印刷設定画面D1上のOKボタンを操作することである。印刷設定画面D1がPC100Aに表示された後において、ユーザによって印刷の実行を中止するための指示が入力、即ち、印刷設定画面D1上のキャンセルボタンが操作される場合がある。このような場合においても、プリンタ10は、全ての印刷条件情報が同じである場合に、PC100Aのユーザにユーザ情報を入力させなくても、当該ユーザが利用可能な印刷条件に適合する印刷設定画面データをPC100Aに送信することができるため、ユーザの利便性が向上する。
(Effect of case F)
Printer 10 transmits a user information request to PC 100A when no user information is described in the header portion of the capability information request received from PC 100A in a situation where all print condition information in memory 34 is the same. Without doing so, it acquires the printing condition information, and transmits a capability information response including the specified printing condition information to the PC 100A (T514). Therefore, when all of the printing condition information is the same, the printer 10 can set the printing conditions (“single-sided”, “double-sided”, and , “monochrome”) can be transmitted to the PC 100A. Therefore, user convenience is improved. Also, when the printer 10 receives the capability information request from the PC 100A (T510), the user has input an instruction to display the print setting screen, but the instruction to cause the printer 10 to execute printing has not yet been entered. not entered. Inputting an instruction for causing the printer 10 to execute printing means operating an OK button on the print setting screen D1. After the print setting screen D1 is displayed on the PC 100A, the user may input an instruction to cancel execution of printing, that is, operate the cancel button on the print setting screen D1. Even in such a case, if all the print condition information is the same, the printer 10 can display a print setting screen suitable for the print conditions that can be used by the user without requiring the user of the PC 100A to input user information. Since data can be transmitted to the PC 100A, user convenience is improved.

また、プリンタ10は、PC100Aから受信されるJob検証要求内のヘッダ部にユーザ情報が記述されていない場合(図7のS242でNO)に、PC100Aにユーザ情報要求を送信する(S250)。そして、プリンタ10は、ユーザ情報要求の送信に応じて、PC100Aから、ユーザ情報が記述されたJob検証要求が受信される場合(S242でYES)に、当該ユーザ情報に対応付けられた制限情報に基づいて、印刷を実行するのか否かを判断する。Job検証要求は、プリンタ10に印刷を実行させるための指示がPC100Aに入力される場合に、PC100Aからプリンタ10に送信される要求である。このため、プリンタ10は、メモリ34内の全ての印刷条件情報が同じである状況において、PC100Aにユーザ情報要求を送信することなく、能力情報応答をPC100Aに送信する場合であっても、ユーザ情報が記述されていないJob検証要求を受信したことに応じて、ユーザ情報要求をPC100Aに送信することができる。 If no user information is described in the header portion of the Job verification request received from PC 100A (NO in S242 of FIG. 7), printer 10 transmits a user information request to PC 100A (S250). When a Job verification request in which user information is described is received from PC 100A in response to the transmission of the user information request (YES in S242), printer 10 sets the restriction information associated with the user information. Based on this, it is determined whether or not to execute printing. The job verification request is a request sent from PC 100A to printer 10 when an instruction for causing printer 10 to execute printing is input to PC 100A. Therefore, in a situation where all the printing condition information in the memory 34 is the same, the printer 10 does not send a user information request to the PC 100A, and even if the capability information response is sent to the PC 100A, the user information A user information request can be transmitted to PC 100A in response to receiving a Job verification request in which is not described.

(本実施例の効果)
第2実施例でも、第1実施例と同様の効果を奏することができる。
(Effect of this embodiment)
The same effects as those of the first embodiment can also be obtained in the second embodiment.

(対応関係)
能力情報要求内のヘッダ部に記述されているユーザID及びパスワードが、「ユーザ情報」の一例である。図8のS230のユーザ情報要求、S250のユーザ情報要求が、それぞれ、「第1のユーザ情報要求」、「第2のユーザ情報要求」の一例である。Job検証要求が、「所定信号」の一例である。
(correspondence relationship)
The user ID and password described in the header section within the capability information request are an example of "user information." The user information request of S230 and the user information request of S250 in FIG. 8 are examples of the "first user information request" and the "second user information request", respectively. A Job verification request is an example of a "predetermined signal".

図8のS210、S226、S228が、それぞれ、「要求受信部」、「取得部」、「応答送信部」によって実行される処理の一例である。図2のS52が、「印刷制御部」によって実行される処理の一例である。 S210, S226, and S228 in FIG. 8 are examples of processing executed by the 'request receiving unit', the 'acquisition unit', and the 'response transmitting unit', respectively. S52 in FIG. 2 is an example of processing executed by the "print control 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 the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. Modifications of the above embodiment are listed below.

(変形例1)図2において、S50、S60~S70が、S42~S48の間に実行されてもよい。また、S60の後にS50が実行されてもよい。また、S60~S70を省略してもよい。本変形例では、拡張子を含まないJob名によって識別される印刷データの印刷が、管理者に通知されることなく、実行されなくてもよい。 (Modification 1) In FIG. 2, S50 and S60 to S70 may be executed between S42 to S48. Also, S50 may be executed after S60. Also, S60 to S70 may be omitted. In this modified example, printing of print data identified by a Job name that does not include an extension may not be executed without notifying the administrator.

(変形例2)図2のS50、S60~S72を省略してもよい。本変形例では、プリンタ10は、制限情報を記憶していなくてもよい。 (Modification 2) S50 and S60 to S72 in FIG. 2 may be omitted. In this modification, the printer 10 does not have to store restriction information.

(変形例3)「所定のデータ形式」は、「pdf」、「doc」等の特定の拡張子であってもよい。 (Modification 3) The "predetermined data format" may be a specific extension such as "pdf" or "doc".

(変形例4)図8のS230において、CPU32は、ユーザ情報要求に代えて、エラー通知を対象PCに送信してもよい。本変形例では、「第1の要求送信部」を省略可能である。 (Modification 4) In S230 of FIG. 8, the CPU 32 may transmit an error notification to the target PC instead of the user information request. In this modified example, the "first request transmission unit" can be omitted.

(変形例5)図8のS220を省略してもよい。 (Modification 5) S220 in FIG. 8 may be omitted.

(変形例6)図8のS250において、CPU32は、ユーザ情報要求に代えて、エラー通知を対象PCに送信してもよい。本変形例では、「第2の要求送信部」を省略可能である。「所定信号」はJob生成要求でもよいし、印刷データであってもよい。所定信号は、印刷の実行に関係する信号であればよい。 (Modification 6) In S250 of FIG. 8, the CPU 32 may transmit an error notification to the target PC instead of the user information request. In this modified example, the “second request transmission unit” can be omitted. The "predetermined signal" may be a job generation request or print data. The predetermined signal may be any signal related to execution of printing.

(変形例7)「所定の通信プロトコル」は、IPPに限定されず、Google(登録商標)によって提供されるGCP(Google Cloud Printの略)サーバを利用した印刷を実行する際に利用される通信プロトコルであってもよい。 (Modification 7) The "predetermined communication protocol" is not limited to IPP, and is communication used when executing printing using a GCP (abbreviation for Google Cloud Print) server provided by Google (registered trademark). It can be a protocol.

(変形例8)上記の実施例では、制御部30によって実行される各処理がソフトウェア(即ちプログラム36)によって実現されるが、これらの各処理のうちの少なくとも1つが論理回路等のハードウェアによって実現されてもよい。 (Modification 8) In the above embodiment, each process executed by the control unit 30 is implemented by software (that is, the program 36), but at least one of these processes is implemented by hardware such as a logic circuit. may be implemented.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
以下は、出願時の特許請求の範囲に対応する記載である。
(項目1)
プリンタであって、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
を備えるプリンタ。
(項目2)
前記メモリは、前記複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、当該ユーザの制限情報と、を対応付けて記憶し、
前記制限情報は、所定のデータ形式を有する印刷データに従った印刷を許可するのか否かを示す情報であり、
前記印刷制御部は、
前記特定のユーザ情報に対応付けられている特定の制限情報が印刷を許可することを示す場合に、前記所定のデータ形式を有する前記特定の印刷データに従った印刷を前記印刷実行部に実行させ、
前記特定の制限情報が印刷を許可しないことを示す場合に、前記所定のデータ形式を有する前記特定の印刷データに従った印刷を制限する、項目1に記載のプリンタ。
(項目3)
前記プリンタは、さらに、
前記能力情報要求がユーザ情報を含まない場合に、第1のユーザ情報要求を前記端末装置に送信する第1の要求送信部であって、前記第1のユーザ情報要求は、ユーザ情報を含む新たな能力情報要求の送信を要求するための信号である、前記第1の要求送信部を備える、項目1又は2に記載のプリンタ。
(項目4)
前記取得部は、前記メモリ内の全ての印刷条件情報のそれぞれが前記特定の印刷条件情報である場合に、前記能力情報要求がユーザ情報を含んでいなくても、前記第1のユーザ情報要求を前記端末装置に送信することなく、前記メモリから前記特定の印刷条件情報を取得する、項目3に記載のプリンタ。
(項目5)
前記プリンタは、さらに、
前記能力情報応答が前記端末装置に送信されることに応じて、前記端末装置から、所定信号を受信する所定信号受信部を備え、
前記印刷制御部は、前記所定信号が前記特定のユーザを識別する前記特定のユーザ情報を含む場合に、前記特定の印刷データに従った印刷を前記印刷実行部に実行させ、
前記プリンタは、さらに、
前記所定信号がユーザ情報を含まない場合に、第2のユーザ情報要求を前記端末装置に送信する第2の要求送信部であって、前記第2のユーザ情報要求は、ユーザ情報を含む新たな所定信号の送信を要求するための信号である、前記第2の要求送信部を備える、項目1~4のいずれか一項に記載のプリンタ。
(項目6)
前記能力情報要求は、HTTP(Hyper Text Transfer Protocolの略)を利用する前記所定の通信プロトコルに従った要求であり、
前記ユーザ情報は、前記能力情報要求のボディ部に記述されているユーザIDである、項目1又は2に記載のプリンタ。
(項目7)
前記能力情報要求は、HTTP(Hyper Text Transfer Protocolの略)を利用する前記所定の通信プロトコルに従った要求であり、
前記ユーザ情報は、前記能力情報要求のヘッダ部に記述されているユーザID及びパスワードの組み合わせである、項目1~5のいずれか一項に記載のプリンタ。
(項目8)
前記所定のプロトコルは、IPP(Internet Printing Protocolの略)である、項目1~7のいずれか一項に記載のプリンタ。
(項目9)
プリンタのためのコンピュータプログラムであって、
前記プリンタは、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、
コンピュータと、を備え、
前記コンピュータプログラムは、前記コンピュータを、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
として機能させるコンピュータプログラム。
In addition, the technical elements described in this specification or in 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 this specification or drawings achieve multiple purposes at the same time, and achieving one of them has technical utility in itself.
The following is a description corresponding to the claims as filed.
(Item 1)
a printer,
a print execution unit;
a memory that associates and stores, for each of a plurality of users, user information that identifies the user and printing condition information that indicates printing conditions that the user is permitted to use;
a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, wherein the capability information request is a command for requesting transmission of printing conditions that can be used by the printer; a request receiver;
When the capability information request includes specific user information that identifies a specific user, specific printing condition information associated with the specific user information, which is available to the printer, is retrieved from the memory. an acquisition unit that acquires the specific printing condition information indicating a specific printing condition that is part of the printing conditions;
a response transmission unit configured to transmit a capability information response including the acquired specific printing condition information to the terminal device;
After the capability information response is transmitted to the terminal device, if the specific user selects print settings that match the specific printing conditions indicated by the specific printing condition information, select from the terminal device. a print data receiving unit that receives specific print data according to the print settings that have already been made;
a print control unit that causes the print execution unit to execute printing according to the specific print data;
printer with
(Item 2)
The memory associates and stores, for each of the plurality of users, user information that identifies the user, printing condition information that indicates printing conditions that the user is permitted to use, and restriction information of the user. death,
The restriction information is information indicating whether or not printing according to print data having a predetermined data format is permitted,
The print control unit
causing the print executing unit to print according to the specific print data having the predetermined data format when the specific restriction information associated with the specific user information indicates that printing is permitted; ,
The printer according to item 1, wherein printing according to the specific print data having the predetermined data format is restricted when the specific restriction information indicates that printing is not permitted.
(Item 3)
The printer further
A first request transmission unit configured to transmit a first user information request to the terminal device when the capability information request does not include user information, wherein the first user information request includes user information. 3. The printer according to item 1 or 2, comprising the first request transmission unit, which is a signal for requesting transmission of a capability information request.
(Item 4)
The obtaining unit obtains the first user information request even if the capability information request does not include user information when each piece of all the printing condition information in the memory is the specific printing condition information. 4. The printer according to item 3, wherein the specific printing condition information is obtained from the memory without transmitting to the terminal device.
(Item 5)
The printer further
a predetermined signal receiving unit that receives a predetermined signal from the terminal device in response to the transmission of the capability information response to the terminal device;
the print control unit causes the print execution unit to execute printing according to the specific print data when the predetermined signal includes the specific user information that identifies the specific user;
The printer further
A second request transmission unit configured to transmit a second user information request to the terminal device when the predetermined signal does not contain user information, wherein the second user information request is a new user information containing user information. 5. The printer according to any one of items 1 to 4, comprising the second request transmission section, which is a signal for requesting transmission of a predetermined signal.
(Item 6)
The capability information request is a request according to the predetermined communication protocol using HTTP (abbreviation for Hyper Text Transfer Protocol),
3. The printer according to item 1 or 2, wherein the user information is a user ID described in the body of the capability information request.
(Item 7)
The capability information request is a request according to the predetermined communication protocol using HTTP (abbreviation for Hyper Text Transfer Protocol),
6. The printer according to any one of items 1 to 5, wherein the user information is a combination of a user ID and password described in a header portion of the capability information request.
(Item 8)
A printer according to any one of items 1 to 7, wherein the predetermined protocol is IPP (short for Internet Printing Protocol).
(Item 9)
A computer program for a printer, comprising:
The printer is
a print execution unit;
a memory that associates and stores, for each of a plurality of users, user information that identifies the user and printing condition information that indicates printing conditions that the user is permitted to use;
a computer;
The computer program causes the computer to:
a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, wherein the capability information request is a command for requesting transmission of printing conditions that can be used by the printer; a request receiver;
When the capability information request includes specific user information that identifies a specific user, specific printing condition information associated with the specific user information, which is available to the printer, is retrieved from the memory. an acquisition unit that acquires the specific printing condition information indicating a specific printing condition that is part of the printing conditions;
a response transmission unit configured to transmit a capability information response including the acquired specific printing condition information to the terminal device;
After the capability information response is transmitted to the terminal device, if the specific user selects print settings that match the specific printing conditions indicated by the specific printing condition information, select from the terminal device. a print data receiving unit that receives specific print data according to the print settings that have already been made;
a print control unit that causes the print execution unit to execute printing according to the specific print data;
A computer program that acts as a

2:通信システム、10:プリンタ、12:操作部、14:表示部、16:印刷実行部、20:通信I/F、30:制御部、32:CPU、34:メモリ、36:プログラム、38:印刷条件テーブル、100A~100D:PC 2: communication system, 10: printer, 12: operation unit, 14: display unit, 16: print execution unit, 20: communication I/F, 30: control unit, 32: CPU, 34: memory, 36: program, 38 : printing condition table, 100A to 100D: PC

Claims (9)

プリンタであって、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、当該ユーザの制限情報と、を対応付けて記憶するメモリであって、前記制限情報は、所定のデータ形式を有する印刷データに従った印刷を許可するのか否かを示す情報である、前記メモリと、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
を備え
前記印刷制御部は、
前記特定のユーザ情報に対応付けられている特定の制限情報が印刷を許可することを示す場合に、前記所定のデータ形式を有する前記特定の印刷データに従った印刷を前記印刷実行部に実行させ、
前記特定の制限情報が印刷を許可しないことを示す場合に、前記所定のデータ形式を有する前記特定の印刷データに従った印刷を制限する、プリンタ。
a printer,
a print execution unit;
A memory that associates and stores, for each of a plurality of users, user information that identifies the user, printing condition information that indicates printing conditions that the user is permitted to use, and restriction information of the user. , the memory, wherein the restriction information is information indicating whether or not printing according to print data having a predetermined data format is permitted ;
a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, wherein the capability information request is a command for requesting transmission of printing conditions that can be used by the printer; a request receiver;
When the capability information request includes specific user information that identifies a specific user, specific printing condition information associated with the specific user information, which is available to the printer, is retrieved from the memory. an acquisition unit that acquires the specific printing condition information indicating a specific printing condition that is part of the printing conditions;
a response transmission unit configured to transmit a capability information response including the acquired specific printing condition information to the terminal device;
After the capability information response is transmitted to the terminal device, if the specific user selects print settings that match the specific printing conditions indicated by the specific printing condition information, select from the terminal device. a print data receiving unit that receives specific print data according to the print settings that have already been made;
a print control unit that causes the print execution unit to execute printing according to the specific print data;
with
The print control unit
causing the print executing unit to print according to the specific print data having the predetermined data format when the specific restriction information associated with the specific user information indicates that printing is permitted; ,
A printer that restricts printing according to the specific print data having the predetermined data format when the specific restriction information indicates that printing is not permitted .
前記プリンタは、さらに、
前記能力情報要求がユーザ情報を含まない場合に、第1のユーザ情報要求を前記端末装置に送信する第1の要求送信部であって、前記第1のユーザ情報要求は、ユーザ情報を含む新たな能力情報要求の送信を要求するための信号である、前記第1の要求送信部を備える、請求項1に記載のプリンタ。
The printer further
A first request transmission unit configured to transmit a first user information request to the terminal device when the capability information request does not include user information, wherein the first user information request includes user information. 2. The printer according to claim 1 , comprising said first request transmission section, which is a signal for requesting transmission of a capability information request.
プリンタであって、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
前記能力情報要求がユーザ情報を含まない場合に、第1のユーザ情報要求を前記端末装置に送信する第1の要求送信部であって、前記第1のユーザ情報要求は、ユーザ情報を含む新たな能力情報要求の送信を要求するための信号である、前記第1の要求送信部と、
を備え、
前記取得部は、前記メモリ内の全ての印刷条件情報のそれぞれが前記特定の印刷条件情報である場合に、前記能力情報要求がユーザ情報を含んでいなくても、前記第1のユーザ情報要求を前記端末装置に送信することなく、前記メモリから前記特定の印刷条件情報を取得する、プリンタ。
a printer,
a print execution unit;
a memory that associates and stores, for each of a plurality of users, user information that identifies the user and printing condition information that indicates printing conditions that the user is permitted to use;
a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, wherein the capability information request is a command for requesting transmission of printing conditions that can be used by the printer; a request receiver;
When the capability information request includes specific user information that identifies a specific user, specific printing condition information associated with the specific user information, which is available to the printer, is retrieved from the memory. an acquisition unit that acquires the specific printing condition information indicating a specific printing condition that is part of the printing conditions;
a response transmission unit configured to transmit a capability information response including the acquired specific printing condition information to the terminal device;
After the capability information response is transmitted to the terminal device, if the specific user selects print settings that match the specific printing conditions indicated by the specific printing condition information, select from the terminal device. a print data receiving unit that receives specific print data according to the print settings that have already been made;
a print control unit that causes the print execution unit to execute printing according to the specific print data;
A first request transmission unit configured to transmit a first user information request to the terminal device when the capability information request does not include user information, wherein the first user information request includes user information. the first request transmission unit, which is a signal for requesting transmission of a capability information request;
with
The obtaining unit obtains the first user information request even if the capability information request does not include user information when each piece of all the printing condition information in the memory is the specific printing condition information. to the terminal device, the printer acquires the specific printing condition information from the memory .
前記プリンタは、さらに、
前記能力情報応答が前記端末装置に送信されることに応じて、前記端末装置から、所定信号を受信する所定信号受信部を備え、
前記印刷制御部は、前記所定信号が前記特定のユーザを識別する前記特定のユーザ情報を含む場合に、前記特定の印刷データに従った印刷を前記印刷実行部に実行させ、
前記プリンタは、さらに、
前記所定信号がユーザ情報を含まない場合に、第2のユーザ情報要求を前記端末装置に送信する第2の要求送信部であって、前記第2のユーザ情報要求は、ユーザ情報を含む新たな所定信号の送信を要求するための信号である、前記第2の要求送信部を備える、請求項1~のいずれか一項に記載のプリンタ。
The printer further
a predetermined signal receiving unit that receives a predetermined signal from the terminal device in response to the transmission of the capability information response to the terminal device;
the print control unit causes the print execution unit to execute printing according to the specific print data when the predetermined signal includes the specific user information that identifies the specific user;
The printer further
A second request transmission unit configured to transmit a second user information request to the terminal device when the predetermined signal does not contain user information, wherein the second user information request is a new user information containing user information. 4. The printer according to any one of claims 1 to 3 , comprising said second request transmission section, which is a signal for requesting transmission of a predetermined signal.
プリンタであって、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
を備え、
前記能力情報要求は、HTTP(Hyper Text Transfer Protocolの略)を利用する前記所定の通信プロトコルに従った要求であり、
前記ユーザ情報は、前記能力情報要求のボディ部に記述されているユーザIDである、プリンタ。
a printer,
a print execution unit;
a memory that associates and stores, for each of a plurality of users, user information that identifies the user and printing condition information that indicates printing conditions that the user is permitted to use;
a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, wherein the capability information request is a command for requesting transmission of printing conditions that can be used by the printer; a request receiver;
When the capability information request includes specific user information that identifies a specific user, specific printing condition information associated with the specific user information, which is available to the printer, is retrieved from the memory. an acquisition unit that acquires the specific printing condition information indicating a specific printing condition that is part of the printing conditions;
a response transmission unit configured to transmit a capability information response including the acquired specific printing condition information to the terminal device;
After the capability information response is transmitted to the terminal device, if the specific user selects print settings that match the specific printing conditions indicated by the specific printing condition information, select from the terminal device. a print data receiving unit that receives specific print data according to the print settings that have already been made;
a print control unit that causes the print execution unit to execute printing according to the specific print data;
with
The capability information request is a request according to the predetermined communication protocol using HTTP (abbreviation for Hyper Text Transfer Protocol),
The printer , wherein the user information is a user ID described in the body of the capability information request .
プリンタであって、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
を備え、
前記能力情報要求は、HTTP(Hyper Text Transfer Protocolの略)を利用する前記所定の通信プロトコルに従った要求であり、
前記ユーザ情報は、前記能力情報要求のヘッダ部に記述されているユーザID及びパスワードの組み合わせである、プリンタ。
a printer,
a print execution unit;
a memory that associates and stores, for each of a plurality of users, user information that identifies the user and printing condition information that indicates printing conditions that the user is permitted to use;
a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, wherein the capability information request is a command for requesting transmission of printing conditions that can be used by the printer; a request receiver;
When the capability information request includes specific user information that identifies a specific user, specific printing condition information associated with the specific user information, which is available to the printer, is retrieved from the memory. an acquisition unit that acquires the specific printing condition information indicating a specific printing condition that is part of the printing conditions;
a response transmission unit configured to transmit a capability information response including the acquired specific printing condition information to the terminal device;
After the capability information response is transmitted to the terminal device, if the specific user selects print settings that match the specific printing conditions indicated by the specific printing condition information, select from the terminal device. a print data receiving unit that receives specific print data according to the print settings that have already been made;
a print control unit that causes the print execution unit to execute printing according to the specific print data;
with
The capability information request is a request according to the predetermined communication protocol using HTTP (abbreviation for Hyper Text Transfer Protocol),
The printer , wherein the user information is a combination of a user ID and a password described in a header portion of the capability information request .
前記所定の通信プロトコルは、IPP(Internet Printing Protocolの略)である、請求項1~のいずれか一項に記載のプリンタ。 The printer according to any one of claims 1 to 6 , wherein said predetermined communication protocol is IPP (abbreviation for Internet Printing Protocol). プリンタのためのコンピュータプログラムであって、
前記プリンタは、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、
コンピュータと、を備え、
前記コンピュータプログラムは、前記コンピュータを、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
として機能させ、
前記能力情報要求は、HTTP(Hyper Text Transfer Protocolの略)を利用する前記所定の通信プロトコルに従った要求であり、
前記ユーザ情報は、前記能力情報要求のボディ部に記述されているユーザIDである、コンピュータプログラム。
A computer program for a printer, comprising:
The printer is
a print execution unit;
a memory that associates and stores, for each of a plurality of users, user information that identifies the user and printing condition information that indicates printing conditions that the user is permitted to use;
a computer;
The computer program causes the computer to:
a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, wherein the capability information request is a command for requesting transmission of printing conditions that can be used by the printer; a request receiver;
When the capability information request includes specific user information that identifies a specific user, specific printing condition information associated with the specific user information, which is available to the printer, is retrieved from the memory. an acquisition unit that acquires the specific printing condition information indicating a specific printing condition that is part of the printing conditions;
a response transmission unit configured to transmit a capability information response including the acquired specific printing condition information to the terminal device;
After the capability information response is transmitted to the terminal device, if the specific user selects print settings that match the specific printing conditions indicated by the specific printing condition information, select from the terminal device. a print data receiving unit that receives specific print data according to the print settings that have already been made;
a print control unit that causes the print execution unit to execute printing according to the specific print data;
function as
The capability information request is a request according to the predetermined communication protocol using HTTP (abbreviation for Hyper Text Transfer Protocol),
The computer program , wherein the user information is a user ID described in a body part of the capability information request .
プリンタのためのコンピュータプログラムであって、
前記プリンタは、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、
コンピュータと、を備え、
前記コンピュータプログラムは、前記コンピュータを、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
として機能させ、
前記能力情報要求は、HTTP(Hyper Text Transfer Protocolの略)を利用する前記所定の通信プロトコルに従った要求であり、
前記ユーザ情報は、前記能力情報要求のヘッダ部に記述されているユーザID及びパスワードの組み合わせである、コンピュータプログラム。
A computer program for a printer, comprising:
The printer is
a print execution unit;
a memory that associates and stores, for each of a plurality of users, user information that identifies the user and printing condition information that indicates printing conditions that the user is permitted to use;
a computer;
The computer program causes the computer to:
a request receiving unit for receiving a capability information request according to a predetermined communication protocol from a terminal device, wherein the capability information request is a command for requesting transmission of printing conditions that can be used by the printer; a request receiver;
When the capability information request includes specific user information that identifies a specific user, specific printing condition information associated with the specific user information, which is available to the printer, is retrieved from the memory. an acquisition unit that acquires the specific printing condition information indicating a specific printing condition that is part of the printing conditions;
a response transmission unit configured to transmit a capability information response including the acquired specific printing condition information to the terminal device;
After the capability information response is transmitted to the terminal device, if the specific user selects print settings that match the specific printing conditions indicated by the specific printing condition information, select from the terminal device. a print data receiving unit that receives specific print data according to the print settings that have already been made;
a print control unit that causes the print execution unit to execute printing according to the specific print data;
function as
The capability information request is a request according to the predetermined communication protocol using HTTP (abbreviation for Hyper Text Transfer Protocol),
The computer program , wherein the user information is a combination of a user ID and a password described in a header of the capability information request .
JP2018191218A 2018-10-09 2018-10-09 Printer and computer program for printer Active JP7151355B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018191218A JP7151355B2 (en) 2018-10-09 2018-10-09 Printer and computer program for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018191218A JP7151355B2 (en) 2018-10-09 2018-10-09 Printer and computer program for printer

Publications (2)

Publication Number Publication Date
JP2020059199A JP2020059199A (en) 2020-04-16
JP7151355B2 true JP7151355B2 (en) 2022-10-12

Family

ID=70219310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018191218A Active JP7151355B2 (en) 2018-10-09 2018-10-09 Printer and computer program for printer

Country Status (1)

Country Link
JP (1) JP7151355B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001350604A (en) 2000-06-09 2001-12-21 Canon Inc Device and method for print control, and storage medium
JP2007090712A (en) 2005-09-29 2007-04-12 Canon Inc Printing system
JP2016072785A (en) 2014-09-30 2016-05-09 ブラザー工業株式会社 Printer
JP2016189543A (en) 2015-03-30 2016-11-04 ブラザー工業株式会社 Multi-function machine
JP2017065135A (en) 2015-09-30 2017-04-06 ブラザー工業株式会社 Printer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001350604A (en) 2000-06-09 2001-12-21 Canon Inc Device and method for print control, and storage medium
JP2007090712A (en) 2005-09-29 2007-04-12 Canon Inc Printing system
JP2016072785A (en) 2014-09-30 2016-05-09 ブラザー工業株式会社 Printer
JP2016189543A (en) 2015-03-30 2016-11-04 ブラザー工業株式会社 Multi-function machine
JP2017065135A (en) 2015-09-30 2017-04-06 ブラザー工業株式会社 Printer

Also Published As

Publication number Publication date
JP2020059199A (en) 2020-04-16

Similar Documents

Publication Publication Date Title
JP6891718B2 (en) Communication device
JP5522095B2 (en) Printer
JP5485246B2 (en) Image forming apparatus
JP4642597B2 (en) Image processing apparatus and file transmission method
US8489891B2 (en) Method for limiting service, method for limiting image processing and image processing system
JP6402668B2 (en) Multi-function machine
JP2010157208A (en) Data processing apparatus, printer network system, data processing method, program, and recording medium
JP7147267B2 (en) IMAGE PROCESSING DEVICE AND COMPUTER PROGRAM FOR IMAGE PROCESSING DEVICE
JP2006109459A (en) Print supporting apparatus, print processing apparatus, document processing system, method of controlling print supporting apparatus, print support control program, and computer readable recording medium
JP6303709B2 (en) Image processing apparatus, communication system, and relay apparatus
JP5571911B2 (en) Image processing apparatus, control method thereof, and program
JP6590056B2 (en) Multi-function machine
JP7151355B2 (en) Printer and computer program for printer
JP2011237854A (en) Print control unit, print control system, print control method, print control program and recording medium where the program is recorded
JP6828637B2 (en) Image processing device
JP2005267201A (en) Image processor and system, method of limiting use, and program
JP2020059198A (en) Printer and computer program for printer
JP5401379B2 (en) Image forming system, authentication method, and image forming apparatus
JP5145054B2 (en) Image forming apparatus and image forming system
JP2009170994A (en) Image forming apparatus, and image forming system
JP2007193432A (en) Printing system
JP5884884B2 (en) Data processing apparatus, printing system, data processing method, program, and recording medium
JP7447686B2 (en) Communication system, first server, second server, computer program for the first server, and computer program for the second server
JP7306016B2 (en) COMMUNICATION DEVICE AND COMPUTER PROGRAM FOR COMMUNICATION DEVICE
JP7388218B2 (en) Printers and computer programs for printers

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220609

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220614

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220809

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220830

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220912

R150 Certificate of patent or registration of utility model

Ref document number: 7151355

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150