JP7151355B2 - Printer and computer program for printer - Google Patents
Printer and computer program for printer Download PDFInfo
- 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
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.
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実施例)
(通信システム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
(プリンタ10の構成)
プリンタ10は、印刷機能を実行可能な周辺装置(即ちPC100A~100Dの周辺装置)である。なお、プリンタ10は、印刷機能に加えて、スキャン機能、FAX機能等を実行可能な多機能機であってもよい。プリンタ10は、操作部12と、表示部14と、印刷実行部16と、通信インタフェース(以下ではインタフェースを「I/F」と記載する)20と、制御部30と、を備える。
(Configuration of Printer 10)
The
操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。表示部14は、いわゆるタッチパネル(即ち、操作部)としても機能する。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。通信I/F20は、LAN4に接続されている。通信I/F20は、無線I/Fであってもよいし、有線I/Fであってもよい。
The
制御部30は、CPU32と、メモリ34と、を備える。CPU32は、メモリ34に格納されているプログラム36に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、印刷条件テーブル38を記憶している。
The
印刷条件テーブル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
印刷条件の許可情報は、プリンタ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
制限情報は、拡張子制限機能が設定されていることを示す「有」と、拡張子制限機能が設定されていないことを示す「無」と、のうちのいずれかの値が設定される。拡張子制限機能は、端末装置(例えば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
(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
S10において、CPU32は、PCから能力情報要求を受信することを監視する。能力情報要求は、プリンタ10が利用可能な全ての印刷条件(即ち「片面」、「両面」、「モノクロ」、及び、「カラー」)を含む能力情報応答の送信を要求するためのIPPコマンドである。CPU32は、PCから能力情報要求を受信する場合(S10でYES)に、S20に進む。以下では、能力情報要求の送信元のPCのことを「対象PC」と呼ぶ。能力情報要求は、HTTPを利用するIPPに従った要求であり、HTTPのヘッダ部とボディ部とを含む。能力情報要求のボディ部には、対象PCへのログインに利用されたユーザIDが記述される。
In S10, the
S20において、CPU32は、S10で受信された能力情報要求内のボディ部に記述されているユーザIDが、メモリ34内の印刷条件テーブル38に登録されているのか否かを判断する。CPU32は、ボディ部に記述されているユーザIDに一致するユーザIDが印刷条件テーブル38に登録されている場合(S20でYES)に、S22に進み、ボディ部に記述されているユーザIDに一致するユーザIDが印刷条件テーブル38に登録されていない場合(S20でNO)に、S30に進む。
At S<b>20 , the
S30において、CPU32は、印刷条件テーブル38内にユーザID「Public」が登録されているのか否かを判断する。CPU32は、ユーザID「Public」が登録されている場合(S30でYES)に、S22に進み、ユーザID「Public」が登録されていない場合(S30でNO)に、S32に進む。
In S<b>30 , the
S32において、CPU32は、エラー通知を対象PCに送信する。当該エラー通知は、IPPを利用した印刷が許可されていないことを示すメッセージを含む。S32が終了すると、S10に戻る。
In S32, the
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
S24において、CPU32は、S22で取得された印刷条件情報を含む能力情報応答を対象PCに送信する。これにより、能力情報応答に含まれる印刷条件情報によって示される各印刷条件の中から、実際の印刷に利用される印刷設定が対象PCのユーザによって選択される。
In S24, the
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
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
S44において、CPU32は、対象PCから、印刷設定情報を含むJob生成要求を受信する。Job生成要求は、印刷ジョブを識別するジョブIDの生成をプリンタ10に要求するIPPコマンドである。
In S44, the
S46において、CPU32は、ユニークな文字列であるJobIDを生成し、当該JobIDを含むJob生成応答を対象PCに送信する。これにより、当該JobIDによって識別される印刷データが対象PCによって生成される。ここで、ユーザによって選択された印刷設定に従った印刷データが対象PCによって生成される。具体的には、印刷設定が「カラー」を示す場合、カラー画像を表わす印刷データが対象PCによって生成され、印刷設定が「モノクロ」を示す場合、モノクロ画像を表わす印刷データが対象PCによって生成される。なお、「両面」及び「片面」については、印刷データによって表わされる画像に差はない。
In S46, the
S48において、CPU32は、対象PCから、S46で送信されたJob生成応答に含まれるJobIDに一致するJobIDと、印刷データと、を受信する。
In S48, the
S50において、CPU32は、S40で受信されたJob検証要求内のボディ部に記述されているJob名が拡張子を含むのか否かを判断する。CPU32は、当該Job名が拡張子を含む場合(S50でYES)に、S52に進み、当該Job名が拡張子を含まない場合(S50でNO)に、S60に進む。
At S50, the
S52において、CPU32は、S48で受信された印刷データを印刷実行部16に供給し、当該印刷データに従った印刷を印刷実行部16に実行させる。なお、CPU32は、S44で受信されたJob検証要求内のボディ部に記述されている印刷設定が「片面」を示す場合に、印刷媒体の片面のみに印刷することを印刷実行部16に指示し、「両面」を示す場合に、印刷媒体の両面に印刷することを印刷実行部16に指示する。
In S52, the
また、S60において、CPU32は、対象PCのユーザに対して拡張子制限機能が設定されているのか否かを判断する。CPU32は、印刷条件テーブル38から、S40で受信されたJob検証要求内のボディ部に記述されているユーザIDに対応付けられている制限情報を特定し、特定済みの制限情報が「有」であるのか否かを判断する。CPU32は、特定済みの制限情報が「有」である場合に、S60でYESと判断し、S62に進み、特定済みの制限情報が「無」である場合に、S60でNOと判断し、S52に進む。
Also, in S60, the
S62において、CPU32は、制限処理(図3参照)を実行する。制限処理は、S48で受信された印刷データに従った印刷の実行を制限する処理であり、具体的には、印刷の実行を許可するのか否かを管理者に問い合わせる処理である。
In S62, the
S70において、CPU32は、S62の制限処理において印刷の実行が許可されたのか否かを判断する。CPU32は、制限処理において印刷の実行が許可された(即ち「印刷OK」)と判断する場合(S70でYES)に、S52に進み、制限処理において印刷の実行が許可されなかった(即ち「印刷NG」)と判断する場合(S70でNO)に、S72に進む。
In S70, the
S72において、CPU32は、印刷データに従った印刷を印刷実行部16に実行させることなく、エラー通知を対象PCに送信する。当該エラー通知は、ウェブページデータに従った印刷の実行が禁止されていることを示すメッセージを含む通知である。
In S72, the
(制限処理;図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
S100において、CPU32は、管理者PCからPINコードを受信したのか否かを判断する。CPU32は、管理者PCからPINコードを受信する場合(S100でYES)に、S102に進み、管理者PCから制限通知を受信する場合(S100でNO)に、S110に進む。PINコードは、管理者によって印刷が許可されることに応じて管理者PCから送信される情報であり、制限通知は、管理者によって印刷が許可されなかったことに応じて管理者PCから送信される情報である。
At S100, the
S102において、CPU32は、PINコードの入力欄を含む入力画面を表わすための入力画面データを対象PCに送信する。なお、変形例では、CPU32は、PINコードの入力欄を含む入力画面を表示部14に表示させてもよい。
In S102,
S104において、CPU32は、対象PCから、PINコードを受信したのか否かを判断する。CPU32は、対象PCからPINコードが受信される場合(S104でYES)に、S106に進む。一方、CPU32は、入力画面データを送信してから、PINコードが受信されることなく、所定時間が経過する場合に、S104でNOと判断し、S110に進む。
In S104, the
S106において、CPU32は、S100で受信されたPINコードとS104で受信されたPINコートとが一致するのか否かを判断する。CPU32は、2個のPINコードが一致する場合(S106でYES)に、S108に進み、2個のPINコードが一致しない場合(S106でNO)に、S110に進む。
At S106, the
S108において、CPU32は、印刷の実行が許可された(即ち「印刷OK」)と判断する。S108が終了すると、図3の処理を終了する。
In S108, the
S110において、CPU32は、印刷の実行が許可されなかった(即ち「印刷NG」)と判断する。S110が終了すると、図3の処理を終了する。
In S110, the
(具体的なケース;図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
PC100Aは、T10において、印刷設定画面を表示させるための指示を受け付けると、T12において、ボディ部にユーザID「U1」が記述されている能力情報要求をプリンタ10に送信する。
When the
プリンタ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
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
プリンタ10は、T30において、PC100AからJob検証要求を受信すると(S40)、印刷設定「両面」及び「モノクロ」が、当該ユーザが利用可能な印刷条件(「片面」、「両面」、及び、「モノクロ」)に適合すると判断し、T32において、ステータス「SUCCESS」を含むJob検証応答をPC100Aに送信する(S42)。
When the
PC100Aは、T32において、プリンタ10からJob検証応答を受信すると、当該応答がステータス「SUCCESS」を含むので、プリンタ10による検証が成功したと判断し、T40において、Job生成要求をプリンタ10に送信する。
When the
プリンタ10は、T40において、PC100AからJob生成要求を受信すると(S44)、T42において、ユニークな文字列であるJobID「X1」を生成し、T44において、生成済みのJobID「X1」を含むJob生成応答をPC100Aに送信する(S46)。
When the
PC100Aは、T44において、プリンタ10からJob生成応答を受信すると、当該応答からJobID「X1」を抽出し、PDFデータ「aaa.pdf」を、モノクロ画像を表わす印刷データに変換し、T50において、JobID「X1」と変換済みの印刷データとをプリンタ10に送信する。
When
プリンタ10は、T50において、PC100Aから、JobID「X1」と印刷データとを受信すると(S48)、T30で受信されたJob検証要求内のボディ部に記述されているJob名「aaa.pdf」が拡張子「pdf」を含むと判断し(S50でYES)、T52において、モノクロ画像によって表わされる印刷データの両面印刷を実行する(S52)。
When the
PC100Aは、T60において、JobID「X1」を含むJob状態要求をプリンタ10に送信する。Job状態要求は、当該要求内のJobIDの印刷の状況を確認するIPPコマンドである。PC100Aは、印刷データを送信してから、ステータス「印刷完了」を含むJob状態応答を受信するまでの間、Job状態要求を定期的に送信する。
The
プリンタ10は、T60において、PC100AからJob状態要求を受信すると、JobID「X1」に対応する印刷データの印刷を実行中であるので、T62において、ステータス「印刷中」を含むJob状態応答をPC100Aに送信する。プリンタ10は、T50で受信された印刷データの印刷が完了した後のT70において、PC100AからJob状態要求を受信すると、T72において、ステータス「印刷完了」を含むJob状態応答をPC100Aに送信する。これにより、PC100Aからプリンタ10へのJob状態要求の送信が停止される。
When the
(ケース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
一方、ケース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
(ケース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
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". .
プリンタ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
PC100Dは、ウェブページデータの印刷を許可するための操作を受け付けると、PINコードを生成し、T162において、当該PINコードをPC100Aに送信する。
When
PC100Aは、T162において、PC100Dから、PINコードを受信すると、T164において、PINコードを表示する。これにより、PC100Aのユーザは、PC100Dから送信されるPINコードを知ることができる。T166は、通信対象がプリンタ10である点を除いて、T162と同様である。
Upon receiving the PIN code from
プリンタ10は、T166において、PC100Dから、PINコードを受信すると(S100でYES)、T168において、当該PINコードを記憶し、T170において、入力画面データをPC100Aに送信する(S102)。
When the
PC100Aは、T170において、プリンタ10から入力画面データを受信すると、T172において、入力画面を表示する。そして、PC100Aは、T174において、PINコードの入力を受け付けると、T176において、入力済みのPINコードをプリンタ10に送信する。
Upon receiving the input screen data from the
プリンタ10は、T176において、PC100AからPINコードを受信すると(S104でYES)、T168で記憶されたPINコードと、T176で受信されたPINコードと、が一致すると判断し(S106でYES)、印刷の実行が許可されたと判断すし(S108、S70でYES)、T180において、モノクロ画像によって表わされる印刷データの両面印刷を実行する(S52)。T190、T192は、それぞれ、図4のT70、T72と同様である。
When the
(ケース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
また、プリンタ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
(ケース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
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
プリンタ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
(ケース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
(ケース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
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
(本実施例の効果)
プリンタ10は、対象PCから能力情報要求を受信し(図2のS20でYES)、能力情報要求がユーザIDを含む場合に、メモリ34内の印刷条件テーブル38を利用して、当該ユーザ情報に対応付けられている印刷条件情報を取得する(S22)。そして、プリンタ10は、取得済みの印刷条件情報を含む能力情報応答を端末装置に送信する(S24)。この場合、対象PCを利用するユーザは、プリンタ10が利用可能な印刷条件のうちの一部である、当該ユーザに利用が許可される印刷条件に適合する印刷設定を選択することができる。そして、プリンタ10は、対象PCから選択済みの印刷設定に従った印刷データを受信し(S48)、当該印刷データに従った印刷を実行する(S52)。このように、プリンタ10は、対象PCのユーザに利用が許可されていない印刷条件を含む印刷設定が当該ユーザによって選択されるのを抑制することができる。
(Effect of this embodiment)
The
(対応関係)
PC100A、100Bが、「端末装置」の一例である。能力情報要求内のボディ部に記述されているユーザIDが、「ユーザ情報」の一例である。PC100Aのユーザ及びPC100Bのユーザが、「特定のユーザ」の一例である。印刷条件「両面」、「片面」、「モノクロ」、及び、「カラー」が、「プリンタが利用可能な印刷条件」の一例である。印刷条件「両面」と「片面」と「モノクロ」とを示す印刷条件情報、及び、印刷条件「「片面」と「モノクロ」と「カラー」とを示す印刷条件情報が、「特定の印刷条件情報」の一例である。拡張子が、「所定のデータ形式」の一例である。
(correspondence relationship)
The
図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
(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
S220において、CPU32は、メモリ34内の全ての印刷条件情報が同じであるのか否かを判断する。CPU32は、印刷条件「両面」に対応する全ての許可情報が「OK」又は「NG」であり、かつ、印刷条件「カラー」に対応する全ての許可情報が「OK」又は「NG」である場合に、印刷条件情報が同じであると判断し(S220でYES)、S222、S224の処理をスキップして、S226に進む。一方、CPU32は、印刷条件テーブル38内の1個の印刷条件の許可情報でも異なる場合に、全ての印刷条件情報が同じでないと判断し(S220でNO)、S222に進む。
At S220, the
S222において、CPU32は、S210で受信した能力情報要求内のヘッダ部に、ユーザ情報(即ちユーザID及びパスワード)が記述されているのか否かを判断する。CPU32は、ヘッダ部にユーザ情報が記述されている場合(S222でYES)に、S224に進み、ヘッダ部にユーザ情報が記述されていない場合(S222でNO)に、S230に進む。
At S222, the
S224において、CPU32は、能力情報要求内のヘッダ部に記述されているユーザ情報を利用したユーザ認証を実行する。具体的には、CPU32は、ヘッダ部に記述されているユーザ情報と一致するユーザ情報が印刷条件テーブル38に登録されているのか否かを判断する。CPU32は、ヘッダ部内のユーザ情報と一致するユーザ情報が印刷条件テーブル38に登録されている場合に、ユーザ認証が成功したと判断し(S224でYES)、S226に進み、ヘッダ部に記述されているユーザ情報と一致するユーザ情報が印刷条件テーブル38に登録されていない場合に、ユーザ認証が失敗したと判断し(S224でNO)、S230に進む。
At S224, the
S230において、CPU32は、ユーザ情報要求を能力情報要求の送信元のPCに送信する。ユーザ情報要求は、ユーザ情報の送信を要求するための信号であり、ユーザ情報入力画面データを含む。これにより、対象PCには、ユーザ情報入力画面D4が表示される。図11(D)に示されるように、画面D4は、ユーザ情報の入力を促すメッセージと、ユーザ名入力欄と、パスワード入力欄と、OKボタンと、キャンセルボタンと、を含む。従って、対象PCのユーザは、対象PCにIPPコマンドのHTTPのヘッダ部に記述されるべきユーザID及びパスワードが設定されていない状況であっても、各入力欄にユーザID及びパスワードを入力することで、対象PCに、ヘッダ部にユーザID及びパスワードが記述されている能力情報要求を送信させることができる。
In S230, the
また、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
(具体的なケース;図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
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
PC100Aは、T420において、OKボタンの操作を受け付けると、T430において、Job検証要求をプリンタ10に送信する。Job検証要求において、ヘッダ部には、ユーザID「U1」及びパスワード「P1」が記述されており、ボディ部には、ユーザID「U1」と、印刷設定情報(「両面」及び「モノクロ」)と、Job名「aaa.pdf」と、が記述されている。
When the
プリンタ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
(ケース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
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
PC100Aは、T520において、OKボタンの操作を受け付けると、T530において、Job検証要求をプリンタ10に送信する。Job検証要求において、ヘッダ部には、ユーザ情報が記述されておらず、ボディ部には、ユーザID「U1」と、印刷設定情報(「両面」及び「モノクロ」)と、Job名「aaa.pdf」と、が記述されている。
When the
プリンタ10は、T530において、PC100AからJob検証要求を受信すると(S240)、Job検証要求内のヘッダ部にユーザ情報が記述されていないと判断し(S242でNO)、T532において、ユーザ入力画面データを含むユーザ情報要求をPC100Aに送信する。
When the
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
プリンタ10は、T540において、PC100AからJob検証要求を受信すると(S240)、Job検証要求内のヘッダ部にユーザ情報が記述されていると判断する(S242でYES)。T541、T542は、それぞれ、図9のT431、T432と同様である。その後、PC100Aとプリンタ10との間で図4のT40~T72と同様の処理が実行される。
When the
(ケース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)
また、プリンタ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
(本実施例の効果)
第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
(変形例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
(変形例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
(変形例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
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
以下は、出願時の特許請求の範囲に対応する記載である。
(項目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 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 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
(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 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
(Item 8)
A printer according to any one of
(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~3のいずれか一項に記載のプリンタ。 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 .
前記プリンタは、
印刷実行部と、
複数のユーザのそれぞれについて、当該ユーザを識別するユーザ情報と、当該ユーザに利用が許可される印刷条件を示す印刷条件情報と、を対応付けて記憶するメモリと、
コンピュータと、を備え、
前記コンピュータプログラムは、前記コンピュータを、
端末装置から、所定の通信プロトコルに従った能力情報要求を受信する要求受信部であって、前記能力情報要求は、前記プリンタが利用可能な印刷条件の送信を要求するためのコマンドである、前記要求受信部と、
前記能力情報要求が特定のユーザを識別する特定のユーザ情報を含む場合に、前記メモリから、前記特定のユーザ情報に対応付けられている特定の印刷条件情報であって、前記プリンタが利用可能な印刷条件のうちの一部である特定の印刷条件を示す前記特定の印刷条件情報を取得する取得部と、
取得済みの前記特定の印刷条件情報を含む能力情報応答を前記端末装置に送信する応答送信部と、
前記能力情報応答が前記端末装置に送信された後に、前記特定の印刷条件情報によって示される前記特定の印刷条件に適合する印刷設定が前記特定のユーザによって選択される場合に、前記端末装置から選択済みの前記印刷設定に従った特定の印刷データを受信する印刷データ受信部と、
前記特定の印刷データに従った印刷を前記印刷実行部に実行させる印刷制御部と、
として機能させ、
前記能力情報要求は、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 .
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)
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 |
-
2018
- 2018-10-09 JP JP2018191218A patent/JP7151355B2/en active Active
Patent Citations (5)
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 |