JP3412299B2 - Ticket length detection method for tack seal ticket vending machines - Google Patents

Ticket length detection method for tack seal ticket vending machines

Info

Publication number
JP3412299B2
JP3412299B2 JP31131594A JP31131594A JP3412299B2 JP 3412299 B2 JP3412299 B2 JP 3412299B2 JP 31131594 A JP31131594 A JP 31131594A JP 31131594 A JP31131594 A JP 31131594A JP 3412299 B2 JP3412299 B2 JP 3412299B2
Authority
JP
Japan
Prior art keywords
paper
tack
roll paper
seal
roll
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
JP31131594A
Other languages
Japanese (ja)
Other versions
JPH08143017A (en
Inventor
英次 溝口
貴之 鳥羽
Original Assignee
神鋼電機株式会社
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 神鋼電機株式会社 filed Critical 神鋼電機株式会社
Priority to JP31131594A priority Critical patent/JP3412299B2/en
Publication of JPH08143017A publication Critical patent/JPH08143017A/en
Application granted granted Critical
Publication of JP3412299B2 publication Critical patent/JP3412299B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Labeling Devices (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えば、事務手続き等
の手数料を証紙によって納付する場合に、この証紙とし
て使用するタックシールの券売機の券長検出方法に係わ
り、特に、タックシールの券長を自動計測し、この券長
をタックシール券売機の制御に使用することによって、
タックシールの有効活用を可能ならしめるタックシール
券売機における券長検出方法に関する。なお、本明細書
ではタックシールとは所定の印刷がなされ発券状態に完
成されたシールを、またタックシール用紙とは印刷前の
ものを、更に、ロール紙とは複数のタックシール用紙が
所定間隔で接着されローラに巻かれたものをいう。ま
た、1枚ずつのタックシール用紙を含んで切断すべきロ
ール紙の長手方向の長さをタックシール用紙の券長と称
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ticket length detecting method for a vending machine of a tack seal used as a voucher when paying a fee for office work, etc. By automatically measuring the length and using this ticket length to control the tack seal ticket vending machine,
The present invention relates to a ticket length detection method for a tack seal ticket vending machine that enables effective use of the tack seal. In this specification, a tack seal is a seal that is printed in a predetermined state and is completed in a ticketing state, a tack seal paper is a pre-printed seal, and a roll paper is a plurality of tack seal papers at predetermined intervals. It is the one that is adhered with and wound on a roller. The length in the longitudinal direction of the roll paper to be cut, including the individual sticker sheets, is referred to as the sticker sheet length.

【0002】[0002]

【従来の技術】図4に、本発明を適用する券売装置の概
要構造を示している。図4(A)において、1はタック
シール用紙を所定間隔で接着したロール紙であって、リ
ール2に巻かれている。ロール紙1は送りローラ3とそ
の従動ローラ3aとによって送り出され、カッタ4によ
って夫々1枚ずつのタックシール用紙を含むように切断
される。同図(B)は送り出されたロール紙の平面図で
あって、タックシール用紙1aが所定の等間隔で接着さ
れ、隣接する各タックシール用紙の中間にはマーク1b
が印刷されている。上述したカッタ4はマーク1b部を
切断するように制御されている。
2. Description of the Related Art FIG. 4 shows a schematic structure of a ticket selling device to which the present invention is applied. In FIG. 4 (A), reference numeral 1 is a roll paper to which tack seal paper is adhered at a predetermined interval and is wound around a reel 2. The roll paper 1 is sent out by the feed roller 3 and its driven roller 3a, and cut by the cutter 4 so as to include one tack seal sheet each. FIG. 2B is a plan view of the roll paper sent out, in which the tack seal paper 1a is adhered at a predetermined equal interval, and the mark 1b is provided between the adjacent tack seal papers.
Is printed. The cutter 4 described above is controlled so as to cut the mark 1b portion.

【0003】図4(A)及び(B)において、切断され
たロール紙1に接着されたタックシール用紙1aにはプ
ラテンローラ5の補助でサーマルヘッド6により券購入
希望者の操作によって入力された所定の文字が印刷され
る。例えば、タックシールが事務手続き等の手数料納付
用に使用される場合は、タックシール購入者が支払った
所定の金額が印刷される。従って、タックシール券売機
の発券受口には、所定の文字を印刷したタックシールを
接着したままで切断されたロール紙が放出される。タッ
クシールの購入者は切断されたロール紙からこのタック
シールを剥がし、所定の事務手続用用紙に貼付して窓口
に提出する。
In FIGS. 4 (A) and 4 (B), the tack seal paper 1a adhered to the cut roll paper 1 is input by a ticket purchaser's operation by the thermal head 6 with the assistance of the platen roller 5. Predetermined characters are printed. For example, when the tack seal is used for payment of fees such as office work, the predetermined amount paid by the tack seal purchaser is printed. Therefore, the roll paper cut while the tack seal on which the predetermined character is printed is adhered is discharged to the ticket issuing slot of the tack seal ticket vending machine. The purchaser of the tack seal removes the tack seal from the cut roll paper, attaches it to the prescribed office paper, and submit it to the counter.

【0004】[0004]

【発明が解決しようとする課題】上述したロール紙に接
着されたタックシールの券長はタックシール等の用途に
よって異なるが、従来のものではマーク部を目安にして
タックシールのない部分を判断して切断するようにして
いた。しかしながら、タックシール券売機は1日分の売
上結果を簡単な方法でリストとしてプリントアウトする
ことが望まれており、この印刷対象としてロール紙が有
効に使用できるが、リストとしての印刷長さは一般にタ
ックシール複数枚分の長さになる上、この印刷パターン
(印刷フォーマット)とタックシールとしての印刷フォ
ーマットが異なり、しかも、タックシールの券長がその
用途で異なるため、リストとして適切な箇所に印刷でき
ず、タックシールに印刷すべきフォーマットが2枚以上
のタックシール用紙に亙るような場合には印刷文字の中
間を切断するような恐れがあるため、ロール紙を売上結
果の清算用リスト用紙として使用することは困難であっ
た。また、上記のような目的のためには、タックシール
としての印刷文字よりも大きいサイズの文字を印刷する
要望も発生するが、文字のサイズを大きくすると、タッ
クシール用紙から文字がはみ出す恐れもあった。そのた
めに、ロール紙に接着されているタックシール用紙の券
長を予め計測し、上記のようなタックシール1枚に収ま
りきれないような場合には、文字がはみ出さないような
適切な長さの、複数枚のタックシール用紙に自動的に
割して印刷し且つ元のデータ群に配慮したロール紙の切
断をする方法が望まれていた。本発明は従来のものの上
記課題(問題点)を解決し、印刷内容が多い場合にも複
数枚のタックシール用紙に印刷内容を適切に分割し印刷
した上、ロール紙を細分切断することなく適切な長さで
切断することを可能にするためのタックシール券売機に
おける券長検出方法を提供することを目的とする。
The length of the tack seal adhered to the above-mentioned roll paper differs depending on the application such as the tack seal. In the conventional one, the mark portion is used as a guide to judge the portion without the tack seal. I was trying to cut it. However, it is desired that the tack seal ticket vending machine print out the sales results for one day as a list by a simple method. The roll paper can be effectively used as the print target, but the print length as a list is In general, the length of multiple tack seals is different, and this print pattern (print format) and the print format of the tack seal are different, and the ticket length of the tack seal is different depending on its use. If you cannot print and the format to be printed on the tack sticker is more than two sheets of tack sticker paper, there is a risk of cutting the middle of the printed characters, so use roll paper as a list sheet for clearing sales results. Was difficult to use as. In addition, for the above-mentioned purpose, there is a demand for printing a character having a size larger than a character to be printed as a tack label, but if the size of the character is increased, the character may stick out from the tack label paper. It was For this reason, the length of the tack-stick paper adhered to the roll paper is measured in advance, and if the tack-stick paper cannot fit on one sheet of the sticker as described above, an appropriate length that prevents characters from protruding Of the roll paper that is automatically divided and printed on multiple sheets of tack seal paper and that considers the original data group.
How to the disconnection has been desired. The present invention solves the above-mentioned problems (problems) of the conventional one, and even when there are many print contents, the print contents are appropriately divided and printed on a plurality of tack seal papers, and the roll paper is appropriately cut without subdivision. Length
An object of the present invention is to provide a ticket length detecting method in a tack seal ticket vending machine that enables cutting .

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
に、本発明に基づくタックシール券売機における券長検
出方法においては、タックシール用紙を所定間隔を隔て
て接着したロール紙のタックシール用紙間を切断するタ
ックシール券売機の切断機能において、ロール紙を送り
ローラによって送り出し、上記ロール紙の先端を検知し
た後、上記ロール紙のタックシール用紙間の所定位置を
2回ないし所定回数検知するまでのロール紙の移動距離
を送りローラの回転速度と半径から算出し、この移動距
離によりタックシール用紙の券長を検出する結果を利用
した制御からの指令によりロール紙の切断長を計算し以
降のロール紙の切断を行うようにして、上記ロール紙に
接着されたタックシール用紙を所定枚数毎に切断する
うにした。この場合、タックシール用紙を所定間隔を隔
てて接着し、切断箇所を指定するマークを付したロール
紙の上記切断箇所を切断するタックシール券売機の切断
機能においては、送りローラによって送り出されるロー
ル紙上のマークを検知するマークセンサを所定箇所に設
け、上記ロール紙の先端を検知した後、該マークセンサ
によって上記ロール紙上のマークを所定回数検知するま
でに、送りローラの回転によって移送されるロール紙の
所定移動距離に対応するローラの回転単位ごとに出力さ
たパルスをカウントし、このカウント量によって得ら
れる移動距離をロール紙の切断長として以降のロール紙
の切断を行うようにして上記ロール紙に接着されたタッ
クシール用紙を所定枚数毎に切断するようにした。
In order to solve the above problems, in a ticket length detecting method for a tack sticker ticket vending machine according to the present invention, a tack sticker paper is a roll paper to which tack sticker paper is adhered at a predetermined interval. In the cutting function of the tack seal ticket vending machine that cuts the gap, the roll paper is fed by the feed roller and the leading edge of the roll paper is detected.
After that, the moving distance of the roll paper until the predetermined position between the tack seal paper of the roll paper is detected twice or a predetermined number of times is calculated from the rotation speed and the radius of the feed roller, and the ticket of the tack seal paper is calculated based on this moving distance. Use the result of detecting the length
The cut length of the roll paper is calculated by the command from the control
The roll paper is cut so that the roll paper
The adhered tack seal paper was cut into a predetermined number of sheets . In this case, tuck seal paper should be
In the cutting function of the tack seal ticket vending machine, which cuts the above-mentioned cut point of the roll paper with the mark that specifies the cut point, the mark sensor that detects the mark on the roll paper sent by the feed roller is set at a predetermined position. The rotation of the roller corresponding to the predetermined movement distance of the roll paper transported by the rotation of the feed roller until the mark sensor detects the mark on the roll paper a predetermined number of times after detecting the leading edge of the roll paper. Output for each unit
The number of pulses generated is counted and obtained by this count amount .
The roll paper for the subsequent roll paper is defined as the moving distance
Cut the tape, and the
The seal paper is cut every predetermined number of sheets .

【0006】[0006]

【作用】本発明は、上述のように、送りローラによって
送り出されるロール紙に接着されたタックシール用紙間
の中間位置等の所定位置を2回検知するまでのロール紙
の移動距離を送りローラの回転速度と半径から算出し、
この移動距離によりタックシール用紙の券長を検出する
ようにしたのでタックシール用紙の券長を正確に検出で
きる。さらに、ロール紙上のマークを2個検知するまで
に送りローラの回転単位ごとに出力されるパルスをカウ
ントし、このカウント量からタックシール用紙の券長を
検出できる。例えば、カウント量にパルス当たりのロー
ル紙の移動距離を積算し、この積算値をタックシール用
紙の券長と算出するようにすると容易に実現できる。従
って、この券長寸法を用いて、印刷文字の大きさとも対
応させ、印刷する行間ピッチ(または文字間ピッチ)及
び各タックシールに印刷すべき行数(または文字数)を
算出決定し、タックシール用紙から印刷がはみださない
ように印刷を実行することが可能になる。また、タック
シール用紙を誤りなく切断できる。
According to the present invention, as described above, the moving distance of the roll paper until the predetermined position such as the intermediate position between the tack seal sheets adhered to the roll paper fed by the feed roller is detected twice is determined. Calculated from rotation speed and radius,
Since the bill length of the tack sticker paper is detected based on this moving distance, the bill length of the tack sticker paper can be accurately detected. Further, the number of pulses output for each rotation unit of the feed roller is counted until two marks on the roll paper are detected, and the ticket length of the tack sticker paper can be detected from this count amount. For example, this can be easily realized by integrating the count amount with the moving distance of the roll paper per pulse and calculating the integrated value as the bill length of the tack sticker paper. Therefore, using this ticket length dimension, the pitch between lines to be printed (or the pitch between characters) and the number of lines (or the number of characters) to be printed on each tack sticker are calculated and determined in correspondence with the size of the printed characters, and the tack sticker is determined. It is possible to execute printing so that the printing does not overflow from the paper. Further, the tack seal paper can be cut without error.

【0007】[0007]

【実施例】以下本発明を図1乃至図3に示す実施例1及
び実施例2によって具体的に説明する。図1(A)は本
発明を適用したタックシール券売機の概要構成を示すも
ので、従来のものに対応するものについては図4と同一
の符号を使用し詳細な説明を省略する。なお、ロール紙
の所定間隔を隔てて接着したタックシール用紙間の中間
位置にはマークが付されるものとし、また、タックシー
ル用紙間の中間位置を検知するタックシール用紙センサ
をマークセンサと称し、タックシール用紙への印刷機能
をサーマルヘッドとして説明する。その他の方式に対し
てはその方式に対応し、以下の説明を適用すれば良い。
図1(A)において、7はロール紙1のマーク1bを検
知するマークセンサで、8はロール紙の先端部を検知す
る先端部検知用センサである。マークセンサ、先端部検
知用センサのいずれのセンサも光学的センサを適用させ
れば良い。なお、同図において、2はロール紙が巻かれ
ているリール、3は送りローラ、3aはその従動ロー
ラ、4はカッタ、5はプラテンローラ、6はサーマルヘ
ッドである。図1(B)に、同図(A)に示すタックシ
ール券売機の制御装置における本発明を実現するのに必
要な要素機能の概要構成をブロック図によって示してい
る。同図(B)において、10はこの切断機能を含むタ
ックシール券売機の制御装置に内蔵されるバスライン
で、11はバスラインに接続する情報処理機能の主体と
しての機能を備えたCPU(Central Proc
essor Unit)である。12は自動券売機の制
御を実行するのに必要なプログラムやデータ類を記録し
た第1の記憶機能で、13はCPUがその機能を実行す
る過程等で実行され作成されるデータ類を記録する第2
の記憶機能である。マークセンサ7、ロール紙の先端部
検知用センサ8は入力インタフェース14を介してバス
ライン10に接続している。また、バスライン10は第
1の出力インタフェース15を介してパルスモータ駆動
機能16に結合し、パルスモータ駆動機能16は送りロ
ーラ3とプラテンローラ5等ロール紙を移送するのに用
いるローラ類を駆動するパルスモータ17を駆動してい
る。また、バスライン10は第2の出力インタフェース
18を介して印字制御機能6Aに結合され、印字制御機
能6Aはサーマルヘッド6によってサーマルヘッド6の
下方を通過するロール紙1に接着したタックシール用紙
に印刷する。また、タックシール購入希望者が操作する
操作機能や現金計算機能、これらの操作の結果等を表示
する表示機能等を備えた操作盤19が操作盤用インタフ
ェース機能19Aを介してバスライン10に接続してい
る。図1(B)には本発明の実施例の説明に直接関係し
ない、上述以外の要素機能とインタフェース関連等の記
載は省略している。また、各インタフェースや記憶機能
は夫々の機能に対応するように説明しているが、その使
用する半導体要素素子等の構成機能に対応して適切に分
担使用したものである。
EXAMPLES The present invention will be specifically described below with reference to Examples 1 and 2 shown in FIGS. FIG. 1 (A) shows a schematic structure of a tack seal ticket vending machine to which the present invention is applied, and those corresponding to the conventional one are denoted by the same reference numerals as those in FIG. 4 and their detailed description is omitted. It should be noted that a mark is put at an intermediate position between the tack seal sheets adhered at a predetermined interval on the roll paper, and a tack seal sheet sensor that detects the intermediate position between the tack seal sheets is called a mark sensor. The function of printing on tack seal paper will be described using a thermal head. For the other methods, the following description may be applied corresponding to the method.
In FIG. 1 (A), 7 is a mark sensor for detecting the mark 1b of the roll paper 1, and 8 is a front end detection sensor for detecting the front end of the roll paper. An optical sensor may be applied to both the mark sensor and the tip end detection sensor. In the figure, 2 is a reel around which roll paper is wound, 3 is a feed roller, 3a is a driven roller thereof, 4 is a cutter, 5 is a platen roller, and 6 is a thermal head. FIG. 1B is a block diagram showing a schematic configuration of element functions necessary for realizing the present invention in the control device of the tack seal ticket vending machine shown in FIG. In FIG. 1B, 10 is a bus line incorporated in the control device of the tack seal ticket vending machine including this disconnecting function, and 11 is a CPU (Central) having a function as an information processing main body connected to the bus line. Proc
essor Unit). Reference numeral 12 is a first storage function that records programs and data necessary for executing control of the automatic ticket vending machine, and 13 records data that is created by being executed in a process in which the CPU executes the functions. Second
The memory function of. The mark sensor 7 and the roll paper leading edge detecting sensor 8 are connected to the bus line 10 via an input interface 14. Further, the bus line 10 is coupled to the pulse motor driving function 16 via the first output interface 15, and the pulse motor driving function 16 drives the rollers such as the feed roller 3 and the platen roller 5 which are used to transfer the roll paper. The pulse motor 17 is driven. Further, the bus line 10 is coupled to the print control function 6A via the second output interface 18, and the print control function 6A is a tack seal paper adhered to the roll paper 1 passing below the thermal head 6 by the thermal head 6. Print. Further, an operation panel 19 having an operation function operated by a person who desires to purchase a tack seal, a cash calculation function, a display function for displaying a result of these operations, and the like is connected to the bus line 10 via an interface function 19A for the operation panel. is doing. In FIG. 1B, description of element functions and interface other than those described above which are not directly related to the description of the embodiment of the present invention is omitted. Further, although the respective interfaces and the storage functions are described so as to correspond to the respective functions, they are appropriately shared and used in accordance with the constituent functions of the semiconductor element elements and the like used therein.

【0008】実施例1:次に、図2に示すフローチャー
トによって図1に示す構成の働きを詳細に説明する。ロ
ール紙1を自動券売機の所定箇所に装着し、図1(B)
に示す第1の記憶機能12に記録された初期プログラム
の実行を開始する(ステップS1)。初期プログラムの
実行が開始されると、同じく第1の記憶機能12に記録
された券長算出プログラムの実行が開始される(ステッ
プS2)。先ず、CPU11の働きにより、第1の記憶
機能12に記録されたパルス発振条件に従って、第2の
記憶機能13の所定領域に形成された所定数のカウンタ
を夫々リセットされる(ステップS3)。また、パルス
モータ駆動機能16は所定ピッチでパルスモータ17に
対応する所定のパルスモータ駆動パルスを出力する。従
って、パルスモータ17はこのパルスピッチに従った回
転速度で送りローラ3を回転してロール紙1の送り出し
を始め、このロール紙1に接着されたタック用紙の送り
が開始される(ステップS3)。
Embodiment 1 Next, the operation of the configuration shown in FIG. 1 will be described in detail with reference to the flow chart shown in FIG. Attach the roll paper 1 to the specified location of the automatic ticket vending machine, and
The execution of the initial program recorded in the first storage function 12 shown in is started (step S1). When the execution of the initial program is started, the execution of the bill length calculation program also recorded in the first storage function 12 is started (step S2). First, the operation of the CPU 11 resets a predetermined number of counters formed in a predetermined area of the second memory function 13 according to the pulse oscillation conditions recorded in the first memory function 12 (step S3). Further, the pulse motor drive function 16 outputs a predetermined pulse motor drive pulse corresponding to the pulse motor 17 at a predetermined pitch. Therefore, the pulse motor 17 starts to feed the roll paper 1 by rotating the feed roller 3 at the rotation speed according to the pulse pitch, and the feed of the tack paper adhered to the roll paper 1 is started (step S3). .

【0009】次に、送られるロール紙1の先端部をロー
ル紙1の先端部検知用センサ8が検知した後(ステップ
S4)、最初にマークセンサ7がマーク1bを検知する
と(ステップS5)、CPU11は前述した第2の記憶
機能13の所定領域に形成した所定数のカウンタの内の
マークセンサ7の下を通過するタックシール用紙1aの
枚数をカウントする枚数カウンタに1を入力する(ステ
ップS6)。枚数カウンタの内容を判定し、1であると
(ステップS7)、CPU11は前述した第2の記憶機
能13に形成したカウンタの内のパルスカウンタ(カウ
ンタと略称する)に予め設定された数値Nをセットす
る(ステップS8)。この数値Nはマークセンサ7の下
にあったロール紙位置がカッタ4の位置に送られる間に
パルスモータ17に送られるパルス数(例えば720)
に等しくなるようにし、第1の記憶機能12に予め記録
させておくものとする。以下、CPU11の働きでパル
スモータ17にパルスが送られるのと同時にカウンタ
から1ずつ減算する(ステップS9)。さらに、マーク
センサ7がマーク1bを検知すると、前述と同様、枚数
カウンタに1を入力する。
Next, after the front end of the roll paper 1 to be fed is detected by the front end detection sensor 8 of the roll paper 1 (step S4), when the mark sensor 7 first detects the mark 1b (step S5), The CPU 11 inputs 1 to the number counter for counting the number of the tack sticker sheets 1a passing under the mark sensor 7 in the predetermined number of counters formed in the predetermined area of the second storage function 13 described above (step S6). ). The content of the number counter is judged, and if it is 1 (step S7), the CPU 11 sets a preset numerical value N to the pulse counter (abbreviated as a counter) of the counters formed in the second memory function 13 described above. Set (step S8). This numerical value N is the number of pulses (for example, 720) sent to the pulse motor 17 while the roll paper position under the mark sensor 7 is sent to the position of the cutter 4.
And is recorded in the first storage function 12 in advance. Thereafter, the CPU 11 works to send a pulse to the pulse motor 17 and at the same time, subtracts 1 from the counter (step S9). Further, when the mark sensor 7 detects the mark 1b, 1 is input to the number counter as in the above.

【0010】次に、CPU11は枚数カウンタの内容を
判定し、1でないと、2であるか否かを判定し(ステッ
プS10)、2であると判定すると、第2の記憶機能1
3に形成した前述とは別のカウンタに数値Nをセット
する(ステップS11)。CPU11は、直ちに、カウ
ンタの内容値からカウンタの内容値を減算する(ス
テップ12)。数値Nから直接、カウンタの内容値を
減算するようにしても良い。この減算結果に、予め第1
の記憶機能12に記録したこの券売装置の機構条件及び
駆動機構から定まるパルス当たりのロール紙の移動距離
を積算し(ステップS13)、積算結果を券長と検出し
て第2の記憶機能13の所定の番地に記憶させて券長算
出プログラムを完了する(ステップS14)。さらに、
ロール紙1が送られてマークセンサ7がマーク1bを検
知し、枚数カウンタに1を加えて枚数カウンタの内容値
が2以上になると、第1の記憶機能12に記録された所
定のプログラム内容の条件に従って、券長算出プログラ
ム以外の初期プログラムが実行される(ステップS1
5)。券長算出プログラムの完了後も初期プログラムに
よって各要素機能の働きが継続し(ステップS16)、
上述したようにその他の処理が継続実行される。券売装
置に構成された処理機能が、上述の1パルスそのままを
長さの単位として、カウンタの内容値からカウンタ
の内容値を減算した結果をそのまま使用するようにして
いる場合は、カウンタの内容値からカウンタの内容
値を減算した結果にパルス当たりのロール紙の移動距離
を積算する必要はない。
Next, the CPU 11 judges the contents of the number counter, and if it is not 1, judges whether it is 2 (step S10), and when it judges that it is 2, the second memory function 1
A numerical value N is set in a counter different from the one described above formed in 3 (step S11). The CPU 11 immediately subtracts the content value of the counter from the content value of the counter (step 12). The content value of the counter may be subtracted directly from the numerical value N. This subtraction result has the first
The moving distance of the roll paper per pulse determined by the mechanical condition of the ticket selling device and the driving mechanism recorded in the memory function 12 is integrated (step S13), the integrated result is detected as the ticket length, and the second memory function 13 It is stored in a predetermined address and the bill length calculation program is completed (step S14). further,
When the roll paper 1 is fed, the mark sensor 7 detects the mark 1b, and when the content value of the number counter becomes 2 or more by adding 1 to the number counter, a predetermined program content recorded in the first storage function 12 is detected. Initial programs other than the bill length calculation program are executed according to the conditions (step S1).
5). Even after the completion of the ticket length calculation program, the function of each element function is continued by the initial program (step S16),
Other processes are continuously executed as described above. If the processing function configured in the ticket selling device uses the result obtained by subtracting the content value of the counter from the content value of the counter with the above-mentioned one pulse as a unit of length, the content value of the counter is used as it is. It is not necessary to add the moving distance of the roll paper per pulse to the result of subtracting the content value of the counter from.

【0011】実施例2:上述とは別の実施例2を図3に
示す。実施例1においては、2個のカウンタの内容値の
差によって券長を算出するように説明したが、実施例2
においては、送られるロール紙1の先端部をロール紙の
先端部検知用センサ8が検知した後、マークセンサ7が
マーク1bを検知するとパルスモータ17に送られるパ
ルスに対応して、リセットされた所定のカウンタにパル
スを入力して計数していき、2回目のマークセンサ7に
よるマーク1bの検知によって、このカウンタのカウン
トアップを停止しその内容値によって券長を検出する。
具体的には図3のフローチャートに示したステップS1
乃至ステップS13のように行われる。本実施例では実
施例1と同様、枚数カウンタを使用するように説明した
が、券長算出プログラムの完了後では、枚数カウンタを
使用しない場合は、マーク検知の回数を判定するのに、
1回目のマーク検知でセットし、2回目のマーク検知で
リセットするフリップフロップを使用し、このフリップ
フロップのセット中カウンタへの計数を実行するように
しても良い。
Second Embodiment FIG. 3 shows a second embodiment different from the above. In the first embodiment, the bill length is calculated based on the difference between the content values of the two counters, but the second embodiment is described.
When the mark sensor 7 detects the mark 1b after the front end of the roll paper 1 is detected by the roll paper front end detection sensor 8, the pulse motor 17 is reset in response to the pulse sent to the pulse motor 17. A pulse is input to a predetermined counter to count, and when the mark sensor 1b is detected by the mark sensor 7 for the second time, counting up of this counter is stopped and the bill length is detected by the content value.
Specifically, step S1 shown in the flowchart of FIG.
It is performed as in step S13. In the present embodiment, as in the first embodiment, the description is made using the number counter, but after the completion of the ticket length calculation program, if the number counter is not used, the number of mark detections is determined.
It is also possible to use a flip-flop that is set by the first mark detection and reset by the second mark detection, and count the counter during setting of this flip-flop.

【0012】上述した実施例の説明において計測される
のは、前述したように、正しいタックシール用紙の長さ
ではなく、ロール紙の部分も含んだ長さである。従っ
て、タックシール用紙に印刷すべき文字の配置決定時に
縁の寸法に余裕を見込むようにしておくか、タックシー
ル用紙を含まないロール紙の部分の寸法を予め明確にし
て記録しておくことによって、タックシール用紙に正し
く印刷することが可能である。また、ロール紙に接着し
たタックシール用紙と地紙とを判別できるセンサによっ
て、切断すべきロール紙の位置とロール紙とタックシー
ル用紙との境目位置の両方を検知し、ロール紙の地紙の
幅を実施例によって上述した方法に準じて行ってタック
シール用紙の位置に正しく印刷するようにすることも可
能である。
As described above, what is measured in the above description of the embodiment is not the correct length of the tack seal paper, but the length including the roll paper portion. Therefore, when deciding the layout of the characters to be printed on the tack sticker paper, allow margin for the edge size, or by clearly recording the size of the roll paper part not including the tack sticker paper in advance, It is possible to print correctly on sticker paper. In addition, a sensor that can distinguish between the tack seal paper and the base paper adhered to the roll paper detects both the position of the roll paper to be cut and the boundary position between the roll paper and the tack seal paper, and It is also possible to perform the width in accordance with the method described above according to the embodiment so that the position is properly printed on the tack seal paper.

【0013】上述の説明は本発明の技術思想を実現する
ための基本手法と構成を示したものであって、種々応用
改変することができることは当然である。例えば、上述
した実施例ではCPU等によるソフト処理によって実行
されるように説明したが、夫々の要素機能を専用に構成
したハードウエアによって実行するようにしても、ハー
ドウエアとソフトウエア夫々の担当する処理内容を適切
に分割させるようにしても良い。また、送りローラ3を
パルスモータ17によって駆動し、この駆動用のパルス
をカウントして券長を算出するように説明したが、送り
ローラ3をパルスモータ以外のモータによって駆動し、
送りローラ等に結合したパルスエンコーダ等から出力さ
れるパルスをカウントして券長を算出するようにしても
良いし、アブソリュートのエンコーダ等から直接算出す
るようにしても良い。また、マーク1bを付したロール
紙を使用した例について説明したが、接着したタックシ
ール用紙と地紙とを判別できるセンサによって、接着し
たタックシール用紙間の中間位置を検知するようにして
も良い。
The above description shows the basic method and configuration for realizing the technical idea of the present invention, and it is needless to say that it can be applied and modified in various ways. For example, in the above-described embodiment, the explanation is made such that it is executed by the software processing by the CPU or the like, but even if each element function is executed by dedicated hardware, each of the hardware and software takes charge. The processing content may be appropriately divided. Further, although the feed roller 3 is driven by the pulse motor 17 and the driving pulse is counted to calculate the bill length, the feed roller 3 is driven by a motor other than the pulse motor.
The pulse length may be calculated by counting the pulses output from a pulse encoder or the like coupled to the feed roller or the like, or may be calculated directly from an absolute encoder or the like. Further, although the example in which the roll paper with the mark 1b is used has been described, the intermediate position between the adhered tack seal papers may be detected by the sensor capable of discriminating between the adhered tack seal paper and the base paper. .

【0014】[0014]

【発明の効果】本発明は上述のような方法によってタッ
クシール用紙の券長を算出するようにしたので、算出し
た券長値を使用して、印刷する文字のサイズに対応して
各タックシール用紙に印刷すべき行間ピッチ(または文
字間ピッチ)及び行数(または文字数)を算出決定し、
タックシール用紙から印刷がはみださないようにタック
シールとしての所要の事項を適切に印刷することが可能
になるという優れた効果を有する。又ロール紙に接着さ
れているタックシール用紙の券長を予め計測し、タック
シール1枚に収まりきれないような場合には、文字がは
み出さないような適切な長さの、複数枚のタックシール
用紙に自動的に分割して印刷し且つ元のデータ群に配慮
したロール紙の切断をする方法を解決し、精算時等印刷
内容が多い場合にも複数枚のタックシール用紙に印刷内
容を適切に分割し印刷した上、ロール紙を細分切断する
ことなく適切な長さで切断することをタックシール券売
機において可能にした。
According to the present invention, the bill length of the tack sticker sheet is calculated by the above-described method. Therefore, the calculated stick length value is used to correspond to the size of the character to be printed. Calculate and determine the line pitch (or character pitch) and line number (or character number) that should be printed on the paper,
It has an excellent effect that it is possible to appropriately print necessary items as a tack seal so that printing does not overflow from the tack seal paper. Also adhered to roll paper
Pre-measure the ticket length of the tack sticker paper, and
If the stickers cannot fit on one sheet, the characters will be
Multiple tack seals of appropriate length to prevent protrusion
Automatically divides and prints on paper and considers the original data group
Solved the method of cutting the rolled paper and printed at the time of payment
Even if there is a lot of content, print it on multiple sticker sheets.
Appropriately divide the volume and print it, then cut the roll paper into smaller pieces
Tack seal ticket sales that can be cut at an appropriate length without
Made possible in the machine.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の基本構成を示すもので、同図(A)は
本発明を適用するタックシール券売機の概要構造を示す
側面図、同図(B)は制御装置の概要ブロック図であ
る。
FIG. 1 is a side view showing a basic structure of a tack-seal ticket vending machine to which the present invention is applied, showing a basic configuration of the present invention, and FIG. 1 (B) is a schematic block diagram of a control device. is there.

【図2】本発明を適用したタックシール券売機における
券長検出方法の実施例1を説明するフローチャートであ
る。
FIG. 2 is a flowchart illustrating a first embodiment of a bill length detecting method in a tack seal ticket vending machine to which the present invention is applied.

【図3】本発明を適用したタックシール券売機における
券長検出方法の実施例2を説明するフローチャートであ
る。
FIG. 3 is a flowchart illustrating a second embodiment of a bill length detection method in a tack seal ticket vending machine to which the present invention is applied.

【図4】従来例を示すもので同図(A)はタックシール
券売機の概要構造の側面図、同図(B)はタックシール
用紙を接着したロール紙を示す平面図である。
FIG. 4 shows a conventional example, FIG. 4A is a side view of a schematic structure of a tack seal ticket vending machine, and FIG. 4B is a plan view showing a roll paper to which tack seal paper is adhered.

【符号の説明】[Explanation of symbols]

1:ロール紙 1a:タックシール用紙 1b:マーク 3:送りローラ 4:カッタ 6:サーマルヘッド(印刷機能) 7:マークセンサ(タックシール用紙センサ) 8:ロール紙の先端部検知用センサ 11:CPU 12、13:記憶機能 17:パルスモータ(モータ) 1: Roll paper 1a: Tack sticker paper 1b: Mark 3: Feed roller 4: Cutter 6: Thermal head (printing function) 7: Mark sensor (tack sticker paper sensor) 8: Sensor for detecting the leading edge of roll paper 11: CPU 12, 13: Memory function 17: Pulse motor (motor)

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B65C 9/40 B41J 11/42 B65C 9/18 Front page continuation (58) Fields surveyed (Int.Cl. 7 , DB name) B65C 9/40 B41J 11/42 B65C 9/18

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 タックシール用紙を所定間隔を隔てて接
着したロール紙のタックシール用紙間を切断するタック
シール券売機の切断機能において、 当該ロール紙を送りローラによって送り出し、上記ロー
ル紙の先端を検知した後、上記ロール紙のタックシール
用紙間の所定位置を2回検知するまでのロール紙の移動
距離を上記送りローラの回転速度と半径から算出し、該
移動距離によりタックシール用紙の券長を検出する結果
を利用した制御からの指令によりロール紙の切断長を計
算し以降のロール紙の切断を行うようにして、上記ロー
ル紙に接着されたタックシール用紙を所定枚数毎に切断
するようにしたことを特徴とするタックシール券売機に
おける券長検出方法。
1. A tack seal vending machine cutting function for cutting the inter-tack sealed paper tack seal roll paper adhered at predetermined intervals sheet feed by the feed roller the paper roll, the low
After the leading edge of the roll paper is detected, the moving distance of the roll paper until the predetermined position between the sticker sheets of the roll paper is detected twice is calculated from the rotation speed and the radius of the feed roller, and the tacking is performed based on the moving distance. Result of detecting sticker length of sticker paper
Measures the cut length of roll paper according to a command from the control using
Calculated and so as to perform the cutting of the subsequent roll paper, the low
Cut tuck sticker paper adhered to the rule paper every predetermined number
A method of detecting a ticket length in a tuck seal ticket vending machine, which is characterized in that
【請求項2】 タックシール用紙を所定間隔を隔てて接
着し、切断箇所を指定するマークを付したロール紙の上
記切断箇所を切断するタックシール券売機の切断機能に
おいて、 送りローラによって送り出される上記ロール紙上のマー
クを検知するマークセンサを所定箇所に設け、上記ロー
ル紙の先端を検知した後、該マークセンサによって上記
ロール紙上のマークを所定回数検知するまでに、上記の
送りローラの回転によって移送される上記ロール紙の所
定移動距離に対応するローラの回転単位ごとに出力さ
たパルスをカウントし、このカウント量によって得られ
る移動距離をロール紙の切断長として以降のロール紙の
切断を行うようにして上記ロール紙に接着されたタック
シール用紙を所定枚数毎に切断するようにしたことを特
徴とするタックシール券売機における券長検出方法。
2. In a cutting function of a tack-seal ticket vending machine for adhering tack-seal paper at predetermined intervals, and cutting the cut portion of a roll paper having a mark for designating the cut portion, the tack-seal paper is sent out by a feed roller. It provided a mark sensor for detecting a mark on the paper roll at a predetermined position, the low
After detecting the leading edge of the roll paper, the by the mark sensor
A mark on the paper roll until a predetermined number of times detected by counting the pulse was outputted <br/> per rotation unit of the roller corresponding to a predetermined travel distance of the roll paper is transported by the rotation of the feed roller Obtained by this count amount
Set the moving distance to the cutting length of the roll paper
Tack glued to the above roll paper so that it cuts
The special feature is that the sticker paper is cut every specified number of sheets.
A method of detecting a ticket length in a vending sticker ticket vending machine.
JP31131594A 1994-11-22 1994-11-22 Ticket length detection method for tack seal ticket vending machines Expired - Fee Related JP3412299B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31131594A JP3412299B2 (en) 1994-11-22 1994-11-22 Ticket length detection method for tack seal ticket vending machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31131594A JP3412299B2 (en) 1994-11-22 1994-11-22 Ticket length detection method for tack seal ticket vending machines

Publications (2)

Publication Number Publication Date
JPH08143017A JPH08143017A (en) 1996-06-04
JP3412299B2 true JP3412299B2 (en) 2003-06-03

Family

ID=18015660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31131594A Expired - Fee Related JP3412299B2 (en) 1994-11-22 1994-11-22 Ticket length detection method for tack seal ticket vending machines

Country Status (1)

Country Link
JP (1) JP3412299B2 (en)

Also Published As

Publication number Publication date
JPH08143017A (en) 1996-06-04

Similar Documents

Publication Publication Date Title
CA1118274A (en) Shared document feed station
US7637678B2 (en) System and method for determining the status of a label in a roll of label stock
JPH0326657B2 (en)
JPH1016329A (en) Image-forming apparatus
CN102015317A (en) Image recorder, control method of image recorder and program thereof
JP3412299B2 (en) Ticket length detection method for tack seal ticket vending machines
JP3357119B2 (en) Label printing method in label printer
US4982887A (en) Tag size differentiating system for continuous tag printing machines
JP2592550B2 (en) Copy service billing device and copy service billing system
JPH021736B2 (en)
JP2899456B2 (en) Label printer
JPH01216868A (en) Automatic label printing setting device
JPS6241065A (en) Cutter for printing medium
JP2003026134A (en) Label printer
KR0164955B1 (en) Card process device and its method
JPS642204Y2 (en)
JPH08153217A (en) Method for correcting length of ticket in tack seal ticket issuing machine
JPH03126948A (en) Negative bag
JP2822445B2 (en) How to issue tickets in vending machines
JPH08258343A (en) Label printer
JP2900049B2 (en) Card processing device with printing function
JP2793246B2 (en) Continuous paper transport device
JPS592587Y2 (en) electronic cash register
JPH04112060A (en) Feed controller for printer
JPH06251255A (en) Commodity sale registration data processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090328

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090328

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100328

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees