JP5552893B2 - Information processing device - Google Patents

Information processing device Download PDF

Info

Publication number
JP5552893B2
JP5552893B2 JP2010111466A JP2010111466A JP5552893B2 JP 5552893 B2 JP5552893 B2 JP 5552893B2 JP 2010111466 A JP2010111466 A JP 2010111466A JP 2010111466 A JP2010111466 A JP 2010111466A JP 5552893 B2 JP5552893 B2 JP 5552893B2
Authority
JP
Japan
Prior art keywords
data
script
markup language
pattern
language 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.)
Expired - Fee Related
Application number
JP2010111466A
Other languages
Japanese (ja)
Other versions
JP2011238186A (en
Inventor
聡 宮崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2010111466A priority Critical patent/JP5552893B2/en
Publication of JP2011238186A publication Critical patent/JP2011238186A/en
Application granted granted Critical
Publication of JP5552893B2 publication Critical patent/JP5552893B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像形成装置、コンピュータ装置等の情報処理装置におけるカスタマイズの技術に関する。   The present invention relates to a customization technique in an information processing apparatus such as an image forming apparatus or a computer apparatus.

レーザビームプリンタ、インクジェットプリンタ、デジタル複写機等の画像形成装置では、他社製品を含む他機種とのリプレースに際し、互換性維持の目的で受信データのフィルタ技術(受信データから所定のデータ列を検索し、所定のデータ列に置換する技術)が既に知られている。   In image forming apparatuses such as laser beam printers, ink jet printers, digital copiers, etc., when replacing with other models including products of other companies, received data filtering technology (searches a predetermined data string from the received data for the purpose of maintaining compatibility). , A technique for replacing with a predetermined data string) is already known.

また、このフィルタ技術(フィルタプログラム)を応用し、製品のカスタマイズを行う技術も既に知られている。   Also, a technique for customizing a product by applying this filter technique (filter program) is already known.

上述した従来のフィルタ技術を応用したカスタマイズは、固定的なカスタマイズには適しているものの、カスタマイズの内容を変えるためのフィルタプログラムの変更はファームウェアそのものの変更を意味していたため、販売やサービス等の場面における開発が困難であるという問題があった。   Although the above-mentioned customization applying the conventional filter technology is suitable for fixed customization, the change of the filter program to change the contents of customization meant the change of the firmware itself. There was a problem that development in the scene was difficult.

一方、特許文献1には、装置に搭載されているhttp(hypertext transfer protocol)サーバのcgi(common gateway interface)プログラム(スクリプト)を外部から登録させ、そのcgiプログラムによりユーザインタフェース等のカスタマイズを行う技術が開示されているが、httpサーバの関与する部分についてしかカスタマイズを行うことができないという問題があった。   On the other hand, Patent Document 1 discloses a technique for registering a cgi (common gateway interface) program (script) of an http (hypertext transfer protocol) server installed in an apparatus from the outside and customizing a user interface or the like by the cgi program. However, there is a problem that customization can be performed only for the part related to the http server.

本発明は上記の従来の問題点に鑑み提案されたものであり、その目的とするところは、ファームウェアの変更をせずに、データの出力が行われる部分でのカスタマイズに広範に対応することのできる情報処理装置を提供することにある。   The present invention has been proposed in view of the above-described conventional problems, and the object of the present invention is to widely support customization in a portion where data is output without changing firmware. An object of the present invention is to provide an information processing apparatus that can perform such processing.

上記の課題を解決するため、本発明にあっては予め定めた検索パターンを所定の記法に基づくスクリプトとして登録する手段と、予め定めた置換パターンであって、マークアップ言語データに埋め込むメタデータを含む置換パターンを所定の記法に基づくスクリプトとして登録する手段と、前記スクリプトを記憶する手段と、装置外部へ出力する画面の情報に対応するマークアップ言語データを入力する手段と、装置外部へ出力する画面の情報に対応するマークアップ言語データが前記検索パターンに合致するか否かを前記スクリプトを解釈・実行することで判定する手段と、前記マークアップ言語データ上の前記検索パターンに合致したパターンを前記スクリプトを解釈・実行することで前記置換パターンで置換し、メタデータを埋め込む手段と、置換された前記マークアップ言語データに対応する画面の情報を装置外部へ出力する手段とを備える。 To solve the above problems, in the present invention, means for registering a predetermined search pattern as a script based on a predetermined syntax, a substitution pattern as predetermined, metadata embedded in the markup language data Means for registering a substitution pattern including a script based on a predetermined notation, means for storing the script, means for inputting markup language data corresponding to screen information to be output to the outside of the apparatus, and output to the outside of the apparatus Means for determining whether or not markup language data corresponding to screen information matches the search pattern by interpreting and executing the script, and a pattern that matches the search pattern on the markup language data It was replaced with the substitution patterns by interpreting and executing the script, embed metadata Means, Ru and means for outputting information screen corresponding to the markup language data are substituted to the outside of the apparatus.

本発明の情報処理装置にあっては、検索と置換による簡易なデータ加工を基本として、スクリプトにより機能拡張が行えるようにするとともに、出力データに対して処理を行うようにしているため、ファームウェアの変更をせずに、データの出力が行われる部分でのカスタマイズに広範に対応することができる。   In the information processing apparatus of the present invention, the function can be expanded by a script and the output data is processed on the basis of simple data processing by search and replacement. Without modification, it is possible to deal with a wide range of customization in the part where data is output.

本発明の一実施形態にかかるシステムのネットワーク構成例を示す図である。It is a figure which shows the network structural example of the system concerning one Embodiment of this invention. 情報処理装置としての画像形成装置の構成例を示す図である。1 is a diagram illustrating a configuration example of an image forming apparatus as an information processing apparatus. 検索パターンおよび置換パターンの登録のユーザインタフェース例を示す図である。It is a figure which shows the user interface example of registration of a search pattern and a replacement pattern. スクリプトの登録のユーザインタフェース例を示す図である。It is a figure which shows the user interface example of registration of a script. ネットワーク上に送出するデータの加工の処理例を示す図である。It is a figure which shows the process example of the process of the data sent out on a network. 表示装置に表示する文字列データの加工の処理例を示す図である。It is a figure which shows the process example of the process of the character string data displayed on a display apparatus. 装置内部で生成される印刷物の文字列データの加工の処理例を示す図である。It is a figure which shows the process example of the process of the character string data of the printed matter produced | generated inside an apparatus.

以下、本発明の好適な実施形態につき説明する。   Hereinafter, preferred embodiments of the present invention will be described.

<構成>
図1は本発明の一実施形態にかかるシステムのネットワーク構成例を示す図である。
<Configuration>
FIG. 1 is a diagram showing a network configuration example of a system according to an embodiment of the present invention.

図1において、ネットワーク1には情報処理装置としての画像形成装置2が接続されるとともに、クライアントPC(Personal Computer)3、4が接続されている。画像形成装置2には、印刷等の本来の機能の他に、装置外部へ出力する情報に対応するデータに対してカスタマイズのための加工を行う機能が備わっている。クライアントPC3、4には、画像形成装置2を操作するためのリモートUI(User Interface)、WWW(World Wide Web)ブラウザ、機器情報管理ツール等が備えられている。   In FIG. 1, an image forming apparatus 2 as an information processing apparatus is connected to a network 1 and client PCs (Personal Computers) 3 and 4 are connected to the network 1. In addition to the original functions such as printing, the image forming apparatus 2 has a function of performing processing for customization on data corresponding to information output to the outside of the apparatus. The client PCs 3 and 4 are provided with a remote UI (User Interface), a WWW (World Wide Web) browser, a device information management tool, and the like for operating the image forming apparatus 2.

図2は情報処理装置としての画像形成装置2の構成例を示す図である。   FIG. 2 is a diagram illustrating a configuration example of the image forming apparatus 2 as an information processing apparatus.

図2において、画像形成装置2は、コントローラ21と入出力パネル22と大容量記憶装置23とプリンタエンジン24とを備えている。   In FIG. 2, the image forming apparatus 2 includes a controller 21, an input / output panel 22, a mass storage device 23, and a printer engine 24.

コントローラ21は、その時に設定されている制御モードおよびホストからの制御コードに従って、ホストからの印字データをビデオデータに変換してプリンタエンジン24へ出力する制御を行う。   The controller 21 performs control to convert print data from the host into video data and output it to the printer engine 24 in accordance with the control mode set at that time and the control code from the host.

入出力パネル22は、装置の状態を表示部により表示するとともに、スイッチ部によりユーザ操作を入力して装置のモード、フォント等の切り替えの指示を受け付ける。   The input / output panel 22 displays the state of the apparatus on the display unit, and inputs a user operation through the switch unit to accept an instruction to switch the apparatus mode, font, and the like.

大容量記憶装置23は、HDD(Hard Disk Drive)等の記憶容量の大きい記憶媒体である。   The large capacity storage device 23 is a storage medium having a large storage capacity such as an HDD (Hard Disk Drive).

プリンタエンジン24は、コントローラ21からのビデオデータおよび制御信号に基づき、レーザプリンタの場合、感光体上に静電潜像を作り、現像し、給紙部より転写紙を給紙し、転写および定着し、画像を形成する。なお、プリンタエンジン24はレーザプリンタに限らず、インクジェットプリンタに対応するものであってもよい。   In the case of a laser printer, the printer engine 24 creates an electrostatic latent image on a photosensitive member based on video data and control signals from the controller 21, develops it, feeds transfer paper from a paper feed unit, and performs transfer and fixing. Then, an image is formed. The printer engine 24 is not limited to a laser printer, and may correspond to an ink jet printer.

コントローラ21は、バス211に接続されたCPU(Central Processing Unit)212とプログラム/フォントROM(Read Only Memory)213とRAM(Random Access Memory)214と不揮発RAM215と通信制御部216と印刷制御部217とエンジンI/F(Interface)218とを備えている。   The controller 21 includes a CPU (Central Processing Unit) 212, a program / font ROM (Read Only Memory) 213, a RAM (Random Access Memory) 214, a non-volatile RAM 215, a communication control unit 216, and a print control unit 217. And an engine interface (I / F) 218.

CPU212は、プログラム/フォントROM213に格納されたプログラムに従ってホストからのデータ(印字データ,制御データ)を処理する。   The CPU 212 processes data (print data, control data) from the host according to the program stored in the program / font ROM 213.

プログラム/フォントROM213は、コントローラ21内でのデータの処理、管理や、周辺モジュールを制御するためのプログラムが格納されているとともに、印字に使用されるさまざまな種類のフォントを有している。   The program / font ROM 213 stores data processing and management in the controller 21 and programs for controlling peripheral modules, and has various types of fonts used for printing.

RAM214は、CPU212が処理する時のワークメモリとして使用されるほか、ホストからのデータをページ単位に管理して一時記憶するバッファ、バッファに記憶されたデータを実際の印字パターンに変換してビデオデータを記憶するためのビットマップメモリ等に使用される。   The RAM 214 is used as a work memory when the CPU 212 performs processing, a buffer for managing data from the host in units of pages and temporarily storing the data, and converting the data stored in the buffer into an actual print pattern to convert video data Is used for a bit map memory or the like for storing.

不揮発RAM215は、電源を切っても保持したいデータを格納しておくための不揮発性メモリである。   The non-volatile RAM 215 is a non-volatile memory for storing data that is to be retained even when the power is turned off.

通信制御部216は、ホストから装置への制御信号およびデータ、装置からホストへのステータス信号のインタフェースである。また、近年ではネットワークのインタフェースを備え、WWWブラウザを用いたユーザインタフェースを提供するためのhttpサーバ(httpd:httpデーモン)や、SNMP(Simple Network Management Protocol)でアクセスされるMIB(Management Information Base)データベースの機能も提供するのが一般的になっている。   The communication control unit 216 is an interface for control signals and data from the host to the device and status signals from the device to the host. In recent years, an HTTP server (httpd: http daemon) for providing a user interface using a WWW browser and a MIB (Management Information Base) database accessed by SNMP (Simple Network Management Protocol) are provided with a network interface. It has become common to provide these functions.

印刷制御部217は、プリンタエンジン24における印刷の制御を行う。   The print control unit 217 controls printing in the printer engine 24.

エンジンI/F218は、コントローラ21からプリンタエンジン24への制御信号やビデオ信号、プリンタエンジン24からコントローラ21へのステータス信号のインタフェースである。   The engine I / F 218 is an interface for control signals and video signals from the controller 21 to the printer engine 24 and status signals from the printer engine 24 to the controller 21.

<動作>
先ず、図2に示した画像形成装置2の基本的な動作を説明する。
<Operation>
First, the basic operation of the image forming apparatus 2 shown in FIG. 2 will be described.

通信制御部216を通してクライアントPC3、4等のホストから送られてきたデータは、CPU212がプログラム/フォントROM213上のデータ解析プログラムに従って解析し、印字データおよび印字制御データ(SP,CR,LF,HT,VT,…等)とその他のデータに分ける。印字データ、印字制御データおよびその他のデータはRAM214上の受信バッファに一旦記憶される。   Data sent from the host such as the client PC 3 or 4 through the communication control unit 216 is analyzed by the CPU 212 according to the data analysis program on the program / font ROM 213, and the print data and print control data (SP, CR, LF, HT, VT, etc.) and other data. Print data, print control data, and other data are temporarily stored in the reception buffer on the RAM 214.

一旦記憶された受信データは、CPU212がプログラム/フォントROM213上の制御プログラムにより一つずつ取り出し、所定の処理を行う。例えば、取り出したデータが文字コードであれば、印字位置、印字サイズ、文字コード、フォント情報等を備えた中間コードを作成し、RAM214上に設けられた中間バッファに収納する。取り出したデータが制御コードやエスケープシーケンス等のコマンドであった場合、それらに予め定義された処理を行う。それは、例えば、印字位置の指定であったら、次に来た文字コードの位置を指定された位置にするとか、フォントの変更であった場合は、次に来た文字コードのフォント情報を指定されたフォントにするといった具合に処理を行う。   The received data once stored is retrieved one by one by the control program on the program / font ROM 213 by the CPU 212 and subjected to predetermined processing. For example, if the extracted data is a character code, an intermediate code including a print position, a print size, a character code, font information, and the like is created and stored in an intermediate buffer provided on the RAM 214. If the extracted data is a command such as a control code or an escape sequence, a predefined process is performed on them. For example, if the print position is specified, the next character code position is set to the specified position, or if the font is changed, the font information of the next character code is specified. The process is performed such as changing to a new font.

こうして、CPU212は、ホストからのプリント命令の処理を行うか、または処理を行ったデータが1ページ分を超えたら、RAM214の中間バッファに貯えられた中間コードを、制御プログラムに従って画像データに変換・圧縮する処理を行う。   In this way, the CPU 212 processes the print command from the host, or when the processed data exceeds one page, converts the intermediate code stored in the intermediate buffer of the RAM 214 into image data according to the control program. Perform compression processing.

圧縮が終了したら、CPU212は、エンジンI/F218を通してプリンタエンジン24にプリントスタートの命令を出し、それに同期して圧縮画像データを伸張しながら転送する。あるいは、一旦、圧縮画像データをコントローラ21に接続された大容量記憶装置23に蓄積し、RAM214上から削除する。   When the compression is completed, the CPU 212 issues a print start command to the printer engine 24 through the engine I / F 218, and transfers the compressed image data while decompressing it in synchronization therewith. Alternatively, the compressed image data is temporarily stored in the mass storage device 23 connected to the controller 21 and deleted from the RAM 214.

大容量記憶装置23に蓄積された圧縮画像データは、データの受信や解析と非同期に、コントローラ21の制御プログラムの指示するタイミングでRAM214上にロードされ、蓄積されない場合と同様の手順で、プリンタエンジン24に対して画像転送される。   The compressed image data stored in the large-capacity storage device 23 is loaded onto the RAM 214 at a timing instructed by the control program of the controller 21 asynchronously with the reception and analysis of the data. 24, the image is transferred.

以上のような一連の流れで、ホストからの印字データがプリンタエンジン24を介して印字される。   The print data from the host is printed via the printer engine 24 in the series of flows as described above.

次に、プログラム/フォントROM213に格納されCPU212で実行されるフィルタプログラムに対する事前準備としての、検索パターンおよび置換パターンの登録について説明する。   Next, registration of a search pattern and a replacement pattern as a preparation for a filter program stored in the program / font ROM 213 and executed by the CPU 212 will be described.

図3は検索パターンおよび置換パターンの登録のユーザインタフェース例を示す図である。ネットワーク1を介してクライアントPC3、4のWWWブラウザ等によるユーザインタフェースから、あるいは画像形成装置2の入出力パネル22から、検索パターンおよび置換パターンの入力を行い、登録を行う。この場合、CPU212、通信制御部216、入出力パネル22等は検索パターンおよび置換パターンを登録する手段として機能する。   FIG. 3 is a diagram showing an example of a user interface for registering search patterns and replacement patterns. Registration is performed by inputting a search pattern and a replacement pattern from a user interface such as a WWW browser of the client PCs 3 and 4 via the network 1 or from the input / output panel 22 of the image forming apparatus 2. In this case, the CPU 212, the communication control unit 216, the input / output panel 22 and the like function as means for registering the search pattern and the replacement pattern.

図3の例では、アイコンの画像ファイルを示す「<img src="company1.gif"」の文字列を検索パターンとし、「<img src="company2.gif"」の文字列を置換パターンとして登録する場合について示している。検索パターンおよび置換のパターンのセットは複数持つことができ、装置内のテーブルに格納される。   In the example of FIG. 3, “<img src =” company1. The character string “gif” ”is used as a search pattern, and“ <img src = “company2. In this example, the character string “gif” ”is registered as a replacement pattern. There can be a plurality of sets of search patterns and replacement patterns, which are stored in a table in the apparatus.

次に、プログラム/フォントROM213に格納されCPU212で実行されるフィルタプログラムに代わり、あるいはその機能を拡張するためのスクリプトの登録について説明する。スクリプトは、所定の記法によって書かれた簡易プログラムであり、独自仕様でもよいし、Perlのような言語仕様でも構わない。Perlのようなスクリプト言語を用いた方が処理の自由度は格段に高くなる。また、サーバで実行されるcgiプログラムに限定されず、任意の種類のプログラムデータに適用可能である。   Next, a description will be given of registration of a script that is stored in the program / font ROM 213 and that is executed by the CPU 212 or that extends the function of the filter program. The script is a simple program written in a predetermined notation, and may be an original specification or a language specification such as Perl. If a script language such as Perl is used, the degree of freedom of processing becomes much higher. Further, the present invention is not limited to the cgi program executed on the server, and can be applied to any kind of program data.

登録されたスクリプトはフィルタプログラムとして動作し、通常の検索・置換のみではなく、更に複雑な処理を施したいという要求が発生した場合に、条件分岐や変数を用いることができる。   The registered script operates as a filter program, and conditional branching and variables can be used when a request for performing more complicated processing is generated in addition to normal search / replacement.

図4はスクリプトの登録のユーザインタフェース例を示す図であり、ネットワーク1を介してクライアントPC3、4のWWWブラウザ等によるユーザインタフェースから、あるいは画像形成装置2の入出力パネル22から、スクリプトファイルの選択もしくは入力を行わせ、登録を行う。この場合、CPU212、通信制御部216、入出力パネル22等はスクリプトを登録する手段として機能する。   FIG. 4 is a diagram showing an example of a user interface for script registration. A script file is selected from the user interface of the client PCs 3 and 4 via the network 1 or from the input / output panel 22 of the image forming apparatus 2. Or, input and register. In this case, the CPU 212, the communication control unit 216, the input / output panel 22 and the like function as means for registering a script.

次に、装置外部へ出力する情報に対応するデータについての、カスタマイズのための加工処理につき、ケース毎に説明する。   Next, processing for customization of data corresponding to information output to the outside of the apparatus will be described for each case.

図5はネットワーク上に送出するデータの加工の処理例を示す図である。   FIG. 5 is a diagram showing a processing example of processing of data to be transmitted on the network.

図5において、装置内で動作するhttpデーモン252は、クライアントPC3、4からのリクエストを受けてhtml(Hyper Text Markup Language)データを生成する。   In FIG. 5, an http daemon 252 that operates in the apparatus receives requests from client PCs 3 and 4 and generates html (Hyper Text Markup Language) data.

このhtmlデータはフィルタプログラム251に入力され、フィルタプログラム251は予め登録された内容に従って加工を行う。   The html data is input to the filter program 251. The filter program 251 performs processing according to the contents registered in advance.

例えば、クライアントPC3、4のWWWブラウザに表示されるアイコンのカスタマイズを行うために、図3で示したような検索パターンと置換パターンが登録されている場合を例にすると、フィルタプログラム251は次のような処理を行う。   For example, in the case where the search pattern and the replacement pattern as shown in FIG. 3 are registered in order to customize the icons displayed on the WWW browsers of the client PCs 3 and 4, the filter program 251 includes the following: Perform the following process.

すなわち、フィルタプログラム251は、入力されたhtmlデータから「<img src="company1.gif"」という検索パターンの文字列を検索し、該当する文字列を発見すると、「<img src="company2.gif"」という置換パターンの文字列に置換する。   That is, the filter program 251 reads “<img src =” company1. When a character string having a search pattern “gif” ”is searched and a corresponding character string is found,“ <img src = “company2. Replace with a character string having a replacement pattern of “gif” ”.

フィルタプログラム251で加工されたhtmlデータは通信制御部216からリクエスト元のクライアントPC3、4に送出され、クライアントPC3、4側のWWWブラウザによってhtmlデータが解釈され、ユーザに理解できるようにWWWブラウザ上に表現される。この際、元のhtmlデータではcompany1.gifの画像データが表示されるところ、company2.gifの画像データに変更されているため、クライアントPC3、4側のWWWブラウザ上にはcompany2.gifの画像が表示されることとなり、装置から出力される情報に対応するデータのカスタマイズを行うことが可能となる。   The html data processed by the filter program 251 is sent from the communication control unit 216 to the requesting client PCs 3 and 4, and the html data is interpreted by the WWW browser on the client PCs 3 and 4 side so that the user can understand it. It is expressed in At this time, in the original html data, company1. When the gif image data is displayed, company2. Since it has been changed to image data of gif, the client PC 3 and the WWW browser on the 4 side have company2. A gif image is displayed, and data corresponding to information output from the apparatus can be customized.

また、登録されたスクリプトにより加工が行われる場合の処理は次のようになる。   In addition, processing when processing is performed using a registered script is as follows.

すなわち、図4のようにして登録されたスクリプト(ファイル)は、装置内のスクリプト言語の実行環境により実行され、フィルタプログラム251として動作する。装置内には、スクリプトファイルを保持するメモリ領域と、処理データの入出力部として適切なサイズのバッファが設けられる。   That is, the script (file) registered as shown in FIG. 4 is executed by the script language execution environment in the apparatus and operates as the filter program 251. In the apparatus, a memory area for holding a script file and a buffer of an appropriate size as an input / output unit for processing data are provided.

そして、フィルタプログラム251は、httpデーモン252が生成したhtmlデータを入力し、加工されたhtmlデータを通信制御部216からネットワークを介してクライアントPC3、4に送出する。   The filter program 251 receives the html data generated by the http daemon 252 and sends the processed html data from the communication control unit 216 to the client PCs 3 and 4 via the network.

装置が通常ユーザに見せる以上の情報をメタデータとしてhtmlデータに埋め込んで送出していたり、フィルタプログラム251だけがアクセスする情報取得専用のURI(Uniform Resource Identifier)を備えていたりする場合には、フィルタプログラム251により様々な情報を加工し、必要なフォーマットでWWWブラウザ上に表示するというカスタマイズが可能となる。   If the device sends out more information than can be normally seen by the user as metadata embedded in html data, or if it has a URI (Uniform Resource Identifier) dedicated to obtaining information that only the filter program 251 accesses, a filter Various kinds of information can be processed by the program 251 and can be customized to be displayed on a WWW browser in a necessary format.

ネットワークへ送出するデータであれば、同一の機構でMIBデータベースへのアクセス、PJL(Print Job Language)のステータスリードバックやUSTATUS、リモートユーザインタフェースでの表示文字列などの加工を行い、カスタマイズの実現が可能である。cgiプログラムに加え、MIBやPJLのデータにも共通して適用でき、MIBやPJLといった複数種類のデータ加工についてデータ検索/登録の構成を共通して用いることが可能であるため、メモリのスペースを抑えることができる。また、各々のデータを加工する場合に、対応するcgiプログラムを逐一登録する必要がない。   If it is data to be sent to the network, the same mechanism can be used to access the MIB database, PJL (Print Job Language) status readback, USTATUS, processing of the display character string on the remote user interface, etc. to realize customization Is possible. In addition to the cgi program, it can be applied in common to MIB and PJL data, and it is possible to use a common data search / registration configuration for multiple types of data processing such as MIB and PJL. Can be suppressed. Moreover, when processing each data, it is not necessary to register the corresponding cgi program one by one.

図6は表示装置に表示する文字列データの加工の処理例を示す図である。   FIG. 6 is a diagram illustrating a processing example of processing character string data displayed on the display device.

図6において、本来は入出力パネル22に直接に与えられる表示データをフィルタプログラム251に入力する。フィルタプログラム251は予め登録された内容に従って加工を行い、キャラクタジェネレータ253によりグラフィックデータに変換され、入出力パネル22により表示される。   In FIG. 6, display data that is originally given directly to the input / output panel 22 is input to the filter program 251. The filter program 251 performs processing according to the contents registered in advance, is converted into graphic data by the character generator 253, and is displayed on the input / output panel 22.

入出力パネル22で表示される文字列データは、通常はキャラクタジェネレータ253(ソフトウェアで実現する場合とハードウェアで実現される場合とがある)にてグラフィックデータに変換され、入出力パネル22で表示される。表示データがグラフィックデータに変換される前であれば、フィルタプログラム251により処理が可能であることから、カスタマイズが実現できることがわかる。   Character string data displayed on the input / output panel 22 is normally converted into graphic data by a character generator 253 (which may be realized by software or hardware) and displayed on the input / output panel 22. Is done. If the display data is before being converted into graphic data, the processing can be performed by the filter program 251, and thus it can be seen that customization can be realized.

表示データがレイアウト情報を持っている場合には、レイアウト情報を生成するソフトウェアブロックもしくはハードウェアブロックがキャラクタジェネレータ253の代わりに配置されるが、この場合でも表示データの表現形式をフィルタプログラム251が解釈可能な形式にしておけば、もしくはフィルタプログラム251を表示データの表現形式に対応させていれば、レイアウト情報まで含めたカスタマイズを行うことができる。   When the display data has layout information, a software block or hardware block for generating layout information is arranged instead of the character generator 253. Even in this case, the filter program 251 interprets the display data expression format. If the format is possible, or if the filter program 251 corresponds to the display data expression format, customization including layout information can be performed.

図7は装置内部で生成される印刷物の文字列データの加工の処理例を示す図である。   FIG. 7 is a diagram illustrating a processing example of processing of character string data of a printed matter generated inside the apparatus.

装置外部からの印刷データは受信データフィルタで加工することが可能であるが、装置内部でデータを生成し、外部へ出力するレポート印刷のような印刷は、受信データフィルタではカスタマイズはできない。   Print data from the outside of the apparatus can be processed by a reception data filter, but printing such as report printing in which data is generated inside the apparatus and output to the outside cannot be customized by the reception data filter.

図7では、装置内部で生成されるデータを印刷物として外部へ出力する場合のデータフローを示している。   FIG. 7 shows a data flow when data generated inside the apparatus is output to the outside as a printed matter.

レポートデータは文字列と用紙サイズなどを含めたレイアウト情報であり、フィルタプログラムを適切に作成することにより、そのいずれの加工も可能となる。このとき、データにメタ情報が含まれていると、本来必要な情報のみを抜き出すことが容易となり、カスタマイズの幅を広げることになる。   The report data is layout information including a character string and a paper size, and any processing can be performed by appropriately creating a filter program. At this time, if meta information is included in the data, it becomes easy to extract only necessary information, and the range of customization is expanded.

レポートデータ生成部254により作成されたレポートデータは、フィルタプログラム251を通して文字列やレイアウト情報が変更され、レンダリング部255によりグラフィックデータに変換され、印刷制御部217へ渡されることにより、カスタマイズされたレポート印刷が行われる。   The report data generated by the report data generation unit 254 is changed in character string and layout information through the filter program 251, converted into graphic data by the rendering unit 255, and passed to the print control unit 217, thereby customized report data. Printing is performed.

<総括>
以上説明したように、本実施形態によれば、検索と置換による簡易なデータ加工を基本として、スクリプトにより機能拡張が行えるようにするとともに、出力データに対して処理を行うようにしているため、ファームウェアの変更をせずに、データの出力が行われる部分でのカスタマイズに広範に対応することができる。
<Summary>
As described above, according to the present embodiment, based on simple data processing by search and replacement, the function can be expanded by the script and the process is performed on the output data. Without changing the firmware, it is possible to support a wide range of customization in the part where data is output.

なお、本発明は、一般的な情報処理装置としても、画像形成装置としても、情報システムとしても、プログラムとしても、プログラムを格納した記録媒体としても実施することができる。   The present invention can be implemented as a general information processing apparatus, an image forming apparatus, an information system, a program, or a recording medium storing a program.

以上、本発明の好適な実施の形態により本発明を説明した。ここでは特定の具体例を示して本発明を説明したが、特許請求の範囲に定義された本発明の広範な趣旨および範囲から逸脱することなく、これら具体例に様々な修正および変更を加えることができることは明らかである。すなわち、具体例の詳細および添付の図面により本発明が限定されるものと解釈してはならない。   The present invention has been described above by the preferred embodiments of the present invention. While the invention has been described with reference to specific embodiments, various modifications and changes may be made to the embodiments without departing from the broad spirit and scope of the invention as defined in the claims. Obviously you can. In other words, the present invention should not be construed as being limited by the details of the specific examples and the accompanying drawings.

1 ネットワーク
2 画像形成装置
21 コントローラ
211 バス
212 CPU
213 プログラム/フォントROM
214 RAM
215 不揮発RAM
216 通信制御部
217 印刷制御部
218 エンジンI/F
22 入出力パネル
23 大容量記憶装置
24 プリンタエンジン
251 フィルタプログラム
252 httpデーモン
253 キャラクタジェネレータ
254 レポートデータ生成部
255 レンダリング部
3、4 クライアントPC
DESCRIPTION OF SYMBOLS 1 Network 2 Image forming apparatus 21 Controller 211 Bus 212 CPU
213 Program / Font ROM
214 RAM
215 Nonvolatile RAM
216 Communication control unit 217 Print control unit 218 Engine I / F
22 Input / output panel 23 Mass storage device 24 Printer engine 251 Filter program 252 HTTP daemon 253 Character generator 254 Report data generation unit 255 Rendering unit 3, 4 Client PC

特開2004−46469号公報JP 2004-46469 A

Claims (4)

予め定めた検索パターンを所定の記法に基づくスクリプトとして登録する手段と、
予め定めた置換パターンであって、マークアップ言語データに埋め込むメタデータを含む置換パターンを所定の記法に基づくスクリプトとして登録する手段と、
前記スクリプトを記憶する手段と、
装置外部へ出力する画面の情報に対応するマークアップ言語データを入力する手段と、
装置外部へ出力する画面の情報に対応するマークアップ言語データが前記検索パターンに合致するか否かを前記スクリプトを解釈・実行することで判定する手段と、
前記マークアップ言語データ上の前記検索パターンに合致したパターンを前記スクリプトを解釈・実行することで前記置換パターンで置換し、メタデータを埋め込む手段と、
置換された前記マークアップ言語データに対応する画面の情報を装置外部へ出力する手段と
を備えたことを特徴とする情報処理装置。
Means for registering a predetermined search pattern as a script based on a predetermined notation;
Means for registering a replacement pattern as a script based on a predetermined notation that is a predetermined replacement pattern and includes metadata embedded in markup language data ;
Means for storing the script;
Means for inputting markup language data corresponding to screen information to be output outside the apparatus;
Means for determining whether markup language data corresponding to screen information to be output to the outside of the apparatus matches the search pattern by interpreting and executing the script;
Means for embedding metadata , replacing the pattern that matches the search pattern on the markup language data with the replacement pattern by interpreting and executing the script;
An information processing apparatus comprising: means for outputting screen information corresponding to the replaced markup language data to the outside of the apparatus.
請求項1に記載の情報処理装置において、
前記装置外部へ出力する画面の情報に対応するマークアップ言語データは、ネットワーク上に送出するデータである
ことを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
2. An information processing apparatus according to claim 1, wherein the markup language data corresponding to the screen information output to the outside of the apparatus is data to be transmitted over a network.
コンピュータを、
予め定めた検索パターンを所定の記法に基づくスクリプトとして登録する手段、
予め定めた置換パターンであって、マークアップ言語データに埋め込むメタデータを含む置換パターンを所定の記法に基づくスクリプトとして登録する手段、
前記スクリプトを記憶する手段、
装置外部へ出力する画面の情報に対応するマークアップ言語データを入力する手段、
装置外部へ出力する画面の情報に対応するマークアップ言語データが前記検索パターンに合致するか否かを前記スクリプトを解釈・実行することで判定する手段、
前記マークアップ言語データ上の前記検索パターンに合致したパターンを前記スクリプトを解釈・実行することで前記置換パターンで置換し、メタデータを埋め込む手段、
置換された前記マークアップ言語データに対応する画面の情報を装置外部へ出力する手段
として機能させるプログラム。
Computer
Means for registering a predetermined search pattern as a script based on a predetermined notation;
Means for registering, as a script based on a predetermined notation, a replacement pattern which is a predetermined replacement pattern and includes metadata embedded in markup language data;
Means for storing the script;
Means for inputting markup language data corresponding to screen information to be output to the outside of the device;
Means for judging by interpreting and executing the script whether markup language data corresponding to screen information to be output to the outside of the apparatus matches the search pattern;
Means for embedding metadata by replacing the pattern matching the search pattern on the markup language data with the replacement pattern by interpreting and executing the script;
Means for outputting screen information corresponding to the replaced markup language data to the outside of the apparatus
Program to function as .
情報処理装置が実行する方法であって、A method executed by an information processing apparatus,
予め定めた検索パターンを所定の記法に基づくスクリプトとして登録する工程と、Registering a predetermined search pattern as a script based on a predetermined notation;
予め定めた置換パターンであって、マークアップ言語データに埋め込むメタデータを含む置換パターンを所定の記法に基づくスクリプトとして登録する工程と、Registering a replacement pattern which is a predetermined replacement pattern and includes metadata embedded in markup language data as a script based on a predetermined notation;
前記スクリプトを記憶する工程と、Storing the script;
装置外部へ出力する画面の情報に対応するマークアップ言語データを入力する工程と、Inputting markup language data corresponding to screen information to be output to the outside of the device;
装置外部へ出力する画面の情報に対応するマークアップ言語データが前記検索パターンに合致するか否かを前記スクリプトを解釈・実行することで判定する工程と、Determining whether markup language data corresponding to screen information to be output to the outside of the apparatus matches the search pattern by interpreting and executing the script;
前記マークアップ言語データ上の前記検索パターンに合致したパターンを前記スクリプトを解釈・実行することで前記置換パターンで置換し、メタデータを埋め込む工程と、Replacing the pattern that matches the search pattern on the markup language data with the replacement pattern by interpreting and executing the script, and embedding metadata;
置換された前記マークアップ言語データに対応する画面の情報を装置外部へ出力する工程とOutputting screen information corresponding to the replaced markup language data to the outside of the apparatus;
を備えたことを特徴とする方法。A method characterized by comprising:
JP2010111466A 2010-05-13 2010-05-13 Information processing device Expired - Fee Related JP5552893B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010111466A JP5552893B2 (en) 2010-05-13 2010-05-13 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010111466A JP5552893B2 (en) 2010-05-13 2010-05-13 Information processing device

