JP5787009B2 - Program and information processing apparatus - Google Patents
Program and information processing apparatus Download PDFInfo
- Publication number
- JP5787009B2 JP5787009B2 JP2014134544A JP2014134544A JP5787009B2 JP 5787009 B2 JP5787009 B2 JP 5787009B2 JP 2014134544 A JP2014134544 A JP 2014134544A JP 2014134544 A JP2014134544 A JP 2014134544A JP 5787009 B2 JP5787009 B2 JP 5787009B2
- Authority
- JP
- Japan
- Prior art keywords
- port
- printer driver
- output destination
- information processing
- printing
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
本発明は、印刷データを出力先に送信するプログラム、及び情報処理装置に関する。 The present invention is a program for transmitting print data to the output destination, to 及 beauty information processing apparatus.
近年、ノートPC等を利用し、各支店や各フロアを行き来するユーザーにとって、出力するプリンタを自由に選ぶことが可能な印刷システムが求められている。この要求にこたえるため、プリンタドライバにおいては、出力するプリンタを指定する画面を表示し、拠点毎に導入されているプリンタを1つのプリンタドライバで選択可能とする技術がある。つまり、印刷の度に出力先を指定する画面を表示し選択可能にすることで、出力先を容易に変更可能なプリンタドライバ(以下「モバイルドライバ」)が既に知られている。 In recent years, there has been a demand for a printing system that allows a user who travels between branches and floors using a notebook PC or the like to freely select an output printer. In order to respond to this request, there is a technique in which a printer driver displays a screen for specifying a printer to be output, and a printer installed at each site can be selected by one printer driver. That is, a printer driver (hereinafter referred to as “mobile driver”) that can easily change an output destination by displaying a screen for designating an output destination for each printing and making it selectable is already known.
例えば、特許第3483816号公報(特許文献1)には、ネットワーク上の複数個のプリンタの内から希望のプリンタを選択し、印刷指示操作パネルを通じて所定の設定入力及び印刷指示要求操作を行うだけで、ネットワーク上の複数のプリンタの切替を容易にする技術が開示されている。 For example, in Japanese Patent No. 348816 (Patent Document 1), a desired printer is selected from a plurality of printers on a network, a predetermined setting input and a print instruction request operation are performed through a print instruction operation panel. A technique for facilitating switching between a plurality of printers on a network is disclosed.
しかし、特許文献1のような従来技術では、プリンタドライバの動作上の制約により、モバイルドライバを利用する際には、印刷時に必ず出力先プリンタを選ぶという動作をユーザーが行う必要がある。その為、頻繁に出力先を変更しないユーザーにとっては煩わしいという問題があった。
However, in the conventional technology such as
そこで本発明は、上記問題に鑑みてなされたものであり、プリンタドライバの動作上の制約を回避し、出力先を変更する必要があるとき、出力先変更操作を行うことを可能にすることで、モバイルドライバ利用時のユーザーの煩わしさを軽減する情報処理装置を提供することを目的とする。 Accordingly, the present invention has been made in view of the above problems, and by avoiding restrictions on the operation of the printer driver, it is possible to perform an output destination change operation when it is necessary to change an output destination. , an object of the present invention is to provide an information processing apparatus that to reduce the user of hassle at the time of the mobile driver use.
本発明の一局面の情報処理装置は、複数の印刷装置に接続可能であり、プリンタドライバによって変換された印刷データを、ポートを介して印刷装置に出力する情報処理装置であって、前記複数の印刷装置それぞれと該印刷装置のアドレスそれぞれとを対応付けた対応情報を記憶する記憶手段と、前記複数の印刷装置を選択可能に表示する表示手段と、前記表示手段によって表示された前記複数の印刷装置から、印刷出力処理を実行させる印刷装置の指定を受け付ける指定受付手段と、複数のポートから前記プリンタドライバが印刷装置に印刷データを送信するための専用ポートを割り当て、前記指定受付手段によって指定された印刷装置のアドレスを前記対応情報に基づいて判断し、前記判断したアドレスを前記専用ポートに対応付けるアドレス設定手段と、を有し、前記プリンタドライバは、前記変換された印刷データを、前記指定受付手段によって指定を受け付けた印刷装置へ、前記専用ポートを介して送信することを特徴とする。 An information processing apparatus according to an aspect of the present invention is an information processing apparatus that can be connected to a plurality of printing apparatuses and that outputs print data converted by a printer driver to a printing apparatus via a port. Storage means for storing correspondence information in which each printing apparatus is associated with each address of the printing apparatus, display means for selectively displaying the plurality of printing apparatuses, and the plurality of prints displayed by the display means A designation accepting unit for accepting designation of a printing device for executing print output processing from the device, and a dedicated port for the printer driver to transmit print data to the printing device from a plurality of ports, and designated by the designation accepting unit The address of the selected printing apparatus is determined based on the correspondence information, and the determined address is associated with the dedicated port. Has a less setting means, wherein the printer driver, the converted print data, the to the designated receiving means by accepting the designated print apparatus, and transmits via the dedicated port.
本発明によれば、プリンタドライバの動作上の制約を回避し、出力先を変更する必要があるときに、出力先変更操作を行うことを可能にすることで、モバイルドライバ利用時のユーザーの煩わしさを軽減する情報処理装置を提供することができる。 According to the present invention, it is possible to avoid the restrictions on the operation of the printer driver and to perform the output destination changing operation when the output destination needs to be changed, thereby making the user troublesome when using the mobile driver. it is capable of providing information processing apparatus you reduce.
以下、本発明の実施例を図面に基づいて説明する。
[実施例1]
<ハードウェア構成>
まず、本発明に係る情報処理装置のハードウェア構成について説明する。図1は、本発明に係る情報処理装置1の概略ハードウェア構成の一例を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings.
[Example 1]
<Hardware configuration>
First, the hardware configuration of the information processing apparatus according to the present invention will be described. FIG. 1 is a block diagram showing an example of a schematic hardware configuration of an
図1に示すように、本発明に係る情報処理装置1は、ネットワークを介して情報処理装置1と、MFP(MFP:画像形成装置)5と、MFP6とが接続され、情報処理装置1は、CPU(Central Processing Unit)11、RAM(Random Access Memory)12、HDD(Hard Disk Drive)13、ネットワークI/F部14、入力部15、表示部16、外部記憶装置I/F部17を含む。
As shown in FIG. 1, an
CPU11は、コンピュータの中で、各装置の制御やデータの演算、加工を行うCPUである。CPU11は、RAM12に記憶されたプログラムを実行する演算装置で、入力装置や記憶装置からデータを受け取り、演算、加工した上で、出力装置や記憶装置に出力する。
The
RAM12は、CPU11が実行する基本ソフトウェアであるOSやアプリケーションソフトウェアなどのプログラムやデータを記憶又は一時保存する記憶装置である。
The
HDD13は、アプリケーションソフトウェアなどに関連するデータを記憶する記憶装置である。 The HDD 13 is a storage device that stores data related to application software and the like.
ネットワークI/F部14は、有線及び/又は無線回線などのデータ伝送路により構築されたLAN(Local Area Network)、WAN(Wide Area Network)などのネットワーク(例えばEthernet(登録商標))を介して接続された通信機能を有するMFP5、6と情報処理装置1のインタフェースである。
The network I /
入力部15や表示部16は、キースイッチ(ハードキー)とタッチパネル機能(GUIのソフトウェアキーを含む:Graphical User Interface)を備えたLCD(Liquid Crystal Display)とから構成され、情報処理装置1が有する機能を利用する際のUI(User Interface)として機能する表示及び/又は入力装置である。
The
外部記憶装置I/F部17は、USB(Universal Serial Bus)などのデータ伝送路を介して接続された記憶媒体18(例えば、フラッシュメモリなど)と当該情報処理装置とのインタフェースである。
The external storage device I /
また、記憶媒体18に、所定のプログラムを格納し、記憶媒体18に格納されたプログラムは外部記憶装置I/F部17を介して情報処理装置1にインストールされ、インストールされた所定のプログラムは情報処理装置1により実行可能となる。
Further, a predetermined program is stored in the
情報処理装置1、例えば、PC(Personal Computer)などであり、図1に示す例において情報処理装置が1つ、MFPが2つ接続されているが、情報処理装置やMFPの数がこれらに限られないことは言うまでもない。 In the example shown in FIG. 1, one information processing apparatus and two MFPs are connected, but the number of information processing apparatuses and MFPs is limited to these. Needless to say, you can't.
<機能概念>
図2は、実施例1に係る情報処理装置の機能の一例を示す概念図である。一般的な機能をまず説明すると、プリンタドライバ21で作成された印刷データは、ポートモニター22を介してポートに転送される。ポートに転送された印刷データは、ポートに設定された出力先アドレス(即ち、プリンタ)に送信される。印刷データがどのポートから送信されるかは、スプーラ24によって決定される。また、スプーラ24は、ポートの変更も行う。
<Functional concept>
FIG. 2 is a conceptual diagram illustrating an example of functions of the information processing apparatus according to the first embodiment. First, general functions will be described. Print data created by the
実施例1では図2に示すように、出力先変更アプリケーション23がインストールされると、対応する専用ポート25の出力先アドレスを変更することができる。例えば、専用ポートには出力先アドレスが複数設定されている場合、プリンタドライバ21が起動していなくても、出力先変更アプリケーション23により、印刷データを送る出力先アドレスを適宜設定変更することができる。ただし、出力先変更アプリケーション23は、専用ポート25以外のポートの出力先アドレスを変更することはできない。以下、プリンタドライバ21、ポートモニター22、出力先変更アプリケーション23について詳しく説明する。
In the first embodiment, as shown in FIG. 2, when the output
<ソフトウェア構成>
図3は、実施例1に係る情報処理装置1の主要ソフトウェア構成の一例を示すブロック図である。図3に示すように情報処理装置1は、プリンタドライバ21、ポートモニター22、出力先変更アプリケーション23を含む。
<Software configuration>
FIG. 3 is a block diagram illustrating an example of a main software configuration of the
プリンタドライバ21は、アプリケーションによって生成された画像情報をMFPが印刷するにあたって理解可能なページ記述言語に変換する。また、プリンタドライバ21は、変換したページ記述言語をポートモニター22に出力する。また、プリンタドライバ21は、ノートPCなどのモバイル環境からオフィスのプリンタに印刷を行うためのプリンタドライバ(モバイルドライバ)であることを想定する。
The
ポートモニター22は、プリンタドライバ21から出力されたページ記述言語を、あらかじめ設定されたMFP(出力先ともいう)に対し、Ethernet(登録商標)やUSB(Universal Serial Bus)などを通じて出力する。ここでは、Ethernet(登録商標)に接続されていることを前提とする。また、ポートモニター22の具体例としては、Windows(登録商標)のネットワークプリンター向けのポートモニターであるStandard TCP/IP Portと呼ばれるものがある。
The port monitor 22 outputs the page description language output from the
出力先変更アプリケーション23は、ユーザーからの指示などにより、ポートモニター22に設定されている出力先を変更するための通知をポートモニター22に行う。通知においては、設定されている出力先のアドレス(例えばTCP/IPにおけるIPアドレス)を、ユーザーにより新たに選択又は入力された出力先のアドレスに変更するために、Windows(登録商標)で規定されているxcvコマンドを用いて行う。xcvコマンドは、外部から出力先のアドレスを変更するのに用いるコマンドである。
The output
<機能構成>
図4は、実施例1に係る情報処理装置1の主要機能構成の一例を示すブロック図である。図4に示すようにプリンタドライバ21は、出力先変更要求通知手段211を含み、ポートモニター22は、ポートモニター変更受信手段221、ポートモニター設定変更手段222を含み、出力先変更アプリケーション23は、UI表示手段231、出力先変更要求受信手段232、ポートモニター変更通知手段233、印刷状態確認手段234、電源状態確認手段235を含む。
<Functional configuration>
FIG. 4 is a block diagram illustrating an example of a main functional configuration of the
以下、プリンタドライバ21、ポートモニター22、出力先変更アプリケーション23の順に機能を説明する。
Hereinafter, functions will be described in the order of the
プリンタドライバ21の出力先変更要求通知手段211は、ユーザーが印刷ボタンを押下したことを検知すると、出力先変更アプリケーション23に対して、出力先変更要求を行う。出力先変更要求はRPC(Remote Procedure Call)を用いて行われる。
When the output destination change
次に、ポートモニター22(通信制御手段)のポートモニター変更受信手段221は、後述するポートモニター変更通知手段233から出力先の変更要求を受信する。このとき、ポートモニター変更受信手段221は、変更する出力先の情報も取得する。出力先の情報は、例えば、出力先のアドレスなどである。 Next, the port monitor change receiving means 221 of the port monitor 22 (communication control means) receives an output destination change request from the port monitor change notifying means 233 described later. At this time, the port monitor change receiving means 221 also acquires information on the output destination to be changed. The output destination information is, for example, an output destination address.
ポートモニター設定変更手段222は、設定されている出力先からポートモニター変更受信手段221により受信された出力先に設定変更する。これより、出力先の設定変更が終了した後から印刷ジョブの出力先が変更されることになる。
The port monitor setting changing unit 222 changes the setting from the set output destination to the output destination received by the port monitor
次に、出力先変更アプリケーション23(出力先変更手段)のUI表示手段231は、プリンタドライバ21が非起動中であってもユーザーからの指示により、ユーザーに出力先を選択、又は、入力させるための出力先変更画面を表示部16に表示する。図5は、出力先変更画面の一例を示す図である。図5に示すように、「PrinterA」、「PrinterB」、「PrinterC」の中から1つをユーザーにより選択可能とする。また、UI表示手段231は、選択されたMFPを示す識別情報をポートモニター変更通知手段233に出力する。
Next, the
なお、出力先変更画面において、MFPのアドレスをユーザーが直接入力したり、接続されているMFPを検索して、検索結果からユーザーが選択したりするようにしてもよい。また、UI表示手段231は、後述する出力先変更要求受信手段232から出力先変更画面の表示要求を受けた場合にも、出力先変更画面を表示部16に表示する。さらに、UI表示手段231は、付加的な機能として、印刷状態確認手段234、電源状態確認手段235からエラー通知を受けた場合は、エラー表示を行う。
On the output destination change screen, the user may directly input the MFP address, or search for a connected MFP, and the user may select from the search result. The
図4に戻り、出力先変更要求受信手段232は、出力先変更要求通知手段211により出力先変更要求を受けた場合、UI表示手段231に対して出力先変更画面の表示要求を行う。
Returning to FIG. 4, when the output destination change
ポートモニター変更通知手段233は、UI表示手段231から取得した識別情報に対応するアドレスを、Windows(登録商標)で規定されているxcvコマンドを用いてポートモニター22に通知する。また、ポートモニター変更通知手段233は、出力先の識別情報とアドレスとを対応づけた情報を保持しておく。
The port monitor
印刷状態確認手段234は、ポートモニター22に設定されている出力先が使用されているか否かを判定する。印刷状態確認手段234は、出力先が印刷データを印刷している最中(使用中)だと判定した場合、UI表示手段231にエラー通知を行う。また、印刷状態確認手段234は、出力先が未使用だと判定した場合は、ポートモニター変更通知手段233にその旨通知する。
The print
次に、出力先が印刷中であるか否かの判断について説明する。印刷状態確認手段234は、まず、MFPと通信を行ない印刷中のJob一覧を取得する。次に、取得した結果Jobが1つもなければ「印刷中ではない」と判断し、取得した結果Jobが1つ以上あれば「印刷中」と判断する。
Next, the determination of whether the output destination is printing is described. First, the print
これより、印刷中に出力先の変更を行う操作が発生した場合に、印刷データが途中から別のMFPに送信されてしまうなどの不都合を防止することができる。 As a result, it is possible to prevent inconvenience such as print data being transmitted to another MFP halfway when an operation for changing the output destination occurs during printing.
電源状態確認手段235は、ポートモニター22に設定されている出力先と通信可能であるか否かを判定する。通信不可能な場合とは、例えば、出力先のMFPの電源がOFFであったり、ネットワークが遮断されていたりなどが考えられる。電源状態確認手段235は、出力先との通信が不可能であると判定した場合、UI表示手段231にエラー通知を行う。また、電源状態確認手段235は、出力先との通信が可能であると判定した場合、ポートモニター変更通知手段233にその旨通知する。
The power
これより、ユーザーが出力先を変更した直後に印刷が行えないという不都合を防ぐことができる。 Accordingly, it is possible to prevent the inconvenience that printing cannot be performed immediately after the user changes the output destination.
なお、通信可能か否かの判定は、情報処理装置とMFPとで双方向通信を行ない、情報処理装置からMFPの機器情報の取得要求を行うことでMFPの電源の状況を調べることで判定を行なう。 Whether or not communication is possible is determined by performing bidirectional communication between the information processing apparatus and the MFP, and checking the power supply status of the MFP by requesting acquisition of MFP device information from the information processing apparatus. Do.
ここで、前述した印刷状態確認手段234及び/又は電源状態確認手段235により確認を行う場合、ポートモニター変更通知手段233は、印刷状態確認手段234及び/又は電源状態確認手段235により前述した通知を受けた場合に、ポートモニター22に変更通知を行う。これより、より確実かつ安全に出力先を変更することができる。
Here, when the confirmation is performed by the printing
<動作>
図6は、情報処理装置1の出力先変更処理の一例を示すシーケンス図である。図6に示すように、ステップS11において、ユーザーは、出力先変更アプリケーション23を起動する。
<Operation>
FIG. 6 is a sequence diagram illustrating an example of the output destination change process of the
ステップS12において、出力先変更アプリケーション23(UI表示手段231)は、ユーザーからの指示を受けると、出力先変更画面を表示部16に表示する。
In step S <b> 12, the output destination change application 23 (UI display unit 231) displays an output destination change screen on the
ステップS13において、ユーザーは、印刷データの出力先を選択する。例えば、図5に示すような出力先変更画面の場合は、出力先を1つ選択してOKボタンを押下する。これより、出力先アプリケーション23は、選択された出力先を特定することができるようになる。
In step S13, the user selects an output destination of print data. For example, in the case of an output destination change screen as shown in FIG. 5, one output destination is selected and the OK button is pressed. As a result, the
ステップS14において、出力先変更アプリケーション23(ポートモニター変更通知手段233)は、ユーザーにより選択された出力先のアドレスを、xcvコマンドを用いてポートモニター22に通知する。 In step S14, the output destination change application 23 (port monitor change notification means 233) notifies the port monitor 22 of the address of the output destination selected by the user using the xcv command.
ステップS15において、ポートモニター22は、設定されている出力先のアドレスを、出力先変更アプリケーション23からxcvコマンド経由で通知された出力先のアドレスに設定変更する。これより、次回以降の出力先は、変更後の出力先になる。
In step S15, the port monitor 22 changes the setting of the set output destination address to the output destination address notified from the output
以上、プリンタドライバの動作上の制約を回避し、印刷の都度ではなく出力先を変更する必要があるとき、出力先変更操作を行うことを可能にする。つまり、印刷処理とは関係なく、ユーザーが所望のタイミングで印刷データの出力先を変更することができる。 As described above, restrictions on the operation of the printer driver are avoided, and it is possible to perform an output destination change operation when it is necessary to change the output destination instead of every printing. That is, regardless of the printing process, the user can change the output destination of the print data at a desired timing.
次に、出力先変更アプリケーション23は、所定の条件を満たすか否かを判定し、所定の条件を満たすと判定された場合に、出力先のアドレスをポートモニター22に通知する。
Next, the output
図7は、実施例1における出力先の使用判定処理の一例を示すシーケンス図である。図7に示す処理において、図6に示す処理と同様の処理を行うものは同じ符号を付し、その説明を省略する。 FIG. 7 is a sequence diagram illustrating an example of an output destination use determination process according to the first embodiment. In the process shown in FIG. 7, the same reference numerals are given to the same processes as those shown in FIG. 6, and the description thereof is omitted.
ステップS21において、出力先変更アプリケーション23(印刷状態確認手段234)は、ポートに設定されているMFPが印刷中であるかを確認し、ステップS22において、使用中(印刷中)だと判定した場合はステップS23に進み、未使用だと判定した場合はステップS14に進む。ステップS14以降は前述した通りである。 In step S21, the output destination changing application 23 (printing status confirmation unit 234) confirms whether the MFP set in the port is printing, and determines in step S22 that it is in use (printing). Advances to step S23, and if determined to be unused, advances to step S14. Step S14 and subsequent steps are as described above.
ステップS23において、UI表示手段231は、印刷状態確認手段234からエラー通知(使用中である旨の通知)を受けた場合、表示部16に変更できない旨を表示する。
In step S <b> 23, when the
また、図8は、実施例1における出力先の通信判定処理の一例を示すシーケンス図である。図8に示す処理において、図6に示す処理と同様の処理を行うものは同じ符号を付し、その説明を省略する。 FIG. 8 is a sequence diagram illustrating an example of an output destination communication determination process according to the first embodiment. In the processing shown in FIG. 8, the same reference numerals are given to the same processing as the processing shown in FIG. 6, and description thereof is omitted.
ステップS31において、出力先変更アプリケーション23(電源状態確認手段235)は、ポートに設定されているMFPと双方向通信を行ない、MFPの電源が入っているかを確認し、ステップS22において、電源OFFだと判定した場合はステップS33に進み、電源ONだと判定した場合はステップS14に進む。ステップS14以降は前述した通りである。 In step S31, the output destination change application 23 (power supply status checking unit 235) performs bidirectional communication with the MFP set in the port to check whether the MFP is turned on. In step S22, the power is turned off. If it is determined, the process proceeds to step S33, and if it is determined that the power is ON, the process proceeds to step S14. Step S14 and subsequent steps are as described above.
ステップS33において、UI表示手段231は、電源状態確認手段235からエラー通知(電源OFFである旨の通知)を受けた場合、表示部16に変更できない旨を表示する。
In step S <b> 33, when the
以上、実施例1によれば、印刷状態確認手段234を設けることで、MFPの印刷中に出力先の変更を行う操作が発生した場合に、印刷データが途中から別のMFPに送信されてしまうなどの不都合を防止することができる。また、電源状態確認手段235を設けることで、ユーザーが出力先を変更した直後に印刷が行えないという不都合を防ぐことができる。なお、印刷状態確認手段234、電源状態確認手段235は、いずれか一方を設けたり、両方設けたり、又は両方設けなかったりすることができる。
As described above, according to the first embodiment, by providing the printing
また、前述した印刷状態確認手段234は、出力先のMFPが印刷中であればエラー通知を行うようにしたが、エラー通知を行うのではなく出力先の印刷終了を待って、印刷終了後にポートモニター変更通知手段233に変更指示を行うようにしてもよい。
In addition, the above-described print
また、前述した電源状態確認手段235は、出力先のMFPが通信不可能であればエラー通知を行うようにしたが、エラー通知を行うのではなく出力先が通信可能になるのを待って、通信可能になった後にポートモニター変更通知手段233に変更指示を行うようにしてもよい。
In addition, the power
次に、ユーザーが任意のタイミングで印刷データの出力先を変更するのではなく、従来どおりの動作を行うために、プリンタドライバから出力先変更アプリケーションへ出力先変更画面の表示指示を行う処理について説明する。 Next, instead of changing the print data output destination at an arbitrary timing, the process for instructing the output destination change screen to be displayed from the printer driver to the output destination change application in order to perform the conventional operation will be described. To do.
図9は、実施例1における出力先変更処理の別例を示すシーケンス図である。図9に示す処理において、図6に示す処理と同様の処理を行うものは同じ符号を付し、その説明を省略する。 FIG. 9 is a sequence diagram illustrating another example of the output destination changing process according to the first embodiment. In the processing shown in FIG. 9, the same reference numerals are given to the same processing as the processing shown in FIG. 6, and description thereof is omitted.
ステップS41において、ユーザーが印刷ボタンを押下した場合、プリンタドライバ21にその旨通知される。
In step S41, when the user presses the print button, the
ステップS42において、プリンタドライバ21は、ユーザーが印刷ボタンを押下したことを通知されると、出力先変更アプリケーション23に対して、出力先変更要求を行う。この出力先変更要求はRPC(Remote Procedure Call)を用いて行われる。
In step S <b> 42, when notified that the user has pressed the print button, the
ステップS12以降は前述した通りであって、ステップS15において出力先が変更されると、ステップS43においてプリンタドライバ21は、印刷設定画面を表示する。
Step S12 and subsequent steps are as described above. When the output destination is changed in step S15, the
これより、ユーザーは従来どおり印刷するときに出力先を変更することが可能となる。図9に示す例では、印刷設定画面を表示する前に、ステップS42の要求を出力先変更アプリケーション23に行ったが、このタイミングに限らず、ユーザーが印刷実行ボタンを押下した後で、実際に印刷データを送信する前にステップS42の要求を出力先変更アプリケーション23に行うようにしてもよい。
As a result, the user can change the output destination when printing as usual. In the example shown in FIG. 9, the request of step S42 is made to the output
以上、実施例1によれば、出力先変更をプリンタドライバから独立したアプリケーションで行うようにした場合でも、ユーザーが印刷を行うときに出力先変更が可能になる。
[実施例2]
次に、実施例2に係る情報処理装置の機能について説明する。実施例2では、出力先変更アプリケーションは、スプーラを利用して印刷データの送信に用いられるポートを変更する。これより、出力先変更アプリケーションがインストールされた際、又はプリンタドライバが新たにインストールされた際、ユーザー自身がプリンタドライバのポートを出力先変更アプリケーションの専用ポートに設定する必要がなく、自動で専用ポートに設定変更することが可能になる。
As described above, according to the first embodiment, even when the output destination is changed by an application independent of the printer driver, the output destination can be changed when the user performs printing.
[Example 2]
Next, functions of the information processing apparatus according to the second embodiment will be described. In the second embodiment, the output destination changing application uses a spooler to change a port used for transmission of print data. As a result, when the output destination change application is installed or when a printer driver is newly installed, the user does not have to set the port of the printer driver as the dedicated port of the output destination change application, and the dedicated port is automatically set. It becomes possible to change the setting.
また、実施例2におけるプリンタドライバは、複数の機種に対応するユニバーサルドライバやモバイルドライバを対象とする。 In addition, the printer driver in the second embodiment targets universal drivers and mobile drivers corresponding to a plurality of models.
<機能概念>
図10は、実施例1に係る情報処理装置の機能の一例を示す概念図である。実施例2では図10に示すように、出力先変更アプリケーション31は、スプーラ32を利用して印刷データ送信に用いられるポートを変更することができる。つまり、プリンタドライバ33が、出力先変更アプリケーション31のインストール前はポートA35を用いていた場合でも、インストール後はポートA35から専用ポート25に自動で変更することが可能になる。
<Functional concept>
FIG. 10 is a conceptual diagram illustrating an example of functions of the information processing apparatus according to the first embodiment. In the second embodiment, as illustrated in FIG. 10, the output
また、新たにインストールされたプリンタドライバ33がデフォルト設定でポートAを用いていた場合でも、出力先変更アプリケーション31によってポートA35から専用ポート25に変更することが可能になる。
Even when the newly installed
<機能構成>
図11は、実施例2に係る主要機能構成の一例を示すブロック図である。図11に示すように、情報処理装置は、出力先変更アプリケーション31、スプーラ32、プリンタドライバ33、ポートモニター34を含む。
<Functional configuration>
FIG. 11 is a block diagram illustrating an example of a main functional configuration according to the second embodiment. As illustrated in FIG. 11, the information processing apparatus includes an output
次に、出力先変更アプリケーション31について説明するが、図4に示す機能と同様の機能は同じ符号を付し、その説明を省略する。ポート変更要求手段311は、図12に示すドライバリストを参照して、ドライバリストに含まれるプリンタドライバに対して、専用ポート25を用いるようスプーラ32に対してポート変更要求を行う。このとき、ポート変更要求手段311は、プリンタドライバの識別情報を含めたポート変更要求を行う。
Next, although the output
図12は、ドライバリストの一例を示す図である。図12に示すように、専用ポートを用いるプリンタドライバがリスト化されている。なお、ドライバリストは、ポート変更要求手段311が保持しても良いし、外部のメモリに記憶されても良い。また、図11に示す例では、プリンタドライバ33は、ドライバリストに含まれるとする。
FIG. 12 is a diagram illustrating an example of a driver list. As shown in FIG. 12, printer drivers that use dedicated ports are listed. The driver list may be held by the port
また、ポート変更要求手段311は、出力先変更アプリケーション31がインストールされた際、及び/又は新たにプリンタドライバがインストールされた際に、ポート変更要求を行うか否かの判定を行う。また、ポート変更要求手段311は、出力先変更アプリケーション31の外部に設ける構成にしても良い。
Further, the port
スプーラ32は、ポート変更要求手段311からポート変更要求を受けると、ポート変更要求に含まれるプリンタドライバ33に対して、専用ポート25が用いられるようポートの設定変更を行う。
When the
プリンタドライバ33は、専用ポート25を用いるように変更された後は、専用ポート25に印刷データを送信する。
The
ポートモニター34は、プリンタドライバ33から送信された印刷データを専用ポート25に設定されている出力先アドレスに出力する。なお、出力先については、実施例1同様、出力先変更アプリケーション31により任意のタイミングで設定変更することができる。
The port monitor 34 outputs the print data transmitted from the
<動作>
次に、実施例2におけるポート変更処理の動作について説明する。ポート変更処理は、出力先変更アプリケーションのインストール時と、新たにプリンタドライバがインストールされた時に行われる。
<Operation>
Next, the operation of the port change process in the second embodiment will be described. The port change process is performed when the output destination change application is installed and when a printer driver is newly installed.
図13は、出力先変更アプリケーションのインストール時におけるポート変更処理の一例を示すフローチャートである。図13に示すように、ステップS51において、ポート変更要求手段311は、インストール済みのプリンタドライバの検索を行う。
FIG. 13 is a flowchart illustrating an example of port change processing at the time of installation of the output destination change application. As shown in FIG. 13, in step S51, the port
ステップS52において、ポート変更要求手段311は、検索されたプリンタドライバが図12に示すドライバリストに含まれるか否かを判定する。つまり、出力先変更アプリケーションの専用ポートを用いるプリンタドライバ(対象ドライバ)であるか否かが判定される。ステップS52の判定結果がYES(対象ドライバ)であればステップS53に進み、判定結果がNO(非対象ドライバ)であればステップS54に進む。
In step S52, the port
ステップS53において、ポート変更要求手段311は、スプーラ32に対して、プリンタドライバの識別情報を含めたポート変更要求を行う。スプーラ32は、ポート変更要求に含まれるプリンタドライバに対して、プリンタドライバが用いるポートを専用ポートに設定変更する。
In step S <b> 53, the port
ステップS54において、ポート変更要求手段311は、インストール済みの全ドライバを検索したか否かを判定する。ステップS54の判定結果がYES(検索した)であればポート変更処理を終了し、判定結果がNO(全て検索していない)であればステップS51に戻る。
In step S54, the port
図14は、プリンタドライバのインストール時におけるポート変更処理の一例を示すフローチャートである。図14に示すように、ステップS61において、ポート変更要求手段311は、プリンタドライバがインストールされたことを検知する。インストールの検知についてはポート変更要求手段311が行っても良いし、他に検知手段を設けて検知手段からポート変更要求手段311に検知されたことを通知されるようしても良い。
FIG. 14 is a flowchart illustrating an example of a port change process when the printer driver is installed. As shown in FIG. 14, in step S61, the port
ステップS62において、ポート変更要求手段311は、インストールされたプリンタドライバがドライバリストに含まれるか否かを判定する。つまり、出力先変更アプリケーションの専用ポートを用いるプリンタドライバ(対象ドライバ)であるか否かが判定される。ステップS62の判定結果がYES(対象ドライバ)であればステップS54に進み、判定結果がNO(非対象ドライバ)であればポート変更処理を終了する。
In step S62, the port
次に、ステップS54において、図13に示す処理と同様の処理が行われ、インストールされたプリンタドライバのポートは専用ポートに設定される。 Next, in step S54, processing similar to that shown in FIG. 13 is performed, and the port of the installed printer driver is set as a dedicated port.
以上、実施例2によれば、ユーザー自身がプリンタドライバのポートを出力先変更アプリケーションに対応する専用ポートに設定する必要がなく、自動で専用ポートに設定変更することが可能になる。 As described above, according to the second embodiment, it is not necessary for the user himself to set the port of the printer driver as a dedicated port corresponding to the output destination changing application, and the setting can be automatically changed to the dedicated port.
以上、本発明の実施例について詳述したが、本発明は係る特定の実施例に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。また、前述した実施例の構成要素を全部又は複数を組み合わせて情報処理装置を構成することも可能である。 Although the embodiments of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and various modifications and changes can be made within the scope of the gist of the present invention described in the claims. It can be changed. It is also possible to configure the information processing apparatus by combining all or a plurality of the components of the above-described embodiments.
なお、実施例において説明した処理内容をプログラムとし、このプログラムをコンピュータに実行させて前述した処理を情報処理装置に実行させることも可能である。また、このプログラムを記録媒体に記録し、このプログラムが記録された記録媒体をコンピュータに読み取らせて、前述した処理を情報処理装置に実行させることも可能である。 Note that the processing content described in the embodiments may be a program, and the computer may execute the program to cause the information processing apparatus to execute the processing described above. It is also possible to record the program on a recording medium, cause the computer to read the recording medium on which the program is recorded, and cause the information processing apparatus to execute the processing described above.
1 情報処理装置
5、6 MFP
11 CPU
12 RAM
13 HDD
14 ネットワークI/F部
15 入力部
16 表示部
17 外部記憶装置I/F部
21、33 プリンタドライバ
22、34 ポートモニター
24、32 スプーラ
23、31 出力先変更アプリケーション
211 出力先変更要求通知手段
221 ポートモニター変更受信手段
222 ポートモニター設定変更手段
231 UI表示手段
232 出力先変更要求受信手段
233 ポートモニター変更通知手段
234 印刷状態確認手段
235 電源状態確認手段
311 ポート変更要求手段
1
11 CPU
12 RAM
13 HDD
14 Network I /
Claims (8)
前記複数の印刷装置それぞれと該印刷装置のアドレスそれぞれとを対応付けた対応情報を記憶する記憶手段と、Storage means for storing correspondence information in which each of the plurality of printing apparatuses is associated with each address of the printing apparatus;
前記複数の印刷装置を選択可能に表示する表示手段と、Display means for selectively displaying the plurality of printing devices;
前記表示手段によって表示された前記複数の印刷装置から、印刷出力処理を実行させる印刷装置の指定を受け付ける指定受付手段と、Designation accepting means for accepting designation of a printing apparatus for executing print output processing from the plurality of printing apparatuses displayed by the display means;
複数のポートから前記プリンタドライバが印刷装置に印刷データを送信するための専用ポートを割り当て、前記指定受付手段によって指定された印刷装置のアドレスを前記対応情報に基づいて判断し、前記判断したアドレスを前記専用ポートに対応付けるアドレス設定手段と、The printer driver allocates a dedicated port for transmitting print data to the printing apparatus from a plurality of ports, determines the address of the printing apparatus designated by the designation receiving means based on the correspondence information, and determines the determined address Address setting means associated with the dedicated port;
を有し、 Have
前記プリンタドライバは、前記変換された印刷データを、前記指定受付手段によって指定を受け付けた印刷装置へ、前記専用ポートを介して送信することを特徴とする情報処理装置。The information processing apparatus, wherein the printer driver transmits the converted print data to a printing apparatus that has received a designation by the designation receiving unit via the dedicated port.
前記アドレス設定手段は、The address setting means includes
前記印刷状態確認手段によって処理が実行中と判定されなかったときに、前記判断したアドレスを前記専用ポートに対応付けることを特徴とする請求項1に記載の情報処理装置。The information processing apparatus according to claim 1, wherein the determined address is associated with the dedicated port when the print status confirmation unit does not determine that the process is being executed.
前記確認手段によって通信可能であると判定されたときに、前記判断したアドレスを前記専用ポートに対応付けることを特徴とする請求項1に記載の情報処理装置。The information processing apparatus according to claim 1, wherein when the confirmation unit determines that communication is possible, the determined address is associated with the dedicated port.
前記専用ポートを介して印刷データを送信するプリンタドライバを示すドライバリストを記憶するドライバリスト記憶手段と、A driver list storage unit that stores a driver list indicating a printer driver that transmits print data via the dedicated port;
前記複数のプリンタドライバのうち所定のプリンタドライバが、前記ドライバリストに含まれるか否かを判断する判断手段と、Determining means for determining whether a predetermined printer driver among the plurality of printer drivers is included in the driver list;
前記判断手段によって含まれると判断されたプリンタドライバが前記ポートを用いるように該プリンタドライバが用いるポートを前記専用ポートに変更するポート変更手段と、Port changing means for changing the port used by the printer driver to the dedicated port so that the printer driver determined to be included by the determining means uses the port;
を有することを特徴とする請求項1に記載の情報処理装置。The information processing apparatus according to claim 1, further comprising:
前記複数の印刷装置それぞれと該印刷装置のアドレスそれぞれとを対応付けた対応情報を記憶する記憶手段と、Storage means for storing correspondence information in which each of the plurality of printing apparatuses is associated with each address of the printing apparatus;
前記複数の印刷装置を選択可能に表示する表示手段と、Display means for selectively displaying the plurality of printing devices;
前記表示手段によって表示された前記複数の印刷装置から、印刷出力処理を実行させる印刷装置の指定を受け付ける指定受付手段と、Designation accepting means for accepting designation of a printing apparatus for executing print output processing from the plurality of printing apparatuses displayed by the display means;
複数のポートから前記プリンタドライバが印刷装置に印刷データを送信するための専用ポートを割り当て、前記指定受付手段によって指定された印刷装置のアドレスを前記対応情報に基づいて判断し、前記判断したアドレスを前記専用ポートに対応付けるアドレス設定手段と、The printer driver allocates a dedicated port for transmitting print data to the printing apparatus from a plurality of ports, determines the address of the printing apparatus designated by the designation receiving means based on the correspondence information, and determines the determined address Address setting means associated with the dedicated port;
として前記情報処理装置を機能させ、The information processing apparatus as
前記プリンタドライバは、前記変換された印刷データを、前記指定受付手段によって指定を受け付けた印刷装置へ、前記専用ポートを介して送信することを特徴とするプログラム。The printer driver transmits the converted print data to the printing apparatus that has received a designation by the designation receiving unit via the dedicated port.
前記アドレス設定手段は、The address setting means includes
前記印刷状態確認手段によって処理が実行中と判定されなかったときに、前記判断したアドレスを前記専用ポートに対応付けることを特徴とする請求項5に記載のプログラム。6. The program according to claim 5, wherein the determined address is associated with the dedicated port when it is not determined that the process is being executed by the print status confirmation unit.
前記確認手段によって通信可能であると判定されたときに、前記判断したアドレスを前記専用ポートに対応付けることを特徴とする請求項5に記載のプログラム。The program according to claim 5, wherein when the confirmation unit determines that communication is possible, the determined address is associated with the dedicated port.
前記情報処理装置を、The information processing apparatus;
前記専用ポートを介して印刷データを送信するプリンタドライバを示すドライバリストを記憶するドライバリスト記憶手段と、A driver list storage unit that stores a driver list indicating a printer driver that transmits print data via the dedicated port;
前記複数のプリンタドライバのうち所定のプリンタドライバが、前記ドライバリストに含まれるか否かを判断する判断手段と、Determining means for determining whether a predetermined printer driver among the plurality of printer drivers is included in the driver list;
前記判断手段によって含まれると判断されたプリンタドライバが前記ポートを用いるように該プリンタドライバが用いるポートを前記専用ポートに変更するポート変更手段と、Port changing means for changing the port used by the printer driver to the dedicated port so that the printer driver determined to be included by the determining means uses the port;
として機能させることを特徴とする請求項5に記載のプログラム。The program according to claim 5, wherein the program is made to function as:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014134544A JP5787009B2 (en) | 2009-01-19 | 2014-06-30 | Program and information processing apparatus |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009009089 | 2009-01-19 | ||
| JP2009009089 | 2009-01-19 | ||
| JP2014134544A JP5787009B2 (en) | 2009-01-19 | 2014-06-30 | Program and information processing apparatus |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009109886A Division JP2010186458A (en) | 2009-01-19 | 2009-04-28 | Program, recording medium, and information processing apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014211894A JP2014211894A (en) | 2014-11-13 |
| JP5787009B2 true JP5787009B2 (en) | 2015-09-30 |
Family
ID=51931554
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014134544A Expired - Fee Related JP5787009B2 (en) | 2009-01-19 | 2014-06-30 | Program and information processing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5787009B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4485997B2 (en) * | 2005-06-13 | 2010-06-23 | 株式会社リコー | Print control apparatus, print control system, print control method, print control program, and recording medium |
| JP4810318B2 (en) * | 2006-06-06 | 2011-11-09 | キヤノン株式会社 | Port monitor program, data processing method, information processing apparatus, and storage medium |
| JP4844347B2 (en) * | 2006-10-24 | 2011-12-28 | コニカミノルタビジネステクノロジーズ株式会社 | Print control apparatus, print control method, and print control program |
-
2014
- 2014-06-30 JP JP2014134544A patent/JP5787009B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014211894A (en) | 2014-11-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2010186458A (en) | Program, recording medium, and information processing apparatus | |
| US8773691B2 (en) | Printing control apparatus, printing control method, and storage medium | |
| JP6331910B2 (en) | Information processing apparatus, information processing system, and program | |
| US10642559B2 (en) | Image forming device that determines whether additional information is necessary to execute a print job received from a terminal device, and image forming system and non-transitory readable recording medium | |
| KR101636552B1 (en) | Host apparatus and server connected to image forming apparatus and print method thereof | |
| WO2013111233A1 (en) | Information processing apparatus, method, and program | |
| JP2015001814A (en) | Information processor, method for controlling information processor and program | |
| JP2023115336A (en) | Program and control method | |
| JP4933302B2 (en) | Printing system, printing apparatus, and reprint control method | |
| JP2010089288A (en) | Printing apparatus and controlling method thereof | |
| JP2020095495A (en) | Information processing apparatus, program, and control method | |
| JP2014063421A (en) | Printer server and printing control program | |
| JP5304201B2 (en) | Computer program, server device, portable device, and system for controlling job processing | |
| JP2008140192A (en) | Printing system, printing apparatus, terminal apparatus, print setting method, and print setting program | |
| JP2017204139A (en) | Update application and update method | |
| JP6648588B2 (en) | Image forming system, image forming apparatus, and program | |
| JP5787009B2 (en) | Program and information processing apparatus | |
| JP4639917B2 (en) | Image forming apparatus and image forming system | |
| JP7155989B2 (en) | Information processing device, recording medium and information processing method | |
| JP2009080793A (en) | Printing method and device initiated by printer | |
| JP2017068372A (en) | Information processing system, information processing apparatus, control method, and program | |
| JP2012063996A (en) | Information processor, information processing method, program, and computer-readable recording medium | |
| JP2009104282A (en) | Printing system and printing program | |
| JP2020016951A (en) | Information processing apparatus, control method, and program | |
| JP2006244378A (en) | Image forming apparatus, and its controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150527 |
|
| 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: 20150630 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150713 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5787009 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| LAPS | Cancellation because of no payment of annual fees |