JP2004362362A - Printing control server program, document printing control program, and printing control method - Google Patents

Printing control server program, document printing control program, and printing control method Download PDF

Info

Publication number
JP2004362362A
JP2004362362A JP2003161344A JP2003161344A JP2004362362A JP 2004362362 A JP2004362362 A JP 2004362362A JP 2003161344 A JP2003161344 A JP 2003161344A JP 2003161344 A JP2003161344 A JP 2003161344A JP 2004362362 A JP2004362362 A JP 2004362362A
Authority
JP
Japan
Prior art keywords
document
client terminal
printer
print
terminal 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
JP2003161344A
Other languages
Japanese (ja)
Inventor
Hiroyuki Torii
博幸 鳥居
Takeshi Taneishi
豪 種石
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2003161344A priority Critical patent/JP2004362362A/en
Publication of JP2004362362A publication Critical patent/JP2004362362A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a system enabling the printing of a document by an optional printer from an optional client terminal device without defining terminal information on a host device side. <P>SOLUTION: A Web application reports terminal information to a designated printing service application, and the printing service application forms and stores an electronic file capable of being referred to in a Web environment. A service screen application starts a printing application on a terminal for which a printing is requested, and the electronic file matched to the terminal information is printed in a printing destination printer. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、印刷制御サーバプログラム、ドキュメント印刷制御プログラム、および印刷制御方法に関する。特に、ネットワーク環境において、クライアント端末装置の情報およびプリンタ装置の情報をホスト装置側において定義することなく、任意のクライアント端末装置から任意のプリンタ装置にドキュメントを印刷することが可能な、印刷制御サーバプログラム、ドキュメント印刷制御プログラム、および印刷制御方法に関する。
【0002】
主として、製造・流通・自治体における財務・会計・人事・給与・物品・調達などのあらゆるドキュメントの発行処理が対象で業種や業務に依存せず幅広いシステムに適応する。
【0003】
【従来の技術】
従来、ネットワーク環境におけるドキュメント印刷制御システムにおいては、クライアント端末装置からプリンタ装置へのドキュメントの印刷を、主に以下のいずれかの従来技術を用いて実現していた。
(1)第1の従来技術(電子ファイル方式)
まず、クライアント端末装置上の業務画面からサーバ装置上のWebアプリケーションに対して、ドキュメント(帳票、伝票など)の作成依頼を行う。
【0004】
すると、サーバ装置上において、Webアプリケーションが、クライアント端末装置から作成指示されたドキュメントの印刷依頼を、印刷業務アプリケーションに対して行う。印刷業務アプリケーションでは、ドキュメントを印刷するのではなく、ネットワーク環境で参照できる電子ファイル(例えば、PDFファイルなど)で作成し、そのファイル名をWebアプリケーションに通知する。そして、Webアプリケーションでは、そのファイル名を上記クライアント端末装置上の業務画面に通知する。
【0005】
次に、利用者が、クライアント端末装置上の業務画面に通知された電子ファイル名を指示(クリック)することにより、Webアプリケーションが動作するサーバ装置からクライアント端末装置にその電子ファイルがダウンロードされ、電子ファイルに関連付けされた表示・印刷用プログラムが起動され、ドキュメントの印刷を行う。
(2)第2の従来技術(リモートプリンタ方式)
クライアント端末装置上の業務画面より、ホスト装置上のWebアプリケーションにドキュメントの作成依頼を行うと同時に、印刷先のリモートプリンタ装置を指定する。
【0006】
すると、Webアプリケーションが、印刷業務アプリケーションに指定されたドキュメントを指定されたリモートプリンタ装置に印刷する依頼を行う。そして、印刷業務アプリケーションが、ドキュメントを指定されたリモートプリンタ装置に印刷する。
【0007】
また、クライアントから送付されたジョブ情報をサーバで印刷順序制御し、印刷可能なクライアントに送付して印刷する技術もある(例えば、特許文献1参照。)。
【0008】
【特許文献1】
特許第3262518号公報
【0009】
【発明が解決しようとする課題】
しかしながら、上述の従来技術には以下のような問題点があった。
(1)第1の従来技術においては、印刷時に必ず利用者のオペレーションが必要であり、自動印刷を行うことができない。
(2)第2の従来技術においては、印刷を行うことが出来るのが、印刷業務アプリケーションの動作するサーバ装置から印刷できるリモートプリンタ装置に限られており、インターネット環境では使用できない。
(3)第2の従来技術においては、印刷業務アプリケーションの動作するサーバ装置の能力により、印刷できるプリンタ装置の台数に限りがある。
(4)第1の従来技術および第2の従来技術のいずれにおいても、ホスト装置で稼働中のドキュメント印刷制御システムの機能を完全には実現できず、これに代わることができない。
【0010】
本発明は、上述のような問題点に鑑みてなされたもので、ネットワーク環境において、クライアント端末装置の情報およびプリンタ装置の情報をホスト装置側において定義することなく、任意のクライアント端末装置から任意のプリンタ装置にドキュメントを印刷することが可能な、印刷制御サーバプログラム、ドキュメント印刷制御プログラム、および印刷制御方法を提供することを目的とする。
【0011】
【課題を解決するための手段】
本発明は、上記課題を解決するため、下記のような構成を採用した。
ネットワーク環境において、印刷要求を出したクライアント端末装置に関する情報と出力先プリンタ装置に関する情報とをWebアプリケーションサーバに通知するとともに、クライアント端末装置からの帳票、伝票などのドキュメントの発行要求を一旦Webアプリケーションサーバ装置上の電子ファイルに保存しておき、後にクライアント端末装置側からの印刷プログラムの起動により、上記電子ファイルを取り出して印刷を行う。
【0012】
そして、上記ネットワーク環境において、クライアント端末装置から、使用できる任意のプリンタ装置に自動印刷する。
また、上記ネットワーク環境において、ブラウザより別ブラウザを起動し、別ブラウザ内で任意のプログラムを実行する。また、その任意のプログラムの2重起動を防ぐ。
【0013】
すなわち、本発明の一態様によれば、本発明の印刷制御サーバプログラムは、クライアント端末装置に接続されたプリンタ装置にドキュメントの印刷を指示する印刷制御サーバプログラムであって、前記クライアント端末装置に、前記ドキュメントの印刷指示と、前記クライアント端末装置に関するクライアント端末情報および前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信する手順を配信する手順と、前記クライアント端末情報からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納する手順と、前記クライアント端末装置に、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御する手順を配信する手順とを実現させる。
【0014】
また、本発明の印刷制御サーバプログラムは、前記クライアント端末装置からのドキュメント印刷指示を受信した旨を、前記クライアント端末装置に送信する手順を実現することが望ましい。
【0015】
また、本発明の印刷制御サーバプログラムは、前記クライアント端末装置に、前記プリンタ装置に印刷するよう制御している場合に、前記プリンタ装置に印刷するよう制御しないことにより2重起動を防止する手順を配信することが望ましい。
【0016】
また、本発明の一態様によれば、本発明のドキュメント印刷制御プログラムは、クライアント端末装置とサーバ装置とプリンタ装置とが、ネットワークを介して互いに接続したドキュメント印刷制御システムにおいて実行される、ドキュメントを印刷するためのドキュメント印刷制御プログラムであって、前記クライアント端末装置が、前記ドキュメントを印刷するためのドキュメント印刷指示とともに、前記クライアント端末装置に関するクライアント端末情報および前記ドキュメントを印刷する前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信する手順を実現させ、前記サーバ装置が、前記クライアント端末装置からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納する手順と、前記ドキュメントを作成して格納した旨を、前記クライアント端末装置に送信する手順とを実現させ、前記クライアント端末装置が、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御する手順を実現させる。
【0017】
また、本発明の一態様によれば、本発明の印刷制御方法は、クライアント端末装置に接続されたプリンタ装置にドキュメントの印刷を指示する印刷制御方法であって、前記クライアント端末装置に、前記ドキュメントの印刷指示と、前記クライアント端末装置に関するクライアント端末情報および前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信するよう配信し、前記クライアント端末情報からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納し、前記クライアント端末装置に、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御するよう配信することを特徴とする。
【0018】
【発明の実施の形態】
以下、本発明の実施の形態を、図1乃至図13を参照しながら詳細に説明する。
【0019】
図1は、本発明を適用したドキュメント印刷制御システムを説明するための図である。
図1において、ドキュメント印刷制御システム1は、クライアント端末装置2とサーバ装置3とプリンタ装置4とが、ネットワークを介して互いに接続され、プリンタ装置4によって帳票、伝票などのドキュメントを自動的に印刷するよう制御する。
【0020】
まず、クライアント端末装置2は、ドキュメントを印刷するためのドキュメント印刷指示とともに、クライアント端末装置2に関するクライアント端末情報およびドキュメントを印刷するプリンタ装置4に関するプリンタ端末情報を、サーバ装置2に送信する。
【0021】
これらの情報を受信したサーバ装置3は、クライアント端末装置2からのドキュメント印刷指示に基づいて、ドキュメントを作成し、受信したクライアント端末情報2およびプリンタ端末情報4と対応付けて格納する。その後、ドキュメントを作成して格納した旨を、クライアント端末装置2に送信する。
【0022】
すると、クライアント端末装置2は、格納されたクライアント端末情報2およびプリンタ端末情報4を取得し、対応するドキュメントを取得してプリンタ装置4に印刷するよう制御する。
【0023】
そして、印刷装置4が、そのドキュメントを自動的に印刷する。
ドキュメントを自動的に印刷するためには、まず、どのクライアント端末装置2からの指示でどのプリンタ装置4に印刷するかを、Webアプリケーションを備えるサーバ装置3に通知する必要がある。
【0024】
本発明の実施の形態では、クライアント端末装置2およびプリンタ装置4を特定する情報(端末情報)を取得するプログラムを、サーバ装置3からダウンロード可能とすること、およびjavaスクリプトから呼び出すことが可能なインターフェスを備えることにより、クライアント端末装置2上で稼動する業務画面アプリケーションにおいて、クライアント端末装置2を特定する情報(IPアドレス、MACアドレスなど)、クライアント端末装置2から印刷することが可能なプリンタ装置4の一覧を取得可能とする。
【0025】
これにより、指定されたドキュメントの種別、ドキュメントを印刷するプリンタ装置4、クライアント端末装置2を特定する情報をWebアプリケーションに通知することが実現される(図1▲1▼印刷指示)。
【0026】
図2は、端末(クライアント端末装置2、プリンタ装置4)を特定する情報(端末情報)をWebアプリケーションに通知する処理の流れを示すフローチャートである。
【0027】
まず、ステップS21において、業務画面アプリケーションは、端末情報(クライアント端末装置2に関する情報、プリンタ装置4に関する情報)を採取するプログラムをサーバ装置3上のWebアプリケーションからダウンロードする。
【0028】
また、ステップS22において、業務画面アプリケーションは、javaスクリプトにより端末情報を採取するプログラムのインターフェースを呼び出す。
そして、ステップS23において、業務画面アプリケーションは、端末情報を採取するプログラムのインターフェースからの出力パラメタを保持する。
【0029】
また、ステップS24において、業務画面アプリケーションは、Webアプリケーションへの要求コマンド内に該当出力パラメタの値を設定する。
最後に、Webアプリケーションは、該当出力パラメタの値を取得する。
【0030】
上述のように、Webアプリケーションで印刷先のプリンタ装置4およびクライアント端末装置2を特定する情報を入手できるようになるため、従来はクライアント端末装置2からの要求に対する応答の範囲でしか処理ができなかったことが、これらの情報をWebアプリケーションが構築されているサーバ装置3上に保持しておくことで、クライアント端末装置2側から非同期でプログラムの実行結果や関連する別の要求を行うことができるようになる。
【0031】
図1の説明に戻る。
端末情報を取得したWebアプリケーションは、これらの端末情報を指定されたドキュメントを生成する印刷業務アプリケーションに通知する。
【0032】
印刷業務アプリケーションでは、ドキュメントを印刷するのではなく、ネットワーク環境(Web環境)で参照できる電子ファイルで作成し、そのファイル名、クライアント端末装置2を特定する情報および印刷先のプリンタ装置4の情報を一旦電子ファイル5として格納し(図1▲2▼帳票データの電子ファイル化)、処理が成功した旨をWebアプリケーションに通知する。(図3)
図3は、印刷業務アプリケーションにより電子ファイルを作成する処理の流れを示すフローチャートである。
【0033】
まず、ステップS31において、印刷業務アプリケーションが、印刷するドキュメントのデータおよび印刷要求のあったクライアント端末装置の情報をパラメタとして、Webアプリケーションから起動される。
【0034】
そして、ステップS32において、印刷アプリケーションとの間であらかじめ決められている電子ファイル5の形式に、ドキュメントのデータを加工する。
その際、電子ファイル5の管理情報として、印刷要求のあったクライアント端末装置の情報を付加する(ステップS33)。
【0035】
その後、Webアプリケーションとの間であらかじめ決められている電子ファイル5の格納場所に、作成した電子ファイル5を格納する。
図1の説明に戻る。
【0036】
印刷業務アプリケーションの処理が終了すると、Webアプリケーションは、印刷業務アプリケーションの処理が成功した旨を業務画面アプリケーションに通知する(図1▲3▼結果の通知)。
【0037】
業務画面アプリケーションでは、印刷業務アプリケーションの処理が成功した場合、印刷依頼があったクライアント端末装置2上でWebブラウザを起動し、Webブラウザ上で印刷アプリケーションを起動する(図1▲4▼別ブラウザを起動し、印刷プログラム起動)。
【0038】
印刷アプリケーションでは、Webアプケーションに対して、クライアント端末装置2を特定する情報および印刷先のプリンタ装置4の情報に一致する電子ファイル5が格納されているか否かを問い合わせる(図1▲5▼印刷待ち確認)。
【0039】
問い合わせの結果(図1▲6▼結果の通知)、上記一致する電子ファイル5が存在する場合は、その電子ファイル5を取得し(図1▲7▼印刷データ要求、▲8▼印刷データ送信)、印刷先のプリンタ装置4に印刷する。
【0040】
図4は、印刷アプリケーションによりドキュメントを印刷する処理の流れを示すフローチャートである。
まず、ステップS41において、Webアプリケーションに対して、端末情報をパラメタとして、対応する電子ファイル5が存在するか否かの問い合わせを行う。
【0041】
すると、ステップS42において、Webアプリケーションは、電子ファイル5の管理情報を参照し、問い合わせのあった端末情報を有する電子ファイル5があるか否かをチェックし、その結果を印刷アプリケーションに通知する。
【0042】
ステップS43において、対応する電子ファイル5があると判断された場合(YES)、ステップS44において、Webアプリケーションに対して、該当電子ファイル5のデータの取り出しを要求する。
【0043】
そして、ステップS45において、Webアプリケーションは、該当電子ファイル5のデータを印刷アプリケーションに返す。
すると、ステップS46において、印刷アプリケーションは、該当電子ファイル5のデータからプリンタ用データを作成し、プリンタ装置4に印刷指示を行う。
【0044】
上述のように、本発明の実施の形態では、クライアント端末装置2からのドキュメントの作成依頼に対して、そのままプリンタ装置4に印刷するのではなく、ネットワーク環境で参照できる電子ファイル5で作成し、そのファイル名、クライアント端末装置2を特定する情報および印刷先のプリンタ装置4の情報を一旦電子ファイル5として格納することで、クライアント端末装置2側から非同期で起動された印刷用のプログラムから印刷すべき電子ファイル5に対して、印刷を行う手段を採用している。
【0045】
これにより、クライアント端末装置2からしか使用できない任意のプリンタ装置4に対しても印刷を行うことができる。
ところで、上述のような自動印刷を行うためには、印刷依頼があったクライアント端末装置2上でWebブラウザを起動し、Webブラウザ上で印刷アプリケーションを起動する必要がある。
【0046】
本発明の実施の形態では、業務画面アプリケーションにおいて、印刷アプリケーションを起動するためのhtmlファイルを作成し、別Webブラウザを起動し、起動した別Webブラウザ内でhtmlファイルを実行させる手段を実現している。
【0047】
図5は、印刷アプリケーションの起動処理の流れを示すフローチャートである。
まず、ステップS51において、業務画面アプリケーションは、印刷アプリケーションを起動するhtmlファイルを作成する。
【0048】
すると、ステップS52において、業務画面アプリケーションは、別ウィンドウを作成する。
そして、ステップS53において、業務画面アプリケーションは、作成した別ウィンドウに対して、作成したhtmlファイルを表示するように命令する。
【0049】
すると、ステップS54において、別ウィンドウは、htmlファイルの記述内容に従って、印刷アプリケーションを起動する。
このように、本発明の実施の形態では、ドキュメントの電子ファイル5の作成処理が成功した場合、印刷依頼があったクライアント端末装置2上で別ブラウザを起動し、そのブラウザ上で印刷アプリケーションを起動する。これにより、クライアント端末装置2からのドキュメント作成依頼に対して、自動印刷が実現される。
【0050】
上述のように、自動印刷を行うためには、印刷依頼があったクライアント端末装置2上でWebブラウザを起動し、Webブラウザ上で印刷アプリケーションを起動する必要があるが、印刷依頼が同時期に複数発生した場合、印刷アプリケーションが複数起動されてしまい、印刷されるドキュメントの順序が入れ替わったり、同じドキュメントが2回印刷されてしまう可能性がある。
【0051】
そこで、本発明の実施の形態では、印刷依頼があったクライアント端末装置2上で、印刷アプリケーション起動時にCookie(クッキー:コンピュータの使用者が見たウェブページの内容や、入力したデータを記録しておくためのソフトウェア)に情報を書き込むことで印刷アプリケーションの複数起動を防ぐ手段を実現している。
【0052】
図6は、印刷アプリケーションの2重起動を防止する処理の流れを示すフローチャートである。
まず、ステップS61において、印刷アプリケーションを起動と、ステップS62において、Cookieを読み込む。
【0053】
そして、ステップS63において、読み込んだCookieに、特定のクライアント端末装置2とプリンタ装置4との組合わせの情報があるか否かを判断する。
【0054】
ステップS63で上記特定の組み合わせの情報があると判断された場合(YES)は、すでに印刷アプリケーションが起動していることを示すので、ステップS64において、印刷アプリケーションを終了する。
【0055】
ステップS63で上記特定の組合わせの情報がないと判断された場合(NO)は、まだその組み合わせの印刷アプリケーションが起動していないことを示すので、ステップS65において、すでに印刷アプリケーションが起動済みであることを示す情報として、クライアント端末装置2とプリンタ装置4との組合わせの情報をCookieへ書き込む。
【0056】
そして、ステップS66において、印刷依頼されたドキュメントの印刷を行う。この際、ドキュメントが複数あれば、複数印刷する。
その後、印刷が終了したら、ステップS67において、上記組合わせの情報をCookieから削除し、印刷アプリケーションを終了する(ステップS64)。
【0057】
上述のように、本発明の実施の形態では、ドキュメントの電子ファイル5の作成処理が成功した場合、印刷依頼があったクライアント端末装置2上で別ブラウザを起動し、そのブラウザ上で印刷アプリケーションを起動する。そして、その際、印刷アプリケーションの2重起動を防止することで、印刷されるドキュメントの順序の入れ替わり、同じドキュメントが2回印刷されることが無いようにしている。
【0058】
図7は、本発明を適用したドキュメント印刷制御全体の処理の流れを示すフローチャート(その1)である。
まず、クライアント装置2側において、Webブラウザを起動して業務画面アプリケーションのURLを指定して、業務画面アプリケーションをサーバ装置3上のWebアプリケーションから呼び出す(ステップS71)。
【0059】
すると、Webアプリケーションは、業務画面アプリケーションのhtmlをクライアント装置2へ返却する(ステップS72)。
クライアント装置2は、業務画面アプリケーションを表示する(ステップS73)。
【0060】
図8は、クライアント端末装置の表示画面例(業務メニュー)を示す図である。
クライアント装置2において、印刷ボタンが押下されると(ステップS74)、Webアプリケーションにおいて、端末情報を取得するプログラムのダウンロードを要求するhtmlを組み立て(ステップS75)、クライアント装置2からのプログラム要求に応じて(ステップS76)、上記プログラムをクライアント装置2へダウンロードする(ステップS77)。
【0061】
次に、Webアプリケーションは、印刷するドキュメントの一覧画面の要求を業務画面アプリケーションから受け、上記一覧画面のhtmlを業務画面アプリケーションへ返却する(ステップS78)。
【0062】
業務画面アプリケーションは、印刷するドキュメントの一覧画面を表示する(ステップS79)。
図9は、クライアント端末装置の表示画面例(印刷対象ドキュメントの一覧)を示す図である。
【0063】
次に、業務画面アプリケーションにおいて、印刷するドキュメントが選択されて場合、ステップS77でダウンロードしたプルグラムから提供されたメソッド(関数)を用いて、クライアント端末装置2に関する情報およびプリンタ装置4に関する情報(端末情報)を取得し(ステップS80)、その印刷要求とともに取得した端末情報をWebアプリケーションへ通知する。
【0064】
すると、Webアプリケーションは、印刷業務アプリケーションに対して、印刷用のドキュメントファイルの作成を指示するとともに、端末情報を通知する(ステップS81)。
【0065】
印刷業務アプリケーションは、印刷用のドキュメントファイルを作成し、それをプリンタ装置4で印刷せずに電子ファイル化して格納する。そして、端末情報と電子ファイルの対応を印刷要求キューファイルに格納(追加)する(ステップS82)。
【0066】
図10は、印刷要求キューファイルのデータ構造例を示す図である。
印刷要求キューファイルは、クライアント端末装置2に関する情報としてのIPアドレスとMACアドレス、プリンタ装置4に関する情報としてのプリンタ名、およびドキュメントの電子ファイル名(サーバ装置3が備えるメモリ装置上のファイル名)を、印刷要求の個数分繰り返し有している。
【0067】
図7の説明の戻る。
印刷業務アプリケーションの処理が終了すると、Webアプリケーションは、印刷業務アプリケーションの処理が終了した旨および印刷アプリを起動するためのhtmlを業務画面アプリケーションに通知する。
【0068】
そして、業務画面アプリケーションは、ステップS77でダウンロードしたプログラムから提供されるメソッドを用いて、端末情報を取得し、印刷アプリケーションを別ウインドウで起動し、業務画面または印刷するドキュメントの一覧画面に戻る(ステップS83)。
【0069】
図11は、本発明を適用したドキュメント印刷制御全体の処理の流れを示すフローチャート(その2)である。
印刷アプリが起動されると、Webアプリケーションに対して、クライアント端末装置2の端末情報に対応する、印刷すべきドキュメントの電子ファイルが存在するか否かを問い合せる(ステップS111)。
【0070】
すると、Webアプリケーションは、印刷要求キューファイルを参照して、印刷アプリケーションからの問い合わせに対応するキューが存在するか否かの結果を印刷アプリケーションに通知する(ステップS112)。
【0071】
問い合わせ結果を受けて、印刷アプリケーションは、印刷すべき電子ファイルがある場合、Webアプリケーションに対して対応する電子ファイルを要求する(ステップS113)。
【0072】
電子ファイル取得の要求を受けたWebアプリケーションは、格納してある電子ファイルを印刷アプリケーションに送信する(ステップS114)。
そして、印刷アプリケーションは、受信した電子ファイルをプリンタ装置4で印刷する(ステップS115)。
【0073】
他方、印刷すべき電子ファイルがない場合は、一定時間経過後に、再度、印刷すべき電子ファイルが存在するか否かをWebアプリケーションに問い合せる。
以上が、本発明を適用したドキュメント印刷制御システムの実施の形態の説明である。
【0074】
なお、本発明の実施の形態では、印刷業務アプリケーションが電子ファイルを作成した後、その旨をクライアント端末装置2側へ通知していたが、印刷業務アプリケーションが印刷用のドキュメントを作成する前に、作成を開始した旨だけをクライアント装置2側に通知し、クライアント装置2側が定期的にサーバ装置3側に対して、ドキュメントの作成が終了したか否かを問い合わせ、終了してから印刷を開始するようにしても良い。
【0075】
すなわち、クライアント端末装置2が、ドキュメントを印刷するためのドキュメント印刷指示とともに、クライアント端末装置2に関するクライアント端末情報およびドキュメントを印刷するプリンタ装置4に関するプリンタ端末情報を、サーバ装置3に送信し、これを受信したサーバ装置3が、クライアント端末装置2からのドキュメント印刷指示を受信した旨を、クライアント端末装置2に送信するとともに、クライアント端末装置2からのドキュメント印刷指示に基づいて、ドキュメントを作成し、受信したクライアント端末情報およびプリンタ端末情報と対応付けて格納し、その後、クライアント端末装置2が、クライアント端末情報およびプリンタ端末情報が格納されている場合に、クライアント端末情報およびプリンタ端末情報を取得し、対応するドキュメントを取得してプリンタ装置4に印刷するよう制御しても良い。
【0076】
上述のように、本発明の実施の形態を、図面を参照しながら説明してきたが、本発明が適用されるドキュメント印刷制御システムは、その機能が実行されるのであれば、上述の実施の形態に限定されることなく、単体の装置であっても、複数の装置からなるシステムあるいは統合装置であっても、LAN、WAN等のネットワークを介して処理が行なわれるシステムであってもよいことは言うまでもない。
【0077】
また、図12に示しように、バス1208に接続されたCPU1201、ROMやRAMのメモリ1202、入力装置1203、出力装置1204、外部記録装置1205、媒体駆動装置1206、可搬記録媒体1209、ネットワーク接続装置1207で構成されるシステムでも実現できる。すなわち、前述してきた実施の形態のシステムを実現するソフトェアのプログラムコードを記録したROMやRAMのメモリ1202、外部記録装置1205、可搬記録媒体1209を、ドキュメント印刷制御システムに供給し、そのドキュメント印刷制御システムのコンピュータがプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。
【0078】
この場合、可搬記録媒体1209等から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記録した可搬記録媒体1209等は本発明を構成することになる。
【0079】
プログラムコードを供給するための可搬記録媒体1209としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、DVD−RAM、磁気テープ、不揮発性のメモリーカード、ROMカード、電子メールやパソコン通信等のネットワーク接続装置1207(言い換えれば、通信回線)を介して記録した種々の記録媒体などを用いることができる。
【0080】
また、図13に示すように、情報処理装置1301がメモリ上に読み出したプログラムコードを実行することによって、前述した実施の形態の機能が実現される他、そのプログラムコードの指示に基づき、情報処理装置1301上で稼動しているOSなどが実際の処理の一部または全部を行ない、その処理によっても前述した実施の形態の機能が実現される。
【0081】
さらに、可搬型記録媒体から読み出されたプログラム(データ)1303やプログラム(データ)提供者1302から提供されたプログラム(データ)1304が、情報処理装置1301に挿入された機能拡張ボードや情報処理装置1301に接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行ない、その処理によっても前述した実施の形態の機能が実現され得る。
【0082】
すなわち、本発明は、以上に述べた実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内で種々の構成または形状を取ることができる。
ここで、上述した実施の形態の特徴を列挙すると、以下の通りである。
【0083】
(付記1) クライアント端末装置に接続されたプリンタ装置にドキュメントの印刷を指示する印刷制御サーバプログラムにおいて、
前記クライアント端末装置に、前記ドキュメントの印刷指示と、前記クライアント端末装置に関するクライアント端末情報および前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信する手順を配信する手順と、
前記クライアント端末情報からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納する手順と、
前記クライアント端末装置に、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御する手順を配信する手順とを実現させるための印刷制御サーバプログラム。
【0084】
(付記2) 付記1記載の印刷制御サーバプログラムは、前記クライアント端末装置からのドキュメント印刷指示を受信した旨を、前記クライアント端末装置に送信する手順を実現することを特徴とする印刷制御サーバプログラム。
【0085】
(付記3) 前記クライアント端末装置に、前記プリンタ装置に印刷するよう制御している場合に、前記プリンタ装置に印刷するよう制御しないことにより2重起動を防止する手順を配信する手順を実現させることを特徴とする付記1記載の印刷制御サーバプログラム。
【0086】
(付記4) クライアント端末装置とサーバ装置とプリンタ装置とが、ネットワークを介して互いに接続したドキュメント印刷制御システムにおいて実行される、ドキュメントを印刷するためのドキュメント印刷制御プログラムであって、
前記クライアント端末装置は、
前記ドキュメントを印刷するためのドキュメント印刷指示とともに、前記クライアント端末装置に関するクライアント端末情報および前記ドキュメントを印刷する前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信する手順を実現させ、
前記サーバ装置は、
前記クライアント端末装置からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納する手順と、
前記ドキュメントを作成して格納した旨を、前記クライアント端末装置に送信する手順とを実現させ、
前記クライアント端末装置は、
前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御する手順を実現させるためのドキュメント印刷制御プログラム。
【0087】
(付記5) クライアント端末装置に接続されたプリンタ装置にドキュメントの印刷を指示する印刷制御方法において、
前記クライアント端末装置に、前記ドキュメントの印刷指示と、前記クライアント端末装置に関するクライアント端末情報および前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信するよう配信し、
前記クライアント端末情報からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納し、
前記クライアント端末装置に、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御するよう配信することを特徴とする印刷制御方法。
【0088】
(付記6) クライアント端末装置に接続されたプリンタ装置にドキュメントの印刷を指示する印刷制御サーバプログラムを記録したコンピュータ読み取り可能な記録媒体において、
前記クライアント端末装置に、前記ドキュメントの印刷指示と、前記クライアント端末装置に関するクライアント端末情報および前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信する手順を配信する手順と、
前記クライアント端末情報からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納する手順と、
前記クライアント端末装置に、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御する手順を配信する手順とを実現させるための印刷制御サーバプログラムを記録したコンピュータ読み取り可能な記録媒体。
【0089】
(付記7) クライアント端末装置に接続されたプリンタ装置にドキュメントの印刷を指示するサーバ装置において、
前記クライアント端末装置に、前記ドキュメントの印刷指示と、前記クライアント端末装置に関するクライアント端末情報および前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信するよう配信する手段と、
前記クライアント端末情報からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納する手段と、
前記クライアント端末装置に、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御するよう配信する手段とを備えることを特徴とするサーバ装置。
【0090】
【発明の効果】
以上説明したように、従来は、帳票、伝票などのドキュメントの作成依頼後、利用者の何らかのオペレーションを必要としたり、自動印刷できるとしてもWebアプリケーションが動作するサーバ装置から使用できるプリンタ装置に限られていたが、クライアント端末装置から使用できるプリンタ装置であれば、どのプリンタ装置に対しても自動印刷が可能となり、従来からホスト装置で稼働中のドキュメント印刷制御システムの機能に代わることが可能となる。
【図面の簡単な説明】
【図1】本発明を適用したドキュメント印刷制御システムを説明するための図である。
【図2】端末(クライアント端末装置、プリンタ装置)を特定する情報(端末情報)をWebアプリケーションに通知する処理の流れを示すフローチャートである。
【図3】印刷業務アプリケーションにより電子ファイルを作成する処理の流れを示すフローチャートである。
【図4】印刷アプリケーションによりドキュメントを印刷する処理の流れを示すフローチャートである。
【図5】印刷アプリケーションの起動処理の流れを示すフローチャートである。
【図6】印刷アプリケーションの2重起動を防止する処理の流れを示すフローチャートである。
【図7】本発明を適用したドキュメント印刷制御全体の処理の流れを示すフローチャート(その1)である。
【図8】クライアント端末装置の表示画面例(業務メニュー)を示す図である。
【図9】クライアント端末装置の表示画面例(印刷対象ドキュメントの一覧)を示す図である。
【図10】印刷要求キューファイルのデータ構造例を示す図である。
【図11】本発明を適用したドキュメント印刷制御全体の処理の流れを示すフローチャート(その2)である。
【図12】本発明を実現するシステムのハードウェア構成図である。
【図13】ソフトウェアのローディングを説明するための図である。
【符号の説明】
1 ドキュメント印刷制御システム
2 クライアント端末装置
3 サーバ装置
4 プリンタ装置
5 電子ファイル
1201 CPU
1202 メモリ
1203 入力装置
1204 出力装置
1205 外部記録装置
1206 媒体駆動装置
1207 ネットワーク接続装置
1208 バス
1209 可搬記録媒体
1301 情報処理装置
1302 情報提供者
1303、1304 プログラム(データ)
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a print control server program, a document print control program, and a print control method. Particularly, in a network environment, a print control server program capable of printing a document from any client terminal device to any printer device without defining the information of the client terminal device and the information of the printer device on the host device side , A document print control program, and a print control method.
[0002]
It mainly applies to the issuance and processing of documents such as finance, accounting, personnel affairs, salary, goods, procurement, etc. in manufacturing, distribution, and local governments, and adapts to a wide range of systems regardless of industry or business.
[0003]
[Prior art]
2. Description of the Related Art Conventionally, in a document print control system in a network environment, printing of a document from a client terminal device to a printer device has been realized mainly using any of the following conventional technologies.
(1) First prior art (electronic file system)
First, a request for creating a document (form, slip, etc.) is made from the business screen on the client terminal device to the Web application on the server device.
[0004]
Then, on the server device, the Web application requests the print job application to print the document instructed to be created from the client terminal device. In a print job application, a document is created not as a print but as an electronic file (for example, a PDF file) that can be referred to in a network environment, and the file name is notified to the Web application. Then, the Web application notifies the business screen on the client terminal device of the file name.
[0005]
Next, when the user designates (clicks on) the electronic file name notified on the business screen on the client terminal device, the electronic file is downloaded from the server device on which the Web application operates to the client terminal device, and the electronic file is downloaded. A display / printing program associated with the file is started, and the document is printed.
(2) Second prior art (remote printer method)
From the business screen on the client terminal device, a document creation request is made to the Web application on the host device, and at the same time, a remote printer device to be printed is specified.
[0006]
Then, the Web application makes a request to print the document specified as the print job application to the specified remote printer. Then, the print job application prints the document on the designated remote printer device.
[0007]
There is also a technique in which job information sent from a client is controlled in a printing order by a server and sent to a printable client to print the job information (for example, see Patent Document 1).
[0008]
[Patent Document 1]
Japanese Patent No. 3262518
[0009]
[Problems to be solved by the invention]
However, the above-described related art has the following problems.
(1) In the first prior art, a user operation is always required at the time of printing, and automatic printing cannot be performed.
(2) In the second conventional technique, printing can be performed only by a remote printer device that can print from a server device that runs a print job application, and cannot be used in an Internet environment.
(3) In the second prior art, the number of printers that can print is limited by the capacity of the server device on which the print business application operates.
(4) Neither the first prior art nor the second prior art can completely realize the function of the document print control system operating on the host device, and cannot substitute it.
[0010]
The present invention has been made in view of the above-described problems, and in a network environment, information of a client terminal device and information of a printer device are not defined on a host device side, and any client terminal device can send any information. It is an object of the present invention to provide a print control server program, a document print control program, and a print control method capable of printing a document on a printer device.
[0011]
[Means for Solving the Problems]
The present invention employs the following configuration in order to solve the above problems.
In a network environment, information about the client terminal device that issued the print request and information about the output destination printer device are notified to the Web application server, and a request for issuing a document such as a form or a slip from the client terminal device is once sent to the Web application server. The electronic file is stored in an electronic file on the device, and the electronic file is taken out and printed later by starting a print program from the client terminal device side.
[0012]
Then, in the network environment, automatic printing is performed from a client terminal device to any available printer device.
In the network environment, another browser is started from the browser, and an arbitrary program is executed in the different browser. Further, double starting of the arbitrary program is prevented.
[0013]
That is, according to one aspect of the present invention, the print control server program of the present invention is a print control server program that instructs a printer device connected to a client terminal device to print a document. The document printing instruction, the client terminal information relating to the client terminal device and the printer terminal information relating to the printer device, a procedure for transmitting a procedure for transmitting the procedure to the server device, and a document printing instruction from the client terminal information. Creating the document, storing the document in association with the received client terminal information and printer terminal information, and obtaining the stored client terminal information and printer terminal information in the client terminal device. ,versus The document was acquired to realize a procedure for delivering the procedure of controlling to print to the printer apparatus.
[0014]
Further, it is preferable that the print control server program of the present invention implements a procedure for transmitting to the client terminal device that a document print instruction has been received from the client terminal device.
[0015]
Further, the print control server program according to the present invention, when controlling the client terminal device to print to the printer device, does not control the printer device to print, thereby preventing a double start. It is desirable to deliver.
[0016]
According to one aspect of the present invention, a document print control program according to the present invention stores a document to be executed in a document print control system in which a client terminal device, a server device, and a printer device are connected to each other via a network. A document print control program for printing, wherein the client terminal device prints the document together with a document print instruction, client terminal information on the client terminal device, and a printer terminal on the printer device for printing the document. Transmitting the information to the server device, the server device creates the document based on a document print instruction from the client terminal device, and the client And a procedure for transmitting the document created and stored to the client terminal device, the procedure for storing the document information and the printer terminal information in association with each other. A procedure for acquiring the client terminal information and the printer terminal information, acquiring the corresponding document, and controlling to print the document on the printer device is realized.
[0017]
According to one aspect of the present invention, a print control method of the present invention is a print control method for instructing a printer connected to a client terminal to print a document, wherein the client terminal includes The print instruction, the client terminal information on the client terminal device, and the printer terminal information on the printer device are distributed to be transmitted to the server device, and the document is created based on the document print instruction from the client terminal information. And storing the received client terminal information and the printer terminal information in association with the received client terminal information and the printer terminal information, obtaining the stored client terminal information and the printer terminal information, and obtaining the corresponding document. And the printer Characterized by delivering to control so as to print on.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS.
[0019]
FIG. 1 is a diagram for explaining a document print control system to which the present invention is applied.
1, in a document print control system 1, a client terminal device 2, a server device 3, and a printer device 4 are connected to each other via a network, and the printer device 4 automatically prints documents such as forms and slips. Control.
[0020]
First, the client terminal device 2 transmits, to the server device 2, client terminal information on the client terminal device 2 and printer terminal information on the printer device 4 for printing the document, together with a document print instruction for printing a document.
[0021]
The server device 3 receiving these information creates a document based on the document printing instruction from the client terminal device 2 and stores the document in association with the received client terminal information 2 and printer terminal information 4. After that, the fact that the document is created and stored is transmitted to the client terminal device 2.
[0022]
Then, the client terminal device 2 obtains the stored client terminal information 2 and printer terminal information 4, obtains the corresponding document, and controls the printer device 4 to print it.
[0023]
Then, the printing device 4 automatically prints the document.
In order to automatically print a document, first, it is necessary to notify the server device 3 having the Web application of which printer device 4 to print according to an instruction from which client terminal device 2.
[0024]
In the embodiment of the present invention, a program for acquiring information (terminal information) specifying the client terminal device 2 and the printer device 4 can be downloaded from the server device 3 and an interface that can be called from a java script. By providing a festival, information (IP address, MAC address, etc.) specifying the client terminal device 2 and a printer device 4 capable of printing from the client terminal device 2 in a business screen application running on the client terminal device 2 List can be obtained.
[0025]
As a result, it is possible to notify the Web application of the specified document type, the printer device 4 that prints the document, and the information that specifies the client terminal device 2 (FIG. 1 (1): print instruction).
[0026]
FIG. 2 is a flowchart illustrating a flow of a process of notifying the Web application of information (terminal information) for specifying a terminal (the client terminal device 2 and the printer device 4).
[0027]
First, in step S21, the business screen application downloads a program for collecting terminal information (information on the client terminal device 2 and information on the printer device 4) from the Web application on the server device 3.
[0028]
In step S22, the business screen application calls an interface of a program for collecting terminal information by using a Java script.
Then, in step S23, the business screen application holds output parameters from the interface of the program for collecting terminal information.
[0029]
Further, in step S24, the business screen application sets the value of the output parameter in the request command to the Web application.
Finally, the Web application obtains the value of the output parameter.
[0030]
As described above, since the information for specifying the printer device 4 and the client terminal device 2 of the printing destination can be obtained by the Web application, the processing can be conventionally performed only in the range of the response to the request from the client terminal device 2. However, by retaining these pieces of information on the server device 3 on which the Web application is constructed, it is possible to asynchronously make a program execution result or another related request from the client terminal device 2 side. Become like
[0031]
Returning to the description of FIG.
The Web application that has acquired the terminal information notifies the terminal application of the terminal information to the print job application that generates the specified document.
[0032]
In the printing business application, instead of printing a document, the document is created as an electronic file that can be referred to in a network environment (Web environment), and its file name, information specifying the client terminal device 2 and information of the printer device 4 as a printing destination are stored. The data is temporarily stored as an electronic file 5 (FIG. 1B, form data is converted into an electronic file), and the success of the processing is notified to the Web application. (Fig. 3)
FIG. 3 is a flowchart illustrating a flow of a process of creating an electronic file by the print job application.
[0033]
First, in step S31, the print business application is activated from the Web application using the data of the document to be printed and the information of the client terminal device that has issued the print request as parameters.
[0034]
Then, in step S32, the document data is processed into the format of the electronic file 5 predetermined with the print application.
At this time, information of the client terminal device that has issued the print request is added as management information of the electronic file 5 (step S33).
[0035]
After that, the created electronic file 5 is stored in a storage location of the electronic file 5 determined in advance with the Web application.
Returning to the description of FIG.
[0036]
When the processing of the printing business application ends, the Web application notifies the business screen application that the processing of the printing business application has succeeded (notification of the result in FIG. 1C).
[0037]
In the business screen application, when the processing of the print business application is successful, the Web browser is started on the client terminal device 2 that has requested the print, and the print application is started on the Web browser (FIG. 1-4). Start and start the printing program).
[0038]
The print application inquires of the Web application whether or not the electronic file 5 that matches the information for specifying the client terminal device 2 and the information of the printer device 4 at the print destination is stored (FIG. 1-5). Waiting confirmation).
[0039]
As a result of the inquiry (notification of the result in FIG. 1 結果 6), if the matching electronic file 5 exists, the electronic file 5 is acquired (FIG. 1 ▼ 7 印刷 print data request, ▲ 8 印刷 print data transmission). Then, printing is performed on the printer 4 at the printing destination.
[0040]
FIG. 4 is a flowchart illustrating a flow of a process of printing a document by the print application.
First, in step S41, an inquiry is made to the Web application as to whether the corresponding electronic file 5 exists using the terminal information as a parameter.
[0041]
Then, in step S42, the Web application refers to the management information of the electronic file 5, checks whether there is the electronic file 5 having the inquired terminal information, and notifies the print application of the result.
[0042]
If it is determined in step S43 that there is a corresponding electronic file 5 (YES), in step S44, a request is made to the Web application to retrieve the data of the corresponding electronic file 5.
[0043]
Then, in step S45, the Web application returns the data of the electronic file 5 to the print application.
Then, in step S46, the print application creates printer data from the data of the electronic file 5 and instructs the printer device 4 to print.
[0044]
As described above, in the embodiment of the present invention, in response to a document creation request from the client terminal device 2, the document creation request is created in the electronic file 5 that can be referred to in the network environment, instead of being directly printed on the printer device 4. By temporarily storing the file name, the information specifying the client terminal device 2 and the information of the printer device 4 at the printing destination as the electronic file 5, printing is performed from a printing program asynchronously started from the client terminal device 2 side. A means for printing the electronic file 5 to be used is adopted.
[0045]
As a result, printing can be performed on any printer device 4 that can be used only from the client terminal device 2.
By the way, in order to perform automatic printing as described above, it is necessary to start a Web browser on the client terminal device 2 that has requested printing, and to start a print application on the Web browser.
[0046]
In the embodiment of the present invention, in the business screen application, a means for creating an html file for starting a print application, starting another Web browser, and executing the html file in the started different Web browser is realized. I have.
[0047]
FIG. 5 is a flowchart illustrating the flow of a print application activation process.
First, in step S51, the business screen application creates an html file for starting the print application.
[0048]
Then, in step S52, the business screen application creates another window.
Then, in step S53, the business screen application instructs the created separate window to display the created html file.
[0049]
Then, in step S54, another window activates the print application according to the description content of the html file.
As described above, in the embodiment of the present invention, when the creation process of the electronic file 5 of the document is successful, another browser is started on the client terminal device 2 that has requested printing, and the print application is started on the browser. I do. Thus, automatic printing is realized in response to a document creation request from the client terminal device 2.
[0050]
As described above, in order to perform automatic printing, it is necessary to start a Web browser on the client terminal device 2 that has requested printing and to start a print application on the Web browser. When a plurality of documents occur, a plurality of print applications are activated, and the order of documents to be printed may be changed, or the same document may be printed twice.
[0051]
Therefore, in the embodiment of the present invention, the Cookie (cookie: the content of the web page viewed by the user of the computer and the input data are recorded on the client terminal device 2 to which the print request has been made when the print application is activated. By writing information to the print application to prevent multiple start-ups of the print application.
[0052]
FIG. 6 is a flowchart illustrating the flow of a process for preventing double activation of the print application.
First, in step S61, the print application is activated, and in step S62, the cookie is read.
[0053]
Then, in step S63, it is determined whether or not the read Cookie has information on a combination of the specific client terminal device 2 and the printer device 4.
[0054]
If it is determined in step S63 that there is information on the specific combination (YES), it indicates that the print application has already been started, and the print application is terminated in step S64.
[0055]
If it is determined in step S63 that there is no information of the specific combination (NO), it indicates that the print application of the combination has not been started yet, and thus the print application has already been started in step S65. The information of the combination of the client terminal device 2 and the printer device 4 is written into the Cookie as information indicating this.
[0056]
Then, in step S66, the document requested to be printed is printed. At this time, if there are a plurality of documents, a plurality of documents are printed.
Thereafter, when the printing is completed, in step S67, the information of the combination is deleted from the Cookie, and the printing application is ended (step S64).
[0057]
As described above, in the embodiment of the present invention, when the creation processing of the electronic file 5 of the document is successful, another browser is started on the client terminal device 2 which has requested the print, and the print application is executed on the browser. to start. In this case, by preventing the print application from being started twice, the order of the documents to be printed is changed, so that the same document is not printed twice.
[0058]
FIG. 7 is a flowchart (part 1) showing the flow of processing of the entire document print control to which the present invention is applied.
First, on the client device 2 side, the Web browser is started, the URL of the business screen application is specified, and the business screen application is called from the Web application on the server device 3 (step S71).
[0059]
Then, the Web application returns the html of the business screen application to the client device 2 (Step S72).
The client device 2 displays the business screen application (Step S73).
[0060]
FIG. 8 is a diagram illustrating an example of a display screen (business menu) of the client terminal device.
When the print button is pressed on the client device 2 (step S74), the Web application assembles an html requesting the download of a program for acquiring terminal information (step S75), and responds to the program request from the client device 2. (Step S76), the program is downloaded to the client device 2 (Step S77).
[0061]
Next, the Web application receives a request for a list screen of the document to be printed from the business screen application, and returns the html of the list screen to the business screen application (step S78).
[0062]
The business screen application displays a list screen of the document to be printed (step S79).
FIG. 9 is a diagram illustrating an example of a display screen (a list of documents to be printed) of the client terminal device.
[0063]
Next, when a document to be printed is selected in the business screen application, information on the client terminal device 2 and information on the printer device 4 (terminal information) are obtained using a method (function) provided from the program downloaded in step S77. ) Is acquired (step S80), and the terminal information acquired together with the print request is notified to the Web application.
[0064]
Then, the Web application instructs the print job application to create a document file for printing and notifies the terminal information (step S81).
[0065]
The printing business application creates a document file for printing, converts the document file into an electronic file without printing it with the printer device 4, and stores the electronic file. Then, the correspondence between the terminal information and the electronic file is stored (added) in the print request queue file (step S82).
[0066]
FIG. 10 is a diagram illustrating an example of a data structure of a print request queue file.
The print request queue file includes an IP address and a MAC address as information on the client terminal device 2, a printer name as information on the printer device 4, and an electronic file name of the document (a file name on a memory device provided in the server device 3). , As many as the number of print requests.
[0067]
Returning to the description of FIG.
When the processing of the print business application ends, the Web application notifies the business screen application that the processing of the print business application has ended and html for activating the print application.
[0068]
Then, the business screen application acquires the terminal information by using the method provided from the program downloaded in step S77, starts the print application in another window, and returns to the business screen or the document list screen to be printed (step S77). S83).
[0069]
FIG. 11 is a flowchart (part 2) illustrating the flow of processing of the entire document print control to which the present invention is applied.
When the print application is activated, the Web application is inquired of whether the electronic file of the document to be printed corresponding to the terminal information of the client terminal device 2 exists (step S111).
[0070]
Then, the Web application refers to the print request queue file and notifies the print application of a result indicating whether or not a queue corresponding to the inquiry from the print application exists (Step S112).
[0071]
Upon receiving the inquiry result, if there is an electronic file to be printed, the print application requests the Web application for the corresponding electronic file (step S113).
[0072]
The Web application that has received the request for obtaining the electronic file transmits the stored electronic file to the print application (Step S114).
Then, the print application prints the received electronic file with the printer device 4 (step S115).
[0073]
On the other hand, if there is no electronic file to be printed, the Web application is inquired again after a certain period of time as to whether or not there is an electronic file to be printed.
The above is the description of the embodiment of the document print control system to which the present invention is applied.
[0074]
In the embodiment of the present invention, after the print job application creates the electronic file, the fact is notified to the client terminal device 2 side. However, before the print job application creates the document for printing, The client device 2 is notified only of the start of the creation, and the client device 2 periodically inquires of the server device 3 whether or not the creation of the document is completed, and starts printing after the completion. You may do it.
[0075]
That is, the client terminal device 2 transmits, to the server device 3, client terminal information on the client terminal device 2 and printer terminal information on the printer device 4 for printing the document, together with a document print instruction for printing a document. The received server device 3 transmits to the client terminal device 2 that the document print instruction has been received from the client terminal device 2, and creates and receives a document based on the document print instruction from the client terminal device 2. The client terminal device 2 stores the client terminal information and the printer terminal information when the client terminal device 2 stores the client terminal information and the printer terminal information. It acquired, to obtain the corresponding document may be controlled to print to the printer device 4.
[0076]
As described above, the embodiment of the present invention has been described with reference to the drawings. However, the document print control system to which the present invention is applied is not limited to the above-described embodiment as long as its functions are executed. The present invention is not limited to this, and may be a single device, a system including a plurality of devices, an integrated device, or a system in which processing is performed via a network such as a LAN or a WAN. Needless to say.
[0077]
12, a CPU 1201 connected to a bus 1208, a memory 1202 such as a ROM or a RAM, an input device 1203, an output device 1204, an external recording device 1205, a medium driving device 1206, a portable recording medium 1209, and a network connection. It can also be realized by a system configured by the device 1207. That is, the ROM 1202, the external recording device 1205, and the portable recording medium 1209 storing the program code of the software for realizing the system of the above-described embodiment are supplied to the document print control system, and the document print control is performed. It is needless to say that this can also be achieved by reading and executing the program code by the computer of the control system.
[0078]
In this case, the program code itself read from the portable recording medium 1209 or the like implements the novel function of the present invention, and the portable recording medium 1209 or the like recording the program code constitutes the present invention. become.
[0079]
As a portable recording medium 1209 for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, DVD-RAM, magnetic tape, non-volatile Various recording media recorded via a network connection device 1207 (in other words, a communication line) such as a memory card, a ROM card, and electronic mail or personal computer communication can be used.
[0080]
As shown in FIG. 13, the functions of the above-described embodiment are realized by executing the program code read out from the memory by the information processing apparatus 1301, and the information processing apparatus 1301 performs the information processing based on the instruction of the program code. The OS or the like running on the device 1301 performs part or all of the actual processing, and the processing also realizes the functions of the above-described embodiments.
[0081]
Further, a program (data) 1303 read from a portable recording medium and a program (data) 1304 provided by a program (data) provider 1302 are stored in a function expansion board or an information processing apparatus inserted into the information processing apparatus 1301. After being written into the memory provided in the function expansion unit connected to 1301, the CPU or the like provided in the function expansion board or the function expansion unit performs part or all of the actual processing based on the instruction of the program code. The functions of the above-described embodiment can also be realized by the processing.
[0082]
That is, the present invention is not limited to the above-described embodiment, and can take various configurations or shapes without departing from the gist of the present invention.
Here, the features of the above-described embodiment are listed as follows.
[0083]
(Supplementary Note 1) In a print control server program for instructing a printer connected to a client terminal to print a document,
To the client terminal device, a procedure for transmitting a document print instruction, client terminal information about the client terminal device, and printer terminal information about the printer device, and a procedure for transmitting the procedure to the server device;
A step of creating the document based on a document printing instruction from the client terminal information and storing the document in association with the received client terminal information and the printer terminal information;
Delivering the stored client terminal information and the printer terminal information to the client terminal device, and distributing a procedure for controlling the acquisition and printing of the corresponding document by the printer device. Print control server program.
[0084]
(Supplementary Note 2) The print control server program according to Supplementary Note 1, wherein the print control server program implements a procedure of transmitting a document print instruction from the client terminal device to the client terminal device.
[0085]
(Supplementary Note 3) When the client terminal device is controlled to print on the printer device, a procedure for distributing a procedure for preventing double activation by not controlling to print on the printer device is realized. 4. The print control server program according to claim 1, wherein
[0086]
(Supplementary Note 4) A document print control program for printing a document, which is executed in a document print control system in which a client terminal device, a server device, and a printer device are connected to each other via a network,
The client terminal device,
A document print instruction for printing the document, and a procedure for transmitting, to the server device, client terminal information about the client terminal device and printer terminal information about the printer device that prints the document,
The server device,
A procedure for creating the document based on a document print instruction from the client terminal device, storing the document in association with the received client terminal information and the printer terminal information,
Transmitting the document created and stored to the client terminal device,
The client terminal device,
A document print control program for realizing a procedure for acquiring the stored client terminal information and the printer terminal information, acquiring the corresponding document, and printing the document on the printer device.
[0087]
(Supplementary Note 5) In a print control method for instructing a printer connected to a client terminal to print a document,
To the client terminal device, distribute the print instruction of the document, client terminal information on the client terminal device and printer terminal information on the printer device to be transmitted to the server device,
Based on the document printing instruction from the client terminal information, the document is created, and stored in association with the received client terminal information and the printer terminal information,
Print control, wherein the client terminal device obtains the stored client terminal information and the printer terminal information, and obtains the corresponding document and distributes the document so that the document is printed on the printer device. Method.
[0088]
(Supplementary Note 6) In a computer-readable recording medium recording a print control server program for instructing a printer connected to a client terminal to print a document,
To the client terminal device, a procedure for transmitting a document print instruction, client terminal information about the client terminal device, and printer terminal information about the printer device, and a procedure for transmitting the procedure to the server device;
A step of creating the document based on a document printing instruction from the client terminal information and storing the document in association with the received client terminal information and the printer terminal information;
Delivering the stored client terminal information and the printer terminal information to the client terminal device, and distributing a procedure for controlling the acquisition and printing of the corresponding document by the printer device. And a computer-readable recording medium recording the print control server program.
[0089]
(Supplementary Note 7) In a server device that instructs a printer device connected to the client terminal device to print a document,
Means for distributing, to the client terminal device, an instruction to print the document, client terminal information on the client terminal device, and printer terminal information on the printer device to be transmitted to the server device;
Means for creating the document based on a document printing instruction from the client terminal information, storing the document in association with the received client terminal information and the printer terminal information,
Means for acquiring the stored client terminal information and the printer terminal information to the client terminal device, and distributing the acquired document so as to control the document to be printed on the printer device. Server device.
[0090]
【The invention's effect】
As described above, in the related art, after a request for creating a document such as a form or a voucher is made, the printer is limited to a printer that can be used from a server device on which a Web application operates even if it requires some operation by a user and can perform automatic printing. However, automatic printing can be performed on any printer device that can be used from the client terminal device, and it can replace the function of the document print control system that has conventionally been operated on the host device. .
[Brief description of the drawings]
FIG. 1 is a diagram for explaining a document print control system to which the present invention has been applied.
FIG. 2 is a flowchart illustrating a flow of a process of notifying a Web application of information (terminal information) specifying a terminal (client terminal device, printer device).
FIG. 3 is a flowchart illustrating a flow of a process of creating an electronic file by a print job application.
FIG. 4 is a flowchart illustrating a flow of a process of printing a document by a print application.
FIG. 5 is a flowchart illustrating a flow of a print application activation process.
FIG. 6 is a flowchart illustrating a flow of a process for preventing double activation of a print application.
FIG. 7 is a flowchart (part 1) illustrating a flow of processing of the entire document print control to which the present invention is applied.
FIG. 8 is a diagram illustrating an example of a display screen (business menu) of the client terminal device.
FIG. 9 is a diagram illustrating an example of a display screen (a list of documents to be printed) of the client terminal device.
FIG. 10 is a diagram illustrating an example of a data structure of a print request queue file.
FIG. 11 is a flowchart (part 2) illustrating a flow of processing of the entire document print control to which the present invention is applied.
FIG. 12 is a hardware configuration diagram of a system for realizing the present invention.
FIG. 13 is a diagram for explaining software loading.
[Explanation of symbols]
1 Document printing control system
2 Client terminal device
3 server device
4 Printer device
5 electronic files
1201 CPU
1202 memory
1203 Input device
1204 Output device
1205 External recording device
1206 Medium drive device
1207 Network connection device
1208 bus
1209 Portable recording media
1301 Information processing device
1302 Information provider
1303, 1304 Program (data)

Claims (5)

クライアント端末装置に接続されたプリンタ装置にドキュメントの印刷を指示する印刷制御サーバプログラムにおいて、
前記クライアント端末装置に、前記ドキュメントの印刷指示と、前記クライアント端末装置に関するクライアント端末情報および前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信する手順を配信する手順と、
前記クライアント端末情報からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納する手順と、
前記クライアント端末装置に、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御する手順を配信する手順とを実現させるための印刷制御サーバプログラム。
In a print control server program for instructing a printer connected to a client terminal to print a document,
To the client terminal device, a procedure for transmitting a document print instruction, client terminal information about the client terminal device, and printer terminal information about the printer device, and a procedure for transmitting the procedure to the server device;
A step of creating the document based on a document printing instruction from the client terminal information and storing the document in association with the received client terminal information and the printer terminal information;
Delivering the stored client terminal information and the printer terminal information to the client terminal device, and distributing a procedure for controlling the acquisition and printing of the corresponding document by the printer device. Print control server program.
請求項1記載の印刷制御サーバプログラムは、前記クライアント端末装置からのドキュメント印刷指示を受信した旨を、前記クライアント端末装置に送信する手順を実現することを特徴とする印刷制御サーバプログラム。2. A print control server program according to claim 1, wherein said print control server program implements a procedure of transmitting to said client terminal device that a document print instruction has been received from said client terminal device. 前記クライアント端末装置に、前記プリンタ装置に印刷するよう制御している場合に、前記プリンタ装置に印刷するよう制御しないことにより2重起動を防止する手順を配信する手順を実現させることを特徴とする請求項1記載の印刷制御サーバプログラム。When the client terminal device is controlled to print on the printer device, a procedure for distributing a procedure for preventing double activation by not controlling to print on the printer device is realized. The print control server program according to claim 1. クライアント端末装置とサーバ装置とプリンタ装置とが、ネットワークを介して互いに接続したドキュメント印刷制御システムにおいて実行される、ドキュメントを印刷するためのドキュメント印刷制御プログラムであって、
前記クライアント端末装置は、
前記ドキュメントを印刷するためのドキュメント印刷指示とともに、前記クライアント端末装置に関するクライアント端末情報および前記ドキュメントを印刷する前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信する手順を実現させ、
前記サーバ装置は、
前記クライアント端末装置からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納する手順と、
前記ドキュメントを作成して格納した旨を、前記クライアント端末装置に送信する手順とを実現させ、
前記クライアント端末装置は、
前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御する手順を実現させるためのドキュメント印刷制御プログラム。
A document print control program for printing a document, which is executed in a document print control system in which a client terminal device, a server device, and a printer device are connected to each other via a network,
The client terminal device,
A document print instruction for printing the document, and a procedure for transmitting, to the server device, client terminal information about the client terminal device and printer terminal information about the printer device that prints the document,
The server device,
A procedure for creating the document based on a document print instruction from the client terminal device, storing the document in association with the received client terminal information and the printer terminal information,
Transmitting the document created and stored to the client terminal device,
The client terminal device,
A document print control program for realizing a procedure for acquiring the stored client terminal information and the printer terminal information, acquiring the corresponding document, and printing the document on the printer device.
クライアント端末装置に接続されたプリンタ装置にドキュメントの印刷を指示する印刷制御方法において、
前記クライアント端末装置に、前記ドキュメントの印刷指示と、前記クライアント端末装置に関するクライアント端末情報および前記プリンタ装置に関するプリンタ端末情報を、前記サーバ装置に送信するよう配信し、
前記クライアント端末情報からのドキュメント印刷指示に基づいて、前記ドキュメントを作成し、前記受信した前記クライアント端末情報および前記プリンタ端末情報と対応付けて格納し、
前記クライアント端末装置に、前記格納された前記クライアント端末情報および前記プリンタ端末情報を取得し、対応する前記ドキュメントを取得して前記プリンタ装置に印刷するよう制御するよう配信することを特徴とする印刷制御方法。
In a print control method for instructing a printer device connected to a client terminal device to print a document,
To the client terminal device, distribute the print instruction of the document, client terminal information on the client terminal device and printer terminal information on the printer device to be transmitted to the server device,
Based on the document printing instruction from the client terminal information, the document is created, and stored in association with the received client terminal information and the printer terminal information,
Print control, wherein the client terminal device obtains the stored client terminal information and the printer terminal information, and obtains the corresponding document and distributes the document so that the document is printed on the printer device. Method.
JP2003161344A 2003-06-05 2003-06-05 Printing control server program, document printing control program, and printing control method Pending JP2004362362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003161344A JP2004362362A (en) 2003-06-05 2003-06-05 Printing control server program, document printing control program, and printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003161344A JP2004362362A (en) 2003-06-05 2003-06-05 Printing control server program, document printing control program, and printing control method

Publications (1)

Publication Number Publication Date
JP2004362362A true JP2004362362A (en) 2004-12-24

Family

ID=34053816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003161344A Pending JP2004362362A (en) 2003-06-05 2003-06-05 Printing control server program, document printing control program, and printing control method

Country Status (1)

Country Link
JP (1) JP2004362362A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009084707A1 (en) * 2007-12-27 2009-07-09 Sharp Kabushiki Kaisha Information providing device, information display device, information providing system, control method, control program and storage medium
WO2011080994A1 (en) * 2009-12-28 2011-07-07 Canon Kabushiki Kaisha Server apparatus, terminal apparatus, and printing system and data conversion method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009084707A1 (en) * 2007-12-27 2009-07-09 Sharp Kabushiki Kaisha Information providing device, information display device, information providing system, control method, control program and storage medium
WO2011080994A1 (en) * 2009-12-28 2011-07-07 Canon Kabushiki Kaisha Server apparatus, terminal apparatus, and printing system and data conversion method thereof
JP2011138395A (en) * 2009-12-28 2011-07-14 Canon Inc Server device, terminal equipment, printing system, and data conversion method thereof
US8947701B2 (en) 2009-12-28 2015-02-03 Canon Kabushiki Kaisha Server apparatus, terminal apparatus, and printing system and data conversion method thereof

Similar Documents

Publication Publication Date Title
JP4240690B2 (en) Information processing apparatus, information processing method, information processing system, and recording medium
JP3682777B2 (en) Image forming apparatus and remote management system
US7236260B2 (en) Print server apparatus, print job reservation management method, reservation job generation method and memory medium
US9069504B2 (en) Printing apparatus and method for increasing storage area
US20120092689A1 (en) Information processing apparatus, method for controlling the same, and storage medium
US7411690B2 (en) Information processing apparatus, print system, information processing method, and print method
JP2004334874A (en) Print control system and print control method
JP2010191631A (en) Image forming device
JP2006031674A (en) Information processing apparatus, information processing method and program
JP4652523B2 (en) Server apparatus, image processing apparatus, information processing method, and storage medium
JP6292009B2 (en) System and method
JP4723008B2 (en) Network printing system, server computer used in the printing system, computer program, recording medium storing the program, and printer driver
JP2000357131A (en) Electronic equipment control system using communication protocol
JP2002373064A (en) Printer and information processor
JP3622670B2 (en) Print job management device
JP4154250B2 (en) Information processing method, information processing apparatus, and program
JP2004362362A (en) Printing control server program, document printing control program, and printing control method
JP3743184B2 (en) Printing system, printer and print server
JP2005115660A (en) Printing service system, printing processing method, storage medium storing computer readable program, and the program
JP5847528B2 (en) Image forming apparatus, image forming apparatus control method, and program
JP2008134934A (en) Print system, control method, and program
JP4292731B2 (en) Information processing system and server device
JP2008123310A (en) Image forming device and method
JP2007199771A (en) Information processor, image forming device, data processing system, information processing method, storage medium, program
JP2008027217A (en) Printing system with information processor and printing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080527

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080930