JP6260099B2 - Printing apparatus, printing apparatus control method, and program - Google Patents

Printing apparatus, printing apparatus control method, and program Download PDF

Info

Publication number
JP6260099B2
JP6260099B2 JP2013070922A JP2013070922A JP6260099B2 JP 6260099 B2 JP6260099 B2 JP 6260099B2 JP 2013070922 A JP2013070922 A JP 2013070922A JP 2013070922 A JP2013070922 A JP 2013070922A JP 6260099 B2 JP6260099 B2 JP 6260099B2
Authority
JP
Japan
Prior art keywords
circuit board
printed circuit
printing
error
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013070922A
Other languages
Japanese (ja)
Other versions
JP2014193565A5 (en
JP2014193565A (en
Inventor
俊一 若狭
俊一 若狭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2013070922A priority Critical patent/JP6260099B2/en
Priority to CN201420144422.1U priority patent/CN204037080U/en
Publication of JP2014193565A publication Critical patent/JP2014193565A/en
Publication of JP2014193565A5 publication Critical patent/JP2014193565A5/ja
Application granted granted Critical
Publication of JP6260099B2 publication Critical patent/JP6260099B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷機能を有する印刷装置、当該印刷装置の制御方法、及び、当該印刷装置を制御するためのプログラムに関する。   The present invention relates to a printing apparatus having a printing function, a method for controlling the printing apparatus, and a program for controlling the printing apparatus.

従来、ホストコンピューターの制御の下、記録媒体に画像を印刷するプリンターが知られている(例えば、特許文献1参照)。そして、近年、ホストコンピューターに係る制御回路基板と、プリンターに係る印刷回路基板とが1つの筐体に収納され、ホストコンピューターの機能、及び、プリンターの機能の双方が実装された印刷装置が流通している。   Conventionally, a printer that prints an image on a recording medium under the control of a host computer is known (see, for example, Patent Document 1). In recent years, a control circuit board related to a host computer and a printed circuit board related to a printer are housed in one casing, and a printing apparatus in which both the function of the host computer and the function of the printer are mounted has been distributed. ing.

特開2008−269324号公報JP 2008-269324 A

ここで、上述した印刷装置のように、制御回路基板と、印刷回路基板とを1つの筐体に収納する装置では、印刷回路基板のみをリセットしたい場合が生じ得る。例えば、印刷機構に関するエラーの中には、エラーの発生後、エラーの解消に係る作業を行なって、印刷回路基板のリセットを行なえば、解消するものもある。このようなエラーが発生した場合は、印刷回路基板のみをリセットすることが求められる。特に、例えば、印刷回路基板のみをリセットするための専用の機構を設ける等することなく、できるだけ製造コストを抑制しつつ、上記に求めに応えたいとするニーズがある。
本発明は、上述した事情に鑑みてなされたものであり、制御回路基板と、印刷回路基板とを1つの筐体に収納する印刷装置において、製造コストを抑制しつつ、印刷回路基板のリセットを可能とすることを目的とする。
Here, in a device in which the control circuit board and the printed circuit board are housed in one housing, like the above-described printing apparatus, there may be a case where it is desired to reset only the printed circuit board. For example, some errors related to the printing mechanism may be eliminated by performing work related to the elimination of the error after the occurrence of the error and resetting the printed circuit board. When such an error occurs, it is required to reset only the printed circuit board. In particular, for example, there is a need to meet the above demands while suppressing manufacturing costs as much as possible without providing a dedicated mechanism for resetting only the printed circuit board.
The present invention has been made in view of the above-described circumstances. In a printing apparatus that houses a control circuit board and a printed circuit board in a single housing, the printed circuit board can be reset while suppressing manufacturing costs. The purpose is to make it possible.

上記目的を達成するために、本発明は、印刷機構を制御する印刷回路基板と、電源をオン/オフするための電源スイッチが接続された制御回路基板と、前記制御回路基板と前記印刷回路基板とを収納する筐体と、前記筐体に対する操作に基づいて、前記印刷回路基板をリセットする制御部と、を備えることを特徴とする。
この構成によれば、電源スイッチのオフ、オンが行なわれると、制御回路基板、及び、印刷回路基板の双方がリセットされることとなる一方、所定の操作を行なうことにより、印刷回路基板のみをリセットさせることができる。このため、回路基板ごとに電源スイッチを個別に設けたり、その他の特別な機構を設けたりすることなく、すなわち、製造コストを抑制しつつ、印刷回路基板のリセットが可能となる。
To achieve the above object, the present invention provides a printed circuit board for controlling a printing mechanism, a control circuit board to which a power switch for turning on / off the power is connected, the control circuit board, and the printed circuit board. And a control unit that resets the printed circuit board based on an operation on the casing.
According to this configuration, when the power switch is turned off and on, both the control circuit board and the printed circuit board are reset. On the other hand, by performing a predetermined operation, only the printed circuit board is It can be reset. For this reason, it is possible to reset the printed circuit board without separately providing a power switch for each circuit board or providing any other special mechanism, that is, while suppressing the manufacturing cost.

また、本発明は、前記筐体に対する操作に応じて検出値を前記制御部に出力するセンサーが設けられ、前記制御部は、前記センサーから入力された検出値に基づいて、前記印刷回路基板をリセットすることを特徴とする。
この構成によれば、印刷回路基板のリセットとのトリガーとなる操作が行なわれたことを適切に検出できる。
Further, the present invention is provided with a sensor that outputs a detection value to the control unit according to an operation on the casing, and the control unit is configured to detect the printed circuit board based on the detection value input from the sensor. It is characterized by resetting.
According to this configuration, it is possible to appropriately detect that an operation serving as a trigger for resetting the printed circuit board has been performed.

また、本発明は、前記制御部は、印刷に関する所定のエラーが発生している場合であって、前記センサーから所定の検出値が入力された場合に、前記印刷回路基板をリセットすることを特徴とする。
ここで、印刷に関する所定のエラーが発生している場合に、印刷回路基板のリセットの実行が求められる場合があるが、上記構成によれば、このような場合に、印刷回路基板をリセットすることが可能となる。
In the invention, it is preferable that the control unit resets the printed circuit board when a predetermined error related to printing has occurred and a predetermined detection value is input from the sensor. And
Here, when a predetermined error relating to printing has occurred, there is a case where execution of reset of the printed circuit board is required. According to the above configuration, the printed circuit board is reset in such a case. Is possible.

また、本発明は、前記センサーは、カバーの開閉を検出するカバーセンサーであることを特徴とする。
この構成によれば、カバーを利用した簡易な操作で、印刷回路基板をリセットすることができる。
In the invention, it is preferable that the sensor is a cover sensor that detects opening and closing of the cover.
According to this configuration, the printed circuit board can be reset by a simple operation using the cover.

また、上記目的を達成するために、本発明は、印刷機構を制御する印刷回路基板と、電源をオン/オフするための電源スイッチが接続された制御回路基板と、前記制御回路基板と前記印刷回路基板とを収納する筐体と、を備える印刷装置の制御方法であって、前記筐体に対する操作に基づいて、前記印刷回路基板をリセットすることを特徴とする。
この制御方法によれば、電源スイッチのオフ、オンが行なわれると、制御回路基板、及び、印刷回路基板の双方がリセットされることとなる一方、所定の操作を行なうことにより、印刷回路基板のみをリセットさせることができる。このため、回路基板ごとに電源スイッチを個別に設けたり、その他の特別な機構を設けたりすることなく、すなわち、製造コストを抑制しつつ、印刷回路基板のリセットが可能となる。
In order to achieve the above object, the present invention provides a printed circuit board for controlling a printing mechanism, a control circuit board to which a power switch for turning on / off power is connected, the control circuit board, and the printing A control method for a printing apparatus, comprising: a housing that houses a circuit board, wherein the printed circuit board is reset based on an operation on the housing.
According to this control method, when the power switch is turned off and on, both the control circuit board and the printed circuit board are reset, while only a printed circuit board is obtained by performing a predetermined operation. Can be reset. For this reason, it is possible to reset the printed circuit board without separately providing a power switch for each circuit board or providing any other special mechanism, that is, while suppressing the manufacturing cost.

また、上記目的を達成するために、本発明は、印刷機構を制御する印刷回路基板と、電源をオン/オフするための電源スイッチが接続された制御回路基板と、前記制御回路基板と前記印刷回路基板とを収納する筐体と、を備える印刷装置を制御する制御部により実行されるプログラムであって、前記制御部に、前記筐体に対する操作に基づいて、前記印刷回路基板をリセットさせることを特徴とする。
このプログラムを実行することにより、電源スイッチのオフ、オンが行なわれると、制御回路基板、及び、印刷回路基板の双方がリセットされることとなる一方、所定の操作を行なうことにより、印刷回路基板のみをリセットさせることができる。このため、回路基板ごとに電源スイッチを個別に設けたり、その他の特別な機構を設けたりすることなく、すなわち、製造コストを抑制しつつ、印刷回路基板のリセットが可能となる。
In order to achieve the above object, the present invention provides a printed circuit board for controlling a printing mechanism, a control circuit board to which a power switch for turning on / off power is connected, the control circuit board, and the printing A program that is executed by a control unit that controls a printing apparatus that includes a housing that houses a circuit board, and causes the control unit to reset the printed circuit board based on an operation on the housing. It is characterized by.
By executing this program, when the power switch is turned off and on, both the control circuit board and the printed circuit board are reset. On the other hand, by performing a predetermined operation, the printed circuit board is reset. Can only be reset. For this reason, it is possible to reset the printed circuit board without separately providing a power switch for each circuit board or providing any other special mechanism, that is, while suppressing the manufacturing cost.

本発明によれば、制御回路基板と、印刷回路基板とを1つの筐体に収納する印刷装置において、製造コストを抑制しつつ、印刷回路基板をリセットすることが可能となる。   According to the present invention, in a printing apparatus in which a control circuit board and a printed circuit board are housed in one housing, it is possible to reset the printed circuit board while suppressing manufacturing costs.

本実施形態に係るPOS端末の外観斜視図である。It is an external appearance perspective view of the POS terminal concerning this embodiment. POS端末の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of a POS terminal. POS端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a POS terminal.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係るPOS端末1(印刷装置)の外観斜視図である。
このPOS端末1は、スーパーマーケットや、デパートコンビニエンス等に適用されたいわゆるPOSシステムの一部を構築する端末である。POS端末1は、例えば、スーパーマーケットのレジに設置される。POS端末1は、少なくとも、(1)接続されたバーコードリーダー(不図示)や、カードリーダーからの入力、また、レジの担当者の入力を受け付ける機能、(2)受け付けた入力に基づいて会計に係る各種処理を実行する機能、及び、(3)会計に係る各種処理に基づいてレシートを発行する機能、を有している。
POS端末1は、後に詳述するように、レシートを発行するレシートプリンターと、このプリンターを制御するホストコンピューターとが一体となって構成された端末である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an external perspective view of a POS terminal 1 (printing apparatus) according to the present embodiment.
The POS terminal 1 is a terminal that constructs a part of a so-called POS system applied to a supermarket, a department store convenience, or the like. The POS terminal 1 is installed at a supermarket cash register, for example. The POS terminal 1 has at least (1) a function of receiving an input from a connected barcode reader (not shown) or a card reader, and an input of a cashier person in charge, and (2) accounting based on the received input. And (3) a function of issuing a receipt based on various processes related to accounting.
As will be described in detail later, the POS terminal 1 is a terminal in which a receipt printer that issues a receipt and a host computer that controls the printer are integrated.

POS端末1は、筐体10と、この筐体10の上方に設けられたタッチパネル11と、を有している。
筐体10には、制御回路基板25や、印刷回路基板26、印刷機構41(いずれも後述)が収納されると共に、ロール状のロール紙Rが収納されるロール紙収納部が内部に形成されている。筐体10の前面12の上部には、ロール紙Rを排出するための排出口13が設けられている。この排出口13の右下には、POS端末1の電源をオン/オフするための電源スイッチ14が設けられ、この電源スイッチ14の下方には、ロール紙Rをオートフィードするためのフィードスイッチ15が設けられている。これらスイッチの左方には、POS端末1の状態や、動作モード、エラーの発生の有無等を報知するためのLED16が設けられている。
筐体10の上面17から背面にかけてカバー18が設けられている。カバー18を開状態とすると、上述したロール紙収納部が露出し、ロール紙Rの出し入れが可能となる。
タッチパネル11は、表示パネル20と、表示パネル20に重ねて配置されたタッチセンサー21とを備えている。
このタッチパネル11には、レジの担当者が各種入力を行なうためのユーザーインターフェースが表示され、ユーザーは表示内容を参照しつつ、タッチ操作を行なって各種入力を行なう。
The POS terminal 1 includes a housing 10 and a touch panel 11 provided above the housing 10.
The housing 10 accommodates a control circuit board 25, a printed circuit board 26, and a printing mechanism 41 (all of which will be described later), and a roll paper storage unit in which a roll-shaped roll paper R is stored. ing. A discharge port 13 for discharging the roll paper R is provided in the upper portion of the front surface 12 of the housing 10. A power switch 14 for turning on / off the power of the POS terminal 1 is provided at the lower right of the discharge port 13. A feed switch 15 for automatically feeding the roll paper R is provided below the power switch 14. Is provided. On the left side of these switches, an LED 16 is provided to notify the state of the POS terminal 1, the operation mode, the presence / absence of an error, and the like.
A cover 18 is provided from the upper surface 17 to the rear surface of the housing 10. When the cover 18 is opened, the above-described roll paper storage unit is exposed, and the roll paper R can be taken in and out.
The touch panel 11 includes a display panel 20 and a touch sensor 21 disposed on the display panel 20.
The touch panel 11 displays a user interface for a cashier person to make various inputs. The user performs various inputs by performing a touch operation while referring to the display contents.

図2は、POS端末1の回路構成、及び、機能的構成を示す図である。
図2に示すように、POS端末1の筐体10には、制御回路基板25と、印刷回路基板26と、が収納されている。制御回路基板25と、印刷回路基板26とは、専用のコネクターCT1、及び、コネクターCT2を介して接続されている。
制御回路基板25には、メイン制御部28(制御部)と、メモリー29と、表示制御回路30と、入力検出回路31と、LED駆動回路32と、ネットワークインターフェース33と、デバイスインターフェース34と、が実装されている。
メイン制御部28は、CPUや、周辺回路等を備え、POS端末1の各部を中枢的に制御する。メモリー29は、EEPROM等の不揮発性メモリーを備え、各種データを書き換え可能に不揮発的に記憶する。表示制御回路30は、メイン制御部28の制御の下、表示パネル20に各種画像を表示する。入力検出回路31は、タッチセンサー21に対する操作を検出し、メイン制御部28に出力する。LED駆動回路32は、メイン制御部28の制御の下、LED16を駆動する。ネットワークインターフェース33には、LANや、インターネット等のネットワークを介して外部機器が接続される。ネットワークインターフェース33は、メイン制御部28の制御の下、接続された外部機器と所定の通信規格に準拠して通信する。例えば、POS端末1には、顧客マスターや、商品マスターを記憶し、POSシステム全体を統括的に管理するPOSサーバーが接続される。デバイスインターフェース34には、バーコードリーダーや、カードリーダー、キーボード等の各種デバイスが接続される。デバイスインターフェース34は、メイン制御部28の制御の下、接続されたデバイスと所定の通信規格に準拠して通信する。
また、メイン制御部28には電源スイッチ14の検出値が入力され、メイン制御部28は、入力された検出値に基づいて、電源スイッチ14の電源のオンを指示する操作がされたこと、又は、オフを指示する操作がされたことを検出する。また、メイン制御部28には、カバーセンサー35の検出値が入力される。カバーセンサー35は、カバー18が開状態のときと、閉状態のときとで異なる信号をメイン制御部28に出力するセンサーである。メイン制御部28は、カバーセンサー35から入力された検出値に基づいて、カバー18が開状態であること、又は、閉状態であることを検出する。
FIG. 2 is a diagram illustrating a circuit configuration and a functional configuration of the POS terminal 1.
As shown in FIG. 2, a control circuit board 25 and a printed circuit board 26 are accommodated in the housing 10 of the POS terminal 1. The control circuit board 25 and the printed circuit board 26 are connected via a dedicated connector CT1 and a connector CT2.
The control circuit board 25 includes a main control unit 28 (control unit), a memory 29, a display control circuit 30, an input detection circuit 31, an LED drive circuit 32, a network interface 33, and a device interface 34. Has been implemented.
The main control unit 28 includes a CPU, peripheral circuits, and the like, and centrally controls each unit of the POS terminal 1. The memory 29 includes a nonvolatile memory such as an EEPROM and stores various data in a rewritable manner. The display control circuit 30 displays various images on the display panel 20 under the control of the main control unit 28. The input detection circuit 31 detects an operation on the touch sensor 21 and outputs the operation to the main control unit 28. The LED drive circuit 32 drives the LED 16 under the control of the main control unit 28. An external device is connected to the network interface 33 via a network such as a LAN or the Internet. The network interface 33 communicates with a connected external device in accordance with a predetermined communication standard under the control of the main control unit 28. For example, the POS terminal 1 is connected to a POS server that stores a customer master and a product master and manages the entire POS system. Various devices such as a barcode reader, a card reader, and a keyboard are connected to the device interface 34. The device interface 34 communicates with a connected device in accordance with a predetermined communication standard under the control of the main control unit 28.
The detection value of the power switch 14 is input to the main control unit 28, and the main control unit 28 has been operated to instruct the power switch 14 to turn on based on the input detection value, or , It is detected that an operation for instructing to turn off has been performed. Further, the detection value of the cover sensor 35 is input to the main control unit 28. The cover sensor 35 is a sensor that outputs different signals to the main control unit 28 when the cover 18 is in the open state and when it is in the closed state. The main control unit 28 detects that the cover 18 is open or closed based on the detection value input from the cover sensor 35.

また、印刷回路基板26には、プリンター制御部40が実装されている。プリンター制御部40は、CPUや、周辺回路等を備え、印刷機構41を制御して、レシートを発行する。
印刷機構41は、ロール紙Rの印刷面に熱を与えることにより、画像を印刷するサーマルヘッド42や、ロール紙Rを搬送する搬送機構43、所定の位置でロール紙を切断する切断機構44等を備えており、プリンター制御部40の制御の下、これら機構や装置を動作させて、レシートを発行する。
プリンター制御部40には、フィードスイッチ15の検出値が入力され、プリンター制御部40は、入力された検出値に基づいて、印刷機構41の搬送機構43等を制御して、オートフィード(ロール紙Rの自動搬送)を実行する。
A printer control unit 40 is mounted on the printed circuit board 26. The printer control unit 40 includes a CPU, peripheral circuits, and the like, and controls the printing mechanism 41 to issue a receipt.
The printing mechanism 41 applies heat to the printing surface of the roll paper R, thereby printing a thermal head 42 for printing an image, a transport mechanism 43 for transporting the roll paper R, a cutting mechanism 44 for cutting the roll paper at a predetermined position, and the like. Under the control of the printer control unit 40, these mechanisms and devices are operated to issue a receipt.
A detection value of the feed switch 15 is input to the printer control unit 40, and the printer control unit 40 controls the conveyance mechanism 43 and the like of the printing mechanism 41 based on the input detection value, and performs auto feed (roll paper). R automatic conveyance).

また、POS端末1は、電源制御部46を備えている。電源制御部46は、メイン制御部28の制御の下、例えば100ボルトの商用電源を、所定の電圧の直流電源に変換して、POS端末1の各部に供する。
メイン制御部28は、電源がオンされているときに、電源スイッチ14に対して電源をオフすることを指示する操作がされたことを検出すると、正常に電源をオフするための所定の処理をプリンター制御部40と協働して実行する。次いで、メイン制御部28は、電源制御部46を制御して、電源をオフする。
一方、メイン制御部28は、電源がオフされているときに、電源スイッチ14に対して電源をオンすることを指示する操作がされたことを検出すると、所定の初期処理をプリンター制御部40と協働して実行し、電源をオンする。
プリンター制御部40が実行する初期処理には、例えば、サーマルヘッド42や、搬送機構43、切断機構44、その他の各種モーターの初期動作確認、各種バッファーのクリアー等がある。
このように、電源をオフした後、オンすることにより、制御回路基板25、及び、印刷回路基板26の双方をリセットすることができる。
Further, the POS terminal 1 includes a power supply control unit 46. Under the control of the main control unit 28, the power control unit 46 converts, for example, a commercial power supply of 100 volts into a DC power source having a predetermined voltage, and supplies it to each unit of the POS terminal 1.
When the main control unit 28 detects that the power switch 14 is instructed to turn off the power when the power is on, the main control unit 28 performs a predetermined process for normally turning off the power. This is executed in cooperation with the printer control unit 40. Next, the main control unit 28 controls the power control unit 46 to turn off the power.
On the other hand, when the main control unit 28 detects that the power switch 14 is instructed to turn on the power when the power is off, the main control unit 28 performs predetermined initial processing with the printer control unit 40. Run in collaboration and turn on the power.
Initial processing executed by the printer control unit 40 includes, for example, confirmation of initial operations of the thermal head 42, the transport mechanism 43, the cutting mechanism 44, and other various motors, and clearing of various buffers.
Thus, both the control circuit board 25 and the printed circuit board 26 can be reset by turning on the power after turning it off.

次に、レシートを発行するときのPOS端末1の動作について説明する。
メモリー29には、プリンタードライバーがロード可能に記憶されている。メイン制御部28は、プリンタードライバーの機能により、タッチパネル11に表示されたユーザーインターフェースに対してユーザーが入力した情報や、デバイスから入力された情報、POSサーバーから通信によって取得した情報等に基づいて、レシートの発行を指示する制御コマンドを生成する。次いで、メイン制御部28は、生成した制御コマンドをプリンター制御部40に出力する。
プリンター制御部40が備えるROMには、ファームウェアがロード可能に記憶されている。プリンター制御部40は、入力された制御コマンドに基づいて、ファームウェアの機能により、印刷機構41を制御して、レシートを発行する。
Next, the operation of the POS terminal 1 when issuing a receipt will be described.
The memory 29 stores a printer driver that can be loaded. The main control unit 28 is based on information input by the user to the user interface displayed on the touch panel 11, information input from the device, information acquired by communication from the POS server, etc. A control command for instructing the receipt issuance is generated. Next, the main control unit 28 outputs the generated control command to the printer control unit 40.
Firmware is stored in a ROM included in the printer control unit 40 so that it can be loaded. Based on the input control command, the printer control unit 40 controls the printing mechanism 41 by a function of firmware and issues a receipt.

ところで、印刷に関するエラーの中には、エラーの発生後、エラーの解消に係る所定の作業を行なって(エラーによってはユーザーが作業を行なうことなく)、印刷回路基板26のリセットを行なえば、解消するものもある。例えば、サーマルヘッド42に関するエラーは、リセットに伴う初期処理で行なわれるサーマルヘッド42の初期動作確認によって解消するものがある。また例えば、印刷結果の不具合は、バッファーのクリアーによって解消するものがある。
このようなエラーが発生した場合は、制御回路基板25をリセットせずに当該基板の状態を維持しつつ、印刷回路基板26のみをリセットすることが求められる。しかしながら、本実施形態に係るPOS端末1の構成では、電源スイッチ14の切替えによってリセットを行なった場合、制御回路基板25、及び、印刷回路基板26の双方の回路基板がリセットされてしまう。
また、印刷回路基板26のみをリセットするための専用の機構(例えば、専用のスイッチ)を設ける等することも考えられるが、製造コストの増大につながる。
以上を踏まえ、本実施形態に係るPOS端末1は、以下の動作を行なう。
By the way, some errors related to printing can be resolved by performing a predetermined operation for eliminating the error after the occurrence of the error (the user does not perform the operation depending on the error) and resetting the printed circuit board 26. Some will do. For example, an error related to the thermal head 42 may be eliminated by confirming the initial operation of the thermal head 42 that is performed in the initial process associated with the reset. In addition, for example, there is a print result that can be solved by clearing the buffer.
When such an error occurs, it is required to reset only the printed circuit board 26 while maintaining the state of the board without resetting the control circuit board 25. However, in the configuration of the POS terminal 1 according to the present embodiment, when reset is performed by switching the power switch 14, both the control circuit board 25 and the printed circuit board 26 are reset.
In addition, it may be possible to provide a dedicated mechanism (for example, a dedicated switch) for resetting only the printed circuit board 26, but this leads to an increase in manufacturing cost.
Based on the above, the POS terminal 1 according to the present embodiment performs the following operation.

図3は、POS端末1の動作を示すフローチャートである。
図3のフローチャートの開始時点では、POS端末1の電源はオンされているものとする。
POS端末1のメイン制御部28は、所定のエラーが発生したか否かを監視する(ステップSA1)。所定のエラーは、事前にユーザーによって設定される。所定のエラーとしては、リセットを行なうことによって解消することが見込まれるものが想定されているが、この限りではない。
所定のエラーが発生した場合(ステップSA1:YES)、メイン制御部28は、カバーセンサー35から入力された検出値に基づいて、カバー18が一旦開状態とされた後、閉状態とされたか否かを監視する(ステップSA2)。換言すれば、ステップSA2において、メイン制御部28は、ユーザーが、所定のエラーが発生後、カバーを開け閉めしたか否かを監視する。
カバー18が開状態とされた後、閉状態とされた場合、メイン制御部28は、所定の信号をプリンター制御部40に出力することにより、印刷回路基板26をリセットする(ステップSA3)。当該リセットに伴って、初期処理が実行され、エラーによっては、解消する。
FIG. 3 is a flowchart showing the operation of the POS terminal 1.
It is assumed that the power of the POS terminal 1 is turned on at the start of the flowchart of FIG.
The main control unit 28 of the POS terminal 1 monitors whether or not a predetermined error has occurred (step SA1). The predetermined error is set in advance by the user. The predetermined error is assumed to be solved by resetting, but is not limited to this.
When a predetermined error has occurred (step SA1: YES), the main control unit 28 determines whether or not the cover 18 is once opened and then closed based on the detection value input from the cover sensor 35. Is monitored (step SA2). In other words, in step SA2, the main control unit 28 monitors whether the user has opened and closed the cover after a predetermined error has occurred.
When the cover 18 is opened and then closed, the main control unit 28 resets the printed circuit board 26 by outputting a predetermined signal to the printer control unit 40 (step SA3). Along with the reset, initial processing is executed, and it is resolved depending on an error.

以上説明したように、本実施形態に係るPOS端末1は、制御回路基板25、及び、制御回路基板25の制御の下、印刷機構41を制御する印刷回路基板26を収納する筐体10と、電源をオン/オフするための1つの電源スイッチ14と、筐体10に対する操作に基づいて、印刷回路基板26をリセットするメイン制御部28と、を備えている。
この構成によれば、電源スイッチ14のオフ、オンが行なわれると、制御回路基板25、及び、印刷回路基板26の双方がリセットされることとなる一方、所定の操作(御礼では、カバー18の開閉)を行なうことにより、印刷回路基板26のみをリセットさせることができる。このため、回路基板ごとに電源スイッチ14を個別に設けたり、その他の特別な機構を設けたりすることなく、すなわち、製造コストを抑制しつつ、印刷回路基板26のリセットが可能となる。
As described above, the POS terminal 1 according to the present embodiment includes the control circuit board 25 and the housing 10 that houses the printed circuit board 26 that controls the printing mechanism 41 under the control of the control circuit board 25. One power switch 14 for turning on / off the power and a main controller 28 for resetting the printed circuit board 26 based on an operation on the housing 10 are provided.
According to this configuration, when the power switch 14 is turned off and on, both the control circuit board 25 and the printed circuit board 26 are reset. Only the printed circuit board 26 can be reset by opening and closing. For this reason, the printed circuit board 26 can be reset without separately providing the power switch 14 for each circuit board or providing any other special mechanism, that is, while suppressing the manufacturing cost.

また、本実施形態では、筐体10に対する操作に応じて検出値をメイン制御部28に出力するセンサーが設けられており、メイン制御部28は、センサーから入力された検出値に基づいて、印刷回路基板26をリセットする。
より具体的には、本実施形態では、メイン制御部28は、印刷に関する所定のエラーが発生している場合であって、カバーセンサー35から所定の検出値が入力された場合に、印刷回路基板26をリセットする。
この構成によれば、印刷回路基板のリセットとのトリガーとなる操作が行なわれたことを適切に検出できる。さらに、リセットにより解消することが見込まれるエラーが発生している場合、換言すれば、印刷回路基板26のリセットの実行が求められる場合があるに、印刷回路基板をリセットすることが可能となる。
さらに、上記構成によれば、ユーザーは、カバー18を利用した簡易な操作で、印刷回路基板26をリセットすることができる。
In the present embodiment, a sensor that outputs a detection value to the main control unit 28 in response to an operation on the housing 10 is provided. The main control unit 28 performs printing based on the detection value input from the sensor. The circuit board 26 is reset.
More specifically, in the present embodiment, the main control unit 28 is a case where a predetermined error relating to printing has occurred, and when a predetermined detection value is input from the cover sensor 35, the printed circuit board. 26 is reset.
According to this configuration, it is possible to appropriately detect that an operation serving as a trigger for resetting the printed circuit board has been performed. Furthermore, when an error that is expected to be eliminated by resetting occurs, in other words, when the printed circuit board 26 may be requested to be reset, the printed circuit board can be reset.
Furthermore, according to the above configuration, the user can reset the printed circuit board 26 by a simple operation using the cover 18.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
上述した実施形態では、印刷回路基板26のリセットのトリガーとなる操作は、所定のエラー発生時におけるカバー18の開閉であったが、当該トリガーとなる操作は、これに限られない。例えば、所定期間に、所定回数以上カバー18を開閉した場合や、電源スイッチ14を押下した状態でカバー18が開閉されたこと等、メイン制御部28がセンサーの検出値に基づいて、操作を検出できるものであれば何であってもよい。
また、上述した実施形態では、印刷回路基板26をリセットする主体は、メイン制御部28であったが、例えば、プリンター制御部40であってもよく、他に制御部が設けられている場合は、当該他の制御部であってもよい。印刷回路基板26をリセットする主体が「制御部」として機能する。
例えば、POS端末1は、サーマルヘッド42を備えていたが、印刷ヘッドの形式は何であってもよい。また、POS端末1は、店舗に適用されたPOSシステムの一部を構成するものであったが、本願発明は、使用の目的にかかわらず、制御回路基板25、及び、印刷回路基板26を収納する1つの筐体10に収納する印刷装置に広く適用可能である。
また例えば、図2に示す各機能ブロックはハードウェアとソフトウェアの協働により任意に実現可能であり、特定のハードウェア構成を示唆するものではない。また、POS端末1の各機能ブロックの機能を、これら装置に外部接続される別の装置に持たせるようにしてもよい。また、POS端末1は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、各種動作を実行してもよい。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
In the above-described embodiment, the operation that is a trigger for resetting the printed circuit board 26 is the opening and closing of the cover 18 when a predetermined error occurs, but the operation that is the trigger is not limited to this. For example, when the cover 18 is opened and closed a predetermined number of times in a predetermined period, or when the cover 18 is opened and closed with the power switch 14 pressed, the main control unit 28 detects an operation based on the detection value of the sensor. Anything can be used.
In the embodiment described above, the main resetting unit of the printed circuit board 26 is the main control unit 28. However, for example, the printer control unit 40 may be used, and in the case where another control unit is provided. The other control unit may be used. The main body that resets the printed circuit board 26 functions as a “control unit”.
For example, although the POS terminal 1 includes the thermal head 42, the type of the print head may be any. The POS terminal 1 constitutes a part of the POS system applied to the store, but the present invention accommodates the control circuit board 25 and the printed circuit board 26 regardless of the purpose of use. The present invention can be widely applied to printing apparatuses that are housed in a single casing 10.
Further, for example, each functional block shown in FIG. 2 can be arbitrarily realized by cooperation of hardware and software, and does not suggest a specific hardware configuration. Further, the function of each functional block of the POS terminal 1 may be provided in another device externally connected to these devices. The POS terminal 1 may execute various operations by executing a program stored in a storage medium connected externally.

1…POS端末(印刷装置)、10…筐体、14…電源スイッチ、18…カバー、25…制御回路基板、26…印刷回路基板、28…メイン制御部(制御部)、35…カバーセンサー(センサー)、40…プリンター制御部、41…印刷機構。   DESCRIPTION OF SYMBOLS 1 ... POS terminal (printing apparatus), 10 ... Housing | casing, 14 ... Power switch, 18 ... Cover, 25 ... Control circuit board, 26 ... Printed circuit board, 28 ... Main control part (control part), 35 ... Cover sensor ( Sensor), 40 ... printer control unit, 41 ... printing mechanism.

Claims (9)

印刷機構を制御する印刷回路基板と、
電源をオン/オフするための電源スイッチが接続され、前記印刷回路基板に制御コマンドを出力して前記印刷回路基板に前記印刷機構を制御させる制御回路基板と、
前記制御回路基板と前記印刷回路基板とを収納する筐体と、
前記筐体に設けられたカバーの開閉操作に応じて検出値を前記制御回路基板に出力するセンサーと、を備え、
前記制御回路基板は、印刷に対応する予め定められたエラーが発生した後から当該エラーが解消されるまでの間に、前記センサーから前記カバーの開閉操作を検出したことを示す検出値を受け付けた場合、前記印刷回路基板をリセットし、前記エラーと異なるエラーであって印刷に対応するエラーが発生した後から当該エラーが解消されるまでの間に、前記センサーから前記カバーの開閉操作を検出したことを示す検出値を受け付けた場合、前記印刷回路基板をリセットしない制御部を備えることを特徴とする印刷装置。
A printed circuit board for controlling the printing mechanism;
A control circuit board that is connected to a power switch for turning on / off the power, outputs a control command to the printed circuit board, and causes the printed circuit board to control the printing mechanism;
A housing for housing the control circuit board and the printed circuit board;
A sensor that outputs a detection value to the control circuit board in accordance with an opening / closing operation of a cover provided in the housing,
The control circuit board receives a detection value indicating that the opening / closing operation of the cover has been detected from the sensor after the occurrence of a predetermined error corresponding to printing until the error is resolved. The printed circuit board is reset , and the opening / closing operation of the cover is detected from the sensor between the occurrence of an error different from the error and an error corresponding to printing until the error is resolved. A printing apparatus, comprising: a control unit that does not reset the printed circuit board when a detection value indicating that the printed circuit board has been received is received .
前記印刷に対応する予め定められたエラーは、ヘッドの不具合に対応するエラーと、印刷結果の不具合に対応するエラーとの少なくともいずれかのエラーを含むことを特徴とする請求項1に記載の印刷装置。The printing according to claim 1, wherein the predetermined error corresponding to the printing includes at least one of an error corresponding to a defect in a head and an error corresponding to a defect in a printing result. apparatus. 前記制御部は、
印刷に関する所定のエラーが発生したことを検出した後、前記センサーが出力した検出値であって、前記カバーが開状態となった後、閉状態となったことを検出した場合、前記印刷回路基板をリセットすることを特徴とする請求項1又は2に記載の印刷装置。
The controller is
After detecting that a predetermined error relating to printing has occurred, if the detected value output by the sensor detects that the cover has been opened and then closed, the printed circuit board The printing apparatus according to claim 1 , wherein the printing apparatus is reset.
印刷機構を制御する印刷回路基板と、電源をオン/オフするための電源スイッチが接続され、前記印刷回路基板に制御コマンドを出力して前記印刷回路基板に前記印刷機構を制御させる制御回路基板と、前記制御回路基板と前記印刷回路基板とを収納する筐体と、前記筐体に設けられたカバーの開閉操作に応じて検出値を前記制御回路基板に出力するセンサーと、を備える印刷装置の制御方法であって、
前記制御回路基板は、印刷に対応する予め定められたエラーが発生した後から当該エラーが解消されるまでの間に、前記センサーから前記カバーの開閉操作を検出したことを示す検出値を受け付けた場合、前記印刷回路基板をリセットし、前記エラーと異なるエラーであって印刷に対応するエラーが発生した後から当該エラーが解消されるまでの間に、前記センサーから前記カバーの開閉操作を検出したことを示す検出値を受け付けた場合、前記印刷回路基板をリセットしない
ことを特徴とする印刷装置の制御方法。
A printed circuit board for controlling the printing mechanism, and a control circuit board connected to a power switch for turning on / off the power, and outputting a control command to the printed circuit board to cause the printed circuit board to control the printing mechanism; And a sensor that outputs a detection value to the control circuit board in response to an opening / closing operation of a cover provided in the casing. The printing apparatus includes: a housing that houses the control circuit board and the printed circuit board; A control method,
The control circuit board receives a detection value indicating that the opening / closing operation of the cover has been detected from the sensor after the occurrence of a predetermined error corresponding to printing until the error is resolved . The printed circuit board is reset , and the opening / closing operation of the cover is detected from the sensor after the error corresponding to printing occurs after the error is different from the error until the error is resolved. When the detected value indicating this is received, the printed circuit board is not reset .
前記印刷に対応する予め定められたエラーは、ヘッドの不具合に対応するエラーと、印刷結果の不具合に対応するエラーとの少なくともいずれかのエラーを含むことを特徴とする請求項4に記載の印刷装置の制御方法。5. The printing according to claim 4, wherein the predetermined error corresponding to the printing includes at least one of an error corresponding to a defect in a head and an error corresponding to a defect in a printing result. Control method of the device. 印刷に関する所定のエラーが発生したことを検出した後、前記センサーが出力した検出値であって、前記カバーが開状態となった後、閉状態となったことを検出した場合、前記印刷回路基板をリセットすることを特徴とする請求項4又は5に記載の印刷装置の制御方法。 After detecting that a predetermined error relating to printing has occurred, if the detected value output by the sensor detects that the cover has been opened and then closed, the printed circuit board The method of controlling a printing apparatus according to claim 4 , wherein the printer is reset. 印刷機構を制御する印刷回路基板と、電源をオン/オフするための電源スイッチが接続され、前記印刷回路基板に制御コマンドを出力して前記印刷回路基板に前記印刷機構を制御させる制御回路基板と、前記制御回路基板と前記印刷回路基板とを収納する筐体と、前記筐体に設けられたカバーの開閉操作に応じて検出値を前記制御回路基板に出力するセンサーと、を備える印刷装置を制御する、前記制御回路基板の制御部により実行されるプログラムであって、
前記制御部に、
前記制御部が印刷に対応する予め定められたエラーが発生した後から当該エラーが解消されるまでの間に、前記センサーから前記カバーの開閉操作を検出したことを示す検出値を受け付けた場合前記印刷回路基板をリセットする処理を実行させ、前記エラーと異なるエラーであって印刷に対応するエラーが発生した後から当該エラーが解消されるまでの間に、前記センサーから前記カバーの開閉操作を検出したことを示す検出値を受け付けた場合、前記印刷回路基板をリセットする処理を実行させないことを特徴とするプログラム。
A printed circuit board for controlling the printing mechanism, and a control circuit board connected to a power switch for turning on / off the power, and outputting a control command to the printed circuit board to cause the printed circuit board to control the printing mechanism; A printing apparatus comprising: a housing that houses the control circuit board and the printed circuit board; and a sensor that outputs a detection value to the control circuit board in response to an opening / closing operation of a cover provided on the housing. A program executed by the control unit of the control circuit board,
In the control unit,
When the control unit receives a detection value indicating that the opening / closing operation of the cover has been detected from the sensor between the occurrence of a predetermined error corresponding to printing and the cancellation of the error , The process of resetting the printed circuit board is executed, and the opening / closing operation of the cover from the sensor is performed after the error corresponding to printing occurs after the error that is different from the error occurs. A program that does not execute a process of resetting the printed circuit board when a detection value indicating detection is received .
前記印刷に対応する予め定められたエラーは、ヘッドの不具合に対応するエラーと、印刷結果の不具合に対応するエラーとの少なくともいずれかのエラーを含むことを特徴とする請求項7に記載のプログラム。8. The program according to claim 7, wherein the predetermined error corresponding to the printing includes at least one of an error corresponding to a defect in the head and an error corresponding to a defect in the printing result. . 前記制御部に、
前記制御部が印刷に関する所定のエラーが発生したことを検出した後、前記センサーが出力した検出値であって、前記カバーが開状態となった後、閉状態となったことを検出した場合、前記印刷回路基板をリセットさせることを特徴とする請求項7又は8に記載のプログラム。
In the control unit,
After detecting that a predetermined error related to printing has occurred by the control unit, the detection value output by the sensor , and when detecting that the cover is in an open state and then in a closed state, The program according to claim 7 or 8, wherein the printed circuit board is reset.
JP2013070922A 2013-03-29 2013-03-29 Printing apparatus, printing apparatus control method, and program Expired - Fee Related JP6260099B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2013070922A JP6260099B2 (en) 2013-03-29 2013-03-29 Printing apparatus, printing apparatus control method, and program
CN201420144422.1U CN204037080U (en) 2013-03-29 2014-03-27 Printing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013070922A JP6260099B2 (en) 2013-03-29 2013-03-29 Printing apparatus, printing apparatus control method, and program

Publications (3)

Publication Number Publication Date
JP2014193565A JP2014193565A (en) 2014-10-09
JP2014193565A5 JP2014193565A5 (en) 2016-03-03
JP6260099B2 true JP6260099B2 (en) 2018-01-17

Family

ID=51839206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013070922A Expired - Fee Related JP6260099B2 (en) 2013-03-29 2013-03-29 Printing apparatus, printing apparatus control method, and program

Country Status (2)

Country Link
JP (1) JP6260099B2 (en)
CN (1) CN204037080U (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11920823B2 (en) * 2022-01-26 2024-03-05 Hog Slat, Inc. Automated evaporative system flush

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01184184A (en) * 1988-01-19 1989-07-21 Victor Co Of Japan Ltd Printer
JP2788535B2 (en) * 1990-05-18 1998-08-20 富士通株式会社 Printer initialization method
JP3025558B2 (en) * 1991-07-12 2000-03-27 株式会社リコー Printing device control method
JPH09156183A (en) * 1995-12-12 1997-06-17 Seiko Epson Corp Printer
JP4105836B2 (en) * 2000-01-07 2008-06-25 株式会社リコー Image forming apparatus
JP2002052784A (en) * 2000-08-04 2002-02-19 Ricoh Co Ltd Imaging apparatus
US7386252B2 (en) * 2005-11-23 2008-06-10 Lexmark International, Inc. Door panel interlocks for an image forming device
JP2009132053A (en) * 2007-11-30 2009-06-18 Konica Minolta Business Technologies Inc Image formation device
JP4803232B2 (en) * 2008-09-25 2011-10-26 ブラザー工業株式会社 Image forming apparatus

Also Published As

Publication number Publication date
CN204037080U (en) 2014-12-24
JP2014193565A (en) 2014-10-09

Similar Documents

Publication Publication Date Title
JP5300451B2 (en) Image processing apparatus and image processing apparatus control method
JP6582711B2 (en) Printing apparatus and printing apparatus control method
JP2018079651A (en) Printer and control method for the same
JP5728946B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
JP6260099B2 (en) Printing apparatus, printing apparatus control method, and program
JP6115025B2 (en) Medium processing apparatus and POS system
JP5556248B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
JP6226815B2 (en) Product sales data processing device, information terminal and control program
JP2008071164A (en) Commodity sales data processor
JP6056196B2 (en) Medium processing apparatus and POS system
JP6561673B2 (en) Printing apparatus and printing apparatus control method
JP6003265B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
JP2002144677A5 (en)
US12020095B2 (en) Printer and information processing system
JP2018049562A (en) Settlement device and program
CN110936733B (en) Printer, control method, computer-readable storage medium, and electronic device
US20220300776A1 (en) Printer and information processing system
JP2017060245A (en) Printer and control method of printer
JP2008149652A (en) Label printer
JP5924126B2 (en) Medium processing apparatus and POS system
JP2011192107A (en) Control device, recording system, control method of the control device and program
JP2008276350A (en) Electronic apparatus, printer, method for setting reset validation in electronic apparatus, and program
JP6365120B2 (en) Recording device
JP2014019052A (en) Recording device, recording system, method for controlling recording device, and program
JP2023055349A (en) Printing apparatus and method for controlling printing apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160119

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161101

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170706

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171127

R150 Certificate of patent or registration of utility model

Ref document number: 6260099

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees