JP2009098980A - Image forming apparatus and image forming system - Google Patents

Image forming apparatus and image forming system Download PDF

Info

Publication number
JP2009098980A
JP2009098980A JP2007270785A JP2007270785A JP2009098980A JP 2009098980 A JP2009098980 A JP 2009098980A JP 2007270785 A JP2007270785 A JP 2007270785A JP 2007270785 A JP2007270785 A JP 2007270785A JP 2009098980 A JP2009098980 A JP 2009098980A
Authority
JP
Japan
Prior art keywords
image forming
forming apparatus
image
processing
error
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.)
Granted
Application number
JP2007270785A
Other languages
Japanese (ja)
Other versions
JP5145008B2 (en
Inventor
Takanori Nakajima
孝記 中島
Keiji Okamura
恵次 岡村
Shizue Oda
静江 織田
Keisaku Matsumae
慶作 松前
Chigusa Mochizuki
千草 望月
Akira Fujikura
章 藤倉
Yasushi Tsukamoto
康史 塚本
Toshitane Nishimi
俊胤 西見
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2007270785A priority Critical patent/JP5145008B2/en
Priority to US12/239,274 priority patent/US20090086269A1/en
Publication of JP2009098980A publication Critical patent/JP2009098980A/en
Priority to US13/568,669 priority patent/US8467084B2/en
Priority to US13/679,826 priority patent/US8638465B2/en
Application granted granted Critical
Publication of JP5145008B2 publication Critical patent/JP5145008B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To allow an alternative apparatus intended by a user to automatically continue a processing when an error interrupting a job happens, and to automatically execute a plurality of processings. <P>SOLUTION: When the error happens, apparatus setting information relating to the interrupted job is obtained in accordance with GetSettings command of a user application, and the apparatus setting information and a scanned image data file are sent to other designated image forming apparatus in accordance with Migrate command of the user application. The image data file as well can be sent to the other image forming apparatus via a file server after image data are obtained. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像入出力機能を備えた画像形成装置及びこれが複数台ネットワークで結合された画像形成システムに係り、特に、テキストで記述された簡易ユーザアプリケーションを解釈実行するインタープリタを備えた画像形成装置及び画像形成システムに関する。   BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus having an image input / output function and an image forming system in which a plurality of such apparatuses are connected via a network, and in particular, an image forming apparatus having an interpreter for interpreting and executing a simple user application described in text And an image forming system.

画像形成装置、特に複合機では、様々なユーザの要求に応えるために多機能化が進んでいる。   In image forming apparatuses, particularly multifunction peripherals, multi-functionalization is progressing in order to meet the demands of various users.

しかしながら、多機能化によりメニュー項目が増加するので、メニュー構造が複雑になり、操作性が悪化する。すなわち、ユーザにとって使用しない機能が多くなると共に、使用したい機能を実行するのに操作パネル上で押下すべき釦数が多くなり、操作性が悪くなる。特に、複数の機能を連続的に実行する場合にこの問題が顕著になる。   However, since the number of menu items increases due to the increase in functionality, the menu structure becomes complicated and the operability deteriorates. That is, the number of functions that are not used by the user increases, and the number of buttons that must be pressed on the operation panel in order to execute the functions that are desired to be used increases, resulting in poor operability. In particular, this problem becomes significant when a plurality of functions are continuously executed.

そこで、下記特許文献1には、複数の操作を組み合わせた命令語をXML言語で記述してその処理を実行させることが開示されている。   Therefore, Patent Document 1 below discloses that an instruction word combining a plurality of operations is described in an XML language and the processing is executed.

一方、下記特許文献2には、ジャム等のエラーが発生して印刷が中断した場合に、LANに接続された他の画像形成装置のうち印刷可能な代替候補を自動検出し、該代替候補の中の1つをユーザが選択し、これに印刷データを自動送信して印刷を続行する構成が開示されている。
特開2005−080019号公報 特開2007−226291号公報
On the other hand, in the following Patent Document 2, when an error such as a jam occurs and printing is interrupted, a printable alternative candidate is automatically detected from other image forming apparatuses connected to the LAN, and the alternative candidate is detected. A configuration is disclosed in which a user selects one of them, print data is automatically transmitted thereto, and printing is continued.
Japanese Patent Laid-Open No. 2005-080019 JP 2007-226291 A

しかしながら、上記特許文献1では、操作パネルと無関係に処理が実行されるので、プログラムに不慣れなユーザにとっては使い勝手が良くない。   However, in the above-mentioned Patent Document 1, since the process is executed regardless of the operation panel, it is not convenient for a user who is not familiar with the program.

また、上記特許文献2では、他の全ての画像形成装置のうち印刷可能な代替候補を検出しなければならず、しかも、複数の代替候補の中の1つをユーザが選択しなければならないので、構成が複雑になるとともに、ユーザが操作パネルから離れた場合、緊急を要する印刷に対処することができない。複数の代替候補の中の1つを自動的に選択したとしても、ユーザが意図しない代替装置が選択される虞がある。   In Patent Document 2, a printable alternative candidate must be detected from all other image forming apparatuses, and the user must select one of a plurality of alternative candidates. As the configuration becomes complicated and the user leaves the operation panel, it is impossible to cope with urgent printing. Even if one of a plurality of alternative candidates is automatically selected, there is a possibility that an alternative device not intended by the user is selected.

本発明の目的は、このような問題点に鑑み、ジョブを中断させるエラーが発生した場合に、ユーザが意図する代替装置に処理を自動続行させることが可能であるとともに複数の処理を自動実行可能な画像形成装置及び画像形成システムを提供することにある。   In view of such problems, the object of the present invention is to allow an alternative device intended by the user to automatically continue the process and automatically execute a plurality of processes when an error that interrupts the job occurs. And providing an image forming apparatus and an image forming system.

本発明の第1態様では、プロセッサと、プログラムが格納された記憶手段と、操作パネルと、通信インターフェイスとを備えた画像形成装置において、該プログラムは、通常時処理とエラー時処理とが含まれているユーザアプリケーションと、インタープリタとを含み、該インタープリタは該プロセッサに対し、
(a)該通常時処理を実行させ、
(b)該通常時処理中にエラーが発生したときには、該エラー時処理に基づき、中断したジョブに係る装置設定情報を取得させ、次いで該装置設定情報と続行すべきジョブデータとを、該エラー時処理で指定された他の画像形成装置へ該通信インターフェイスを介し送信させる。
In the first aspect of the present invention, in an image forming apparatus including a processor, a storage unit storing a program, an operation panel, and a communication interface, the program includes normal time processing and error time processing. A user application and an interpreter, the interpreter for the processor
(A) The normal processing is executed,
(B) When an error occurs during the normal process, the apparatus setting information related to the interrupted job is acquired based on the error process, and then the apparatus setting information and job data to be continued are The image data is transmitted to the other image forming apparatus designated by the time processing via the communication interface.

本発明による画像形成装置の第2態様では、第1態様において、該通常時処理には、アイコンの属性を含むアイコン表示命令と画像入力命令と画像出力命令とがこの順に含まれ、
該インタープリタは該プロセッサに対し、処理(a)において、
(a1)該属性に対応したアイコンを、該操作パネル上又は該通信インターフェイスを介したリモートコンソール上に表示させ、
(a2)該アイコンのオンを検出させ、該オンの検出に応答して、該画像入力命令と該画像出力命令とを実行させる。
In a second aspect of the image forming apparatus according to the present invention, in the first aspect, the normal processing includes an icon display instruction including an icon attribute, an image input instruction, and an image output instruction in this order.
The interpreter sends the processor in process (a):
(A1) An icon corresponding to the attribute is displayed on the operation panel or a remote console via the communication interface,
(A2) The on state of the icon is detected, and the image input command and the image output command are executed in response to the detection of the on state.

本発明による画像形成装置の第3態様では、プロセッサと、プログラムが格納された記憶手段と、操作パネルと、通信インターフェイスとを備えた画像形成装置において、該プログラムは、通常時処理とエラー時処理とが含まれているユーザアプリケーションと、インタープリタとを含み、該インタープリタは該プロセッサに対し、
(a)該通常時処理に基づき、画像データを取得させ、次いで該画像データをファイルサーバへ送信させ、次いで該画像データを出力させ、
(b)該画像データの出力中にエラーが発生してジョブが中断したときには、該エラー時処理に基づき、該ジョブに係る装置設定情報を取得させ、次いで該装置設定情報を、該エラー時処理で指定された他の画像形成装置へ該通信インターフェイスを介し送信させる。
According to a third aspect of the image forming apparatus of the present invention, in the image forming apparatus including a processor, a storage unit storing a program, an operation panel, and a communication interface, the program is processed at normal time and error processing. And an interpreter, the interpreter for the processor
(A) Based on the normal processing, image data is acquired, then the image data is transmitted to a file server, and then the image data is output.
(B) When an error occurs during the output of the image data and the job is interrupted, the apparatus setting information related to the job is acquired based on the error process, and then the apparatus setting information is processed into the error process. Is transmitted to the other image forming apparatus designated by the above-mentioned communication interface.

エラー発生によりジョブが中断した場合、どの画像形成装置を代替装置として用いるべきかは、一般に、ユーザが経験的によく知っている。また、同時に2台の画像形成装置がエラーになる確率は、一般に極小である。したがって、この代替装置の選択をユーザの判断に任したほうが好ましい。
この選択を手動で行うと、手間がかかるとともに、ユーザが画像形成装置から離れると、緊急を要する画像出力に対処できない場合がある。さらに、入力画像データについて複数の処理を画像形成装置に自動実行させたい場合がある。
上記第1態様の構成によれば、通常時処理とエラー時処理とが含まれているユーザアプリケーションの該通常時処理中にエラーが発生したとき、該エラー時処理に基づき、中断したジョブに係る装置設定情報が取得され、該装置設定情報と続行すべきジョブデータとが、該エラー時処理で指定された他の画像形成装置へ送信されるので、簡単な構成で、エラーが発生した場合にユーザが意図する代替装置に対し処理を自動続行させることができるとともに、画像形成装置に対し複数の処理を自動実行させることが可能であるという効果を奏する。
When a job is interrupted due to an error, the user generally knows empirically which image forming apparatus should be used as an alternative apparatus. In addition, the probability that two image forming apparatuses simultaneously cause an error is generally minimal. Therefore, it is preferable to leave the selection of the alternative device to the user's judgment.
If this selection is made manually, it is time consuming, and if the user leaves the image forming apparatus, it may not be possible to cope with urgent image output. Furthermore, there are cases where it is desired that the image forming apparatus automatically execute a plurality of processes for input image data.
According to the configuration of the first aspect, when an error occurs during the normal time process of the user application including the normal time process and the error time process, the job is interrupted based on the error time process. When the apparatus setting information is acquired and the apparatus setting information and job data to be continued are transmitted to the other image forming apparatus specified in the error process, when an error occurs with a simple configuration It is possible to automatically continue the process for the alternative device intended by the user and to allow the image forming apparatus to automatically execute a plurality of processes.

上記第2態様の構成によれば、該通常時処理に、アイコンの属性を含むアイコン表示命令と画像入力命令と画像出力命令とがこの順に含まれ、該属性に対応したアイコンが、操作パネル上又は通信インターフェイスを介したリモートコンソール上に表示され、該アイコンのオン検出に応答して、該画像入力命令と該画像出力命令とが実行されるので、簡単なユーザアプリケーションによりユーザインターフェイスと連続自動処理とを実現できるという効果を奏し、ユーザ毎の操作性向上に寄与するところが大きい。   According to the configuration of the second aspect, the normal process includes an icon display command including an icon attribute, an image input command, and an image output command in this order, and an icon corresponding to the attribute is displayed on the operation panel. Alternatively, the image input command and the image output command are displayed on a remote console via a communication interface, and the image input command and the image output command are executed in response to the ON detection of the icon. As a result, it is possible to achieve the effect that it is possible to realize the above and contribute to improvement in operability for each user.

上記第3態様の構成によれば、画像データ取得後に該画像データがファイルサーバへ送信されるので、該画像データを、ジョブ中断後の代替装置によるジョブ続行以外の目的にも用いることができ、画像データの再利用性やセキュリティを向上させることができるという効果を奏する。   According to the configuration of the third aspect, since the image data is transmitted to the file server after obtaining the image data, the image data can be used for purposes other than the job continuation by the alternative device after the job is interrupted, There is an effect that reusability and security of image data can be improved.

本発明の他の目的、構成及び効果は以下の説明から明らかになる。   Other objects, configurations and effects of the present invention will become apparent from the following description.

図11は、本発明の実施例1に係る画像形成装置10のハードウェア構成を示す概略ブロック図である。   FIG. 11 is a schematic block diagram illustrating a hardware configuration of the image forming apparatus 10 according to the first embodiment of the invention.

この画像形成装置10では、MPU11がインターフェイス12を介して、PROM13、DRAM14、操作パネル15、プリンタ16、スキャナ17、NIC18、FAXモデム19、USBポート20、トナー残量検出器21、ICカードリーダ22、電子タグリーダ23及びタイマTMに結合されている。図11では、簡単化のため、複数のインターフェイスを1つのブロックで示している。   In this image forming apparatus 10, the MPU 11 is connected to the PROM 13, DRAM 14, operation panel 15, printer 16, scanner 17, NIC 18, FAX modem 19, USB port 20, toner remaining amount detector 21, IC card reader 22 via the interface 12. The electronic tag reader 23 and the timer TM are coupled. In FIG. 11, a plurality of interfaces are shown as one block for the sake of simplicity.

PROM13は、例えばフラッシュメモリであり、これには、オペレーティングシステム(OS)と、OSの上層で動作する各種プログラムと、各種設定値とが格納されている。各種プログラムは、画像形成装置10を複合機として機能させるためのものであり、この機能には、コピー、スキャン、プリント、ファクシミリ送受信、電子メール送受信及びHTTP通信がある。DRAM14は、ワークエリア用である。   The PROM 13 is, for example, a flash memory, and stores an operating system (OS), various programs that operate on the upper layer of the OS, and various setting values. The various programs are for causing the image forming apparatus 10 to function as a multifunction peripheral. The functions include copying, scanning, printing, facsimile transmission / reception, electronic mail transmission / reception, and HTTP communication. The DRAM 14 is for a work area.

操作パネル15は、表示部とキー入力部とを備えており、設定情報又は指示を入力し、選択画面や設定画面などを表示させるためのものである。プリンタ16は、プリントエンジン、定着器並びに用紙の給紙部、搬送部及び排紙部を備えており、印刷データとして供給されるビットマップデータに基づきプリントエンジンの感光ドラムに静電潜像を形成し、これをトナーで現像し、用紙に転写し定着させた後に排紙する。スキャナ17は、コピー及びファクシミリ送信での画像入力用である。NIC18は、ネットワーク上のホストコンピュータ及びサーバに結合されてプリントジョブ及び消耗品発注に用いられる。FAXモデム19は、ファクシミリ送受信用である。   The operation panel 15 includes a display unit and a key input unit, and is used for inputting setting information or instructions to display a selection screen, a setting screen, or the like. The printer 16 includes a print engine, a fixing device, a paper feed unit, a conveyance unit, and a paper discharge unit, and forms an electrostatic latent image on a photosensitive drum of the print engine based on bitmap data supplied as print data. Then, this is developed with toner, transferred onto paper, fixed, and discharged. The scanner 17 is for image input in copying and facsimile transmission. The NIC 18 is coupled to a host computer and a server on the network and used for ordering print jobs and consumables. The FAX modem 19 is for facsimile transmission / reception.

トナー残量検出器21は、プリンタ16用のトナーカートリッジに収容されているトナーの残量を検出してその信号を出力する。ICカードリーダ22は、所定範囲内に存在するICカードとの間で電波を介し信号を送受して、ユーザのID及びパスワード情報を読取り、これらを画像形成装置10に対する認証情報として出力する。電子タグリーダ23は、トナーカートリッジに固着された電子タグからそのIDを読み出して出力する。このIDには、トナーカートリッジの型式及びシリアル番号が含まれる。   The toner remaining amount detector 21 detects the remaining amount of toner stored in the toner cartridge for the printer 16 and outputs a signal thereof. The IC card reader 22 transmits and receives signals to and from the IC card existing within a predetermined range, reads the user ID and password information, and outputs these as authentication information for the image forming apparatus 10. The electronic tag reader 23 reads out and outputs the ID from the electronic tag fixed to the toner cartridge. This ID includes the type and serial number of the toner cartridge.

トナー残量検出器21及び電子タグリーダ23の出力は、プログラムに従ってMPU11によりそれぞれ定期的に及びトナーカートリッジ装着時に読取られ、図2に示すようにそれぞれToner.Level及びToner.RFIDとしてDRAM14に格納される。   Outputs from the toner remaining amount detector 21 and the electronic tag reader 23 are read by the MPU 11 periodically and when the toner cartridge is mounted in accordance with a program, and stored in the DRAM 14 as Toner.Level and Toner.RFID, respectively, as shown in FIG. .

ポート20に接続されるUSBメモリ24Aは、例えばフラッシュメモリチップを備えている。   The USB memory 24A connected to the port 20 includes, for example, a flash memory chip.

ホストコンピュータ25は、そのNICがハブを介してNIC18に結合されるとともに、不図示のルータを介してインターネット26に結合される。このインターネット26には、不図示のルータを介してWebサーバマシン27が結合されている。一方、画像形成装置10のFAXモデム19とWebサーバマシン27のFAXモデムとは、公衆回線網28を介して結合される。   The host computer 25 has its NIC coupled to the NIC 18 via a hub and to the Internet 26 via a router (not shown). A Web server machine 27 is coupled to the Internet 26 via a router (not shown). On the other hand, the FAX modem 19 of the image forming apparatus 10 and the FAX modem of the Web server machine 27 are coupled via a public line network 28.

タイマTMは、現時刻検出用及びMPU11に対するタイマ割込用である。   The timer TM is for detecting the current time and for interrupting the timer to the MPU 11.

図10は、本発明の実施例1に係る画像形成装置のソフトウェア階層構造を示す概略ブロック図である。   FIG. 10 is a schematic block diagram illustrating a software hierarchical structure of the image forming apparatus according to the first embodiment of the present invention.

OS30は、そのカーネル、例えばLinuxに、各種ハードウェアのそれぞれに対応したデバイスドライバ31が組み込まれている。   The OS 30 includes a device driver 31 corresponding to each of various types of hardware in its kernel, for example, Linux.

OS30の上層には、OS30内の各種機能を利用するためのAPI32を介し、ミドルウェアとしての基本サービスプログラム33が備えられている。基本サービスプログラム33は、操作パネル制御モジュール330と、画像入力モジュールとしてのスキャンモジュール331と、入力データを処理するデータ処理モジュールと、処理された画像データを出力する画像出力モジュールとしてのプリントモジュール332と、入出力モジュールとを備えている。   A basic service program 33 as middleware is provided in the upper layer of the OS 30 via an API 32 for using various functions in the OS 30. The basic service program 33 includes an operation panel control module 330, a scan module 331 as an image input module, a data processing module for processing input data, and a print module 332 as an image output module for outputting processed image data. And an input / output module.

操作パネル制御モジュール330は、操作パネル15上に操作釦を表示させ、その押下を検出させるためのものである。入出力モジュールには、FAX送受信モジュール333、電子メール送受信モジュール334及びHTTP処理モジュール339が含まれる。データ処理モジュールには、ICカード制御モジュール335、RFID制御モジュール336、画像データのフォーマットを変換するフォーマット変換モジュール337並びに不図示の集約処理モジュール及び頁付モジュール等が含まれる。基本サービスプログラム33にはさらに、ユーティリティモジュールとして、ファクシミリ及び電子メールの宛先指定に用いられるアドレス帳モジュール338が含まれる。   The operation panel control module 330 is for displaying an operation button on the operation panel 15 and detecting pressing thereof. The input / output modules include a FAX transmission / reception module 333, an electronic mail transmission / reception module 334, and an HTTP processing module 339. The data processing module includes an IC card control module 335, an RFID control module 336, a format conversion module 337 for converting the format of image data, an unillustrated aggregation processing module, a pagination module, and the like. The basic service program 33 further includes an address book module 338 used as a utility module for specifying facsimile and electronic mail destinations.

基本サービスプログラム33の上層には、外部API34を介してアプリケーション35が備えられている。アプリケーション35は、外部API34を介し基本サービスプログラム33のモジュールを用いて作成されたプログラムである。アプリケーション35には、コピーモジュール350、プリントモジュール351、FAXモジュール352、電子メールモジュール353、ジョブ管理モジュール354及び操作パネルモジュール355が含まれている。例えば、コピーモジュール350は、スキャンモジュール331とプリントモジュール332とを組み合わせて構成されている。また、FAXモジュール352は、FAX送受信モジュール333とアドレス帳モジュール338とを組み合わせて構成されている。   An application 35 is provided in the upper layer of the basic service program 33 via an external API 34. The application 35 is a program created using the module of the basic service program 33 via the external API 34. The application 35 includes a copy module 350, a print module 351, a FAX module 352, an e-mail module 353, a job management module 354, and an operation panel module 355. For example, the copy module 350 is configured by combining a scan module 331 and a print module 332. The FAX module 352 is configured by combining a FAX transmission / reception module 333 and an address book module 338.

画像形成装置10のソフトウェアはさらに、簡易ユーザアプリケーション37に対するインタープリタ38を備えている。このインタープリタ38は、ユーザアプリケーション37の命令文を解釈し、外部API34、外部API36又はAPI32を介してそれぞれ基本サービスプログラム33、アプリケーション35又はOS30に含まれている関数を利用することにより、ユーザアプリケーション37を実行させるためのものである。   The software of the image forming apparatus 10 further includes an interpreter 38 for the simple user application 37. The interpreter 38 interprets a command statement of the user application 37 and uses a function included in the basic service program 33, the application 35, or the OS 30 via the external API 34, the external API 36, or the API 32, respectively, so that the user application 37 Is to execute.

ユーザアプリケーション37は、例えばホストコンピュータ25で作成され、文法チェックされ、USBメモリ24A内にコピーされ、ポート20を介してDRAM14に読み込まれる。ユーザアプリケーション37は、前処理により、その各行に行番号が付される。図5(A)〜(C)及び図6(A)〜(C)はユーザアプリケーション37の具体例を示す。   The user application 37 is created, for example, by the host computer 25, subjected to grammar check, copied into the USB memory 24A, and read into the DRAM 14 via the port 20. The user application 37 assigns a line number to each line by preprocessing. 5A to 5C and FIGS. 6A to 6C show specific examples of the user application 37. FIG.

ここで、操作パネル15上には図3(A)に示すようなメインメニュー画面が表示されており、この画面上の"USER APPLICATION"釦をタッチ(押下)すると、図3(B)の"USER APPLICATION"以外の表示及びこれに関係した処理が図1に示すフローに従って行われる。   Here, a main menu screen as shown in FIG. 3A is displayed on the operation panel 15, and when the “USER APPLICATION” button on this screen is touched (pressed), the “of FIG. 3B” is displayed. A display other than “USER APPLICATION” and processing related thereto are performed according to the flow shown in FIG.

図1は、ユーザアプリケーション37に対するインタープリタ38の処理を示す概略フローチャートである。   FIG. 1 is a schematic flowchart showing processing of the interpreter 38 for the user application 37.

この処理は、タイマ割込により、例えば20msec毎に開始される。以下、括弧内は図中のステップ識別番号である。   This process is started, for example, every 20 msec by a timer interrupt. Hereinafter, the numbers in parentheses are step identification numbers in the figure.

(S0)ユーザアプリケーション37の次処理対象行番号を示すカウンタLCを0に初期設定する。   (S0) A counter LC indicating the next processing target row number of the user application 37 is initialized to 0.

(S1)カウンタLCが示す行をユーザアプリケーション37から読み出し、現行カウンタCLCにLCの値を代入し、現行カウンタCLCが示す行のステートメントの次のステートメントの行番号を、次行カウンタLCに代入する。ステートメントの区切り記号は、C言語と同様にセミコロン";"又は閉じ括弧"}"である。図5(A)の場合、LC=0の次はLC=1、その次は、条件文が成立しなければLC=7、成立すれば、後述のステップS10でLC=2となる。   (S1) The line indicated by the counter LC is read from the user application 37, the value of LC is assigned to the current counter CLC, and the line number of the statement next to the statement indicated by the current counter CLC is assigned to the next line counter LC. . The statement delimiter is a semicolon ";" or a closing parenthesis "}" as in the C language. In the case of FIG. 5A, LC = 1 follows LC = 0, and then LC = 7 if the conditional statement is not satisfied, and LC = 2 in step S10 described later if the conditional statement is not satisfied.

(S2)ステップS1で読み込むべき行が存在しなかった場合には処理を終了し、存在した場合にはステップS3へ進む。   (S2) If there is no line to be read in step S1, the process is terminated, and if it exists, the process proceeds to step S3.

(S3)ステートメントがResetEnd文であればステップS4へ進み、そうでなければステップS7へ進む。   (S3) If the statement is a ResetEnd statement, go to step S4, otherwise go to step S7.

(S4)消耗品管理終了を示すエンドフラグEFが‘0’であればステップS1へ戻り、‘1’であればステップS5へ進む。   (S4) If the end flag EF indicating the end of consumable management is “0”, the process returns to step S1, and if it is “1”, the process proceeds to step S5.

(S5)ResetEnd文の括弧内に記述された条件式(REC)の成否を判定し、肯定判定した場合にはステップS6へ進み、そうでなければ図1の処理を終了する。   (S5) The success or failure of the conditional expression (REC) described in parentheses of the ResetEnd statement is determined. If the determination is affirmative, the process proceeds to step S6, and if not, the process of FIG.

(S6)エンドフラグEFをリセットし、操作パネル15上の、後述の発注済表示をクリアして、ステップS1へ戻る。   (S6) The end flag EF is reset, an after-order display described later on the operation panel 15 is cleared, and the process returns to step S1.

(S7)CLCの行が条件句であればステップS8へ進み、そうでなければステップS11へ進む。   (S7) If the CLC line is a conditional phrase, the process proceeds to step S8; otherwise, the process proceeds to step S11.

図5(A)の場合、LC=1の行"If Toner.Level<Level.Low1 {"及びLC=2の行"Button (120, 80, 60, 30, カートリッジ発注 & CrLf & 残り& Toner.Level.ToPages & 枚) {"はいずれも条件句である。   In the case of FIG. 5A, LC = 1 row “If Toner.Level <Level.Low1 {” and LC = 2 row “Button (120, 80, 60, 30, cartridge order & CrLf & remaining & Toner. Level.ToPages & sheets) {"is a conditional phrase.

後者は、条件句(釦句)"If Button (120, 80, 60, 30, カートリッジ発注 & CrLf & 残り& Toner.Level.ToPages & 枚) is pushed {"を省略記載したものである。この省略記載により、条件文のネスト構造が見かけ上隠蔽されるので、ユーザアプリケーション37が見易くなるとともに、ユーザアプリケーション37の作成が容易になる。   The latter is an abbreviation of the condition phrase (button phrase) “If Button (120, 80, 60, 30, Cartridge Order & CrLf & Remaining & Toner.Level.ToPages & Sheets) is pushed {”. With this abbreviated description, the nested structure of conditional statements is apparently concealed, so that the user application 37 can be easily viewed and the user application 37 can be easily created.

(S8)現行番号CLCの行が釦句であればその引数に基づいて釦の表示データを作成し、例えば図3(B)中の釦40のように、操作パネル15上に表示させる。   (S8) If the line of the current number CLC is a button phrase, button display data is created based on the argument, and displayed on the operation panel 15 as, for example, the button 40 in FIG.

LC=2の釦句の場合、引数(120, 80, 60, 30, カートリッジ発注 & CrLf & 残り& Toner.Level.ToPages & 枚) のうち、(120, 80)は操作パネル15上での釦の左上頂点のX−Y座標であり、(60, 30)は釦の幅及び高さであり、「カートリッジ発注 & CrLf & 残り& Toner.Level.ToPages & 枚」は釦上のテキストである。ここに &は文字の連結演算子であり、 CrLfは復帰改行の制御コードを示しており、Toner.Level.ToPagesは上述のトナー残量検出値を平均印刷枚数で換算したものを示している。釦の表示データ作成処理及び表示処理は、操作パネル制御モジュール330及び操作パネルモジュール355に含まれる関数を用いて行われる。   In the case of the button phrase of LC = 2, among the arguments (120, 80, 60, 30, cartridge order & CrLf & remaining & Toner.Level.ToPages & sheets), (120, 80) are buttons on the operation panel 15 The XY coordinates of the upper left vertex of the button, (60, 30) are the width and height of the button, and “cartridge order & CrLf & remaining & Toner.Level.ToPages & sheets” is the text on the button. Here, & is a character concatenation operator, CrLf indicates a carriage return control code, and Toner.Level.ToPages indicates the above-described toner remaining amount detection value converted into an average number of printed sheets. Button display data creation processing and display processing are performed using functions included in the operation panel control module 330 and the operation panel module 355.

この表示処理後に、内部フラグFを立てておき、次回以降、ステップS8でこのフラグFがセットされていればこの釦表示データ作成処理を省略する。   After this display process, an internal flag F is set, and if this flag F is set in step S8 from the next time, this button display data creation process is omitted.

(S9)条件句中の条件式の成否を判定し、成立していればステップS10へ進み、そうでなければステップS1へ戻る。   (S9) The success or failure of the conditional expression in the conditional phrase is determined, and if satisfied, the process proceeds to step S10, and if not, the process returns to step S1.

(S10)次行カウンタLCの内容を、条件成立時の行番号に変更する。すなわち、LC=CLC+1とする。次に、ステップS1へ戻る。   (S10) The content of the next line counter LC is changed to the line number when the condition is satisfied. That is, LC = CLC + 1. Next, the process returns to step S1.

(S11)現行番号CLCの行がEnd文であればステップS13へ進み、そうでなければステップS12へ進む。   (S11) If the line of the current number CLC is an End statement, the process proceeds to step S13, and if not, the process proceeds to step S12.

(S12)現行番号CLCの行の内容を処理し、ステップS1へ戻る。   (S12) Process the contents of the line with the current number CLC, and return to step S1.

(S13)エンド文Endを実行して、図1の処理を終了する。すなわち、ステップS8で表示した操作パネル15上の釦をクリアし、上記内部フラグFをリセットするとともに、エンドフラグEFをセットする。   (S13) The end sentence End is executed, and the process of FIG. That is, the button on the operation panel 15 displayed in step S8 is cleared, the internal flag F is reset, and the end flag EF is set.

次に、図1の処理の具体例を、ユーザアプリケーション37が図5(A)に示すものである場合について説明する。なお、エンドフラグEFは‘1’に初期設定されている。   Next, a specific example of the processing in FIG. 1 will be described in the case where the user application 37 is as shown in FIG. The end flag EF is initially set to “1”.

(1)タイマ割込により、まず、ステップS0でLC=0となる。ステップS1でLC=0の行ResetEnd(Toner.Level>Level.High)が読み出され、CLC=0、LC=1となる。ステップS2、S3及びS4を通ってステップS5でResetEnd文の条件式"Toner.Level>Level.High"が判定される。カートリッジ交換直後は、この条件式"Toner.Level>Level.High"が成立し、ステップS6でEF=0となる。ここに閾値Level.Highは、後述の閾値Level.Low1、Level.Low2、・・・とともに、図2に示すように予めPROM13に格納されている。   (1) Due to the timer interrupt, LC = 0 is first set at step S0. In step S1, a line ResetEnd (Toner.Level> Level.High) with LC = 0 is read, and CLC = 0 and LC = 1. The conditional expression “Toner.Level> Level.High” of the ResetEnd statement is determined in step S5 through steps S2, S3, and S4. Immediately after cartridge replacement, this conditional expression “Toner.Level> Level.High” is satisfied, and EF = 0 in step S6. Here, the threshold Level.High is stored in advance in the PROM 13 as shown in FIG. 2 together with thresholds Level.Low1, Level.Low2,.

ステップS1へ戻り、LC=1の行"If Toner.Level<Level.Low1 {"が読み出され、CLC=1、LC=7となる。ステップS2、S3、S7、S8を通りステップS9で条件式"Toner.Level<Level.Low1"が否定判定されてステップS1へ戻る。ステップS1でLC=7の行が読み出され、これがNullであるので、ステップS2で肯定判定されて終了する。   Returning to step S1, the row “If Toner.Level <Level.Low1 {” of LC = 1 is read, and CLC = 1 and LC = 7. The conditional expression “Toner.Level <Level.Low1” is determined to be negative in step S9 through steps S2, S3, S7, and S8, and the process returns to step S1. In step S1, a line with LC = 7 is read out, and since this is Null, an affirmative determination is made in step S2 and the process ends.

(2)次のタイマ割込で、まず、ステップS0においてLC=0となる。ステップS1でLC=0の行"ResetEnd(Toner.Level>Level.High)"が読み出され、CLC=0、LC=1となる。ステップS2及びS3を通ってステップS4で肯定判定されステップS1へ戻る。ステップS1で、LC=1の行"If Toner.Level<Level.Low1 {"が読み出され、CLC=1、LC=7となる。ステップS2、S3、S7、S8を通りステップS9で条件式"Toner.Level<Level.Low1"が否定判定されてステップS1へ戻る。LC=7の行が読み出され、これがNullであるので、ステップS2で肯定判定されて終了する。   (2) At the next timer interrupt, first, LC = 0 in step S0. In step S1, a line “ResetEnd (Toner.Level> Level.High)” with LC = 0 is read, and CLC = 0 and LC = 1. An affirmative determination is made in step S4 through steps S2 and S3, and the process returns to step S1. In step S1, the row “If Toner.Level <Level.Low1 {” of LC = 1 is read, and CLC = 1 and LC = 7. The conditional expression “Toner.Level <Level.Low1” is determined to be negative in step S9 through steps S2, S3, S7, and S8, and the process returns to step S1. Since the LC = 7 row is read and this is Null, an affirmative determination is made in step S2 and the processing ends.

その後も、ステップS9で否定判定されればこのような処理(2)が行われる。   Thereafter, if a negative determination is made in step S9, such processing (2) is performed.

図4に示すように、時間の経過とともにトナー残量Toner.Levelが低下して、これが、予め設定された閾値Level.Low1未満になると、条件"Toner.Level<Level.Low1"が成立する。   As shown in FIG. 4, when the toner remaining amount Toner.Level decreases with time and becomes less than a preset threshold Level.Low1, the condition “Toner.Level <Level.Low1” is satisfied.

(3)タイマ割込により、まず、ステップS0でLC=0となる。ステップS1でLC=0の行"ResetEnd(Toner.Level>Level.High)"が読み出され、CLC=0、LC=1となる。ステップS2及びS3を通ってS4で肯定判定されステップS1へ戻る。ステップS1で、LC=1の行"If Toner.Level<Level.Low1 {"が読み出され、CLC=1、LC=7となる。ステップS2、S3、S7、S8を通りステップS9で条件式"Toner.Level<Level.Low1"が肯定判定されてステップS10へ進む。ステップS10でLC=2となり、ステップS1へ戻る。
ステップS1で、LC=2の行"Button (120, 80, 60, 30, カートリッジ発注 & CrLf & 残り& Toner.Level.ToPages & 枚) {"
が取り出され、CLC=2、LC=7(文の区切り記号の場合には次の行)となり、ステップS2、S3及びS7を通ってステップS8で、上述のように釦40の表示データが作成されてこれが操作パネル15上に表示されるとともに内部フラグFがセットされる。まだ釦40の表示範囲(120, 80, 60, 30)内がタッチ(押下)されていないので、ステップS9で否定判定され、ステップS1へ戻る。
(3) Due to the timer interrupt, LC = 0 is first set at step S0. In step S1, a line “ResetEnd (Toner.Level> Level.High)” with LC = 0 is read, and CLC = 0 and LC = 1. An affirmative determination is made in step S4 through steps S2 and S3, and the process returns to step S1. In step S1, the row “If Toner.Level <Level.Low1 {” of LC = 1 is read, and CLC = 1 and LC = 7. The conditional expression “Toner.Level <Level.Low1” is affirmed in step S9 through steps S2, S3, S7, and S8, and the process proceeds to step S10. In step S10, LC = 2, and the process returns to step S1.
In step S1, LC = 2 row "Button (120, 80, 60, 30, cartridge order & CrLf & remaining & Toner.Level.ToPages & sheets) {"
Is obtained, CLC = 2, LC = 7 (next line in case of sentence delimiter), and the display data of the button 40 is created as described above in step S8 through steps S2, S3 and S7. This is displayed on the operation panel 15 and the internal flag F is set. Since the display range (120, 80, 60, 30) of the button 40 has not yet been touched (pressed), a negative determination is made in step S9, and the process returns to step S1.

ステップS1で、LC=7の行Nullが取り出され、ステップS2を通って終了する。   In step S1, a row Null with LC = 7 is extracted, and the process ends through step S2.

その後も、釦40が押下されなければ、このような処理(3)が行われる。   Thereafter, if the button 40 is not pressed, such processing (3) is performed.

(4)釦40が押下されると、ステップS9で肯定判定され、ステップS10でLC=3となり、ステップS1へ戻る。   (4) When the button 40 is pressed, an affirmative determination is made in step S9, LC = 3 in step S10, and the process returns to step S1.

ステップS1で、LC=3の行"Order (Toner.RFID To DefaultDealer)"が取り出され、CLC=3、LC=4となる。ステップS2、S3、S7及びS11を通って、ステップS12でCLC=3の行が処理される。すなわち、Toner.RFIDに含まれるトナーカートリッジ型式と、Orderには隠蔽されているユーザIDとを含むHTTPリクエストメッセージを生成して、NIC18及びインターネット26を介し、宛先DefaultDealer(例えば図2に示すhttp://km.com:80)であるWebサーバマシン27へ送信する。このメッセージのリクエスト行は例えば、
GET /cgi-bin/order.cgi?UserID=21035&Type=KM102 HTTP/1.0
である。ここにUserID=21035は、図2に示すようにPROM13に予め格納されている。また、Type=KM102は、Toner.RFIDの内容の一部であるトナーカートリッジ型式である。HTTPメッセージの送受信は、HTTP処理モジュール339及びOS30を用いて行われる。
In step S1, a line “Order (Toner.RFID To DefaultDealer)” with LC = 3 is extracted, and CLC = 3 and LC = 4. Through steps S2, S3, S7 and S11, the row with CLC = 3 is processed in step S12. That is, an HTTP request message including the toner cartridge type included in Toner.RFID and the hidden user ID in Order is generated, and the destination DefaultDealer (for example, http: shown in FIG. 2) is transmitted via the NIC 18 and the Internet 26. //km.com:80) to the Web server machine 27. The request line for this message is, for example:
GET /cgi-bin/order.cgi?UserID=21035&Type=KM102 HTTP / 1.0
It is. Here, UserID = 21035 is stored in advance in the PROM 13 as shown in FIG. Type = KM102 is a toner cartridge type that is a part of the contents of Toner.RFID. Transmission / reception of HTTP messages is performed using the HTTP processing module 339 and the OS 30.

Webサーバマシン27はこのHTTPリクエストメッセージに応答して、これに含まれるクエリ文字列UserID=21035&Type=KM102を引数とし該メッセージに含まれるパス名/cgi-bin/order.cgiのCGIプログラムを起動させる。これにより、図11に示すように、受信した日時を受注日時とし、トナーカートリッジ型式、顧客ID及び発送予定日がテーブルTBL1に記入される。顧客IDは、上記UserIDと同一である。発送予定日は、該型式をキーとして在庫データベース29を検索し、その結果得られる在庫状況に基づき決定される。テーブルTBL1内の完了フラグは、受注時にはリセットされており、発送時にこれがセットされる。   In response to the HTTP request message, the Web server machine 27 starts the CGI program of the path name / cgi-bin / order.cgi included in the message with the query string UserID = 21035 & Type = KM102 included in the HTTP request message as an argument. . As a result, as shown in FIG. 11, the received date and time is set as the order date and time, and the toner cartridge type, customer ID, and scheduled shipping date are entered in the table TBL1. The customer ID is the same as the above UserID. The scheduled shipping date is determined based on the inventory status obtained as a result of searching the inventory database 29 using the model as a key. The completion flag in the table TBL1 is reset at the time of ordering and is set at the time of shipment.

このテーブルTBL1は、顧客ID、会社名、住所、担当者名、所属部課名、電話番号、ファクシミリ番号などのフィールドを含む顧客情報テーブルTBL2とリンクされて、リレーショナルデータベースが構成される。   This table TBL1 is linked to a customer information table TBL2 including fields such as customer ID, company name, address, person in charge, department name, department number, telephone number, facsimile number, etc., and a relational database is configured.

Webサーバマシン27は、受注日時を発注日時とし、これとトナーカートリッジの型式と発送予定日とを含むHTTPリスポンスメッセージを、テンプレートファイルに基づき生成し、画像形成装置10へ送信する。   The Web server machine 27 uses the order date and time as the order date and time, generates an HTTP response message including the type of toner cartridge and the scheduled shipping date based on the template file, and transmits it to the image forming apparatus 10.

画像形成装置10はこれに応答して、受信したメッセージの内容を、図3(C)に示すように操作パネル15に表示させる。   In response to this, the image forming apparatus 10 displays the content of the received message on the operation panel 15 as shown in FIG.

このようなCLC=3の行の処理が完了すると、ステップS1へ戻り、LC=4の行Endが取り出され、CLC=4、LC=7となる。ステップS2、S3、S7及びS11を通って、ステップS13でCLC=4の行Endが処理される。すなわち、操作パネル15上の釦40の表示がクリアされ、内部フラグFがリセットされるとともに、エンドフラグEFがセットされる。   When the processing of such a line of CLC = 3 is completed, the process returns to step S1, the line End of LC = 4 is extracted, and CLC = 4 and LC = 7. Through steps S2, S3, S7, and S11, the line End of CLC = 4 is processed in step S13. That is, the display of the button 40 on the operation panel 15 is cleared, the internal flag F is reset, and the end flag EF is set.

これにより、トナーカートリッジを交換するまでは、タイマ割込により図1の処理が開始されても、ステップS4及びS5で共に否定判定され、図3(C)に示す如く、トナーカートリッジ発注釦40は操作パネル15に表示されず、発注済みの表示が維持される。   Thus, even if the processing of FIG. 1 is started by the timer interruption until the toner cartridge is replaced, a negative determination is made in both steps S4 and S5, and as shown in FIG. It is not displayed on the operation panel 15 and the display of the ordered order is maintained.

このような処理(4)の後に、図4に示すようにトナーカートリッジを交換すると、ResetEnd文の条件が成立して、上述の処理(1)が行われ、ステップS5からステップS6へ進み、EF=0となり、操作パネル15上の発注済みの表示がクリアされる。   After such a process (4), when the toner cartridge is replaced as shown in FIG. 4, the condition of the ResetEnd statement is satisfied, the above process (1) is performed, the process proceeds from step S5 to step S6, and EF = 0, and the displayed order on the operation panel 15 is cleared.

トナーカートリッジの在庫があるためトナーカートリッジを発注する必要がない場合、トナーカートリッジ交換時に、上述のように電子タグリーダ23の出力が、図1とは別のプログラムに従ってMPU11によりに読取られ、これが図2に示すToner.RFIDとしてDRAM14に格納される。この際、該プログラムにより、図1のステップS13と同じ処理が行われる。これにより、次にToner.Level<Level.Low1が成立するまでトナーカートリッジ発注釦40は操作パネル15に表示されない。   When it is not necessary to place an order for a toner cartridge because the toner cartridge is in stock, the output of the electronic tag reader 23 is read by the MPU 11 according to a program different from that shown in FIG. Is stored in the DRAM 14 as Toner.RFID shown in FIG. At this time, the same process as step S13 in FIG. 1 is performed by the program. Thus, the toner cartridge ordering button 40 is not displayed on the operation panel 15 until Toner.Level <Level.Low1 is satisfied.

本実施例1によれば、条件付リセットエンド命令ResetEndと、釦40の属性とOrder命令との組とが記述されたユーザアプリケーションを用い、インタープリタ38に従って、条件付リセットエンド命令ResetEndの条件成否に応じ釦40のオンを検出し、該オンの検出に応答してOrder命令を実行するので、条件文が実質的にネストしていても、条件に応じてユーザインターフェイスを変更するユーザアプリケーションの構造が簡単になるという効果を奏する。   According to the first embodiment, a conditional reset end command ResetEnd and a user application in which a combination of the attribute of the button 40 and the Order command is described, and according to the interpreter 38, whether the conditional reset end command ResetEnd is successful or not is determined. In response to detecting the ON of the button 40 and executing the Order command in response to the detection of the ON, the structure of the user application that changes the user interface according to the condition even if the conditional statement is substantially nested There is an effect that it becomes easy.

また、If文により条件文がさらにネストしても、条件に応じてユーザインターフェイスを変更するユーザアプリケーションの構造が簡単になるという効果を奏する。   Further, even if the conditional statement is further nested by the If statement, there is an effect that the structure of the user application that changes the user interface according to the condition becomes simple.

また、アイコンとしての釦40の属性(120, 80, 60, 30, カートリッジ発注 & CrLf & 残り& Toner.Level.ToPages & 枚) と消耗品発注命令Order (Toner.RFID To DefaultDealer)とが対になって記述された簡単なユーザアプリケーションの該属性に基づいて操作パネル15に釦40を表示させ、そのオンの検出に応答して、該消耗品発注命令に基づきNIC18を介し消耗品発注情報を宛先へ送信させるので、簡単なユーザアプリケーションの記述により、ユーザが容易に消耗品を発注できるとともに、消耗品消耗速度が予測に反して急増し又は急減してもこれに対処できるという効果を奏する。   Also, the attribute of the button 40 as an icon (120, 80, 60, 30, cartridge order & CrLf & remaining & Toner.Level.ToPages & sheets) and consumable ordering order Order (Toner.RFID To DefaultDealer) The button 40 is displayed on the operation panel 15 based on the attribute of the simple user application described as follows, and in response to the detection of the ON, the consumable item ordering information is sent to the destination via the NIC 18 based on the consumable item ordering command. Therefore, it is possible to easily order the consumables by the description of the simple user application, and to cope with this even if the consumable consumption rate suddenly increases or decreases unexpectedly.

また釦40の属性として消耗状態の記述「残り& Toner.Level.ToPages & 枚」が含まれ、検出された消耗状態がこの記述に基づき操作パネル15に表示されるので、簡単な記述により、適切なタイミングで消耗品を発注できるという効果を奏する。   The attribute of the button 40 includes a description of the consumption state “Remaining & Toner.Level.ToPages & sheets”, and the detected consumption state is displayed on the operation panel 15 based on this description. The effect is that consumables can be ordered at the right time.

さらに、釦40の表示領域(120, 80, 60, 30)内に消耗状態が表示されるので、ユーザの操作性が向上するという効果を奏する。   Furthermore, since the consumption state is displayed in the display area (120, 80, 60, 30) of the button 40, the user operability is improved.

また、ステップS4をステップS5の前に配置しているので、エンドフラグEFが一旦リセットされればリセットエンド命令ResetEndの条件式が判定されず、トナー残量検出値が機械的振動により変動しても、ユーザアプリケーションを複雑化させることなく釦40のオン検出を継続して行うことができるという効果を奏する。   Further, since step S4 is arranged before step S5, once the end flag EF is reset, the conditional expression of the reset end command ResetEnd is not determined, and the toner remaining amount detection value fluctuates due to mechanical vibration. In addition, there is an effect that it is possible to continuously detect the ON state of the button 40 without complicating the user application.

また、消耗品発注情報の送信後に、操作パネル15上に消耗品を発注したことが表示されるので、複数のユーザによる消耗品重複発注を防止できるという効果を奏する。   In addition, since the fact that consumables have been ordered is displayed on the operation panel 15 after the consumables ordering information is transmitted, there is an effect that it is possible to prevent multiple consumables from being ordered by a plurality of users.

さらにまた、消耗品発注情報の送信後に、操作パネル15上の釦40の表示が削除されるので、操作性が向上するとともに、誤操作や複数のユーザによる消耗品重複発注を防止できるという効果を奏する。   Furthermore, since the display of the button 40 on the operation panel 15 is deleted after the consumables ordering information is transmitted, the operability is improved, and it is possible to prevent erroneous operations and repeated ordering of consumables by a plurality of users. .

また、ユーザアプリケーションに含まれるエンド命令Endに基づき該削除が行われるので、簡単な記述で該削除を行わせるか否かの選択を行うことができるという効果を奏する。   In addition, since the deletion is performed based on the end command End included in the user application, it is possible to select whether or not to perform the deletion with a simple description.

またトナーカートリッジの型式が電子タグから自動的に読み出されて発注情報として用いられるという効果を奏する。   In addition, the toner cartridge type is automatically read from the electronic tag and used as ordering information.

図5(B)及び(C)は、図5(A)と発注形態のみが異なるユーザアプリケーションを示す。   5B and 5C show user applications that differ from FIG. 5A only in the ordering form.

図5(B)の場合、カートリッジ発注処理として、
"Fax cartridgeOrderFile.pdf to アドレス帳(dealer1, fax)"が、図1のステップS12において、FAXモジュール352を用いて実行される。このステートメントにより、ファイルcartridgeOrderFile.pdfの内容が、宛先へ送信される。この宛先は、関数であるアドレス帳(dealer1,fax)の戻り値となる。アドレス帳には、宛先毎にファクシミリ番号と電子メールアドレスとが記入されており、引数faxは、引数dealer1で示されるレコードのファクシミリ番号がこの関数の戻り値となることを示している。
In the case of FIG. 5B, as the cartridge ordering process,
"Fax cartridgeOrderFile.pdf to address book (dealer1, fax)" is executed using the FAX module 352 in step S12 of FIG. This statement sends the contents of the file cartridgeOrderFile.pdf to the destination. This destination is a return value of the address book (dealer1, fax) which is a function. In the address book, a facsimile number and an e-mail address are entered for each destination, and the argument fax indicates that the facsimile number of the record indicated by the argument dealer1 is the return value of this function.

図5(C)の場合、カートリッジ発注処理として、"Email cartridgeOrderFile.pdf to アドレス帳(dealer1,email)"が、図1のステップS12において、電子メールモジュール353を用いて実行される。このステートメントにより、ファイルcartridgeOrderFile.pdfの内容が、宛先へ送信される。この宛先は、関数であるアドレス帳(dealer1,email)の戻り値である。引数emailは、引数dealer1で示されるレコードの電子メールアドレスがこの関数の戻り値となることを示している。   In the case of FIG. 5C, “Email cartridgeOrderFile.pdf to address book (dealer1, email)” is executed using the electronic mail module 353 in step S12 of FIG. This statement sends the contents of the file cartridgeOrderFile.pdf to the destination. This destination is a return value of the address book (dealer1, email) which is a function. The argument email indicates that the email address of the record indicated by the argument dealer1 is the return value of this function.

図1の処理は、消耗品発注とは無関係なユーザアプリケーションにも適用可能であり、その具体例を図6(A)〜(C)に示す。   The process of FIG. 1 can also be applied to a user application unrelated to consumables ordering, and specific examples are shown in FIGS.

次に、図6(A)に示すユーザアプリケーションに対する図1の処理を説明する。   Next, the processing of FIG. 1 for the user application shown in FIG.

(5)タイマ割込により、まず、ステップS0でLC=0となる。ステップS1でLC=0の行”Button (20, 30, 60, 30, 伝票送信) {”が読み出され、CLC=0、LC=5となる。ステップS2、S3及びS7を通って、ステップS8で図3(B)に示すような釦41が表示されるとともに、内部フラグFがセットされる。まだ釦41の表示範囲(20, 30, 60, 30)内が押下されていないので、ステップS9で否定判定され、ステップS1へ戻る。ステップS1で、LC=5の行Nullが取り出され、ステップS2を通って終了する。   (5) Due to the timer interrupt, LC = 0 is first set at step S0. In step S1, LC = 0 row “Button (20, 30, 60, 30, slip transmission) {” is read, and CLC = 0 and LC = 5. Through steps S2, S3, and S7, a button 41 as shown in FIG. 3B is displayed in step S8, and an internal flag F is set. Since the display range (20, 30, 60, 30) of the button 41 has not been pressed yet, a negative determination is made in step S9, and the process returns to step S1. In step S1, a row Null with LC = 5 is extracted, and the process ends through step S2.

その後も、釦41が押下されなければ、このような処理(5)が行われる。   Thereafter, if the button 41 is not pressed, such processing (5) is performed.

(6)ユーザが画像形成装置10の原稿台に原稿を載置して釦41を押下すると、ステップS9で肯定判定され、ステップS10でLC=1となり、ステップS1へ戻る。   (6) When the user places a document on the document table of the image forming apparatus 10 and presses the button 41, an affirmative determination is made in step S9, LC = 1 in step S10, and the process returns to step S1.

ステップS1で、LC=1の行"file.pdf=Scan"が取り出され、CLC=1、LC=2となる。ステップS2、S3、S7及びS11を通って、ステップS12でCLC=1の行が処理される。すなわち、スキャナ17が動作して原稿画像が読み取られ、そのデータがpdfフォーマットに変換されてfile.pdfにされる。   In step S1, a line “file.pdf = Scan” with LC = 1 is extracted, and CLC = 1 and LC = 2. Through steps S2, S3, S7 and S11, the row with CLC = 1 is processed in step S12. That is, the scanner 17 operates to read a document image, and the data is converted into a pdf format and converted to file.pdf.

ステップS1へ戻り、LC=2の行"Fax file.pdf to アドレス帳(本社経理部, fax)"が読み出され、CLC=2、LC=3となる。ステップS2、S3、S7及びS11を通って、ステップS12でCLC=2の行が処理される。すなわち、アドレス帳(本社経理部, fax)の戻り値である宛先へ、ファイルfile.pdfの内容が送信される。   Returning to step S1, the line “Fax file.pdf to address book (head office accounting department, fax)” with LC = 2 is read, and CLC = 2 and LC = 3. Through steps S2, S3, S7 and S11, the row with CLC = 2 is processed in step S12. That is, the contents of the file file.pdf are transmitted to the destination that is the return value of the address book (head office accounting department, fax).

ステップS1へ戻り、LC=3の行"Email file.pdf to アドレス帳(佐々木太郎, email)"が読み出され、CLC=3、LC=5となる。ステップS2、S3、S7及びS11を通って、ステップS12でCLC=3の行が処理される。すなわち、アドレス帳(佐々木太郎, email)の戻り値である宛先へ、ファイルfile.pdfが電子メール送信される。例えば、ファクシミリ送信内容の控えが、自分宛へ送信される。   Returning to step S1, the line “Email file.pdf to address book (Taro Sasaki, email)” with LC = 3 is read, and CLC = 3 and LC = 5. Through steps S2, S3, S7 and S11, the row with CLC = 3 is processed in step S12. That is, the file file.pdf is e-mailed to the destination which is the return value of the address book (Taro Sasaki, email). For example, a copy of the facsimile transmission content is transmitted to the user.

ステップS1へ戻り、LC=5のNull行が読み出され、ステップS2を通って図1の処理を終了する。釦41は、操作パネル15上に表示されたままである。   Returning to step S1, a null row with LC = 5 is read, and the process of FIG. 1 is terminated through step S2. The button 41 remains displayed on the operation panel 15.

図6(B)の場合、上述と同じ処理が行われ、電子メール送信後にさらに、End文が処理されて、ステップS13で操作パネル15上の釦41の表示がクリアされ、内部フラグFがリセットされるとともに、エンドフラグEFがセットされる。   In the case of FIG. 6B, the same processing as described above is performed, and after sending the e-mail, the End statement is further processed, the display of the button 41 on the operation panel 15 is cleared in step S13, and the internal flag F is reset. At the same time, the end flag EF is set.

図6(C)の場合、図6(B)の処理の前に、ステップS12においてCLC=1の行"ResetEnd(ICcardID=KM01)"が処理される。すなわち、ユーザのICカード24Bに格納されている、ユーザIDとパスワードを暗号化したものとが、電波を介してICカードリーダ22により読み出される。そして、PROM13に登録されている、ユーザIDと例えば2回暗号化されているパスワードとが読み出され、後者が1回復号され、両者が照合される。両者のそれぞれが一致し、かつ、ユーザIDが、"ICcardID=KM01"のKM01と一致すれば、すなわちIDがKM01のユーザ認証が成功すれば、ResetEnd文の条件が成立したことになり、ステップS5で肯定判定され、ステップS6でEF=0となる。その後、図6(B)の場合と同じ処理が行われる。   In the case of FIG. 6C, the line “ResetEnd (ICcardID = KM01)” with CLC = 1 is processed in step S12 before the process of FIG. 6B. That is, the encrypted user ID and password stored in the user's IC card 24B are read by the IC card reader 22 via radio waves. Then, the user ID registered in the PROM 13 and the password encrypted twice, for example, are read, the latter is decrypted once, and both are verified. If both of them match and the user ID matches KM01 of “ICcardID = KM01”, that is, if the user authentication with the ID of KM01 succeeds, the condition of the ResetEnd statement is satisfied, and step S5 Is affirmative, and EF = 0 in step S6. Thereafter, the same processing as in FIG. 6B is performed.

前記ユーザ認証が失敗した場合には、ステップS5で否定判定されて図1の処理が終了し、釦41が操作パネル15上に表示されない。   If the user authentication has failed, a negative determination is made in step S5, the processing of FIG. 1 ends, and the button 41 is not displayed on the operation panel 15.

したがって、特定のユーザのみに対し、毎回、操作パネル15上に釦41が表示されて上述のシーケンス処理が行われ、処理が終わると釦41が操作パネル15上から消失する。すなわち、簡単なユーザアプリケーションにより、ユーザ毎のユーザインターフェイスを構成できるという効果を奏する。   Therefore, the button 41 is displayed on the operation panel 15 each time only for a specific user, the above-described sequence processing is performed, and the button 41 disappears from the operation panel 15 when the processing is completed. In other words, the user interface can be configured for each user with a simple user application.

次に、印刷中にジャムや用紙無し等のエラーが発生して印刷が中断した場合、他の画像形成装置に印刷を続行させる処理を、本発明の実施例2として説明する。   Next, when printing is interrupted due to an error such as a jam or no paper during printing, processing for causing another image forming apparatus to continue printing will be described as a second embodiment of the present invention.

図7(A)は、実施例2の画像形成システムを示す概略ブロック図である。   FIG. 7A is a schematic block diagram illustrating an image forming system according to the second embodiment.

このシステムでは、社内のLAN26Lに、m台の画像形成装置101〜10mと(n−1)台のホストコンピュータ252〜25nとが結合されている。m台の画像形成装置101〜10m間は、ピア・ツー・ピアで結合されている。   In this system, m image forming apparatuses 101 to 10m and (n−1) host computers 252 to 25n are coupled to an in-house LAN 26L. The m image forming apparatuses 101 to 10m are connected by peer-to-peer.

例えば、画像形成装置101で原稿をスキャンして印刷する場合を考える。印刷中にジャム等のエラーが発生して印刷が中断した場合、スキャンした画像データとこの印刷に関する画像形成装置101の設定情報とを、他の画像形成装置に送信してその後のジョブを実行させる。   For example, consider a case where a document is scanned and printed by the image forming apparatus 101. When printing is interrupted due to an error such as a jam during printing, the scanned image data and setting information of the image forming apparatus 101 relating to this printing are transmitted to another image forming apparatus to execute a subsequent job. .

この場合、どの画像形成装置を代替装置として印刷させるべきかは、ユーザが経験的によく知っている。また、同時に2台の画像形成装置がエラーになる確率が一般的に極小である。したがって、この代替装置の選択をユーザの判断に任したほうが好ましい。   In this case, the user knows empirically which image forming apparatus should be printed as an alternative apparatus. In addition, the probability that two image forming apparatuses simultaneously cause an error is generally minimal. Therefore, it is preferable to leave the selection of the alternative device to the user's judgment.

しかしながら、この選択を手動で行うと、手間がかかるとともに、ユーザが画像形成装置から離れると、緊急を要する印刷に対処できない場合がある。さらに、スキャンした画像データについて上述の例のように、電子メール送信等の処理も自動実行させたい場合がある。   However, if this selection is made manually, it is troublesome, and if the user leaves the image forming apparatus, it may not be possible to cope with urgent printing. Further, there is a case where it is desired to automatically execute processing such as e-mail transmission on the scanned image data as in the above example.

そこで、このような処理を、図7(B)に示すようなユーザアプリケーションを用いてインタープリタ38により実行する。   Therefore, such processing is executed by the interpreter 38 using a user application as shown in FIG.

ここで、原稿スキャンの場合、スキャン中にエラーが生じても、他の画像形成装置にこれを自動続行させることができない。すなわち、自動続行は画像出力中のエラーに対する処理に限定される。   Here, in the case of document scanning, even if an error occurs during scanning, it cannot be automatically continued by another image forming apparatus. That is, automatic continuation is limited to processing for errors during image output.

図7(B)のユーザアプリケーションが図6(A)のそれと相違する点は、Try-CatchError文の有無と、FAX送信命令が印刷命令に替わっている点である。このTry-CatchError文について、Try句内の処理は通常処理であり、CatchError句内の処理はエラー発生時の処理である。また、印刷命令"Print file.pdf"は、例えばスキャン命令"file.pdf = Scan"で取得したファイルfile.pdfを、プリンタ16で印刷させるためのものである。   The user application in FIG. 7B is different from that in FIG. 6A in that a Try-CatchError statement is present and a FAX transmission command is replaced with a print command. For this Try-CatchError statement, the processing in the Try clause is normal processing, and the processing in the CatchError clause is processing when an error occurs. The print command “Print file.pdf” is for causing the printer 16 to print the file file.pdf acquired by the scan command “file.pdf = Scan”, for example.

図7(B)のユーザアプリケーションに対するインタープリタ38の処理は、基本的に図1のそれと同一である。ただし、図1のステップS0が図8(A)の処理で置き換えられ、図1のステップS12が図8(B)の処理で置き換えられる。インタープリタ38の実行は、通常時とエラーイベント発生時とで、上述のようにタイマ割込で開始される。   The processing of the interpreter 38 for the user application of FIG. 7B is basically the same as that of FIG. However, step S0 in FIG. 1 is replaced with the process in FIG. 8A, and step S12 in FIG. 1 is replaced with the process in FIG. 8B. The execution of the interpreter 38 is started by the timer interrupt as described above, at the normal time and when an error event occurs.

(S01)エラーイベントが発生していればエラーフラグがセットされ、このエラーフラグがセットされている場合にはステップS03へ進み、そうでなければステップS02へ進む。このエラーフラグは、図1のステップS2で終了判定された場合にリセットされる。   (S01) If an error event has occurred, an error flag is set. If this error flag is set, the process proceeds to step S03, and if not, the process proceeds to step S02. This error flag is reset when it is determined in step S2 in FIG.

(S02)行カウンタLCに0を代入し、何番目のTry-CatchError文であるかを示す変数ENに0を代入し、ステップS1へ進む。   (S02) 0 is substituted into the row counter LC, 0 is substituted into a variable EN indicating what number Try-CatchError statement is, and the process proceeds to step S1.

(S03)ユーザアプリケーションにおいて、EN番目のTry-CatchError文中のCatchError句内の最初の処理行を見つけ、その行番号を行カウンタLCに代入し、ステップS1へ進む。   (S03) In the user application, the first processing line in the CatchError phrase in the EN-th Try-CatchError statement is found, the line number is assigned to the line counter LC, and the process proceeds to step S1.

これらの処理の意味は、以下の説明から明らかになる。   The meaning of these processes will become clear from the following description.

(S121)Try句、例えば図7(B)のLC=2の行であれば、ステップS122へ進み、そうでなければステップS123へ進む。   (S121) If the Try phrase is, for example, the LC = 2 line in FIG. 7B, the process proceeds to step S122; otherwise, the process proceeds to step S123.

(S122)変数ENを1だけインクリメントしてステップS1へ戻る。   (S122) The variable EN is incremented by 1, and the process returns to step S1.

EN=1であることにより、LC=3のプリント文を実行中にエラーが発生した場合、図8(A)のステップS03で、ユーザアプリケーション中の最初から1番目のTry-CatchError文中のCatchError句内の最初のステートメントの行番号6がLCに代入される。   If an error occurs during execution of a print statement with LC = 3 due to EN = 1, the CatchError phrase in the first Try-CatchError statement in the user application in step S03 of FIG. Line number 6 of the first statement in is assigned to LC.

(S123)LC行がCatchError句であればステップS124へ進み、そうでなければステップS125へ進む。   (S123) If the LC line is a CatchError phrase, the process proceeds to step S124; otherwise, the process proceeds to step S125.

(S124)LCの値を、CatchError句の次の行の番号に更新する。例えば図7(B)のLC=5でCatchError句が含まれていると判定されると、LCに9が代入される。次にステップS1へ進む。   (S124) The value of LC is updated to the number of the next line in the CatchError phrase. For example, if it is determined that LC = 5 in FIG. 7B and the CatchError phrase is included, 9 is assigned to LC. Next, the process proceeds to step S1.

(S125)LC行についてその処理を行い、ステップS1へ戻る。   (S125) The LC row is processed, and the process returns to step S1.

次に、図7(B)のユーザアプリケーションについて、以上の処理の概略を説明する。   Next, the outline of the above processing will be described for the user application in FIG.

LC=3の印刷命令を実行中にジャム等のエラーイベントが発生して印刷が中断した場合、上述のようにステップS03でLC=6とされ、ステップS125において、中断した機能である印刷に関する画像形成装置101での設定情報が取得され、予め定められた構造体の変数Sにこの設定情報が代入される。次にステップS1へ戻り、再度ステップS125へ進んだ時に、LC=7の命令"Migrate (file.pdf, S, MFP2)"が実行されて、この設定情報Sと、LC=1でスキャンして得られたファイルfile.pdfの内容とが、指定したMPF2へ送信される。MPF2は、画像形成装置のIDであり、これをキーとして不図示のテーブルを参照することにより、このIDに対応した画像形成装置のIPアドレスが、送信先アドレスと決定される。設定情報Sには、中断した頁の値が含まれており、受信した代替装置ではファイルfile.pdfの内容をこの頁から印刷開始する。   If an error event such as a jam occurs during execution of a print command with LC = 3 and printing is interrupted, LC = 6 is set in step S03 as described above, and an image relating to printing, which is the interrupted function in step S125. Setting information in the forming apparatus 101 is acquired, and the setting information is substituted into a predetermined structure variable S. Next, when returning to step S1 and proceeding again to step S125, the instruction “Migrate (file.pdf, S, MFP2)” of LC = 7 is executed, and this setting information S and LC = 1 are scanned. The content of the obtained file file.pdf is transmitted to the designated MPF2. MPF2 is the ID of the image forming apparatus. By referring to a table (not shown) using this as a key, the IP address of the image forming apparatus corresponding to this ID is determined as the transmission destination address. The setting information S includes the value of the interrupted page, and the received alternative device starts printing the contents of the file file.pdf from this page.

LC=9のEmail命令は、Try-CatchError文の外に存在するので、エラー発生の有無とは無関係に実行される。すなわち、LC=3の印刷処理がエラーで中断し又はエラー無しで完了した後に、LC=9の行がステップS125で実行される。エラーが発生したときのこの処理は、エラー処理と別のスレットで行っても、エラー処理が終わった後に行うようにしてもよい。   Since the Email command with LC = 9 exists outside the Try-CatchError statement, it is executed regardless of whether or not an error has occurred. That is, after the LC = 3 printing process is interrupted with an error or completed without an error, the line with LC = 9 is executed in step S125. This processing when an error occurs may be performed in a different thread from the error processing or may be performed after the error processing is completed.

本実施例2によれば、エラーが発生したとき、ユーザアプリケーション中のGetSettings命令に基づき、中断したジョブに係る装置設定情報が取得され、この装置設定情報と、スキャンした画像のデータファイルとが、ユーザアプリケーション中のMigrate命令に基づき、指定された他の画像形成装置へ送信されるので、簡単なユーザアプリケーションで、エラーが発生した場合にユーザが意図する代替装置に対し処理を自動続行させることができるという効果を奏する。   According to the second embodiment, when an error occurs, the device setting information related to the interrupted job is acquired based on the GetSettings command in the user application, and the device setting information and the scanned image data file are: Based on the Migrate command in the user application, it is sent to the specified other image forming apparatus, so if an error occurs with a simple user application, the process can be automatically continued for an alternative device intended by the user. There is an effect that can be done.

図9(A)は、本発明の実施例3の画像形成システムを示す概略ブロック図である。   FIG. 9A is a schematic block diagram showing an image forming system of Embodiment 3 of the present invention.

この画像形成システムでは、図7(A)のそれに、ファイルサーバ251が追加されている。   In this image forming system, a file server 251 is added to that of FIG.

画像形成装置101〜10mのいずれかでスキャンして得られた画像データのファイルfile.pdfは、命令"Send (file.pdf, FileServer)"の実行によりファイルサーバ251へ送信されて記録される。この記録されたファイルは、画像形成装置101〜10m及びホストコンピュータ252〜25nのうち許可されたもののいずれからでも、再利用することが可能となっている。また、この開示機能により、スキャンした画像のファイルの監視が互いに行われて、セキュリティが確保される。   A file file.pdf of image data obtained by scanning with any of the image forming apparatuses 101 to 10m is transmitted to the file server 251 and recorded by executing the command “Send (file.pdf, FileServer)”. The recorded file can be reused from any one of the image forming apparatuses 101 to 10m and the host computers 252 to 25n that are permitted. Also, with this disclosed function, the scanned image files are mutually monitored to ensure security.

ファイルサーバ251は、このファイルを受信すると、一意の新たなファイル名(ファイルID)、例えば"file1234.pdf"を付与し、これを送信元の画像形成装置へ通知する。   Upon receiving this file, the file server 251 assigns a unique new file name (file ID), for example, “file1234.pdf”, and notifies this to the image forming apparatus that is the transmission source.

上述のようにエラーが発生して印刷が中断した場合、GetSettings命令の実行により画像形成装置101の設定情報Sが取得され、これとファイルIDと代替装置とが指定されたMigrate命令の実行により、そのデータがこの代替装置へ送信される。例えば画像形成装置102がこれを受信すると、画像形成装置102はファイルサーバ251に対し、このファイルIDを指定してファイルを要求する。ファイルサーバ251はこれに応答して、このファイルをその記憶装置から読出し、画像形成装置102へ送信する。画像形成装置102は、実施例2と同様に、このファイルを設定情報Sに従って印刷する。   When printing is interrupted due to an error as described above, the setting information S of the image forming apparatus 101 is acquired by executing the GetSettings command, and by executing the Migrate command in which the file ID and the alternative device are specified, The data is transmitted to this alternative device. For example, when the image forming apparatus 102 receives this, the image forming apparatus 102 requests the file server 251 by designating the file ID. In response to this, the file server 251 reads this file from the storage device and transmits it to the image forming apparatus 102. The image forming apparatus 102 prints this file according to the setting information S as in the second embodiment.

図9(B)は、このような処理を行うための、画像形成装置101でのユーザアプリケーションを示す。   FIG. 9B shows a user application in the image forming apparatus 101 for performing such processing.

図7(B)との相違は、LC=2においてSend命令によりファイルをファイルサーバ251へ送信している点と、LC=8の命令"Migrate (file1234.pdf, S, MFP2)"が、指定されたファイル名"file1234.pdf"自体を送信する点である。   The difference from Fig. 7B is that the file is sent to the file server 251 by the Send command at LC = 2, and the command "Migrate (file1234.pdf, S, MFP2)" at LC = 8 is specified. The file name "file1234.pdf" itself is sent.

本実施例3によれば、画像データ取得後に該画像データがファイルサーバ251へ送信されるので、該画像データを、ジョブ中断後の代替装置によるジョブ続行以外の目的にも用いることができ、画像データの再利用性やセキュリティを向上させることができるという効果を奏する。   According to the third embodiment, since the image data is transmitted to the file server 251 after the image data is acquired, the image data can be used for purposes other than the job continuation by the alternative device after the job is interrupted. There is an effect that data reusability and security can be improved.

なお、本発明には外にも種々の変形例が含まれる。   The present invention includes various modifications in addition to the above.

例えば、複数のユーザアプリケーションを記述し、又は、1つのユーザアプリケーション中に条件句と処理命令文との組を複数記述することにより、図3(B)の表示画面に3以上の釦を表示させて、このメニューだけで日常業務を処理できるようにしてもよい。   For example, by describing a plurality of user applications or by describing a plurality of combinations of conditional phrases and processing statements in one user application, three or more buttons are displayed on the display screen of FIG. Thus, daily operations may be processed using only this menu.

また、ユーザアプリケーションは入力インターフェイスを介して画像形成装置に格納されればよく、フラッシュメモリカード等の他のリブーバブルメモリや通信手段の入力インターフェイスを介する構成であってもよい。   Further, the user application only needs to be stored in the image forming apparatus via the input interface, and may be configured via an input interface of another removable memory such as a flash memory card or a communication unit.

さらに、操作パネル15に表示させるアイコンの形状は釦に限定されず、様々な形状のアイコンを用いてもよい。   Furthermore, the shape of the icon displayed on the operation panel 15 is not limited to the button, and icons having various shapes may be used.

また、実施例2のMigrate命令又は実施例3のSend命令の実行においては、スキャンした画像のデータと設定情報とをプリントドライバでプリントジョブデータに変換して送信する構成であってもよい。この場合、これを受信した画像形成装置は、通常のプリント処理として実行することができる。   In the execution of the Migrate instruction of the second embodiment or the Send instruction of the third embodiment, the scanned image data and setting information may be converted into print job data by a print driver and transmitted. In this case, the image forming apparatus that has received this can be executed as a normal print process.

また、画像形成装置101に原稿をセットし、その操作パネル15の替わりに、ホストコンピュータ252〜25nのいずれかをリモートコンソールとして用いる構成であってもよい。この場合、アイコンは例えばマウスのクリックによりオンにされる(選択される)。   Alternatively, a document may be set on the image forming apparatus 101 and one of the host computers 252 to 25n may be used as a remote console instead of the operation panel 15. In this case, the icon is turned on (selected) by clicking the mouse, for example.

さらに、実施例3において実施例2と同様に、指定されたファイル名のファイルの内容をMigrate命令実行により送信する構成であってもよい。   Furthermore, in the third embodiment, as in the second embodiment, the content of the file having the designated file name may be transmitted by executing the Migrate command.

また、1つ以上の画像形成装置がプリントサーバを介してネットワーク26Lに結合された構成であってもよい。この場合の各画像形成装置の通信インターフェイスは、USB等のローカル通信インターフェイスであってもよい。   Alternatively, one or more image forming apparatuses may be coupled to the network 26L via a print server. In this case, the communication interface of each image forming apparatus may be a local communication interface such as a USB.

本発明の実施例1に係る画像形成装置に格納されている、ユーザアプリケーションに対するインタープリタの処理を示す概略フローチャートである。4 is a schematic flowchart illustrating processing of an interpreter for a user application stored in the image forming apparatus according to the first exemplary embodiment of the present invention. この画像形成装置のPROM及びDRAMに格納されているデータの一部説明図である。4 is a partial explanatory diagram of data stored in a PROM and a DRAM of the image forming apparatus. FIG. (A)は該画像形成装置の操作パネル上のメインメニュー画面を示す図であり、(B)は(A)の"USER APPLICATION"釦を選択したときに表示されるメニュー画面を示す図であり、(C)は(B)の釦40を選択した後の画面を示す図である。(A) is a diagram showing a main menu screen on the operation panel of the image forming apparatus, and (B) is a diagram showing a menu screen displayed when the “USER APPLICATION” button in (A) is selected. (C) is a figure which shows the screen after selecting the button 40 of (B). 時間の経過に対するトナー残量のグラフを示す、図1の処理説明図である。FIG. 2 is a process explanatory diagram of FIG. 1 showing a graph of the remaining amount of toner over time. (A)〜(C)はトナーカートリッジ発注に関するユーザアプリケーションの具体例を示す図である。(A) to (C) are diagrams showing specific examples of user applications relating to toner cartridge ordering. (A)〜(C)は伝票のスキャン、ファクシミリ送信及び電子メール送信に関するユーザアプリケーションの具体例を示す図である。(A)-(C) is a figure which shows the specific example of the user application regarding the scan of a slip, facsimile transmission, and electronic mail transmission. 本発明の実施例2に係り、(A)は画像形成システムの概略ブロック図、(B)はエラー中断時に代替装置でジョブを実行する処理を含むユーザアプリケーションの具体例を示す図である。FIG. 7A is a schematic block diagram of an image forming system according to a second embodiment of the present invention, and FIG. 7B is a diagram illustrating a specific example of a user application including processing for executing a job in an alternative apparatus when an error is interrupted. (A)は図1のステップS0の替わりに用いられる処理を示す部分フローチャートであり、(B)は図1のステップS12の替わりに用いられる処理を示す部分フローチャートである。(A) is a partial flowchart which shows the process used instead of step S0 of FIG. 1, (B) is a partial flowchart which shows the process used instead of step S12 of FIG. 本発明の実施例3に係り、(A)は画像形成システムの概略ブロック図、(B)はエラー中断時に代替装置でジョブを実行する処理を含むユーザアプリケーションの具体例を示す図である。FIG. 7A is a schematic block diagram of an image forming system according to a third embodiment of the present invention, and FIG. 5B is a diagram illustrating a specific example of a user application including processing for executing a job in an alternative apparatus when an error is interrupted. 該画像形成装置のソフトウェア階層構造を示す概略ブロック図である。2 is a schematic block diagram showing a software hierarchical structure of the image forming apparatus. FIG. 該画像形成装置のハードウェア構成を示す概略ブロック図である。2 is a schematic block diagram illustrating a hardware configuration of the image forming apparatus. FIG.

符号の説明Explanation of symbols

10、101〜10m 画像形成装置
11 MPU
12 インターフェイス
13 PROM
14 DRAM
15 操作パネル
16 プリンタ
17 スキャナ
18 NIC
19 FAXモデム
20 ポート
21 トナー残量検出器
22 ICカードリーダ
23 電子タグリーダ
24A USBメモリ
24B ICカード
25、252〜25n ホストコンピュータ
251 ファイルサーバ
26 インターネット
26L LAN
27 Webサーバマシン
28 公衆回線網
30 OS
31 デバイスドライバ
32 API
33 基本サービスプログラム
330 操作パネル制御モジュール
331 スキャンモジュール
332 プリントモジュール
333 FAX送受信モジュール
334 電子メール送受信モジュール
335 ICカード制御モジュール
336 RFID制御モジュール
337 フォーマット変換モジュール
338 アドレス帳モジュール
339 HTTP処理モジュール
34、36 外部API
35 アプリケーション
350 コピーモジュール
351 プリントモジュール
352 FAXモジュール
353 電子メールモジュール
354 ジョブ管理モジュール
355 操作パネルモジュール
37 ユーザアプリケーション
38 インタープリタ
40、41 釦
TBL1、TBL2 テーブル
10, 101 to 10 m Image forming apparatus 11 MPU
12 Interface 13 PROM
14 DRAM
15 Operation panel 16 Printer 17 Scanner 18 NIC
19 FAX modem 20 Port 21 Remaining toner detector 22 IC card reader 23 Electronic tag reader 24A USB memory 24B IC card 25, 252 to 25n Host computer 251 File server 26 Internet 26L LAN
27 Web server machine 28 Public network 30 OS
31 Device driver 32 API
33 Basic service program 330 Operation panel control module 331 Scan module 332 Print module 333 FAX transmission / reception module 334 E-mail transmission / reception module 335 IC card control module 336 RFID control module 337 Format conversion module 338 Address book module 339 HTTP processing module 34, 36 External API
35 Application 350 Copy module 351 Print module 352 FAX module 353 E-mail module 354 Job management module 355 Operation panel module 37 User application 38 Interpreter 40, 41 Button TBL1, TBL2 table

Claims (7)

プロセッサと、プログラムが格納された記憶手段と、操作パネルと、通信インターフェイスとを備えた画像形成装置において、
該プログラムは、通常時処理とエラー時処理とが含まれているユーザアプリケーションと、インタープリタとを含み、
該インタープリタは該プロセッサに対し、
(a)該通常時処理を実行させ、
(b)該通常時処理中にエラーが発生したときには、該エラー時処理に基づき、中断したジョブに係る装置設定情報を取得させ、次いで該装置設定情報と続行すべきジョブデータとを、該エラー時処理で指定された他の画像形成装置へ該通信インターフェイスを介し送信させる、
ことを特徴とする画像形成装置。
In an image forming apparatus comprising a processor, a storage means storing a program, an operation panel, and a communication interface,
The program includes a user application including normal time processing and error time processing, and an interpreter.
The interpreter gives the processor
(A) The normal processing is executed,
(B) When an error occurs during the normal process, the apparatus setting information related to the interrupted job is acquired based on the error process, and then the apparatus setting information and job data to be continued are Transmitting to another image forming apparatus designated by the time processing via the communication interface;
An image forming apparatus.
該通常時処理には、アイコンの属性を含むアイコン表示命令と画像入力命令と画像出力命令とがこの順に含まれ、
該インタープリタは該プロセッサに対し、処理(a)において、
(a1)該属性に対応したアイコンを、該操作パネル上又は該通信インターフェイスを介したリモートコンソール上に表示させ、
(a2)該アイコンのオンを検出させ、該オンの検出に応答して、該画像入力命令と該画像出力命令とを実行させる、
ことを特徴とする請求項1に記載の画像形成装置。
The normal processing includes an icon display command including an icon attribute, an image input command, and an image output command in this order.
The interpreter sends the processor in process (a):
(A1) An icon corresponding to the attribute is displayed on the operation panel or a remote console via the communication interface,
(A2) detecting that the icon is on, and executing the image input command and the image output command in response to the detection of the on.
The image forming apparatus according to claim 1.
該エラー処理は該画像出力命令の実行中にエラーが発生したときの処理であり、
該インタープリタは該プロセッサに対し、処理(b)において、該画像入力処理で取得したデータの一部又は全部を該続行すべきジョブデータとする、
ことを特徴とする請求項2に記載の画像形成装置。
The error processing is processing when an error occurs during execution of the image output instruction,
The interpreter uses the part or all of the data acquired in the image input process as the job data to be continued in the process (b).
The image forming apparatus according to claim 2.
請求項1乃至3に記載の画像形成装置が複数、ピア・ツー・ピアでネットワークに結合されていることを特徴とする画像形成システム。   4. An image forming system comprising a plurality of image forming apparatuses according to claim 1 connected to a network on a peer-to-peer basis. プロセッサと、プログラムが格納された記憶手段と、操作パネルと、通信インターフェイスとを備えた画像形成装置において、
該プログラムは、通常時処理とエラー時処理とが含まれているユーザアプリケーションと、インタープリタとを含み、
該インタープリタは該プロセッサに対し、
(a)該通常時処理に基づき、画像データを取得させ、次いで該画像データをファイルサーバへ送信させ、次いで該画像データを出力させ、
(b)該画像データの出力中にエラーが発生してジョブが中断したときには、該エラー時処理に基づき、該ジョブに係る装置設定情報を取得させ、次いで該装置設定情報を、該エラー時処理で指定された他の画像形成装置へ該通信インターフェイスを介し送信させる、
ことを特徴とする画像形成装置。
In an image forming apparatus comprising a processor, a storage means storing a program, an operation panel, and a communication interface,
The program includes a user application including normal time processing and error time processing, and an interpreter.
The interpreter gives the processor
(A) Based on the normal processing, image data is acquired, then the image data is transmitted to a file server, and then the image data is output.
(B) When an error occurs during the output of the image data and the job is interrupted, the apparatus setting information related to the job is acquired based on the error process, and then the apparatus setting information is processed into the error process. Via the communication interface to another image forming apparatus designated by
An image forming apparatus.
該通常時処理はさらに、該画像データの取得命令の前に、アイコンの属性を含むアイコン表示命令を有し、
該インタープリタは該プロセッサに対し、処理(a)において、
(a1)該属性に対応したアイコンを、該操作パネル上又は該通信インターフェイスを介したリモートコンソール上に表示させ、
(a2)該アイコンのオンを検出させ、該オンの検出に応答して処理(b)へ移行させる、
ことを特徴とする請求項5に記載の画像形成装置。
The normal processing further includes an icon display command including an icon attribute before the image data acquisition command,
The interpreter sends the processor in process (a):
(A1) An icon corresponding to the attribute is displayed on the operation panel or a remote console via the communication interface,
(A2) detecting that the icon is turned on, and proceeding to processing (b) in response to the detection of the on,
The image forming apparatus according to claim 5.
請求項5又は6に記載の画像形成装置が複数、ピア・ツー・ピアでネットワークに結合され、該ネットワークにさらにファイルサーバが結合された画像形成システムであって、
該指定された他の画像形成装置は、該装置設定情報を受信した後に、該ファイルサーバに対し、該装置設定情報に対応した画像データの送信要求を行い、
該ファイルサーバは、
該複数の画像形成装置のうちの任意の1つから受信した画像データをその記憶手段に格納し、
該画像データの送信要求に応答して、該記憶手段に格納されている要求対象の画像データを要求元の画像形成装置へ送信する、
ことを特徴とする画像形成システム。
An image forming system in which a plurality of image forming apparatuses according to claim 5 or 6 are coupled to a network on a peer-to-peer basis, and a file server is further coupled to the network.
The designated other image forming apparatus, after receiving the apparatus setting information, makes a transmission request for image data corresponding to the apparatus setting information to the file server,
The file server
Storing image data received from any one of the plurality of image forming apparatuses in the storage means;
In response to the image data transmission request, the request target image data stored in the storage unit is transmitted to the requesting image forming apparatus.
An image forming system.
JP2007270785A 2007-09-28 2007-10-18 Image forming apparatus and image forming system Active JP5145008B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2007270785A JP5145008B2 (en) 2007-10-18 2007-10-18 Image forming apparatus and image forming system
US12/239,274 US20090086269A1 (en) 2007-09-28 2008-09-26 Image Forming Apparatus and Image Forming System
US13/568,669 US8467084B2 (en) 2007-09-28 2012-08-07 Image forming apparatus including an end statement described after the consumable-goods order statement
US13/679,826 US8638465B2 (en) 2007-09-28 2012-11-16 Imaging forming apparatus with customizable user interfaces and improved text language processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007270785A JP5145008B2 (en) 2007-10-18 2007-10-18 Image forming apparatus and image forming system

Publications (2)

Publication Number Publication Date
JP2009098980A true JP2009098980A (en) 2009-05-07
JP5145008B2 JP5145008B2 (en) 2013-02-13

Family

ID=40701914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007270785A Active JP5145008B2 (en) 2007-09-28 2007-10-18 Image forming apparatus and image forming system

Country Status (1)

Country Link
JP (1) JP5145008B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002283674A (en) * 2001-03-28 2002-10-03 Minolta Co Ltd Printing system, printing management program, and recording medium with printing management program recorded therein
JP2004171304A (en) * 2002-11-20 2004-06-17 Canon Sales Co Inc Digitized manuscript management device, control method for the same, digitized manuscript management system, and program
JP2004250039A (en) * 2003-02-20 2004-09-09 Dainippon Printing Co Ltd Composite container
JP2005242741A (en) * 2004-02-27 2005-09-08 Canon Inc Information processing device, print system, and print processing method
JP2007249480A (en) * 2006-03-15 2007-09-27 Canon Inc Data processor, load processing method, storage medium and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002283674A (en) * 2001-03-28 2002-10-03 Minolta Co Ltd Printing system, printing management program, and recording medium with printing management program recorded therein
JP2004171304A (en) * 2002-11-20 2004-06-17 Canon Sales Co Inc Digitized manuscript management device, control method for the same, digitized manuscript management system, and program
JP2004250039A (en) * 2003-02-20 2004-09-09 Dainippon Printing Co Ltd Composite container
JP2005242741A (en) * 2004-02-27 2005-09-08 Canon Inc Information processing device, print system, and print processing method
JP2007249480A (en) * 2006-03-15 2007-09-27 Canon Inc Data processor, load processing method, storage medium and program

Also Published As

Publication number Publication date
JP5145008B2 (en) 2013-02-13

Similar Documents

Publication Publication Date Title
JP5059535B2 (en) Image forming apparatus
US8467084B2 (en) Image forming apparatus including an end statement described after the consumable-goods order statement
US9489348B2 (en) Screen generating method, image forming apparatus, and computer program product
US7665029B2 (en) Device for assisting development of user application for image forming device
US8363248B2 (en) Image forming apparatus
US8584137B2 (en) Image processing system for judging whether a partial job should be processed by an own device or another device
US8643893B2 (en) Apparatus, method, system, and computer program product for creating operation definition file, and image forming apparatus
US20090091787A1 (en) Image formation system and application program installation method
US11778110B2 (en) Image processing apparatus displaying a home screen in a fixed button mode in a state where acquisition of a recommended button information is unavailable
JP5171188B2 (en) Image forming apparatus
JP4991477B2 (en) Image forming apparatus and image forming system
JP2011096000A (en) Print system and image forming device
JP2007293916A (en) Image processor, and image processing method, program and system
JP5006754B2 (en) Image forming apparatus and image forming system
JP5140802B2 (en) Image forming apparatus and image forming system
JP5145008B2 (en) Image forming apparatus and image forming system
JP4986236B2 (en) Image forming apparatus and image forming system
JP4943983B2 (en) Image forming apparatus
JP4943984B2 (en) Image forming apparatus
JP4986235B2 (en) Image forming apparatus and image forming system
JP5171208B2 (en) Image forming apparatus
JP2009088747A (en) Image forming apparatus
US8780391B2 (en) Image processing apparatus and image processing system with processability determining unit
JP2007328773A (en) Apparatus and method for managing application
JP2009088745A (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: 20100927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120403

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120820

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: 20121030

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121126

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151130

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5145008

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150