JP2017010371A - Print control device, print setting control program and print setting control method - Google Patents

Print control device, print setting control program and print setting control method Download PDF

Info

Publication number
JP2017010371A
JP2017010371A JP2015126618A JP2015126618A JP2017010371A JP 2017010371 A JP2017010371 A JP 2017010371A JP 2015126618 A JP2015126618 A JP 2015126618A JP 2015126618 A JP2015126618 A JP 2015126618A JP 2017010371 A JP2017010371 A JP 2017010371A
Authority
JP
Japan
Prior art keywords
print
setting
setting change
printer driver
change information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015126618A
Other languages
Japanese (ja)
Inventor
長生 道又
Osao Michimata
長生 道又
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2015126618A priority Critical patent/JP2017010371A/en
Publication of JP2017010371A publication Critical patent/JP2017010371A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a print control device which can perform customization for printing setting of a printer driver to be installed.SOLUTION: A print control device includes the steps of: installing a printer driver under an environment managed by an OS (S100); acquiring setting change information indicating the change of the printing setting in accordance with input from the outside (S110); and changing the printing setting adopted by the printer driver on the basis of the acquired setting change information (S130). The printing setting change step (S130) changes the initial setting of printing adopted by the printer driver stored in the OS following the installation of the printer driver on the basis of the setting change information.SELECTED DRAWING: Figure 2

Description

本発明は、印刷制御装置、印刷設定制御プログラムおよび印刷設定制御方法に関する。   The present invention relates to a print control apparatus, a print setting control program, and a print setting control method.

オペレーティングシステム(以下、OS)としての、Microsoft社(登録商標)が提供するWindows(登録商標)、において動作するVersion4プリンタードライバー(以下、V4プリンタードライバー)が知られている。ベンダーは、V4プリンタードライバーの構築に関してMicrosoft社が定めたアーキテクチャーに基づいて、V4プリンタードライバーを作成し、市場に流通させる。   A Version4 printer driver (hereinafter referred to as V4 printer driver) that operates in Windows (registered trademark) provided by Microsoft Corporation (registered trademark) as an operating system (hereinafter referred to as OS) is known. The vendor creates a V4 printer driver based on the architecture determined by Microsoft for the construction of the V4 printer driver, and distributes it to the market.

なお、プリントサーバーを用いてプリンタードライバーをクライアントにインストールする方法であって、プリントサーバーは各プリンタードライバーとその対応CPUと対応言語を管理し、クライアントのCPU種類及び言語の情報に適合するプリンタードライバーのドライバー識別子を送信し、クライアントは受信したドライバー識別子が示すプリンタードライバーをプリントサーバーに要求し、プリントサーバーは受信したドライバー識別子が示すプリンタードライバーを配信する構成が知られている(特許文献1参照)。   In this method, a printer driver is installed on a client using a print server. The print server manages each printer driver, its corresponding CPU, and its corresponding language, and a printer driver that matches the CPU type and language information of the client. A configuration is known in which a driver identifier is transmitted, a client requests a print server indicated by the received driver identifier from the print server, and the print server distributes the printer driver indicated by the received driver identifier (see Patent Document 1).

特開2013‐130985号公報JP 2013-130985 A

前記定められたアーキテクチャー上、ハードウェアへのV4プリンタードライバーのインストール時に、V4プリンタードライバー自身で当該インストール処理を制御することができない。ここで、ユーザーは、プリンタードライバーを自分好みの設定にカスタマイズすることを望む。しかしながら、上述したようにV4プリンタードライバーがインストール処理を制御することができない以上、当該インストールが終了してプリンターが使用可能な状況となっても、ユーザーが所望するカスタマイズはプリンタードライバーに反映されていないままであった。   Due to the defined architecture, the installation process cannot be controlled by the V4 printer driver itself when the V4 printer driver is installed on the hardware. Here, the user wants to customize the printer driver to his preferred settings. However, as described above, as long as the V4 printer driver cannot control the installation process, even if the installation is completed and the printer can be used, the customization desired by the user is not reflected in the printer driver. It remained.

本発明は上述の課題に鑑みてなされたものであり、インストールされるプリンタードライバーの印刷設定に関するカスタマイズを可能とする印刷制御装置、印刷設定制御プログラムおよび印刷設定制御方法を提供する。   The present invention has been made in view of the above-described problems, and provides a print control apparatus, a print setting control program, and a print setting control method capable of customizing print settings of an installed printer driver.

本発明の態様の一つは、印刷制御装置は、OSが管理する環境下にプリンタードライバーをインストールするインストール処理部と、印刷設定の変更を示す設定変更情報を外部からの入力に応じて取得する情報取得部と、前記取得した設定変更情報に基づいて、前記プリンタードライバーが採用する印刷設定を変更する印刷設定変更部と、を備える。   According to one aspect of the present invention, the print control apparatus acquires an installation processing unit that installs a printer driver in an environment managed by the OS, and setting change information indicating a change in print settings in response to an input from the outside. An information acquisition unit; and a print setting change unit that changes print settings adopted by the printer driver based on the acquired setting change information.

当該構成によれば、プリンタードライバーのインストール時に、プリンタードライバー自身が、採用すべき印刷設定を変更することができなくとも、前記情報取得部と前記印刷設定変更部との働きによって、プリンタードライバーが採用する印刷設定を変更する(カスタマイズする)ことができる。   According to this configuration, even when the printer driver itself cannot change the print setting to be adopted at the time of installation of the printer driver, the printer driver adopts the function of the information acquisition unit and the print setting change unit. You can change (customize) the print settings.

本発明の態様の一つは、前記印刷設定変更部は、前記プリンタードライバーのインストールに伴って前記OSに保存された、前記プリンタードライバーが採用する印刷の初期設定を、前記設定変更情報に基づいて変更するとしてもよい。
当該構成によれば、OSに保存された情報を変更することで、プリンタードライバーが採用する印刷の初期設定を変更することができる。この場合、前記印刷設定変更部は、印刷設定を記述したプリントチケットであって前記設定変更情報を反映したプリントチケットを前記OSが保存するための特定のデータ構造に変換することを、前記OSを介して前記プリンタードライバーに要求し、当該要求に応じて変換された前記特定のデータ構造による印刷設定で、前記OSに保存された前記特定のデータ構造による前記初期設定を上書きすることにより、前記変更を実現する。
According to one aspect of the present invention, the print setting change unit is configured to, based on the setting change information, an initial print setting employed by the printer driver, which is saved in the OS when the printer driver is installed. It may be changed.
According to this configuration, it is possible to change the initial print settings adopted by the printer driver by changing the information stored in the OS. In this case, the print setting changing unit converts the print ticket that describes the print setting and that reflects the setting change information into a specific data structure for the OS to save. The change is made by overwriting the initial setting based on the specific data structure stored in the OS with the print setting based on the specific data structure converted in response to the request to the printer driver. Is realized.

本発明の態様の一つは、前記印刷設定変更部は、前記設定変更情報に応じて、前記OSに保存された前記初期設定と、前記プリンタードライバーが保存する印刷設定とのいずれかを変更するとしてもよい。
当該構成によれば、ユーザーが所望するカスタマイズの指示(設定変更情報)に応じて、変更の対象となる情報が適切に選択される。具体的には、前記印刷設定変更部は、前記設定変更情報が前記初期設定の変更を示す情報であれば、前記OSに保存された前記初期設定を変更し、前記設定変更情報が印刷に関する禁則の追加または削除を示す情報であれば、前記プリンタードライバーが保存する印刷設定を変更する。
In one aspect of the present invention, the print setting change unit changes either the initial setting saved in the OS or the print setting saved by the printer driver according to the setting change information. It is good.
According to this configuration, information to be changed is appropriately selected according to a customization instruction (setting change information) desired by the user. Specifically, if the setting change information is information indicating a change in the initial setting, the print setting changing unit changes the initial setting stored in the OS, and the setting change information is a prohibition on printing. If it is information indicating the addition or deletion, the print setting stored by the printer driver is changed.

本発明の技術的思想は、印刷制御装置という物以外によっても実現される。例えば、本発明は、上述したような印刷制御装置の各部が実行する工程を含んだ方法(印刷設定制御方法)や、当該工程をハードウェア(コンピューター)に実行させるプログラム(印刷設定制御プログラム)や、当該プログラムを記憶したコンピューター読み取り可能な記憶媒体、といった各種カテゴリーにて実現されてもよい。   The technical idea of the present invention is also realized by a device other than a printing control device. For example, the present invention provides a method (print setting control method) including a process executed by each unit of the print control apparatus as described above, a program (print setting control program) for causing a hardware (computer) to execute the process, It may be realized in various categories such as a computer-readable storage medium storing the program.

印刷制御装置の構成を例示するブロック図。FIG. 2 is a block diagram illustrating the configuration of a print control apparatus. 実施例1にかかる処理を示すフローチャート。3 is a flowchart showing processing according to the first embodiment. UI画面の一部を例示する図。The figure which illustrates a part of UI screen. 実施例2にかかる処理を示すフローチャート。10 is a flowchart illustrating processing according to the second embodiment.

以下、図面を参照しながら本発明の実施形態を説明する。
1.印刷制御装置の概略:
図1は、本実施形態にかかる印刷制御装置10の構成を概略的に例示するブロック図である。印刷制御装置10は、例えば、RAM、ROM、CPU等を備えるICやその他の記憶媒体等による制御部20を備える。制御部20には、OS11が既にインストールされている。OS11の一例としては、Windows8が挙げられる。また、本実施形態では、OS11が管理する環境下に、V4プリンタードライバーの一種であるプリンタードライバー(以下、ドライバー)12がインストールされる。また、アプリケーション13も、OS11が管理する環境下で動作する。制御部20は、このような各種プログラム(ドライバー12やアプリケーション13等)に従った処理をOS11の管理下で実行することができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
1. Outline of print control device:
FIG. 1 is a block diagram schematically illustrating the configuration of a print control apparatus 10 according to the present embodiment. The print control apparatus 10 includes a control unit 20 using, for example, an IC including a RAM, a ROM, a CPU, and other storage media. OS 11 is already installed in the control unit 20. An example of the OS 11 is Windows 8. In this embodiment, a printer driver (hereinafter referred to as a driver) 12 that is a type of V4 printer driver is installed in an environment managed by the OS 11. The application 13 also operates in an environment managed by the OS 11. The control unit 20 can execute processing according to such various programs (such as the driver 12 and the application 13) under the management of the OS 11.

アプリケーション13は、本発明にかかる印刷設定制御プログラムに相当する。印刷制御装置10では、制御部20がアプリケーション13に従った処理を実行することにより、印刷設定制御方法を実現する。アプリケーション13の機能については後述する。ドライバー12およびアプリケーション13は、例えば、これらを作成したベンダーによって光ディスクへ記録され、当該光ディスクが市場に流通することでユーザーに提供される。ユーザーは、当該光ディスクを、印刷制御装置10(印刷制御装置10が有する不図示の光ディスクドライブ)に読み込ませることにより、印刷制御装置10へのドライバー12のインストールを行うことができる。むろん、ドライバー12およびアプリケーション13がユーザーへ提供される際の形態は、光ディスクを介した流通形態に限定されない。   The application 13 corresponds to a print setting control program according to the present invention. In the print control apparatus 10, the print setting control method is realized by the control unit 20 executing a process according to the application 13. The function of the application 13 will be described later. For example, the driver 12 and the application 13 are recorded on an optical disc by the vendor who created them, and are provided to the user by distributing the optical disc to the market. The user can install the driver 12 in the print control apparatus 10 by causing the print control apparatus 10 (an optical disk drive (not shown) included in the print control apparatus 10) to read the optical disk. Of course, the form when the driver 12 and the application 13 are provided to the user is not limited to the form of distribution via the optical disc.

印刷制御装置10は、図示しないインターフェースを備えており、印刷制御装置10には当該インターフェースを介して入力部50と表示部51とプリンター52とが接続される。入力部50は、ユーザーの入力操作を受け付けるための入力装置であり、マウス、キーボード、タッチパネル、各種入力キー等が該当し得る。表示部51は、制御部20が出力する信号に応じて任意の画像を表示するディスプレイである。プリンター52は、インストールされたドライバー12によって駆動制御される印刷装置であり、制御部20が出力するレンダリング後の印刷データに基づいて印刷を実行する。   The print control apparatus 10 includes an interface (not shown), and an input unit 50, a display unit 51, and a printer 52 are connected to the print control apparatus 10 through the interface. The input unit 50 is an input device for accepting a user's input operation, and may be a mouse, a keyboard, a touch panel, various input keys, or the like. The display unit 51 is a display that displays an arbitrary image according to a signal output from the control unit 20. The printer 52 is a printing device that is driven and controlled by the installed driver 12, and executes printing based on the rendered print data output by the control unit 20.

印刷制御装置10は、例えば、PC(パーソナルコンピューター)、タブレット型端末、スマートフォン等といった、プリンター52に対する制御装置となり得る様々な装置によって実現される。また、印刷制御装置10に含まれる構成の一部(少なくとも制御部20を含む構成)を指して、本発明にかかる印刷制御装置と把握してもよい。印刷制御装置10、入力部50および表示部51は、それぞれが独立した製品であってもよいし、一体的に構成された製品であってもよい。   The print control apparatus 10 is realized by various apparatuses that can be a control apparatus for the printer 52, such as a PC (personal computer), a tablet-type terminal, and a smartphone. Further, a part of the configuration included in the print control apparatus 10 (a configuration including at least the control unit 20) may be pointed out and grasped as the print control apparatus according to the present invention. The print control apparatus 10, the input unit 50, and the display unit 51 may be independent products or may be integrally configured products.

2.印刷設定のカスタマイズに関する説明:
《実施例1》
図2は、アプリケーション13等に従って制御部20が実現する印刷設定のカスタマイズ処理(印刷設定制御方法)を、フローチャートにより示している。ここでは、OS11、ドライバー12およびアプリケーション13それぞれに関わる処理を並列的に示している。図2を参照して説明する処理を、実施例1とも呼ぶ。
2. Instructions for customizing print settings:
Example 1
FIG. 2 is a flowchart showing print setting customization processing (print setting control method) realized by the control unit 20 in accordance with the application 13 or the like. Here, processes related to the OS 11, the driver 12, and the application 13 are shown in parallel. The process described with reference to FIG. 2 is also referred to as Example 1.

ユーザーによる入力部50への所定の操作を契機として、アプリケーション13が起動すると、アプリケーション13は、OS11の下でドライバー12のインストールを実行する(ステップS100)。つまり、アプリケーション13は、ドライバー12を印刷制御装置10へ導入するためのインストーラーとしても機能する。ステップS100を実現する点で、制御部20は、インストール処理部として機能すると言える。   When the application 13 is activated in response to a predetermined operation on the input unit 50 by the user, the application 13 installs the driver 12 under the OS 11 (step S100). That is, the application 13 also functions as an installer for introducing the driver 12 into the print control apparatus 10. It can be said that the control unit 20 functions as an installation processing unit in realizing step S100.

次に、アプリケーション13は、印刷設定の変更を示す設定変更情報を、外部からの入力に応じて取得する(ステップS110)。アプリケーション13は、設定変更情報を取得するために、ユーザーインターフェース(UI)画面を表示部51へ表示させる。そして、UI画面を通じたユーザーの操作に応じて、設定変更情報を取得する。設定変更情報は、ユーザーが所望するカスタマイズの指示であるとも言える。実施例1では、カスタマイズの対象が、ドライバー12が採用する印刷の初期設定であるとする。印刷の初期設定とは、ドライバー12のインストール完了後、所望の印刷対象をプリンター52に印刷させるためにドライバー12を立ち上げた際に、既に設定されている印刷条件である。ユーザーは、印刷の度にも、初期設定から任意に変更した印刷条件にて印刷を行うことはできるが、そのような変更をしない場合は、初期設定をそのまま採用した印刷が実行される。   Next, the application 13 acquires setting change information indicating a change in print settings in response to an input from the outside (step S110). The application 13 displays a user interface (UI) screen on the display unit 51 in order to acquire setting change information. Then, setting change information is acquired in accordance with a user operation through the UI screen. It can be said that the setting change information is a customization instruction desired by the user. In the first embodiment, it is assumed that the target of customization is the initial setting of printing adopted by the driver 12. The initial setting of printing is a printing condition that is already set when the driver 12 is started in order to cause the printer 52 to print a desired print target after the installation of the driver 12 is completed. The user can perform printing with the printing conditions arbitrarily changed from the initial setting every time printing is performed, but when such a change is not made, printing using the initial setting is executed as it is.

ステップS110は、例えば、次のような手順により実現される。
まず、アプリケーション13は、ドライバー12から、カスタマイズの基礎となるプリントチケット(PrintTicket)を取得する。プリントチケットとは、印刷設定が記述されたドキュメントである。プリントチケットは、例えば、XML形式で記述されている。このようにアプリケーション13がドライバー12から取得するプリントチケットは、ベンダーが生成した情報であるため、初期設定に対するユーザー個々の希望は当然反映されていない。次に、アプリケーション13は、ドライバー12から取得したプリントチケットを、UI画面を通じたユーザーの操作に応じて編集する。
Step S110 is realized by the following procedure, for example.
First, the application 13 acquires a print ticket (PrintTicket) as a basis for customization from the driver 12. A print ticket is a document in which print settings are described. The print ticket is described in XML format, for example. Since the print ticket acquired from the driver 12 by the application 13 is information generated by the vendor as described above, the user's desire for the initial setting is naturally not reflected. Next, the application 13 edits the print ticket acquired from the driver 12 in accordance with a user operation through the UI screen.

図3は、ステップS110の過程で表示部51が表示するUI画面51aの一部を例示している。UI画面51aには、「用紙サイズ」、「印刷方向」、「用紙種類」…等といった印刷設定の様々な項目と、それら項目毎の初期設定と、が示されている。図3に例示した初期設定は、ドライバー12から取得されたプリントチケットに記述された印刷設定であり、ベンダーが定めた初期設定である。ユーザーは、UI画面51aを見ながら、入力部50を任意に操作することにより、このような初期設定に変更を加えることができる。ユーザーは、例えば、デフォルトでは、「カラー」の項目が有効化されている(カラー印刷が有効化されている)が、これを「モノクロ」に変更したり、無効化されている「両面印刷」の項目を有効化したりする。このような操作に応じて、アプリケーション13は、ドライバー12から取得したプリントチケットを、例えば、カラー印刷をモノクロ印刷に変更し、かつ片面印刷を両面印刷に変更した記述とする(プリントチケットを編集する)。このようにプリントチケットを編集することが、設定変更情報を取得することに相当する。ステップS110を実現する点で、制御部20は、情報取得部として機能すると言える。   FIG. 3 illustrates a part of the UI screen 51a displayed on the display unit 51 in the process of step S110. The UI screen 51a displays various items of print settings such as “paper size”, “printing direction”, “paper type”, and the like, and initial settings for each item. The initial settings illustrated in FIG. 3 are the print settings described in the print ticket acquired from the driver 12, and are the initial settings determined by the vendor. The user can make changes to such initial settings by arbitrarily operating the input unit 50 while viewing the UI screen 51a. For example, by default, the item “color” is enabled (color printing is enabled), but the user can change it to “monochrome” or disable “double-sided printing”. Or activate the item. In response to such an operation, the application 13 sets the print ticket acquired from the driver 12 as, for example, a description in which color printing is changed to monochrome printing and single-sided printing is changed to double-sided printing (editing the print ticket). ). Editing the print ticket in this way corresponds to acquiring setting change information. It can be said that the control part 20 functions as an information acquisition part by implement | achieving step S110.

次に、アプリケーション13は、ステップS110で得た編集後のプリントチケット、つまりユーザーの指示に応じた設定変更情報を反映したプリントチケットを、OS11が保存するための特定のデータ構造に変換することを、OS11を介してドライバー12に要求する(ステップS120)。OS11が保存するための特定のデータ構造とは、いわゆるDEVMODE構造を指す。DEVMODE構造は、Microsoft社が定義する、バイナリー形式による印刷設定情報の塊である。アプリケーション13は、編集後のプリントチケットを、前記変換の要求とともにOS11へ受け渡し(ステップS120)、OS11は、当該編集後のプリントチケットと要求とを、ドライバー12へ受け渡す(ステップS200)。すると、ドライバー12は、当該要求に応じて、受け渡されたXML形式のプリントチケットを、DEVMODE構造へ変換する(ステップS300)。ドライバー12は、当該変換後のDEVMODE構造を、アプリケーション13へ返す(ステップS310)。   Next, the application 13 converts the edited print ticket obtained in step S110, that is, the print ticket reflecting the setting change information according to the user's instruction, into a specific data structure for the OS 11 to store. The driver 12 is requested via the OS 11 (step S120). The specific data structure that the OS 11 stores is a so-called DEVMODE structure. The DEVMODE structure is a set of print setting information in a binary format defined by Microsoft Corporation. The application 13 delivers the edited print ticket together with the conversion request to the OS 11 (step S120), and the OS 11 delivers the edited print ticket and the request to the driver 12 (step S200). Then, in response to the request, the driver 12 converts the delivered XML format print ticket into a DEVMODE structure (step S300). The driver 12 returns the converted DEVMODE structure to the application 13 (step S310).

アプリケーション13は、ドライバー12のインストール(ステップS100)に伴ってOS11に保存された、ドライバー12が採用する印刷の初期設定を、ステップS310で返されたDEVMODE構造により変更する(ステップS130)。ここで、ドライバー12のインストールに伴ってOS11に保存された印刷の初期設定(前記ベンダーが定めた初期設定)は、OS11が保存するための前記特定のデータ構造、つまりDEVMODE構造の形で保存されている。従って、ステップS130では、アプリケーション13は、既にOS11に保存されているDEVMODE構造(前記ベンダーが定めた初期設定に該当するDEVMODE構造)を、ステップS310で返されたDEVMODE構造で上書きする。この場合、アプリケーション13は、ステップS310で返されたDEVMODE構造を、API(Application Programming Interface)関数の一種であるSetPrinterを用いてOS11に保存し、前記既にOS11に保存されているDEVMODE構造に上書きする。   The application 13 changes the initial print settings employed by the driver 12 stored in the OS 11 with the installation of the driver 12 (step S100) according to the DEVMODE structure returned in step S310 (step S130). Here, the initial print settings (initial settings determined by the vendor) stored in the OS 11 when the driver 12 is installed are stored in the form of the specific data structure for the OS 11 to store, that is, the DEVMODE structure. ing. Accordingly, in step S130, the application 13 overwrites the DEVMODE structure already stored in the OS 11 (DEVMODE structure corresponding to the initial setting determined by the vendor) with the DEVMODE structure returned in step S310. In this case, the application 13 stores the DEVMODE structure returned in step S310 in the OS 11 using SetPrinter, which is a kind of API (Application Programming Interface) function, and overwrites the DEVMODE structure already stored in the OS 11. .

なお、ドライバー12は、ステップS300において、OS11から受け渡された前記編集後のプリントチケットを、DEVMODE構造へ変換する過程の中間データへ変換し、当該中間データからDEVMODE構造への変換を、OS11に依頼するとしてもよい。その場合は、OS11が、変換後のDEVMODE構造をアプリケーション13へ返す。   In step S300, the driver 12 converts the edited print ticket received from the OS 11 into intermediate data in the process of converting to the DEVMODE structure, and converts the intermediate data into the DEVMODE structure. You may ask. In that case, the OS 11 returns the converted DEVMODE structure to the application 13.

さらに、アプリケーション13は、ステップS110で得た前記ユーザーの指示に応じた設定変更情報を、ドライバー12が有する印刷設定プロパティに含まれるキュープロパティバッグ(QueuePropertyBag)へも保存する(ステップS140)としてもよい。ここで保存する設定変更情報の形式は、DEVMODE構造ではなく、例えば、上述した編集後のプリントチケットであったり、それ以外の記述データであったりする。この場合、アプリケーション13は、WindowsPowerShellを用いてキュープロパティバッグへアクセスし、設定変更情報を保存する。   Further, the application 13 may store the setting change information according to the user instruction obtained in step S110 in a queue property bag (QueuePropertyBag) included in the print setting property of the driver 12 (step S140). . The format of the setting change information stored here is not the DEVMODE structure, but is, for example, the above-described edited print ticket or other description data. In this case, the application 13 accesses the queue property bag using WindowsPowerShell and stores the setting change information.

ユーザーが所望の印刷対象をプリンター52に印刷させるためにドライバー12を立ち上げた際、V4プリンタードライバーであるドライバー12は、OS11に保存されているDEVMODE構造に記述されている印刷設定を、初期設定として採用する。実施例1によれば、ドライバー12のインストールを支援するプログラムとしてアプリケーション13を導入したことにより、OS11に保存される前記初期設定が、前記ベンダーが定めた初期設定に該当するDEVMODE構造から、ユーザーの指示に応じた設定変更情報を反映したDEVMODE構造(ステップS310で返されたDEVMODE構造)へ変更される。つまり、ユーザーとしては、所望の印刷対象をプリンター52に印刷させるためにドライバー12を立ち上げた際、ドライバー12が採用する初期設定が既に自分好みにカスタマイズされている(上記の例で言えば、前記ベンダーが定めたカラー印刷、片面印刷といった設定ではなく、モノクロ印刷、両面印刷といった自分好みの設定が、初期設定となっている)。そのため、印刷の都度、初期設定を自分好みの設定に変更する手間が不要となり、印刷の作業効率が向上する。上述したようなステップS120,S130によれば、制御部20は、ステップS110で取得した設定変更情報に基づいて、ドライバー12が採用する印刷設定(初期設定)を変更する印刷設定変更部として機能すると言える。   When the user starts up the driver 12 in order to cause the printer 52 to print a desired print target, the driver 12 that is a V4 printer driver initializes the print settings described in the DEVMODE structure stored in the OS 11. Adopt as. According to the first embodiment, by introducing the application 13 as a program for supporting the installation of the driver 12, the initial setting stored in the OS 11 is changed from the DEVMODE structure corresponding to the initial setting determined by the vendor. The DEVMODE structure reflecting the setting change information according to the instruction (DEVMODE structure returned in step S310) is changed. In other words, when the user starts up the driver 12 to cause the printer 52 to print a desired print target, the initial setting adopted by the driver 12 has already been customized to the user's preference (in the above example, (Instead of the color printing and single-sided printing set by the vendor, the user's favorite settings such as monochrome printing and double-sided printing are the initial settings). This eliminates the need to change the initial setting to a setting of your choice every time printing is performed, thereby improving the printing work efficiency. According to steps S120 and S130 as described above, the control unit 20 functions as a print setting change unit that changes the print setting (initial setting) adopted by the driver 12 based on the setting change information acquired in step S110. I can say that.

また、上述のステップS140が加わることで、初期設定のカスタマイズの確実性が向上する。ドライバー12を構成するコンポーネントによっては、OS11に保存されたDEVMODE構造を常に容易に参照できるとは限らない。一方、上述のキュープロパティバッグに対しては、ドライバー12を構成する各コンポーネントは容易にアクセスすることができる。つまり、設定変更情報に基づく初期設定の変更を、OS11に加え、キュープロパティバッグにも保存することで、ユーザーによるカスタマイズが、ドライバー12が採用する初期設定へ確実に反映されるようになる。   Further, by adding the above-described step S140, the reliability of customization of the initial setting is improved. Depending on the components constituting the driver 12, the DEVMODE structure stored in the OS 11 cannot always be referred to easily. On the other hand, the components constituting the driver 12 can be easily accessed to the above-described queue property bag. In other words, the initial setting change based on the setting change information is stored in the queue property bag in addition to the OS 11, so that the customization by the user is reliably reflected in the initial setting adopted by the driver 12.

《実施例2》
図4は、アプリケーション13等に従って制御部20が実現する印刷設定のカスタマイズ処理(印刷設定制御方法)であって図2とは異なる処理をフローチャートにより示している。図4を参照して説明する処理を、実施例2とも呼ぶ。図4に関しては、図2に関する説明を準用できる事項については説明を適宜省略する。ステップS400は、ステップS100と同じである。
Example 2
FIG. 4 is a flowchart showing a print setting customization process (print setting control method) realized by the control unit 20 in accordance with the application 13 and the like, which is different from the process shown in FIG. The process described with reference to FIG. 4 is also referred to as Example 2. With respect to FIG. 4, the description of FIG. Step S400 is the same as step S100.

次に、アプリケーション13は、印刷設定の変更を示す設定変更情報を、外部からの入力に応じて取得する(ステップS410)。実施例2では、カスタマイズの対象が、印刷に関する禁則(あるいはサポート機能)であるとする。この場合も、アプリケーション13は、所定のUI画面を表示部51へ表示させ、UI画面を通じたユーザーの操作に応じて、設定変更情報を取得する。禁則とは、例えば、「特定のトレイから給紙される印刷用紙への両面印刷は禁止」、「カラー印刷は禁止」…等いったような、プリンター52が有する様々なサポート機能への禁止事項である。従って、例えば「カラー印刷は禁止」といった禁則がユーザーの指示で採用された場合、ユーザーは、「モノクロ印刷」という初期設定を、印刷の際に「カラー印刷」へ変更することができなくなる。   Next, the application 13 acquires setting change information indicating a change in print settings in response to an input from the outside (step S410). In the second embodiment, it is assumed that the customization target is a prohibition (or support function) regarding printing. Also in this case, the application 13 displays a predetermined UI screen on the display unit 51, and acquires setting change information in accordance with a user operation through the UI screen. The prohibition is, for example, prohibitions on various support functions of the printer 52 such as “prohibit double-sided printing on printing paper fed from a specific tray”, “prohibit color printing”, etc. It is. Therefore, for example, when a prohibition such as “color printing is prohibited” is adopted in accordance with a user instruction, the user cannot change the initial setting of “monochrome printing” to “color printing” at the time of printing.

ステップS410は、例えば、次のような手順により実現される。
まず、アプリケーション13は、ドライバー12から、印刷に関する禁則を記述した禁則データ(例えば、XML形式のドキュメント)を取得する。アプリケーション13がドライバー12から取得する禁則データは、ベンダーが生成した情報であるため、禁則に対するユーザー個々の希望は当然反映されていない。次に、アプリケーション13は、ドライバー12から取得した禁則データを、UI画面を通じたユーザーの操作に応じて編集する。例えば、アプリケーション13は、「カラー印刷は禁止」、「片面印刷は禁止」といったような禁則を、ドライバー12から取得した禁則データへ追加する。また、アプリケーション13は、ドライバー12から取得した禁則データに記述されている禁則を削除することも可能である。このように禁則データを編集することが、設定変更情報を取得することに相当する。
Step S410 is realized by the following procedure, for example.
First, the application 13 obtains prohibition data (for example, an XML format document) describing prohibition on printing from the driver 12. Since the prohibition data acquired by the application 13 from the driver 12 is information generated by the vendor, the user's desires regarding the prohibition are not naturally reflected. Next, the application 13 edits the prohibition data acquired from the driver 12 in accordance with a user operation through the UI screen. For example, the application 13 adds prohibitions such as “prohibit color printing” and “prohibit single-sided printing” to the prohibition data acquired from the driver 12. Further, the application 13 can delete the prohibition described in the prohibition data acquired from the driver 12. Editing the prohibition data in this way corresponds to obtaining setting change information.

次に、アプリケーション13は、ステップS410で得た前記ユーザーの指示に応じた設定変更情報(編集後の禁則データ)を、ドライバー12が有する印刷設定プロパティに含まれるキュープロパティバッグへ保存する(ステップS420)。この場合、アプリケーション13は、WindowsPowerShellを用いてキュープロパティバッグへアクセスし、設定変更情報を保存する。以降、ドライバー12は、元から有していた禁則データに加え、キュープロパティバッグへ保存した編集後の禁則データが在る場合には、当該編集後の禁則データを優先して適用した印刷設定を採用する。   Next, the application 13 stores the setting change information (prohibited data after editing) obtained in step S410 according to the user's instruction in the queue property bag included in the print setting property of the driver 12 (step S420). ). In this case, the application 13 accesses the queue property bag using WindowsPowerShell and stores the setting change information. Thereafter, if there is prohibited data after editing stored in the queue property bag in addition to the prohibited data that the driver 12 originally had, the driver 12 sets the print settings that preferentially apply the prohibited data after editing. adopt.

ユーザーが所望の印刷対象をプリンター52に印刷させるためにドライバー12を立ち上げた際、ドライバー12は、OS11に保存されているDEVMODE構造に記述されている印刷設定を初期設定として採用する。実施例1で説明したように、当該初期設定へのカスタマイズが施された結果、モノクロ印刷、両面印刷といった設定が、初期設定となっていると仮定する。また、実施例2では、「カラー印刷は禁止」、「片面印刷は禁止」といった禁則の追加(禁則のカスタマイズ)がされたと仮定する。このような場合、ユーザーは、所望の印刷対象の印刷時に、初期設定に対してカラー印刷を有効化したり片面印刷を有効化したりする変更を行うことができない。このように実施例2によれば、ドライバー12のインストールを支援するプログラムとしてアプリケーション13を導入したことにより、ドライバー12のインストール時に、印刷の初期設定に限らず、印刷に関する禁則(あるいはサポート機能)についてもカスタマイズすることができる。   When the user starts up the driver 12 in order to cause the printer 52 to print a desired print target, the driver 12 adopts the print setting described in the DEVMODE structure stored in the OS 11 as an initial setting. As described in the first embodiment, it is assumed that settings such as monochrome printing and double-sided printing are the initial settings as a result of the customization to the initial settings. In the second embodiment, it is assumed that a prohibition such as “color printing is prohibited” and “single-sided printing is prohibited” has been added (prohibition customization). In such a case, the user cannot make a change that enables color printing or single-sided printing with respect to the initial setting when printing a desired print target. As described above, according to the second embodiment, by introducing the application 13 as a program for supporting the installation of the driver 12, not only the initial setting of printing but also the prohibition (or support function) regarding printing when the driver 12 is installed. Can also be customized.

3.実施例1,2の関係性についての補足説明:
実施例1と実施例2は、いずれもドライバー12のインストール時に実行され得る。つまり、アプリケーション13は、取得された設定変更情報に応じて、OS11に保存された印刷の初期設定を変更する(実施例1)か、ドライバー12が保存する印刷設定(禁則データ)を変更するか、を分岐すると言える。具体的には、ドライバー12のインストール(図2のステップS100あるいは図4のステップS400)後、アプリケーション13は、UI画面を通じたユーザーとの対話の中で、初期設定に対する変更を受け付けた場合、つまり取得した設定変更情報が初期設定の変更を示す情報であれば、実施例1(図2のステップS120以降の処理)を実行し、一方、設定変更情報として印刷に関する禁則の追加または削除を示す情報を得た場合は、実施例2(図4のステップS420の処理)を実行する。むろん、アプリケーション13は、UI画面を通じたユーザーとの対話の中で、初期設定に対する変更を受け付け、かつ禁則の追加または削除を受け付けた場合は、実施例1(図2のステップS120以降の処理)および実施例2(図4のステップS420の処理)を実行する。
3. Supplementary explanation about the relationship between the first and second embodiments:
Both the first and second embodiments can be executed when the driver 12 is installed. That is, whether the application 13 changes the initial print settings stored in the OS 11 according to the acquired setting change information (Example 1) or the print settings (prohibition data) stored by the driver 12. Can be said to branch. Specifically, after the installation of the driver 12 (step S100 in FIG. 2 or step S400 in FIG. 4), the application 13 receives a change to the initial setting in the dialog with the user through the UI screen, that is, If the acquired setting change information is information indicating a change in the initial setting, the first embodiment (the process after step S120 in FIG. 2) is executed, and on the other hand, information indicating addition or deletion of prohibition regarding printing as the setting change information If obtained, Example 2 (the process of step S420 in FIG. 4) is executed. Of course, when the application 13 accepts a change to the initial setting and accepts the addition or deletion of the prohibition in the dialog with the user through the UI screen, the first embodiment (the process after step S120 in FIG. 2). And Example 2 (process of step S420 of FIG. 4) is performed.

10…印刷制御装置、11…OS、12…プリンタードライバー、13…アプリケーション、20…制御部、50…入力部、51…表示部、51a…UI画面、52…プリンター DESCRIPTION OF SYMBOLS 10 ... Print control apparatus, 11 ... OS, 12 ... Printer driver, 13 ... Application, 20 ... Control part, 50 ... Input part, 51 ... Display part, 51a ... UI screen, 52 ... Printer

Claims (7)

オペレーティングシステムが管理する環境下にプリンタードライバーをインストールするインストール処理部と、
印刷設定の変更を示す設定変更情報を外部からの入力に応じて取得する情報取得部と、
前記取得した設定変更情報に基づいて、前記プリンタードライバーが採用する印刷設定を変更する印刷設定変更部と、
を備えることを特徴とする印刷制御装置。
An installation processing unit that installs the printer driver in an environment managed by the operating system;
An information acquisition unit that acquires setting change information indicating a change in print settings in response to an external input;
Based on the acquired setting change information, a print setting change unit that changes print settings adopted by the printer driver;
A printing control apparatus comprising:
前記印刷設定変更部は、前記プリンタードライバーのインストールに伴って前記オペレーティングシステムに保存された、前記プリンタードライバーが採用する印刷の初期設定を、前記設定変更情報に基づいて変更することを特徴とする請求項1に記載の印刷制御装置。   The print setting change unit, based on the setting change information, changes an initial print setting employed by the printer driver stored in the operating system upon installation of the printer driver. Item 2. The print control apparatus according to Item 1. 前記印刷設定変更部は、印刷設定を記述したプリントチケットであって前記設定変更情報を反映したプリントチケットを前記オペレーティングシステムが保存するための特定のデータ構造に変換することを、前記オペレーティングシステムを介して前記プリンタードライバーに要求し、当該要求に応じて変換された前記特定のデータ構造による印刷設定で、前記オペレーティングシステムに保存された前記特定のデータ構造による前記初期設定を上書きする、ことを特徴とする請求項2に記載の印刷制御装置。   The print setting changing unit converts the print ticket describing the print setting and reflecting the setting change information into a specific data structure for the operating system to store via the operating system. Requesting the printer driver, and overwriting the initial setting based on the specific data structure stored in the operating system with the print setting based on the specific data structure converted in response to the request. The print control apparatus according to claim 2. 前記印刷設定変更部は、前記設定変更情報に応じて、前記オペレーティングシステムに保存された前記初期設定と、前記プリンタードライバーが保存する印刷設定とのいずれかを変更することを特徴とする請求項2または請求項3に記載の印刷制御装置。   The print setting change unit changes either the initial setting saved in the operating system or a print setting saved by the printer driver according to the setting change information. Or the printing control apparatus of Claim 3. 前記印刷設定変更部は、前記設定変更情報が前記初期設定の変更を示す情報であれば、前記オペレーティングシステムに保存された前記初期設定を変更し、前記設定変更情報が印刷に関する禁則の追加または削除を示す情報であれば、前記プリンタードライバーが保存する印刷設定を変更する、ことを特徴とする請求項4に記載の印刷制御装置。   The print setting change unit changes the initial setting stored in the operating system if the setting change information is information indicating the change of the initial setting, and the setting change information adds or deletes a prohibition regarding printing. 5. The print control apparatus according to claim 4, wherein the print setting stored by the printer driver is changed if the information indicates the print information. オペレーティングシステムが管理する環境下にプリンタードライバーをインストールするインストール機能と、
印刷設定の変更を示す設定変更情報を外部からの入力に応じて取得する情報取得機能と、
前記取得した設定変更情報に基づいて、前記プリンタードライバーが採用する印刷設定を変更する印刷設定変更機能と、
をコンピューターに実行させることを特徴とする印刷設定制御プログラム。
An installation function that installs the printer driver in an environment managed by the operating system;
An information acquisition function for acquiring setting change information indicating a change in print settings in response to an external input;
Based on the acquired setting change information, a print setting change function for changing print settings adopted by the printer driver;
A print setting control program for causing a computer to execute.
オペレーティングシステムが管理する環境下にプリンタードライバーをインストールするインストール工程と、
印刷設定の変更を示す設定変更情報を外部からの入力に応じて取得する情報取得工程と、
前記取得した設定変更情報に基づいて、前記プリンタードライバーが採用する印刷設定を変更する印刷設定変更工程と、
を備えることを特徴とする印刷設定制御方法。
An installation process for installing the printer driver under an environment managed by the operating system;
An information acquisition process for acquiring setting change information indicating a change in print settings in response to an external input;
Based on the acquired setting change information, a print setting change step for changing the print settings adopted by the printer driver;
A print setting control method comprising:
JP2015126618A 2015-06-24 2015-06-24 Print control device, print setting control program and print setting control method Pending JP2017010371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015126618A JP2017010371A (en) 2015-06-24 2015-06-24 Print control device, print setting control program and print setting control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015126618A JP2017010371A (en) 2015-06-24 2015-06-24 Print control device, print setting control program and print setting control method

Publications (1)

Publication Number Publication Date
JP2017010371A true JP2017010371A (en) 2017-01-12

Family

ID=57764428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015126618A Pending JP2017010371A (en) 2015-06-24 2015-06-24 Print control device, print setting control program and print setting control method

Country Status (1)

Country Link
JP (1) JP2017010371A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019008546A (en) * 2017-06-23 2019-01-17 キヤノン株式会社 Information processing device, driver customization method and driver installation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019008546A (en) * 2017-06-23 2019-01-17 キヤノン株式会社 Information processing device, driver customization method and driver installation method

Similar Documents

Publication Publication Date Title
US8259315B2 (en) Information processing apparatus, print setting method, and storage medium for changing default setting information
US7231435B2 (en) Network system, information processing apparatus, information processing method, and control program
US20210117135A1 (en) Information processing apparatus, control method, and a storage medium
US8711416B1 (en) Server providing pseudo print preview and final regular preview to device
US8826126B1 (en) Print preview with cloud printing
JP5451352B2 (en) Print server, print setting screen providing method 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
KR20130089195A (en) Information processing apparatus, control method, and recording medium
US8988715B2 (en) Information processing apparatus, control method, and storage medium
JP7225848B2 (en) Image processing program and information processing device
US9606761B2 (en) Information processing apparatus for controlling an output process and method for the same
US8842334B2 (en) Maintaining print settings across multiple applications
US10338857B2 (en) Information processing apparatus, information processing system, and information processing method
JP2017010371A (en) Print control device, print setting control program and print setting control method
US10484569B2 (en) Information processing apparatus, recording medium, and control method for displaying information by a browser
US10540129B2 (en) Information processing device, information processing system, and information processing method for executing script included in print information
US10194038B2 (en) Information processing apparatus, information processing method, and information processing system
JP2009080793A (en) Printing method and device initiated by printer
JP4903064B2 (en) Print control apparatus, print control method, and print control program
JP5389219B2 (en) Information processing apparatus, print setting method, and program
US10552100B2 (en) Information processing apparatus that executes a printer driver for merging address books, information processing method, and non-transitory recording medium
US10586078B2 (en) Document system, control method, and storage medium
JP2023153904A (en) Information processing apparatus
JP6263916B2 (en) Information processing apparatus, control program, and image processing system
US20150237226A1 (en) Printing instruction apparatus, image forming system, printing instruction method, and computer readable medium