JP2005050046A - Printing processing system and its method, and information processor - Google Patents
Printing processing system and its method, and information processor Download PDFInfo
- Publication number
- JP2005050046A JP2005050046A JP2003204817A JP2003204817A JP2005050046A JP 2005050046 A JP2005050046 A JP 2005050046A JP 2003204817 A JP2003204817 A JP 2003204817A JP 2003204817 A JP2003204817 A JP 2003204817A JP 2005050046 A JP2005050046 A JP 2005050046A
- Authority
- JP
- Japan
- Prior art keywords
- data
- server
- client
- form data
- 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.)
- Withdrawn
Links
Images
Abstract
Description
【発明の属する技術分野】
【0001】
本発明は、ネットワークを介してサーバとクライアントとが接続された印刷処理システム及びその方法と情報処理装置に関するものである。
【従来の技術】
【0002】
インターネットの急速な発展とWebサーバ(サーバ側プログラム)の普及に伴い、業務処理のWeb化が進んでいる。また、このようなネットワークに接続されるパーソナルコンピュータ(PC)は、情報の表示と情報の入力が可能なWebブラウザ(クライアント側プログラム)を搭載しており、このようなPCを利用してWebブラウザとWebサーバによる業務処理が広く行われるようになっている。この時、業務処理に必要な情報が、WebサーバとWebブラウザの間で交換される。このWebサーバは、Webブラウザから入力された情報を受け取り、Webサーバでその情報を加工し、その加工した後の情報を再びWebブラウザに送信する。そしてWebブラウザは、その加工後の情報を表示する。これらの動作が繰り返し行われて業務が遂行される。ここでWebブラウザとWebサーバによる業務処理において問題となるのは、業務処理上欠かせないプリント処理に関する部分である。特に帳票等の特定のフォーマットに従ったプリントをユーザの所望するように行うことができなかった。
【0003】
通常のWebブラウザはプリント機能を提供しているものの、このプリント機能は、Webブラウザで表示されたイメージのハードコピーを、Webブラウザに接続されているプリンタ(或いは、Webブラウザが起動されているコンピュータの配下にあるプリンタ)によりプリントさせるものである。このようなプリント方法では、用紙サイズを越えるイメージや、複数ページに跨るイメージの印刷では、ページ区切りをどのようにするかという問題があり、ユーザが所望するプリントが行われないことが多い。
【0004】
このような問題を解決する方法として、Webサーバを有する印刷処理サーバが、Webブラウザからの指示に応じて印刷用データ(例えば、帳票印刷データ)を生成し、その生成した印刷データに基づいて、Webサーバ側に接続された印刷装置(例えば、プリンタ)により印刷する印刷処理方法が考えられる。この印刷処理方法においては、印刷する流れは以下の(1)から(2)へとなっている。
(1)帳票印刷用のデータとテンプレートを分割し、ユーザがクライアント環境のWebブラウザから入力した印刷用データをWebサーバへ送信する。クライアントであるWebブラウザでは、付属プログラム(例えば、プラグイン)などを用いて帳票印刷用データをユーザが入力可能とし、更に、ユーザが入力した印刷用データをHTTP(Hypertext Transfer Protocol)を用いて、Webサーバに送信する。
(2) 上記の送信された印刷用データをWebサーバ側で帳票印刷用のテンプレートと結合して印刷用データを生成し(以下、「オーバレイ」と呼ぶ)、その生成した印刷用データをプリンタに送信する。サーバ環境のWebサーバでは、その印刷用データを変換プログラム(例えば、プリンタドライバ)を用いて印刷可能なデータに変換し、Webサーバに接続されたプリンタに送信して印刷する。(以下、「サーバ側印刷方式」と呼ぶ)
【特許文献1】
特開2002−351645号公報
【発明が解決しようとする課題】
【0005】
しかしながら、従来の技術で示される上記の印刷処理方法(サーバ側印刷方式)では、クライアント側で入力された文字データがクライアント環境の機種依存文字であった場合、特にクライアント側とサーバ側とで文字コードの体系が異なる場合や文字フォントの種類が異なる場合には、その機種依存文字を、サーバ側で、所望のようには印刷できないという問題があった。
【0006】
そこで上記の印刷処理方法(サーバ側印刷方式)の問題を解決するため、クライアント側の機種依存文字のフォントデータをも印刷用データと同時にサーバに送信し、サーバ側で、そのフォントデータと、その機種依存文字の文字コードとから、その機種依存文字の印刷データを生成して印刷処理を行う方法が実行されている。
【0007】
しかしながら、機種依存文字のフォントデータを送信する方法では、送信するデータのサイズが文字コードのみの場合と比較して増大するため、通信データのサイズの増大及び通信時間の増大が発生するという課題があった。また、サーバ側で、そのフォントデータを登録し、文字コードから、その機種依存文字のフォントデータをラスタライズして印刷データを生成する処理が増えるため、印刷時間の増大及び応答時間の増大が発生するという問題があった。
【0008】
また、フォントデータが著作権等の権利により保護されている場合、使用許可される特定のコンピュータ上でのみフォントデータの使用が許可されるため、フォントデータをクライアント以外のコンピュータに送信することが権利上認められないので、上記のフォントデータの送受信ができないという問題があった。
【0009】
また従来のクライアントでオーバレイ印刷を実行する場合には、最新の帳票データを用いて印刷する必要があるため、サーバが有している最新バージョンの帳票データを常にチェックしなければならず、またサーバから常に最新の帳票データをダウンロードしなければならず、そのダウンロードに多くの時間を要するという問題があった。
【0010】
本発明は上記問題点に鑑みてなされたもので、本願発明の特徴は、クライアントの機種に特有の文字フォントを使用していても、その文字フォントを使用してサーバで印刷することができる印刷処理システム及びその方法と情報処理装置を提供することにある。
【0011】
又本願発明の特徴は、クライアントで複数バージョンのフォームデータを記憶しておくことにより、常にサーバからクライアントにフォームデータをダウンロードする手間を省いた印刷処理システム及びその方法と情報処理装置を提供することにある。
【課題を解決するための手段】
【0012】
上記目的を達成するために本発明の印刷処理システムは以下のような構成を備える。即ち、
ネットワークを介して接続されたサーバ及びクライアントを備える印刷処理システムであって、
前記サーバはプリンタと接続されており、
印刷データを生成するためのフォームデータを記憶する記憶手段を有し、
前記クライアントは、前記フォームデータにオーバレイする印刷データを前記サーバに送信して印刷処理を実行させ、
前記印刷データに前記クライアントに特有の文字種が含まれる場合、前記クラアントは前記特有の文字種をイメージデータに展開して前記サーバに送信し、
前記サーバは、前記イメージデータと前記記憶手段に記憶されている、指定されたフォームデータとをオーバレイして印刷データを生成し、前記プリンタにより印刷させることを特徴とする。
【0013】
上記目的を達成するために本発明の印刷処理システムは以下のような構成を備える。即ち、
ネットワークを介して接続されたサーバ及びクライアントを備える印刷処理システムであって、
前記クライアントはプリンタと接続されており、
印刷データを生成するための複数のバージョンのフォームデータを前記サーバから取得して記憶する記憶手段と、
前記記憶手段に記憶されている前記フォームデータの履歴を管理する履歴管理手段とを有し、
前記複数のバージョンのフォームデータの所望の組み合わせを選択可能とし、選択した前記フォームデータを印刷することを特徴とする。
【0014】
上記目的を達成するために本発明の印刷処理方法は以下のような工程を備える。即ち、 ネットワークを介して接続されたサーバ及びクライアントを備える印刷処理システムにおける印刷処理方法であって、
クライアントから、フォームデータにオーバレイする印刷データを前記サーバに送信して印刷処理を実行させ、
前記印刷データに前記クライアントに特有の文字種が含まれる場合、前記クラアントは前記特有の文字種をイメージデータに展開して前記サーバに送信し、
前記サーバは、前記イメージデータと、記憶されている、指定されたフォームデータとをオーバレイして印刷データを生成しプリンタにより印刷させることを特徴とする。
【0015】
上記目的を達成するために本発明の情報処理装置は以下のような構成を備える。即ち、 ネットワークを介してサーバと接続される情報処理装置であって、
フォームデータにオーバレイする印刷データを前記サーバに送信して印刷要求を発行する手段と、
前記印刷データに前記クライアントに特有の文字種が含まれる場合、前記特有の文字種をイメージデータに展開して前記サーバに送信するイメージ展開手段とを有することを特徴とする。
【発明の効果】
【0016】
本発明によれば、クライアントの機種に特有の文字フォントを使用していても、その文字フォントを使用してサーバで印刷することができる。
【0017】
又本発明によれば、常にサーバからクライアントにフォームデータをダウンロードする手間を省くことができる。
【発明の実施の形態】
【0018】
以下、添付図面を参照して本発明の好適な実施の形態を詳しく説明する。
【0019】
図1は、本発明の実施の形態1に係る帳票印刷処理システムの機能構成を示すブロック図である。
【0020】
図において、100は、この帳票印刷処理システムにおけるクライアントであるWebブラウザ等の情報処理装置である(以下、「Webブラウザ」と省略する)。このWebブラウザ100は、HTML(Hypertext Markup Language)等で記述された文書データファイル(以下、「Webドキュメント」と省略する)を表示する機能を持つアプリケーションプログラムで、Webサーバ107から受信したWebドキュメントを表示する。また、このWebブラウザ100は、単にWebドキュメントを表示するのみならず、HTMLの記述に従って、UI画面を表示部102に表示し、そのUIを使用してユーザによりデータの入力又は処理を選択させ、そのデータをWebサーバ107に送信する機能をも持つ。尚、このWebブラウザ100は、入力又は選択されたURL(Uniform Resource Locator)に従って、Webサーバ107からWebドキュメントを取得する。またWebブラウザ100は、その取得したWebドキュメントが印刷データ用のHTMLのフォーム(FORM)要素を持つ場合、そのフォーム要素を印刷データとしてユーザに入力又は選択させ、それをWebサーバ107に返送する機能をも持つ。これによりWebサーバ107は、そのクライアントから送信されたフォームデータを解析し、対応する印刷データと印刷テンプレートを得て、印刷結果のステータス情報を、そのクライアントであるWebブラウザ100に返送することができる。
【0021】
101はデータ入力部で、キーボードやポインティングデバイスなどのマウスを備えている。102は、Webブラウザ100におけるデータ表示部である。
103は、Webブラウザ100のデータ処理部である。104は、Webブラウザ100における画像生成部である。105はネットワーク通信制御部で、この帳票印刷処理システムに係るWebサーバ107に対してデータの入出力を行う。このネットワーク通信制御部105は、電話回線やLAN等のネットワーク106を介してWebサーバ107とデータを交換する。このネットワーク106の形態として、例えばLAN、インターネット、無線などがある。尚、ここではネットワーク106は、Web環境の通信手順(例えば、TCP/IPプロトコルやHTTPプロトコル)に対応している。尚、この図1では、情報端末がWebブラウザ100の1つだけが示されているが、ネットワーク106に複数個の端末が接続している場合も含まれることはもちろんである。
【0022】
次にWebサーバ107について説明する。108はネットワーク通信制御部で、Webサーバ107の通信機能を有している。ここで、Webサーバ107の通信機能とは、HTTPやFTP(File Transfer Protocol)等をサポートする機能であり、URLやURI(Uniform Resource Identifier)等のネットワーク識別子で指定された文書データファイル(Webドキュメント)などを、Webブラウザ100からの要求に応じてネットワーク106のクライアントに送信する。109は帳票テンプレート格納部で、帳票プリントの際に使用されるプリント用帳票フォームを示す帳票テンプレート(或いは帳票テンプレートデータ)を格納している。この帳票テンプレート格納部109は、帳票プリントを行うための帳票テンプレート等を格納している。尚、帳票テンプレートは、クライアントがサーバ107から読み出したWebドキュメントごとに、それぞれに対応している。従って、サーバ107が、帳票テンプレートに対応付けられるWebドキュメントをクライアントに送信した場合、そのWebドキュメントに対応する識別子を記憶しておく。また、帳票テンプレート格納部109に格納される帳票テンプレートには、対応するWebドキュメントの識別子が帳票テンプレート識別子として関連付けられている。110はデータ格納部で、データベースで構築されており、各業務用データを格納している。このデータは予めデータベース化されていることもあり、或いはWebブラウザ100で入力されたデータがそのままデータ格納部110に格納されることもある。111はデータ処理部で、各業務用のアプリケーションプログラムに従ってデータ処理を行う。このデータ処理部111は、帳票テンプレート格納部109に格納された帳票テンプレートデータを読み出し、またデータ格納部110に格納された印刷用データを読み出し、この帳票テンプレートデータと印刷用データとをオーバレイした画像を生成する。112は画像生成部で、データ処理部111によりオーバレイされたデータからイメージデータを、予め定められた様式に従って作成する。113はプリント出力部で、データ処理部111からの指示により、画像生成部112が生成したイメージデータを標準的なプリント用データに変換する。プリント出力部113は、所定の形式で記述されたプリントデータを印刷機114に依存した出力形式に従ったデータ形式に変換して印刷機114に出力して印刷させる。114は、プリンタ等の印刷機である。
【0023】
図2は、実施の形態1に係る帳票印刷処理システムにおける動作手順を示すフローチャートである。この処理は、Webブラウザ100がWebサーバ107にアクセスすることにより開始される。
【0024】
まずステップS202で、Webブラウザ100からWebサーバ107にアクセスする際、クライアントであるWebブラウザ100からURLを入力又は選択し、そのURLをWebサーバ107へ送信する。これによりWebサーバ107は、その受信したURLに対応したHTMLデータ(Webドキュメント)をWebブラウザ100へ返信する。ここでHTMLデータは、文字列を入力するためのHTMLのフォーム要素を含み、各フォーム要素は一意の名前で区別可能とする。
【0025】
次にステップS203に進み、その返信されたHTMLデータをWebブラウザ100が受信してデータ表示部102に表示する。次にステップS204に進み、Webブラウザ100において、その受信して表示したHTMLデータに基づいて、ユーザが印刷用の文字列データの入力を行う。これによりWebブラウザ100は入力された文字列データを得る。次にステップS205に進み、その入力された文字列データを解析して、その文字列データ中に、Webブラウザ100(クライアント)側の機種依存文字(このクライアントに特有の文字フォント)が含まれているかどうか判定する。ここで文字列データにクライアントの機種依存文字が含まれている場合はステップS206に進み、それ以外の場合はステップS209に進む。
【0026】
ステップS206では、Webブラウザ100は、Webサーバ107のネットワーク識別子(URL)を使用して、再びサーバ107へ該ネットワーク識別子であるURL及び機種依存文字を含む文字列データに対応したフォームの名前を送信(サブミット)する。これによりサーバ107は、そのフォームの名前を受信し、その名前から、対応する帳票テンプレートの文字列の属性を読み取り、文字列データを表示する矩形の位置、幅、高さを含むデータ及び文字列のフォント属性からなるデータ(以下、「印刷属性データ」と呼ぶ)を、Webブラウザ100に送信する。これによりWebブラウザ100は、その印刷属性データを受信して記憶する。
【0027】
次にステップS207に進み、Webブラウザ100は、その受信した印刷属性データをクライアントの記憶部に保存し、その印刷属性データと機種依存文字を含む文字列データとから、帳票テンプレートの文字列属性に対応した画像データを作成する。そしてステップS208に進み、その画像データと、その画像データに対応した文字列に対応したHTMLのフォームの名前をサーバ107に送信(サブミット)する。こうしてサーバ107は、受信した画像データとフォームの名前をデータ格納部110に記憶する。
【0028】
次にステップS209に進み、Webブラウザ100は、ステップS203で受信したHTMLデータのフォームの名前と、ステップS204で入力された文字列データとからなる組の情報を、サーバ107に送信(サブミット)する。こうしてサーバ107は、この情報を受信するとステップS210に進み、サーバ107は、ステップS209で受信した情報から、対応する帳票テンプレートを読み出し、データ処理部111により、入力された文字列データとWebブラウザ100から受信した画像データとを組み合わせて印刷用のデータを作成する(オーバレイ処理)。次にステップS211に進み、Webサーバ107は、画像生成部112で印刷用のイメージデータを作成し、そのイメージデータをプリント出力部113から印刷機105に出力して印刷する。
【0029】
本実施の形態1の特徴は、Webサーバ107で、クライアントの機種依存文字を印刷する場合に、クライアント側で、その機種依存文字をイメージデータに変換してサーバ107へ送信する。これにより、このサーバ107では、そのイメージデータを利用して印刷データを生成する。これにより、サーバ107においてもクライアント側の機種依存文字を印刷することができる。
【0030】
本発明の実施の形態1に係る処理を図3及び図4を参照して説明する。
【0031】
図3は、Webブラウザ100における印刷用の文字列の入力時に、データ表示部102に表示されるウィンドウの表示例を示す図である。
【0032】
図において、302はWebブラウザ100のHTMLタイトルを示している。以下、サーバ107からダウンロードしたHTMLのタイトル要素の文字列(タイトル文字列)を表示する。303にはWebブラウザ100のメニューが表示される。304はWebブラウザ100のボタンを表す。305は、Webサーバ107にアクセスするためのURLを入力するフィールドである。このURLの「http」は、プロトコルがHTTPであることを示し、「192.168.1.100」は、Webサーバ107のIP(Internet Protocol)アドレスを示している。
更に、この例では、「HTML_ID」が「5」に対応したHTMLデータであることを指示するための情報「HTML_ID_5.html」が末尾に付加されている。尚、この「HTML_ID」が「5」に対応した帳票テンプレートの識別子(TEMPLATE_ID)及びネットワーク識別子(TEMPLATE_URL)は、HTMLデータ中にHIDDEN属性のINPUT要素として埋め込まれているため、画面には表示されていない。
【0033】
以下の例では、このHTMLデータのフォーム要素のPOSTメソッドを用いて、URIが「/cgi−bin/data_download_print.cgi」で示されるサーバ107上のCGI(Common Gateway Interface)プログラムに印刷データが送信されることを示す。
【0034】
このHTMLデータ中に埋め込まれた「TEMPLATE_ID」の値が「3」、
「TEMPLATE_URL」の値が「http://192.168.1.100/template_3」の場合のINPUT要素の例:
<FORM METHOD=”POST” ACTION=”/cgi−bin/data_download_print.cgi”>
<INPUT TYPE=”HIDDEN” NAME=”TEMPLATE_ID” VALUE=”3”>
<INPUT TYPE=”HIDDEN” NAME=”TEMPLATE_URL” VALUE=”http://192.168.1.100/template_3”>
...省略...
</FORM>
308は、印刷リクエストをサーバ107に送る命令を発行するボタンを示している。ユーザが、ポインティングデバイスを操作して、この印刷ボタン308上にカーソルを移動してクリックすることにより、サーバ107に印刷命令が発行される。Webブラウザ100は、この印刷命令が発行されると、HTMLを解析して、「HTML_ID」が「5」に対応した帳票テンプレートの識別子(TEMPLATE_ID)、及びネットワーク識別子(TEMPLATE_URL)を得る。更に、入力フィールド306及び入力フィールド307から、印刷用文字列を得て、クライアント側の機種依存文字が含まれているかどうか検索する。
【0035】
入力された印刷用文字列にクライアント側の機種依存文字が含まれている場合は、受信したネットワーク識別子(TEMPLATE_URL)及び機種依存文字が含まれている入力フィールドのフォームの名前をサーバ107にサブミット(submit)する。これによりサーバ107は、受信したネットワーク識別子(TEMPLATE_URL)から対応する帳票テンプレートを検索して読み出す。更に、その受信した入力フィールドのフォームの名前から、帳票テンプレートにおける対応する文字列置換領域の位置、幅、高さ及び文字列のフォント情報を読み出し、属性データを作成してWebブラウザ100に送信する。
【0036】
これによりWebブラウザ100は、その受信した属性データと印刷用文字列とから印刷するイメージデータを作成する。このイメージデータの作成に成功した場合、Webブラウザ100は、その作成したイメージデータの符号化(URLエンコード)されたデータ、フォームの名前からなる文字列、及び機種依存文字を含む文字列の画像を送信することを示すフラグをHTTPのPOSTメソッドを使用して、サーバ107上の「data_download_print.cgi」プログラムへ送信する。
【0037】
次に、この「data_download_print.cgi」プログラムは、そのフラグが設定されたデータを受信した場合、その受信した画像データを復号(URLデコード)し、サーバ107のデータ格納部110に記憶する。
【0038】
一方、入力された印刷用文字列にクライアント側の機種依存文字が含まれていない場合は、ユーザが入力した印刷用文字列データをサーバ107のネットワーク識別子(TEMPLATE_URL)へサブミット(submit)する。以下の例では、HTMLデータ中に埋め込まれたINPUT要素の例として、印刷ボタン308をクリックすると、ユーザが選択した印刷オプションからなる印刷データがサーバ107へサブミット(submit)されることを示す。
【0039】
HTMLデータ中に埋め込まれた印刷ボタンを示すINPUT要素の例:
<INPUT TYPE=”submit” VALUE=”印刷”>
サーバ107の「data_download_print.cgi」プログラムは、上記の帳票テンプレートの識別子(TEMPLATE_ID)、機種依存文字の有無を示すフラグ、及びネットワーク識別子(TEMPLATE_URL)をデータ格納部110へ登録して、イメージデータが送信された場合は、そのイメージデータを利用して、印刷データをオーバレイ処理により作成する。そして、この作成した印刷データを印刷機114に送信し、その送信結果をWebブラウザ100に送信して、印刷処理を終了する。
【0040】
図4は、印刷用の帳票テンプレートの一例を示す図である。それぞれの帳票テンプレートには固有の識別子(TEMPLATE_ID)と、ネットワーク識別子(TEMPLATE_URL)が対応している。図4の帳票テンプレートの識別子「TEMPLATE_ID」は「3」であるものとする。
【0041】
図4において、401は帳票テンプレートにおける可変フィールドを示す。それぞれの可変フィールドには固有の識別子(FIELD_ID)と、HTMLのフォームの名前が対応している。この可変フィールド401は、識別子「FIELD_ID」がHTMLの”注意1”に対応しているものとする。
【0042】
402は帳票テンプレートにおける可変フィールドを示す。この可変フィールド402は、識別子「FIELD_ID」がHTMLの”注意2”に対応している。
【0043】
図5は、図4の可変フィールド401に入力された文字列の一例を示す図である。
【0044】
この文字列500の先頭の文字は、日本工業規格JIS X 0221−1995(ISO/IEC 10646−1−1993)において規定されている(又はUnicode Consortium が発行している Unicode Version 3.0 において規定されている)CIRCLED DIGIT ONE(文字符号 U+2460、丸付き数字)であり、クライアントにおける、機種依存文字の一例を示している。
【0045】
図6は、図4の可変フィールド402に入力された文字列の一例を示す図である。ここでは「以下の行為は危険です。」という文字列600が入力されている。
【0046】
図7は、本実施の形態1において、図4の帳票テンプレートと図5の文字列500から作成されたイメージデータと、図6に示す文字列600とから、オーバレイ処理により、正しく印刷された印刷結果の例を示す図である。ここでは、図5に示す機種依存文字「CIRCLED DIGIT ONE」が正しく画像に変換処理されて印刷されている。
【0047】
この場合は、図4の帳票テンプレートにおいて、可変フィールド401の部分が図5の文字列500から作成されたイメージに置換され、可変フィールド402の部分が、図6に示す文字列600に置換されてオーバレイ処理された結果を示している。図7の701は、図4における帳票テンプレートにおいて、可変フィールド401の部分が図5の文字列500から作成されたイメージに置換されてオーバレイ処理された結果を示し、702は、図4における帳票テンプレートにおいて、可変フィールド402の部分が図6の文字列600に置換されてオーバレイ処理された結果を示している。
【0048】
これに対して図8は、従来例において、図4における帳票テンプレートと図5の文字列500と図6の文字列600とから、オーバレイ処理により誤って印刷された印刷結果の例を示す図である。
【0049】
この例では、図5の機種依存文字「CIRCLED DIGIT ONE」が適正にイメージ展開されずに、「??」で印刷された例を示している。図4における帳票テンプレートにおいて、可変フィールド401の部分が図5の文字列500に置換され、可変フィールド402の部分が図6の文字列600に置換されてオーバレイ処理された結果を示す。801は、図4の帳票テンプレートにおいて、可変フィールド401の部分が図5の文字列500に置換されてオーバレイ処理されるはずが、丸付き数字が「??」に変換されて印刷された結果を示し、802は、図4の帳票テンプレートにおいて、可変フィールド402の部分が図6の文字列600に置換されてオーバレイ処理された結果を示している。
【0050】
尚、前述の実施の形態1において、HTMLデータ(Webドキュメント)中に、帳票テンプレートの属性データの値を、最初からHTMLのHIDDEN属性の値として埋め込んでおき、Webブラウザ100の画像生成部104が、その属性データを読み込んでクライアント側で画像データを作成するようにしても良い。
これにより、Webブラウザ100がサーバ107に対して、その属性データの送信を別途行う必要がないため、その属性データに関する通信回数及び通信処理を省略できる利点がある。
【0051】
また前述の実施の形態1において、HTMLデータ(Webドキュメント)と同時に、対応する帳票テンプレートのデータをもサーバ107からクライアントにダウンロードして、クライアント側で全てのオーバレイ処理を実行して、作成したイメージデータをHTTPのPOSTメソッドを使用してサーバ107に送信するようにしても良い。これにより、サーバ107はオーバレイ処理を行う必要がなく、受信した画像データを画像生成部112が印刷機114に適合したイメージ処理を行い、変換されたイメージをプリント出力部113がプリントするだけであるため、サーバ107の処理を軽減できる利点がある。
【0052】
また、サーバ107に接続された印刷機114から印刷するサーバ107での印刷方式に対して、クライアント側に接続された印刷機から印刷するクライアント側印刷方式が考えられるが、ここではクライアント側の印刷方式の処理においてイメージを作成した後に、クライアント側の印刷機から印刷せずに、そのイメージをサーバ107に送信して、サーバ107の印刷機114で印刷処理を行うようにしたものである。
【0053】
更に、印刷処理を行う前に、ある時点で全ての帳票テンプレートをサーバ107からダウンロードしてクライアント側に記憶しておくようにしても良い。これにより、印刷処理の時点で帳票テンプレートをダウンロードする必要がないため、印刷処理の応答時間及び帳票テンプレートのダウンロード処理を節約できる利点がある。これは特に、印刷処理が行われることが少ない時間帯(夜間など)にバッチ処理等により全ての帳票テンプレートをダウンロードしておくことにより、サーバ107の負担を軽減でき、ネットワーク106の輻輳を避けることができるため効果的である。
【0054】
更に、印刷処理を行う時点で印刷データの展開処理を実施するのではなく、印刷データをサーバ107で記憶しておき、ある特定の時点で印刷データの処理を実行するようにしても良い。これによりサーバ107は、応答データとして印刷処理のステータス情報の代わりに、印刷を行う予定時刻を返答するようにしても良い。これにより、印刷処理が行われることが少ない時間帯(夜間など)にバッチ処理等によりサーバ107で印刷処理を実行できるため、印刷処理が集中する時間帯を避けて印刷処理を行うことができるという利点がある。
【0055】
更に、印刷処理が集中する時間帯に、クライアントからサーバに対して印刷命令を発行する場合に応答時間を節約できる利点がある。またサーバ107でプリントスケジュールを管理できるので、印刷処理のスケジュールを配分して複数の印刷ジョブの時間が重複しないようにして印刷機114を効果的に利用できる利点もある。
【0056】
以上説明したように本実施の形態1によれば、サーバ側で印刷する場合に、印刷用データにクライアントの機種依存文字が含まれる場合であっても、サーバで所望の印刷を行うことができるという効果がある。
【実施の形態2】
【0057】
図9は、本発明の実施の形態2に係る帳票印刷処理システムの機能構成を示すブロック図で、前述の図1と共通する部分は同じ記号で示している。
【0058】
200は、本実施の形態2に係る帳票印刷処理システムにおけるWebクライアント(以下、「クライアント」)であるPC等の情報処理装置である。201はWebブラウザである。このWebブラウザ201は、HTML等で記述された文書データファイル(Webドキュメント)を表示する機能を持つアプリケーションプログラムで、Webサーバ107から受信したWebドキュメントを表示する。またこのWebブラウザ201は、単にWebドキュメントを表示するのみならず、HTMLの記述に従って、UI画面を画面上似表示し、ユーザによりデータを入力又は選択させ、そのデータをWebサーバ107に返送する機能をも持つ。尚、Webブラウザ201は、入力又は選択されたURLに従って、サーバ107からWebドキュメントを取得する。またこのWebブラウザ201は、その取得したWebドキュメントが印刷データ用のHTMLのフォーム要素を持つ場合に、そのフォーム要素を印刷データとしてユーザに入力又は選択させ、それをWebサーバ107に返送する機能をも持つ。Webサーバ107は、その送信されたフォームデータを解析し、対応する印刷データと印刷テンプレートを得て、Webブラウザ201に返送する。
【0059】
202はデータ履歴管理部で、Webブラウザ201が得た印刷データと印刷テンプレートとの組を記憶部に記憶し、その印刷データと該印刷テンプレートのバージョン番号毎に履歴管理する。尚、帳票テンプレートは、クライアント200がサーバ107から読み出したWebドキュメントごとに、それぞれに対応したものがある。従って、サーバ107が、帳票テンプレートに対応付けられるWebドキュメントをクライアント200に送信した場合、そのWebドキュメントに対応する識別子をクライアント200が記憶しておく。また、データ履歴管理部202に格納される帳票テンプレートには、対応するWebドキュメントの識別子が帳票テンプレート識別子として関連付けられている。
【0060】
203はデータ入出力部で、この帳票印刷処理システムにおけるWebサーバ107に対してデータの入出力(送受信)を行う。データ入出力部103は、電話回線やLAN等のネットワーク106を介してサーバ107とデータを交換する。204はプリント出力部で、Webブラウザ201からの指示により、Webブラウザ201に表示されているイメージを標準的なプリント用データに変換する。プリント出力部104は、所定の形式で記述されたプリントデータをプリンタ205に依存した出力形式に従ったデータ形式に変換してプリンタ205で印刷させるほか、サーバ107等から受信したプリンタ205の出力形式のデータをスプールに入れてプリンタ205により印刷させる。尚、図では、クライアント200が1個だけ示されているが、ネットワーク106に複数端末が接続している場合も含まれる。
【0061】
次にサーバ107について説明する。ネットワーク通信制御部108は、HTTPやFTP等をサポートしており、URLやURIなどで指定された文書データファイル(Webドキュメント)などを、クライアント200からの要求に応じてネットワーク106のクライアント200に送信できる。帳票テンプレート格納部109は、帳票プリントの際に使用されるプリント用の帳票テンプレートを格納している。尚、この帳票テンプレートは、クライアント200がサーバ107から読み出したWebドキュメント毎に、それぞれに対応したものがある。従って、サーバ107が帳票テンプレートに対応付けられるWebドキュメントをクライアント200に送信した場合、そのWebドキュメントに対応する識別子をサーバ107が記憶している。また、帳票テンプレート格納部109に格納される帳票テンプレートには、対応するWebドキュメントの識別子が帳票テンプレート識別子として関連付けられている。データ格納部110は、データベースで構築されており、各業務用データを格納している。このデータは予めデータベース化されていても良く、或いはWebブラウザ201で入力されたデータがそのままに格納されても良い。データ処理部111は、各業務用のアプリケーションプログラムに従ってデータ処理を行う。データ管理部212は、一度作成された帳票プリントデータを保存し、その保存した帳票プリントデータをクライアント200へ送信する。213は出力データ生成部で、帳票プリントデータを決められた様式に従って作成する。
【0062】
図10は、本実施の形態2に係る帳票印刷処理システムにおける動作手順を示すフローチャートである。この処理は、クライアント200がサーバ107にアクセスすることにより開始される。
【0063】
まずステップS301で、クライアント200から、この帳票印刷処理システムにアクセスする際、クライアント200で動作するWebブラウザ201からURLを入力又は選択し、Webサーバ107へ、そのURLを送信する。これによりWebサーバ107は、そのURLを受信し、その受信したURLに対応したHTMLデータ(Webドキュメント)中に印刷用の帳票テンプレートの識別子(TEMPLATE_ID)と帳票テンプレートのバージョン(VERSION_NO)のリストを埋め込み、クライアント200へ返信する。
【0064】
これによりステップS302に進み、そのクライアント200のWebブラウザ201は、その返信されたHTMLデータを受信して画面上に表示する。こうして表示されたHTMLのボタンやプルダウンメニュー等で、バージョンが選択可能なリスト中から、クライアント200のユーザは所望のバージョンを選択する。次にステップS303に進み、クライアント200は、サーバ107から受信したHTMLデータを解析し、印刷用の帳票テンプレートの識別子(TEMPLATE_ID)と、選択された帳票テンプレートのバージョン(VERSION_NO)とを得る。
【0065】
次にステップS304に進み、データ履歴管理部202が履歴管理テーブルを用いて、その選択された帳票テンプレートのバージョンがクライアント200で保存されている最新バージョンよりも新しいバージョンかどうかを判断する。新しいバージョンの場合は、サーバ107の帳票テンプレートの最新バージョンがクライアント200で保存されている最新バージョンよりも更新されているのでサーバ107からダウンロードするためにステップS305に進み、そうでない場合はステップS308に進む。
【0066】
ステップS305では、クライアント200は、HTMLから帳票テンプレートに対応したURLを得て、再びサーバ107へ、そのURLを送信し、最新の帳票テンプレートをダウンロードするように要求する。次にステップS306に進み、クライアント200上のデータ履歴管理部202は、その新たに取得した帳票テンプレートの識別子(TEMPLATE_ID)と帳票テンプレートのバージョン(VERSION_NO)を履歴管理テーブルに登録し、履歴管理テーブルを更新する。そしてステップS307に進み、クライアント200は、その受信した帳票テンプレートをクライアント200の記憶部に保存する。その際、帳票テンプレートの識別子(TEMPLATE_ID)と帳票テンプレートのバージョン(VERSION_NO)とを関連付けて、「TEMPLATE_ID」と「VERSION_NO」から所望の組み合わせの帳票テンプレートが得られるように保存する。
【0067】
次にステップ308に進み、ステップS302で、サーバ107から受信したHTMLデータから帳票データを取得する。次にステップS309に進み、帳票テンプレートと帳票データとを組み合わせて印刷用のデータを作成する(以下、「オーバレイ処理」と呼ぶ。)。次にステップS310に進み、印刷用のデータをプリンタ205に送信し印刷する。
【0068】
以上説明したように本実施の形態2によれば、クライアントにおいて、単数又は複数のバージョンの印刷用テンプレートから所望のバージョンを選択可能とする機能を提供できる。
【0069】
図11は、本実施の形態2に係るバージョンの選択処理を説明する図である。
【0070】
図において、1301はクライアント200に表示されるWebブラウザ201のウィンドウの表示例を示す。1302は、サーバ107にアクセスするためのURLを入力するフィールドである。このURLの「http」の部分はプロトコルがHTTPであることを示し、「192.168.1.100」は、サーバ107のIP(Internet Protocol)アドレスを示している。更に、この実施の形態2では、「HTML_ID」が「5」に対応したHTMLデータであることを指示するための情報「HTML_ID_5.html」が末尾に付加されている。この「HTML_ID」が「5」に対応した帳票テンプレートの識別子(TEMPLATE_ID)は、HTMLデータ中にHIDDEN属性のINPUT要素として埋め込まれているため、画面には表示されていない。
【0071】
以下の例では、HTMLデータのフォーム要素のPOSTメソッドを用いて、URIが「/cgi−bin/data_download.cgi」で示されるサーバ107のCGI(Common Gateway Interface)プログラムに印刷データが送信されることを示す。
【0072】
このHTMLデータ中に埋め込まれた「TEMPLATE_ID」の値が「3」の場合のINPUT要素の例:
<FORM METHOD=”POST” ACTION=”/cgi−bin/data_download.cgi”>
<INPUT TYPE=”HIDDEN” NAME=”TEMPLATE_ID” VALUE=”3”>
...省略...
</FORM>
1303は、出力する帳票テンプレートのバージョンを選択するリスト(ラジオボタン等)を表す。この例では、「バージョン1」,「バージョン2」,「バージョン3」から一つだけを選択可能で、図の例では「バージョン1」が選択されている。黒丸「●」は選択されていることを示し、白丸「○」は選択されていないことを示している。ユーザは、こうして「バージョン1」を選択することにより、「HTML_ID」が「5」に対応した帳票テンプレートのバージョン1(VERSION_NOの値が1)をサーバ107へ送信するように要求する。
【0073】
HTMLデータ中に埋め込まれたラジオタイプ属性の場合のINPUT要素の例:
<INPUT TYPE=”radio” NAME=”VERSION_NO” VALUE=”1” CHECKED>1<BR>
<INPUT TYPE=”radio” NAME=”VERSION_NO” VALUE=”2”>2<BR>
<INPUT TYPE=”radio” NAME=”VERSION_NO” VALUE=”3”>3<BR>
1304は出力する帳票データを表す。この例では、「7月 月次集計を出力」、「8月 月次集計を出力」、「9月 月次集計を出力」から一つだけ選択する。図の例では、HTMLデータ中に埋め込まれたSELECT要素の一例である、month変数の選択要素として「7月 月次集計を出力」、「8月 月次集計を出力」、「9月 月次集計を出力」から一つだけが選択可能で、それぞれ選択されると、それに対応して「July」,「August」,「September」のいずれかを選択してサーバ107に送信する。
【0074】
HTMLデータ中に埋め込まれたSELECT要素の例:
<SELECT NAME=”month” SIZE=”1”>
<OPTION VALUE=”July” selected>7月 月次集計を出力
<OPTION VALUE=”August”>8月 月次集計を出力
<OPTION VALUE=”September”>9月 月次集計を出力
</SELECT>
1305はマーカで、ポインティングデバイスの操作に応じて画面上を移動し、出力リクエストをサーバ107に送る命令を発行する操作を指示するのに使用される。ユーザは、このマーカ1305を使用して、ボタン1306上でクリック操作することにより、選択した印刷データをサーバ107の「data_download.cgi」プログラムへ送信する。次に、この「data_download.cgi」プログラムは、その送信された印刷データを解析し、ユーザが指定した帳票テンプレートが最新のバージョンかどうか判断し、最新のバージョンの場合にのみ帳票テンプレートをサーバ107の記憶部から得てクライアント200へ返送する。また、ユーザが指定した帳票データをサーバ107の記憶部から得て、クライアント200へ返送する。以下の例では、HTMLデータ中に埋め込まれたINPUT要素の例として、実行ボタンをクリックすると、ユーザが選択した印刷オプションからなる印刷データがサーバ107へサブミット(submit)される。
【0075】
HTMLデータ中に埋め込まれた実行ボタンを示すINPUT要素の例:
<INPUT TYPE=”submit” VALUE=”実行”>
本実施の形態2では、図11で示されるマーカ1305を実行ボタン1306上に移動してクリック操作することにより、選択したバージョンの帳票出力を命じて、最新のバージョン以外の過去のバージョンの帳票をもクライアント200で選択し印刷できる。
【0076】
図12は、クライアント200のデータ履歴管理部202における、印刷用のデータを管理するためのデータ履歴管理テーブルの一例を示す図である。
【0077】
1401はデータ履歴管理テーブルが「TEMPLATE_ID」が「3」で指定される印刷テンプレートの情報であることを示している。1402は対応するHTMLデータの「HTML_ID」のカラムを示し、1403,1404,1405は、「HTML_ID」がそれぞれ「5」で指定されるHTMLデータを使用することを示す。1406は、「TEMPLATE_ID」が「3」で指定される印刷テンプレートのバージョン「VERSION_NO」を示し、1407,1408,1409はそれぞれ1403,1404,1405に対応して「VERSION_NO」が「1」,「2」,「3」であることを示している。
【0078】
この例では、「HTML_ID」がそれぞれ「5」で指定されるHTMLデータを使用する場合は、「TEMPLATE_ID」が「3」で指定される印刷テンプレートで印刷を行い、その印刷テンプレートは「VERSION_NO」の値が「1」,「2」,「3」の3種類から一つだけ選択可能となっている。
【0079】
このように本実施の形態2によれば、データ履歴管理部202において印刷用データの複数のバージョンを管理することにより、複数のバージョンの印刷用データから所望のバージョンの印刷用データを選択して印刷できる。更に、その選択したバージョンの印刷用データが最新バージョン以外の場合、クライアント200に保存された印刷用データを使用することにより、ダウンロード処理が省略でき、ダウンロード処理の負担や時間を節約できる。
【0080】
また、クライアント200のデータ履歴管理部202において保存する各バージョンの帳票データを、最初のバージョンからの差分として保存しておき、Webブラウザ201で印刷データを生成する際に、最初のバージョンの帳票データとそれぞれのバージョンの差分から、その選択された帳票データを再構成して、印刷データを作成しても良い。これにより、それぞれのバージョンの帳票データを全て保存する必要がなくなり差分のみを保存すればよいため、クライアント200における記憶部の記憶領域を節約できるという効果がある。
【0081】
また、クライアント200のデータ履歴管理部202において保存する各バージョンの帳票データの個数Nに制限し、最新のバージョンの帳票データから個数Nまでのバージョンの帳票データのみを選択可能としても良い。これにより、個数Nより以前のバージョンの帳票データが不要な場合、不要な帳票データをデータ履歴管理部202が自動的に削除することによりクライアントの記憶領域を節約できる。
【0082】
以上説明したように本実施の形態2によれば、クライアントにおいて帳票を印刷する場合、クライアント200により、単数又は複数のバージョンの印刷用テンプレートから所望の印刷用データを選択して印刷できる。
【0083】
また本実施の形態2では、最新バージョン以外の過去のバージョンの印刷用テンプレートを選択した場合は、既にクライアント200にダウンロードされているため、最新の印刷用テンプレートをサーバ107からクライアント200にダウンロードする必要がなくなる。これにより送信するデータ量を減少でき、ネットワークの負荷を下げることができる。またダウンロードに要する時間を節約することにより印刷時の時間を短縮できる効果がある。
【実施の形態3】
【0084】
図13は、本発明の実施の形態3に係る帳票印刷処理システムの機能構成を示すブロック図で、前述の実施の形態2の構成と共通する部分は同じ記号で示している。
【0085】
200は、帳票印刷処理方法におけるWebクライアントであるPC等の情報処理装置である。Webブラウザ201は、HTMLなどで記述された文書データファイル(Webドキュメント)を表示する機能を持つアプリケーションプログラムで、Webサーバ107から受信したWebドキュメントを表示する。また、Webブラウザ201は、単にWebドキュメントを表示するのみならず、HTMLの記述に従って、ユーザに画面上でデータを入力又は選択させ、そのデータをWebサーバ107に返送する機能をも持つ。尚、Webブラウザ201は、入力又は選択されたURLに従って、サーバ107からWebドキュメントを取得する。またWebブラウザ201は、その取得したWebドキュメントが印刷データ用のHTMLのフォーム要素を持つ場合に、そのフォーム要素を印刷データとしてユーザに入力又は選択させ、それをWebサーバ107に返送する機能をも持つ。Webサーバ107は、送信されたフォームデータを解析し、対応する印刷データと印刷テンプレートを得て、Webブラウザ201に返送する。
【0086】
222はデータ管理部で、Webブラウザ201が得た印刷データと印刷テンプレートとをそれぞれ対応する識別子と共に記憶部に記憶し、その印刷データと印刷テンプレートのそれぞれに対してネットワーク識別子を対応させて管理する。尚、帳票テンプレートは、クライアント200がサーバ107から読み出したWebドキュメントごとに、それぞれに対応したものがある。従って、サーバ107が帳票テンプレートに対応付けられるWebドキュメントをクライアント200に送信した場合、そのWebドキュメントに対応する識別子をも更に、そのデータ管理部222が記憶している。またデータ管理部222に格納される帳票テンプレートには、対応するWebドキュメントの識別子が帳票テンプレート識別子として関連付けられている。
【0087】
データ入出力部203は、サーバ107に対してデータの入出力を行う。このデータ入出力部203は、電話回線やLAN等のネットワーク106を介してサーバ107とデータを交換する。204は、Webブラウザ201からの指示により、Webブラウザ201に表示されているイメージを標準的なプリント用データに変換するためのプリント出力部である。このプリント出力部204は、所定の形式で記述されたプリントデータをプリンタ205に依存した出力形式に従ったデータ形式に変換してプリンタ205に出力して印刷させる。またサーバ107などから受信したプリンタ205の出力形式のデータをスプールに入れてプリンタ205により印刷させる。尚、この図13では、クライアント200が1つだけ示されているが、ネットワーク106に複数端末が接続している場合も含まれる。
【0088】
サーバ107の構成は前述の実施の形態2の場合と同様であるので、簡単に説明する。
【0089】
ネットワーク通信制御部108は、Webサーバ機能を有するネットワーク通信制御部である。帳票テンプレート格納部109は、帳票プリントの際に使用されるプリント用帳票フォームを示す帳票テンプレート(或いは帳票テンプレートデータ)を格納している。帳票テンプレートは、クライアント200がサーバ107から読み出したWebドキュメントごとに、それぞれに対応したものがある。従って、サーバ107が帳票テンプレートに対応付けられるWebドキュメントをクライアント200に送信した場合、そのWebドキュメントに対応する識別子をサーバ107が記憶しておく。また、帳票テンプレート格納部109に格納される帳票テンプレートには、対応するWebドキュメントの識別子が帳票テンプレート識別子として関連付けられている。データ格納部110は、データベースで構築されており、各業務用データを格納している。データ処理部111は、各業務用のアプリケーションプログラムに従ってデータ処理を行う。データ管理部212は、一度作成された帳票プリントデータを保存し、その保存した帳票プリントデータをクライアント200へ送信する。画像生成部213は、帳票プリントデータを決められた様式に従って作成する。
【0090】
図14は、本発明の実施の形態3に係る帳票印刷処理システムにおける動作手順を示すフローチャートである。この処理は、クライアント200が帳票印刷処理システムにアクセスすることにより開始される。
【0091】
まずステップS401で、クライアント200から帳票印刷処理システムにアクセスする際、クライアント200で動作するクライアントであるWebブラウザ201からURLを入力又は選択し、Webサーバ107へ、そのURLを送信する。Webサーバ107は、その受信したURLに対応したHTMLデータ(Webドキュメント)に印刷用の帳票テンプレートの識別子(TEMPLATE_ID)と帳票テンプレートのバージョン(VERSION_NO)と帳票テンプレートのネットワーク識別子(TEMPLATE_URL)とを埋め込み、クライアント200へ返信する。
【0092】
次にステップS402に進み、その返信された上記HTMLデータをクライアント200のWebブラウザ201が受信して画面上に表示する。次にステップS403に進み、クライアント200は、その受信したHTMLデータを解析し、印刷用の帳票テンプレートの識別子(TEMPLATE_ID)と、帳票テンプレートのバージョン(VERSION_NO)と、選択された帳票テンプレートのネットワーク識別子(TEMPLATE_URL)とを得る。
【0093】
次にステップS404に進み、データ管理部222がデータ管理テーブルを検索して、印刷用の帳票テンプレートの識別子(TEMPLATE_ID)と、帳票テンプレートのバージョン(VERSION_NO)と、ダウンロードの結果を示すフラグの値を得て、選択された帳票テンプレートがクライアント200で保存されているかどうか(TEMPLATE_IDがテーブルに登録されているかどうか、登録されている場合はダウンロードの結果を示すフラグが成功OKか失敗NGか)、更に、保存されている場合は、その選択された帳票テンプレートがクライアント200で保存されているデータと比較して更新されているかどうか(TEMPLATE_ID に対応するVERSION_NOの値が上記VERSION_NOの値より大きいかどうか)を判断する。ここで帳票テンプレートが保存されていない場合、ダウンロードに失敗した場合、或いはサーバ107で更新されている場合は、サーバ107の帳票テンプレートをダウンロードする必要があるのでステップS405に進み、それ以外の場合はステップS408に進む。
【0094】
ステップS405では、クライアント200は上記ネットワーク識別子(TEMPLATE_URL)を使用して、再びサーバ107へ、そのネットワーク識別子であるURLを送信し、最新の帳票テンプレートをダウンロードする。このダウンロードに成功した場合はステップS406に進み、失敗した場合はステップS411に進む。ステップS406では、クライアント200は、その受信した帳票テンプレートをクライアント200の記憶部に保存する。次にステップS407に進み、帳票テンプレートの識別子(TEMPLATE_ID)と、バージョン(VERSION_NO)と、ダウンロードの結果を示すフラグの値(OK)をデータ管理テーブルに登録し記憶する。
【0095】
又、ダウンロードに失敗したときはステップS411に進み、クライアント200のデータ管理部222は、その帳票テンプレートの識別子(TEMPLATE_ID)と帳票テンプレートのネットワーク識別子(TEMPLATE_URL)、ダウンロードの結果を示すフラグの値(NG)とをデータ管理テーブルに登録してデータ管理テーブルを更新する。その際、帳票テンプレートの識別子(TEMPLATE_ID)と帳票テンプレートのネットワーク識別子(TEMPLATE_URL)とを関連づけて、TEMPLATE_IDとTEMPLATE_URLから所望の組み合わせの帳票テンプレートを得られるようにデータ管理テーブルに登録し、この処理を終了する。
【0096】
又ステップS408では、ステップS402で受信したHTMLデータから帳票データを取得する。次にステップS409に進み、その帳票テンプレートと帳票データとを組み合わせて印刷用のデータを作成する(オーバレイ処理)。そしてステップS410に進み、プリント出力部204により、印刷用のデータをプリンタ205に送信して印刷する。
【0097】
このように本実施の形態3では、クライアントオーバレイ方式におけるデータの自動配信の場合に、印刷用データのダウンロードに失敗した帳票印刷テンプレートを再びダウンロード可能とする機能を提供できる。
【0098】
本実施の形態3に係る処理を具体的に説明する。
【0099】
図15は、本実施の形態3に係るバージョンの選択処理を説明する画面表示例を示す図である。
【0100】
2301は、クライアント200に表示されるWebブラウザのウィンドウを示す。2302は、サーバ107にアクセスするためのURLを入力するフィールドである。このURLの「http」の部分は、プロトコルがHTTPであることを示し、「192.168.1.100」は、サーバ107のIPアドレスを示している。更に、この例では、「HTML_ID」が「5」に対応したHTMLデータであることを指示するための情報「HTML_ID_5.HTML」が末尾に付加されている。この「HTML_ID」が「5」に対応した帳票テンプレートの識別子(TEMPLATE_ID)、バージョン(VERSION_NO)、チェックサムの値(CHECKSUM)及びネットワーク識別子(TEMPLATE_URL)は、このHTMLデータ中にHIDDEN属性のINPUT要素として埋め込まれているため、画面には表示されていない。
【0101】
以下の例では、HTMLデータのフォーム要素のPOSTメソッドを用いて、URIが「/cgi−bin/data_download.cgi」で示されるサーバ107のCGIプログラムに印刷データが送信されることを示す。
【0102】
このHTMLデータに埋め込まれた「TEMPLATE_ID」が「3」、「VERSION_NO」が「7」、「CHECKSUM」が「34226」、「TEMPLATE_URL」が「http://192.168.1.100/template_3」の場合のINPUT要素の例:
<FORM METHOD=”POST” ACTION=”/cgi−bin/data_download.cgi”>
<INPUT TYPE=”HIDDEN” NAME=”TEMPLATE_ID” VALUE=”3”>
<INPUT TYPE=”HIDDEN” NAME=”VERSION_NO” VALUE=”7”>
<INPUT TYPE=”HIDDEN” NAME=”CHECKSUM” VALUE=”34226”>
<INPUT TYPE=”HIDDEN” NAME=”TEMPLATE_URL” VALUE=”http://192.168.1.100/template_3”>
...省略...
</FORM>
2303は、出力する帳票データを表す。この例では、「7月 月次集計を出力」、「8月 月次集計を出力」、「9月 月次集計を出力」から一つだけを選択できる。以下の例では、HTMLデータ中に埋め込まれたSELECT要素の例として、month変数の選択要素として、「7月 月次集計を出力」、「8月 月次集計を出力」、「9月 月次集計を出力」から一つのみが選択可能で、それぞれ選択した場合に「July」、「August」、「September」のいずれかを選択し、サーバ107に送信することを示している。
【0103】
HTMLデータ中に埋め込まれたSELECT要素の例:
<SELECT NAME=”month” SIZE=”1”>
<OPTION VALUE=”July” selected>7月 月次集計を出力
<OPTION VALUE=”August”>8月 月次集計を出力
<OPTION VALUE=”September”>9月 月次集計を出力
</SELECT>
マーカ2304は、出力リクエストをサーバ107に送る命令を発行するためのポインティングデバイスのマーカである。ユーザは、ポインティングデバイスを操作して、このマーカ2304を実行ボタン2305上でクリックすることにより、Webブラウザ201は、このHTMLを解析して、「HTML_ID」が「5」に対応した帳票テンプレートの識別子(TEMPLATE_ID)、バージョン(VERSION_NO)及びネットワーク識別子(TEMPLATE_URL)を得て、データ管理テーブルから対応する「TEMPLATE_ID」のバージョン「VERSION_NO」を検索する。受信した「VERSION_NO」の値が対応するデータ管理テーブルの「VERSION_NO」の値よりも大きい場合は、サーバ107の帳票テンプレートが更新されたことを示すので、受信したネットワーク識別子(TEMPLATE_URL)をサーバ107に送信し、更新された該帳票テンプレートをダウンロードする。また、受信したCHECKSUMの値とダウンロードしたデータのチェックサムの値を比較してデータの整合性を検査し、ダウンロードの正当性を検査する。ここで、ダウンロードに成功した場合に、Webブラウザ201は、その選択された出力データの値をHTTPのPOSTメソッドを使用して、サーバ107の「data_download.cgi」プログラムへ送信する。次に、この「data_download.cgi」プログラムは、その送信された印刷データを解析し、ユーザが指定した帳票データをサーバ107の記憶部から得て、クライアント200へ返送する。以下の例では、HTMLデータ中に埋め込まれたINPUT要素の例として、実行ボタンをクリックすると、ユーザが選択した印刷オプションからなる印刷データがサーバ107へサブミット(submit)されることを示す。
【0104】
HTMLデータ中に埋め込まれた実行ボタンを示すINPUT要素の例:
<INPUT TYPE=”submit” VALUE=”実行”>
また、ダウンロードに失敗した場合には、上記の帳票テンプレートの識別子(TEMPLATE_ID)、バージョン(VERSION_NO)、ダウンロード結果を示すフラグ、及びネットワーク識別子(TEMPLATE_URL)を上記データ管理テーブルへ登録して印刷処理を終了する。
【0105】
本実施の形態3では、図15で示されるポインティングデバイスによるマーカ2304を実行ボタン2305上でクリックし、帳票テンプレートがサーバ107で更新された場合に、その帳票テンプレートをダウンロードする。こうしてダウンロードしたデータのチェックサムの値を計算し、上記CHECKSUMの値と比較し、データの整合性を検査する。そして、チェックサムの値が異なる場合はダウンロードに失敗したと判断し、次回のダウンロード時に、データ管理テーブルのフラグから再ダウンロードできることが示された。
【0106】
図16は、データ管理部222において印刷用のデータを管理するためのデータ管理テーブルの例を示す。
【0107】
2401は、データ管理テーブルが印刷用の帳票テンプレートの識別子(TEMPLATE_ID)と、バージョン(VERSION_NO)と、ダウンロードの結果を示すフラグ(成功の場合はOK、失敗の場合はNG)と、ネットワーク識別子(TEMPLATE_URL)とのカラムから構成されている。2402は、「TEMPLATE_ID」が「1」で指定される印刷テンプレートの情報が、バージョン「VERSION_NO」が「10」、上記フラグが「OK」、「TEMPLATE_URL」が「http://192.168.1.100/template_1」であることを示している。
【0108】
2403は、「TEMPLATE_ID」が「2」で指定される印刷テンプレートの情報が、バージョン「VERSION_NO」が「9」で、フラグが「NG」、「TEMPLATE_URL」が「http://192.168.1.100/template_2」であることを示している。
【0109】
2404は、「TEMPLATE_ID」が「3」で指定される印刷テンプレートの情報が、バージョン「VERSION_NO」が「7」で、上記フラグが「OK」、「TEMPLATE_URL」が「http://192.168.1.100/template_3」であることを示している。
【0110】
そして2405は、「TEMPLATE_ID」が「4」で指定される印刷テンプレートの情報が、バージョン「VERSION_NO」が「8」で、上記フラグが「OK」、「TEMPLATE_URL」が「http://192.168.1.100/template_4」であることを示している。
【0111】
この例では、「TEMPLATE_ID」が「2」又は「4」で指定される印刷テンプレートのみが前回のダウンロードに失敗しているため、次回のダウンロードで再ダウンロードする必要があることがわかる。
【0112】
このようの本実施の形態3によれば、データ管理部222において、印刷用データの情報を管理することにより、印刷用テンプレートのダウンロードに失敗した場合、再ダウンロードを実行して印刷できることが示された。
【0113】
また、クライアント200のプログラムが一定時間間隔でデータ管理テーブルを検索し、ダウンロードに失敗したデータが見つかった場合に、指定の時間に再ダウンロードしても良い。これにより、特に深夜や早朝などといった、ユーザが印刷処理を行うことが少ない時間帯に自動的に再ダウンロードを行うことにより、印刷時のダウンロード時間を節約できる効果がある。
【0114】
以上説明したように本実施の形態3によれば、クライアントによるオーバレイ印刷方法において、データの自動配信の場合に、印刷用データのダウンロードに失敗した帳票印刷テンプレートを再びダウンロードできる。
【0115】
[他の実施の形態]
本発明の目的は前述したように、実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体をシステム或は装置に提供し、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フロッピィ(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM,CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
【0116】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含まれている。
【0117】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現される場合も含む。
【図面の簡単な説明】
【図1】本発明の実施の形態1に係る帳票印刷処理システムの機能構成を示すブロック図である。
【図2】本発明の実施の形態1に係る帳票印刷処理システムにおける処理の流れを示すフローチャートである。
【図3】本発明の実施の形態1に係るクライアントにおける表示例を示す図である。
【図4】本発明の実施の形態1に係る帳票テンプレートの一例を示す図である。
【図5】本発明の実施の形態1に係る機種依存文字を含む文字列の一例を示す図である。
【図6】本発明の実施の形態1に係る機種依存文字を含まない文字列の一例を示す図である。
【図7】本発明の実施の形態1に係る印刷結果例を示す図である。
【図8】従来の印刷結果を示す図である。
【図9】本発明の実施の形態2に係る帳票印刷処理システムの機能構成を示すブロック図である。
【図10】本発明の実施の形態2に係る帳票印刷処理システムにおける処理の流れを示すフローチャートである。
【図11】本発明の実施の形態2に係るクライアントにおける表示例を示す図である。
【図12】本発明の実施の形態2に係るクライアントのデータ履歴管理部に格納されたデータ構造(履歴管理テーブル)を説明する図である。
【図13】本発明の実施の形態3に係る帳票印刷処理システムの機能構成を示すブロック図である。
【図14】本発明の実施の形態3に係る帳票印刷処理システムにおける処理の流れを示すフローチャートである。
【図15】本発明の実施の形態3に係るクライアントにおける表示例を示す図である。
【図16】本発明の実施の形態3に係るクライアントのデータ管理部に格納されたデータ構造(データ管理テーブル)を説明する図である。BACKGROUND OF THE INVENTION
[0001]
The present invention relates to a print processing system in which a server and a client are connected via a network, a method therefor, and an information processing apparatus.
[Prior art]
[0002]
With the rapid development of the Internet and the widespread use of Web servers (server-side programs), business processing is progressing to Web. Further, a personal computer (PC) connected to such a network is equipped with a Web browser (client side program) capable of displaying information and inputting information, and using such a PC, a Web browser Business processing by Web servers is widely performed. At this time, information necessary for business processing is exchanged between the Web server and the Web browser. The Web server receives information input from the Web browser, processes the information with the Web server, and transmits the processed information to the Web browser again. The Web browser displays the processed information. These operations are repeated to execute the business. Here, a problem in the business processing by the Web browser and the Web server is a part related to print processing that is indispensable for business processing. In particular, printing according to a specific format such as a form cannot be performed as desired by the user.
[0003]
Although a normal web browser provides a print function, this print function uses a hard copy of an image displayed on the web browser to a printer connected to the web browser (or a computer running the web browser). Printer). In such a printing method, there is a problem of how to divide a page when printing an image exceeding the paper size or an image extending over a plurality of pages, and a print desired by the user is often not performed.
[0004]
As a method for solving such a problem, a print processing server having a Web server generates print data (for example, form print data) in response to an instruction from a Web browser, and based on the generated print data, A print processing method in which printing is performed by a printing apparatus (for example, a printer) connected to the Web server side can be considered. In this print processing method, the flow of printing is from (1) to (2) below.
(1) The form printing data and the template are divided, and the printing data input by the user from the Web browser in the client environment is transmitted to the Web server. In a Web browser as a client, the user can input form printing data using an attached program (for example, plug-in), and further, the printing data input by the user can be input using HTTP (Hypertext Transfer Protocol). Send to Web server.
(2) On the Web server side, the transmitted print data is combined with a form print template to generate print data (hereinafter referred to as “overlay”), and the generated print data is sent to the printer. Send. In a Web server in a server environment, the print data is converted into printable data using a conversion program (for example, a printer driver), and transmitted to a printer connected to the Web server for printing. (Hereafter referred to as “server-side printing method”)
[Patent Document 1]
JP 2002-351645 A
[Problems to be solved by the invention]
[0005]
However, in the above-described print processing method (server-side printing method) shown in the prior art, when the character data input on the client side is a model-dependent character in the client environment, the character is especially generated on the client side and the server side. When the code system is different or the character font type is different, there is a problem that the model-dependent character cannot be printed as desired on the server side.
[0006]
Therefore, in order to solve the problem of the above-mentioned print processing method (server-side printing method), the font data of the model-dependent characters on the client side is also sent to the server at the same time as the print data, and the font data and its A method of generating print data of the model-dependent character from the character code of the model-dependent character and performing a printing process is executed.
[0007]
However, in the method of transmitting font data of model-dependent characters, the size of the data to be transmitted increases as compared with the case where only the character code is used, and thus there is a problem that the size of communication data and the communication time increase. there were. Further, since the processing for registering the font data on the server side and rasterizing the font data of the model-dependent character from the character code to generate the print data increases, the print time and response time increase. There was a problem.
[0008]
In addition, when the font data is protected by copyright or other rights, the use of the font data is permitted only on the specific computer that is permitted to use the font data, so the right to send the font data to a computer other than the client is permitted. Since the above is not allowed, there is a problem that the above font data cannot be transmitted / received.
[0009]
In addition, when overlay printing is executed by a conventional client, it is necessary to print using the latest form data, so the latest version of form data possessed by the server must always be checked. Therefore, there is a problem that the latest form data must always be downloaded, and it takes a lot of time to download.
[0010]
The present invention has been made in view of the above problems, and the feature of the present invention is that printing can be performed on a server using the character font even if the character font specific to the model of the client is used. To provide a processing system and method, and an information processing apparatus.
[0011]
Another feature of the present invention is to provide a print processing system, a method thereof, and an information processing apparatus that save the trouble of constantly downloading form data from the server to the client by storing multiple versions of form data at the client. It is in.
[Means for Solving the Problems]
[0012]
In order to achieve the above object, the print processing system of the present invention comprises the following arrangement. That is,
A print processing system comprising a server and a client connected via a network,
The server is connected to a printer;
Storage means for storing form data for generating print data;
The client transmits print data to be overlayed on the form data to the server to execute print processing,
If the print data includes a character type specific to the client, the client expands the specific character type into image data and sends it to the server,
The server generates print data by overlaying the image data and designated form data stored in the storage means, and causes the printer to print the print data.
[0013]
In order to achieve the above object, the print processing system of the present invention comprises the following arrangement. That is,
A print processing system comprising a server and a client connected via a network,
The client is connected to a printer;
Storage means for acquiring and storing a plurality of versions of form data for generating print data from the server;
History management means for managing the history of the form data stored in the storage means,
A desired combination of the plurality of versions of form data can be selected, and the selected form data is printed.
[0014]
In order to achieve the above object, the printing processing method of the present invention includes the following steps. That is, a print processing method in a print processing system including a server and a client connected via a network,
From the client, print data overlaying the form data is sent to the server to execute the printing process,
If the print data includes a character type specific to the client, the client expands the specific character type into image data and sends it to the server,
The server generates print data by overlaying the image data and the stored designated form data, and causes the printer to print the print data.
[0015]
In order to achieve the above object, an information processing apparatus of the present invention has the following configuration. That is, an information processing apparatus connected to a server via a network,
Means for sending print data overlaying form data to the server and issuing a print request;
When the print data includes a character type peculiar to the client, the print data includes image expansion means for expanding the specific character type into image data and transmitting the image data to the server.
【The invention's effect】
[0016]
According to the present invention, even if a character font specific to the client model is used, printing can be performed by the server using the character font.
[0017]
In addition, according to the present invention, it is possible to save time and effort to always download form data from the server to the client.
DETAILED DESCRIPTION OF THE INVENTION
[0018]
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0019]
FIG. 1 is a block diagram showing a functional configuration of a form print processing system according to
[0020]
In the figure,
[0021]
A
[0022]
Next, the
[0023]
FIG. 2 is a flowchart showing an operation procedure in the form print processing system according to the first embodiment. This process is started when the
[0024]
First, in step S <b> 202, when accessing the
[0025]
In step S203, the returned HTML data is received by the
[0026]
In step S206, the
[0027]
In step S207, the
[0028]
In step S209, the
[0029]
A feature of the first embodiment is that, when the
[0030]
Processing according to
[0031]
FIG. 3 is a diagram illustrating a display example of a window displayed on the
[0032]
In the figure, 302 indicates the HTML title of the
Furthermore, in this example, information “HTML_ID_5.html” for indicating that “HTML_ID” is HTML data corresponding to “5” is added to the end. Note that the identifier (TEMPLATE_ID) and network identifier (TEMPLATE_URL) of the form template corresponding to “HTML_ID” “5” are embedded in the HTML data as the INPUT element of the HIDDEN attribute and are therefore displayed on the screen. Absent.
[0033]
In the following example, print data is transmitted to the CGI (Common Gateway Interface) program on the
[0034]
The value of “TEMPLATE_ID” embedded in the HTML data is “3”,
Example of INPUT element when the value of “TEMPLATE_URL” is “http://192.168.1.100/template — 3”:
<FORM METHOD = "POST" ACTION = "" / cgi-bin / data_download_print.cgi ">
<INPUT TYPE = “HIDDEN” NAME = “TEMPLATE_ID” VALUE = “3”>
<INPUT TYPE = “HIDDEN” NAME = “TEMPLATE_URL” VALUE = “http://192.168.1.100/template_3”>
. . . Omitted. . .
</ FORM>
[0035]
When the input print character string includes model-dependent characters on the client side, the received network identifier (TEMPLATE_URL) and the name of the input field form including the model-dependent characters are submitted to the server 107 ( submit). As a result, the
[0036]
As a result, the
[0037]
Next, when the “data_download_print.cgi” program receives the data in which the flag is set, the program decodes the received image data (URL decode) and stores it in the
[0038]
On the other hand, if the input print character string does not include the model-dependent characters on the client side, the print character string data input by the user is submitted to the network identifier (TEMPLATE_URL) of the server 107 (submit). In the following example, as an example of the INPUT element embedded in the HTML data, it is shown that when the
[0039]
Example of an INPUT element indicating a print button embedded in HTML data:
<INPUT TYPE = “submit” VALUE = “Print”>
The “data_download_print.cgi” program of the
[0040]
FIG. 4 is a diagram illustrating an example of a print form template. Each form template is associated with a unique identifier (TEMPLATE_ID) and a network identifier (TEMPLATE_URL). Assume that the identifier “TEMPLATE_ID” of the form template in FIG. 4 is “3”.
[0041]
In FIG. 4, 401 indicates a variable field in the form template. Each variable field corresponds to a unique identifier (FIELD_ID) and an HTML form name. This
[0042]
[0043]
FIG. 5 is a diagram showing an example of a character string input to the
[0044]
The first character of the
[0045]
FIG. 6 is a diagram illustrating an example of a character string input to the
[0046]
FIG. 7 shows a printout that has been printed correctly by overlay processing from the form template shown in FIG. 4 and the
[0047]
In this case, in the form template of FIG. 4, the
[0048]
On the other hand, FIG. 8 is a diagram showing an example of a printing result that is erroneously printed by overlay processing from the form template in FIG. 4, the
[0049]
In this example, the model-dependent character “CIRCLED DIGIT ONE” in FIG. 5 is printed with “??” without being properly developed. In the form template in FIG. 4, the
[0050]
In the first embodiment described above, the value of the attribute data of the form template is embedded as the value of the HIDDEN attribute of HTML from the beginning in the HTML data (Web document), and the
This eliminates the need for the
[0051]
In the first embodiment, the image data created by downloading the corresponding form template data from the
[0052]
In addition, a printing method on the
[0053]
Further, all the form templates may be downloaded from the
[0054]
Further, instead of executing the print data expansion process at the time of performing the print process, the print data may be stored in the
[0055]
Further, there is an advantage that response time can be saved when a print command is issued from the client to the server in a time zone when the print processing is concentrated. In addition, since the print schedule can be managed by the
[0056]
As described above, according to the first embodiment, when printing is performed on the server side, desired printing can be performed on the server even if the print data includes the model-dependent characters of the client. There is an effect.
[0057]
FIG. 9 is a block diagram showing a functional configuration of the form printing processing system according to the second embodiment of the present invention, and parts common to those in FIG.
[0058]
[0059]
A data
[0060]
A data input /
[0061]
Next, the
[0062]
FIG. 10 is a flowchart showing an operation procedure in the form print processing system according to the second embodiment. This process is started when the
[0063]
First, in
[0064]
In step S302, the
[0065]
In step S304, the data
[0066]
In step S305, the
[0067]
In step S308, form data is acquired from the HTML data received from the
[0068]
As described above, according to the second embodiment, it is possible to provide a function that enables a client to select a desired version from one or a plurality of printing templates.
[0069]
FIG. 11 is a diagram for explaining version selection processing according to the second embodiment.
[0070]
In the figure,
[0071]
In the following example, print data is transmitted to the CGI (Common Gateway Interface) program of the
[0072]
Example of INPUT element when the value of “TEMPLATE_ID” embedded in the HTML data is “3”:
<FORM METHOD = "POST" ACTION = "" / cgi-bin / data_download.cgi ">
<INPUT TYPE = “HIDDEN” NAME = “TEMPLATE_ID” VALUE = “3”>
. . . Omitted. . .
</ FORM>
[0073]
Example of an INPUT element in the case of a radio type attribute embedded in HTML data:
<INPUT TYPE = “radio” NAME = “VERSION_NO” VALUE = “1” CHECKED> 1 <BR>
<INPUT TYPE = “radio” NAME = “VERSION_NO” VALUE = “2”> 2 <BR>
<INPUT TYPE = “radio” NAME = “VERSION_NO” VALUE = “3”> 3 <BR>
[0074]
Example of a SELECT element embedded in HTML data:
<SELECT NAME = "Month" SIZE = "1">
<OPTION VALUE = “Jury” selected> July Monthly output
<OPTION VALUE = "August"> August Monthly summary output
<OPTION VALUE = "September"> September Monthly summary output
</ SELECT>
[0075]
Example of an INPUT element indicating an execution button embedded in HTML data:
<INPUT TYPE = "submit" VALUE = "execute">
In the second embodiment, the
[0076]
FIG. 12 is a diagram illustrating an example of a data history management table for managing print data in the data
[0077]
[0078]
In this example, when using HTML data in which “HTML_ID” is specified by “5”, printing is performed with a print template in which “TEMPLATE_ID” is specified by “3”, and the print template is “VERSION_NO”. Only one of three values “1”, “2”, and “3” can be selected.
[0079]
As described above, according to the second embodiment, the data
[0080]
Further, each version of the form data stored in the data
[0081]
Further, the number of form data of each version stored in the data
[0082]
As described above, according to the second embodiment, when a form is printed on the client, the
[0083]
In the second embodiment, when a printing template of a past version other than the latest version is selected, it has already been downloaded to the
[0084]
FIG. 13 is a block diagram showing a functional configuration of the form print processing system according to the third embodiment of the present invention. Portions common to the configuration of the second embodiment are indicated by the same symbols.
[0085]
[0086]
A
[0087]
The data input /
[0088]
The configuration of the
[0089]
The network
[0090]
FIG. 14 is a flowchart showing an operation procedure in the form print processing system according to the third embodiment of the present invention. This process is started when the
[0091]
First, in
[0092]
In step S402, the returned HTML data is received by the
[0093]
In step S404, the
[0094]
In step S405, the
[0095]
If the download fails, the process advances to step S411, and the
[0096]
In step S408, form data is acquired from the HTML data received in step S402. In step S409, the form template and form data are combined to create print data (overlay processing). In step S410, the
[0097]
As described above, in the third embodiment, in the case of automatic data distribution in the client overlay method, it is possible to provide a function that enables a form print template that has failed to download print data to be downloaded again.
[0098]
The process according to the third embodiment will be specifically described.
[0099]
FIG. 15 is a diagram showing a screen display example for explaining the version selection processing according to the third embodiment.
[0100]
[0101]
In the following example, print data is transmitted to the CGI program of the
[0102]
“TEMPLATE_ID” embedded in the HTML data is “3”, “VERSION_NO” is “7”, “CHECKSUM” is “34226”, and “TEMPLATE_URL” is “http://192.168.1.100/template_3”. An example of an INPUT element for
<FORM METHOD = "POST" ACTION = "" / cgi-bin / data_download.cgi ">
<INPUT TYPE = “HIDDEN” NAME = “TEMPLATE_ID” VALUE = “3”>
<INPUT TYPE = "HIDDEN" NAME = "VERSION_NO" VALUE = "7">
<INPUT TYPE = “HIDDEN” NAME = “CHECKSUM” VALUE = “34226”>
<INPUT TYPE = “HIDDEN” NAME = “TEMPLATE_URL” VALUE = “http://192.168.1.100/template_3”>
. . . Omitted. . .
</ FORM>
2303 represents the form data to be output. In this example, only one can be selected from “July monthly summary output”, “August monthly summary output”, and “September monthly summary output”. In the following example, as an example of the SELECT element embedded in the HTML data, as the selection element of the month variable, “July Monthly Aggregation Output”, “August Monthly Aggregation Output”, “September Monthly Aggregation” Only one item can be selected from “Output Total”, and when each is selected, “Jury”, “August”, or “September” is selected and transmitted to the
[0103]
Example of a SELECT element embedded in HTML data:
<SELECT NAME = "Month" SIZE = "1">
<OPTION VALUE = “Jury” selected> July Monthly output
<OPTION VALUE = "August"> August Monthly summary output
<OPTION VALUE = "September"> September Monthly summary output
</ SELECT>
A
[0104]
Example of an INPUT element indicating an execution button embedded in HTML data:
<INPUT TYPE = "submit" VALUE = "execute">
If the download fails, the form template identifier (TEMPLATE_ID), version (VERSION_NO), flag indicating the download result, and network identifier (TEMPLATE_URL) are registered in the data management table and the printing process is terminated. To do.
[0105]
In the third embodiment, when the
[0106]
FIG. 16 shows an example of a data management table for managing printing data in the
[0107]
2401 is an identifier (TEMPLATE_ID) of the form template for printing in the data management table, a version (VERSION_NO), a flag indicating the result of the download (OK for success, NG for failure), and a network identifier (TEMPLATE_URL). ) And column. 2402, the information of the print template designated by “TEMPLATE_ID” being “1” is “10” for the version “VERSION_NO”, “OK” for the flag, and “http://192.168.8.1” for the “TEMPLATE_URL”. .100 / template_1 ”.
[0108]
In 2403, the information of the print template in which “TEMPLATE_ID” is specified by “2” is version “VERSION_NO” is “9”, the flag is “NG”, and “TEMPLATE_URL” is “http://192.168.18.1”. .100 / template_2 ”.
[0109]
2404 indicates that the information of the print template specified by “TEMPLATE_ID” “3” is version “VERSION_NO” is “7”, the flag is “OK”, and “TEMPLATE_URL” is “http: //192.168.168. 1.100 / template_3 ".
[0110]
In 2405, the information of the print template in which “TEMPLATE_ID” is specified as “4” is version “VERSION_NO” is “8”, the above flag is “OK”, and “TEMPLATE_URL” is “http: //192.168.168”. .1.100 / template — 4 ”.
[0111]
In this example, since only the print template designated with “TEMPLATE_ID” “2” or “4” has failed in the previous download, it is understood that it is necessary to re-download in the next download.
[0112]
According to the third embodiment as described above, when the
[0113]
Further, when the program of the
[0114]
As described above, according to the third embodiment, in the overlay printing method by the client, in the case of automatic data distribution, the form print template that has failed to download the printing data can be downloaded again.
[0115]
[Other embodiments]
As described above, the object of the present invention is to provide a system or apparatus with a storage medium storing software program codes for realizing the functions of the embodiment, and the computer of the system or apparatus (or CPU or MPU) stores it. It is also achieved by reading and executing the program code stored on the medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying such a program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM Etc. can be used.
[0116]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code Includes a case where the function of the above-described embodiment is realized by performing part or all of the actual processing.
[0117]
Furthermore, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function is determined based on the instruction of the program code. This includes the case where the CPU of the expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a functional configuration of a form print processing system according to a first embodiment of the present invention.
FIG. 2 is a flowchart showing a flow of processing in the form print processing system according to the first embodiment of the present invention.
FIG. 3 is a diagram showing a display example in the client according to the first embodiment of the present invention.
FIG. 4 is a diagram showing an example of a form template according to
FIG. 5 is a diagram showing an example of a character string including model-dependent characters according to the first embodiment of the present invention.
FIG. 6 is a diagram showing an example of a character string not including model-dependent characters according to
FIG. 7 is a diagram showing an example of a printing result according to the first embodiment of the present invention.
FIG. 8 is a diagram illustrating a conventional print result.
FIG. 9 is a block diagram showing a functional configuration of a form print processing system according to a second embodiment of the present invention.
FIG. 10 is a flowchart showing a flow of processing in the form print processing system according to the second embodiment of the present invention.
FIG. 11 is a diagram showing a display example in the client according to the second embodiment of the present invention.
FIG. 12 is a diagram illustrating a data structure (history management table) stored in a data history management unit of a client according to the second embodiment of the present invention.
FIG. 13 is a block diagram showing a functional configuration of a form print processing system according to a third embodiment of the present invention.
FIG. 14 is a flowchart showing a process flow in the form print processing system according to the third embodiment of the present invention;
FIG. 15 is a diagram showing a display example in the client according to the third embodiment of the present invention.
FIG. 16 is a diagram illustrating a data structure (data management table) stored in a data management unit of a client according to the third embodiment of the present invention.
Claims (16)
前記サーバはプリンタと接続されており、
印刷データを生成するためのフォームデータを記憶する記憶手段を有し、
前記クライアントは、前記フォームデータにオーバレイする印刷データを前記サーバに送信して印刷処理を実行させ、
前記印刷データに前記クライアントに特有の文字種が含まれる場合、前記クラアントは前記特有の文字種をイメージデータに展開して前記サーバに送信し、
前記サーバは、前記イメージデータと前記記憶手段に記憶されている、指定されたフォームデータとをオーバレイして印刷データを生成し、前記プリンタにより印刷させることを特徴とする印刷処理システム。A print processing system comprising a server and a client connected via a network,
The server is connected to a printer;
Storage means for storing form data for generating print data;
The client transmits print data to be overlayed on the form data to the server to execute print processing,
If the print data includes a character type specific to the client, the client expands the specific character type into image data and sends it to the server,
The print processing system, wherein the server generates print data by overlaying the image data and designated form data stored in the storage means, and causes the printer to print the print data.
前記クライアントはプリンタと接続されており、
印刷データを生成するための複数のバージョンのフォームデータを前記サーバから取得して記憶する記憶手段と、
前記記憶手段に記憶されている前記フォームデータの履歴を管理する履歴管理手段とを有し、
前記複数のバージョンのフォームデータの所望の組み合わせを選択可能とし、選択した前記フォームデータを印刷することを特徴とする印刷処理システム。A print processing system comprising a server and a client connected via a network,
The client is connected to a printer;
Storage means for acquiring and storing a plurality of versions of form data for generating print data from the server;
History management means for managing the history of the form data stored in the storage means,
A print processing system, wherein a desired combination of the plurality of versions of form data can be selected, and the selected form data is printed.
前記比較手段による比較結果に応じて、所定のバージョン情報を有するフォームデータを前記サーバに要求する要求手段と、を有することを特徴とする請求項2に記載の印刷処理システム。The client includes a comparison unit that compares the version information of the form data stored in the storage unit with the version information of the form data instructed by the print data;
The print processing system according to claim 2, further comprising a request unit that requests form data having predetermined version information from the server in accordance with a comparison result by the comparison unit.
前記クライアントは、
印刷データを生成するための単数或いは複数のバージョンのフォームデータを前記サーバからダウンロードして記憶する記憶手段と、
前記フォームデータのダウンロードの結果を登録する手段と、
前記フォームデータのダウンロードの結果に応じて、当該フォームデータを前記サーバに要求する要求手段と、を有することを特徴とする印刷処理システム。A print processing system comprising a server and a client connected via a network,
The client
Storage means for downloading and storing one or more versions of form data for generating print data from the server;
Means for registering the result of downloading the form data;
A print processing system comprising: request means for requesting the form data to the server according to a result of downloading the form data.
フォームデータにオーバレイする印刷データを前記サーバに送信して印刷要求を発行する手段と、
前記印刷データに前記クライアントに特有の文字種が含まれる場合、前記特有の文字種をイメージデータに展開して前記サーバに送信するイメージ展開手段と、を有することを特徴とする情報処理装置。An information processing apparatus connected to a server via a network,
Means for sending print data overlaying form data to the server and issuing a print request;
An information processing apparatus comprising: an image expansion unit that expands the specific character type into image data and transmits the image data to the server when the print data includes a character type specific to the client.
印刷データを生成するための単数或いは複数のバージョンのフォームデータを前記サーバから取得して記憶する記憶手段と、
前記記憶手段に記憶されている前記フォームデータの履歴を管理する履歴管理手段とを有し、
前記複数のバージョンのフォームデータの所望の組み合わせを選択可能とし、選択した前記フォームデータを印刷することを特徴とする情報処理装置。An information processing apparatus connected to a server via a network,
Storage means for acquiring and storing one or more versions of form data for generating print data from the server;
History management means for managing the history of the form data stored in the storage means,
An information processing apparatus capable of selecting a desired combination of the plurality of versions of form data and printing the selected form data.
前記比較手段による比較結果に応じて、所定のバージョン情報を有するフォームデータを前記サーバに要求する要求手段と、
を有することを特徴とする請求項7に記載の情報処理装置。Comparison means for comparing the version information of the form data stored in the storage means with the version information of the form data instructed by the print data;
Request means for requesting the server for form data having predetermined version information according to the comparison result by the comparison means;
The information processing apparatus according to claim 7, further comprising:
印刷データを生成するための単数或いは複数のバージョンのフォームデータを前記サーバからダウンロードして記憶する記憶手段と、
前記フォームデータのダウンロードの結果を登録する手段と、
前記フォームデータのダウンロードの結果に応じて、当該フォームデータを前記サーバに要求する要求手段と、を有することを特徴とする情報処理装置。An information processing apparatus connected to a server via a network,
Storage means for downloading and storing one or more versions of form data for generating print data from the server;
Means for registering the result of downloading the form data;
An information processing apparatus comprising: request means for requesting the form data to the server according to a result of downloading the form data.
クライアントから、フォームデータにオーバレイする印刷データを前記サーバに送信して印刷処理を実行させ、
前記印刷データに前記クライアントに特有の文字種が含まれる場合、前記クラアントは前記特有の文字種をイメージデータに展開して前記サーバに送信し、
前記サーバは、前記イメージデータと、記憶されている、指定されたフォームデータとをオーバレイして印刷データを生成しプリンタにより印刷させることを特徴とする印刷処理方法。A print processing method in a print processing system including a server and a client connected via a network,
From the client, print data overlaying the form data is sent to the server to execute the printing process,
If the print data includes a character type specific to the client, the client expands the specific character type into image data and sends it to the server,
The print processing method, wherein the server generates print data by overlaying the image data and stored designated form data, and causes the printer to print the print data.
印刷データを生成するための単数或いは複数のバージョンのフォームデータを前記サーバから取得してメモリに記憶する工程と、
前記メモリに記憶されている前記フォームデータの履歴を管理する履歴管理工程とを有し、
前記複数のバージョンのフォームデータの所望の組み合わせを選択可能とし、選択した前記フォームデータを印刷することを特徴とする印刷処理方法。A print processing method in a print processing system including a server and a client connected via a network,
Obtaining one or more versions of form data for generating print data from the server and storing them in a memory;
A history management step for managing the history of the form data stored in the memory,
A print processing method characterized in that a desired combination of the plurality of versions of form data can be selected and the selected form data is printed.
前記比較工程による比較結果に応じて、所定のバージョン情報を有するフォームデータを前記サーバに要求する要求工程と、
を有することを特徴とする請求項12に記載の印刷処理方法。A comparison step of comparing the version information of the form data stored in the memory with the version information of the form data instructed by the print data;
In response to the comparison result of the comparison step, a request step for requesting the server for form data having predetermined version information;
The print processing method according to claim 12, further comprising:
前記クライアントにより、印刷データを生成するための単数或いは複数のバージョンのフォームデータを前記サーバからダウンロードしてメモリに記憶する記憶工程と、
前記フォームデータのダウンロードの結果を登録する工程と、
前記フォームデータのダウンロードの結果に応じて、当該フォームデータを前記サーバに要求する要求工程と、を有することを特徴とする印刷処理方法。A print processing method in a print processing system including a server and a client connected via a network,
A storage step of downloading one or more versions of form data for generating print data from the server and storing them in a memory by the client;
Registering the result of downloading the form data;
And a requesting step for requesting the form data from the server according to a result of downloading the form data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003204817A JP2005050046A (en) | 2003-07-31 | 2003-07-31 | Printing processing system and its method, and information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003204817A JP2005050046A (en) | 2003-07-31 | 2003-07-31 | Printing processing system and its method, and information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005050046A true JP2005050046A (en) | 2005-02-24 |
Family
ID=34263704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003204817A Withdrawn JP2005050046A (en) | 2003-07-31 | 2003-07-31 | Printing processing system and its method, and information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005050046A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009110387A (en) * | 2007-10-31 | 2009-05-21 | Canon Inc | Form generation system, form generation method, program, and storage medium |
JP2011022773A (en) * | 2009-07-15 | 2011-02-03 | Dainippon Printing Co Ltd | Variable printing system, variable printing method, layout converter and text image generation device |
JP2012185848A (en) * | 2006-04-12 | 2012-09-27 | Cortado Ag | Method and system for printing from web application, corresponding computer program, and corresponding computer readable storage medium |
-
2003
- 2003-07-31 JP JP2003204817A patent/JP2005050046A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012185848A (en) * | 2006-04-12 | 2012-09-27 | Cortado Ag | Method and system for printing from web application, corresponding computer program, and corresponding computer readable storage medium |
US8867061B2 (en) | 2006-04-12 | 2014-10-21 | Cortado Ag | Method and system for printing from web applications, a corresponding computer program and a corresponding computer-readable storage means |
JP2009110387A (en) * | 2007-10-31 | 2009-05-21 | Canon Inc | Form generation system, form generation method, program, and storage medium |
JP2011022773A (en) * | 2009-07-15 | 2011-02-03 | Dainippon Printing Co Ltd | Variable printing system, variable printing method, layout converter and text image generation device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4338905B2 (en) | Print instruction program and print instruction method for printer with PDF direct printing function | |
US7634719B2 (en) | Print system and information processing apparatus | |
US7403297B2 (en) | Printing system that manages font resources using system independent resource references | |
JP2004318842A (en) | Webpage generation device, embedding device, method for control of webpage generation, webpage generation program, and recording medium | |
JPWO2008078684A1 (en) | Network system | |
JP2005327154A (en) | Html file processing method and program | |
JPH11353146A (en) | Printing system | |
JP4641530B2 (en) | Information processing apparatus, driver processing method, and program | |
JP4154316B2 (en) | Image processing system, control method, image processing apparatus, program, and storage medium | |
JP5677005B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
JP2005050046A (en) | Printing processing system and its method, and information processor | |
JP6303390B2 (en) | Printing apparatus, printing system, and program | |
JP2007094757A (en) | Image forming system, image forming method and program | |
JP2000066867A (en) | Printer device and storage medium storing program for page information printing control | |
JP2000032203A (en) | Parameter sharing method and system for image processor | |
US20040051901A1 (en) | Information processsing apparatus, a function extension program, computer readable storage medium storing the program, and information processing method | |
JPH10301924A (en) | Processor for external character classfied by jobs | |
JP3913888B2 (en) | Document creation system, WWW (World WideWeb) server, and recording medium | |
JP2007272443A (en) | Development support device, development support method and development support program | |
JPH10307745A (en) | Document processing system | |
JP3962562B2 (en) | Data processing apparatus, data processing method, and program | |
JP3829655B2 (en) | Print control apparatus and program | |
JP2007287100A (en) | Method and apparatus for asynchronous print processing for model-dependent character in network environment, and medium | |
JP3745207B2 (en) | Network print system, information processing apparatus and control method therefor | |
JP2004287625A (en) | Print data generation device, print data generation method, print data generation program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20061003 |