Publications (2)

Publication Number Publication Date
JP2011238186A JP2011238186A (en) 2011-11-24
JP5552893B2 true JP5552893B2 (en) 2014-07-16

Family

ID=45326064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010111466A Expired - Fee Related JP5552893B2 (en) 2010-05-13 2010-05-13 Information processing device

Country Status (1)

Country Link
JP (1) JP5552893B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3083424B2 (en) * 1993-03-19 2000-09-04 ライオン株式会社 External character management system
US6707568B1 (en) * 1999-11-02 2004-03-16 Ricoh Company, Ltd. Printer driver filter and method of printing with the same
JP2003200637A (en) * 2001-11-02 2003-07-15 Seiko Epson Corp Printer and method for setting print layout of printer
JP2007264090A (en) * 2006-03-27 2007-10-11 Nec Corp Built-in device provided with font change function, and program thereof
JP2008001076A (en) * 2006-06-26 2008-01-10 Canon Inc Imaging device, method for controlling imaging device, program and storage medium
JP2008046856A (en) * 2006-08-16 2008-02-28 Fuji Xerox Co Ltd Document processing apparatus, document processing program and document processing method
JP4518095B2 (en) * 2007-03-30 2010-08-04 ブラザー工業株式会社 Image forming apparatus
JP2008305269A (en) * 2007-06-08 2008-12-18 Kyocera Mita Corp Image forming apparatus

Also Published As

Publication number Publication date
JP2011238186A (en) 2011-11-24

Similar Documents

Publication Publication Date Title
US9069504B2 (en) Printing apparatus and method for increasing storage area
US8045198B2 (en) System and method for processing a change history of a PDF file
JP6206149B2 (en) Printing system
JP2006228066A (en) Printing system and document management system
JP2010129057A (en) Information processor, display data translation method, and program
JP2011138303A (en) Information processing apparatus, control method and program
JP4055745B2 (en) Apparatus, method and program for image processing, and apparatus, method and program for file creation
JP2007253598A (en) Printer
JP5656455B2 (en) Printing system, data creation device, storage device, and control method thereof
US8699076B2 (en) Image forming apparatus, server, image forming system, and storage medium, outputting superimposed text strings in a variable form page
JP2006335046A (en) Printer and data processor
JP2012155401A (en) Printing system, printing device, control method of printing system, control method of printing device, and program
CN102109967A (en) Printer
JPH11143670A (en) Internet information printing system
JP2008310816A (en) System and method for compact representation of multiple markup page data
JP2008003954A (en) Printing system, image forming apparatus, and method and program for reprinting control
JP2017111651A (en) Information processing apparatus, program, and image processing system
JP5552893B2 (en) Information processing device
JP4203287B2 (en) Information processing apparatus, information processing method, and information processing system
JP4903064B2 (en) Print control apparatus, print control method, and print control program
JP2009037404A (en) Electronic document management system
JP2001202362A (en) Character editing processor
JP4290711B2 (en) Printing device
JP4211462B2 (en) Information processing apparatus and method, and image drawing apparatus
JP2008054110A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140319

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140430

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140513

R151 Written notification of patent or utility model registration

Ref document number: 5552893

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees