JP2017081682A - Roll sheet near end detection system, printer, roll sheet near end detection unit and method for detection of roll sheet near end - Google Patents

Roll sheet near end detection system, printer, roll sheet near end detection unit and method for detection of roll sheet near end Download PDF

Info

Publication number
JP2017081682A
JP2017081682A JP2015210850A JP2015210850A JP2017081682A JP 2017081682 A JP2017081682 A JP 2017081682A JP 2015210850 A JP2015210850 A JP 2015210850A JP 2015210850 A JP2015210850 A JP 2015210850A JP 2017081682 A JP2017081682 A JP 2017081682A
Authority
JP
Japan
Prior art keywords
roll paper
unit
printer
paper
end detection
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
JP2015210850A
Other languages
Japanese (ja)
Inventor
一成 入内島
Kazunari Iriuchijima
一成 入内島
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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2015210850A priority Critical patent/JP2017081682A/en
Publication of JP2017081682A publication Critical patent/JP2017081682A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Continuous Sheets Of Paper (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a roll sheet near end detection system which can detect a near end of a roll sheet and has a lage degree-of-freedom of a design.SOLUTION: A roll sheet near end detection system comprises a printer 10 for printing a roll sheet based on print data, and a POS terminal device 100 which transmits the print data to the printer 10. An image of a page space of a roll sheet accommodated in the printer 10 is picked up by a camera 17 while the page space being irradiated with illumination light by an LED lamp 16, and the picked-up image is analyzed, whereby a near end mark given onto the page space of the roll sheet is identified and detected.SELECTED DRAWING: Figure 2

Description

本発明は、ロール紙のニアエンドマークを検出するロール紙ニアエンド検出システム、プリンタ、ロール紙ニアエンド検出ユニットおよびロール紙ニアエンド検出方法に関する。   The present invention relates to a roll paper near-end detection system, a printer, a roll paper near-end detection unit, and a roll paper near-end detection method for detecting a near-end mark on roll paper.

一般に、セルフ給油所における外設機等をも含むPOS(Point Of Sales)端末装置に内蔵あるいは併設されるプリンタは、ロール紙に印字を行い、印字済みのロール紙をレシートやチケット等として出力する。   In general, a printer built in or attached to a POS (Point Of Sales) terminal device including an external machine at a self-service station performs printing on roll paper and outputs the printed roll paper as a receipt, a ticket, or the like. .

ロール紙が終端部付近であることを検出してPOS端末装置のオペレータ等に報知するために、ロール紙の終端部付近にニアエンドマークを予め印刷または貼り付けておくと共に、プリンタにニアエンドマークの検出機能を持たせた技術がある。ニアエンドマークの検出機能を有するプリンタとしては、例えば、プリンタの機能部、即ち、用紙の搬送を行う用紙搬送部、もしくは、印字を行う印字部に光センサを設け、ロール紙のニアエンドマークを光学的に検出するものがある。ロール紙のニアエンドマークを光学的に検出する技術は、例えば、特許文献1に開示されている。特許文献1に開示された画像記録装置は、ロール用紙の搬送部のうちのガイドローラ6とセットローラ対7a、7bとの間に終端センサ20を有している。終端センサ20は、発光ダイオード45からの光がロール紙の終端近傍に設けられたニアエンドマーク(黒シール)によって反射された反射光をフォトトランジスタ47によって受光し、反射率の相違に基づいてニアエンドマークを検出する光センサである。   In order to detect that the roll paper is near the end and notify the POS terminal operator or the like, a near-end mark is pre-printed or pasted near the end of the roll paper and the near-end mark is detected on the printer. There is a technology that has a function. As a printer having a near-end mark detection function, for example, an optical sensor is provided in a functional section of the printer, that is, a paper transport section that transports paper or a print section that performs printing, and the near-end mark of roll paper is optically There is something to detect. A technique for optically detecting a near-end mark on a roll paper is disclosed in, for example, Patent Document 1. The image recording apparatus disclosed in Patent Document 1 includes a termination sensor 20 between a guide roller 6 and a set roller pair 7a and 7b in a roll paper transport unit. The end sensor 20 receives the reflected light reflected by the near end mark (black sticker) provided near the end of the roll paper by the phototransistor 47 and the near end mark based on the difference in reflectance. Is an optical sensor for detecting

ところで、ロール紙を使用するプリンタには、ロール紙を軸支せずに、ロール紙をロール紙収容部に収容するだけのタイプ(投げ込み式とも呼ばれる)のものがある。このタイプのプリンタのうち、ロール紙が終端部付近であることを検出するものは、例えば、特許文献2、3に開示されている。特許文献2に開示されたプリンタは、ロール紙収容部に隣接する所定寸法の搬送路内に設けたスイッチにより、ロール紙収容部に収容されたロール紙が消費に伴い、ロール紙が終端部付近であることに相当する直径にまで小径化したことを検出する。特許文献3に開示されたプリンタは、ロール紙収容部に設けられた光センサにより、ロール紙収容部に収容されたロール紙が消費に伴い、ロール紙が終端部付近であることに相当する直径にまで小径化したことを検出する。   By the way, printers that use roll paper include a type (also called a throw-in type) that does not support the roll paper and only accommodates the roll paper in the roll paper accommodation unit. Among this type of printers, those that detect that the roll paper is near the end portion are disclosed in, for example, Patent Documents 2 and 3. In the printer disclosed in Patent Document 2, the roll paper stored in the roll paper storage unit is consumed by the switch provided in the conveyance path having a predetermined size adjacent to the roll paper storage unit, and the roll paper is near the terminal part. It is detected that the diameter has been reduced to a diameter corresponding to the above. The printer disclosed in Patent Document 3 has a diameter corresponding to that the roll paper stored in the roll paper storage unit is consumed and the roll paper is in the vicinity of the terminal end by the optical sensor provided in the roll paper storage unit. It is detected that the diameter has been reduced to.

特許第2562491号公報Japanese Patent No. 2562491 特開平11−157716号公報JP-A-11-157716 特開2012−056641号公報JP 2012-056441 A

特許文献1に開示されたニアエンドマークを光センサによって検出するものや、特許文献2、3に開示されたロール紙の直径を検出するものをも含め、本発明の関連技術によるプリンタは、その機能部やロール紙収容部に、ニアエンドマークやロール紙の直径を検出するための構造や部材を設けている。   The printers according to the related art of the present invention include those that detect the near-end mark disclosed in Patent Document 1 with an optical sensor and those that detect the diameter of the roll paper disclosed in Patent Documents 2 and 3. The structure and members for detecting the near end mark and the diameter of the roll paper are provided in the section and the roll paper storage section.

即ち、この種のプリンタにおいては、機能部やロール紙収容部といったプリンタ本来の構造と、ロール紙のニアエンドを検出するための構造や部材とが、一箇所に集中して、もしくは、過密に設けられることになる。その結果、プリンタの設計の自由度が小さくなる恐れがある。   In other words, in this type of printer, the original structure of the printer, such as the functional unit and roll paper storage unit, and the structure and members for detecting the near end of the roll paper are concentrated in one place or overcrowded. Will be. As a result, the degree of freedom in designing the printer may be reduced.

それ故、本発明の目的は、ロール紙のニアエンドを検出することが可能で、設計の自由度が大きいロール紙ニアエンド検出システムを提供することである。   Therefore, an object of the present invention is to provide a roll paper near-end detection system that can detect the near end of the roll paper and has a high degree of design freedom.

本発明の他の目的は、ロール紙のニアエンドを検出することが可能で、設計の自由度が大きいプリンタを提供することである。   Another object of the present invention is to provide a printer that can detect the near end of roll paper and has a high degree of design freedom.

本発明のさらに他の目的は、ロール紙のニアエンドを検出することが可能で、設計の自由度が大きいロール紙ニアエンド検出ユニットを提供することである。   Still another object of the present invention is to provide a roll paper near-end detection unit capable of detecting the near end of the roll paper and having a high degree of design freedom.

本発明のさらに他の目的は、上記のようなロール紙ニアエンド検出システム、プリンタまたはロール紙ニアエンド検出ユニットの実現に貢献するロール紙ニアエンド検出方法を提供することである。   Still another object of the present invention is to provide a roll paper near-end detection method that contributes to the realization of the roll paper near-end detection system, printer, or roll paper near-end detection unit as described above.

本発明の一実施態様によれば、印字データに基づいてロール紙に印字を行うプリンタと、プリンタに印字データを送信するPOS端末装置とを備え、前記プリンタ内に収容されたロール紙の紙面に照明光を照射しつつ紙面を撮像し、撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出することを特徴とするロール紙ニアエンド検出システムが得られる。   According to one embodiment of the present invention, the printer includes a printer that prints on roll paper based on print data, and a POS terminal device that transmits the print data to the printer, and is provided on the surface of the roll paper housed in the printer. A roll paper near-end detection system that identifies and detects a near-end mark preliminarily attached to a paper surface of a roll paper by imaging the paper surface while illuminating illumination light and analyzing the captured image. can get.

本発明の他の実施態様によれば、印字を行うべきロール紙を収容するロール紙収容部と、前記ロール紙収容部に収容されたロール紙の紙面に照明光を照射する照明部と、照明光が照射されたロール紙の紙面を撮像する撮像部とを有し、前記撮像部によって撮像した画像データを上位装置に出力する、もしくは、前記撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出し、検出結果を示す信号を上位装置に出力することを特徴とするプリンタが得られる。   According to another embodiment of the present invention, a roll paper storage unit that stores roll paper to be printed, an illumination unit that irradiates illumination light onto the surface of the roll paper stored in the roll paper storage unit, and illumination An imaging unit that images the surface of the roll paper irradiated with light, and outputs image data captured by the imaging unit to a host device, or by analyzing an image captured by the imaging unit, A printer is obtained that identifies and detects a near-end mark preliminarily attached to the surface of the roll paper, and outputs a signal indicating the detection result to a host device.

本発明のさらに他の実施態様によれば、プリンタの内部、外部または内外に亘って装着して使用され、ロール紙の紙面に照明光を照射する照明部と、照明光が照射されたロール紙の紙面を撮像する撮像部とを有し、前記撮像部によって撮像した画像データを上位装置に出力する、もしくは、前記撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出し、検出結果を示す信号を上位装置に出力することを特徴とするロール紙ニアエンド検出ユニットが得られる。   According to still another embodiment of the present invention, an illuminating unit that illuminates illumination light onto the surface of a roll paper that is used while being mounted inside, outside, or inside the printer, and roll paper that is illuminated with illumination light. An image pickup unit that picks up an image of the paper sheet, and outputs image data picked up by the image pickup unit to a higher-level device, or analyzes the image picked up by the image pickup unit in advance to attach the image data to the paper surface of the roll paper Thus, a roll paper near-end detection unit can be obtained that identifies and detects the near-end mark that has been detected and outputs a signal indicating the detection result to the host device.

本発明の他の実施態様によれば、印字を行うべきロール紙の紙面に照明光を照射する照明工程と、照明光が照射されたロール紙の紙面を撮像する撮像工程と、前記撮像工程において撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出するマーク識別工程とを有することを特徴とするロール紙ニアエンド検出方法が得られる。   According to another embodiment of the present invention, in the illuminating step of illuminating the paper surface of the roll paper to be printed, the imaging step of imaging the paper surface of the roll paper irradiated with the illuminating light, and the imaging step A roll paper near-end detection method characterized by including a mark identifying step of identifying and detecting a near-end mark previously attached to the surface of the roll paper by performing image analysis on the captured image.

本発明によれば、ロール紙が終端部付近であることを検出可能で、設計の自由度が大きいロール紙ニアエンド検出システムが得られる。   According to the present invention, it is possible to detect a roll paper near-end detection system that can detect that the roll paper is near the end portion and has a high degree of design freedom.

本発明によればまた、ロール紙のニアエンドを検出することが可能で、設計の自由度が大きいプリンタが得られる。   According to the present invention, it is also possible to detect a near end of the roll paper and to obtain a printer with a high degree of design freedom.

本発明によればさらに、ロール紙のニアエンドを検出することが可能で、設計の自由度が大きいロール紙ニアエンド検出ユニットが得られる。   Further, according to the present invention, a roll paper near-end detection unit that can detect the near end of the roll paper and has a high degree of design freedom can be obtained.

本発明によればまた、上記のようなロール紙ニアエンド検出システム、プリンタまたはロール紙ニアエンド検出ユニットの実現に貢献する、ロール紙ニアエンド検出方法が得られる。   The present invention also provides a roll paper near-end detection method that contributes to the realization of the roll paper near-end detection system, printer, or roll paper near-end detection unit as described above.

本発明の実施形態によるロール紙ニアエンド検出システムを示す斜視図である。It is a perspective view which shows the roll paper near end detection system by embodiment of this invention. 本発明の実施形態1によるロール紙ニアエンド検出システムにおけるプリンタの内部を概略的に示す断面図である。It is sectional drawing which shows schematically the inside of the printer in the roll paper near end detection system by Embodiment 1 of this invention. 本発明の実施形態1によるロール紙ニアエンド検出システムの構成を示すブロック図である。It is a block diagram which shows the structure of the roll paper near end detection system by Embodiment 1 of this invention. 本発明の実施形態1によるロール紙ニアエンド検出システムの動作を説明するためのフロー図である。It is a flowchart for demonstrating operation | movement of the roll paper near end detection system by Embodiment 1 of this invention. 本発明の実施形態2によるロール紙ニアエンド検出システムの構成を示すブロック図である。It is a block diagram which shows the structure of the roll paper near end detection system by Embodiment 2 of this invention. 本発明の実施形態2によるロール紙ニアエンド検出システムの動作を説明するためのフロー図である。It is a flowchart for demonstrating operation | movement of the roll paper near end detection system by Embodiment 2 of this invention. 本発明の実施形態3によるロール紙ニアエンド検出ユニットの構成を示すブロック図である。It is a block diagram which shows the structure of the roll paper near end detection unit by Embodiment 3 of this invention. 本発明の実施形態3によるロール紙ニアエンド検出ユニットの動作を説明するためのフロー図である。It is a flowchart for demonstrating operation | movement of the roll paper near end detection unit by Embodiment 3 of this invention. 本発明の実施形態4によるロール紙ニアエンド検出システムの構成を示す図である。It is a figure which shows the structure of the roll paper near end detection system by Embodiment 4 of this invention. 本発明の実施形態4によるロール紙ニアエンド検出システムの動作を説明するためのフロー図である。It is a flowchart for demonstrating operation | movement of the roll paper near end detection system by Embodiment 4 of this invention. ロール紙の終端部付近の紙面を示す図である。It is a figure which shows the paper surface of the terminal part vicinity of roll paper.

本発明の実施形態によるプリンタは、ロール紙収容部と、照明部と、撮像部と、マーク識別部とを有している。   A printer according to an embodiment of the present invention includes a roll paper storage unit, an illumination unit, an imaging unit, and a mark identification unit.

ロール紙収容部は、開口容器状を呈し、印字を行うべきロール紙を収容する。照明部は、ロール紙収容部に収容されたロール紙の紙面に照明光を照射する。撮像部は、照明光が照射されたロール紙の紙面を撮像する。マーク識別部は、撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別する。   The roll paper storage unit has an open container shape and stores roll paper to be printed. The illumination unit irradiates illumination light onto the surface of the roll paper accommodated in the roll paper accommodation unit. An imaging part images the paper surface of the roll paper irradiated with illumination light. The mark identifying unit identifies a near-end mark that is previously attached to the surface of the roll paper by performing image analysis on the image captured by the imaging unit.

上記のように、本プリンタにおいては、照明部および撮像部とのどちらも、プリンタの機能部(用紙の搬送を行う用紙搬送部や印字を行う印字部)やロール紙収容部には設けられていない。即ち、本プリンタにおいては、プリンタの機能部やロール紙収容部といったプリンタ本来の構造と、照明部および撮像部とが、一箇所に集中して、もしくは、過密に設けられていない。したがって、本プリンタは、要部(機能部やロール紙収容部)の構造に関して、設計の自由度が大きい。また、設計および製造された本プリンタは、その要部の構造が比較的簡素なものとなる。   As described above, in the printer, both the illumination unit and the imaging unit are provided in the functional unit of the printer (paper transport unit that transports paper and print unit that performs printing) and the roll paper storage unit. Absent. In other words, in this printer, the original structure of the printer, such as the functional unit of the printer and the roll paper storage unit, the illumination unit, and the imaging unit are not concentrated in one place or overly dense. Therefore, this printer has a high degree of design freedom with respect to the structure of the main parts (functional part and roll paper storage part). In addition, the designed and manufactured printer has a relatively simple structure.

以下、図面を参照して、本発明によるプリンタならびにプリンタのより具体的な実施形態を説明する。   Hereinafter, a printer according to the present invention and a more specific embodiment of the printer will be described with reference to the drawings.

[実施形態1]
図1〜図3を参照すると、本発明の実施形態1によるプリンタ(印刷装置)10は、POS端末装置100に搭載されている。逆に言えば、POS端末装置100は、プリンタ10を有している。POS端末装置100とプリンタ10とにより、ロール紙ニアエンド検出システムが構成される。
[Embodiment 1]
1 to 3, a printer (printing apparatus) 10 according to the first embodiment of the present invention is mounted on a POS terminal apparatus 100. In other words, the POS terminal device 100 has a printer 10. The POS terminal device 100 and the printer 10 constitute a roll paper near-end detection system.

図3に示すように、POS端末装置100は、プリンタ10の他に、自装置の動作全般を制御する端末制御部110と、データを入力する入力部120と、少なくとも自装置に関わる情報を表示する表示部130とを有している。尚、図示はしないが、POS端末装置100は、スピーカまたはブザー等を備えていてもよい。   As shown in FIG. 3, in addition to the printer 10, the POS terminal device 100 displays a terminal control unit 110 that controls the overall operation of the own device, an input unit 120 that inputs data, and at least information related to the own device. Display unit 130. Although not shown, the POS terminal device 100 may include a speaker or a buzzer.

図2、図3に示すように、プリンタ10は、筐体21と、ロール紙収容部カバー23と、用紙搬送部12、印字部13および用紙切断部14等のプリンタの機能部と、ロール紙収容部22とを有している。   As shown in FIGS. 2 and 3, the printer 10 includes a casing 21, a roll paper container cover 23, printer functional units such as a paper transport unit 12, a printing unit 13, and a paper cutting unit 14, and roll paper. And an accommodating portion 22.

ロール紙収容部22は、開口容器状を呈し、印字を行うべきロール紙600を収容する。尚、本実施形態において、ロール紙収容部22は、ロール紙600を軸支することなく、ロール紙600の外周面を支持する所謂投げ込み式である。   The roll paper storage unit 22 has an open container shape and stores the roll paper 600 to be printed. In the present embodiment, the roll paper storage unit 22 is a so-called throw-in type that supports the outer peripheral surface of the roll paper 600 without pivotally supporting the roll paper 600.

筐体21は、ロール紙収容部22内に連通する開口部と、POS端末装置100に搭載されたときに後方側となる壁部21Aを備えている。ロール紙収容部カバー23は、筐体21の開口部に、図2中紙面に垂直な方向に延びる軸23aを回動支点として開閉可能に取り付けられている。   The housing 21 includes an opening communicating with the roll paper storage unit 22 and a wall 21 </ b> A on the rear side when mounted on the POS terminal device 100. The roll paper storage unit cover 23 is attached to the opening of the housing 21 so as to be opened and closed with a shaft 23a extending in a direction perpendicular to the paper surface in FIG.

ここで、図11に示すように、ロール紙600の終端部付近には、紙面の幅方向両側に、帯状のニアエンドマーク600Aが所定の長さに亘って予め印刷されている。ニアエンドマーク600Aは薄赤色に限らず、黒色等であってもよい。また、薄赤色や黒色等の薄手のシールを貼り付けるものでもよい。本実施形態において、ロール紙600の幅は58mm、対のニアエンドマーク600Aそれぞれの幅は約5mmである。尚、ニアエンドマーク600Aは、ロール紙の幅方向の左右どちらか一方の側のみに付されていてもよい。   Here, as shown in FIG. 11, in the vicinity of the end portion of the roll paper 600, strip-shaped near end marks 600 </ b> A are preliminarily printed over a predetermined length on both sides in the width direction of the paper surface. The near end mark 600A is not limited to light red, and may be black or the like. Alternatively, a thin seal such as light red or black may be attached. In the present embodiment, the width of the roll paper 600 is 58 mm, and the width of each pair of near end marks 600A is about 5 mm. The near end mark 600A may be attached only to either the left or right side in the width direction of the roll paper.

さらに、プリンタ10は、LED(Light Emitting Diode)ランプ16と、カメラ17と、マーク識別部11Aとを有している。   Further, the printer 10 includes an LED (Light Emitting Diode) lamp 16, a camera 17, and a mark identification unit 11A.

LEDランプ16は、ロール紙収容部22に収容されたロール紙600の紙面の幅方向全域に照明光を照射する照明部である。   The LED lamp 16 is an illumination unit that irradiates illumination light over the entire width direction of the surface of the roll paper 600 accommodated in the roll paper accommodation unit 22.

カメラ17は、LEDランプ16によって照明光が照射されたロール紙600の紙面の幅方向全域を撮像する撮像部である。   The camera 17 is an imaging unit that captures an image in the entire width direction of the surface of the roll paper 600 irradiated with illumination light from the LED lamp 16.

マーク識別部11Aは、カメラ17によって撮像した画像を画像解析することにより、ロール紙600の紙面に予め付されているニアエンドマークを識別する。尚、本実施形態において、マーク識別部11Aは、POS端末装置100の端末制御部110からの命令により、プリンタ機能部の動作全般を制御するプリンタ制御部11の一部として構成されている。   11 A of mark identification parts identify the near end mark previously attached | subjected to the paper surface of the roll paper 600 by analyzing the image imaged with the camera 17. FIG. In the present embodiment, the mark identification unit 11A is configured as a part of the printer control unit 11 that controls the overall operation of the printer function unit according to a command from the terminal control unit 110 of the POS terminal apparatus 100.

尚、LEDインジケータを外部から視認可能に設け、マーク識別部11Aによる識別結果がニアエンドマーク有りである場合に、ロール紙600が終端部付近である旨を発光表示で報知するニアエンド報知部としてもよい。また、プリンタ10は、ニアエンド報知部として、ロール紙600が終端部付近である旨を音声で報知するスピーカまたはブザー等を備えていてもよい。   The LED indicator may be provided so as to be visible from the outside, and when the identification result by the mark identification unit 11A is a near-end mark, it may be a near-end notification unit that notifies the fact that the roll paper 600 is near the terminal end by a light-emitting display. . Further, the printer 10 may include a speaker or a buzzer for notifying the fact that the roll paper 600 is near the terminal end as a near-end notification unit.

LEDランプ16およびカメラ17は、ロール紙収容部カバー23の内側の面上に取り付けられている。   The LED lamp 16 and the camera 17 are mounted on the inner surface of the roll paper accommodation unit cover 23.

尚、図2においては、LEDランプ16、カメラ17とマーク識別部11A(プリンタ制御部11)とを接続する配線は、図示を省略している。それら配線の少なくともプリンタ制御部11側の端部は、コネクタを使用する接続形式とすることが好ましい。   In FIG. 2, the wiring for connecting the LED lamp 16, the camera 17, and the mark identification unit 11 </ b> A (printer control unit 11) is not shown. It is preferable that at least an end of the wiring on the printer control unit 11 side is a connection type using a connector.

また、LEDランプ16およびカメラ17の少なくとも一方が、筐体21の後方側の壁部21Aの内壁面上に取り付けられてもよい。その場合にも、プリンタ機能部やロール紙収容部22とは離れた箇所に取り付けることが好ましい。   Further, at least one of the LED lamp 16 and the camera 17 may be mounted on the inner wall surface of the wall portion 21 </ b> A on the rear side of the housing 21. Even in this case, it is preferable to attach the printer function unit or the roll paper storage unit 22 at a location away from it.

次に、プリンタ10の動作、特に、プリンタ制御部11が実行する処理について説明する。   Next, the operation of the printer 10, particularly the processing executed by the printer control unit 11, will be described.

図4のステップS11において、プリンタ10のプリンタ制御部11は、POS端末装置100の端末制御部110から印字データを受信したか確認し、受信すると(ステップS11のYES)、ステップS12に移行する。受信しない場合(ステップS11のNO)は、ステップS11を繰り返す。   In step S11 of FIG. 4, the printer control unit 11 of the printer 10 confirms whether print data has been received from the terminal control unit 110 of the POS terminal device 100, and if received (YES in step S11), the process proceeds to step S12. If not received (NO in step S11), step S11 is repeated.

ステップS12において、プリンタ制御部11は、用紙搬送部12によってロール紙600を搬送しつつ、印字データに基づいて印字部13によって印字を行う。印字後、用紙切断部14によってロール紙600を切断する。用紙の切断後、ステップS13に移行する。   In step S <b> 12, the printer control unit 11 performs printing by the printing unit 13 based on the print data while conveying the roll paper 600 by the sheet conveyance unit 12. After printing, the roll paper 600 is cut by the paper cutting unit 14. After cutting the paper, the process proceeds to step S13.

ステップS13において、プリンタ制御部11は、LEDランプ16を点灯し、ロール紙600の紙面の幅方向全域に照明光を照射する。   In step S <b> 13, the printer control unit 11 turns on the LED lamp 16 and irradiates illumination light over the entire width direction of the surface of the roll paper 600.

ステップS14において、プリンタ制御部11は、カメラ17によってロール紙600の紙面の幅方向全域を撮像する。   In step S <b> 14, the printer control unit 11 images the entire width direction of the surface of the roll paper 600 with the camera 17.

ステップS15において、プリンタ制御部11は、LEDランプ16を消灯する。   In step S15, the printer control unit 11 turns off the LED lamp 16.

続いて、プリンタ制御部11は、マーク識別部11Aにより、撮像した画像を画像解析する。その結果として、ニアエンドマーク600Aが有りの場合(ステップS16のYES)は、ステップS17に移行する。解析結果がニアエンドマーク600A無しの場合(ステップS16のNO)は、ステップS11に戻る。   Subsequently, the printer control unit 11 performs image analysis on the captured image by the mark identification unit 11A. As a result, if the near end mark 600A is present (YES in step S16), the process proceeds to step S17. If the analysis result does not include the near end mark 600A (NO in step S16), the process returns to step S11.

ここで、ニアエンドマーク600Aの検出は、例えば、以下のいずれかの場合、ニアエンドマーク600Aを検出したものとする。マーク識別部11A(プリンタ制御部11)のメモリには、予め、例えば以下のような識別条件を記憶させておく。   Here, the detection of the near end mark 600A is assumed to have detected the near end mark 600A, for example, in any of the following cases. For example, the following identification conditions are stored in advance in the memory of the mark identification unit 11A (printer control unit 11).

(識別条件1)カメラ17がカラー画像を撮像するものである場合は、画像内に所定の色が認められたとき。上記のロール紙600では、薄赤色が認められたときである。   (Identification condition 1) When a predetermined color is recognized in the image when the camera 17 captures a color image. In the above roll paper 600, light red color is recognized.

(識別条件2)カメラ17が白黒画像を撮像するものである場合は、所定の幅の黒色領域に挟まれた所定の幅の白色領域が認められたとき。上記のロール紙600では、5mm幅程度の対の黒色領域に挟まれた48mm程度の白色領域が認められたときである。あるいは、実寸ではなく、5mm幅程度の黒色領域に挟まれた48mm程度の白色領域と同じ比率(5:48:5)の画像を識別するものであってもよい。   (Identification condition 2) When the camera 17 captures a black and white image, when a white area having a predetermined width sandwiched between black areas having a predetermined width is recognized. In the above-mentioned roll paper 600, a white area of about 48 mm sandwiched between a pair of black areas of about 5 mm width is recognized. Or you may identify the image of the same ratio (5: 48: 5) as a white area | region of about 48 mm sandwiched between about 5 mm width black area | regions instead of an exact size.

(識別条件3)ニアエンドマークがロール紙600の左右の端部に帯状に付されるものではなく、特定の文字や特定の形状のマークである場合は、その特定の文字や特定の形状の印が認められたとき。   (Identification condition 3) When the near-end mark is not a band-like mark on the left and right ends of the roll paper 600 but is a mark of a specific character or a specific shape, the specific character or a mark of a specific shape When is recognized.

ステップS17において、プリンタ制御部11は、ロール紙600が終端部付近である旨(ロール紙の交換時期である旨)を、POS端末装置100に通知し、ステップS11に戻る。POS端末装置100の端末制御部110は、ニアエンドの通知を受けて、ロール紙600が終端部付近である旨(ロール紙の交換時期である旨)を表示部130に表示する。POS端末装置100が、スピーカまたはブザー等を備え、ロール紙600が終端部付近である旨を音声で報知するようにしてもよい。また、上述したように、ステップS17において、プリンタ制御部11は、POS端末装置100の端末制御部110に通知すると共に、もしくは、POS端末装置100の端末制御部110に通知せずに、LEDインジケータによる発光表示での報知やスピーカまたはブザー等による音声での報知を行うようにしてもよい。   In step S <b> 17, the printer control unit 11 notifies the POS terminal device 100 that the roll paper 600 is near the terminal end (that is, it is time to replace the roll paper), and the process returns to step S <b> 11. Upon receiving the near-end notification, the terminal control unit 110 of the POS terminal apparatus 100 displays on the display unit 130 that the roll paper 600 is near the terminal end (that it is time to replace the roll paper). The POS terminal device 100 may be provided with a speaker, a buzzer, or the like, and notify by voice that the roll paper 600 is near the end portion. Further, as described above, in step S17, the printer control unit 11 notifies the terminal control unit 110 of the POS terminal device 100, or without notifying the terminal control unit 110 of the POS terminal device 100, the LED indicator. You may make it perform alerting | reporting by the light emission display by or voice | voice alert | report by a speaker or a buzzer.

尚、LEDランプ点灯からニアエンドの通知までのニアエンドマークを検出して通知する工程は、印字工程終了後ではなく、印字工程開始前に実行するようにしてもよい。   The process of detecting and notifying the near end mark from the LED lamp lighting to the near end notification may be executed before the start of the printing process, not after the end of the printing process.

また、マーク識別部11Aを、プリンタ10のプリンタ制御部11ではなく、POS端末装置100の端末制御部110に設け、プリンタ制御部11からは撮像したロール紙600の紙面の画像データを端末制御部110に出力し、端末制御部110のマーク識別部11Aで画像解析を行ってニアエンドマーク600Aの検出し、ロール紙600が終端部付近である旨(ロール紙の交換時期である旨)を表示部130に表示するようにしてもよい。   Further, the mark identification unit 11A is provided not in the printer control unit 11 of the printer 10 but in the terminal control unit 110 of the POS terminal device 100, and the printer control unit 11 transmits the image data of the surface of the roll paper 600 captured by the printer control unit 11 to the terminal control unit. 110, the mark identifying unit 11A of the terminal control unit 110 performs image analysis to detect the near-end mark 600A, and a display unit indicating that the roll paper 600 is near the terminal end (it is time to replace the roll paper) You may make it display on 130. FIG.

尚、実施形態1では、プリンタ制御部がニアエンドマークを検出したか否かを判断し、ニアエンドマークを検出した場合、上位装置であるPOS端末装置にニアエンドを通知しているが、プリンタ制御部は、画像データをPOS端末装置ではない上位装置(例えば、通信線で接続されてPOS端末装置を管理するホスト装置)に出力するのみで、上位装置の制御部が、ニアエンドマークを検出したか否かを判断し、ニアエンドマークを検出した場合、オペレータにロール紙の交換時期であることを知らせるようにしてもよい。   In the first embodiment, the printer control unit determines whether or not the near end mark is detected. When the near end mark is detected, the printer control unit notifies the POS terminal device, which is a host device, of the near end. Whether or not the control unit of the host device has detected the near end mark only by outputting the image data to the host device that is not the POS terminal device (for example, a host device connected to the communication line to manage the POS terminal device). When the near end mark is detected, the operator may be notified that it is time to replace the roll paper.

実施形態1によれば、プリンタ機能部やロール紙収容部22の構造に影響を与えることなく、ロール紙のニアエンドを検出することが可能なプリンタを提供することができる。   According to the first embodiment, it is possible to provide a printer that can detect the near end of the roll paper without affecting the structure of the printer function unit and the roll paper storage unit 22.

[実施形態2]
本発明の実施形態2は、POS端末装置がLEDランプとカメラの動作を制御する点で、実施形態1と異なる。
[Embodiment 2]
The second embodiment of the present invention is different from the first embodiment in that the POS terminal device controls the operation of the LED lamp and the camera.

図5を参照すると、本発明の実施形態2によるPOS端末装置100’は、プリンタ10’を有している。POS端末装置100’とプリンタ10’により、ロール紙ニアエンド検出システムが構成される。   Referring to FIG. 5, the POS terminal device 100 ′ according to the second embodiment of the present invention includes a printer 10 ′. The POS terminal device 100 'and the printer 10' constitute a roll paper near-end detection system.

図5に示すように、POS端末装置100’は、プリンタ10’の他に、自装置の動作全般を制御する端末制御部110’と、データを入力する入力部120と、少なくとも自装置に関わる情報を表示する表示部130とを有している。   As shown in FIG. 5, the POS terminal device 100 ′ is related to at least the terminal device 110 ′ that controls the overall operation of the device itself, the input unit 120 that inputs data, and at least the device itself, in addition to the printer 10 ′. And a display unit 130 for displaying information.

プリンタ10’は、実施形態1のプリンタ10と同様に、筐体と、ロール紙収容部カバーと、用紙搬送部12、印字部13および用紙切断部14等のプリンタ機能部と、ロール紙収容部とを有している。   Similar to the printer 10 of the first embodiment, the printer 10 ′ includes a casing, a roll paper storage unit cover, printer function units such as a paper transport unit 12, a printing unit 13, and a paper cutting unit 14, and a roll paper storage unit. And have.

ロール紙収容部は、開口容器状を呈し、印字を行うべきロール紙600(図11に終端部付近のみを示す)を収容する。尚、本実施形態においても、ロール紙収容部は、ロール紙600を軸支することなく、ロール紙600の外周面を支持する所謂投げ込み式である。   The roll paper storage unit has an open container shape and stores the roll paper 600 (only the vicinity of the end portion is shown in FIG. 11) to be printed. In this embodiment as well, the roll paper storage unit is a so-called throw-in type that supports the outer peripheral surface of the roll paper 600 without pivotally supporting the roll paper 600.

図示はしないが、筐体は、ロール紙収容部内に連通する開口部と、POS端末装置100’に搭載されたときに後方側となる壁部を備えている。ロール紙収容部カバーは、筐体の開口部に、軸を回動支点として開閉可能に取り付けられている。   Although not shown, the housing includes an opening communicating with the roll paper accommodating portion and a wall portion on the rear side when mounted on the POS terminal device 100 ′. The roll paper storage unit cover is attached to the opening of the housing so as to be openable and closable with the shaft as a pivot.

図11に示すように、ロール紙600の終端部付近には、紙面の幅方向両側に、帯状のニアエンドマーク600Aがロール紙終端から所定の長さに亘って予め印刷されている。ニアエンドマーク600Aは薄赤色に限らず、黒色等であってもよい。また、薄赤色や黒色等の薄手のシールを貼り付けるものでもよい。本実施形態において、ロール紙600の幅は58mm、対のニアエンドマーク600Aそれぞれの幅は約5mmである。尚、ニアエンドマーク600Aは、ロール紙の幅方向の左右どちらか一方の側のみに付されていてもよい。   As shown in FIG. 11, in the vicinity of the end portion of the roll paper 600, a strip-shaped near end mark 600A is printed in advance on the both sides in the width direction of the paper over a predetermined length from the end of the roll paper. The near end mark 600A is not limited to light red, and may be black or the like. Alternatively, a thin seal such as light red or black may be attached. In the present embodiment, the width of the roll paper 600 is 58 mm, and the width of each pair of near end marks 600A is about 5 mm. The near end mark 600A may be attached only to either the left or right side in the width direction of the roll paper.

さらに、プリンタ10’は、ロール紙収容部に収容されたロール紙600の紙面の幅方向全域に照明光を照射する照明部であるLEDランプ16と、LEDランプ16によって照明光が照射されたロール紙600の紙面の幅方向全域を撮像する撮像部であるカメラ17とを有している。   Furthermore, the printer 10 ′ includes an LED lamp 16 that is an illuminating unit that irradiates illumination light on the entire width direction of the surface of the roll paper 600 accommodated in the roll paper accommodating unit, and a roll irradiated with illumination light by the LED lamp 16. The camera 17 is an image pickup unit that picks up an image of the entire area of the paper 600 in the width direction.

本実施形態において、マーク識別部は、POS端末装置100’の端末制御部110’にマーク識別部110Aとして具備されている。   In the present embodiment, the mark identifying unit is provided as the mark identifying unit 110A in the terminal control unit 110 'of the POS terminal apparatus 100'.

マーク識別部110Aは、実施形態1のマーク識別部11Aと同様に、カメラ17によって撮像した画像を画像解析することにより、ロール紙600の紙面に予め付されているニアエンドマーク600A(図11)を識別する。   Similar to the mark identification unit 11A of the first embodiment, the mark identification unit 110A analyzes the image captured by the camera 17 to thereby display the near-end mark 600A (FIG. 11) previously attached to the surface of the roll paper 600. Identify.

表示部130は、POS端末装置100’の動作等に関する情報を表示する以外に、マーク識別部110Aによる識別結果がニアエンドマーク有りである場合に、ロール紙600が終端部付近である旨を画面表示で報知する。尚、図示はしないが、POS端末装置100’は、ニアエンド報知部として、ロール紙600が終端部付近である旨を音声で報知するスピーカまたはブザー等を備えていてもよい。   In addition to displaying information on the operation and the like of the POS terminal device 100 ′, the display unit 130 displays a screen indicating that the roll paper 600 is near the end when the identification result by the mark identification unit 110A has a near-end mark. To inform. Although not shown, the POS terminal device 100 ′ may include a speaker or a buzzer that informs by voice that the roll paper 600 is near the end portion, as a near-end notification unit.

LEDランプ16およびカメラ17は、実施形態1と同様に、ロール紙収容部カバーの内側の面上に取り付けられている。即ち、LEDランプ16、カメラ17およびロール紙収容部カバーは、単体のユニットをなしていると言える。   The LED lamp 16 and the camera 17 are mounted on the inner surface of the roll paper accommodation unit cover, as in the first embodiment. That is, it can be said that the LED lamp 16, the camera 17, and the roll paper accommodation unit cover constitute a single unit.

したがって、既存のプリンタのロール紙収容部カバーの代わりに、当該ユニットを装着すると共に、既存のPOS端末装置の端末制御部のプログラムを変更してマーク識別部を設けることにより、既存の構成に手を加えることなく、POS端末装置に本発明を適用することが可能である。   Therefore, in place of the roll paper storage unit cover of the existing printer, the unit is mounted, and the program of the terminal control unit of the existing POS terminal device is changed to provide the mark identification unit, thereby allowing the existing configuration to be handled. It is possible to apply the present invention to a POS terminal device without adding.

尚、LEDランプ16およびカメラ17の少なくとも一方が、プリンタの筐体の後方側の内壁面上に取り付けられてもよい。その場合にも、プリンタ機能部やロール紙収容部とは離れた箇所に取り付けることが好ましい。   Note that at least one of the LED lamp 16 and the camera 17 may be mounted on an inner wall surface on the rear side of the printer housing. Even in such a case, it is preferable to attach the printer function unit or the roll paper storage unit at a location away from the printer function unit or roll paper storage unit.

次に、POS端末装置100’の動作、特に、端末制御部110’が実行する処理について説明する。   Next, the operation of the POS terminal device 100 ', particularly the processing executed by the terminal control unit 110' will be described.

図6のステップS21において、POS端末装置100’の端末制御部110’は、プリンタ制御部11’に印字データを出力して印字を行わせ、プリンタ制御部11’から印字処理終了の通知を受信すると、ステップS22に移行する。   In step S21 of FIG. 6, the terminal control unit 110 ′ of the POS terminal device 100 ′ outputs print data to the printer control unit 11 ′ to perform printing, and receives a notification of the end of the printing process from the printer control unit 11 ′. Then, the process proceeds to step S22.

ステップS22において、端末制御部110’は、LEDランプ16を点灯し、ロール紙600の紙面の幅方向全域に照明光を照射する。   In step S <b> 22, the terminal control unit 110 ′ turns on the LED lamp 16 and irradiates illumination light over the entire width direction of the paper surface of the roll paper 600.

ステップS23において、端末制御部110’は、カメラ17によってロール紙600の紙面の幅方向全域を撮像する。   In step S <b> 23, the terminal control unit 110 ′ takes an image of the entire width direction of the roll paper 600 with the camera 17.

ステップS24において、端末制御部110’は、LEDランプ16を消灯する。   In step S24, the terminal control unit 110 'turns off the LED lamp 16.

続いて、端末制御部110’は、マーク識別部110Aにより、撮像した画像を画像解析する。その結果として、ニアエンドマーク600Aが有りの場合(ステップS25のYES)は、ステップS26に移行する。識別結果がニアエンドマーク600A無しの場合(ステップS25のNO)は、ステップS21に戻る。   Subsequently, the terminal control unit 110 ′ performs image analysis on the captured image by the mark identification unit 110 </ b> A. As a result, when the near end mark 600A is present (YES in step S25), the process proceeds to step S26. If the identification result is that there is no near end mark 600A (NO in step S25), the process returns to step S21.

ここで、ニアエンドマーク600Aの識別は、実施形態1で例示したものと同じ識別条件で行うことができる。   Here, the identification of the near end mark 600A can be performed under the same identification condition as exemplified in the first embodiment.

ステップS26において、端末制御部110’は、表示部130に表示することにより、ロール紙600が終端部付近である旨(ロール紙の交換時期である旨)をPOS端末装置100’のオペレータに報知し、ステップS21に戻る。   In step S26, the terminal control unit 110 ′ displays on the display unit 130 to notify the operator of the POS terminal device 100 ′ that the roll paper 600 is in the vicinity of the end portion (that is, it is time to replace the roll paper). Then, the process returns to step S21.

尚、LEDランプ点灯からニアエンドの報知までのニアエンドマークを検出して報知する工程は、印字処理終了後ではなく、印字処理開始前に実行するようにしてもよい。   Note that the step of detecting and notifying the near end mark from the LED lamp lighting to the near end notification may be executed before the start of the printing process, not after the end of the printing process.

実施形態2によれば、実施形態1と同様に、プリンタ機能部やロール紙収容部の構造に影響を与えることなく、ロール紙のニアエンドを検出することが可能なプリンタを有するPOS端末装置を提供することができる。さらに、プリンタのプリンタ制御部の動作プログラムは書き換え不可能である一方、POS端末装置の装置制御部の動作プログラムは書き換え可能である場合がある。本実施形態によれば、マーク識別部がプリンタ制御部ではなく、POS端末装置の装置制御部の一部として構成されているため、装置制御部の動作プログラムを書き換えることによってマーク識別部を構成することができる。そのため、本発明を既存のPOS端末装置およびプリンタに適用しようとする場合に好適である。   According to the second embodiment, as in the first embodiment, a POS terminal device having a printer capable of detecting the near end of the roll paper without affecting the structure of the printer function unit and the roll paper storage unit is provided. can do. Furthermore, while the operation program of the printer control unit of the printer cannot be rewritten, the operation program of the device control unit of the POS terminal device may be rewritable. According to the present embodiment, since the mark identification unit is configured as a part of the device control unit of the POS terminal device, not the printer control unit, the mark identification unit is configured by rewriting the operation program of the device control unit. be able to. Therefore, it is suitable when the present invention is applied to existing POS terminal devices and printers.

[実施形態3]
本発明の実施形態3は、プリンタとは別に、照明部、撮像部、ユニット制御部および通信部を備えたロール紙ニアエンド検出ユニットが設けられ、プリンタに取り付けられて使用される点で、実施形態1とは異なる。
[Embodiment 3]
In the third embodiment of the present invention, a roll paper near-end detection unit including an illumination unit, an imaging unit, a unit control unit, and a communication unit is provided separately from the printer, and is used by being attached to the printer. Different from 1.

本実施形態のプリンタには、ロール紙ニアエンド検出ユニットが取り付けられる。プリンタにはロール紙ニアエンド検出ユニットの照明部と撮像部が取り付けられているが、プリンタの制御部は、ロール紙ニアエンド検出ユニットの照明部と撮像部の制御は行わない。   A roll paper near-end detection unit is attached to the printer of this embodiment. The printer is provided with the illumination unit and the imaging unit of the roll paper near-end detection unit, but the control unit of the printer does not control the illumination unit and imaging unit of the roll paper near-end detection unit.

図7は、本実施形態のロール紙ニアエンド検出ユニットの構成を示すブロック図である。図7において、本ユニットと共にロール紙ニアエンド検出システムを構成するプリンタならびに上位装置(例えば、POS端末装置)は、図示していない。   FIG. 7 is a block diagram showing the configuration of the roll paper near-end detection unit of the present embodiment. In FIG. 7, a printer and a host device (for example, a POS terminal device) that constitute a roll paper near-end detection system together with this unit are not shown.

図7を参照すると、ロール紙ニアエンド検出ユニットAは、照明部としてのLEDランプA16と、撮像部としてのカメラA17と、LEDランプA16およびカメラA17を制御するユニット制御部A11と、通信部A19とを備えている。   Referring to FIG. 7, the roll paper near-end detection unit A includes an LED lamp A16 as an illumination unit, a camera A17 as an imaging unit, a unit control unit A11 that controls the LED lamp A16 and the camera A17, and a communication unit A19. It has.

ユニット制御部A11は、LEDランプA16およびカメラA17の制御を含め、ロール紙ニアエンド検出ユニットA全体の制御を行う。通信部A19は、有線もしくは無線で、図示しない上位装置(例えば、POS端末装置)との通信を行う。LEDランプA16は、プリンタに収容されているロール紙の紙面に照明光を照射する。カメラA17は、照明光が照射されたロール紙の紙面を撮像する。   The unit controller A11 controls the entire roll paper near-end detection unit A including the control of the LED lamp A16 and the camera A17. The communication unit A19 communicates with a host device (not shown) (for example, a POS terminal device) by wire or wireless. The LED lamp A16 irradiates illumination light onto the surface of the roll paper accommodated in the printer. The camera A17 images the paper surface of the roll paper irradiated with the illumination light.

図8は、本実施形態のロール紙ニアエンド検出ユニットAのユニット制御部A11が稼働中に実行する処理のフロー図である。以下、図8を参照して、ロール紙ニアエンド検出ユニットAのユニット制御部A11が実行する処理について説明する。   FIG. 8 is a flowchart of processing executed while the unit control unit A11 of the roll paper near-end detection unit A of the present embodiment is in operation. Hereinafter, with reference to FIG. 8, a process executed by the unit controller A11 of the roll paper near-end detection unit A will be described.

図8のステップS41において、ロール紙ニアエンド検出ユニットAのユニット制御部A11は、上位装置から印字処理終了通知を受信したか監視し、受信する(ステップS41のYES)と、ステップS42に移行する。受信しない場合(ステップS41のNO)は、ステップS41を繰り返す。   In step S41 of FIG. 8, the unit control unit A11 of the roll paper near-end detection unit A monitors whether or not a print processing end notification has been received from the host device, and if received (YES in step S41), the process proceeds to step S42. If not received (NO in step S41), step S41 is repeated.

尚、プリンタは、上位装置から印字データを受信し、ロール紙を搬送しつつ、印字データに基づいて印字し、印字後、ロール紙を切断する印字処理を行い、印字処理を終了するとその旨を上位装置に通知する。   The printer receives print data from the host device, prints based on the print data while transporting the roll paper, performs print processing for cutting the roll paper after printing, and indicates that when the print processing ends. Notify the host device.

ステップS42において、ユニット制御部A11は、LEDランプA16を点灯し、プリンタ内のロール紙の紙面の幅方向全域に照明光を照射する。   In step S42, the unit controller A11 turns on the LED lamp A16 and irradiates illumination light over the entire width direction of the roll paper in the printer.

ステップS43において、ユニット制御部A11は、カメラA17によってロール紙の紙面の幅方向全域を撮像する。   In step S43, the unit controller A11 captures an image of the entire width direction of the surface of the roll paper with the camera A17.

ステップS44において、ユニット制御部A11は、LEDランプA16を消灯する。   In step S44, the unit controller A11 turns off the LED lamp A16.

続いて、ロール紙ニアエンド検出ユニットAは、撮像した画像を画像解析する。その結果として、ニアエンドマークが有りの場合(ステップS45のYES)は、ステップS46に移行する。識別結果がニアエンドマーク無しの場合(ステップS45のNO)は、ステップS41に戻る。   Subsequently, the roll paper near-end detection unit A performs image analysis on the captured image. As a result, if there is a near end mark (YES in step S45), the process proceeds to step S46. If the identification result is no near end mark (NO in step S45), the process returns to step S41.

ここで、ニアエンドマークの識別は、実施形態1で例示したものと同じ識別条件で行うことができる。   Here, the identification of the near-end mark can be performed under the same identification conditions as those exemplified in the first embodiment.

ステップS46において、ユニット制御部A11は、通信部A19を介して上位装置にニアエンドを通知し、ステップS41に戻る。   In step S46, the unit control unit A11 notifies the near end to the host device via the communication unit A19, and the process returns to step S41.

ロール紙ニアエンド検出ユニットAからニアエンドの通知を受けた上位装置は、表示部でニアエンドであることを表示する、ニアエンドである旨のメッセージを送出する、警報音を送出する等して、オペレータにロール紙が終端部付近である旨(ロール紙の交換時期である旨)を知らせる。   Upon receiving the near-end notification from the roll paper near-end detection unit A, the host device displays the near-end on the display unit, sends a near-end message, sends an alarm sound, etc. Notify that the paper is near the end (it is time to replace the roll paper).

尚、LEDランプ点灯からニアエンドの通知までのニアエンドマークを検出して通知する工程は、印字処理終了後ではなく、印字処理開始前に実行するようにしてもよい。   Note that the step of detecting and notifying the near end mark from the lighting of the LED lamp to the notification of the near end may be executed before the start of the printing process, not after the end of the printing process.

実施形態3の発明によれば、プリンタの主要部やロール紙収容部の構造に影響を与えることなく、ロール紙のニアエンドを検知することが可能なロール紙ニアエンド検出ユニットを提供することができる。   According to the invention of the third embodiment, it is possible to provide a roll paper near-end detection unit capable of detecting the near end of the roll paper without affecting the main part of the printer and the structure of the roll paper storage unit.

さらに、本実施形態の発明によれば、ニアエンド検出機能を有さない設置済みや既存のプリンタであっても、ロール紙ニアエンド検出ユニットを取り付け、上位装置の制御部でロール紙ニアエンド検出ユニットを制御するように上位装置のソフトウェアを変更することによって、ニアエンド検出機能を有するプリンタとすることができる。   Furthermore, according to the invention of the present embodiment, a roll paper near-end detection unit is attached and the roll paper near-end detection unit is controlled by the control unit of the host device, even for an installed or existing printer that does not have a near-end detection function. Thus, by changing the software of the host device, a printer having a near-end detection function can be obtained.

また、実施形態3では、ロール紙ニアエンド検出ユニットのユニット制御部がニアエンドマークを検出したか否かを判断し、ニアエンドマークを検出した場合、上位装置にニアエンドを通知しているが、ロール紙ニアエンド検出ユニットの制御部は、画像データを上位装置(例えば、POS端末装置)に出力するのみで、上位装置の制御部が、ニアエンドマークを検出したか否かを判断し、ニアエンドマークを検出した場合、オペレータにロール紙の交換時期であることを知らせるようにしてもよい。   In the third embodiment, the unit control unit of the roll paper near-end detection unit determines whether or not a near-end mark has been detected. When the near-end mark is detected, the upper apparatus is notified of the near-end. When the control unit of the detection unit only outputs image data to the host device (for example, a POS terminal device), the control unit of the host device determines whether or not the near end mark has been detected, and detects the near end mark. The operator may be notified that it is time to replace the roll paper.

また、本実施形態では、ロール紙ニアエンド検出ユニットは、上位装置と通信を行っているが、上位装置とではなく、プリンタと通信を行うものであってもよい。   In this embodiment, the roll paper near-end detection unit communicates with the host device, but may communicate with the printer instead of the host device.

また、本実施形態では、上位装置をPOS端末装置としたが、給油所用システムの外設機であってもよい。   In the present embodiment, the host device is a POS terminal device, but it may be an external machine of a gas station system.

尚、本実施形態において、ロール紙ニアエンド検出ユニットは、プリンタの内部に組み込まれる例を挙げたが、本発明において、ロール紙ニアエンド検出ユニットは、プリンタの外部に取り付けられてもよい(照明部の光照射端と撮像部の画像入射端を除く)。   In the present embodiment, the roll paper near-end detection unit is incorporated in the printer. However, in the present invention, the roll paper near-end detection unit may be attached to the outside of the printer (of the illumination unit). Excluding the light irradiation end and the image entrance end of the imaging unit).

また、ロール紙ニアエンド検出ユニットとしては、撮像部によって撮像して画像データを出力するのみとし、POS端末装置で画像解析するようにしてもよい。   Further, as the roll paper near-end detection unit, it may be configured to only take an image by the imaging unit and output the image data, and to analyze the image with a POS terminal device.

[実施形態4]
本発明の実施形態4は、POS端末装置がマーク識別部を有すると共に、ホスト装置がニアエンド報知部を有する点とで、実施形態2と異なる。
[Embodiment 4]
The fourth embodiment of the present invention differs from the second embodiment in that the POS terminal device has a mark identification unit and the host device has a near-end notification unit.

図9を参照すると、本発明の実施形態4によるPOS端末装置100”は、プリンタ10’を有している。   Referring to FIG. 9, the POS terminal apparatus 100 ″ according to the fourth embodiment of the present invention includes a printer 10 ′.

POS端末装置100”は、図9中左側に示すように、ネットワーク(有線LANや無線LAN等)を介して上位装置であるホスト装置300に接続されている。他のPOS端末装置も同様に、ネットワークを介してホスト装置300に接続されている。図9に示したホスト装置300と、ネットワークを介して接続されたPOS端末装置100”および他のPOS端末装置とにより、POSシステムが構成される。また、ホスト装置300と、ネットワークを介して接続された、プリンタ10’を含むPOS端末装置100”、および、プリンタ10’を含む他のPOS端末装置とにより、ロール紙ニアエンド検出システムが構成される。   As shown on the left side in FIG. 9, the POS terminal device 100 ″ is connected to the host device 300, which is a host device, via a network (wired LAN, wireless LAN, etc.). It is connected to the host device 300 via the network, and the POS system is configured by the host device 300 shown in FIG. 9, the POS terminal device 100 ″ and other POS terminal devices connected via the network. . Further, the roll paper near-end detection system is configured by the host device 300, the POS terminal device 100 "including the printer 10 'and the other POS terminal device including the printer 10' connected via the network. .

図9に示すように、POS端末装置100”は、プリンタ10’の他に、自装置の動作全般を制御する端末制御部110”と、データを入力する入力部120”と、少なくとも自装置に関わる情報を表示する表示部130と、ネットワークを介してホスト装置300と通信を行う通信部140とを有している。   As shown in FIG. 9, in addition to the printer 10 ′, the POS terminal device 100 ″ includes a terminal control unit 110 ″ for controlling the overall operation of the own device, an input unit 120 ″ for inputting data, and at least the own device. It has a display unit 130 that displays related information, and a communication unit 140 that communicates with the host device 300 via a network.

また、ホスト装置300は、自装置の動作全般を制御し、自装置の配下にあるPOS端末装置100”を管理するシステム制御部310と、ネットワークを介してPOS端末装置100”ならびに他のPOS端末装置と通信を行う通信部320と、ホスト装置300の配下にあるPOSシステムに関わる情報を表示する表示部330とを有している。さらに、ホスト装置300は、データを入力する入力部を備えていてもよい。   In addition, the host device 300 controls the overall operation of the host device, manages the POS terminal device 100 ″ under its control, the POS terminal device 100 ″ and other POS terminals via the network. A communication unit 320 that communicates with the apparatus and a display unit 330 that displays information related to the POS system under the host apparatus 300 are included. Further, the host device 300 may include an input unit for inputting data.

プリンタ10’は、実施形態1、2のプリンタ10、10’と同様に、筐体と、ロール紙収容部カバーと、用紙搬送部12、印字部13および用紙切断部14等のプリンタ機能部と、ロール紙収容部とを有している。   Like the printers 10 and 10 ′ of the first and second embodiments, the printer 10 ′ includes a housing, a roll paper storage unit cover, printer function units such as a paper transport unit 12, a printing unit 13, and a paper cutting unit 14. And a roll paper container.

ロール紙収容部は、開口容器状を呈し、印字を行うべきロール紙600(図11に終端部付近のみを示す)を収容する。尚、本実施形態においても、ロール紙収容部は、ロール紙600を軸支することなく、ロール紙600の外周面を支持する所謂投げ込み式である。   The roll paper storage unit has an open container shape and stores the roll paper 600 (only the vicinity of the end portion is shown in FIG. 11) to be printed. In this embodiment as well, the roll paper storage unit is a so-called throw-in type that supports the outer peripheral surface of the roll paper 600 without pivotally supporting the roll paper 600.

図示はしないが、筐体は、ロール紙収容部内に連通する開口部と、POS端末装置100”に搭載されたときに後方側となる壁部を備えている。ロール紙収容部カバーは、筐体の開口部に、軸を回動支点として開閉可能に取り付けられている。   Although not shown, the housing includes an opening communicating with the roll paper storage unit and a wall portion on the rear side when mounted on the POS terminal device 100 ″. The roll paper storage unit cover includes a housing. It is attached to the opening of the body so that it can be opened and closed with a shaft as a pivot.

図11に示すように、ロール紙600の終端部付近には、紙面の幅方向両側に、帯状のニアエンドマーク600Aがロール紙終端から所定の長さに亘って予め印刷されている。ニアエンドマーク600Aは薄赤色に限らず、黒色等であってもよい。また、薄赤色や黒色等の薄手のシールを貼り付けるのでもよい。本実施形態において、ロール紙600の幅は58mm、対のニアエンドマーク600Aそれぞれの幅は約5mmである。尚、ニアエンドマーク600Aは、ロール紙の幅方向の左右どちらか一方の側のみに付されていてもよい。   As shown in FIG. 11, in the vicinity of the end portion of the roll paper 600, a strip-shaped near end mark 600A is printed in advance on the both sides in the width direction of the paper over a predetermined length from the end of the roll paper. The near end mark 600A is not limited to light red, and may be black or the like. A thin seal such as light red or black may be attached. In the present embodiment, the width of the roll paper 600 is 58 mm, and the width of each pair of near end marks 600A is about 5 mm. The near end mark 600A may be attached only to either the left or right side in the width direction of the roll paper.

さらに、プリンタ10’は、ロール紙収容部に収容されたロール紙600の紙面の幅方向全域に照明光を照射する照明部であるLEDランプ16と、LEDランプ16によって照明光が照射されたロール紙600の紙面の幅方向全域を撮像する撮像部であるカメラ17とを有している。   Furthermore, the printer 10 ′ includes an LED lamp 16 that is an illuminating unit that irradiates illumination light on the entire width direction of the surface of the roll paper 600 accommodated in the roll paper accommodating unit, and a roll irradiated with illumination light by the LED lamp 16. The camera 17 is an image pickup unit that picks up an image of the entire area of the paper 600 in the width direction.

本実施形態において、マーク識別部は、実施形態2と同様に、POS端末装置100”の端末制御部110”にマーク識別部110Aとして具備されている。   In the present embodiment, the mark identifying unit is provided as the mark identifying unit 110A in the terminal control unit 110 ″ of the POS terminal apparatus 100 ″ as in the second embodiment.

マーク識別部110Aは、実施形態2と同様に、カメラ17によって撮像した画像を画像解析することにより、ロール紙600の紙面に予め付されているニアエンドマーク600A(図11)を識別する。   Similarly to the second embodiment, the mark identifying unit 110A performs image analysis on the image captured by the camera 17 to identify the near-end mark 600A (FIG. 11) attached in advance to the paper surface of the roll paper 600.

本実施形態においては、ニアエンド報知部は、実施形態2とは異なり、ホスト装置300の表示部330として具備されている。   In the present embodiment, unlike the second embodiment, the near-end notification unit is provided as the display unit 330 of the host device 300.

表示部330は、ホスト装置300の配下にあるPOS端末装置に関わる情報を表示する以外に、マーク識別部110Aによる識別結果がニアエンドマーク有りである場合に、ロール紙600が終端部付近である旨を画面表示で報知する。尚、図示はしないが、ホスト装置300は、ニアエンド報知部として、ロール紙600が終端部付近である旨を音声で報知するスピーカまたはブザー等を備えていてもよい。   In addition to displaying information related to the POS terminal devices under the host device 300, the display unit 330 indicates that the roll paper 600 is near the end when the identification result by the mark identification unit 110A is near end mark. Is displayed on the screen. Although not shown, the host device 300 may include a speaker, a buzzer, or the like that informs by voice that the roll paper 600 is near the end portion, as a near-end notification unit.

LEDランプ16およびカメラ17は、実施形態2と同様に、ロール紙収容部カバーの内側の面上に取り付けられている。即ち、LEDランプ16、カメラ17およびロール紙収容部カバーは、単体のユニットをなしていると言える。   The LED lamp 16 and the camera 17 are mounted on the inner surface of the roll paper accommodation unit cover, as in the second embodiment. That is, it can be said that the LED lamp 16, the camera 17, and the roll paper accommodation unit cover constitute a single unit.

したがって、既存のプリンタのロール紙収容部カバーの代わりに、当該ユニットを装着すると共に、既存のPOS端末装置の端末制御部のプログラムを変更するか、あるいは、追加の回路基板を追加することによってマーク識別部を設けることにより、既存の構成に手を加えることなく、POS端末装置に本発明を適用することが可能である。   Therefore, in place of the roll paper storage unit cover of the existing printer, the unit is mounted, and the program of the terminal control unit of the existing POS terminal device is changed, or the mark is added by adding an additional circuit board By providing the identification unit, the present invention can be applied to the POS terminal device without modifying the existing configuration.

尚、LEDランプ16およびカメラ17の少なくとも一方が、プリンタの筐体の後方側の内壁面上に取り付けられてもよい。その場合にも、プリンタ機能部やロール紙収容部とは離れた箇所に取り付けることが好ましい。   Note that at least one of the LED lamp 16 and the camera 17 may be mounted on an inner wall surface on the rear side of the printer housing. Even in such a case, it is preferable to attach the printer function unit or the roll paper storage unit at a location away from the printer function unit or roll paper storage unit.

次に、本実施形態のPOSシステムの動作、特に、POS端末装置100”の端末制御部110”が実行する処理について説明する。   Next, the operation of the POS system according to the present embodiment, particularly the processing executed by the terminal control unit 110 ″ of the POS terminal device 100 ″ will be described.

図10のステップS31において、POS端末装置100’の端末制御部110”は、プリンタ制御部11’に印字データを出力して印字を行わせ、プリンタ制御部11’から印字処理終了の通知を受信すると、ステップS32に移行する。   In step S31 of FIG. 10, the terminal control unit 110 ″ of the POS terminal apparatus 100 ′ outputs print data to the printer control unit 11 ′ to perform printing, and receives a notification of the end of the printing process from the printer control unit 11 ′. Then, the process proceeds to step S32.

ステップS32において、端末制御部110”は、LEDランプ16を点灯し、ロール紙600の紙面の幅方向全域に照明光を照射する。   In step S <b> 32, the terminal control unit 110 ″ turns on the LED lamp 16 and irradiates illumination light over the entire width direction of the paper surface of the roll paper 600.

ステップS33において、端末制御部110”は、カメラ17によってロール紙600の紙面の幅方向全域を撮像する。   In step S <b> 33, the terminal control unit 110 ″ captures an image of the entire width direction of the roll paper 600 with the camera 17.

ステップS34において、端末制御部110”は、LEDランプ16を消灯する。   In step S <b> 34, the terminal control unit 110 ″ turns off the LED lamp 16.

続いて、端末制御部110”は、マーク識別部110Aにより、撮像した画像を画像解析する。その結果として、ニアエンドマーク600Aが有りの場合(ステップS35のYES)は、ステップS36に移行する。解析結果がニアエンドマーク600A無しの場合(ステップS35のNO)は、ステップS31に戻る。   Subsequently, the terminal control unit 110 ″ performs image analysis on the captured image by the mark identification unit 110A. As a result, when the near-end mark 600A is present (YES in step S35), the process proceeds to step S36. If the result is no near end mark 600A (NO in step S35), the process returns to step S31.

ここで、ニアエンドマーク600Aの識別は、実施形態1で例示したものと同じ識別条件で行うことができる。   Here, the identification of the near end mark 600A can be performed under the same identification condition as exemplified in the first embodiment.

ステップS36において、端末制御部110”は、ロール紙が終端部付近である旨の情報を、通信部120”からネットワークを介してホスト装置300に送信した後、ステップS31に戻る。   In step S36, the terminal control unit 110 ″ transmits information indicating that the roll paper is near the terminal end from the communication unit 120 ″ to the host device 300 via the network, and then returns to step S31.

POS端末装置100”からロール紙が終端部付近である旨の情報を受信したホスト装置300のシステム制御部310は、受信した情報に基づき、表示部330に表示することにより、ロール紙600が終端部付近である旨(ロール紙の交換時期である旨)をホスト装置300のオペレータに報知する。   The system control unit 310 of the host apparatus 300 that has received the information that the roll paper is near the terminal end from the POS terminal device 100 ″ displays the information on the display unit 330 based on the received information, whereby the roll paper 600 is terminated. The operator of the host device 300 is notified that the paper is near the copy section (it is time to replace the roll paper).

尚、ホスト装置300に複数のPOS端末装置が接続されている場合には、プリンタのロール紙がニアエンドとなったのは、どのPOS端末装置であるかも、通信ならびに報知するようにする。   When a plurality of POS terminal devices are connected to the host device 300, the POS terminal device that has become near-end of the printer roll paper is communicated and notified.

また、LEDランプ点灯からニアエンドの報知までのニアエンドマークを検出して報知する工程は、印字処理終了後ではなく、印字処理開始前に実行するようにしてもよい。   Further, the step of detecting and notifying the near-end mark from the LED lamp lighting to the near-end notification may be performed before the start of the printing process, not after the end of the printing process.

また、上記ではプリンタを含むPOS端末装置を実施形態2のPOS端末装置としたが、実施形態1や実施形態3の通信部を設けた、プリンタを含むPOS端末装置としてもよいし、実施形態1〜3のプリンタを含むPOS端末装置が混在するものであってもよい。   In the above description, the POS terminal device including the printer is the POS terminal device according to the second embodiment. However, the POS terminal device including the printer may be provided with the communication unit according to the first or third embodiment. POS terminal devices including the printers 3 to 3 may be mixed.

実施形態4によれば、実施形態1〜3と同様に、プリンタ機能部やロール紙収容部の構造に影響を与えることなく、ロール紙のニアエンドを検出することが可能なプリンタを有するPOS端末装置を提供することができる。さらに、POS端末装置がセルフ給油所用システムの外設機である場合、セルフ給油所の従業員は、常時外設機付近に居るとは限らず、ホスト装置を設置してある事務所等の中に居ることも多い。本実施形態によれば、セルフ給油所の従業員は、ホスト装置が設置されている事務所等において、プリンタのロール紙が終端部付近であることを知ることができるため、そのような場合に好適である。   According to the fourth embodiment, as in the first to third embodiments, a POS terminal apparatus having a printer that can detect the near end of the roll paper without affecting the structure of the printer function unit and the roll paper storage unit. Can be provided. Furthermore, when the POS terminal is an external machine for a self-service station system, the employees of the self-service station are not always near the external machine, but in an office where the host device is installed. There are many times. According to the present embodiment, the employee of the self-service station can know that the roll paper of the printer is near the terminal end in the office where the host device is installed. Is preferred.

尚、以上説明した実施形態においては、図1に示すようなレジスタとも呼ばれるPOS端末装置の構成ユニットとして使用されるプリンタを例に挙げて説明したが、本発明のプリンタは、給油所の外設機のようなPOS端末装置の構成ユニットとして使用されるプリンタであってもよい。   In the embodiment described above, a printer used as a constituent unit of a POS terminal device also called a register as shown in FIG. 1 has been described as an example. However, the printer of the present invention is installed outside a gas station. A printer used as a constituent unit of a POS terminal device such as a printer may be used.

また、本発明のプリンタは、POS端末装置に内蔵されるプリンタに限らず、POS端末装置に併設されるプリンタであってもよい。   The printer of the present invention is not limited to a printer built in the POS terminal device, but may be a printer provided in the POS terminal device.

さらに、本発明のプリンタは、ロール紙を使用する投げ込み式のプリンタに限らず、ロール紙を使用する軸支式のプリンタであってもよい。   Furthermore, the printer of the present invention is not limited to a throw-in printer that uses roll paper, but may be a shaft-supported printer that uses roll paper.

さらにまた、本発明のプリンタは、POS端末装置と組み合わせて使用されるプリンタに限らず、ロール紙タイプのプリンタを使用する電子機器用のプリンタ全般であってもよい。   Furthermore, the printer of the present invention is not limited to a printer that is used in combination with a POS terminal device, but may be a printer for electronic equipment that uses a roll paper type printer.

上記の実施形態の一部または全部は、以下の付記のようにも記載され得るが、以下には限られない。   A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.

(付記1)印字データに基づいてロール紙に印字を行うプリンタと、プリンタに印字データを送信するPOS端末装置とを備え、
前記プリンタ内に収容されたロール紙の紙面に照明光を照射しつつ紙面を撮像し、撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出することを特徴とするロール紙ニアエンド検出システム。
(Supplementary Note 1) A printer that prints on roll paper based on print data, and a POS terminal device that transmits the print data to the printer,
The paper surface of the roll paper accommodated in the printer is irradiated with illumination light, the paper surface is imaged, and the captured image is analyzed to identify and detect a near-end mark previously attached to the paper surface of the roll paper. A roll paper near-end detection system.

(付記2)前記プリンタは、ロール紙の紙面に照明光を照射する照明部と、照明光が照射されたロール紙の紙面を撮像する撮像部とを有する付記1に記載のロール紙ニアエンド検出システム。   (Additional remark 2) The said printer has the illumination part which irradiates illumination light to the paper surface of roll paper, and the image pick-up part which images the paper surface of the roll paper irradiated with illumination light, The roll paper near end detection system of Additional remark 1 .

(付記3)前記プリンタが、前記撮像部によって撮像した画像を画像解析することにより、ニアエンドマークを識別して検出する付記2に記載のロール紙ニアエンド検出システム。   (Supplementary note 3) The roll paper near-end detection system according to supplementary note 2, wherein the printer identifies and detects a near-end mark by performing image analysis on an image captured by the imaging unit.

(付記4)前記プリンタの内部、外部または内外に亘って装着して使用するロール紙ニアエンド検出ユニットを有し、
前記ロール紙ニアエンド検出ユニットは、前記照明部と、前記撮像部と、該照明部および該撮像部を制御する制御部とを有する付記2に記載のロール紙ニアエンド検出システム。
(Supplementary Note 4) A roll paper near-end detection unit is used that is mounted on the inside, outside, or inside / outside of the printer.
The roll paper near-end detection system according to appendix 2, wherein the roll paper near-end detection unit includes the illumination unit, the imaging unit, and a control unit that controls the illumination unit and the imaging unit.

(付記5)前記ロール紙ニアエンド検出ユニットが、前記撮像部によって撮像した画像を画像解析することにより、ニアエンドマークを識別して検出する付記4に記載のロール紙ニアエンド検出システム。   (Supplementary note 5) The roll paper near-end detection system according to supplementary note 4, wherein the roll paper near-end detection unit identifies and detects a near-end mark by performing image analysis on an image captured by the imaging unit.

(付記6)前記プリンタは、前記ロール紙収容部内に連通する開口部を備えた筐体と、前記筐体内に設けられ、該筐体の前記開口部に連通する開口容器状を呈し、印字を行うべきロール紙を収容するロール紙収容部と、前記筐体の前記開口部に開閉可能に取り付けられたロール紙収容部カバーとをさらに有し、
前記照明部および前記撮像部はそれぞれ、前記筐体の後方側の内壁面上または前記ロール紙収容部カバーの内側面上に取り付けられている付記2乃至5のいずれかに記載のロール紙ニアエンド検出システム。
(Supplementary Note 6) The printer has a casing provided with an opening communicating with the roll paper accommodating portion, and an opening container shape provided in the casing and communicating with the opening of the casing, and performs printing. A roll paper storage unit that stores roll paper to be performed, and a roll paper storage unit cover that is attached to the opening of the housing so as to be opened and closed;
The roll paper near-end detection according to any one of appendices 2 to 5, wherein the illumination unit and the imaging unit are attached on an inner wall surface on the rear side of the casing or on an inner side surface of the roll paper storage unit cover. system.

(付記7)印字を行うべきロール紙を収容するロール紙収容部と、前記ロール紙収容部に収容されたロール紙の紙面に照明光を照射する照明部と、照明光が照射されたロール紙の紙面を撮像する撮像部とを有し、
前記撮像部によって撮像した画像データを上位装置に出力する、もしくは、前記撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出し、検出結果を示す信号を上位装置に出力することを特徴とするプリンタ。
(Appendix 7) A roll paper storage unit for storing roll paper to be printed, an illumination unit for irradiating illumination light onto the surface of the roll paper stored in the roll paper storage unit, and a roll paper irradiated with illumination light An imaging unit for imaging the paper surface of
The image data captured by the imaging unit is output to a higher-level device, or the image captured by the imaging unit is image-analyzed to identify and detect a near-end mark previously attached to the paper surface of the roll paper, A printer that outputs a signal indicating a detection result to a host device.

(付記8)プリンタの内部、外部または内外に亘って装着して使用され、
ロール紙の紙面に照明光を照射する照明部と、照明光が照射されたロール紙の紙面を撮像する撮像部とを有し、
前記撮像部によって撮像した画像データを上位装置に出力する、もしくは、前記撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出し、検出結果を示す信号を上位装置に出力することを特徴とするロール紙ニアエンド検出ユニット。
(Appendix 8) Used by mounting inside, outside or inside and outside the printer,
An illumination unit that irradiates illumination light onto the paper surface of the roll paper, and an imaging unit that images the paper surface of the roll paper irradiated with the illumination light;
The image data captured by the imaging unit is output to a higher-level device, or the image captured by the imaging unit is image-analyzed to identify and detect a near-end mark previously attached to the paper surface of the roll paper, A roll paper near-end detection unit that outputs a signal indicating a detection result to a host device.

(付記9)印字を行うべきロール紙の紙面に照明光を照射する照明工程と、
照明光が照射されたロール紙の紙面を撮像する撮像工程と、
前記撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出するマーク識別工程とを有することを特徴とするロール紙ニアエンド検出方法。
(Additional remark 9) The illumination process which irradiates illumination light to the paper surface of the roll paper which should perform printing,
An imaging step of imaging the surface of the roll paper irradiated with illumination light;
A roll paper near-end detection method, comprising: a mark identifying step of identifying and detecting a near-end mark preliminarily attached to the surface of the roll paper by performing image analysis on an image captured by the imaging unit.

(付記10)印字が終了する毎に、前記照明工程、前記撮像工程および前記マーク識別工程を実行することを特徴とする付記9に記載のロール紙ニアエンド検出方法。   (Supplementary note 10) The roll paper near-end detection method according to supplementary note 9, wherein the illumination process, the imaging process, and the mark identification process are executed every time printing is completed.

(付記11)前記照明部は、ロール紙の紙面の幅方向全域に照明光を照射し、
前記撮像部は、照明光が照射されたロール紙の紙面の幅方向全域を撮像することを特徴とする付記7に記載のプリンタ。
(Additional remark 11) The said illumination part irradiates illumination light to the width direction whole region of the paper surface of roll paper,
The printer according to appendix 7, wherein the imaging unit images the entire width direction of the surface of the roll paper irradiated with illumination light.

(付記12)前記ロール紙収容部は、収容したロール紙の外周面を支持する付記7または11に記載のプリンタ。   (Additional remark 12) The said roll paper accommodating part is a printer of Additional remark 7 or 11 which supports the outer peripheral surface of the accommodated roll paper.

(付記13)前記照明部は、前記ロール紙収容部カバーの内側面上に取り付けられ、前記撮像部は、前記筐体の後方側の内壁面上に取り付けられることを特徴とする付記7、11および12のいずれかに記載のプリンタ。   (Additional remark 13) The said illumination part is attached on the inner surface of the said roll paper accommodating part cover, The said imaging part is attached on the inner wall surface of the back side of the said housing | casing, Additional remarks 7 and 11 characterized by the above-mentioned. And the printer according to any one of 12 above.

(付記14)前記マーク識別工程における識別結果がニアエンドマーク有りである場合に、ロール紙が終端付近である旨を表示および音声の少なくとも一方で報知するニアエンド報知工程をさらに有することを特徴とする付記9または10に記載のロール紙ニアエンド検出方法。   (Additional remark 14) When the identification result in the said mark identification process has a near-end mark, it has further the near-end alerting | reporting process which alert | reports at least one of a display and an audio | voice that a roll paper is near the termination | terminus. The roll paper near-end detection method according to 9 or 10.

(付記15)前記照明工程においては、ロール紙の紙面の幅方向全域に照明光を照射し、
前記撮像工程においては、照明光が照射されたロール紙の紙面の幅方向全域を撮像することを特徴とする付記9、10および14のいずれかに記載のロール紙ニアエンド検出方法。
(Additional remark 15) In the said illumination process, illumination light is irradiated to the whole width direction of the paper surface of roll paper,
15. The roll paper near-end detection method according to any one of appendices 9, 10 and 14, wherein in the imaging step, the entire width direction of the paper surface of the roll paper irradiated with illumination light is imaged.

10、10’ プリンタ
11、11’ プリンタ制御部
11A マーク識別部
12 用紙搬送部
13 印字部
14 用紙切断部
16、A16 LEDランプ
17、A17 カメラ
21 筐体
21A 壁部
22 ロール紙収容部
23 ロール紙収容部カバー
23a 軸
100、100’、100” POS端末装置
110、110’、110” 端末制御部
110A マーク識別部
120、120” 入力部
130 表示部
140 通信部
300 ホスト装置
310 システム制御部
320 通信部
330 表示部
600 ロール紙
600A ニアエンドマーク
A ロール紙ニアエンド検出ユニット
A11 ユニット制御部
A19 通信部
DESCRIPTION OF SYMBOLS 10, 10 'Printer 11, 11' Printer control part 11A Mark identification part 12 Paper conveyance part 13 Printing part 14 Paper cutting part 16, A16 LED lamp 17, A17 Camera 21 Case 21A Wall part 22 Roll paper accommodating part 23 Roll paper Housing part cover 23a Axis 100, 100 ', 100 "POS terminal device 110, 110', 110" Terminal control part 110A Mark identification part 120, 120 "Input part 130 Display part 140 Communication part 300 Host device 310 System control part 320 Communication Section 330 Display section 600 Roll paper 600A Near end mark A Roll paper near end detection unit A11 Unit control section A19 Communication section

Claims (10)

印字データに基づいてロール紙に印字を行うプリンタと、プリンタに印字データを送信するPOS端末装置とを備え、
前記プリンタ内に収容されたロール紙の紙面に照明光を照射しつつ紙面を撮像し、撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出することを特徴とするロール紙ニアエンド検出システム。
A printer that prints on roll paper based on the print data, and a POS terminal device that transmits the print data to the printer,
The paper surface of the roll paper accommodated in the printer is irradiated with illumination light, the paper surface is imaged, and the captured image is analyzed to identify and detect a near-end mark previously attached to the paper surface of the roll paper. A roll paper near-end detection system.
前記プリンタは、ロール紙の紙面に照明光を照射する照明部と、照明光が照射されたロール紙の紙面を撮像する撮像部とを有する請求項1に記載のロール紙ニアエンド検出システム。   2. The roll paper near-end detection system according to claim 1, wherein the printer includes an illumination unit that irradiates illumination light onto a surface of the roll paper, and an imaging unit that captures an image of the paper surface of the roll paper irradiated with the illumination light. 前記プリンタが、前記撮像部によって撮像した画像を画像解析することにより、ニアエンドマークを識別して検出する請求項2に記載のロール紙ニアエンド検出システム。   The roll paper near-end detection system according to claim 2, wherein the printer identifies and detects a near-end mark by analyzing an image captured by the imaging unit. 前記プリンタの内部、外部または内外に亘って装着して使用するロール紙ニアエンド検出ユニットを有し、
前記ロール紙ニアエンド検出ユニットは、前記照明部と、前記撮像部と、該照明部および該撮像部を制御する制御部とを有する請求項2に記載のロール紙ニアエンド検出システム。
A roll paper near-end detection unit used by being mounted on the inside, outside or inside and outside of the printer;
The roll paper near-end detection system according to claim 2, wherein the roll paper near-end detection unit includes the illumination unit, the imaging unit, and a control unit that controls the illumination unit and the imaging unit.
前記ロール紙ニアエンド検出ユニットが、前記撮像部によって撮像した画像を画像解析することにより、ニアエンドマークを識別して検出する請求項4に記載のロール紙ニアエンド検出システム。   The roll paper near-end detection system according to claim 4, wherein the roll paper near-end detection unit identifies and detects a near-end mark by analyzing an image captured by the imaging unit. 前記プリンタは、前記ロール紙収容部内に連通する開口部を備えた筐体と、前記筐体内に設けられ、該筐体の前記開口部に連通する開口容器状を呈し、印字を行うべきロール紙を収容するロール紙収容部と、前記筐体の前記開口部に開閉可能に取り付けられたロール紙収容部カバーとをさらに有し、
前記照明部および前記撮像部はそれぞれ、前記筐体の後方側の内壁面上または前記ロール紙収容部カバーの内側面上に取り付けられている請求項2乃至5のいずれか一項に記載のロール紙ニアエンド検出システム。
The printer includes a housing having an opening communicating with the roll paper storage unit, and a roll paper that is provided in the housing and has an opening container shape communicating with the opening of the housing to perform printing. A roll paper storage portion that is openably and closably attached to the opening of the housing;
The roll according to any one of claims 2 to 5, wherein each of the illumination unit and the imaging unit is mounted on an inner wall surface on a rear side of the casing or on an inner surface of the roll paper storage unit cover. Paper near-end detection system.
印字を行うべきロール紙を収容するロール紙収容部と、前記ロール紙収容部に収容されたロール紙の紙面に照明光を照射する照明部と、照明光が照射されたロール紙の紙面を撮像する撮像部とを有し、
前記撮像部によって撮像した画像データを上位装置に出力する、もしくは、前記撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出し、検出結果を示す信号を上位装置に出力することを特徴とするプリンタ。
Imaging a roll paper storage unit that stores roll paper to be printed, an illumination unit that irradiates illumination light onto the surface of the roll paper stored in the roll paper storage unit, and a paper surface of the roll paper irradiated with illumination light And an imaging unit
The image data captured by the imaging unit is output to a higher-level device, or the image captured by the imaging unit is image-analyzed to identify and detect a near-end mark previously attached to the paper surface of the roll paper, A printer that outputs a signal indicating a detection result to a host device.
プリンタの内部、外部または内外に亘って装着して使用され、
ロール紙の紙面に照明光を照射する照明部と、照明光が照射されたロール紙の紙面を撮像する撮像部とを有し、
前記撮像部によって撮像した画像データを上位装置に出力する、もしくは、前記撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出し、検出結果を示す信号を上位装置に出力することを特徴とするロール紙ニアエンド検出ユニット。
Used by mounting inside, outside or inside / outside of the printer,
An illumination unit that irradiates illumination light onto the paper surface of the roll paper, and an imaging unit that images the paper surface of the roll paper irradiated with the illumination light;
The image data captured by the imaging unit is output to a higher-level device, or the image captured by the imaging unit is image-analyzed to identify and detect a near-end mark previously attached to the paper surface of the roll paper, A roll paper near-end detection unit that outputs a signal indicating a detection result to a host device.
印字を行うべきロール紙の紙面に照明光を照射する照明工程と、
照明光が照射されたロール紙の紙面を撮像する撮像工程と、
前記撮像部によって撮像した画像を画像解析することにより、ロール紙の紙面に予め付されているニアエンドマークを識別して検出するマーク識別工程とを有することを特徴とするロール紙ニアエンド検出方法。
An illumination process for irradiating illumination light onto the surface of the roll paper to be printed;
An imaging step of imaging the surface of the roll paper irradiated with illumination light;
A roll paper near-end detection method, comprising: a mark identifying step of identifying and detecting a near-end mark preliminarily attached to the surface of the roll paper by performing image analysis on an image captured by the imaging unit.
印字が終了する毎に、前記照明工程、前記撮像工程および前記マーク識別工程を実行することを特徴とする請求項9に記載のロール紙ニアエンド検出方法。   The roll paper near-end detection method according to claim 9, wherein the illumination process, the imaging process, and the mark identification process are executed every time printing is completed.
JP2015210850A 2015-10-27 2015-10-27 Roll sheet near end detection system, printer, roll sheet near end detection unit and method for detection of roll sheet near end Pending JP2017081682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015210850A JP2017081682A (en) 2015-10-27 2015-10-27 Roll sheet near end detection system, printer, roll sheet near end detection unit and method for detection of roll sheet near end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015210850A JP2017081682A (en) 2015-10-27 2015-10-27 Roll sheet near end detection system, printer, roll sheet near end detection unit and method for detection of roll sheet near end

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017173813A Division JP6443949B2 (en) 2017-09-11 2017-09-11 Roll paper near-end detection system and printer

Publications (1)

Publication Number Publication Date
JP2017081682A true JP2017081682A (en) 2017-05-18

Family

ID=58712655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015210850A Pending JP2017081682A (en) 2015-10-27 2015-10-27 Roll sheet near end detection system, printer, roll sheet near end detection unit and method for detection of roll sheet near end

Country Status (1)

Country Link
JP (1) JP2017081682A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02103172A (en) * 1988-10-13 1990-04-16 Konica Corp Recording apparatus
JP2006290532A (en) * 2005-04-08 2006-10-26 Seiko Epson Corp Printer
JP2010036375A (en) * 2008-08-01 2010-02-18 Seiko Epson Corp Printing apparatus, printing system, near-end notification method, and control program
JP2011090651A (en) * 2009-10-26 2011-05-06 Sharp Corp Cash register and information output method in the cash register
JP2012153059A (en) * 2011-01-27 2012-08-16 Canon Inc Printing apparatus
JP2014231188A (en) * 2013-05-29 2014-12-11 富士通フロンテック株式会社 Printer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02103172A (en) * 1988-10-13 1990-04-16 Konica Corp Recording apparatus
JP2006290532A (en) * 2005-04-08 2006-10-26 Seiko Epson Corp Printer
JP2010036375A (en) * 2008-08-01 2010-02-18 Seiko Epson Corp Printing apparatus, printing system, near-end notification method, and control program
JP2011090651A (en) * 2009-10-26 2011-05-06 Sharp Corp Cash register and information output method in the cash register
JP2012153059A (en) * 2011-01-27 2012-08-16 Canon Inc Printing apparatus
JP2014231188A (en) * 2013-05-29 2014-12-11 富士通フロンテック株式会社 Printer

Similar Documents

Publication Publication Date Title
JP5509158B2 (en) Image forming system, image forming apparatus, portable terminal
JP4727240B2 (en) Display and / or operation device depending on the projection plane
ATE522889T1 (en) DEVICES FOR QUALITY TESTING OF SHEETS
US9800744B2 (en) Systems and methods for label creation using object recognition
US20080178170A1 (en) Electronic apparatus, printer, program, and consumable
JP2008147816A (en) Image reader
JP2012163870A (en) Electronic apparatus and information display method
JP6443949B2 (en) Roll paper near-end detection system and printer
JP2000036930A5 (en)
JP2019026450A (en) Printing apparatus, printing control method of printing apparatus, and program
EP1301020A3 (en) Printing apparatus, control method therefor, and storage medium
JP2010016563A (en) Mobile terminal
US10356355B2 (en) Display device and method for controlling display device
JP2017081682A (en) Roll sheet near end detection system, printer, roll sheet near end detection unit and method for detection of roll sheet near end
JP6437867B2 (en) RFID tag and RFID tag system
JP2007245591A (en) Printer and printer system
CN110799340B (en) Printing apparatus, printing control method, and recording medium
US20030053154A1 (en) Image checking system
CN111815865A (en) Self-service equipment for government affair service and control method thereof
JP2004025468A5 (en)
JP2001205890A (en) Print system
US11480904B2 (en) Iconographic control panel of an image forming apparatus
JP2007028457A (en) Abnormal component specifying apparatus and image reader
JP2002024760A (en) Character reading method, character reader, and carrier sheet
JP2015108704A (en) Document reader

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170420

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170705