JP2007128309A - Medium processor - Google Patents

Medium processor Download PDF

Info

Publication number
JP2007128309A
JP2007128309A JP2005320837A JP2005320837A JP2007128309A JP 2007128309 A JP2007128309 A JP 2007128309A JP 2005320837 A JP2005320837 A JP 2005320837A JP 2005320837 A JP2005320837 A JP 2005320837A JP 2007128309 A JP2007128309 A JP 2007128309A
Authority
JP
Japan
Prior art keywords
roll paper
medium
cut
detected
cut mark
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
JP2005320837A
Other languages
Japanese (ja)
Inventor
Katsuo Mizuguchi
勝夫 水口
Yoshiyuki Imaoka
善之 今岡
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.)
Oki Electric Industry Co Ltd
Oki Power Tech Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Oki Power Tech Co 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 Oki Electric Industry Co Ltd, Oki Power Tech Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2005320837A priority Critical patent/JP2007128309A/en
Publication of JP2007128309A publication Critical patent/JP2007128309A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Sheets (AREA)
  • Ticket-Dispensing Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a medium processor allowing the continuation of the operation of the processor even if a cut mark printed on roll paper is not detected by a sensor. <P>SOLUTION: In this medium processor, when the cut mark cannot be detected by the mark detection sensor 4 when delivering and cutting the roll paper 2 printed with the cut mark in each ticket, a main motor 17 is driven by a prescribed amount to carry the roll paper 2 to a cut position, and the roll paper 2 is cut. It is stored by a cut mark non-detection flag that the cut mark is not detected, ticket issuing processing is performed as it is when the cut mark is further detected in the next ticket issuing processing, and the ticket issuing processing is stopped when the cut mark is not detected. Thereby, when the cut mark is accidentally not detected, the operation of the processor can be continued without performing error processing. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、鉄道等で使用する券発行装置等の媒体処理装置に関し、とくにロール状の媒体を収納しておき、所定の長さにカットして媒体を排出する媒体処理装置に関する。   The present invention relates to a medium processing apparatus such as a ticket issuing apparatus used in a railway or the like, and more particularly, to a medium processing apparatus that stores a roll-shaped medium, cuts it to a predetermined length, and discharges the medium.

従来、鉄道で使用される券発行装置においては、ロール紙を装置内に収納しておき、券発行の要求があった場合、ロール紙を繰り出して所定の長さ(券1枚分の長さ)に切断し、さらに切断したものに印刷を行って券として排出するようにしている。繰り出したロール紙を所定の長さに切断するためには、券1枚分の長さを検知する必要があるが、従来では、ロール紙に予め券1枚の長さ毎にマーク(カットマーク)を印刷しておき、このカットマークをセンサで検知した時点を基準にして所定距離だけロール紙を搬送することにより、券1枚分の長さだけロール紙を搬送するようにしていた。このようなロール紙に予め印刷したマークを検知して媒体の搬送を制御することは、例えば特開平5−42730号公報に開示されている。
特開平5−42730号公報
Conventionally, in a ticket issuing device used in a railway, roll paper is stored in the device, and when a ticket issuance is requested, the roll paper is fed out to a predetermined length (the length of one ticket). ), And further printed on the cut pieces and discharged as tickets. In order to cut the roll paper fed out to a predetermined length, it is necessary to detect the length of one ticket. Conventionally, however, a mark (cut mark) is previously provided on the roll paper for each length of the ticket. ) Is printed, and the roll paper is conveyed by the length of one sheet by conveying the roll paper by a predetermined distance on the basis of the time when the cut mark is detected by the sensor. For example, Japanese Patent Application Laid-Open No. 5-42730 discloses the detection of a mark printed on roll paper in advance to control the conveyance of the medium.
JP-A-5-42730

しかしながら従来の装置においては、ロール紙に印刷されるカットマークの印刷の濃度が薄い場合、センサで検知されない場合がある。この場合はエラー処理となり、装置の運用が停止される。しかしながら、検知されなかったカットマークがたまたま印刷が薄く、その後に印刷されているカットマークは検知可能である場合がある。従来の装置では、このような場合もエラー処理を行った後でなければ運用再開できないので、装置運用効率の点で不効率であるという問題があった。   However, in the conventional apparatus, when the print density of the cut mark printed on the roll paper is low, it may not be detected by the sensor. In this case, error processing occurs and the operation of the apparatus is stopped. However, a cut mark that is not detected happens to be lightly printed, and a cut mark that is printed after that may be detectable. In such a case, since the operation can only be resumed after error processing is performed in such a case, there is a problem that the operation efficiency of the device is inefficient.

上記課題を解決するために、本発明は、ロール状の媒体を繰り出して該媒体に設けたマークを検知し、媒体を所定の長さにカットして排出する媒体処理装置において、媒体の搬送時に該媒体の搬送距離を測定する搬送距離測定手段を設け、 前記マークが検知されなかった場合に、前記搬送距離測定手段による測定結果に基づいて媒体を所定距離搬送してカットすることを特徴とするものである。   In order to solve the above problems, the present invention provides a medium processing apparatus that feeds a roll-shaped medium, detects a mark provided on the medium, cuts the medium into a predetermined length, and discharges the medium. A conveyance distance measuring means for measuring the conveyance distance of the medium is provided, and when the mark is not detected, the medium is conveyed by a predetermined distance and cut based on the measurement result by the conveyance distance measurement means. Is.

上記構成の本発明によれば、媒体に設けられているマークが検知されなかった場合でも、搬送距離測定手段により測定した媒体の搬送距離に基づいて媒体を所定の長さにカットするので、エラー処理にすることなく装置の運用を続行することができる。   According to the present invention having the above-described configuration, even when the mark provided on the medium is not detected, the medium is cut to a predetermined length based on the conveyance distance of the medium measured by the conveyance distance measuring unit. The operation of the apparatus can be continued without processing.

以下、本発明を実施するための形態を図面に従って説明する。図1は本発明の第1実施の形態による券発行装置を示す機構概略図である。なお以下に説明する実施の形態では、媒体処理装置として券発行装置を例にして説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. FIG. 1 is a schematic view showing a mechanism of a ticket issuing device according to a first embodiment of the present invention. In the embodiment described below, a ticket issuing device will be described as an example of the medium processing device.

図1において、券発行装置1には、発行する券の原紙となるロール紙2が回転自在に収納されている。ロール紙2が繰り出される先には搬送路3が形成されている。搬送路3に沿って、マーク検知センサ4、カッタ部5、ロール紙セットセンサ6、磁気記録部7、印字部8および排出スタッカ9が設けられている。マーク検知センサ4は、ロール紙2に券の長さ毎に印刷されているカットマークを検知するためのセンサである。図2、図3にカットマークが印刷されているロール紙を示す。   In FIG. 1, a roll paper 2 serving as a base paper for a ticket to be issued is rotatably stored in a ticket issuing device 1. A conveyance path 3 is formed at the destination where the roll paper 2 is fed. A mark detection sensor 4, a cutter unit 5, a roll paper set sensor 6, a magnetic recording unit 7, a printing unit 8, and a discharge stacker 9 are provided along the conveyance path 3. The mark detection sensor 4 is a sensor for detecting cut marks printed on the roll paper 2 for each length of the ticket. 2 and 3 show a roll paper on which cut marks are printed.

図2、図3において、ロール紙2は外側に磁気面2aを有し、内側に印字面2bを有し、印字面2bは券1枚分毎に分かれている。印字面2bには図3に示すように、券の通番10が印刷されており、印字面2bの外側にはカットマーク11が印刷されている。   2 and 3, the roll paper 2 has a magnetic surface 2a on the outer side and a printing surface 2b on the inner side, and the printing surface 2b is divided for each sheet. As shown in FIG. 3, a ticket serial number 10 is printed on the printing surface 2b, and a cut mark 11 is printed outside the printing surface 2b.

図1において、カッタ部5は、ロール紙2を所定の長さ(券1枚分の長さ)にカットするためのカッタを実装しており、カッタはカッタモータ12により駆動される。ロール紙セットセンサ6は、ロール紙2をセットする際にロール紙2の先端部を検知するセンサである。   In FIG. 1, the cutter unit 5 is mounted with a cutter for cutting the roll paper 2 into a predetermined length (length of one ticket), and the cutter is driven by a cutter motor 12. The roll paper set sensor 6 is a sensor that detects the leading end of the roll paper 2 when setting the roll paper 2.

磁気記録部7には、ロール紙2の磁気面2aに磁気記録を行う書き込みヘッド7aおよびこれに対向するプラテン7b、および磁気面2aに記録された磁気情報を読み取る読み取りヘッド7cおよびこれに対向するプラテン7dが設けられている。   The magnetic recording unit 7 has a write head 7a that performs magnetic recording on the magnetic surface 2a of the roll paper 2 and a platen 7b that faces the write head 7a, a read head 7c that reads magnetic information recorded on the magnetic surface 2a, and the read head 7c. A platen 7d is provided.

印字部8には、ロール紙2の印字面2bに印字するもので、サーマルヘッド13、プラテン14、インクリボン15等から構成される。排出スタッカ9は、切断され、印字が行われた券が排出されるもので、券の購入者は排出スタッカ9に排出された券を取り出すことができる。   The printing unit 8 prints on the printing surface 2b of the roll paper 2, and includes a thermal head 13, a platen 14, an ink ribbon 15, and the like. The discharge stacker 9 is cut and the printed ticket is discharged. The ticket purchaser can take out the ticket discharged to the discharge stacker 9.

搬送路3には一対の搬送ローラ16が随所に回転可能に配設され、これらの搬送ローラ16により繰り出されたロール紙2およびカットされた券が搬送される。搬送ローラ16はメインモータ17により回転駆動される。   A pair of transport rollers 16 are rotatably disposed in the transport path 3, and the roll paper 2 fed out by these transport rollers 16 and the cut ticket are transported. The transport roller 16 is rotationally driven by the main motor 17.

図4は第1の実施の形態の券発行装置の制御系を示すブロック図である。図4において、制御部21は券発行装置1の動作全体を制御するもので、マイクロプロセッサ等により構成され、パルスカウンタ22およびカットマーク不検知フラグ23を内蔵している。パルスカウンタ22はメインモータ17の駆動パルス数をカウントするもので、駆動パルス数をカウントすることによりロール紙2の搬送距離を測定する。カットマーク不検知フラグ23は、ロール紙2に印刷されたカットマーク11がマーク検知センサ4により検知されなかった場合にオンとされ、検知されなかったことを記憶する。   FIG. 4 is a block diagram illustrating a control system of the ticket issuing apparatus according to the first embodiment. In FIG. 4, the control unit 21 controls the entire operation of the ticket issuing device 1, and is configured by a microprocessor or the like and incorporates a pulse counter 22 and a cut mark non-detection flag 23. The pulse counter 22 counts the number of driving pulses of the main motor 17 and measures the transport distance of the roll paper 2 by counting the number of driving pulses. The cut mark non-detection flag 23 is turned on when the cut mark 11 printed on the roll paper 2 is not detected by the mark detection sensor 4, and stores that it has not been detected.

制御部21には通信部24を介して上位装置25に接続されている。上位装置25は券発行装置1に対して発券指示を与える。制御部21は上位装置25からの発券指示を受け取ると、発券処理を実行する。制御部21にはほかにセンサ制御回路26、モータ駆動回路27、磁気制御部28および印字制御部29が接続され、制御部21はこれらを制御する。   The control unit 21 is connected to the host device 25 via the communication unit 24. The host device 25 gives a ticket issuing instruction to the ticket issuing device 1. When the control unit 21 receives a ticketing instruction from the host device 25, the control unit 21 executes a ticketing process. In addition, a sensor control circuit 26, a motor drive circuit 27, a magnetic control unit 28, and a print control unit 29 are connected to the control unit 21, and the control unit 21 controls them.

センサ制御回路26は図1に示すマーク検知センサ4およびロール紙セットセンサ6が接続され、これらのセンサ4、6を制御すると共に、センサ4、6からの信号を受信して制御部21へ出力する。モータ駆動回路27は、カッタモータ12およびメインモータ17が接続され、これらのモータ12、17を駆動する。   The mark detection sensor 4 and the roll paper set sensor 6 shown in FIG. 1 are connected to the sensor control circuit 26, and these sensors 4, 6 are controlled and signals from the sensors 4, 6 are received and output to the control unit 21. To do. The motor drive circuit 27 is connected to the cutter motor 12 and the main motor 17 and drives the motors 12 and 17.

磁気制御部28は、磁気記録部7の書き込みヘッド7aおよび読み取りヘッド7cが接続され、これらのヘッド7a、7cを制御する。印字制御部29は、サーマルヘッド13が接続され、サーマルヘッド13を制御する。   The magnetic control unit 28 is connected to the write head 7a and the read head 7c of the magnetic recording unit 7, and controls these heads 7a and 7c. The print control unit 29 is connected to the thermal head 13 and controls the thermal head 13.

次に第1の実施の形態の券発行装置1における発券動作を説明する。図5は第1の実施の形態の発券動作を示すフローチャートである。発券動作を行う前の券発行装置1においては、ロール紙2の先端部が搬送路3に繰り出されて、先端がロール紙セットセンサ6の検知位置に位置するようにセットされている。   Next, the ticket issuing operation in the ticket issuing apparatus 1 according to the first embodiment will be described. FIG. 5 is a flowchart showing the ticket issuing operation according to the first embodiment. In the ticket issuing device 1 before performing the ticket issuing operation, the leading end portion of the roll paper 2 is fed out to the conveyance path 3 and is set so that the leading end is positioned at the detection position of the roll paper set sensor 6.

上位装置25から発券指示が出され、制御部21がこれを受け取ると(ステップ1)、制御部21はモータ駆動回路27を介してメインモータ17を駆動開始する(ステップ2)。駆動開始と同時に、制御部21は、カットマーク不検知フラグ23がオンになっているかどうかを確認し(ステップ3)、オンになっていない場合には、パルスカウンタ22をセットし、メインモータ17の駆動パルス数のカウントを開始する(ステップ4)。   When the ticket issuing instruction is issued from the host device 25 and the control unit 21 receives it (step 1), the control unit 21 starts driving the main motor 17 via the motor drive circuit 27 (step 2). Simultaneously with the start of driving, the control unit 21 checks whether or not the cut mark non-detection flag 23 is turned on (step 3), and if not, sets the pulse counter 22 and sets the main motor 17 Counting the number of driving pulses is started (step 4).

カットマーク不検知フラグ23がオンになっていることは、前回の発券処理動作においてカットマーク11が検知されなかったことを意味し、カットマーク不検知フラグ23がオフになっていることは、前回の発券処理動作においてカットマーク11が検知されたことを意味する。メインモータ17が駆動されることにより搬送ローラ16が回転し、ロール紙2は搬送路3を磁気記録部7へ向けて搬送される。   The fact that the cut mark non-detection flag 23 is on means that the cut mark 11 has not been detected in the previous ticket issuing process operation, and the fact that the cut mark non-detection flag 23 is off means that the previous time. This means that the cut mark 11 is detected in the ticket issuing processing operation. By driving the main motor 17, the transport roller 16 rotates, and the roll paper 2 is transported toward the magnetic recording unit 7 along the transport path 3.

ロール紙2が搬送されることによりロール紙2に印刷されているカットマーク11が移動し、マーク検知センサ4の検知位置まで到達する。カットマーク11が良好に印刷されていればマーク検知センサ4によりカットマーク11が検知されるが、印刷が薄いと検知されない場合がある(ステップ5)。   When the roll paper 2 is conveyed, the cut mark 11 printed on the roll paper 2 moves and reaches the detection position of the mark detection sensor 4. If the cut mark 11 is printed satisfactorily, the mark detection sensor 4 detects the cut mark 11, but if the print is thin, it may not be detected (step 5).

カットマーク11が検知された場合、制御部21は、検知した時点から所定距離だけロール紙2を搬送する(ステップ6)。これはメインモータ17に所定数のパルスを与えて駆動することにより行う。所定距離だけ搬送すると、ロール紙2は、券1枚分の境界がカッタ部5のカッタの位置になる。ここで制御部21は、カッタモータ12を駆動し、ロール紙2をカットする(ステップ7)。   When the cut mark 11 is detected, the control unit 21 conveys the roll paper 2 by a predetermined distance from the time of detection (step 6). This is performed by driving the main motor 17 with a predetermined number of pulses. When the roll paper 2 is conveyed by a predetermined distance, the boundary of one sheet of the roll paper 2 becomes the cutter position of the cutter unit 5. Here, the controller 21 drives the cutter motor 12 to cut the roll paper 2 (step 7).

カットされたロール紙2は1枚分の券として搬送路3をさらに磁気記録部7へ向けて搬送され、磁気記録部7の書き込みヘッド7aにより必要事項が磁気記録され、読み取りヘッド7bにより磁気記録のチェックを行う。そして印字部8へ搬送され、サーマルヘッド13により印字面2bに必要事項が印字され、排出スタッカ9へ排出され、発券処理を終了する(ステップ8)。なおカッタ部5でカットされた残りのロール紙2は、先端部がロール紙セットセンサ6の検知位置に位置するところで停止させておく。   The cut roll paper 2 is conveyed as a sheet of a ticket toward the magnetic recording unit 7 through the conveyance path 3, and necessary items are magnetically recorded by the writing head 7a of the magnetic recording unit 7, and magnetically recorded by the reading head 7b. Perform the check. Then, it is conveyed to the printing unit 8, and necessary items are printed on the printing surface 2b by the thermal head 13, and are discharged to the discharge stacker 9, and the ticket issuing process is finished (step 8). The remaining roll paper 2 cut by the cutter unit 5 is stopped when the leading end portion is located at the detection position of the roll paper set sensor 6.

またカットマーク不検知フラグ23がオンであった場合には(ステップ9)、カットマーク不検知フラグ23をオフにし(ステップ10)、発券動作を終了する。   If the cut mark non-detection flag 23 is on (step 9), the cut mark non-detection flag 23 is turned off (step 10), and the ticket issuing operation is terminated.

ステップ5においてカットマーク11が検知されなかった場合、制御部21は、カットマーク不検知フラグ23がオンになっているかどうかを確認し(ステップ11)、カットマーク不検知フラグ23がオンになっている場合には、前回の発券動作でカットマーク11が検知されなかったとして、即ち、2回連続してカットマーク11が検知されなかったとして、カットマーク不検知エラーとして発券動作を中止し、上位装置25にその旨を通知する(ステップ12)。なおこの場合の中止は、一時的な中断状態の意味も含むものである。   When the cut mark 11 is not detected in step 5, the control unit 21 checks whether or not the cut mark non-detection flag 23 is turned on (step 11), and the cut mark non-detection flag 23 is turned on. If the cut mark 11 is not detected in the previous ticketing operation, that is, the cut mark 11 is not detected twice in succession, the ticket issuing operation is canceled as a cut mark non-detection error, This is notified to the device 25 (step 12). Note that the cancellation in this case includes the meaning of a temporary interruption state.

カットマーク不検知フラグ23がオンになっていない場合、制御部21は、前回の発券動作でカットマーク11が検知されており、今回はカットマーク11が検知されなかったとして、カットマーク不検知フラグ23をオンにする(ステップ13)とともに、パルスカウンタ22でカウントしているメインモータ17の駆動パルス数が所定の数になるまでメインモータ17を駆動する(ステップ14)。   When the cut mark non-detection flag 23 is not turned on, the control unit 21 assumes that the cut mark 11 has been detected in the previous ticketing operation and that the cut mark 11 has not been detected this time. 23 is turned on (step 13), and the main motor 17 is driven until the number of drive pulses of the main motor 17 counted by the pulse counter 22 reaches a predetermined number (step 14).

メインモータ17の駆動パルス数が所定の数になるまでメインモータ17を駆動することにより、ロール紙2は、券1枚分の境界がカッタ部5のカッタの位置に到達するまで搬送される。ここで制御部21は、カッタモータ12を駆動し、ロール紙2をカットする(ステップ15)。   By driving the main motor 17 until the number of drive pulses of the main motor 17 reaches a predetermined number, the roll paper 2 is conveyed until the boundary of one sheet reaches the cutter position of the cutter unit 5. Here, the control unit 21 drives the cutter motor 12 to cut the roll paper 2 (step 15).

この後はカットマーク11が検知された場合と同様に、カットされたロール紙2は1枚分の券として搬送路3をさらに磁気記録部7へ向けて搬送され、磁気記録部7の書き込みヘッド7aにより必要事項が磁気記録され、読み取りヘッド7bにより磁気記録のチェックを行う。そして印字部8へ搬送され、サーマルヘッド13により印字面2bに必要事項が印字され、排出スタッカ9へ排出され、発券処理を終了する(ステップ16)。そしてカッタ部5でカットされた残りのロール紙2は、先端部がロール紙セットセンサ6の検知位置に位置するところで停止させておく。なおパルスカウンタ22のカウント値はクリアされる。   Thereafter, similarly to the case where the cut mark 11 is detected, the cut roll paper 2 is conveyed as a single ticket toward the magnetic recording unit 7 further along the conveyance path 3, and the writing head of the magnetic recording unit 7 is used. Necessary items are magnetically recorded by 7a, and magnetic recording is checked by the read head 7b. Then, it is conveyed to the printing unit 8, and necessary items are printed on the printing surface 2b by the thermal head 13 and discharged to the discharge stacker 9, thereby completing the ticket issuing process (step 16). The remaining roll paper 2 cut by the cutter unit 5 is stopped at a position where the leading end portion is located at the detection position of the roll paper set sensor 6. The count value of the pulse counter 22 is cleared.

以上のように第1の実施の形態によれば、カット位置までのロール紙2の搬送をメインモータ17の駆動パルスをカウントすることにより行うようにしたので、カットマーク11がたまたま検知されなかった場合でも、正確な位置でロール紙2をカットすることができ、発券処理を行うことが可能となる。そして次の発券指示の際にカットマーク11が検知されれば、そのまま発券動作を続行するので、不必要な装置の中断を防止することが可能になる。   As described above, according to the first embodiment, since the roll paper 2 is transported to the cutting position by counting the drive pulses of the main motor 17, the cut mark 11 is not detected by chance. Even in this case, the roll paper 2 can be cut at an accurate position, and ticket issuing processing can be performed. If the cut mark 11 is detected at the time of the next ticket issuing instruction, the ticket issuing operation is continued as it is, so that unnecessary interruption of the apparatus can be prevented.

上記実施の形態ではカットマーク11の不検知が2回連続した場合に発券動作を中止するようにしたが、3回以上連続した場合に発券動作を中止するようにしても良い。その場合は、カットマーク11の不検知の回数をカウントし、所定の回数になったら発券動作を中止とし、それまではカット位置までのロール紙2の搬送をメインモータ17の駆動パルスをカウントすることにより行うようにすればよい。   In the above embodiment, the ticket issuing operation is stopped when the non-detection of the cut mark 11 is continued twice. However, the ticket issuing operation may be stopped when the detection is continued three times or more. In that case, the number of times the cut mark 11 is not detected is counted. When the predetermined number of times is reached, the ticket issuing operation is stopped, and until that time, the conveyance of the roll paper 2 up to the cut position is counted as the drive pulse of the main motor 17. This can be done by

次に本発明の第2の実施の形態を説明する。第2の実施の形態の券発行装置は、機構的な構成は前記第1の実施の形態の券発行装置と同様であり、相違点は、上位装置から発券指示が出される前に事前にロール紙をカット位置まで搬送しておくようにし、その際、カットマークが検知されなかった場合、カット位置までのロール紙の搬送をメインモータの駆動パルスをカウントすることにより行うようにしたものである。   Next, a second embodiment of the present invention will be described. The ticket issuing device according to the second embodiment has the same mechanical structure as the ticket issuing device according to the first embodiment. The difference is that the ticket issuing device rolls in advance before issuing a ticket issuing instruction from the host device. The paper is transported to the cut position, and when the cut mark is not detected, the roll paper is transported to the cut position by counting the drive pulses of the main motor. .

次に第2の実施の形態の発券動作を図6に示すフローチャートにより説明する。図6は第2の実施の形態の発券動作を示すフローチャートである。なお説明に当たっては図1および図4に示す各要素を流用する。   Next, the ticket issuing operation of the second embodiment will be described with reference to the flowchart shown in FIG. FIG. 6 is a flowchart showing the ticket issuing operation according to the second embodiment. In the description, the elements shown in FIGS. 1 and 4 are used.

まず上位装置25から発券指示が出される前に、上位装置25から券発行装置1に対してプリセット動作指示が出される(ステップ21)。プリセット動作は、発券指示が出される前に事前にロール紙をカット位置まで搬送しておく動作である。なおプリセット動作指示が出される前に、ロール紙2の先端部はロール紙セットセンサ6の検出位置に位置するようにセットされている。   First, before a ticket issuing instruction is issued from the host device 25, a preset operation instruction is issued from the host device 25 to the ticket issuing device 1 (step 21). The preset operation is an operation of conveying the roll paper to the cutting position in advance before issuing a ticketing instruction. Before the preset operation instruction is issued, the leading end of the roll paper 2 is set so as to be positioned at the detection position of the roll paper set sensor 6.

プリセット動作指示が出されると、制御部21はモータ駆動回路27を介してメインモータ17を駆動開始する(ステップ22)。駆動開始と同時に、制御部21は、カットマーク不検知フラグ23がオンになっているかどうかを確認し(ステップ23)、オンになっていない場合には、パルスカウンタ22をセットし、メインモータ17の駆動パルス数のカウントを開始する(ステップ24)。   When a preset operation instruction is issued, the control unit 21 starts driving the main motor 17 via the motor drive circuit 27 (step 22). Simultaneously with the start of driving, the control unit 21 checks whether or not the cut mark non-detection flag 23 is turned on (step 23). If not, the control unit 21 sets the pulse counter 22 and the main motor 17 The count of the number of drive pulses is started (step 24).

カットマーク不検知フラグ23がオンになっていることは、上述したように、前回の発券処理動作においてカットマーク11が検知されなかったことを意味し、カットマーク不検知フラグ23がオフになっていることは、前回の発券処理動作においてカットマーク11が検知されたことを意味する。メインモータ17が駆動されることにより搬送ローラ16が回転し、ロール紙2は搬送路3をカット位置へ向けて搬送される。   As described above, the cut mark non-detection flag 23 being on means that the cut mark 11 has not been detected in the previous ticket issuing operation, and the cut mark non-detection flag 23 is off. This means that the cut mark 11 has been detected in the previous ticketing operation. When the main motor 17 is driven, the transport roller 16 rotates and the roll paper 2 is transported toward the cut position along the transport path 3.

ロール紙2が搬送されることによりロール紙2に印刷されているカットマーク11が移動し、マーク検知センサ4の検知位置まで到達する。ここでカットマーク11が検知されると(ステップ25)、制御部21は、検知した時点から所定距離だけロール紙2を搬送する(ステップ26)。これはメインモータ17に所定数のパルスを与えて駆動することにより行う。所定距離だけ搬送すると、ロール紙2は、券1枚分の境界がカッタ部5のカッタの位置になる。ここで制御部21は、メインモータ17の駆動を停止し(ステップ27)、待機状態に入る。   When the roll paper 2 is conveyed, the cut mark 11 printed on the roll paper 2 moves and reaches the detection position of the mark detection sensor 4. When the cut mark 11 is detected (step 25), the control unit 21 conveys the roll paper 2 by a predetermined distance from the time of detection (step 26). This is performed by driving the main motor 17 with a predetermined number of pulses. When the roll paper 2 is conveyed by a predetermined distance, the boundary of one sheet of the roll paper 2 becomes the cutter position of the cutter unit 5. Here, the control unit 21 stops driving the main motor 17 (step 27) and enters a standby state.

上位装置25から発券指示を受けると(ステップ28)、制御部21はカッタモータ12を駆動し、ロール紙2をカットする(ステップ29)。そしてメインモータ17を駆動し、カットされたロール紙2を1枚分の券として搬送路3をさらに磁気記録部7へ向けて搬送し、磁気記録部7の書き込みヘッド7aにより必要事項を磁気記録するとともに、読み取りヘッド7bにより磁気記録のチェックを行う。そして印字部8へ搬送し、サーマルヘッド13により印字面2bに必要事項を印字し、排出スタッカ9へ排出して、発券処理を終了する(ステップ30)。   When the ticket issuing instruction is received from the host device 25 (step 28), the control unit 21 drives the cutter motor 12 to cut the roll paper 2 (step 29). Then, the main motor 17 is driven and the cut roll paper 2 is conveyed as a single ticket to further convey the conveyance path 3 toward the magnetic recording unit 7, and necessary information is magnetically recorded by the write head 7 a of the magnetic recording unit 7. At the same time, the magnetic recording is checked by the read head 7b. Then, it is transported to the printing unit 8, and necessary items are printed on the printing surface 2 b by the thermal head 13, discharged to the discharge stacker 9, and the ticket issuing process is finished (step 30).

発券処理を終了すると、制御部21はその旨を上位装置25に通知し、これに対して上位装置25は券発行装置1に対してプリセット動作指示を出す。プリセット動作指示を受け取ると、制御部21はモータ駆動回路27を介してメインモータ17を駆動して、残りのロール紙2を、券1枚分の境界がカッタ部5のカッタの位置になる位置、即ち、カット位置にまで搬送させておく(ステップ31)。   When the ticket issuing process is completed, the control unit 21 notifies the higher level device 25 to that effect, and the higher level device 25 issues a preset operation instruction to the ticket issuing device 1. When the preset operation instruction is received, the control unit 21 drives the main motor 17 via the motor drive circuit 27 to position the remaining roll paper 2 at the position of the cutter of the cutter unit 5 at the boundary of one sheet of the ticket. That is, it is conveyed to the cutting position (step 31).

また制御部21は、カットマーク不検知フラグ23がオンであるかどうかチェックし(ステップ32)、オンであった場合にはカットマーク不検知フラグ23をオフにし(ステップ33)、発券動作を終了する。   The control unit 21 checks whether or not the cut mark non-detection flag 23 is on (step 32). If the cut mark non-detection flag 23 is on, the control unit 21 turns off the cut mark non-detection flag 23 (step 33) and ends the ticket issuing operation. To do.

ステップ25においてカットマーク11が検知されなかった場合、制御部21は、カットマーク不検知フラグ23がオンになっているかどうかを確認し(ステップ34)、カットマーク不検知フラグ23がオンになっている場合には、前回の発券動作でカットマーク11が検知されなかったとして、即ち、2回連続してカットマーク11が検知されなかったとして、カットマーク不検知エラーとして発券動作を中止し、上位装置25にその旨を通知する(ステップ35)。   When the cut mark 11 is not detected in step 25, the control unit 21 checks whether or not the cut mark non-detection flag 23 is turned on (step 34), and the cut mark non-detection flag 23 is turned on. If the cut mark 11 is not detected in the previous ticketing operation, that is, the cut mark 11 is not detected twice in succession, the ticket issuing operation is canceled as a cut mark non-detection error, This is notified to the device 25 (step 35).

カットマーク不検知フラグ23がオンになっていない場合、制御部21は、前回の発券動作でカットマーク11が検知されており、今回はカットマーク11が検知されなかったとして、カットマーク不検知フラグ23をオンにする(ステップ36)とともに、パルスカウンタ22でカウントしているメインモータ17の駆動パルス数が所定の数になるまでメインモータ17を駆動する(ステップ37)。   When the cut mark non-detection flag 23 is not turned on, the control unit 21 assumes that the cut mark 11 has been detected in the previous ticketing operation and that the cut mark 11 has not been detected this time. 23 is turned on (step 36), and the main motor 17 is driven until the number of drive pulses of the main motor 17 counted by the pulse counter 22 reaches a predetermined number (step 37).

メインモータ17の駆動パルス数が所定の数になるまでメインモータ17を駆動することにより、ロール紙2は、券1枚分の境界がカッタ部5のカッタの位置に到達するまで搬送される。ここで制御部21は、メインモータ17の駆動を停止し(ステップ38)、待機状態に入る。   By driving the main motor 17 until the number of drive pulses of the main motor 17 reaches a predetermined number, the roll paper 2 is conveyed until the boundary of one sheet reaches the cutter position of the cutter unit 5. Here, the control unit 21 stops driving the main motor 17 (step 38) and enters a standby state.

上位装置25から発券指示を受けると(ステップ39)、制御部21はカッタモータ12を駆動し、ロール紙2をカットする(ステップ40)。この後はカットマーク11が検知された場合と同様に、メインモータ17を駆動し、カットされたロール紙2を1枚分の券として搬送路3をさらに磁気記録部7へ向けて搬送し、磁気記録部7の書き込みヘッド7aにより必要事項を磁気記録するとともに、読み取りヘッド7bにより磁気記録のチェックを行う。そして印字部8へ搬送し、サーマルヘッド13により印字面2bに必要事項を印字し、排出スタッカ9へ排出して、発券処理を終了する(ステップ41)。   When the ticket issuing instruction is received from the host device 25 (step 39), the control unit 21 drives the cutter motor 12 to cut the roll paper 2 (step 40). After this, as in the case where the cut mark 11 is detected, the main motor 17 is driven, and the cut roll paper 2 is conveyed as a single sheet to further convey the conveyance path 3 toward the magnetic recording unit 7, The necessary information is magnetically recorded by the write head 7a of the magnetic recording unit 7, and the magnetic recording is checked by the read head 7b. Then, the sheet is conveyed to the printing unit 8, and necessary items are printed on the printing surface 2 b by the thermal head 13, discharged to the discharge stacker 9, and the ticket issuing process is finished (step 41).

発券処理を終了すると、制御部21はその旨を上位装置25に通知し、これに対して上位装置25は券発行装置1に対してプリセット動作指示を出す。プリセット動作指示を受け取ると、制御部21はモータ駆動回路27を介してメインモータ17を駆動して、残りのロール紙2を、券1枚分の境界がカッタ部5のカッタの位置になる位置、即ち、カット位置にまで搬送させておく(ステップ42)。   When the ticket issuing process is completed, the control unit 21 notifies the higher level device 25 to that effect, and the higher level device 25 issues a preset operation instruction to the ticket issuing device 1. When the preset operation instruction is received, the control unit 21 drives the main motor 17 via the motor drive circuit 27 to position the remaining roll paper 2 at the position of the cutter of the cutter unit 5 at the boundary of one sheet of the ticket. That is, it is conveyed to the cutting position (step 42).

以上のように第2の実施の形態によれば、カット位置までのロール紙2の搬送をメインモータ17の駆動パルスをカウントすることにより行うようにしたので、カットマーク11がたまたま検知されなかった場合でも、正確な位置でロール紙2をカットすることができ、発券処理を行うことが可能となる。そして次の発券指示の際にカットマーク11が検知されれば、そのまま発券動作を続行するので、不必要な装置の中断を防止することが可能になる。   As described above, according to the second embodiment, since the roll paper 2 is transported to the cutting position by counting the drive pulses of the main motor 17, the cut mark 11 is not detected by chance. Even in this case, the roll paper 2 can be cut at an accurate position, and ticket issuing processing can be performed. If the cut mark 11 is detected at the time of the next ticket issuing instruction, the ticket issuing operation is continued as it is, so that unnecessary interruption of the apparatus can be prevented.

また発券指示が出される前にプリセット動作によりロール紙2をカット位置まで搬送させておくので、発券指示が出されてから券を排出するまでの時間が短縮され、高速発券が可能となる。   Further, since the roll paper 2 is transported to the cut position by a preset operation before the ticket issuing instruction is issued, the time from when the ticket issuing instruction is issued until the ticket is discharged is shortened, and high-speed ticketing is possible.

また第2の実施の形態でも、3回以上連続した場合に発券動作を中止するようにしても良い。さらに上記の説明では、プリセット動作を上位装置25からの指示により行うようにしているが、券発行装置1のファームウェア処理により行うようにしても良い。   Also in the second embodiment, the ticket issuing operation may be stopped when it continues three or more times. Furthermore, in the above description, the preset operation is performed by an instruction from the host device 25, but may be performed by firmware processing of the ticket issuing device 1.

また上記各実施の形態では、カットマーク11が検知されなかったことをカットマーク不検知フラグ23をオンすることにより記憶するようにしているが、他の手段として、券発行装置1のファームウェアで記憶するようにしても良い。さらに上記各実施の形態では、券発行装置を例にして説明したが、ロール状の媒体を繰り出してマークを基準にしてカットを行う装置であれば、本発明は他の装置にも適用可能である。   In each of the above embodiments, the fact that the cut mark 11 has not been detected is stored by turning on the cut mark non-detection flag 23. However, as another means, it is stored by the firmware of the ticket issuing device 1. You may make it do. Further, in each of the above embodiments, the ticket issuing device has been described as an example. However, the present invention can be applied to other devices as long as it is a device that feeds a roll-shaped medium and performs cutting based on the mark. is there.

第1実施の形態による券発行装置を示す機構概略図である。It is a mechanism schematic diagram showing the ticket issuing device by a 1st embodiment. カットマークが印刷されているロール紙を示す説明図である。It is explanatory drawing which shows the roll paper on which the cut mark is printed. カットマークが印刷されているロール紙を示す拡大図である。It is an enlarged view which shows the roll paper on which the cut mark is printed. 第1の実施の形態の券発行装置の制御系を示すブロック図である。It is a block diagram which shows the control system of the ticket issuing apparatus of 1st Embodiment. 第1の実施の形態の発券動作を示すフローチャートである。It is a flowchart which shows ticket issuing operation | movement of 1st Embodiment. 第2の実施の形態の発券動作を示すフローチャートである。It is a flowchart which shows ticket issuing operation | movement of 2nd Embodiment.

符号の説明Explanation of symbols

1 券発行装置
2 ロール紙
5 カット部
11 カットマーク
21 制御部
22 パルスカウンタ
23 カットマーク不検知フラグ
DESCRIPTION OF SYMBOLS 1 Ticket issuing apparatus 2 Roll paper 5 Cut part 11 Cut mark 21 Control part 22 Pulse counter 23 Cut mark non-detection flag

Claims (4)

ロール状の媒体を繰り出して該媒体に設けたマークを検知し、媒体を所定の長さにカットして排出する媒体処理装置において、
媒体の搬送時に該媒体の搬送距離を測定する搬送距離測定手段を設け、
前記マークが検知されなかった場合に、前記搬送距離測定手段による測定結果に基づいて媒体を所定距離搬送してカットすることを特徴とする媒体処理装置。
In a medium processing apparatus that feeds a roll-shaped medium, detects a mark provided on the medium, cuts the medium into a predetermined length, and discharges the medium.
A transport distance measuring means for measuring the transport distance of the medium at the time of transport of the medium is provided,
When the mark is not detected, the medium processing apparatus cuts the medium by conveying it for a predetermined distance based on the measurement result by the conveyance distance measuring means.
前記搬送距離測定手段は、媒体を搬送するためのパルスモータのパルス数を計数することにより媒体の搬送距離を測定する請求項1記載の媒体処理装置。   The medium processing apparatus according to claim 1, wherein the transport distance measuring unit measures the transport distance of the medium by counting the number of pulses of a pulse motor for transporting the medium. 前記マークが検知されなかったことを記憶する記憶手段を有し、
前記マークが検知されなかったことが連続した場合、処理動作を中止する請求項1または2記載の媒体処理装置。
Storing means for storing that the mark was not detected;
The medium processing apparatus according to claim 1, wherein when the mark is not detected continuously, the processing operation is stopped.
媒体の処理は上位装置からの指示により開始されるものであり、
前記搬送距離測定手段による媒体の搬送距離の測定は、前記上位装置からの指示が出される前に行われる請求項1記載の媒体処理装置。
The processing of the medium is started by an instruction from the host device,
The medium processing apparatus according to claim 1, wherein the measurement of the conveyance distance of the medium by the conveyance distance measuring unit is performed before an instruction from the host apparatus is issued.
JP2005320837A 2005-11-04 2005-11-04 Medium processor Pending JP2007128309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005320837A JP2007128309A (en) 2005-11-04 2005-11-04 Medium processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005320837A JP2007128309A (en) 2005-11-04 2005-11-04 Medium processor

Publications (1)

Publication Number Publication Date
JP2007128309A true JP2007128309A (en) 2007-05-24

Family

ID=38150917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005320837A Pending JP2007128309A (en) 2005-11-04 2005-11-04 Medium processor

Country Status (1)

Country Link
JP (1) JP2007128309A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008162170A (en) * 2006-12-28 2008-07-17 Fuji Xerox Co Ltd Printing system, cutting apparatus and cutting method
JP2011177950A (en) * 2010-02-26 2011-09-15 Canon Inc Print control method and print apparatus
JP2011177943A (en) * 2010-02-26 2011-09-15 Canon Inc Print control method and print apparatus
JP2012183774A (en) * 2011-03-07 2012-09-27 Fujitsu Component Ltd Printer
EP2977215A2 (en) 2014-07-25 2016-01-27 Fujitsu Frontech Limited Printer apparatus, and control method and print control program therefor
JP2016168689A (en) * 2015-03-11 2016-09-23 株式会社東芝 Issue unit and issue machine
WO2023140341A1 (en) * 2022-01-20 2023-07-27 株式会社ミマキエンジニアリング Printing device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008162170A (en) * 2006-12-28 2008-07-17 Fuji Xerox Co Ltd Printing system, cutting apparatus and cutting method
EP2000315A1 (en) * 2006-12-28 2008-12-10 Fuji Xerox Co., Ltd. Printing system, cutting device, and cutting method
US7967517B2 (en) 2006-12-28 2011-06-28 Fuji Xerox Co., Ltd. Printing system and cutting method where when cutting information is not detected, cutting occurs at a set length set in advance
JP2011177950A (en) * 2010-02-26 2011-09-15 Canon Inc Print control method and print apparatus
JP2011177943A (en) * 2010-02-26 2011-09-15 Canon Inc Print control method and print apparatus
JP2012183774A (en) * 2011-03-07 2012-09-27 Fujitsu Component Ltd Printer
EP2977215A2 (en) 2014-07-25 2016-01-27 Fujitsu Frontech Limited Printer apparatus, and control method and print control program therefor
US9349221B2 (en) 2014-07-25 2016-05-24 Fujitsu Frontech Limited Printer apparatus and control method therefor
JP2016168689A (en) * 2015-03-11 2016-09-23 株式会社東芝 Issue unit and issue machine
WO2023140341A1 (en) * 2022-01-20 2023-07-27 株式会社ミマキエンジニアリング Printing device

Similar Documents

Publication Publication Date Title
JP4525212B2 (en) Thermal transfer printer
JP4799050B2 (en) Printing device
JP2007128309A (en) Medium processor
WO2011064907A1 (en) Validation device
JPH08142433A (en) Printing method and printer using the same
JP2006327066A (en) Image forming apparatus
JP2000289908A (en) Image forming device
JP2007136949A (en) Image forming apparatus equipped with paper skewing judging means
JP2007001264A (en) Printing device and ribbon cassette
JP2004058337A (en) Printer
JP2010092214A (en) Ticket issuing device
JP4798153B2 (en) Sheet-like member cutting device
JP5530903B2 (en) Ticketing printing device
JPH0820455A (en) Passbook printer
JP2003276906A (en) Printer, and method for controlling the printer
JP4152220B2 (en) Data recording device
JP2018202662A (en) Medium supply device and image formation apparatus
JP2588979B2 (en) Ticket issuing device
JP2578920B2 (en) Printer print positioning mechanism
JPH0958072A (en) Printer
JP3154582B2 (en) Printing equipment for duplex copying paper
JP3881583B2 (en) Media processing device
JP4473682B2 (en) Printing device
JPH09198528A (en) Ticket issuing device
JP6051023B2 (en) Printing device