JP2013049242A - Electronic device, and program - Google Patents

Electronic device, and program Download PDF

Info

Publication number
JP2013049242A
JP2013049242A JP2011189619A JP2011189619A JP2013049242A JP 2013049242 A JP2013049242 A JP 2013049242A JP 2011189619 A JP2011189619 A JP 2011189619A JP 2011189619 A JP2011189619 A JP 2011189619A JP 2013049242 A JP2013049242 A JP 2013049242A
Authority
JP
Japan
Prior art keywords
notification
abnormality
initialization
paper
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011189619A
Other languages
Japanese (ja)
Inventor
Hiroshi Iwasaki
裕志 岩崎
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2011189619A priority Critical patent/JP2013049242A/en
Publication of JP2013049242A publication Critical patent/JP2013049242A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To adequately notify a user of the details of an abnormality that occurs at starting before entering a normal operation.SOLUTION: An electronic device includes: a starting means that has a printer to print on paper and sequentially executes a plurality of initialization processes necessary to start a hardware before entering the normal operation; and a notification means that executes notification corresponding to a progress of the plurality of initialization processes to the printer. The printer includes an abnormality detection means that detects the abnormality occurred in a given initialization process based on the notification and an output means that prints the detected abnormality on the paper.

Description

本発明の実施形態は、電子機器及びプログラムに関する。   Embodiments described herein relate generally to an electronic device and a program.

従来、電子式キャッシュレジスタやPOS(Point Of Sales)端末などの電子機器は、OS(Operating System)が起動するまでの、BIOS(Basic Input/Output System)処理中にエラー(異常)が発生した場合には、ビープ音を鳴らして異常の発生を通知していた。   Conventionally, when an electronic device such as an electronic cash register or a POS (Point Of Sales) terminal has an error (abnormality) during BIOS (Basic Input / Output System) processing until the OS (Operating System) is started A beep sound was sent to notify the occurrence of an abnormality.

しかしながら、従来技術では、異常の発生をビープ音でしかユーザに通知できないため、BIOS処理中に発生した異常の詳細を的確にユーザに通知することが困難であった。例えば、BIOS処理のどの段階で異常が発生したのか等の異常の詳細は、ビープ音だけではユーザに判りづらい。また、ウオッチドックタイマなどの動作により、異常が発生した場合であっても一定時間経過後にBIOS処理が先に進む場合は、異常によるビープ音を聞き逃した際に、異常の発生に気づかないこととなる。   However, in the prior art, since the occurrence of an abnormality can be notified to the user only with a beep sound, it is difficult to accurately notify the user of the details of the abnormality that occurred during the BIOS processing. For example, the details of the abnormality such as at which stage of the BIOS processing the abnormality has occurred are difficult for the user to understand with only the beep sound. Also, even if an abnormality occurs due to the operation of the watchdog timer, etc., if the BIOS process proceeds after a certain period of time, you should not notice the abnormality when you miss the beep sound due to the abnormality. It becomes.

上述した課題を解決するために、実施形態の電子機器は、用紙に印字する印字装置を有する電子機器であって、通常動作に入る前の、ハードウエアの起動にかかる複数の初期化処理を逐次行う起動手段と、前記複数の初期化処理の進行に応じた通知を前記印字装置へ行う通知手段と、を備え、前記印字装置は、前記通知をもとに所定の初期化処理で生じた異常を検知する異常検知手段と、前記検知された異常を前記用紙に印字させる出力手段と、を備える。   In order to solve the above-described problems, an electronic apparatus according to an embodiment is an electronic apparatus having a printing device that prints on paper, and sequentially performs a plurality of initialization processes related to hardware activation before entering a normal operation. Starting means for performing, and notifying means for performing notification to the printing apparatus according to the progress of the plurality of initialization processes, the printing apparatus is an abnormality that has occurred in a predetermined initialization process based on the notification And an output means for printing the detected abnormality on the sheet.

また、実施形態のプログラムは、用紙に印字する印字装置を有する電子機器のコンピュータを、通常動作に入る前の、ハードウエアの起動にかかる複数の初期化処理を逐次行う起動手段と、前記複数の初期化処理の進行を前記印字装置へ通知する通知手段と、して機能させる。   Further, the program according to the embodiment includes an activation unit that sequentially performs a plurality of initialization processes related to hardware activation before entering a normal operation of a computer of an electronic device having a printing device that prints on paper. It functions as a notification means for notifying the printing apparatus of the progress of the initialization process.

また、実施形態のプログラムは、用紙に印字する印字装置のコンピュータを、前記印字装置と接続する電子機器が通常動作に入る前の、ハードウエアの起動にかかる複数の初期化処理を逐次行う際に、当該複数の初期化処理の進行に応じて行う通知をもとに、所定の初期化処理で生じた異常を検知する異常検知手段と、前記検知された異常を前記用紙に印字させる出力手段と、して機能させる。   Further, the program according to the embodiment is used when a computer of a printing apparatus that prints on paper sequentially performs a plurality of initialization processes for starting up hardware before an electronic device connected to the printing apparatus enters a normal operation. An abnormality detection means for detecting an abnormality that has occurred in a predetermined initialization process based on notifications made in accordance with the progress of the plurality of initialization processes; and an output means for printing the detected abnormality on the sheet. And make it work.

図1は、実施形態にかかる電子機器のハードウエア構成を示すブロック図である。FIG. 1 is a block diagram illustrating a hardware configuration of the electronic device according to the embodiment. 図2は、制御部のハードウエア構成を示すブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of the control unit. 図3は、レシートプリンタのハードウエア構成を示すブロック図である。FIG. 3 is a block diagram showing the hardware configuration of the receipt printer. 図4は、CPU、コントローラにおける機能構成を示すブロック図である。FIG. 4 is a block diagram illustrating a functional configuration of the CPU and the controller. 図5は、実施形態にかかる電子機器の動作を示すフローチャートである。FIG. 5 is a flowchart illustrating the operation of the electronic apparatus according to the embodiment. 図6は、異常が発生したことを示すレポートを例示する概念図である。FIG. 6 is a conceptual diagram illustrating a report indicating that an abnormality has occurred. 図7は、異常が発生したことを示すレポートを例示する概念図である。FIG. 7 is a conceptual diagram illustrating a report indicating that an abnormality has occurred.

以下、添付図面を参照して、実施形態にかかる電子機器及びプログラムの詳細を説明する。以下の説明では、電子機器としてレシートへの印字を行うレシートプリンタを有する電子式キャッシュレジスタやPOS端末を例示するが、用紙に印字する印字装置を有する電子機器であればいずれの電子機器であってもよい。   Hereinafter, with reference to the attached drawings, details of an electronic device and a program according to the embodiment will be described. In the following description, an electronic cash register or a POS terminal having a receipt printer for printing on a receipt is exemplified as an electronic device, but any electronic device having a printing device for printing on paper may be used. Also good.

図1は、実施形態にかかる電子機器1のハードウエア構成を示すブロック図である。図1に示すように、電子機器1は、レシートへの印字を行う印字装置としてのレシートプリンタ20を有する、電子式キャッシュレジスタやPOS端末である。電子機器1は、レシートプリンタ20の他、制御部10、モニタ11、客面表示器12、スピーカ13、バーコードスキャナ14、キーボード15、記憶部16、通信部17及びキャッシュドロワ18を備える。   FIG. 1 is a block diagram illustrating a hardware configuration of an electronic device 1 according to the embodiment. As shown in FIG. 1, the electronic device 1 is an electronic cash register or a POS terminal having a receipt printer 20 as a printing device that performs printing on a receipt. In addition to the receipt printer 20, the electronic device 1 includes a control unit 10, a monitor 11, a customer display 12, a speaker 13, a barcode scanner 14, a keyboard 15, a storage unit 16, a communication unit 17, and a cash drawer 18.

制御部10は、電子機器1の動作を統括制御する(詳細は後述する)。モニタ11は、表示面がユーザ(店員)に向けて設置されたLED(Light Emitting Diode)表示器や液晶表示ディスプレイなどであり、制御部10の制御のもとユーザへの表示を行う。客面表示器12は、表示面が顧客にむけて設置されたLED表示器や液晶表示ディスプレイなどであり、制御部10の制御のもと顧客への表示を行う。スピーカ13は、制御部10の制御のもとビープ音等の警告音を出力する。バーコードスキャナ14は、制御部10の制御のもと、商品等に付与されたバーコードを読み取る光学スキャナである。キーボード15は、数字キーや選択キーなどの各種キーを有し、ユーザの操作を受け付ける。記憶部16は、HDD(Hard Disk Drive)などのであり、OS等の基本プログラムの他、各種アプリケーションプログラム、設定情報等の各種データを記憶する。通信部17は、制御部10の制御のもと、ストアサーバ(図示しない)等の外部機器と所定の通信プロトコルに従った通信を行う。キャッシュドロワ18は、現金等を収容するためのドロワであって、制御部10の制御に従い開閉する。   The control unit 10 performs overall control of the operation of the electronic device 1 (details will be described later). The monitor 11 is an LED (Light Emitting Diode) display, a liquid crystal display, or the like whose display surface is installed toward the user (clerk), and performs display to the user under the control of the control unit 10. The customer display 12 is an LED display, a liquid crystal display, or the like whose display surface is installed for the customer, and performs display to the customer under the control of the control unit 10. The speaker 13 outputs a warning sound such as a beep sound under the control of the control unit 10. The barcode scanner 14 is an optical scanner that reads a barcode attached to a product or the like under the control of the control unit 10. The keyboard 15 has various keys such as numeric keys and selection keys, and accepts user operations. The storage unit 16 is an HDD (Hard Disk Drive) or the like, and stores various data such as various application programs and setting information in addition to a basic program such as an OS. The communication unit 17 performs communication according to a predetermined communication protocol with an external device such as a store server (not shown) under the control of the control unit 10. The cash drawer 18 is a drawer for storing cash and the like, and opens and closes under the control of the control unit 10.

図2は、制御部10のハードウエア構成を示すブロック図である。図2に示すように、制御部10は、CPU101(Central Processing Unit)、チップセット102、メモリ103、BIOS ROM104(BIOS Read Only Memory)、通信インタフェース105、センサ106を備える。   FIG. 2 is a block diagram illustrating a hardware configuration of the control unit 10. As shown in FIG. 2, the control unit 10 includes a CPU 101 (Central Processing Unit), a chip set 102, a memory 103, a BIOS ROM 104 (BIOS Read Only Memory), a communication interface 105, and a sensor 106.

CPU101は、BIOS ROM104に記憶されたBIOSプログラムP1や記憶部16に記憶されたプログラムをメモリ103の作業領域に展開し、作業領域に展開したプログラムを順次実行することで、電子機器1の動作を中央制御する。具体的には、電源が投入(ON)された際に、CPU101は、BIOS ROM104に記憶されたBIOSプログラムP1を読み出し、記憶部16に記憶された基本プログラムやアプリケーションプログラムの実行による通常動作に入る前の、ハードウエアの起動にかかる初期化処理を行う。次いで、CPU101は、記憶部16に記憶された基本プログラムやアプリケーションプログラムを順次実行することで、商品登録・精算等の通常動作にかかる制御を行う。   The CPU 101 expands the BIOS program P1 stored in the BIOS ROM 104 and the program stored in the storage unit 16 in the work area of the memory 103, and sequentially executes the program expanded in the work area, thereby performing the operation of the electronic device 1. Central control. Specifically, when the power is turned on (ON), the CPU 101 reads the BIOS program P1 stored in the BIOS ROM 104, and enters a normal operation by executing the basic program or application program stored in the storage unit 16. Performs initialization processing related to the previous hardware startup. Next, the CPU 101 sequentially executes the basic program and the application program stored in the storage unit 16 to perform control related to normal operations such as product registration / settlement.

チップセット102は、CPU101と、メモリ103及びBIOS ROM104との接続や、BIOS ROM104と、通信インタフェース105との接続をブリッジする集積回路である。メモリ103は、CPU101に作業領域を提供する揮発性メモリである。BIOS ROM104は、BIOSの設定データやBIOSプログラムP1を格納する。尚、BIOS ROM104としては不揮発性メモリが用いられ、例えば書換え可能であるFlashROM等が用いられる。BIOSプログラムP1は、通常動作に入る前の、ハードウエアの起動にかかる初期化処理を行い、CPU101と各種ハードウエアとの入出力を行うプログラムである。通信インタフェース105は、CPU101と、モニタ11、客面表示器12、スピーカ13、バーコードスキャナ14、キーボード15、記憶部16、通信部17、キャッシュドロワ18及びレシートプリンタ20との間の通信を接続するインターフェースである。センサ106は、制御部10が動作する際の温度状態や電源状態を監視するための温度センサや電圧センサ等である。   The chip set 102 is an integrated circuit that bridges the connection between the CPU 101, the memory 103 and the BIOS ROM 104, and the connection between the BIOS ROM 104 and the communication interface 105. The memory 103 is a volatile memory that provides a work area to the CPU 101. The BIOS ROM 104 stores BIOS setting data and a BIOS program P1. Note that a nonvolatile memory is used as the BIOS ROM 104, for example, a rewritable Flash ROM or the like. The BIOS program P1 is a program for performing an initialization process for starting up the hardware before entering a normal operation, and performing input / output between the CPU 101 and various hardware. The communication interface 105 connects communication between the CPU 101 and the monitor 11, customer display 12, speaker 13, barcode scanner 14, keyboard 15, storage unit 16, communication unit 17, cash drawer 18, and receipt printer 20. Interface. The sensor 106 is a temperature sensor, a voltage sensor, or the like for monitoring a temperature state or a power supply state when the control unit 10 operates.

図3は、レシートプリンタ20のハードウエア構成を示すブロック図である。図3に示すように、レシートプリンタ20は、コントローラ201、カッター機構202、印字ヘッド203、紙搬送機構204、ROM205、通信インタフェース206を備える。   FIG. 3 is a block diagram showing the hardware configuration of the receipt printer 20. As shown in FIG. 3, the receipt printer 20 includes a controller 201, a cutter mechanism 202, a print head 203, a paper transport mechanism 204, a ROM 205, and a communication interface 206.

コントローラ201は、マイクロコントローラ(MCU)等であり、ROM205に記憶されたプログラムを内部RAM(図示しない)に展開して順次実行することで、レシートプリンタ20の動作を制御する。カッター機構202は、コントローラ201の制御のもと、紙搬送機構204により搬送される用紙のカットを行う。印字ヘッド203は、サーマルヘッド、インクジェットヘッド等であり、コントローラ201の制御のもと紙搬送機構204により搬送される用紙への印字を行う。紙搬送機構204は、用紙ロールに巻き取られた用紙を所定の搬送経路に沿って搬送する。ROM205は、各種設定データの他、電源の投入によりコントローラ201が実行するプログラムP2、CPU101がBIOSプログラムP1を実行している際に生じた異常を示すレポートを印字するためのレポート情報P3を格納する。尚、ROM205としては不揮発性メモリが用いられ、例えば書換え可能であるFlashROM等が用いられる。通信インタフェース206は、コントローラ201と、制御部10との間の通信を接続するインターフェースである。   The controller 201 is a microcontroller (MCU) or the like, and controls the operation of the receipt printer 20 by developing a program stored in the ROM 205 in an internal RAM (not shown) and sequentially executing the program. The cutter mechanism 202 cuts the paper transported by the paper transport mechanism 204 under the control of the controller 201. The print head 203 is a thermal head, an inkjet head, or the like, and performs printing on a sheet conveyed by the sheet conveyance mechanism 204 under the control of the controller 201. The paper transport mechanism 204 transports the paper taken up by the paper roll along a predetermined transport path. In addition to various setting data, the ROM 205 stores a program P2 executed by the controller 201 when the power is turned on, and report information P3 for printing a report indicating an abnormality occurring when the CPU 101 is executing the BIOS program P1. . Note that a nonvolatile memory is used as the ROM 205, for example, a rewritable Flash ROM or the like. The communication interface 206 is an interface that connects communication between the controller 201 and the control unit 10.

次に、CPU101、コントローラ201により実現される機能構成について説明する。図4は、CPU101、コントローラ201における機能構成を示すブロック図である。図4に示すように、CPU101は、電源が投入された際に、前述したBIOSプログラムP1を順次実行することで、初期化部110、通知部111としての機能を有する。また、コントローラ201は、電源の投入によりプログラムP2を順次実行することで、異常検出部210、レポート出力部211としての機能を有する。   Next, a functional configuration realized by the CPU 101 and the controller 201 will be described. FIG. 4 is a block diagram illustrating a functional configuration in the CPU 101 and the controller 201. As shown in FIG. 4, the CPU 101 functions as an initialization unit 110 and a notification unit 111 by sequentially executing the BIOS program P1 described above when the power is turned on. Further, the controller 201 functions as an abnormality detection unit 210 and a report output unit 211 by sequentially executing the program P2 by turning on the power.

初期化部110は、電源の投入後において、記憶部16に記憶された基本プログラムやアプリケーションプログラムの実行による通常動作に入る前の、ハードウエアの起動にかかる複数の初期化処理を逐次行う。具体的には、初期化部110は、通信インタフェース105を介した通信の初期化を行う第1の初期化処理、モニタ11、客面表示器12への表示、スピーカ13による音声出力、バーコードスキャナ14、キーボード15からの入力等の入出力の初期化を行う第2の初期化処理、記憶部16におけるデータの読み書きや、通信部17を介した通信の初期化を行う第3の初期化処理を逐次実行する。   The initialization unit 110 sequentially performs a plurality of initialization processes for starting up the hardware after the power is turned on and before entering the normal operation by executing the basic program and application program stored in the storage unit 16. Specifically, the initialization unit 110 performs first initialization processing for initializing communication via the communication interface 105, display on the monitor 11, customer display 12, sound output by the speaker 13, barcode Second initialization processing for initializing input / output such as input from the scanner 14 and keyboard 15, third initialization for initializing communication reading / writing in the storage unit 16 and communication via the communication unit 17 Processes are executed sequentially.

通知部111は、初期化部110が第1の初期化処理、第2の初期化処理、第3の初期化処理を逐次実行する際に、その初期化処理の進行に応じた通知を通信インタフェース105を介してレシートプリンタ20に通知する。具体的には、通知部111は、初期化部110が第1の初期化処理を実行して通信インタフェース105を介した通信の初期化が行われた後の、第2の初期化処理を行う前に、第1の初期化処理が正常に行われたことを示す最初の通知を行う。レシートプリンタ20では、最初の通知を受けることで、第1の初期化処理が終了し、第2の初期化処理の前であることを確認できる。次いで、通知部111は、初期化部110が第2の初期化処理を実行した後の、第3の初期化処理を行う前に、第2の初期化処理が正常に行われたことを示す通知を行う。この通知を受けることで、レシートプリンタ20では、第2の初期化処理が終了し、第3の初期化処理の前であることを確認できる。次いで、通知部111は、通知部111が第3の初期化処理を実行したところで第3の初期化処理が正常に行われたことを示す通知を行う。この通知を受けることで、レシートプリンタ20では、第3の初期化処理が終了したことを確認できる。   When the initialization unit 110 sequentially executes the first initialization process, the second initialization process, and the third initialization process, the notification unit 111 sends a notification according to the progress of the initialization process to the communication interface. The receipt printer 20 is notified via 105. Specifically, the notification unit 111 performs the second initialization process after the initialization unit 110 executes the first initialization process and the communication via the communication interface 105 is initialized. Before, the first notification indicating that the first initialization process has been performed normally is performed. Upon receipt of the first notification, the receipt printer 20 can confirm that the first initialization process is completed and is before the second initialization process. Next, the notification unit 111 indicates that the second initialization process has been normally performed before the third initialization process is performed after the initialization unit 110 has performed the second initialization process. Make a notification. By receiving this notification, the receipt printer 20 can confirm that the second initialization process has ended and is before the third initialization process. Next, the notification unit 111 performs notification indicating that the third initialization process has been normally performed when the notification unit 111 has executed the third initialization process. By receiving this notification, the receipt printer 20 can confirm that the third initialization process has been completed.

異常検出部210は、通知部111による通知をもとに、上述した第1〜第3の初期化処理の中でいずれかの初期化処理で生じた異常を検知する。初期化部110による第1〜第3の初期化処理の中で異常が発生した場合は、途中で処理が停止してしまうことから、通知部111による通知が行われないこととなる。したがって、異常検出部210は、初期化部110により第1〜第3の初期化処理が行われる中で、どの段階まで通知を受けているかを判定することで、第1〜第3の初期化処理の中のいずれの初期化処理で異常が発生しているかを検知する。   The abnormality detection unit 210 detects an abnormality that has occurred in any of the first to third initialization processes described above based on the notification from the notification unit 111. If an abnormality occurs during the first to third initialization processes performed by the initialization unit 110, the process stops midway, and the notification by the notification unit 111 is not performed. Therefore, the abnormality detection unit 210 determines the level of notification received during the first to third initialization processes performed by the initialization unit 110, whereby the first to third initializations are performed. It is detected in which initialization process in the process an abnormality has occurred.

また、初期化部110による第1〜第3の初期化処理の中で異常が発生した場合、ウオッチドックタイマにより一定時間経過後に処理が先に進むことがある。したがって、異常検出部210は、第1〜第3の初期化処理にかかる通知の中で、所定の時間内に行われない通知がある場合、その通知に対応する初期化処理で異常が発生したことを検知する。   If an abnormality occurs during the first to third initialization processes by the initialization unit 110, the process may proceed after a certain period of time has elapsed due to the watchdog timer. Therefore, when there is a notification that is not performed within a predetermined time in the notifications related to the first to third initialization processes, the abnormality detection unit 210 has an abnormality in the initialization process corresponding to the notification. Detect that.

レポート出力部211は、レポート情報P3を参照し、異常検出部210により検知された異常を示すレポートを用紙に印字させて出力する。具体的には、レポート情報P3には、第1〜第3の初期化処理の各々において、異常が発生した場合に印字するレポート(問い合わせ先、機種名、製造番号、異常を示すエラーコード、対処方法等)が予め記録されている。レポート出力部211は、第1〜3の初期化処理の中で異常が検知された初期化処理に対応するレポートをレポート情報P3より読み出し、その読み出したレポートを用紙に印字させる。これにより、ユーザは、第1〜第3の初期化処理の中のいずれの初期化処理で異常が発生しているかを、出力された用紙から詳細に確認できる。また、ビープ音による異常の報知と異なり、異常を示すレポートを用紙に印字して出力することから、ウオッチドックタイマにより処理が進んでしまう場合であっても、異常の発生を的確にユーザに通知できる。   The report output unit 211 refers to the report information P3, prints a report indicating the abnormality detected by the abnormality detection unit 210, and outputs the report. Specifically, the report information P3 includes a report printed when an abnormality occurs in each of the first to third initialization processes (inquiry destination, model name, manufacturing number, error code indicating abnormality, countermeasure) Method etc.) is recorded in advance. The report output unit 211 reads a report corresponding to the initialization process in which an abnormality is detected in the first to third initialization processes from the report information P3, and prints the read report on paper. Thereby, the user can confirm in detail from the output paper which one of the first to third initialization processes is abnormal. Also, unlike anomaly notification by beep sound, a report indicating the anomaly is printed on paper and output, so even if the process is advanced by the watchdog timer, the occurrence of the anomaly is accurately notified to the user. it can.

次に、電子機器1の動作の詳細を説明する。図5は、実施形態にかかる電子機器1の動作を示すフローチャートである。   Next, details of the operation of the electronic apparatus 1 will be described. FIG. 5 is a flowchart illustrating the operation of the electronic apparatus 1 according to the embodiment.

先ず、CPU101による動作の詳細を説明する。図5に示すように、電源スイッチ(図示しない)の操作などによって電源が投入(ON)されると(S1)、CPU101は、初期化部110により第1の初期化処理を行う(S2)。次いで、第1の初期化処理が行われた後、CPU101は、第1の初期化処理が終了したことを示す第1の通知を通知部111によりレシートプリンタ20に対して行い(S3)、初期化部110により第2の初期化処理を行う(S4)。   First, details of the operation of the CPU 101 will be described. As shown in FIG. 5, when the power is turned on (ON) by operating a power switch (not shown) or the like (S1), the CPU 101 performs a first initialization process by the initialization unit 110 (S2). Next, after the first initialization process is performed, the CPU 101 makes a first notification indicating that the first initialization process is completed to the receipt printer 20 by the notification unit 111 (S3). The initialization unit 110 performs a second initialization process (S4).

次いで、第2の初期化処理が行われた後、CPU101は、第2の初期化処理が終了したことを示す第2の通知を通知部111によりレシートプリンタ20に対して行い(S5)、初期化部110により第3の初期化処理を行う(S6)。次いで、第3の初期化処理が行われた後、CPU101は、第3の初期化処理が終了したことを示す第3の通知を通知部111によりレシートプリンタ20に対して行い(S7)、OSにかかるプログラムを記憶部16より読み出して、OSを起動する(S8)。   Next, after the second initialization process is performed, the CPU 101 makes a second notification indicating that the second initialization process is completed to the receipt printer 20 by the notification unit 111 (S5). The initialization unit 110 performs a third initialization process (S6). Next, after the third initialization process is performed, the CPU 101 performs a third notification indicating that the third initialization process is completed to the receipt printer 20 by the notification unit 111 (S7), and the OS The program according to the above is read from the storage unit 16 and the OS is started (S8).

次に、コントローラ201による動作の詳細を説明する。図5に示すように、電源スイッチ(図示しない)の操作などによって電源が投入(ON)されると(S10)、コントローラ201は、ROM205よりプログラムP2を読み出してカッター機構202、印字ヘッド203、紙搬送機構204、ROM205等の初期化処理を行い(S11)、CPU101からの通知を待機する(S12)。この通知の待機を開始したところで、コントローラ201は、RTC(Real Time Clock)機能によるタイマーを起動して待機中の時間をカウントする。   Next, details of the operation of the controller 201 will be described. As shown in FIG. 5, when the power is turned on (ON) by an operation of a power switch (not shown) or the like (S10), the controller 201 reads the program P2 from the ROM 205 to read the cutter mechanism 202, the print head 203, and the paper. Initialization processing of the transport mechanism 204, the ROM 205, etc. is performed (S11), and a notification from the CPU 101 is awaited (S12). When the standby of this notification is started, the controller 201 starts a timer using an RTC (Real Time Clock) function and counts the waiting time.

次いで、コントローラ201の異常検出部210は、カウントされた所定の時間内に第1〜第3の通知があるか否かを判定し(S13〜15)、第1〜第3の初期化処理の中でいずれの初期化処理で異常が発生しているかを検知する。第1〜第3の通知がある場合(S13〜S15:YES)、いずれの初期化処理でも異常が発生していないことから、コントローラ201は、制御部10からの印字指令に従った印字を行う通常動作に移行する(S16)。   Next, the abnormality detection unit 210 of the controller 201 determines whether or not there are first to third notifications within the counted predetermined time (S13 to 15), and performs the first to third initialization processes. In which initialization process an abnormality is detected. When there is the first to third notifications (S13 to S15: YES), since no abnormality has occurred in any of the initialization processes, the controller 201 performs printing in accordance with a printing command from the control unit 10. Transition to normal operation (S16).

第1の通知がない場合(S13:NO)、コントローラ201のレポート出力部211は、レポート情報P3を参照して第1の初期化処理で異常が発生していることを示すレポートを用紙に印字する(S17)。また、第2の通知がない場合(S14:NO)、コントローラ201のレポート出力部211は、レポート情報P3を参照して第2の初期化処理で異常が発生していることを示すレポートを用紙に印字する(S18)。また、第3の通知がない場合(S15:NO)、コントローラ201のレポート出力部211は、レポート情報P3を参照して第3の初期化処理で異常が発生していることを示すレポートを用紙に印字する(S19)。   When there is no first notification (S13: NO), the report output unit 211 of the controller 201 refers to the report information P3 and prints a report indicating that an abnormality has occurred in the first initialization process on a sheet. (S17). If there is no second notification (S14: NO), the report output unit 211 of the controller 201 refers to the report information P3 and prints a report indicating that an abnormality has occurred in the second initialization process. (S18). When there is no third notification (S15: NO), the report output unit 211 of the controller 201 refers to the report information P3 and prints a report indicating that an abnormality has occurred in the third initialization process. (S19).

図6、7は、異常が発生したことを示すレポートを例示する概念図である。図6に示すように、S17〜S19では、第1〜第3の初期化処理で異常が発生していることや、問い合わせ先、機種名、製造番号、異常を示すエラーコード、対処方法等が記載されたレポートをレシート用紙R1に印字して、ユーザへの通知を行う。   6 and 7 are conceptual diagrams illustrating reports indicating that an abnormality has occurred. As shown in FIG. 6, in S17 to S19, there is an abnormality in the first to third initialization processes, an inquiry destination, a model name, a manufacturing number, an error code indicating an abnormality, a countermeasure method, and the like. The described report is printed on the receipt paper R1 to notify the user.

なお、レポート情報P3には、第1〜第3の初期化処理の各々において、異常が発生した場合に印字する内容をQRコード(登録商標)等のコード情報に記載した画像データを記録してもよい。図7に示すように、S17〜S19では、記録された画像データをもとに、異常が発生した場合に印字するレポートの内容を含むコード情報BCをレシート用紙R2に印字して、ユーザへの通知を行ってよい。ユーザは、レシート用紙R2に印字されたコード情報BCをスキャナ等の読取装置で読み取らせることで、異常の確認を行うことができる。なお、図7では、レポートとコード情報BCとを合わせて印字する場合を例示したが、いずれか一方を印字して異常を通知してもよい。特に、コード情報BCで異常を通知する場合には、文字で異常を通知する場合と比較して印字領域を狭くすることができることから、用紙を節約することができる。   In the report information P3, image data in which the contents to be printed when an abnormality occurs in each of the first to third initialization processes is recorded in code information such as a QR code (registered trademark) is recorded. Also good. As shown in FIG. 7, in S17 to S19, based on the recorded image data, code information BC including the contents of a report to be printed when an abnormality occurs is printed on the receipt paper R2, and is sent to the user. Notification may be made. The user can check the abnormality by causing the reading device such as a scanner to read the code information BC printed on the receipt paper R2. Although FIG. 7 illustrates the case where the report and the code information BC are printed together, an abnormality may be notified by printing one of them. In particular, when the abnormality is notified by the code information BC, the printing area can be narrowed compared to the case where the abnormality is notified by characters, so that paper can be saved.

なお、本実施形態のCPU101、コントローラ201で実行されるプログラムは、ROM等に予め組み込まれて提供される。本実施形態のCPU101、コントローラ201で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   Note that the programs executed by the CPU 101 and the controller 201 of this embodiment are provided by being incorporated in advance in a ROM or the like. A program executed by the CPU 101 and the controller 201 of the present embodiment is a file in an installable or executable format, such as a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk), or the like. The information may be provided by being recorded on a recording medium that can be read by the user.

さらに、本実施形態のCPU101、コントローラ201で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のCPU101、コントローラ201で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the program executed by the CPU 101 and the controller 201 of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, the program executed by the CPU 101 and the controller 201 of the present embodiment may be provided or distributed via a network such as the Internet.

本実施形態のCPU101、コントローラ201で実行されるプログラムは、上述した各部(初期化部110、通知部111、異常検出部210、レポート出力部211)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROMからプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、主記憶装置上に生成されるようになっている。   The program executed by the CPU 101 and the controller 201 according to the present embodiment has a module configuration including the above-described units (initialization unit 110, notification unit 111, abnormality detection unit 210, and report output unit 211). As hardware, a CPU (processor) reads out a program from the ROM and executes it, so that the above-described units are loaded onto the main storage device and are generated on the main storage device.

1…電子機器、10…制御部、11…モニタ、12…客面表示器、13…スピーカ、14…バーコードスキャナ、15…キーボード、16…記憶部、17…通信部、18…キャッシュドロワ、20…レシートプリンタ、101…CPU、102…チップセット、103…メモリ、104…BIOS ROM、105…通信インタフェース、106…センサ、110…初期化部、111…通知部、201…コントローラ、202…カッター機構、203…印字ヘッド、204…紙搬送機構、205…ROM、206…通信インタフェース、210…異常検出部、211…レポート出力部、BC…コード情報、P1…BIOSプログラム、P2…プログラム、P3…レポート情報、R1、R2…レシート用紙   DESCRIPTION OF SYMBOLS 1 ... Electronic device, 10 ... Control part, 11 ... Monitor, 12 ... Customer display, 13 ... Speaker, 14 ... Barcode scanner, 15 ... Keyboard, 16 ... Memory | storage part, 17 ... Communication part, 18 ... Cash drawer, DESCRIPTION OF SYMBOLS 20 ... Receipt printer, 101 ... CPU, 102 ... Chip set, 103 ... Memory, 104 ... BIOS ROM, 105 ... Communication interface, 106 ... Sensor, 110 ... Initialization part, 111 ... Notification part, 201 ... Controller, 202 ... Cutter Mechanism, 203 ... Print head, 204 ... Paper transport mechanism, 205 ... ROM, 206 ... Communication interface, 210 ... Abnormality detection unit, 211 ... Report output unit, BC ... Code information, P1 ... BIOS program, P2 ... Program, P3 ... Report information, R1, R2 ... Receipt paper

特開平6−85942号公報Japanese Patent Laid-Open No. 6-85942

Claims (6)

用紙に印字する印字装置を有する電子機器であって、
通常動作に入る前の、ハードウエアの起動にかかる複数の初期化処理を逐次行う起動手段と、
前記複数の初期化処理の進行に応じた通知を前記印字装置へ行う通知手段と、を備え、
前記印字装置は、
前記通知をもとに所定の初期化処理で生じた異常を検知する異常検知手段と、
前記検知された異常を前記用紙に印字させる出力手段と、
を備える電子機器。
An electronic device having a printing device for printing on paper,
Start means for sequentially performing a plurality of initialization processes for starting the hardware before entering normal operation;
Notification means for performing notification according to the progress of the plurality of initialization processes to the printing apparatus,
The printer is
An anomaly detection means for detecting an anomaly that has occurred in a predetermined initialization process based on the notification;
Output means for printing the detected abnormality on the paper;
Electronic equipment comprising.
前記通知手段は、前記初期化処理ごとに、当該初期化処理が正常に行われたことを示す通知を行い、
前記異常検知手段は、所定の時間内に正常に行われたことを示す通知が行われない初期化処理に異常が生じていることを検知する、
請求項1に記載の電子装置。
The notification means performs notification indicating that the initialization process has been normally performed for each of the initialization processes,
The abnormality detection means detects that an abnormality has occurred in the initialization process in which notification indicating that the operation has been normally performed within a predetermined time is not performed.
The electronic device according to claim 1.
前記出力手段は、前記検知された異常を示すコード情報を前記用紙に印字させる、
請求項1又は2に記載の電子装置。
The output means prints code information indicating the detected abnormality on the paper;
The electronic device according to claim 1.
用紙に印字する印字装置を有する電子機器のコンピュータを、
通常動作に入る前の、ハードウエアの起動にかかる複数の初期化処理を逐次行う起動手段と、
前記複数の初期化処理の進行を前記印字装置へ通知する通知手段と、
して機能させるためのプログラム。
An electronic computer having a printing device for printing on paper;
Start means for sequentially performing a plurality of initialization processes for starting the hardware before entering normal operation;
Notification means for notifying the printing apparatus of the progress of the plurality of initialization processes;
Program to make it function.
用紙に印字する印字装置のコンピュータを、
前記印字装置と接続する電子機器が通常動作に入る前の、ハードウエアの起動にかかる複数の初期化処理を逐次行う際に、当該複数の初期化処理の進行に応じて行う通知をもとに、所定の初期化処理で生じた異常を検知する異常検知手段と、
前記検知された異常を前記用紙に印字させる出力手段と、
して機能させるためのプログラム。
A printer computer that prints on paper,
When performing a plurality of initialization processes for starting up hardware sequentially before the electronic device connected to the printing apparatus enters a normal operation, based on a notification performed in accordance with the progress of the plurality of initialization processes An anomaly detecting means for detecting an anomaly caused by a predetermined initialization process;
Output means for printing the detected abnormality on the paper;
Program to make it function.
前記出力手段は、前記検知された異常を示すコード情報を前記用紙に印字させる、
請求項5に記載のプログラム。
The output means prints code information indicating the detected abnormality on the paper;
The program according to claim 5.
JP2011189619A 2011-08-31 2011-08-31 Electronic device, and program Pending JP2013049242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011189619A JP2013049242A (en) 2011-08-31 2011-08-31 Electronic device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011189619A JP2013049242A (en) 2011-08-31 2011-08-31 Electronic device, and program

Publications (1)

Publication Number Publication Date
JP2013049242A true JP2013049242A (en) 2013-03-14

Family

ID=48011721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011189619A Pending JP2013049242A (en) 2011-08-31 2011-08-31 Electronic device, and program

Country Status (1)

Country Link
JP (1) JP2013049242A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0685942A (en) * 1992-09-03 1994-03-25 Fujitsu Ltd Automatic fault notice system
JPH086811A (en) * 1994-06-17 1996-01-12 Hitachi Ltd Self-diagnostic result output control system
JPH10228365A (en) * 1997-02-14 1998-08-25 Canon Inc Printer, print system, and printing method
JPH11259332A (en) * 1998-03-11 1999-09-24 Mitsubishi Electric Corp Computer system device
JP2001282495A (en) * 2000-04-03 2001-10-12 Seiko Epson Corp Electronic equipment and printing control device
JP2003186650A (en) * 2001-12-18 2003-07-04 Ricoh Co Ltd Printing device
JP2006093854A (en) * 2004-09-21 2006-04-06 Fuji Xerox Co Ltd Image-forming device and management system thereof
JP2007241609A (en) * 2006-03-08 2007-09-20 Sharp Corp Printing controller
JP2008211662A (en) * 2007-02-27 2008-09-11 Seiko Epson Corp Apparatus and method for providing information to cope with image forming apparatus error
JP2009206739A (en) * 2008-02-27 2009-09-10 Brother Ind Ltd Communicating system and image forming apparatus
JP2010231381A (en) * 2009-03-26 2010-10-14 Toshiba Tec Corp Electronic apparatus

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0685942A (en) * 1992-09-03 1994-03-25 Fujitsu Ltd Automatic fault notice system
JPH086811A (en) * 1994-06-17 1996-01-12 Hitachi Ltd Self-diagnostic result output control system
JPH10228365A (en) * 1997-02-14 1998-08-25 Canon Inc Printer, print system, and printing method
JPH11259332A (en) * 1998-03-11 1999-09-24 Mitsubishi Electric Corp Computer system device
JP2001282495A (en) * 2000-04-03 2001-10-12 Seiko Epson Corp Electronic equipment and printing control device
JP2003186650A (en) * 2001-12-18 2003-07-04 Ricoh Co Ltd Printing device
JP2006093854A (en) * 2004-09-21 2006-04-06 Fuji Xerox Co Ltd Image-forming device and management system thereof
JP2007241609A (en) * 2006-03-08 2007-09-20 Sharp Corp Printing controller
JP2008211662A (en) * 2007-02-27 2008-09-11 Seiko Epson Corp Apparatus and method for providing information to cope with image forming apparatus error
JP2009206739A (en) * 2008-02-27 2009-09-10 Brother Ind Ltd Communicating system and image forming apparatus
JP2010231381A (en) * 2009-03-26 2010-10-14 Toshiba Tec Corp Electronic apparatus

Similar Documents

Publication Publication Date Title
JP4438048B2 (en) Peripheral device, firmware update method for the peripheral device, and program
JP2017216654A (en) Apparatus management system, control device, printer, server, and control method for apparatus management system
US20080282113A1 (en) Failure information management method and apparatus, failure detection method and apparatus, electronic apparatus, information processing apparatus and computer-readable storage medium
JP5728946B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
JP2019159729A (en) Failure prediction system
JP2015024505A (en) Printer and mark detection method
JP2013151126A (en) Printing apparatus, and method for controlling the same
JP2013049242A (en) Electronic device, and program
JP2005115975A (en) Information processor
JP2009234039A (en) Image forming apparatus
JP5064463B2 (en) Information processing terminal and startup program
JP2012238166A (en) Information processing device and program
JP4587686B2 (en) Label issuing device
JP2011039963A (en) Electronic equipment, commodity sales data registration device, and control program of electronic equipment
JP5379764B2 (en) Product sales data processing apparatus and program
JP2012011636A (en) Image forming apparatus and program
JP5609044B2 (en) Electronic device, management device, management system, and program
JP2010162815A (en) Printer
JP2008140072A (en) Electronic device
JP2018049562A (en) Settlement device and program
JP2005031903A (en) Information processor
US11376871B2 (en) Printing apparatus, notification control method and storage medium
JP2011192107A (en) Control device, recording system, control method of the control device and program
JP2011186758A (en) Information processing apparatus having printer, method of the same, and error release notification program
JP2011189545A (en) Image forming apparatus and image forming system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130611

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130612

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130722

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140422