JP7171227B2 - Information processing device, its control method and application - Google Patents

Information processing device, its control method and application Download PDF

Info

Publication number
JP7171227B2
JP7171227B2 JP2018089182A JP2018089182A JP7171227B2 JP 7171227 B2 JP7171227 B2 JP 7171227B2 JP 2018089182 A JP2018089182 A JP 2018089182A JP 2018089182 A JP2018089182 A JP 2018089182A JP 7171227 B2 JP7171227 B2 JP 7171227B2
Authority
JP
Japan
Prior art keywords
application
background
display
print
setting
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
JP2018089182A
Other languages
Japanese (ja)
Other versions
JP2019197250A5 (en
JP2019197250A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018089182A priority Critical patent/JP7171227B2/en
Publication of JP2019197250A publication Critical patent/JP2019197250A/en
Publication of JP2019197250A5 publication Critical patent/JP2019197250A5/en
Application granted granted Critical
Publication of JP7171227B2 publication Critical patent/JP7171227B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理装置、その制御方法およびアプリケーションに関する。 The present invention relates to an information processing device, its control method and application .

画像形成装置の制御用ソフトウェアとして、ホストコンピューターにインストールされたプリンタドライバを利用し、ホストコンピューターに接続された画像形成装置に対して印刷を行う構成が知られている。ホストコンピューターには、基本ソフトウェアであるオペレーティングシステム(以下、OSと呼ぶ)がインストールされており、プリンタドライバはそのOSの規定する仕様に従って構成される。画像形成装置を提供するベンダーは、OSの仕様に適合するプリンタドライバを提供することにより、画像形成装置に対して印刷指示する手段を得ることができる。 2. Description of the Related Art A configuration is known in which a printer driver installed in a host computer is used as software for controlling an image forming apparatus, and printing is performed on an image forming apparatus connected to the host computer. An operating system (OS), which is basic software, is installed in the host computer, and the printer driver is configured according to the specifications defined by the OS. Vendors who provide image forming apparatuses can obtain means for instructing printing to the image forming apparatus by providing a printer driver that conforms to the specifications of the OS.

ホストコンピューターのOSとしてMicrosoft(登録商標)のWindows(登録商標)8以降のバージョンを利用する場合、プリンタドライバは、V4プリンタドライバと呼ばれる新しいアーキテクチャで構成される。V4プリンタドライバのアーキテクチャでは、セキュリティ性が重視されているため、プリンタドライバそのもののカスタマイズ性は低下している。カスタマイズ性の低下を補うため、画像形成装置を提供するベンダーは、プリンタドライバの機能を補助するための専用のアプリケーションを提供することができる。このアプリケーションはWindows Store Device Apps(WSDA)と呼ばれる。 When using Microsoft (registered trademark) Windows (registered trademark) 8 or later versions as the OS of the host computer, the printer driver is configured with a new architecture called a V4 printer driver. In the architecture of the V4 printer driver, security is emphasized, so the customizability of the printer driver itself is reduced. In order to compensate for the loss of customizability, image forming device vendors can provide dedicated applications for assisting the functions of printer drivers. This application is called Windows Store Device Apps (WSDA).

また、Windows(登録商標)10以降においては、Universal Windows Platform (UWP)と呼ばれる新しい形式のプラットフォームでアプリケーションが作成できる。そのアプリケーションは、UWP Device Appsと呼ばれる。UWP Device AppsはWSDAの機能を拡張し、Workflow(WF)と呼ばれるアプリケーションをWSDAに追加することができる。WSDAのWF機能は、バックグラウンドタスクと呼ばれるUIを持たないスレッドがOSによって生成され、実行される。なお、バックグラウンドタスクは、フォアグラウンドのタスク(UI)を呼び出すことも可能である。 In Windows (registered trademark) 10 and later, applications can be created on a new format platform called Universal Windows Platform (UWP). The applications are called UWP Device Apps. UWP Device Apps extend the functionality of WSDA and allow applications called Workflows (WF) to be added to WSDA. The WSDA WF function is executed by the OS generating a thread called a background task that does not have a UI. A background task can also call a foreground task (UI).

特許文献1は、クライアントコンピュータで入力されたパスワードを付加した印刷データをプリンタに送信すると一旦プリンタで溜め置かれ、プリンタで同じパスワードを入力した場合にのみ、印刷データが印刷可能となるセキュアプリント機能を開示している。V3プリンタドライバでは、プリンタドライバが印刷時にセキュアプリントのパスワードを入力するポップアップUIを表示することが可能である。しかし、V4プリンタドライバはOSが提供するフレームワークが主体となって制御を行うため印刷時にポップアップUIを表示することができない。そのため、V4プリンタドライバにおいては、WSDAのWF機能を用いてセキュアプリントなどの印刷時にポップアップUIの表示を実現することが考えられる。 Japanese Patent Laid-Open No. 2002-200013 discloses a secure print function that allows print data to be stored in the printer once it is sent to a printer with a password entered in a client computer, and can be printed only when the same password is entered in the printer. is disclosed. The V3 printer driver can display a pop-up UI for entering a password for secure printing when the printer driver prints. However, since the V4 printer driver is controlled mainly by the framework provided by the OS, the pop-up UI cannot be displayed during printing. Therefore, in the V4 printer driver, it is conceivable to use the WF function of WSDA to display a pop-up UI at the time of printing such as secure printing.

特開2001-318779号公報JP-A-2001-318779

しかしながら、WSDAのWF機能はバックグラウンドタスクで実行されるため、OSの設定でバックグラウンドタスクの実行が許可されていないとWF機能を実行できず、印刷時にポップアップUIを表示できない恐れがある。 However, since the WSDA WF function is executed as a background task, the WF function cannot be executed unless the background task execution is permitted in the OS settings, and there is a risk that the pop-up UI cannot be displayed during printing.

本発明は、プリンタドライバに紐づいたアプリケーションのバックグラウンドでの実行が許可されていない場合に、ユーザの利便性を向上させる情報処理装置を提供することを目的とする。 SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing apparatus that improves user convenience when background execution of an application linked to a printer driver is not permitted.

上記課題を解決するために、本発明の情報処理装置は、プリンタドライバと紐づくアプリケーションを含む情報処理装置であって、前記アプリケーションをバックグラウンドで実行することの可否を判定する判定手段と、前記判定手段が前記アプリケーションをバックグラウンドで実行することが許可されていないと判定した場合に、前記アプリケーションをバックグラウンドで実行することに関する通知をする通知手段と、前記通知に対するユーザ操作を受け付けたことに従って、前記アプリケーションをバックグラウンドで実行することに関する設定画面を表示手段に表示させる表示制御手段と、を備える。 In order to solve the above problems, an information processing apparatus according to the present invention includes an application associated with a printer driver, and includes determination means for determining whether or not the application can be executed in the background ; notification means for notifying execution of the application in the background when the determination means determines that execution of the application in the background is not permitted; and receiving a user operation in response to the notification. a display control means for causing a display means to display a setting screen regarding execution of the application in the background according to the above .

本発明によれば、プリンタドライバに紐づいたアプリケーションのバックグラウンドでの実行が許可されていない場合に、ユーザの利便性を向上させる情報処理装置を提供することができる。 According to the present invention, it is possible to provide an information processing apparatus that improves user convenience when background execution of an application linked to a printer driver is not permitted.

印刷システムのネットワークの構成を示す図である。1 is a diagram showing a network configuration of a printing system; FIG. クライアントのハードウェア構成を示す図である。FIG. 2 is a diagram showing the hardware configuration of a client; FIG. OSのソフトウェア構成を示す図である。3 is a diagram showing the software configuration of an OS; FIG. 印刷処理を説明する図である。4A and 4B are diagrams for explaining print processing; FIG. デバイスアプリのUIの例を説明する図である。FIG. 10 is a diagram illustrating an example of a UI of a device application; 設定画面およびデバイスアプリのUIの例を説明する図である。4A and 4B are diagrams illustrating an example of a setting screen and a UI of a device application; FIG. デバイスIDとの関係を説明する図である。It is a figure explaining the relationship with device ID. デバイスアプリの起動処理を示すフローチャートである。10 is a flowchart showing activation processing of a device application; メッセージの例を示す図である。FIG. 4 is a diagram showing an example of a message; メッセージの表示処理を示すフローチャートである。10 is a flowchart showing message display processing; デバイスアプリの起動処理を示すフローチャートである。10 is a flowchart showing activation processing of a device application; 印刷設定画面の一例を示す図である。FIG. 10 is a diagram showing an example of a print setting screen; FIG.

(第1実施形態)
図1は、印刷システムのネットワーク構成を示す図である。印刷システムは、クライアントコンピュータ(以下、クライアントという)100、プリンタ200およびネットワーク300を備える。クライアント100は、例えば、OSとしてMicrosoft(登録商標)のWindows(登録商標)10を搭載した情報処理装置である。Windows(登録商標)10を搭載したクライアント100にインストールされているプリンタドライバは、V4プリンタドライバである。プリンタ200は、ページ記述言語(以下、PDLと表記する)形式の印刷データを受信し、印刷を行なう。プリンタ200は印刷機能のみを備えるシングルファンクションプリンタ(SFP)でも、印刷機能、スキャン機能および複写機能を備えるマルチファンクションプリンタ(MFP)でも構わない。ネットワーク300は、例えば、ローカル・エリア・ネットワーク(LAN)であり、クライアント100とプリンタ200を接続する。
(First embodiment)
FIG. 1 is a diagram showing the network configuration of a printing system. The printing system includes a client computer (hereinafter referred to as client) 100 , printer 200 and network 300 . The client 100 is, for example, an information processing apparatus equipped with Microsoft (registered trademark) Windows (registered trademark) 10 as an OS. The printer driver installed in the client 100 running Windows (registered trademark) 10 is the V4 printer driver. The printer 200 receives print data in a page description language (hereinafter referred to as PDL) format and performs printing. Printer 200 may be a single-function printer (SFP) with only printing capabilities, or a multi-function printer (MFP) with printing, scanning, and copying capabilities. Network 300 is, for example, a local area network (LAN), and connects client 100 and printer 200 .

図2は、クライアント100のハードウェア構成を示すブロック図である。クライアント100は、CPU(Central Processing Unit)101、主記憶装置102、入力I/F103、出力I/F104、補助記憶装置105および通信I/F106を備え、これらはシステムバス107を介して接続されている。さらに、クライアント100は、キーボード108、ポインティングデバイス109およびモニタ110を備える。 FIG. 2 is a block diagram showing the hardware configuration of the client 100. As shown in FIG. The client 100 comprises a CPU (Central Processing Unit) 101, a main storage device 102, an input I/F 103, an output I/F 104, an auxiliary storage device 105 and a communication I/F 106, which are connected via a system bus 107. there is Further, client 100 includes keyboard 108 , pointing device 109 and monitor 110 .

CPU101は、主記憶装置102のROM(Read Only Memory)1021あるいは補助記憶装置105に格納されたプログラムに従って、クライアント100全体の制御を行う。主記憶装置102は、ROM1021およびRAM(Random Access Memory)1022を備える。ROM1021は、各種プログラムを記憶している。RAM1022はCPU101が各種処理を行う際のワークエリアとして使用される。 The CPU 101 controls the entire client 100 according to programs stored in a ROM (Read Only Memory) 1021 of the main memory 102 or the auxiliary memory 105 . The main storage device 102 includes a ROM 1021 and a RAM (Random Access Memory) 1022 . The ROM 1021 stores various programs. A RAM 1022 is used as a work area when the CPU 101 performs various processes.

補助記憶装置105は、アプリケーション(以下アプリという)1051、デバイスアプリケーション(以下、デバイスアプリという)1052、プリンタドライバ1053およびオペレーティングシステム(以下、OSという)1054を記憶している。アプリ1051、デバイスアプリ1052およびプリンタドライバ1053は、不図示のCD-ROMやUSBメモリあるいはネットワーク300を経由して補助記憶装置105に追加することが可能である。 The auxiliary storage device 105 stores an application (hereinafter referred to as application) 1051 , a device application (hereinafter referred to as device application) 1052 , a printer driver 1053 and an operating system (hereinafter referred to as OS) 1054 . The application 1051 , device application 1052 and printer driver 1053 can be added to the auxiliary storage device 105 via a CD-ROM (not shown), USB memory, or network 300 .

アプリ1051は、例えば、Microsoft Word(商標登録)やMicrosoft Excel(商標登録)など、印刷設定も行うことのできるアプリケーションである。デバイスアプリ1052は、プリンタドライバ1053に紐づいた印刷用のアプリケーションである。プリンタドライバ1053は、印刷機能を持つデバイスに対して、印刷指示を行うことができる。OS1054は、例えば、Windows(商標登録)などのコンピュータ全体を制御するオペレーティングシステムである。アプリ1051、デバイスアプリ1052、プリンタドライバ1053およびOS1054に係るプログラムは、補助記憶装置105に記憶されており、RAM1022にロードされ、CPU101によって実行される。アプリ1051、デバイスアプリ1052およびプリンタドライバ1053は、OS1054上で動作している。本実施形態におけるプリンタドライバ1053は、V4プリンタドライバである。 The application 1051 is an application such as Microsoft Word (registered trademark) or Microsoft Excel (registered trademark) that can also perform print settings. The device application 1052 is a printing application linked to the printer driver 1053 . A printer driver 1053 can issue a print instruction to a device having a print function. The OS 1054 is an operating system such as Windows (registered trademark) that controls the entire computer. Programs related to the application 1051 , the device application 1052 , the printer driver 1053 and the OS 1054 are stored in the auxiliary storage device 105 , loaded into the RAM 1022 and executed by the CPU 101 . An application 1051 , a device application 1052 and a printer driver 1053 are running on the OS 1054 . The printer driver 1053 in this embodiment is a V4 printer driver.

入力I/F103は、クライアント100に対するユーザからの指示を、キーボード108やマウス・タッチパネルなどに代表されるポインティングデバイス109などの入力機器を介して受け付けるインターフェースである。出力I/F104は、データを外部に出力するためのインターフェースであり、モニタ110などの出力機器に対してデータを出力する。通信I/F106は、ネットワーク300に接続され、プリンタ200などの外部装置と通信する。 The input I/F 103 is an interface that receives instructions from the user to the client 100 via input devices such as a keyboard 108 and a pointing device 109 typified by a mouse/touch panel. The output I/F 104 is an interface for outputting data to the outside, and outputs data to an output device such as the monitor 110 . Communication I/F 106 is connected to network 300 and communicates with an external device such as printer 200 .

図3は、OS1054の印刷処理に関するソフトウェア構成を示す図である。OS1054上では、プリンタドライバ1053、プリンタキュー1055、デバイス管理システム1056およびデバイスアプリ1052が動作する。プリンタドライバ1053およびプリンタキュー1055は、接続されるプリンタ200に対応するデバイスIDを保持している。 FIG. 3 is a diagram showing a software configuration related to print processing of the OS 1054. As shown in FIG. A printer driver 1053 , a printer queue 1055 , a device management system 1056 and a device application 1052 operate on the OS 1054 . The printer driver 1053 and printer queue 1055 hold device IDs corresponding to the connected printers 200 .

デバイス管理制御用ファイル1058には、デバイスIDとデバイス管理システム1056とデバイスアプリ1052との関連付けが記述されている。デバイス管理システム1056とデバイスアプリ1052との関連付けについては、表1および図7を用いてその詳細を後述する。なお、デバイス管理制御用ファイル1058は、機種ごとにファイルを作成してもよいし、全機種を一つのファイルで作成してもよい。OS1054は、デバイス管理制御用ファイル1058を参照することにより、プリンタドライバ1053、プリンタキュー1055、デバイス管理システム1056およびデバイスアプリ1052がどのように関連付けられているか判断する。 The device management control file 1058 describes the association between the device ID, the device management system 1056 and the device application 1052 . Details of the association between the device management system 1056 and the device application 1052 will be described later using Table 1 and FIG. Note that the device management control file 1058 may be created for each model, or one file may be created for all models. The OS 1054 refers to the device management control file 1058 to determine how the printer driver 1053, printer queue 1055, device management system 1056, and device application 1052 are associated.

図4は、クライアント100における印刷処理を説明する図である。クライアント100における印刷処理は、プリンタドライバ1053を利用するドライバ印刷システムで実行される。ドライバ印刷システムは、OS1054上で動作している。本実施形態のプリンタドライバ1053は、Windows(登録商標)のオペレーティングシステム上で動作するversion4のプリンタドライバ(V4プリンタドライバ)である。V4プリンタドライバを利用した印刷処理では、XML Paper Specification(以下、XPSとする)と呼ばれるファイルフォーマットをスプールデータとして使用し、印刷を行う。 FIG. 4 is a diagram for explaining print processing in the client 100. As shown in FIG. Print processing in the client 100 is executed by a driver printing system using the printer driver 1053 . The driver printing system is running on OS1054. The printer driver 1053 of this embodiment is a version 4 printer driver (V4 printer driver) that operates on the Windows (registered trademark) operating system. In print processing using the V4 printer driver, printing is performed using a file format called XML Paper Specification (hereinafter referred to as XPS) as spool data.

プリントマネージャ(スプーラ)218、ポートモニタ219、GDItoXPS変換モジュール207、コンフィギュレーションモジュール208およびフィルタパイプラインマネージャ212は、OS1054に含まれるモジュールである。このうち、GDItoXPS変換モジュール207、コンフィギュレーションモジュール208およびフィルタパイプラインマネージャ212は、OS1054から提供されているプリンタドライバ1053専用のモジュールという位置づけである。 The print manager (spooler) 218 , port monitor 219 , GDItoXPS conversion module 207 , configuration module 208 and filter pipeline manager 212 are modules included in OS 1054 . Among these, the GDItoXPS conversion module 207 , configuration module 208 and filter pipeline manager 212 are positioned as modules dedicated to the printer driver 1053 provided by the OS 1054 .

GDI(Graphics Device Interface)とは、プリンタの印刷イメージの生成を行うグラフィックスコンポーネントである。GDItoXPS変換モジュール207は、GDIで描画されたデータをXPSデータへ変換する機能を持つ。フィルタパイプラインマネージャ212は、XPS印刷パスの特徴であるフィルタ印刷処理の管理を行うモジュールである。プリンタドライバ1053はXPS印刷パスにより、XPSファイル形式のまま受信したファイルをページ記述言語などに置き換えてプリンタ200に出力することができる。ポートモニタ219は、デバイスにアクセスするプリントマネージャ218とドライバ間で通信を制御することができ、プリンタドライバ1053はポートモニタ219を経由して印刷処理を行う。また、プリントマネージャ218はポートモニタ219を通して、プリンタ200と通信しAutoConfigを行う。 GDI (Graphics Device Interface) is a graphics component that generates a print image for a printer. The GDI to XPS conversion module 207 has a function of converting GDI rendered data into XPS data. The filter pipeline manager 212 is a module that manages filter print processing, which is a feature of the XPS print path. The printer driver 1053 can output the file received in the XPS file format to the printer 200 by replacing it with a page description language or the like using the XPS print path. The port monitor 219 can control communication between the print manager 218 accessing the device and the driver, and the printer driver 1053 performs print processing via the port monitor 219 . Also, the print manager 218 communicates with the printer 200 through the port monitor 219 to perform AutoConfig.

プリンタドライバ1053は、GDItoXPS変換モジュール207、コンフィギュレーションモジュール208およびフィルタパイプラインマネージャ212を含む。コンフィギュレーションモジュール208は、プリンタドライバ1053が提供する印刷設定編集モジュール2081を使用して印刷設定情報を編集する。印刷設定編集モジュール2081は、JavaScript(登録商標)と呼ばれるスクリプト言語で記載され、プリンタドライバ1053が提供するプロパティバッグ2061を利用して印刷設定情報を編集する。 Printer driver 1053 includes GDI to XPS conversion module 207 , configuration module 208 and filter pipeline manager 212 . The configuration module 208 edits print setting information using a print setting editing module 2081 provided by the printer driver 1053 . The print setting editing module 2081 is written in a script language called JavaScript (registered trademark), and uses the property bag 2061 provided by the printer driver 1053 to edit print setting information.

プロパティバッグ2061は、DriverPropertyBag2062およびQueuePropertyBag2063を有する。DriverPropertyBag2062は、ドライバパッケージ内に存在するプリンタの機種依存情報であり、プリンタドライバインストール後にOS1054内の特定の領域に読み取り専用のデータ群として保持される。QueuePropertyBag2063は、プリントキューに紐づいたデータ群である。QueuePropertyBag2063は、Key-Valueペアのxml定義ファイルをOS1054に登録することで利用することが可能であり、Valueに関して一定の権限上で編集が可能である。なお、印刷設定定義ファイルであるGPDにもQueuePropertyBag2063の定義を記載することができる。 Property bag 2061 has DriverPropertyBag 2062 and QueuePropertyBag 2063 . A DriverPropertyBag 2062 is printer model-dependent information that exists in the driver package, and is held as a read-only data group in a specific area in the OS 1054 after the printer driver is installed. A QueuePropertyBag 2063 is a data group associated with a print queue. The QueuePropertyBag 2063 can be used by registering the xml definition file of the Key-Value pair in the OS 1054, and the Value can be edited with a certain authority. Note that the definition of the QueuePropertyBag 2063 can also be described in the GPD, which is the print setting definition file.

プリンタドライバ1053は、フィルタパイプラインマネージャ212を有する。フィルタパイプラインマネージャ212は、通信フィルタ213、レイアウトフィルタ214およびレンダラフィルタ215を含む。通信フィルタ213、レイアウトフィルタ214およびレンダラフィルタ215は、補助記憶装置105にプリンタドライバ1053として格納されている。 Printer driver 1053 has a filter pipeline manager 212 . Filter pipeline manager 212 includes communication filter 213 , layout filter 214 and renderer filter 215 . The communication filter 213 , layout filter 214 and renderer filter 215 are stored as a printer driver 1053 in the auxiliary storage device 105 .

アプリ1051は、デスクトップアプリ201およびUWPアプリ202を有する。ユーザは、キーボード108やタッチパネル/マウスなどに代表されるポインティングデバイス109などといった入力装置を使用して、出力装置のモニタ110に映し出されるデスクトップアプリ201もしくはUWPアプリ202から印刷処理を実行する。印刷処理はプリンタの選択、印刷設定の作成、描画データの変換という3つの処理を順番に行うことで実行される。 Application 1051 has desktop application 201 and UWP application 202 . A user executes print processing from a desktop application 201 or UWP application 202 displayed on a monitor 110 of an output device using an input device such as a keyboard 108 or a pointing device 109 typified by a touch panel/mouse. The printing process is executed by sequentially performing three processes of selecting a printer, creating print settings, and converting drawing data.

印刷処理の流れについてプリンタの選択、印刷設定の作成、描画データの変換の順に説明する。印刷を行う際、まず印刷したいプリンタ200の選択を行う。プリンタ200の選択は、印刷を実行するプリンタ200に対応したプリンタドライバ1053を選択することと同義である。プリンタドライバ1053の選択には、例えば、不図示のプリントキューを利用する。 The flow of print processing will be described in the order of printer selection, creation of print settings, and drawing data conversion. When performing printing, first, the printer 200 to be used for printing is selected. Selecting the printer 200 is synonymous with selecting the printer driver 1053 corresponding to the printer 200 that executes printing. For example, a print queue (not shown) is used to select the printer driver 1053 .

次に、印刷設定を作成する。印刷設定を作成するために、アプリ1051は、まず、印刷設定用のメモリ領域をRAM1022に確保する。そして、アプリ1051は、プリンタドライバ1053のコンフィギュレーションモジュール208を呼び出して、印刷設定データを作成して格納する。印刷設定データは、印刷処理に関する各機能の設定値等を含むデータであり、印刷処理に利用される。印刷設定データには、例えば、出力する用紙サイズの情報(例えば「A4」)、両面印刷の指定、カラーと白黒、給紙段の指定等の印刷に必要な設定値が含まれる。 Next, create the print settings. To create print settings, the application 1051 first secures a memory area for print settings in the RAM 1022 . The application 1051 then calls the configuration module 208 of the printer driver 1053 to create and store print setting data. The print setting data is data including setting values for each function related to print processing, and is used for print processing. The print setting data includes setting values necessary for printing, such as information on the paper size to be output (for example, "A4"), specification of double-sided printing, color/black-and-white, specification of paper feed stage, and the like.

デスクトップアプリ201は、印刷設定データとしてバイナリのDEVMODE203を用いる。UWPアプリ202は、印刷設定データとしてマークアップ言語のXML(eXtensive Markup Language)で記載されたPrintTicket204を用いる。DEVMODE203は、OS1054が定義する標準領域とプリンタドライバ1053が独自で定義する拡張領域とを含む。PrintTicket204は、XML形式で記述された印刷設定データである。PrintTicket204では、名前空間によって標準領域と拡張領域との記載が分かれている。 The desktop application 201 uses binary DEVMODE 203 as print setting data. The UWP application 202 uses a PrintTicket 204 described in a markup language XML (eXtensive Markup Language) as print setting data. DEVMODE 203 includes a standard area defined by the OS 1054 and an extended area independently defined by the printer driver 1053 . The PrintTicket 204 is print setting data described in XML format. In the PrintTicket 204, descriptions of the standard area and the extension area are divided according to the namespace.

アプリ1051は、DEVMODE203もしくはPrintTicket204の内容を書き換えることで、印刷設定を変更する。印刷設定データがDEVMODE203で表されている場合、印刷設定データの標準領域は、仕様が外部に公開されている。そのため、デスクトップアプリ201は、直接、印刷設定データの標準領域の内容を変更する。印刷設定データのプリンタ200に依存する拡張領域は、プリンタドライバ1053に詳細な仕様が把握されている。そのため、プリンタドライバ1053は、ユーザインターフェースを介したユーザの操作に基づいて、印刷設定データの拡張領域の内容を変更する。 The application 1051 changes the print settings by rewriting the contents of the DEVMODE 203 or PrintTicket 204 . When the print setting data is represented by the DEVMODE 203, the specifications of the standard area of the print setting data are open to the public. Therefore, the desktop application 201 directly changes the contents of the standard area of the print setting data. The printer driver 1053 grasps the detailed specifications of the extended area of the print setting data that depends on the printer 200 . Therefore, the printer driver 1053 changes the content of the extended area of the print setting data based on the user's operation via the user interface.

印刷設定データがPrintTicket204で表されている場合、設定値がXML形式で記述されているので、UWPアプリ202は、全ての設定値を直接変更することができる。しかし、印刷設定データの拡張領域は、プリンタドライバ1053ごとの独自定義であり、プリンタ200によって仕様が異なるため、UWPアプリ202は拡張領域の詳細な仕様までは把握していない。そのため、プリンタドライバ1053は、ユーザインターフェースを介したユーザの操作に基づいて、印刷設定データの拡張領域の設定値を変更する。また、UWPアプリ202がデバイスアプリ1052のユーザインターフェースである拡張印刷設定部10522を使って設定変更してもかまわない。 When the print setting data is represented by the PrintTicket 204, the setting values are described in XML format, so the UWP application 202 can directly change all the setting values. However, the extension area of the print setting data is uniquely defined for each printer driver 1053, and the specifications differ depending on the printer 200. Therefore, the UWP application 202 does not know the detailed specifications of the extension area. Therefore, the printer driver 1053 changes the setting value of the extended area of the print setting data based on the user's operation via the user interface. Alternatively, the UWP application 202 may change settings using the extended print setting section 10522 that is the user interface of the device application 1052 .

印刷設定データにはプリンタ200の機種固有の情報も含まれているので、コンフィギュレーションモジュール208は、機種依存ファイル209を利用して、印刷設定データを作成する。機種依存ファイル209は、GPD(Generic Printer Description)と呼ばれる印刷設定定義ファイルを指し、プリンタ200の機種ごとの設定に関する情報(機種依存情報)が定義されている。機種依存ファイル209には、デバイスの能力、デバイスのオプション構成、プリントキューに紐づくQueuePropertyBagの定義、印刷設定データに含まれる各機能の設定値などを記載することができる。 Since the print setting data also includes information specific to the model of the printer 200, the configuration module 208 uses the model dependent file 209 to create the print setting data. The model-dependent file 209 is a print setting definition file called a GPD (Generic Printer Description), and defines information (model-dependent information) regarding settings for each model of the printer 200 . The model-dependent file 209 can describe device capability, device option configuration, definition of QueuePropertyBag linked to a print queue, setting values of each function included in print setting data, and the like.

プリンタ200に依存した専用の設定は、プリンタエクステンション210やデバイスアプリ1052の拡張印刷設定部10522が提供するユーザインターフェースで設定する。拡張印刷設定部10522が提供するユーザインターフェースの一例を図5(A)に示す。図5(A)は、拡張印刷設定部10522が提供する印刷設定画面500の一例を示す図である。印刷設定画面500は、原稿サイズ、用紙サイズ、部数、印刷の向きなどの基本設定の他、カラーモード、両面印刷機能などプリンタ200固有の設定項目も表示する。プリンタドライバ1053は、ユーザインターフェースの設定に従い、DEVMODE203もしくはPrintTicket204のプリンタ200に依存した拡張領域の設定を変更する。 Dedicated settings dependent on the printer 200 are set using a user interface provided by the printer extension 210 or the extended print setting section 10522 of the device application 1052 . An example of a user interface provided by the extended print setting section 10522 is shown in FIG. FIG. 5A shows an example of a print setting screen 500 provided by the extended print setting section 10522. As shown in FIG. The print setting screen 500 displays basic settings such as document size, paper size, number of copies, and print orientation, as well as setting items specific to the printer 200, such as color mode and double-sided printing function. The printer driver 1053 changes the setting of the extension area of the DEVMODE 203 or PrintTicket 204 depending on the printer 200 according to the setting of the user interface.

デバイスアプリ1052は、プリンタ200の機能をプリンタベンダーが拡張するためのアプリケーションであり、プリンタドライバ1053とは別のアプリケーションとしてインストールが行われる。デバイスアプリ1052は、拡張印刷設定部10522の他に、印刷時起動アプリ部10521、タイルアプリ部10523、バックグラウンドタスク判断部10524、メッセージ管理部10525を有する。 The device application 1052 is an application for the printer vendor to extend the functions of the printer 200 and is installed as an application separate from the printer driver 1053 . The device application 1052 includes an extended print setting section 10522 , an application startup application section 10521 when printing, a tile application section 10523 , a background task determination section 10524 , and a message management section 10525 .

印刷時起動アプリ部10521は、印刷時に印刷時起動アプリランチャー221から呼び出されるモジュールであり、プリンタ200の機能の拡張を実現する。印刷時起動アプリ部10521は、印刷のたびにパスワード設定のユーザインターフェースを表示するセキュアプリント機能、印刷直後にプレビューなどのユーザインターフェースを表示する機能、XPSスプールファイル206の編集機能などを有する。印刷時起動アプリ部10521のユーザインターフェースの一例を図5(B)に示す。図5(B)は、印刷時起動アプリ部10521が提供するセキュアプリント機能のパスワード入力画面510の一例を示す図である。パスワード入力画面510は、印刷時にポップアップUIとして表示される。 The printing-time activation application unit 10521 is a module called from the printing-time activation application launcher 221 at the time of printing, and implements expansion of the functions of the printer 200 . The printing start-up application unit 10521 has a secure print function that displays a user interface for setting a password each time printing, a function that displays a user interface such as a preview immediately after printing, an editing function for the XPS spool file 206, and the like. FIG. 5B shows an example of the user interface of the printing start-up application unit 10521 . FIG. 5B is a diagram showing an example of a password input screen 510 for the secure print function provided by the application unit 10521 to be activated when printing. The password input screen 510 is displayed as a pop-up UI when printing.

印刷時起動アプリ部10521は、バックグラウンドタスクの設定が実行可能である場合に起動することができる。バックグラウンドでは、印刷時にOS1054によりバックグラウンドタスクと呼ばれるユーザインターフェースを持たないスレッドが生成され実行される。バックグラウンドタスクの実行可否はOS1054の設定画面で設定することができ、バックグラウンドタスクの設定情報はバックグラウンドタスク設定情報222に格納されている。クライアント100にインストールされているアプリには、ユーザが操作しなくてもバックグラウンドで動作して最新の状態を維持したり、更新情報を受信したりするものがある。一方で、アプリがバックグラウンドで動作することでバッテリーを消耗したりするので、ユーザがバックグラウンドで動作させたくないアプリをオフに設定することができる。 The print-time activation application unit 10521 can be activated when background task settings can be executed. In the background, a thread without a user interface called a background task is generated and executed by the OS 1054 when printing. Whether or not the background task can be executed can be set on the setting screen of the OS 1054 , and background task setting information is stored in the background task setting information 222 . Some applications installed on the client 100 operate in the background to maintain the latest state or receive update information without user's operation. On the other hand, running apps in the background drains the battery, so users can turn off apps they don't want to run in the background.

バックグラウンドタスクの設定画面の一例を図6(A)および図6(B)に示す。図6(A)は、アプリのバックグラウンドでの実行の可否を設定する設定画面600を示す図である。設定画面600には、一括設定601と個別設定602が設定項目として表示されている。一括設定601では、クライアント100にインストールされている全てのアプリに対してバックグラウンドタスクの実行可否を設定できる。個別設定602では、アプリごとにバックグラウンドタスクの実行可否を設定できる。図6(B)は、アプリのバックグラウンドでの実行の可否を設定する設定画面610を示す図である。設定画面610は、ノートPCやタブレットPCなどのバッテリーを搭載したコンピュータで表示することができる。 An example of the background task setting screen is shown in FIGS. 6A and 6B. FIG. 6A is a diagram showing a setting screen 600 for setting permission/prohibition of background execution of the application. A collective setting 601 and an individual setting 602 are displayed as setting items on the setting screen 600 . In the collective setting 601, it is possible to set whether background tasks can be executed for all applications installed on the client 100. FIG. In the individual settings 602, it is possible to set whether background tasks can be executed for each application. FIG. 6B is a diagram showing a setting screen 610 for setting whether or not the application can be executed in the background. The setting screen 610 can be displayed on a battery-equipped computer such as a notebook PC or a tablet PC.

タイルアプリ部10523は、印刷処理とは別にOS1054のスタートメニューなどのアプリケーション一覧から起動されるアプリケーションで、プリンタ200の管理画面やプリンタ200のサポート情報のWebサイトへ誘導する機能などを提供する。タイルアプリ部10523のユーザインターフェースの一例を図6(C)に示す。図6(C)は、タイルアプリ部10523が提供するプリンタ200の管理画面630の一例を示す図である。 A tile application unit 10523 is an application that is activated from an application list such as the start menu of the OS 1054 separately from print processing, and provides functions such as guidance to a management screen of the printer 200 and a website for support information of the printer 200 . An example of the user interface of the tile application unit 10523 is shown in FIG. 6(C). FIG. 6C is a diagram showing an example of the management screen 630 of the printer 200 provided by the tile application section 10523. As shown in FIG.

バックグラウンドタスク判断部10524は、バックグラウンドタスク設定情報222に基づいて、バックグラウンドタスクが実行可能であるか否かを判断する。メッセージ管理部10525は、デバイスアプリ1052が実行されているときにメッセージを表示するための機能を有する。 The background task determination unit 10524 determines whether or not the background task is executable based on the background task setting information 222 . The message management unit 10525 has a function of displaying messages while the device application 1052 is running.

印刷設定が確定したら、ユーザはアプリケーションから印刷処理を実行する。デスクトップアプリ201から印刷する場合は、OS1054のモジュールであるGDItoXPS変換モジュール207に描画データが送られ、XPSスプールファイル206が作成される。この際、GDItoXPS変換モジュール207はコンフィギュレーションモジュール208を呼び出し、印刷設定をDEVMODE203からPrintTicket204に変換する。GDItoXPS変換モジュール207は、印刷設定を変換する際に、コンフィギュレーションモジュール208によって印刷設定編集モジュール2081を使用する。印刷設定編集モジュール2081は、プロパティバッグ2061の情報を読み書きできるので、プリンタドライバ1053が保存したデータを参照して、印刷設定データを変換することもできる。 After confirming the print settings, the user executes print processing from the application. When printing from the desktop application 201, drawing data is sent to the GDI to XPS conversion module 207, which is a module of the OS 1054, and an XPS spool file 206 is created. At this time, the GDItoXPS conversion module 207 calls the configuration module 208 to convert the print settings from DEVMODE 203 to PrintTicket 204 . The GDItoXPS conversion module 207 uses the print setting editing module 2081 by the configuration module 208 when converting print settings. Since the print setting editing module 2081 can read and write the information in the property bag 2061, it can refer to the data saved by the printer driver 1053 and convert the print setting data.

UWPアプリ202から印刷する場合には、XPSスプールファイル206を生成する方法が二通りある。一つは、UWPアプリ202自身がXPSスプールファイル206を生成する方法である。もう一つは、OS1054がUWPアプリ202からの描画命令に応じてXPSスプールファイル206を生成する方法である。どちらの方法であっても、印刷の途中でXPSスプールファイル206が生成される。 There are two ways to generate the XPS spool file 206 when printing from the UWP application 202 . One is a method in which the UWP application 202 itself generates the XPS spool file 206 . The other is a method in which the OS 1054 generates the XPS spool file 206 in response to drawing commands from the UWP application 202 . Either method generates an XPS spool file 206 during printing.

アプリ1051から印刷の指示が行われ、XPSスプールファイル206が生成されると、バックグラウンドタスク判断部10524は、バックグラウンドタスク設定情報222を参照し、バックグラウンドでの処理が実行可能か否か判定する。バックグラウンドでの処理が実行可能である場合、OS1054は、印刷時起動アプリランチャー221を介して、印刷時起動アプリ部10521を起動する。印刷時起動アプリ部10521における処理が終了すると、プリントフィルタパイプライン211に処理が渡される。 When the application 1051 issues a print instruction and the XPS spool file 206 is generated, the background task determination unit 10524 refers to the background task setting information 222 and determines whether background processing can be executed. do. If background processing is executable, the OS 1054 activates the application start-up application unit 10521 via the application launcher 221 start-up when printing. When the processing in the application unit 10521 to be activated when printing ends, the processing is transferred to the print filter pipeline 211 .

プリントフィルタパイプライン211は、生成されたXPSスプールファイル206を取得し、複数のフィルタの処理を実行する。プリントフィルタパイプライン211に含まれるフィルタは、プリンタドライバ1053の構成によって、数や種類が異なる。本実施形態のプリントフィルタパイプライン211は、例えば、通信フィルタ213、レイアウトフィルタ214およびレンダラフィルタ215の処理を行う。 The print filter pipeline 211 takes the generated XPS spool file 206 and performs the processing of multiple filters. The number and types of filters included in the print filter pipeline 211 differ depending on the configuration of the printer driver 1053 . The print filter pipeline 211 of this embodiment performs, for example, a communication filter 213, a layout filter 214, and a renderer filter 215. FIG.

フィルタコンフィギュレーションファイル216は、プリントフィルタパイプライン211に含まれるフィルタの数や処理を行うフィルタの順番を制御する。フィルタパイプラインマネージャ212は、フィルタコンフィギュレーションファイル216に従って、通信フィルタ213、レイアウトフィルタ214、レンダラフィルタ215の順に、それぞれのフィルタに処理を実行させる。 Filter configuration file 216 controls the number of filters included in print filter pipeline 211 and the order in which the filters are processed. The filter pipeline manager 212 causes each filter to perform processing in the order of the communication filter 213, the layout filter 214, and the renderer filter 215 according to the filter configuration file 216. FIG.

通信フィルタ213は、プリンタ200と通信する機構を持つ。レイアウトフィルタ214は、製本印刷やスタンプ、ページ集約などのレイアウトに関する処理を行う。レンダラフィルタ215は、XPSスプールファイル206をレンダリングしてPDLに変換する。PDLとはPageDescriptionLanguage(ページ記述言語)の略称である。 Communication filter 213 has a mechanism for communicating with printer 200 . A layout filter 214 performs layout-related processing such as bookbinding printing, stamping, and page aggregation. A renderer filter 215 renders the XPS spool file 206 into PDL. PDL is an abbreviation for PageDescription Language.

PDLデータは印刷処理のスケジュール管理を行うプリントマネージャ218で管理され、キュー(待ち行列)に印刷ジョブが次々と登録される。プリントマネージャ218は、プリンタ200が印刷できる状態になったら、キューに登録した順にPDLデータを、ポートモニタ219を介してプリンタ200に送信し、印刷処理の指示を行う。以上のように、プリンタドライバ1053の主な役目は、アプリ1051からの印刷データおよび印刷設定データをプリンタ200が処理可能なPDLデータに変換することである。 The PDL data is managed by a print manager 218 that manages the schedule of print processing, and print jobs are registered one after another in a queue. When the printer 200 becomes ready for printing, the print manager 218 transmits the PDL data in the order registered in the queue to the printer 200 via the port monitor 219 and instructs print processing. As described above, the main role of the printer driver 1053 is to convert print data and print setting data from the application 1051 into PDL data that can be processed by the printer 200 .

図7は、プリンタ200のデバイスID700とデバイスアプリ1052、デバイス管理システム1056、プリンタドライバ1053、プリンタキュー1055の関係を説明する図である。プリンタ200は、固有のデバイスID700を有している。デバイスID700とプリンタドライバ1053は、一意に関連付けられる。なお、プリンタ200は複数のデバイスID700を有していても構わない。例えば、プリンタ200がMFPである場合は、スキャナやプリンタなどの機能ごとにデバイスID700を有するように構成してもよい。 FIG. 7 is a diagram for explaining the relationship between the device ID 700 of the printer 200, the device application 1052, the device management system 1056, the printer driver 1053, and the printer queue 1055. FIG. Printer 200 has a unique device ID 700 . The device ID 700 and printer driver 1053 are uniquely associated. Note that the printer 200 may have multiple device IDs 700 . For example, if the printer 200 is an MFP, it may be configured to have a device ID 700 for each function such as scanner or printer.

プリンタドライバ1053に対するプリンタキュー1055の関係では、複数のプリンタキュー1055に対して一つのプリンタドライバ1053を関連付けすることが可能である。デバイスID700に対しては、デバイス管理システム1056およびデバイスアプリ1052それぞれが関連付けされる。複数のデバイスID700に対して一つのデバイス管理システム1056を関連付けすることが可能である。同様に、複数のデバイスID700に対して一つのデバイスアプリ1052を関連付けすることが可能である。すなわち、デバイスID700を介して、デバイスアプリ1052およびデバイス管理システム1056が、プリンタドライバ1053およびプリンタキュー1055と関連付けられている。 As for the relationship of the printer queue 1055 to the printer driver 1053 , it is possible to associate one printer driver 1053 with multiple printer queues 1055 . Device management system 1056 and device application 1052 are associated with device ID 700 . A single device management system 1056 can be associated with multiple device IDs 700 . Similarly, one device application 1052 can be associated with multiple device IDs 700 . That is, the device application 1052 and device management system 1056 are associated with the printer driver 1053 and printer queue 1055 via the device ID 700 .

デバイスID700とデバイスアプリ1052およびデバイス管理システム1056の関連付けについて、表1を用いてその詳細を説明する。表1は、デバイス管理制御用ファイル1058で示されるプリンタのデバイスID700とデバイス管理システム1056とデバイスアプリ1052の関連を表した図である。

Figure 0007171227000001
Details of the association between the device ID 700 and the device application 1052 and device management system 1056 will be described with reference to Table 1. Table 1 shows the relationship between the device ID 700 of the printer indicated by the device management control file 1058, the device management system 1056, and the device application 1052.
Figure 0007171227000001

デバイスID700は、例えば、製造元(MFG)、モデル(MDL)、クラス(CLS)、コマンド(CMD)、デスクリプション(DES)などを示す情報である。例えば表1で示されるプリンタ1は製造元:ABC、モデル:プリンタ1、クラス:PRINTER、コマンド:PDL1(ABC社プライベートの印刷制御用コマンド)、デスクリプション:ABC プリンタ1を示すデバイスID700を有している。プリンタ1のデバイスID700は、デバイス管理システム1056のDevMg1、デバイスアプリ1052のApp1に関連付いている。 The device ID 700 is information indicating, for example, manufacturer (MFG), model (MDL), class (CLS), command (CMD), description (DES), and the like. For example, printer 1 shown in Table 1 has manufacturer: ABC, model: printer 1, class: PRINTER, command: PDL1 (ABC company's private print control command), description: ABC. there is The device ID 700 of printer 1 is associated with DevMg1 of the device management system 1056 and App1 of the device application 1052 .

プリンタ1がクライアント100に接続された場合、デバイス管理システム1056のDevMg1とデバイスアプリ1052のApp1が、クライアント100に自動的にインストールされる。デバイス管理システム1056のDevMg1とデバイスアプリ1052のApp1は、プリンタ1を管理する。なお、プリンタ1が接続されているクライアント100にプリンタ2が接続された場合は、既にApp1がインストールされているためApp1が新たにインストールされることはなく、デバイス管理システム1056のDevMg2のみがインストールされる。 When the printer 1 is connected to the client 100 , DevMg1 of the device management system 1056 and App1 of the device application 1052 are automatically installed on the client 100 . DevMg1 of the device management system 1056 and App1 of the device application 1052 manage the printer 1 . Note that when printer 2 is connected to client 100 to which printer 1 is connected, App1 is already installed, so App1 is not newly installed, and only DevMg2 of device management system 1056 is installed. be.

デバイスアプリ1052のタイルアプリ部10523の起動処理を、図8を用いて説明する。図8は、タイルアプリ部10523の起動処理を示すフローチャートである。タイルアプリ部10523の起動処理は、CPU101が、補助記憶装置105に格納されたプログラムをRAM1022に読み出し実行することで実現される。タイルアプリ部10523の起動処理は、スタート画面でデバイスアプリ1052に対応したタイルが選択され、OS1054がデバイスアプリ1052を起動することで開始される。 Activation processing of the tile application unit 10523 of the device application 1052 will be described with reference to FIG. FIG. 8 is a flowchart showing activation processing of the tile application unit 10523. As shown in FIG. Activation processing of the tile application unit 10523 is realized by the CPU 101 reading a program stored in the auxiliary storage device 105 to the RAM 1022 and executing the program. Activation processing of the tile application unit 10523 is started when a tile corresponding to the device application 1052 is selected on the start screen and the OS 1054 activates the device application 1052 .

S801で、OS1054は、スタートメニューなどのアプリケーション一覧からデバイスアプリ1052が押下されたか否かを判断する。デバイスアプリ1052が押下されたと判定した場合はS802に進む。一方、デバイスアプリ1052が押下されていないと判定した場合は、デバイスアプリ1052を起動せず、S801を繰り返す。S802で、OS1054はデバイスアプリ1052を起動する。デバイスアプリ1052の起動により、デバイスアプリ1052のタイルアプリ部10523も起動する。S803で、タイルアプリ部10523はタイルアプリのUI画面を表示する。タイルアプリのUI画面は、例えば、図6(C)に示される管理画面630である。 In S801, the OS 1054 determines whether the device application 1052 has been pressed from the application list such as the start menu. If it is determined that the device application 1052 has been pressed, the process advances to step S802. On the other hand, if it is determined that the device application 1052 has not been pressed, the device application 1052 is not activated and S801 is repeated. In S<b>802 , the OS 1054 launches the device application 1052 . When the device application 1052 is activated, the tile application section 10523 of the device application 1052 is also activated. In S803, the tile application unit 10523 displays the UI screen of the tile application. The UI screen of the tile application is, for example, the management screen 630 shown in FIG. 6(C).

S804で、バックグラウンドタスク判断部10524は、デバイスアプリ1052のバックグラウンドタスク設定情報222を、OS1054のAPIを介して取得する。デバイスアプリ1052のバックグラウンドタスク設定情報222は、デバイスアプリ1052のバックグラウンド実行を許可しているか否かの情報であり、図6に示される設定画面600で設定されている。 In S<b>804 , the background task determination unit 10524 acquires the background task setting information 222 of the device application 1052 via the API of the OS 1054 . The background task setting information 222 of the device application 1052 is information as to whether background execution of the device application 1052 is permitted or not, and is set on the setting screen 600 shown in FIG.

S805で、バックグラウンドタスク判断部10524はS804で取得したバックグラウンドタスク設定情報222を参照して、デバイスアプリ1052のバックグラウンドでの実行が許可されているか否かを判定する。デバイスアプリ1052のバックグラウンドでの実行が許可されている場合は、本処理を終了する。一方、デバイスアプリ1052のバックグラウンドでの実行が許可されている場合は、S806に進む。 In S805, the background task determination unit 10524 refers to the background task setting information 222 acquired in S804 and determines whether execution of the device application 1052 in the background is permitted. If execution of the device application 1052 in the background is permitted, this processing ends. On the other hand, if execution of the device application 1052 in the background is permitted, the process advances to step S806.

S806で、メッセージ管理部10525は、OS1054のAPIを介してトースト通知の可否情報を取得する。S807で、メッセージ管理部10525は、S806で取得したトースト通知の可否情報を参照して、トースト通知が許可されているか否かを判定する。トースト通知が許可されている場合はS808に進む。一方、トースト通知が許可されていない場合はS809に進む。 In S<b>806 , the message management unit 10525 acquires toast notification enable/disable information via the API of the OS 1054 . In S807, the message management unit 10525 refers to the toast notification enable/disable information acquired in S806, and determines whether or not toast notification is permitted. If toast notification is permitted, the process advances to S808. On the other hand, if the toast notification is not permitted, the process proceeds to S809.

S809で、メッセージ管理部10525は、タイルアプリのUI画面上に、バックグラウンドタスクの実行が許可されていない旨のメッセージボックスを表示する。図9(A)は、バックグラウンドタスクの実行が許可されていない旨のメッセージボックスの一例を示す図である。S808で、メッセージ管理部10525は、トーストメッセージの表示処理を行う。トーストメッセージの表示処理の詳細は、図10を用いてその詳細を説明する。 In S809, the message management unit 10525 displays a message box to the effect that execution of the background task is not permitted on the UI screen of the tile application. FIG. 9A is a diagram showing an example of a message box indicating that background task execution is not permitted. In S808, the message management unit 10525 performs toast message display processing. Details of the toast message display processing will be described with reference to FIG.

図10は、S808のトーストメッセージの表示処理を示すフローチャートである。S1001で、メッセージ管理部10525は、バックグラウンドタスク判断部10524が取得したバックグラウンドタスク設定情報222を参照して、バックグラウンドタスクの実行を許可しない理由がOSポリシーによるものか否かを判断する。図6(A)に示される設定画面600でバックグラウンドタスクの実行を許可しないと設定された場合は、「許可しない」というバックグラウンドタスク設定情報222が保存されている。一方、図6(B)に示される設定画面610でバックグラウンドタスクの実行を許可しないと設定された場合は、「OSポリシーにより許可しない」というバックグラウンドタスク設定情報222が保存されている。バックグラウンドタスクの実行を許可しない理由がOSポリシーによるものである場合は、S1002に進む。一方、バックグラウンドタスクの実行を許可しない理由がOSポリシーによるものでない場合は、S1003に進む。 FIG. 10 is a flowchart showing toast message display processing in S808. In S1001, the message management unit 10525 refers to the background task setting information 222 acquired by the background task determination unit 10524, and determines whether or not the background task execution is not permitted due to the OS policy. When background task execution is set not to be permitted on the setting screen 600 shown in FIG. 6A, the background task setting information 222 of "not permitted" is saved. On the other hand, when background task execution is set not to be permitted on the setting screen 610 shown in FIG. If the reason for not permitting execution of the background task is due to the OS policy, the process proceeds to S1002. On the other hand, if the reason for not permitting execution of the background task is not due to the OS policy, the process advances to S1003.

S1002で、メッセージ管理部10525は、図6(B)に示されるバックグラウンドタスクの設定画面610へのPathをS1004で表示するトーストメッセージに含める。S1003で、メッセージ管理部10525は、図6(A)に示されるバックグラウンドタスクの設定画面600へのPathをS1004で表示するトーストメッセージに含める。 In S1002, the message management unit 10525 includes the path to the background task setting screen 610 shown in FIG. 6B in the toast message displayed in S1004. In S1003, the message management unit 10525 includes the path to the background task setting screen 600 shown in FIG. 6A in the toast message displayed in S1004.

S1004で、メッセージ管理部10525はOS1054に対してトーストメッセージを表示するように指示を出す。表示するトーストメッセージの一例を、図9(B)に示す。S1005で、OS1054はトーストメッセージに対して、クリックやタップなどのユーザ操作がされたか否かを判定する。トーストメッセージがクリックされた場合は、S1006に進む。一方、トーストメッセージがクリックされなかった場合は、本処理を終了する。 In S1004, the message management unit 10525 instructs the OS 1054 to display a toast message. An example of the toast message to be displayed is shown in FIG. 9(B). In S1005, the OS 1054 determines whether a user operation such as clicking or tapping has been performed on the toast message. If the toast message is clicked, the process proceeds to S1006. On the other hand, if the toast message has not been clicked, this processing ends.

S1006で、OS1054は、トーストメッセージに含まれているPathのバックグラウンドタスクの設定画面を表示し、本処理を終了する。バックグラウンドタスクの設定画面600へのPathがトーストメッセージに含まれていた場合は、OS1054は、図6(A)に示される設定画面600を表示する。一方、バックグラウンドタスクの設定画面610へのPathがトーストメッセージに含まれていた場合は、OS1054は、図6(B)に示される設定画面610を表示する。 In S1006, the OS 1054 displays the background task setting screen of Path included in the toast message, and ends this processing. If the toast message includes a path to the background task setting screen 600, the OS 1054 displays the setting screen 600 shown in FIG. 6A. On the other hand, if the path to the background task setting screen 610 is included in the toast message, the OS 1054 displays the setting screen 610 shown in FIG. 6B.

図11は、デバイスアプリ1052の拡張印刷設定部10522の起動処理を示すフローチャートである。拡張印刷設定部10522の起動処理は、CPU101が、補助記憶装置105に格納されたプログラムをRAM1022に読み出し実行することで実現される。拡張印刷設定部10522の起動処理は、例えば他のアプリケーションで印刷ボタンが押下されるなどして印刷設定のUIが表示された場合に、UWPアプリ202がOS1054へ印刷要求を出すことにより開始される。 FIG. 11 is a flowchart showing activation processing of the extended print setting section 10522 of the device application 1052. As shown in FIG. Activation processing of the extended print setting unit 10522 is realized by the CPU 101 reading a program stored in the auxiliary storage device 105 to the RAM 1022 and executing the program. Activation processing of the extended print setting unit 10522 is started by the UWP application 202 issuing a print request to the OS 1054 when a print setting UI is displayed by pressing a print button in another application, for example. .

S1101で、OS1054は、印刷設定画面を表示する。図12は、印刷設定画面の一例を示す図である。印刷設定画面1200には、部数やカラーモードなどの基本設定の他、詳細な設定を行うための「その他の設定」のリンクボタン1201も表示される。S1102で、OS1054は、印刷設定画面1200に対するユーザからの操作を受け付ける。 In S1101, the OS 1054 displays a print setting screen. FIG. 12 is a diagram showing an example of a print setting screen. On the print setting screen 1200, in addition to basic settings such as the number of copies and color mode, a link button 1201 for "other settings" for performing detailed settings is also displayed. In S<b>1102 , the OS 1054 receives an operation from the user on the print setting screen 1200 .

S1103で、OS1054は、印刷設定画面1200の「その他の設定」のリンクボタン1201が押下されたか否か判定する。「その他の設定」のリンクボタン1201が押下されたと判定した場合は、S1104に進む。一方、「その他の設定」のリンクボタン1201が押下されなかったと判定した場合は、本処理を終了する。S1104で、OS1054は、デバイスアプリ1052の拡張印刷設定部10522を呼び出し、拡張印刷設定部10522が提供する印刷設定画面500を表示する。S1105~S1109は、図8のS804~S808と同様の処理である。S1110で、メッセージ管理部10525は、印刷設定画面500上にバックグラウンドタスクの実行が許可されていない旨のメッセージボックスを表示する。 In S1103, the OS 1054 determines whether or not the "other settings" link button 1201 on the print setting screen 1200 has been pressed. If it is determined that the link button 1201 for "other settings" has been pressed, the process advances to step S1104. On the other hand, if it is determined that the link button 1201 for "other settings" has not been pressed, this processing ends. In S<b>1104 , the OS 1054 calls the extended print setting section 10522 of the device application 1052 and displays the print setting screen 500 provided by the extended print setting section 10522 . S1105 to S1109 are the same processing as S804 to S808 in FIG. In S1110, the message management unit 10525 displays a message box on the print setting screen 500 to the effect that execution of the background task is not permitted.

以上の処理により、バックグラウンドタスクの実行が許可されていない場合において、タイルアプリもしくは印刷設定UIの起動時に、システムの設定変更を促すトーストメッセージもしくはメッセージボックスを表示し、ユーザに通知することができる。また、トーストメッセージがクリックされた際には、バックグラウンドタスクの設定画面を表示することができ、ユーザがバックグラウンドタスク設定画面を探す手間を省くことができる。 With the above processing, when the execution of the background task is not permitted, a toast message or message box prompting the user to change the system settings can be displayed when the tile app or print setting UI is started, and the user can be notified. . Also, when the toast message is clicked, the background task setting screen can be displayed, saving the user the trouble of searching for the background task setting screen.

(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other examples)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

以上、本発明の好ましい実施形態について説明したが、本発明は、これらの実施形態に限定されず、その要旨の範囲内で種々の変形および変更が可能である。 Although preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of the gist thereof.

Claims (16)

プリンタドライバと紐づくアプリケーションを含む情報処理装置であって
記アプリケーションをバックグラウンドで実行することの可否を判定する判定手段と、
前記判定手段が前記アプリケーションをバックグラウンドで実行することが許可されていないと判定した場合に、前記アプリケーションをバックグラウンドで実行することに関する通知をする通知手段と、
前記通知に対するユーザ操作を受け付けたことに従って、前記アプリケーションをバックグラウンドで実行することに関する設定画面を表示手段に表示させる表示制御手段と、を備える
ことを特徴とする情報処理装置。
An information processing device including an application associated with a printer driver ,
determination means for determining whether or not the application can be executed in the background ;
notification means for notifying execution of the application in the background when the determination means determines that execution of the application in the background is not permitted;
and display control means for causing a display means to display a setting screen regarding execution of the application in the background in accordance with reception of a user operation for the notification .
前記通知手段の通知は、前記設定画面の表示に関するトーストメッセージの表示である
ことを特徴とする請求項に記載の情報処理装置。
2. The information processing apparatus according to claim 1 , wherein the notification from said notification means is display of a toast message regarding display of said setting screen.
前記アプリケーションは、スタート画面で当該アプリケーションのタイル選択に応じて起動するアプリケーションであり、
前記判定手段は、前記タイルの選択に応じた前記アプリケーションの起動に従って判定処理を実行することを特徴とする請求項1または2に記載の情報処理装置。
The application is an application that is launched in response to selection of a tile of the application on the start screen ,
3. The information processing apparatus according to claim 1 , wherein said determination means executes determination processing according to activation of said application corresponding to selection of said tile .
前記アプリケーションは、他のアプリケーションが表示する画面において印刷設定のユーザインターフェースを表示する選択が行われたことに応じて起動するアプリケーションであり、
前記判定手段は、前記印刷設定のユーザインターフェースを表示する選択に応じた前記アプリケーションの起動に従って判定処理を実行することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
The application is an application that is activated in response to a selection to display a print setting user interface on a screen displayed by another application,
4. The information processing apparatus according to any one of claims 1 to 3 , wherein the determination unit executes determination processing according to activation of the application corresponding to a selection for displaying the user interface of the print settings .
前記判定手段は、バックグラウンドタスクの設定情報を取得して、前記設定情報に基づいて前記アプリケーションをバックグラウンドで実行することの可否を判定する
ことを特徴とする請求項1乃至のいずれか1項に記載の情報処理装置。
5. The determination unit according to any one of claims 1 to 4 , wherein the determination unit acquires background task setting information and determines whether or not the application can be executed in the background based on the setting information. The information processing device according to item 1.
前記プリンタドライバは、V4プリンタドライバであり、
前記アプリケーションは前記プリンタドライバに提供される印刷設定を設定するためのアプリケーションであり、前記判定手段が前記アプリケーションをバックグラウンドで実行することが許可されていると判定した場合、印刷に関する設定のためのオブジェクトを表示させるアプリケーションであることを特徴とする請求項1乃至のいずれか1項に記載の情報処理装置。
the printer driver is a V4 printer driver ;
The application is an application for setting print settings provided to the printer driver. 6. The information processing apparatus according to any one of claims 1 to 5 , wherein the application is an application for displaying an object .
前記アプリケーションは、他のアプリケーションが表示する画面において印刷設定のユーザインターフェースを表示する選択が行われたことに応じて印刷設定のユーザインターフェースを表示するアプリケーションであり、
前記判定手段は、前記印刷設定のユーザインターフェースを表示する前記選択に基づき判定処理を実行することを特徴とする請求項1乃至のいずれか1項に記載の情報処理装置。
The application is an application that displays a user interface for print settings in response to a selection to display a user interface for print settings on a screen displayed by another application ,
7. The information processing apparatus according to claim 1 , wherein the determination unit executes determination processing based on the selection for displaying the print setting user interface .
プリンタドライバと紐づくアプリケーションを含む情報処理装置の制御方法であって、
前記情報処理装置において、前記アプリケーションをバックグラウンドで実行することの可否を判定する判定工程と、
前記情報処理装置において、前記判定工程において前記アプリケーションをバックグラウンドで実行することが許可されていないと判定された場合に、前記アプリケーションをバックグラウンドで実行することに関する通知をする通知工程と、
前記情報処理装置において、前記通知に対するユーザ操作を受け付けたことに従って、前記アプリケーションをバックグラウンドで実行することに関する設定画面を表示手段に表示させる表示制御工程と、を有する
ことを特徴とする情報処理装置の制御方法。
A control method for an information processing device including an application associated with a printer driver, comprising:
a determination step of determining whether or not the application can be executed in the background in the information processing device ;
a notification step of notifying execution of the application in the background in the information processing apparatus when it is determined in the determination step that execution of the application in the background is not permitted; ,
and a display control step of causing a display unit to display a setting screen regarding execution of the application in the background in accordance with reception of a user operation in response to the notification. control method .
プリンタドライバと紐づくアプリケーションであって、
コンピュータに、
前記アプリケーションをバックグラウンドで実行することの可否を判定する判定工程と、
前記判定工程において前記アプリケーションをバックグラウンドで実行することが許可されていないと判定された場合に、前記アプリケーションをバックグラウンドで実行することに関する通知をする通知工程と、
前記通知に対するユーザ操作を受け付けたことに従って、前記アプリケーションをバックグラウンドで実行することに関する設定画面を表示手段に表示させる工程と、を実行させるためのアプリケーション。
An application associated with a printer driver,
to the computer,
a determination step of determining whether or not the application can be executed in the background ;
a notification step of notifying the execution of the application in the background when it is determined in the determination step that the application is not permitted to be executed in the background ;
and causing a display unit to display a setting screen for executing the application in the background in accordance with acceptance of the user's operation for the notification .
前記判定工程は、前記アプリケーションが起動されたことに応じて前記コンピュータにより実行されることを特徴とする請求項に記載のアプリケーション。 10. An application according to claim 9 , wherein said determining step is executed by said computer in response to said application being launched. 前記通知工程の通知は、前記設定画面の表示に関するトーストメッセージの表示であることを特徴とする請求項に記載のアプリケーション。 10. The application according to claim 9 , wherein the notification of the notification step is display of a toast message regarding display of the setting screen. 前記アプリケーションは、スタート画面で当該アプリケーションのタイルを選択することに応じて起動するアプリケーションであり、
前記判定工程は、前記タイルの選択に応じて前記アプリケーションが起動されたことに基づき実行されることを特徴とする請求項乃至11のいずれか1項に記載のアプリケーション。
The application is an application that is launched in response to selecting the tile of the application on the start screen ,
12. The application according to any one of claims 9 to 11 , wherein said determining step is executed based on said application being launched in response to selection of said tile .
前記アプリケーションは、他のアプリケーションが表示する画面において印刷設定のユーザインターフェースを表示する選択が行われたことに応じて起動するアプリケーションであり、
前記判定工程は、前記印刷設定のユーザインターフェースを表示する選択に応じて前記アプリケーションが起動されたことに基づき実行されることを特徴とする請求項乃至12のいずれか1項に記載のアプリケーション。
The application is an application that is activated in response to a selection to display a print setting user interface on a screen displayed by another application,
13. The application according to any one of claims 9 to 12 , wherein the determining step is executed based on the application being activated in response to a selection to display the print setting user interface .
前記判定工程では、バックグラウンドタスクの設定情報を取得して、前記設定情報に基づいて前記アプリケーションをバックグラウンドで実行することの可否を判定することを特徴とする請求項乃至13のいずれか1項に記載のアプリケーション。 14. The apparatus according to any one of claims 9 to 13 , wherein in said determining step, background task setting information is obtained, and whether or not said application can be executed in the background is determined based on said setting information. Application according to item 1. 前記プリンタドライバは、V4プリンタドライバであり、
前記アプリケーションは前記プリンタドライバに提供される印刷設定を設定するためのアプリケーションであり、前記判定工程において前記アプリケーションをバックグラウンドで実行することが許可されていると判定した場合、印刷に関する設定のためのオブジェクトを表示させるアプリケーションであることを特徴とする請求項乃至14のいずれか1項に記載のアプリケーション。
the printer driver is a V4 printer driver;
The application is an application for setting print settings provided to the printer driver. 15. The application according to any one of claims 9 to 14 , wherein the application is an application for displaying objects .
前記アプリケーションは、他のアプリケーションが表示する画面において印刷設定のユーザインターフェースを表示する選択が行われたことに応じて印刷設定のユーザインターフェースを表示するアプリケーションであり、
前記判定工程は、前記印刷設定のユーザインターフェースを表示する前記選択に基づき判定処理を実行されることを特徴とする請求項乃至15のいずれか1項に記載のアプリケーション。
The application is an application that displays a user interface for print settings in response to a selection to display a user interface for print settings on a screen displayed by another application,
16. The application according to any one of claims 9 to 15 , wherein the determination step is performed based on the selection for displaying the print setting user interface .
JP2018089182A 2018-05-07 2018-05-07 Information processing device, its control method and application Active JP7171227B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018089182A JP7171227B2 (en) 2018-05-07 2018-05-07 Information processing device, its control method and application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018089182A JP7171227B2 (en) 2018-05-07 2018-05-07 Information processing device, its control method and application

Publications (3)

Publication Number Publication Date
JP2019197250A JP2019197250A (en) 2019-11-14
JP2019197250A5 JP2019197250A5 (en) 2021-10-21
JP7171227B2 true JP7171227B2 (en) 2022-11-15

Family

ID=68537985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018089182A Active JP7171227B2 (en) 2018-05-07 2018-05-07 Information processing device, its control method and application

Country Status (1)

Country Link
JP (1) JP7171227B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008066859A (en) 2006-09-05 2008-03-21 Konica Minolta Business Technologies Inc Image processor and program
JP2016100731A (en) 2014-11-20 2016-05-30 キヤノン株式会社 Information processing apparatus, control method thereof, and program
JP2017016480A (en) 2015-07-02 2017-01-19 セイコーエプソン株式会社 Communication control device, communication control driver, and communication control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008066859A (en) 2006-09-05 2008-03-21 Konica Minolta Business Technologies Inc Image processor and program
JP2016100731A (en) 2014-11-20 2016-05-30 キヤノン株式会社 Information processing apparatus, control method thereof, and program
JP2017016480A (en) 2015-07-02 2017-01-19 セイコーエプソン株式会社 Communication control device, communication control driver, and communication control method

Also Published As

Publication number Publication date
JP2019197250A (en) 2019-11-14

Similar Documents

Publication Publication Date Title
US11520546B2 (en) Print processing system and control method
US11789676B2 (en) Information apparatus, controlling method for information apparatus, and storage medium
US8537438B2 (en) Information processing apparatus in which a plurality of types of print drivers and plurality of graphics units run, control method therefor, and program
US9830544B2 (en) Image processing apparatus, control method, and storage medium for executing print processing using a password including selecting a personal identification code type that indicates a purpose for using the password
JP5704834B2 (en) Information processing apparatus, control method, and program
US9160888B2 (en) Information processing apparatus, user information management control method, and storage medium
KR20110010574A (en) Information processing apparatus, information processing method and storage medium
US20120120443A1 (en) Information processing apparatus, information processing system, and storage medium
US20220129220A1 (en) Recording medium, control method and information processing apparatus
JP6575270B2 (en) Print setting support apparatus and program
JP2013058088A (en) Information processor, program, and storage medium
JP7171227B2 (en) Information processing device, its control method and application
JP2023034958A (en) Information processing apparatus, method of controlling information processing apparatus, and program
JP2014160406A (en) Image formation output control system, image formation output control program, and control device
JP2013058010A (en) Image processing system, image processing device, image forming device and program
JP7328405B2 (en) Information processing apparatus, information processing apparatus control method, and print setting application
JP7328410B2 (en) Application, method and recording medium
US11599314B2 (en) Printing without using printer specific software
JP7393477B2 (en) Information processing device, its control method, and computer program
US11385848B2 (en) Information processing apparatus and control method
US20190258436A1 (en) Information processing apparatus, control method of information processing apparatus, and program
JP2020181499A (en) Information processing device, control method thereof, and program thereof
JP2020071693A (en) Information processing apparatus, control method therefor, and program
JP2020016951A (en) Information processing device, control method, and program
JP2019128856A (en) Printer driver customization tool

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210506

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220608

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: 20221004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221102

R151 Written notification of patent or utility model registration

Ref document number: 7171227

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151