JP2013152753A - Medium processor and medium collecting device - Google Patents

Medium processor and medium collecting device Download PDF

Info

Publication number
JP2013152753A
JP2013152753A JP2013083745A JP2013083745A JP2013152753A JP 2013152753 A JP2013152753 A JP 2013152753A JP 2013083745 A JP2013083745 A JP 2013083745A JP 2013083745 A JP2013083745 A JP 2013083745A JP 2013152753 A JP2013152753 A JP 2013152753A
Authority
JP
Japan
Prior art keywords
medium
card
block code
processing apparatus
block
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.)
Granted
Application number
JP2013083745A
Other languages
Japanese (ja)
Other versions
JP5463427B2 (en
Inventor
Kazunori Takahashi
一徳 高橋
Shigeki Ozawa
茂樹 小澤
Yukio Kuroiwa
幸生 黒岩
Shuji Yoshikawa
修二 吉川
Tadayuki Serizawa
唯之 芹沢
Shinji Tanaka
真児 田中
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.)
SANICA KK
Nidec Sankyo Corp
Sanica KK
Original Assignee
SANICA KK
Nidec Sankyo Corp
Sanica KK
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 SANICA KK, Nidec Sankyo Corp, Sanica KK filed Critical SANICA KK
Priority to JP2013083745A priority Critical patent/JP5463427B2/en
Publication of JP2013152753A publication Critical patent/JP2013152753A/en
Application granted granted Critical
Publication of JP5463427B2 publication Critical patent/JP5463427B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a medium processor which can simplify the control for a thermal head when a code is printed even when a code printing function for printing a prescribed code is carried out by the thermal head in addition to the printing function.SOLUTION: In a medium processor, a block code 51 comprising a plurality of blocks 52 with width W that are approximately constant and lined up in a conveying direction X is printed on a medium 2 by a thermal head. This medium processor reproduces magnetic information of the medium 2 when the medium 2 is inserted, reads the block code 51 of the medium 2 and determines whether or not the reproduced magnetic information is correct. The medium processor discharges the medium 2 to a medium collecting mechanism when the magnetic information is correct, or determines whether or not information corresponding to the read block code 51 is correct when the magnetic information is not correct. Then the medium processor discharges the medium 2 to the medium collecting mechanism when the information corresponding to the read block code 51 is correct, or transmits error information when the information corresponding to the read block code 51 is not correct.

Description

本発明は、感熱方式で媒体に印字を行うためのサーマルヘッドを備える媒体処理装置に関する。また、本発明は、この媒体処理装置を備える駐車場用または駐輪場用の媒体回収装置に関する。   The present invention relates to a medium processing apparatus including a thermal head for printing on a medium by a thermal method. Moreover, this invention relates to the medium collection | recovery apparatus for parking lots or bicycle parking lots provided with this medium processing apparatus.

従来、プリペイドカードの磁気記録層に記録された磁気情報の再生や磁気記録層への磁気情報の記録を行うリーダライタ部と、プリペイドカードの印字部に放電破壊印字方式で利用データの一部を印字する放電破壊式プリンタとを備える印刷装置付きリーダライタ装置が知られている(たとえば、特許文献1参照)。   Conventionally, a reader / writer unit for reproducing magnetic information recorded on the magnetic recording layer of a prepaid card and recording magnetic information on the magnetic recording layer, and a part of use data by a discharge destruction printing method on the printing unit of the prepaid card. 2. Description of the Related Art A reader / writer device with a printing apparatus including a discharge destruction type printer that performs printing is known (for example, see Patent Document 1).

この特許文献1に記載のリーダライタ装置では、プリペイドカードを製造した後の任意の時点で、放電破壊式プリンタによって、カード管理データに対応するバーコードがプリペイドカードに印刷される。すなわち、放電破壊式プリンタは、プリペイドカードへ利用データの一部を印字する印字機能に加え、カード管理データに対応するバーコードをプリペイドカードへ印刷するコード印刷機能を果たしている。また、このリーダライタ装置は、プリペイドカードに印刷されたバーコードを読み取るためのスキャナ等のバーコード読取部を備えている。   In the reader / writer device described in Patent Document 1, a bar code corresponding to card management data is printed on a prepaid card by a discharge destruction printer at an arbitrary time after the prepaid card is manufactured. That is, the discharge destruction type printer has a code printing function for printing a barcode corresponding to the card management data on the prepaid card in addition to a printing function for printing a part of the use data on the prepaid card. The reader / writer device also includes a barcode reading unit such as a scanner for reading a barcode printed on a prepaid card.

なお、本明細書において、「バーコード」とは、図9に示すように、細いバー(ナローバーNB)、太いバー(ワイドバーWB)、細い隙間(ナロースペースNS)および太い隙間(ワイドスペースWS)の組合せによって数字や文字等をコード化したものをいう。ナローバーNBの太さW11とワイドバーWBの太さW12との比率、および、ナロースペースNSの太さW13とワイドスペースWSの太さW14との比率は、以下のように定められている。
W11:W12=1:2〜1:3
W13:W14=1:2〜1:3
In the present specification, as shown in FIG. 9, “bar code” means a narrow bar (narrow bar NB), a thick bar (wide bar WB), a narrow gap (narrow space NS), and a thick gap (wide space WS). ) Is a combination of numbers and letters. The ratio between the thickness W11 of the narrow bar NB and the thickness W12 of the wide bar WB and the ratio between the thickness W13 of the narrow space NS and the thickness W14 of the wide space WS are determined as follows.
W11: W12 = 1: 2 to 1: 3
W13: W14 = 1: 2 to 1: 3

特開平5−307653号公報JP-A-5-307653

特許文献1に記載のリーダライタ装置では、放電破壊式プリンタによって、プリペイドカードにバーコードが印刷されている。そのため、このリーダライタ装置では、コード化される文字等に応じて、ナローバーNB、ワイドバーWB、ナロースペースNSおよびワイドスペースWSの太さや組合せを変える必要があり、バーコードを印刷する放電破壊式プリンタの制御が複雑になる。   In the reader / writer device described in Patent Document 1, a barcode is printed on a prepaid card by a discharge destruction type printer. Therefore, in this reader / writer device, it is necessary to change the thickness and combination of the narrow bar NB, the wide bar WB, the narrow space NS, and the wide space WS according to the character to be encoded, etc. Printer control becomes complicated.

そこで、本発明の課題は、媒体への印字機能に加え、所定のコードを媒体へ印刷するコード印刷機能をサーマルヘッドが果たしている場合であっても、コードを印刷する際のサーマルヘッドの制御を簡素化することが可能な媒体処理装置を提供することにある。また、本発明の課題は、かかる媒体処理装置を備える駐車場用または駐輪場用の媒体回収装置を提供することにある。   Accordingly, an object of the present invention is to control the thermal head when printing a code even if the thermal head fulfills a code printing function for printing a predetermined code on the medium in addition to the printing function on the medium. An object of the present invention is to provide a medium processing apparatus that can be simplified. Moreover, the subject of this invention is providing the medium collection | recovery apparatus for parking lots or bicycle parking lots provided with this medium processing apparatus.

上記の課題を解決するため、本発明の媒体処理装置は、媒体を搬送する媒体搬送機構と、媒体が挿入および排出される媒体挿入排出部と、感熱方式で媒体に印字を行うためのサーマルヘッドと、媒体に記録された磁気情報の再生を行う磁気ヘッドと、媒体の搬送方向における幅が略一定で搬送方向に配列される複数のブロックによって構成されるブロックコードを媒体に印刷するようにサーマルヘッドを制御する制御部と、ブロックコードを読み取るための光学式の読取機構とを備える媒体処理装置であって、制御部は、媒体挿入排出部から媒体が挿入されると、媒体搬送機構で媒体を搬送させながら、媒体に記録された磁気情報を磁気ヘッドで再生させ、かつ、媒体に印刷されたブロックコードを読取機構で読み取るとともに、磁気ヘッドで再生された磁気情報が正しい磁気情報であるか否かを判断し、磁気ヘッドで再生された磁気情報が正しい場合には、媒体処理装置から排出される媒体を回収する媒体回収機構に向かって媒体を排出し、磁気ヘッドで再生された磁気情報が正しくない場合には、読取機構で読み取られたブロックコードに対応する情報が正しい情報であるか否かを判断し、読取機構で読み取られたブロックコードに対応する情報が正しい場合には、媒体回収機構に向かって前記媒体を排出し、読取機構で読み取られたブロックコードに対応する情報が正しくない場合には、エラー情報を発信することを特徴とする。   In order to solve the above problems, a medium processing apparatus according to the present invention includes a medium transport mechanism for transporting a medium, a medium insertion / ejection unit into which the medium is inserted and ejected, and a thermal head for performing printing on the medium in a thermal manner. And a magnetic head that reproduces the magnetic information recorded on the medium, and a block code composed of a plurality of blocks arranged in the transport direction with a substantially constant width in the transport direction of the medium so as to print on the medium A medium processing apparatus comprising a control unit for controlling a head and an optical reading mechanism for reading a block code, wherein the control unit is configured to use a medium conveyance mechanism to perform medium transfer when a medium is inserted from a medium insertion / ejection unit. The magnetic information recorded on the medium is reproduced by the magnetic head while the block code printed on the medium is read by the reading mechanism, and the magnetic head It is determined whether the reproduced magnetic information is correct magnetic information. If the magnetic information reproduced by the magnetic head is correct, the medium is moved toward the medium recovery mechanism for recovering the medium discharged from the medium processing apparatus. If the magnetic information reproduced by the magnetic head is incorrect, it is determined whether the information corresponding to the block code read by the reading mechanism is correct information, and the block read by the reading mechanism When the information corresponding to the code is correct, the medium is discharged toward the medium recovery mechanism, and when the information corresponding to the block code read by the reading mechanism is incorrect, error information is transmitted. And

本発明の媒体処理装置では、制御部は、媒体の搬送方向における幅が略一定で搬送方向に配列される複数のブロックによって構成されるブロックコードを媒体に印刷するようにサーマルヘッドを制御している。そのため、ブロックコードを印刷する際には、制御部は、媒体の搬送方向における幅が略一定の複数のブロックを印刷するようにサーマルヘッドを制御すれば良く、印刷される複数のブロックのそれぞれの幅に関するサーマルヘッドの複雑な制御を行う必要がない。すなわち、本発明では、バーコードを印刷するときのような複雑な制御は要求されない。したがって、本発明では、媒体への印字機能に加え、ブロックコードを媒体へ印刷するコード印刷機能をサーマルヘッドが果たしている場合であっても、ブロックコードを印刷する際のサーマルヘッドの制御を簡素化することが可能になる。   In the medium processing apparatus of the present invention, the control unit controls the thermal head to print on the medium a block code composed of a plurality of blocks arranged in the conveyance direction with a substantially constant width in the medium conveyance direction. Yes. Therefore, when printing the block code, the control unit may control the thermal head so as to print a plurality of blocks having a substantially constant width in the medium conveyance direction. There is no need for complex control of the thermal head with respect to width. That is, the present invention does not require complicated control as in the case of printing a barcode. Therefore, the present invention simplifies the control of the thermal head when printing the block code even when the thermal head fulfills the code printing function for printing the block code on the medium in addition to the printing function on the medium. It becomes possible to do.

本発明において、制御部は、搬送方向におけるブロックの幅が1mm以上となるようにサーマルヘッドを制御することが好ましい。このように構成すると、媒体と読取機構とを当接させなくても、読取機構でブロックコードを読み取ることが可能になり、かつ、媒体に印刷されるブロックコードの印刷密度(記録密度)が比較的粗くなる。したがって、媒体処理装置内でブロックコードが読み取られる媒体が折れ曲がっていたり、破れていたりする場合であっても、光学式の読取機構での読み取り結果に基づいて、制御部で、ブロックの有無を適切に判定することが可能になる。その結果、ブロックコードが読み取られる媒体が折れ曲がっていたり、破れていたりする場合であっても、媒体処理装置で、ブロックコードに対応する所定の情報を適切に取得することが可能になる。   In the present invention, the control unit preferably controls the thermal head so that the width of the block in the transport direction is 1 mm or more. With this configuration, the block code can be read by the reading mechanism without bringing the medium and the reading mechanism into contact with each other, and the printing density (recording density) of the block codes printed on the medium is compared. It becomes rough. Therefore, even if the medium on which the block code is read in the media processing device is bent or torn, the control unit appropriately determines whether or not there is a block based on the reading result of the optical reading mechanism. Can be determined. As a result, even when the medium from which the block code is read is bent or torn, the medium processing apparatus can appropriately acquire predetermined information corresponding to the block code.

また、この場合には、読取機構は、1個の発光素子と1個の受光素子とを有する少なくとも1個のフォトセンサによって構成されていることが好ましい。このように構成すると、ブロックコードを読み取るための光学式の読取機構としてスキャナ等を用いる場合と比較して、媒体処理装置の構成を簡素化して、媒体処理装置のコストを低減することが可能になる。なお、フォトセンサによって読取機構が構成されていても、搬送方向に配列される複数のブロックの搬送方向における幅が1mm以上であるため、読取機構での読み取り結果に基づいて、ブロックの有無を適切に判定することは可能である。   In this case, the reading mechanism is preferably constituted by at least one photosensor having one light emitting element and one light receiving element. With this configuration, it is possible to simplify the configuration of the medium processing apparatus and reduce the cost of the medium processing apparatus, compared to the case where a scanner or the like is used as an optical reading mechanism for reading a block code. Become. Even if the reading mechanism is configured by a photosensor, the width in the conveying direction of the plurality of blocks arranged in the conveying direction is 1 mm or more, and therefore the presence or absence of the block is appropriately determined based on the reading result by the reading mechanism. It is possible to make a determination.

本発明において、ブロックコードは、搬送方向に配列される複数のブロックからなり媒体の厚さ方向と搬送方向とに直交する媒体の幅方向に配列される複数のトラックによって構成されていることが好ましい。このように構成すると、媒体に印刷されるブロックコードから取得される情報の量を増やすことが可能になる。   In the present invention, it is preferable that the block code is composed of a plurality of blocks arranged in the conveyance direction and arranged in a plurality of tracks arranged in the width direction of the medium orthogonal to the thickness direction of the medium and the conveyance direction. . If comprised in this way, it will become possible to increase the quantity of the information acquired from the block code printed on a medium.

また、この場合には、複数のトラックのうちの少なくとも1つのトラックは、搬送方向において複数のブロックが略一定の間隔で配列される基準トラックであることが好ましい。このように構成すると、基準トラックのブロックに対応する位置に、他のトラックのブロックが印刷されているか否かを判定することが可能になる。すなわち、基準トラックに印刷されているブロックを基準にして、他のトラックのブロックの有無を判定することが可能になる。したがって、ブロックコードを印刷する際、および/または、ブロックコードを読み取る際の媒体搬送機構による媒体の搬送速度が変動しても、その影響を受けずに、ブロックコードを読み取ることが可能になる。すなわち、媒体搬送機構による媒体の搬送速度が変動しても、ブロックコードに対応する所定の情報を適切に取得することが可能になる。   In this case, at least one of the plurality of tracks is preferably a reference track in which a plurality of blocks are arranged at substantially constant intervals in the transport direction. With this configuration, it is possible to determine whether a block of another track is printed at a position corresponding to the block of the reference track. That is, it is possible to determine the presence / absence of a block of another track on the basis of the block printed on the reference track. Therefore, even when the medium conveyance speed varies by the medium conveyance mechanism when printing the block code and / or when reading the block code, the block code can be read without being affected by the fluctuation. That is, even if the medium conveyance speed by the medium conveyance mechanism varies, it is possible to appropriately acquire the predetermined information corresponding to the block code.

また、この場合には、読取機構は、1個の発光素子と1個の受光素子とを有する複数のフォトセンサによって構成され、複数のフォトセンサのそれぞれは、複数のトラックのそれぞれに対応する位置に配置されていることが好ましい。このように構成すると、ブロックコードを読み取るための読取機構としてスキャナ等を用いる場合と比較して、媒体処理装置のコストを低減することが可能になる。   In this case, the reading mechanism is constituted by a plurality of photosensors each having one light emitting element and one light receiving element, and each of the plurality of photosensors corresponds to each of a plurality of tracks. It is preferable to arrange | position. With this configuration, it is possible to reduce the cost of the medium processing apparatus as compared with a case where a scanner or the like is used as a reading mechanism for reading a block code.

本発明の媒体処理装置は、媒体回収機構を備える駐車場用または駐輪場用の媒体回収装置に用いることができる。この媒体回収装置では、ブロックコードを媒体へ印刷する際のサーマルヘッドの制御を簡素化することが可能になる。   The medium processing apparatus of the present invention can be used for a medium recovery apparatus for a parking lot or a bicycle parking lot that includes a medium recovery mechanism. In this medium recovery apparatus, it is possible to simplify the control of the thermal head when printing the block code on the medium.

また、駐車場用または駐輪場用の媒体回収装置に媒体処理装置が用いられる場合には、制御部は、搬送方向におけるブロックの幅が1mm以上となるようにサーマルヘッドを制御することが好ましい。駐車場システムや駐輪場システムでは、使い捨ての媒体が使用されることが多い。したがって、駐車場用または駐輪場用の媒体回収装置では、コスト低減のため、媒体として比較的安価な紙媒体が使用されることが多く、紙媒体は折れ曲がったり、破れたりしやすいが、このように構成すると、媒体処理装置内でブロックコードが読み取られる媒体が折れ曲がっていたり、破れていたりする場合であっても、光学式の読取機構での読み取り結果に基づいて、ブロックの有無を適切に判定することが可能になり、媒体処理装置で、ブロックコードに対応する所定の情報を適切に取得することが可能になる。   Moreover, when a medium processing apparatus is used for the medium collection apparatus for parking lots or bicycle parking lots, it is preferable that the control unit controls the thermal head so that the width of the block in the transport direction is 1 mm or more. In parking lot systems and bicycle parking lot systems, disposable media are often used. Therefore, in a medium recovery device for parking lots or bicycle parking lots, in order to reduce costs, a relatively inexpensive paper medium is often used as a medium, and the paper medium is easily bent or torn. If configured, even if the medium on which the block code is read in the medium processing apparatus is bent or torn, the presence / absence of a block is appropriately determined based on the reading result of the optical reading mechanism. Thus, the medium processing apparatus can appropriately acquire predetermined information corresponding to the block code.

以上のように、本発明の媒体処理装置では、媒体への印字機能に加え、ブロックコードを媒体へ印刷するコード印刷機能をサーマルヘッドが果たしている場合であっても、ブロックコードを媒体へ印刷する際のサーマルヘッドの制御を簡素化することが可能になる。また、本発明の駐車場用または駐輪場用の媒体回収装置では、媒体への印字機能に加え、ブロックコードを媒体へ印刷するコード印刷機能をサーマルヘッドが果たしている場合であっても、ブロックコードを印刷する際のサーマルヘッドの制御を簡素化することが可能になる。   As described above, in the medium processing apparatus of the present invention, in addition to the function of printing on the medium, the block code is printed on the medium even when the thermal head performs the code printing function of printing the block code on the medium. It is possible to simplify the control of the thermal head at the time. Further, in the medium recovery device for parking lots or bicycle parking lots according to the present invention, in addition to the printing function on the medium, even if the thermal head fulfills the code printing function for printing the block code on the medium, the block code is displayed. It becomes possible to simplify the control of the thermal head during printing.

本発明の実施の形態にかかる媒体処理装置の、上ガイド部を開けた状態を示す斜視図である。It is a perspective view which shows the state which opened the upper guide part of the medium processing apparatus concerning embodiment of this invention. 図1に示す媒体処理装置の概略構成を説明するための側面図である。It is a side view for demonstrating schematic structure of the medium processing apparatus shown in FIG. 図1に示す媒体処理装置の概略構成を説明するための平面図である。It is a top view for demonstrating schematic structure of the medium processing apparatus shown in FIG. 図2に示すカードの平面図である。FIG. 3 is a plan view of the card shown in FIG. 2. 図1に示す媒体処理装置が搭載される発券装置の概略構成を説明するための側面図である。It is a side view for demonstrating schematic structure of the ticket issuing apparatus by which the medium processing apparatus shown in FIG. 1 is mounted. 図1に示す媒体処理装置の磁気情報の再生記録制御および印字印刷制御に関連する構成を示すブロックである。2 is a block diagram showing a configuration related to magnetic information reproduction / recording control and printing / printing control of the medium processing apparatus shown in FIG. 1. 図5に示す発券装置でカードを発行する際の媒体処理装置の制御フローの一例を示すフローチャートである。It is a flowchart which shows an example of the control flow of the medium processing apparatus at the time of issuing a card | curd with the ticket issuing apparatus shown in FIG. 図5に示す精算装置で精算を行う際の媒体処理装置の制御フローの一例を示すフローチャートである。It is a flowchart which shows an example of the control flow of the medium processing apparatus at the time of performing payment with the payment apparatus shown in FIG. 従来技術にかかるバーコードを説明するための図である。It is a figure for demonstrating the barcode concerning a prior art.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(媒体処理装置、発券装置および精算装置の概略構成)
図1は、本発明の実施の形態にかかる媒体処理装置1の、上ガイド部12を開けた状態を示す斜視図である。図2は、図1に示す媒体処理装置1の概略構成を説明するための側面図である。図3は、図1に示す媒体処理装置1の概略構成を説明するための平面図である。図4は、図2に示すカード2の平面図である。図5は、図1に示す媒体処理装置1が搭載される発券装置30の概略構成を説明するための側面図である。
(Schematic configuration of media processing device, ticket issuing device and payment device)
FIG. 1 is a perspective view showing a state in which an upper guide portion 12 is opened in a medium processing apparatus 1 according to an embodiment of the present invention. FIG. 2 is a side view for explaining a schematic configuration of the medium processing apparatus 1 shown in FIG. FIG. 3 is a plan view for explaining a schematic configuration of the medium processing apparatus 1 shown in FIG. FIG. 4 is a plan view of the card 2 shown in FIG. FIG. 5 is a side view for explaining a schematic configuration of the ticket issuing apparatus 30 on which the medium processing apparatus 1 shown in FIG.

本形態の媒体処理装置1は、たとえば、後述のように、駐車場または駐輪場に設置される発券装置30(図5参照)や精算装置31(図5参照)に搭載されて使用されるカードリーダであり、媒体としてのカード2に感熱方式で印字を行う印字機能を備えている。この媒体処理装置1は、図1〜図3に示すように、感熱方式でカード2に印字を行うためのサーマルヘッド3を有する印字ユニット4と、サーマルヘッド3に対向配置されるプラテンローラ5と、磁気情報の再生や記録を行うための磁気ヘッド6と、媒体処理装置1内でカード2を搬送する媒体搬送機構としてのカード搬送機構7と、カード2が挿入、排出されるカード挿入排出部8とを備えている。   The medium processing device 1 of the present embodiment is, for example, a card reader mounted and used in a ticket issuing device 30 (see FIG. 5) or a checkout device 31 (see FIG. 5) installed in a parking lot or a bicycle parking lot, as will be described later. And has a printing function for printing on the card 2 as a medium by a thermal method. As shown in FIGS. 1 to 3, the medium processing apparatus 1 includes a printing unit 4 having a thermal head 3 for printing on a card 2 by a thermal method, and a platen roller 5 disposed to face the thermal head 3. A magnetic head 6 for reproducing and recording magnetic information, a card transport mechanism 7 as a medium transport mechanism for transporting the card 2 in the medium processing apparatus 1, and a card insertion / ejection unit into which the card 2 is inserted and ejected 8 and.

本形態では、図1等のX方向にカード2が搬送される。すなわち、X方向は、カード2の搬送方向である。また、X方向に直交するZ方向は、媒体処理装置1内に取り込まれたときのカード2の厚さ方向であり、X方向とZ方向とに直交するY方向は、媒体処理装置1内に取り込まれたときのカード2の幅方向である。なお、以下の説明では、図1等のX1方向側を「前」側、X2方向側を「後(後ろ)」側、Y1方向側を「右」側、Y2方向側を「左」側、Z1方向側を「上」側、Z2方向側を「下」側とする。   In this embodiment, the card 2 is transported in the X direction in FIG. That is, the X direction is the card 2 conveyance direction. Further, the Z direction orthogonal to the X direction is the thickness direction of the card 2 when taken into the medium processing apparatus 1, and the Y direction orthogonal to the X direction and the Z direction is within the medium processing apparatus 1. It is the width direction of the card | curd 2 when it was taken in. In the following description, the X1 direction side in FIG. 1 or the like is the “front” side, the X2 direction side is the “rear (back)” side, the Y1 direction side is the “right” side, the Y2 direction side is the “left” side, The Z1 direction side is the “upper” side, and the Z2 direction side is the “lower” side.

媒体処理装置1が搭載される発券装置30や精算装置31を用いた駐車場システムや駐輪場システムでは、使い捨てのカード2が使用されることが多い。したがって、本形態では、コストを低減するため、カード2の材質として比較的安価な紙が使用されている。すなわち、本形態のカード2は、所定の厚さの紙カードである。このカード2は、感熱紙で形成されており、カード2の表面には、図4に示すように、感熱方式によって印字が行われる印字領域2aが形成されている。また、カード2の裏面には、磁気情報が記録される磁気層または磁気ストライプ(図示省略)が形成されている。   A disposable card 2 is often used in a parking lot system or a bicycle parking lot system using the ticket issuing device 30 or the checkout device 31 on which the medium processing device 1 is mounted. Therefore, in this embodiment, relatively inexpensive paper is used as the material of the card 2 in order to reduce the cost. That is, the card 2 of this embodiment is a paper card having a predetermined thickness. The card 2 is made of thermal paper, and on the surface of the card 2, a printing area 2a where printing is performed by a thermal method is formed as shown in FIG. A magnetic layer or magnetic stripe (not shown) on which magnetic information is recorded is formed on the back surface of the card 2.

なお、カード2は、厚さが0.18〜0.36mm程度のPET(ポリエチレンテレフタレート)カードであっても良いし、厚さが0.7〜0.8mm程度の塩化ビニール製のカードであっても良い。また、カード2の表面には、感熱方式によって銀色の印字面に白色の印字が行われる白濁式のリライト層が形成されても良いし、感熱方式によって白色等の印字面に青色や黒色等の印字が行われるロイコ式のリライト層が形成されても良い。   The card 2 may be a PET (polyethylene terephthalate) card having a thickness of about 0.18 to 0.36 mm, or a card made of vinyl chloride having a thickness of about 0.7 to 0.8 mm. May be. Further, a cloudy rewrite layer in which white printing is performed on a silver printing surface by a thermal method may be formed on the surface of the card 2, and blue or black or the like may be formed on a white printing surface by a thermal method. A leuco-type rewrite layer on which printing is performed may be formed.

媒体処理装置1は、上述の構成に加え、印字領域2aに印刷される後述のブロックコード51(図4参照)を読み取るための光学式の読取機構9を備えている。また、媒体処理装置1は、カード2が搬送されるカード搬送路11を形成する上ガイド部12と下ガイド部13と右側板14と左側板15とを備えており、上下方向における上ガイド部12と下ガイド部13との間であって、かつ、左右方向における右側板14と左側板15との間にカード搬送路11が形成されている。   In addition to the above-described configuration, the medium processing apparatus 1 includes an optical reading mechanism 9 for reading a later-described block code 51 (see FIG. 4) printed in the print area 2a. The medium processing apparatus 1 also includes an upper guide portion 12, a lower guide portion 13, a right side plate 14, and a left side plate 15 that form a card transport path 11 through which the card 2 is transported. The card transport path 11 is formed between the right side plate 14 and the left side plate 15 in the left-right direction between the lower guide portion 13 and the lower guide portion 13.

下ガイド部13の右端には、右側板14が固定され、下ガイド部13の左端には、左側板15が固定されている。また、上ガイド部12は、図2に示すように、下ガイド部13、右側板14および左側板15に対して、後端側を支点とする回動が可能となるように構成されている。   A right side plate 14 is fixed to the right end of the lower guide portion 13, and a left side plate 15 is fixed to the left end of the lower guide portion 13. Further, as shown in FIG. 2, the upper guide portion 12 is configured to be rotatable with the rear end side as a fulcrum with respect to the lower guide portion 13, the right side plate 14 and the left side plate 15. .

印字ユニット4および読取機構9は、上ガイド部12に取り付けられ、プラテンローラ5および磁気ヘッド6は、下ガイド部13に取り付けられている。また、カード挿入排出部8は、上ガイド部12、下ガイド部13、右側板14および左側板15の前端に固定されている。   The printing unit 4 and the reading mechanism 9 are attached to the upper guide portion 12, and the platen roller 5 and the magnetic head 6 are attached to the lower guide portion 13. Further, the card insertion / ejection unit 8 is fixed to the front ends of the upper guide unit 12, the lower guide unit 13, the right side plate 14 and the left side plate 15.

印字ユニット4は、サーマルヘッド3に加え、サーマルヘッド3を移動させるソレノイド17と、サーマルヘッド3を保持するヘッド保持部材18とを備えている。サーマルヘッド3は、カード2の表面に直接、当接してカード2に印字を行ういわゆるダイレクト方式のサーマルヘッドである。なお、サーマルヘッド3は、インクリボンを介してカード2に当接してカード2に印字を行ういわゆる熱転写式のサーマルヘッドであっても良い。すなわち、サーマルヘッド3は、インクリボンに塗布されたインクを加熱してカード2に印字を行う熱転写式のサーマルヘッドであっても良い。   In addition to the thermal head 3, the printing unit 4 includes a solenoid 17 that moves the thermal head 3 and a head holding member 18 that holds the thermal head 3. The thermal head 3 is a so-called direct type thermal head that directly contacts the surface of the card 2 and prints on the card 2. The thermal head 3 may be a so-called thermal transfer type thermal head that prints on the card 2 by contacting the card 2 via an ink ribbon. That is, the thermal head 3 may be a thermal transfer type thermal head that prints on the card 2 by heating the ink applied to the ink ribbon.

ソレノイド17は、サーマルヘッド3がカード2に当接する方向(プラテンローラ5に当接する方向)およびサーマルヘッド3がカード2から離れる方向(プラテンローラ5から離れる方向)にサーマルヘッド3を移動させる。すなわち、ソレノイド17は、図2の実線で示す位置および二点鎖線で示す位置に、ヘッド保持部材18に保持されたサーマルヘッド3を移動させる。   The solenoid 17 moves the thermal head 3 in a direction in which the thermal head 3 abuts on the card 2 (a direction in which the thermal head 3 abuts on the platen roller 5) and a direction in which the thermal head 3 moves away from the card 2 (a direction away from the platen roller 5). That is, the solenoid 17 moves the thermal head 3 held by the head holding member 18 to a position indicated by a solid line and a position indicated by a two-dot chain line in FIG.

プラテンローラ5は、左右方向を軸方向とする回転が可能となるように下ガイド部13に取り付けられている。また、上述のように、プラテンローラ5は、サーマルヘッド3に対向配置されている。具体的には、プラテンローラ5は、カード搬送路11を挟んでサーマルヘッド3に対向配置されており、カード搬送路11にカード2がないときには、サーマルヘッド3とプラテンローラ5とは当接可能となっている。   The platen roller 5 is attached to the lower guide portion 13 so as to be able to rotate with the left-right direction as an axial direction. Further, as described above, the platen roller 5 is disposed to face the thermal head 3. Specifically, the platen roller 5 is disposed so as to face the thermal head 3 with the card transport path 11 interposed therebetween, and the thermal head 3 and the platen roller 5 can come into contact when there is no card 2 in the card transport path 11. It has become.

カード搬送機構7は、カード2に当接してカード2を搬送する搬送ローラ20と、搬送ローラ20に対向配置されるパッドローラ21と、搬送ローラ20を駆動するためのローラ駆動機構22とを備えている。搬送ローラ20は、下ガイド部13に回転可能に取り付けられ、パッドローラ21は、上ガイド部12に回転可能に取り付けられている。また、ローラ駆動機構22は、駆動用のモータ23、搬送ローラ20の回転軸に固定されるプーリおよびプーリに架け渡されるベルト等を備えており、下ガイド部13に取り付けられている。   The card transport mechanism 7 includes a transport roller 20 that contacts the card 2 and transports the card 2, a pad roller 21 that is disposed to face the transport roller 20, and a roller drive mechanism 22 that drives the transport roller 20. ing. The transport roller 20 is rotatably attached to the lower guide portion 13, and the pad roller 21 is rotatably attached to the upper guide portion 12. The roller driving mechanism 22 includes a driving motor 23, a pulley fixed to the rotation shaft of the conveying roller 20, a belt spanned over the pulley, and the like, and is attached to the lower guide portion 13.

読取機構9は、3個のフォトセンサ24〜26を備えている。フォトセンサ24〜26は、1個の発光素子(図示省略)と1個の受光素子(図示省略)とを備える反射型のフォトセンサである。このフォトセンサ24〜26は、上ガイド部12に取り付けられている。具体的には、前後方向では、フォトセンサ24とフォトセンサ26とがほぼ同じ位置に配置され、フォトセンサ25がフォトセンサ24、26よりも前側に配置されている。また、左右方向では、フォトセンサ24とフォトセンサ26とが隣接するように配置されるとともに、フォトセンサ24がフォトセンサ26の右側に配置され、フォトセンサ25がフォトセンサ24、26の間に配置されている。   The reading mechanism 9 includes three photosensors 24-26. The photo sensors 24 to 26 are reflection type photo sensors each including one light emitting element (not shown) and one light receiving element (not shown). The photosensors 24 to 26 are attached to the upper guide portion 12. Specifically, in the front-rear direction, the photo sensor 24 and the photo sensor 26 are disposed at substantially the same position, and the photo sensor 25 is disposed in front of the photo sensors 24 and 26. Further, in the left-right direction, the photo sensor 24 and the photo sensor 26 are disposed adjacent to each other, the photo sensor 24 is disposed on the right side of the photo sensor 26, and the photo sensor 25 is disposed between the photo sensors 24 and 26. Has been.

媒体処理装置1は、駐車場や駐輪場の入口に設置される媒体発行装置としての発券装置30、および、駐車場や駐輪場の出口に設置される媒体回収装置としての精算装置31に搭載されて使用される。   The medium processing device 1 is mounted and used in a ticketing device 30 as a medium issuing device installed at the entrance of a parking lot or a bicycle parking lot, and a checkout device 31 as a medium recovery device installed at the exit of a parking lot or a bicycle parking lot. Is done.

発券装置30は、図5に示すように、媒体処理装置1に向かってカード2を供給する媒体供給機構32を備えている。また、発券装置30は、媒体処理装置1のカード挿入排出部8から排出されるカード2を排出するカード排出部33を備えている。この発券装置30には、たとえば、駐車場や駐輪場の入口を開閉するゲートバー等を有するゲート開閉装置が接続されている。なお、媒体供給機構32から供給されるカード2は、媒体処理装置1の後端から媒体処理装置1の内部に取り込まれる。   As shown in FIG. 5, the ticket issuing apparatus 30 includes a medium supply mechanism 32 that supplies the card 2 toward the medium processing apparatus 1. Further, the ticket issuing device 30 includes a card discharge unit 33 that discharges the card 2 discharged from the card insertion / discharge unit 8 of the medium processing device 1. For example, a gate opening / closing device having a gate bar for opening / closing an entrance of a parking lot or a bicycle parking lot is connected to the ticket issuing device 30. The card 2 supplied from the medium supply mechanism 32 is taken into the medium processing apparatus 1 from the rear end of the medium processing apparatus 1.

精算装置31は、媒体処理装置1から排出されるカード2を回収する媒体回収機構34を備えるとともに、カード挿入排出部8に向かってカード2が挿入されるカード挿入部35を備えている(図5参照)。この精算装置31にも、たとえば、駐車場や駐輪場の出口を開閉するゲートバー等を有するゲート開閉装置が接続されている。なお、媒体回収機構34で回収されるカード2は、媒体処理装置1の後端から媒体回収機構34に向かって排出される。   The payment apparatus 31 includes a medium recovery mechanism 34 that recovers the card 2 discharged from the medium processing apparatus 1 and a card insertion part 35 into which the card 2 is inserted toward the card insertion / discharge part 8 (see FIG. 5). For example, a gate opening / closing device having a gate bar for opening and closing an exit of a parking lot or a bicycle parking lot is also connected to the settlement device 31. The card 2 collected by the medium collection mechanism 34 is discharged from the rear end of the medium processing apparatus 1 toward the medium collection mechanism 34.

なお、媒体処理装置1は、媒体供給機構32と媒体回収機構34との両者を有する発券および精算装置に搭載されても良い。この場合、発券および精算装置は、駐車場や駐輪場の入口および出口に設置される。   Note that the medium processing apparatus 1 may be mounted on a ticket issuing and settlement apparatus having both the medium supply mechanism 32 and the medium recovery mechanism 34. In this case, ticketing and settlement devices are installed at the entrances and exits of parking lots and bicycle parking lots.

(媒体処理装置の制御部の概略構成)
図6は、図1に示す媒体処理装置1の磁気情報の再生記録制御および印字印刷制御に関連する構成を示すブロックである。
(Schematic configuration of the control unit of the medium processing apparatus)
FIG. 6 is a block diagram showing a configuration related to magnetic information reproduction / recording control and printing / printing control of the medium processing apparatus 1 shown in FIG.

図6に示すように、媒体処理装置1の制御部40には、磁気情報の再生記録制御および印字印刷制御に関連する構成として、サーマルヘッド3、磁気ヘッド6、ソレノイド17、モータ23およびフォトセンサ24〜26等が接続されている。また、制御部40は、発券装置30の制御部である上位制御部41または精算装置31の制御部である上位制御部42に接続されている。   As shown in FIG. 6, the control unit 40 of the medium processing apparatus 1 includes a thermal head 3, a magnetic head 6, a solenoid 17, a motor 23, and a photosensor as configurations related to magnetic information reproduction / recording control and printing / printing control. 24-26 etc. are connected. The control unit 40 is connected to a host control unit 41 that is a control unit of the ticket issuing device 30 or a host control unit 42 that is a control unit of the settlement apparatus 31.

制御部40は、サーマルヘッド3、磁気ヘッド6、ソレノイド17およびモータ23を制御するとともに、制御部40には、磁気ヘッド6で再生される磁気情報やフォトセンサ24〜26での検出信号が入力される。また、制御部40は、上位制御部41、42と各種の信号のやりとりを行う。   The control unit 40 controls the thermal head 3, the magnetic head 6, the solenoid 17 and the motor 23, and magnetic information reproduced by the magnetic head 6 and detection signals from the photosensors 24 to 26 are input to the control unit 40. Is done. The control unit 40 also exchanges various signals with the host control units 41 and 42.

本形態の制御部40は、カード2の印字領域2aに文字情報50(図4参照)を印字するようにサーマルヘッド3を制御している。また、制御部40は、印字領域2aにブロックコード51(図4参照)を印刷するようにサーマルヘッド3を制御している。   The control unit 40 of this embodiment controls the thermal head 3 so as to print the character information 50 (see FIG. 4) on the printing area 2a of the card 2. Further, the control unit 40 controls the thermal head 3 so as to print the block code 51 (see FIG. 4) in the print area 2a.

本形態のブロックコード51は、カード2の搬送方向となるカード2の長さ方向(X方向)に配列される複数のブロック52からなるトラックTr1〜Tr3によって構成されている。すなわち、ブロックコード51は、複数のトラックTr1〜Tr3によって構成されている。本形態では、3個のトラックTr1〜Tr3によってブロックコード51が構成されている。また、3個のトラックTr1〜Tr3は、カード2の幅方向(Y方向)に配列されている。具体的には、3個のトラックTr1〜Tr3は、印字領域2aの右端から左側に向かってこの順番に、かつ、略一定の間隔で配列されている。   The block code 51 of this embodiment is configured by tracks Tr1 to Tr3 including a plurality of blocks 52 arranged in the length direction (X direction) of the card 2 that is the conveyance direction of the card 2. That is, the block code 51 includes a plurality of tracks Tr1 to Tr3. In this embodiment, the block code 51 is configured by three tracks Tr1 to Tr3. The three tracks Tr1 to Tr3 are arranged in the width direction (Y direction) of the card 2. Specifically, the three tracks Tr1 to Tr3 are arranged in this order from the right end of the print area 2a to the left side at substantially constant intervals.

ブロック52は、カード2の幅方向に長い長方形状に形成されている。ブロック52の全体は、光を反射しにくい色、あるいは、光を反射しない色によって塗りつぶされている。具体的には、ブロック52の全体は、黒く塗りつぶされている。また、カード2の長さ方向における複数のブロック52の幅Wは略一定となっている。すなわち、ブロックコード51を構成する全てのブロック52の幅Wは略一定となっている。本形態では、ブロック52の幅Wは1mm以上となっている。すなわち、制御部40は、印刷されるブロック52の幅Wが1mm以上となるようにサーマルヘッド3を制御している。より具体的には、ブロック52の幅Wは、1mm〜2mm程度であり、たとえば、ブロック52の幅Wは、1.4mm〜1.5mm程度となっている。また、本形態では、カード2の幅方向における複数のブロック52の長さも略一定となっている。すなわち、ブロックコード51を構成する全てのブロック52のカード2の幅方向における長さは略一定となっている。   The block 52 is formed in a rectangular shape that is long in the width direction of the card 2. The entire block 52 is filled with a color that hardly reflects light or a color that does not reflect light. Specifically, the entire block 52 is painted black. Further, the width W of the plurality of blocks 52 in the length direction of the card 2 is substantially constant. That is, the width W of all the blocks 52 constituting the block code 51 is substantially constant. In this embodiment, the width W of the block 52 is 1 mm or more. That is, the control unit 40 controls the thermal head 3 so that the width W of the block 52 to be printed is 1 mm or more. More specifically, the width W of the block 52 is about 1 mm to 2 mm. For example, the width W of the block 52 is about 1.4 mm to 1.5 mm. In this embodiment, the length of the plurality of blocks 52 in the width direction of the card 2 is also substantially constant. That is, the length of all the blocks 52 constituting the block code 51 in the width direction of the card 2 is substantially constant.

また、トラックTr1〜Tr3のそれぞれでは、たとえば、最大で18個のブロック52を、カード2の長さ方向において、略一定の間隔Dで配列することが可能となっている。すなわち、たとえば、各トラックTr1〜Tr3のビット数は18となっている。ブロック52が配列される間隔Dは、たとえば、1.3〜1.4mm程度となっている。   In each of the tracks Tr <b> 1 to Tr <b> 3, for example, a maximum of 18 blocks 52 can be arranged at a substantially constant interval D in the length direction of the card 2. That is, for example, the number of bits of each of the tracks Tr1 to Tr3 is 18. The interval D at which the blocks 52 are arranged is, for example, about 1.3 to 1.4 mm.

ここで、ブロック52の幅Wと間隔Dとは、以下の(1)〜(4)を考慮して決められる。
(1)カード2に印刷される各トラックTr1〜Tr3のデータ量(ビット数)
(2)サーマルヘッド3が印刷できる最小ドット寸法(最小ドット数の整数倍が幅Wとなる。)
(3)印刷されたブロック52の幅Wがごみ等のノイズと間違えられない程度の幅であること
(4)フォトセンサ24〜26の読取精度(解像度)
ただし、ブロック52の幅Wと間隔Dとを決める際に、必要に応じて、上記(1)〜(4)以外の内容が考慮されても良い。
Here, the width W and the interval D of the block 52 are determined in consideration of the following (1) to (4).
(1) Data amount (number of bits) of each track Tr1 to Tr3 printed on the card 2
(2) Minimum dot size that the thermal head 3 can print (an integer multiple of the minimum number of dots is the width W)
(3) The width W of the printed block 52 is such that it cannot be mistaken for noise such as dust. (4) Reading accuracy (resolution) of the photosensors 24-26.
However, when determining the width W and the interval D of the block 52, contents other than the above (1) to (4) may be taken into consideration as necessary.

なお、仮に、3個のトラックTr1〜Tr3の全てに最大数のブロック52(18個のブロック52)が配列された場合には、各トラックTr1〜Tr3のそれぞれのnビット目(nは、たとえば、1〜18の整数)に配置されるブロック52は、カード2の長さ方向において、略同じ位置に配置される。すなわち、この場合には、各トラックTr1〜Tr3のそれぞれのnビット目に配置されるブロック52は、カード2の幅方向で並ぶ。   If the maximum number of blocks 52 (18 blocks 52) are arranged on all three tracks Tr1 to Tr3, the n-th bit (n is, for example, , 1 to 18) are arranged at substantially the same position in the length direction of the card 2. That is, in this case, the block 52 arranged in the nth bit of each of the tracks Tr1 to Tr3 is arranged in the width direction of the card 2.

本形態では、3個のトラックTr1〜Tr3のうちの1個のトラックTr1は、カード2の長さ方向において、複数のブロック52が間隔Dで配列される基準トラックとなっている。すなわち、トラックTr1は、最大数のブロック52(18個のブロック52)が略一定の間隔Dで配列された信号同期用の基準トラックとなっている。   In this embodiment, one of the three tracks Tr1 to Tr3 is a reference track in which a plurality of blocks 52 are arranged at intervals D in the length direction of the card 2. That is, the track Tr1 is a reference track for signal synchronization in which the maximum number of blocks 52 (18 blocks 52) are arranged at a substantially constant interval D.

また、トラックTr2、Tr3は、所定の情報に対応するパターンでブロック52が配列されるデータトラックとなっている。本形態では、トラックTr2、Tr3には、精算装置31での精算処理に支障がでないようにするために最低限必要とされる情報に対応するパターンでブロック52が印刷される。たとえば、トラックTr2、Tr3には、駐車場または駐輪場への入車日時に対応するパターンでブロック52が印刷される。なお、印字領域2aに印字される文字情報50は、たとえば、図4に示すように、駐車場または駐輪場への入車日時である。   The tracks Tr2 and Tr3 are data tracks in which the blocks 52 are arranged in a pattern corresponding to predetermined information. In this embodiment, blocks 52 are printed on the tracks Tr2 and Tr3 in a pattern corresponding to the minimum information necessary to prevent the settlement process in the settlement apparatus 31 from being hindered. For example, blocks 52 are printed on the trucks Tr2 and Tr3 in a pattern corresponding to the date and time of entering the parking lot or the bicycle parking lot. The character information 50 printed in the print area 2a is, for example, the date and time of entering the parking lot or the bicycle parking lot as shown in FIG.

また、本形態では、トラックTr2、Tr3において、ブロック52の追加印刷が可能となるように(すなわち、トラックTr2、Tr3に対応する情報の変更が可能となるように)、カード2の発行時に、トラックTr2および/またはトラックTr3に印刷されるブロック52の数は、トラックTr1に印刷されるブロック52の数よりも少なくなっている。すなわち、本形態では、カード2の発行時に、トラックTr2および/またはトラックTr3に最大数のブロック52が印刷されないようになっている。   Further, in this embodiment, when the card 2 is issued so that the additional printing of the block 52 can be performed in the tracks Tr2 and Tr3 (that is, the information corresponding to the tracks Tr2 and Tr3 can be changed). The number of blocks 52 printed on the track Tr2 and / or the track Tr3 is smaller than the number of blocks 52 printed on the track Tr1. That is, in this embodiment, when the card 2 is issued, the maximum number of blocks 52 are not printed on the track Tr2 and / or the track Tr3.

上述のように、左右方向において、フォトセンサ24は、フォトセンサ26の右側に配置され、フォトセンサ25は、フォトセンサ24、26の間に配置されている。具体的には、フォトセンサ24〜26のそれぞれは、トラックTr1〜Tr3のそれぞれに対応する位置に配置されており、フォトセンサ24によってトラックTr1上のブロック52の有無が検出され、フォトセンサ25によってトラックTr2上のブロック52の有無が検出され、フォトセンサ26によってトラックTr3上のブロック52の有無が検出される。また、フォトセンサ24〜26での検出結果に基づいて、制御部40は、印刷されたブロックコード51に対応する情報を取得する。   As described above, in the left-right direction, the photosensor 24 is disposed on the right side of the photosensor 26, and the photosensor 25 is disposed between the photosensors 24 and 26. Specifically, each of the photosensors 24 to 26 is arranged at a position corresponding to each of the tracks Tr1 to Tr3, and the presence or absence of the block 52 on the track Tr1 is detected by the photosensor 24. The presence or absence of the block 52 on the track Tr2 is detected, and the presence or absence of the block 52 on the track Tr3 is detected by the photosensor 26. Further, based on the detection results of the photosensors 24 to 26, the control unit 40 acquires information corresponding to the printed block code 51.

(媒体処理装置の制御方法)
図7は、図5に示す発券装置30でカード2を発行する際の媒体処理装置1の制御フローの一例を示すフローチャートである。図8は、図5に示す精算装置31で精算を行う際の媒体処理装置1の制御フローの一例を示すフローチャートである。
(Control method of media processing apparatus)
FIG. 7 is a flowchart illustrating an example of a control flow of the medium processing apparatus 1 when the card 2 is issued by the ticket issuing apparatus 30 illustrated in FIG. FIG. 8 is a flowchart illustrating an example of a control flow of the medium processing apparatus 1 when the settlement apparatus 31 illustrated in FIG. 5 performs settlement.

以上のように構成された媒体処理装置1が発券装置30に搭載されたときの媒体処理装置1の概略制御の一例、および、媒体処理装置1が精算装置31に搭載されたときの媒体処理装置1の概略制御の一例を以下に説明する。   An example of schematic control of the medium processing apparatus 1 when the medium processing apparatus 1 configured as described above is mounted on the ticket issuing apparatus 30, and a medium processing apparatus when the medium processing apparatus 1 is mounted on the checkout apparatus 31 An example of the general control 1 will be described below.

まず、媒体処理装置1が発券装置30に搭載されたときの媒体処理装置1の概略制御の一例を説明する。発券装置30では、ユーザが駐車場や駐輪場に入場しようとすると、上位制御部41が、媒体供給機構32を制御してカード2を媒体処理装置1に供給する。   First, an example of schematic control of the media processing device 1 when the media processing device 1 is mounted on the ticket issuing device 30 will be described. In the ticket issuing device 30, when a user tries to enter a parking lot or a bicycle parking lot, the host control unit 41 controls the medium supply mechanism 32 to supply the card 2 to the medium processing device 1.

媒体処理装置1にカード2が供給されると、図7のフローで示すように、制御部40は、モータ23を起動してカード2を搬送させながら、磁気ヘッド6を制御して、カード2の裏面に磁気情報を記録する(ステップS1)。具体的には、駐車場または駐輪場への入車日時を含む磁気情報が磁気ヘッド6によって記録される。   When the card 2 is supplied to the medium processing apparatus 1, the control unit 40 controls the magnetic head 6 while starting the motor 23 to convey the card 2 as shown in the flow of FIG. Magnetic information is recorded on the back surface of the disk (step S1). Specifically, magnetic information including the date and time of entering the parking lot or the bicycle parking lot is recorded by the magnetic head 6.

カード2への磁気情報の記録が終わると、制御部40は、モータ23を駆動してカード2を搬送させながら、カード2に記録された磁気情報を磁気ヘッド6で再生させ、カード2に正しい磁気情報が記録されたか否かを判断する(ステップS2)。ステップS2で、カード2に磁気情報が正しく記録されていないと判断されると、ステップS1に戻って、再び、カード2に磁気情報を記録する。   When the recording of the magnetic information on the card 2 is finished, the control unit 40 drives the motor 23 to convey the card 2 and reproduces the magnetic information recorded on the card 2 with the magnetic head 6 so that the card 2 is correct. It is determined whether or not magnetic information has been recorded (step S2). If it is determined in step S2 that the magnetic information is not correctly recorded on the card 2, the process returns to step S1 to record the magnetic information on the card 2 again.

一方、ステップS2で、カード2に磁気情報が正しく記録されていると判断されると、制御部40は、ソレノイド17を駆動して、カード2に当接する方向へサーマルヘッド3を移動させる(ステップS3)。その後、制御部40は、モータ23を駆動してカード2を搬送させながら、サーマルヘッド3を制御して、カード2の印字領域2aに文字情報50を印字するとともにブロックコード51を印刷する(ステップS4)。   On the other hand, if it is determined in step S2 that the magnetic information is correctly recorded on the card 2, the control unit 40 drives the solenoid 17 to move the thermal head 3 in the direction in which it contacts the card 2 (step S2). S3). Thereafter, the controller 40 controls the thermal head 3 while driving the motor 23 to convey the card 2 to print the character information 50 on the print area 2a of the card 2 and print the block code 51 (step). S4).

カード2への文字情報50の印字とブロックコード51の印刷とが終わると、制御部40は、ソレノイド17を駆動して、カード2から遠ざかる方向へサーマルヘッド3を退避させる(ステップS5)。また、制御部40は、モータ23を駆動してカード2を搬送させながら、カード2に印刷されたブロックコード51を読取機構9で読み取って、カード2に正しいブロックコード51が印刷されたか否かを判断する(ステップS6)。   When the printing of the character information 50 and the printing of the block code 51 on the card 2 is completed, the control unit 40 drives the solenoid 17 to retract the thermal head 3 in the direction away from the card 2 (step S5). Further, the controller 40 reads the block code 51 printed on the card 2 with the reading mechanism 9 while driving the motor 23 to convey the card 2, and whether or not the correct block code 51 is printed on the card 2. Is determined (step S6).

ステップS6で、カード2に正しいブロックコード51が印刷されていると判断されると、制御部40は、モータ23を駆動して、カード挿入排出部8からカード2を排出する(ステップS7)。一方、ステップS6で、カード2に正しいブロックコード51が印刷されていないと判断されると、制御部40は、上位制御部41にエラー情報を送信する(ステップS8)。ステップS8で、エラー情報を受信した上位制御部41は、所定の処理を行うための制御指令を制御部40に送信する。   If it is determined in step S6 that the correct block code 51 is printed on the card 2, the control unit 40 drives the motor 23 to discharge the card 2 from the card insertion / discharge unit 8 (step S7). On the other hand, if it is determined in step S6 that the correct block code 51 is not printed on the card 2, the control unit 40 transmits error information to the upper control unit 41 (step S8). In step S <b> 8, the upper control unit 41 that has received the error information transmits a control command for performing a predetermined process to the control unit 40.

なお、文字情報50の印字とブロックコード51の印刷とをカード2に行った後に、カード2への磁気情報の記録を行っても良い。また、文字情報50の印字とブロックコード51の印刷とをカード2に行った後に、カード2に記録された磁気情報を磁気ヘッド6で再生させて、カード2に正しい磁気情報が記録されたか否かを判断しても良い。また、カード2への磁気情報の記録を行うと同時に、文字情報50の印字とブロックコード51の印刷とをカード2に行っても良い。また、カード2に正しいブロックコード51が印刷されたか否かを判断せずにそのまま、カード2を排出することも可能である。   Note that the magnetic information may be recorded on the card 2 after the character information 50 and the block code 51 are printed on the card 2. Further, after the character information 50 and the block code 51 are printed on the card 2, the magnetic information recorded on the card 2 is reproduced by the magnetic head 6, and the correct magnetic information is recorded on the card 2. It may be judged. Further, at the same time when magnetic information is recorded on the card 2, the character information 50 and the block code 51 may be printed on the card 2. It is also possible to eject the card 2 as it is without determining whether or not the correct block code 51 is printed on the card 2.

次に、媒体処理装置1が精算装置31に搭載されたときの媒体処理装置1の概略制御の一例を説明する。精算装置31では、ユーザが駐車場や駐輪場から退場しようとして、カード挿入部35にカード2を挿入すると、図8のフローで示すように、制御部40は、モータ23を起動してカード2を搬送させながら、カード2に記録された磁気情報を磁気ヘッド6で再生させるとともに、カード2に印刷されたブロックコード51を読取機構9で読み取る(ステップS11)。   Next, an example of schematic control of the medium processing apparatus 1 when the medium processing apparatus 1 is mounted on the settlement apparatus 31 will be described. In the checkout apparatus 31, when the user inserts the card 2 into the card insertion unit 35 in order to leave the parking lot or the bicycle parking lot, the control unit 40 activates the motor 23 to remove the card 2 as shown in the flow of FIG. While being conveyed, the magnetic information recorded on the card 2 is reproduced by the magnetic head 6, and the block code 51 printed on the card 2 is read by the reading mechanism 9 (step S11).

その後、制御部40は、再生された磁気情報が正しい磁気情報であるか否かを判断する(ステップS12)。すなわち、制御部40は、磁気情報の再生エラーが発生しているか否かを判断する。ステップS12で、再生された磁気情報が正しい磁気情報であると判断されると、制御部40は、カード2を回収するため、モータ23を駆動してカード2を媒体回収機構34に向かって排出するとともに、再生された磁気情報を上位制御部42に送信する(ステップS13)。ステップS13で、磁気情報を受信した上位制御部42は、受信した磁気情報に基づいて精算装置31で所定の精算処理を行う。   Thereafter, the control unit 40 determines whether or not the reproduced magnetic information is correct magnetic information (step S12). That is, the control unit 40 determines whether or not a magnetic information reproduction error has occurred. When it is determined in step S12 that the reproduced magnetic information is correct magnetic information, the control unit 40 drives the motor 23 to eject the card 2 toward the medium collecting mechanism 34 in order to collect the card 2. At the same time, the reproduced magnetic information is transmitted to the host controller 42 (step S13). In step S <b> 13, the host control unit 42 that has received the magnetic information performs a predetermined settlement process in the settlement apparatus 31 based on the received magnetic information.

一方、カード2が折り曲げられたり、破かれたりする等の原因で、ステップS12において、正しい磁気情報が再生されていないと判断されると(すなわち、再生エラーが発生していると判断されると)、制御部40は、ステップS11で、読み取られたブロックコード51に対応する情報が正しい情報であるか否かを判断する(ステップS14)。すなわち、制御部40は、ブロックコード51に対応する情報の再生エラーが発生しているか否かを判断する。   On the other hand, if it is determined in step S12 that correct magnetic information has not been reproduced due to the card 2 being bent or torn (ie, it is determined that a reproduction error has occurred). In step S11, the control unit 40 determines whether the information corresponding to the read block code 51 is correct information (step S14). That is, the control unit 40 determines whether or not a reproduction error of information corresponding to the block code 51 has occurred.

ステップS14で、読み取られたブロックコード51に対応する情報が正しい情報であると判断されると、制御部40は、カード2を回収するため、モータ23を駆動してカード2を媒体回収機構34に向かって排出するとともに、この情報を上位制御部42に送信する(ステップS15)。ステップS15で、ブロックコード51に対応する情報を受信した上位制御部42は、受信したこの情報に基づいて精算装置31で所定の精算処理を行う。   If it is determined in step S14 that the information corresponding to the read block code 51 is correct information, the control unit 40 drives the motor 23 to collect the card 2 so as to collect the card 2. This information is transmitted to the host controller 42 (step S15). In step S15, the host control unit 42 that has received the information corresponding to the block code 51 performs a predetermined settlement process in the settlement apparatus 31 based on the received information.

一方、カード2の折り曲げの度合や破れの度合が大きい等の原因で、ステップS14において、読み取られたブロックコード51に対応する情報が正しい情報でないと判断されると(すなわち、再生エラーが発生していると判断されると)、制御部40は、上位制御部42にエラー情報を送信する(ステップS16)。ステップS16で、エラー情報を受信した上位制御部42は、所定の処理を行うための制御指令を制御部40に送信する。   On the other hand, if it is determined in step S14 that the information corresponding to the read block code 51 is not correct information due to the degree of bending or tearing of the card 2 (ie, a reproduction error occurs). If it is determined that the error has occurred, the control unit 40 transmits error information to the host control unit 42 (step S16). In step S <b> 16, the upper control unit 42 that has received the error information transmits a control command for performing predetermined processing to the control unit 40.

なお、ステップS12で、再生された磁気情報が正しい磁気情報であると判断された場合であっても、読み取られたブロックコード51に対応する情報が正しい情報であるか否かを判断して、読み取られたブロックコード51に対応する情報と再生された磁気情報との整合性を確認しても良い。また、まず、カード2に記録された磁気情報を再生させ、再生された磁気情報が正しい磁気情報であるか否かを判断し、正しい磁気情報が再生されていない場合(再生エラーが発生した場合)に、カード2に印刷されたブロックコード51を読取機構9で読み取って、読み取られたブロックコード51に対応する情報が正しい情報であるか否かを判断しても良い。   Even if it is determined in step S12 that the reproduced magnetic information is correct magnetic information, it is determined whether or not the information corresponding to the read block code 51 is correct information. The consistency between the information corresponding to the read block code 51 and the reproduced magnetic information may be confirmed. First, the magnetic information recorded on the card 2 is reproduced, and it is determined whether the reproduced magnetic information is correct magnetic information. When the correct magnetic information is not reproduced (when a reproduction error occurs) ), The block code 51 printed on the card 2 may be read by the reading mechanism 9 to determine whether or not the information corresponding to the read block code 51 is correct information.

ここで、本形態では、トラックTr2、Tr3において、ブロック52の追加印刷が可能となっており、発券装置30でカード2が発行された後に、トラックTr2、Tr3にブロック52が追加で印刷されることがある。たとえば、ユーザが利用する駐車場や駐輪場と提携している店舗に配置された媒体処理装置1、または、媒体処理装置1が搭載された所定の上位装置によって、その店舗でのユーザの利用金額に応じて、トラックTr2、Tr3にブロック52が追加で印刷されることがある。   In this embodiment, additional printing of the block 52 is possible in the tracks Tr2 and Tr3. After the card 2 is issued by the ticket issuing device 30, the block 52 is additionally printed on the tracks Tr2 and Tr3. Sometimes. For example, the medium processing device 1 arranged in a parking lot or a bicycle parking lot used by the user, or a predetermined host device on which the medium processing device 1 is installed, the user's usage amount at the store Accordingly, the block 52 may be additionally printed on the tracks Tr2 and Tr3.

なお、本形態では、ステップS4は、サーマルヘッド3がカード2の印字領域2aにブロックコード51を印刷するコード印刷ステップとなっている。   In this embodiment, step S4 is a code printing step in which the thermal head 3 prints the block code 51 on the printing area 2a of the card 2.

(本形態の主な効果)
以上説明したように、本形態では、制御部40は、幅Wが略一定でカード2の長さ方向に配列される複数のブロック52によって構成されるブロックコード51をカード2に印刷するようにサーマルヘッド3を制御している。すなわち、ステップS4において、サーマルヘッド3は、幅Wが略一定でカード2の長さ方向に配列される複数のブロック52によって構成されるブロックコード51をカード2に印刷している。
(Main effects of this form)
As described above, in this embodiment, the control unit 40 prints the block code 51 including the plurality of blocks 52 arranged in the length direction of the card 2 on the card 2 with the width W being substantially constant. The thermal head 3 is controlled. That is, in step S <b> 4, the thermal head 3 prints on the card 2 a block code 51 composed of a plurality of blocks 52 having a substantially constant width W and arranged in the length direction of the card 2.

そのため、ブロックコード51を印刷する際に、制御部40は、幅Wが略一定の複数のブロック52を印刷するようにサーマルヘッド3を制御すれば良く、印刷される複数のブロック52のそれぞれの幅Wに関するサーマルヘッド3の複雑な制御を行う必要がない。すなわち、本形態では、バーコードを印刷するときのような複雑な制御は要求されない。したがって、本形態では、カード2への印字機能に加え、ブロックコード51をカード2へ印刷するコード印刷機能をサーマルヘッド3が果たしている場合であっても、ブロックコード51を印刷する際のサーマルヘッド3の制御を簡素化することができる。   Therefore, when printing the block code 51, the control unit 40 may control the thermal head 3 so as to print a plurality of blocks 52 having a substantially constant width W. Each of the plurality of blocks 52 to be printed is controlled. There is no need to perform complicated control of the thermal head 3 with respect to the width W. That is, in this embodiment, complicated control as in printing a barcode is not required. Therefore, in this embodiment, in addition to the printing function for the card 2, the thermal head for printing the block code 51 even when the thermal head 3 performs the code printing function for printing the block code 51 on the card 2. 3 control can be simplified.

また、本形態では、読取機構9によって読み取られるブロックコード51を構成する複数のブロック52の幅Wが略一定であるため、たとえば、上述の特許文献1に記載のリーダライタ装置のように、バーコード読取部でバーコードを読み取り、読み取ったバーコードに基づいて、所定のデータ処理を行う場合と比較して、読み取られたブロックコード51に基づく制御部40でのデータ処理が容易になる。   In this embodiment, since the width W of the plurality of blocks 52 constituting the block code 51 read by the reading mechanism 9 is substantially constant, for example, as in the reader / writer device described in Patent Document 1 described above, Data processing in the control unit 40 based on the read block code 51 is facilitated as compared with the case where the code reading unit reads the barcode and performs predetermined data processing based on the read barcode.

本形態では、制御部40は、印刷されるブロック52の幅Wが1mm以上となるようにサーマルヘッド3を制御している。そのため、カード2に記録される磁気情報の記録密度に比べて、ブロックコード51の印刷密度(記録密度)は十分に粗くなっている。また、カード2の磁気情報を再生する際には、カード2と磁気ヘッド6とを当接させてスペーシングロスをなくす必要があるが、本形態では、光学式の読取機構9によって、ブロックコード51を読み取っているため、カード2と読取機構9とを当接させなくても、読取機構9でブロックコード51を読み取ることができる。   In this embodiment, the control unit 40 controls the thermal head 3 so that the width W of the block 52 to be printed is 1 mm or more. For this reason, the printing density (recording density) of the block code 51 is sufficiently coarser than the recording density of the magnetic information recorded on the card 2. Further, when reproducing the magnetic information of the card 2, it is necessary to bring the card 2 and the magnetic head 6 into contact with each other to eliminate the spacing loss. However, in this embodiment, the block code is read by the optical reading mechanism 9. 51 is read, the block code 51 can be read by the reading mechanism 9 without bringing the card 2 and the reading mechanism 9 into contact with each other.

したがって、本形態では、精算装置31に搭載される媒体処理装置1で処理されるカード2が折れ曲がっていたり、破れていたりして、カード2に記録される磁気情報を正しく再生できない場合であっても、カード2の折れ曲がりの度合や破れの度合が大きくなければ、読取機構9での読み取り結果に基づいて、制御部40で、ブロック52の有無を適切に判定することが可能になり、媒体処理装置1で、ブロックコード51に対応する情報を適切に取得することが可能になる。   Therefore, in this embodiment, the card 2 processed by the medium processing device 1 mounted on the checkout device 31 is bent or torn, and the magnetic information recorded on the card 2 cannot be reproduced correctly. However, if the degree of bending or tearing of the card 2 is not large, the control unit 40 can appropriately determine the presence or absence of the block 52 based on the reading result of the reading mechanism 9, and the medium processing The apparatus 1 can appropriately acquire information corresponding to the block code 51.

特に本形態のカード2は紙カードであるため、カード2は折れ曲がったり、破れたりしやすいが、精算装置31に搭載される媒体処理装置1で処理されるカード2が折れ曲がっていたり、破れていたりする場合であっても、その度合が大きくなければ、媒体処理装置1で、ブロックコード51に対応する情報を適切に取得することが可能になる。   In particular, since the card 2 of this embodiment is a paper card, the card 2 is easily bent or torn, but the card 2 processed by the medium processing apparatus 1 mounted on the checkout apparatus 31 is bent or torn. Even if it is to be performed, if the degree is not large, the medium processing apparatus 1 can appropriately acquire information corresponding to the block code 51.

すなわち、本形態では、精算装置31に搭載される媒体処理装置1で処理されるカード2が折れ曲がっていたり、破れていたりして、カード2に記録される磁気情報を正しく再生できない場合であっても、媒体処理装置1で、ブロックコード51に対応する情報を適切に取得して、精算装置31で精算動作を行うことが可能になる。その結果、たとえば、発券装置30および精算装置31が配置される駐車場や駐輪場が無人の駐車場や駐輪場であっても、ユーザが駐車場や駐輪場から退場する際のトラブルを低減することが可能になる。   That is, in this embodiment, the card 2 processed by the medium processing device 1 mounted on the checkout device 31 is bent or torn, and the magnetic information recorded on the card 2 cannot be correctly reproduced. In addition, the medium processing apparatus 1 can appropriately acquire information corresponding to the block code 51 and the settlement apparatus 31 can perform the settlement operation. As a result, for example, even when the parking lot or the bicycle parking lot where the ticketing device 30 and the payment device 31 are arranged are unmanned parking lots or bicycle parking lots, it is possible to reduce trouble when the user leaves the parking lot or the bicycle parking lot. become.

本形態では、読取機構9は、3個のフォトセンサ24〜26によって構成され、フォトセンサ24〜26のそれぞれは、トラックTr1〜Tr3のそれぞれに対応する位置に配置されている。そのため、ブロックコード51を読み取るための光学式の読取機構としてスキャナ等を用いる場合と比較して、媒体処理装置1の構成を簡素化して、媒体処理装置1のコストを低減することが可能になる。なお、本形態では、ブロック52の幅Wが1mm以上であるため、フォトセンサ24〜26によって読取機構9が構成されていても、フォトセンサ24〜26での読み取り結果に基づいて、ブロック52の有無を適切に判定することができる。   In this embodiment, the reading mechanism 9 includes three photosensors 24 to 26, and each of the photosensors 24 to 26 is disposed at a position corresponding to each of the tracks Tr1 to Tr3. Therefore, compared with the case where a scanner or the like is used as an optical reading mechanism for reading the block code 51, the configuration of the medium processing apparatus 1 can be simplified and the cost of the medium processing apparatus 1 can be reduced. . In this embodiment, since the width W of the block 52 is 1 mm or more, even if the reading mechanism 9 is configured by the photosensors 24 to 26, the block 52 of the block 52 is based on the reading results of the photosensors 24 to 26. Presence / absence can be determined appropriately.

本形態では、3個のトラックTr1〜Tr3のうちの1個のトラックTr1は、全てのブロック52が略一定の間隔Dで印刷された基準トラックとなっている。そのため、トラックTr1のブロック52に対応する位置に、トラックTr2、Tr3のブロック52が印刷されているか否かを判定することができる。すなわち、トラックTr1に印刷されるブロック52を基準にして、トラックTr2、Tr3のブロック52の有無を判定することができる。したがって、ブロックコード51を印刷する際、および/または、ブロックコード51を読み取る際のカード搬送機構7によるカード2の搬送速度が変動しても、その影響を受けずに、データトラックであるトラックTr2、Tr3を読み取って、トラックTr2、Tr3に対応する情報を適切に取得することが可能になる。   In this embodiment, one of the three tracks Tr1 to Tr3 is a reference track on which all the blocks 52 are printed at a substantially constant interval D. Therefore, it can be determined whether or not the blocks 52 of the tracks Tr2 and Tr3 are printed at positions corresponding to the blocks 52 of the track Tr1. That is, the presence / absence of the block 52 of the tracks Tr2 and Tr3 can be determined based on the block 52 printed on the track Tr1. Therefore, even if the card 2 transport speed varies by the card transport mechanism 7 when the block code 51 is printed and / or when the block code 51 is read, the track Tr2, which is a data track, is not affected by the fluctuation. , Tr3 can be read to appropriately acquire information corresponding to the tracks Tr2 and Tr3.

本形態では、トラックTr2、Tr3の2個のトラックがデータトラックとなっている。そのため、カード2に印刷されるブロックコード51から取得される情報の量を増やすことが可能になる。また、本形態では、媒体処理装置1は磁気ヘッド6を備え、カード2には磁気情報が記録される。そのため、カード2に記録可能な情報の量やカード2から取得可能な情報の量を増やすことができる。   In this embodiment, the two tracks Tr2 and Tr3 are data tracks. Therefore, the amount of information acquired from the block code 51 printed on the card 2 can be increased. In this embodiment, the medium processing apparatus 1 includes the magnetic head 6, and magnetic information is recorded on the card 2. Therefore, the amount of information that can be recorded on the card 2 and the amount of information that can be acquired from the card 2 can be increased.

本形態では、トラックTr2、Tr3において、ブロック52の追加印刷が可能となるように、カード2の発行時に、トラックTr2および/またはトラックTr3に最大数のブロック52が印刷されないようになっている。そのため、ブロックコード51がカード2に一旦、印刷された後であっても、ブロック52を追加印刷して、トラックTr2、Tr3に対応する情報を変更することができる。したがって、本形態では、たとえば、上述のように、ある店舗でのユーザの利用金額に応じて、トラックTr2、Tr3にブロック52を追加印刷することができ、種々のサービスに対応することが可能になる。   In this embodiment, the maximum number of blocks 52 are not printed on the track Tr2 and / or the track Tr3 when the card 2 is issued so that additional printing of the block 52 is possible in the tracks Tr2 and Tr3. Therefore, even after the block code 51 is once printed on the card 2, the information corresponding to the tracks Tr2 and Tr3 can be changed by additionally printing the block 52. Therefore, in this embodiment, for example, as described above, the block 52 can be additionally printed on the tracks Tr2 and Tr3 according to the user's usage amount at a certain store, and various services can be handled. Become.

(他の実施の形態)
上述した形態は、本発明の好適な形態の一例ではあるが、これに限定されるものではなく本発明の要旨を変更しない範囲において種々変形実施が可能である。
(Other embodiments)
The above-described embodiment is an example of a preferred embodiment of the present invention, but is not limited to this, and various modifications can be made without departing from the scope of the present invention.

上述した形態では、ブロックコード51は、3個のトラックTr1〜Tr3によって構成されている。この他にもたとえば、ブロックコード51は、1個または2個のトラックによって構成されても良いし、4個以上のトラックによって構成されても良い。ブロックコード51が4個以上のトラックによって構成される場合には、ブロックコード51から取得される情報の量を増やすことができる。なお、この場合には、ブロックコード51を構成するトラックの数に応じて、読取機構9を構成するフォトセンサの数を増減させれば良い。   In the embodiment described above, the block code 51 is composed of three tracks Tr1 to Tr3. In addition, for example, the block code 51 may be composed of one or two tracks, or may be composed of four or more tracks. When the block code 51 is composed of four or more tracks, the amount of information acquired from the block code 51 can be increased. In this case, the number of photosensors constituting the reading mechanism 9 may be increased or decreased according to the number of tracks constituting the block code 51.

上述した形態では、3個のトラックTr1〜Tr3のうちの1個のトラックTr1が基準トラックとなっており、残りの2個のトラックTr2、Tr3がデータトラックとなっている。この他にもたとえば、全てのトラックTr1〜Tr3がデータトラックであっても良い。たとえば、カード搬送機構7によるカード2の搬送速度の変動がほとんど生じないのであれば、全てのトラックTr1〜Tr3がデータトラックであっても良い。   In the embodiment described above, one of the three tracks Tr1 to Tr3 is a reference track, and the remaining two tracks Tr2 and Tr3 are data tracks. In addition, for example, all the tracks Tr1 to Tr3 may be data tracks. For example, if the card transport mechanism 7 hardly changes the transport speed of the card 2, all the tracks Tr1 to Tr3 may be data tracks.

上述した形態では、たとえば、各トラックTr1〜Tr3のビット数は18である。この他にもたとえば、ブロック52が配列される間隔Dやブロック52の幅Wを変更することで、各トラックTr1〜Tr3のビット数を増やしても良いし、減らしても良い。各トラックTr1〜Tr3のビット数を増やす場合には、ブロックコード51から取得される情報の量を増やすことができる。また、各トラックTr1〜Tr3のビット数を減らす場合には、ブロックコード51の印刷密度(記録密度)がより粗くなるため、精算装置31に搭載される媒体処理装置1で処理されるカード2の折れ曲がりの度合や破れの度合が比較的大きくても、読取機構9での読み取り結果に基づいて、制御部40で、ブロック52の有無を適切に判定することが可能になる。   In the above-described form, for example, the number of bits of each track Tr1 to Tr3 is 18. In addition to this, for example, the number of bits of each of the tracks Tr1 to Tr3 may be increased or decreased by changing the interval D in which the blocks 52 are arranged and the width W of the blocks 52. When the number of bits of each track Tr1 to Tr3 is increased, the amount of information acquired from the block code 51 can be increased. Further, when the number of bits of each of the tracks Tr1 to Tr3 is reduced, the printing density (recording density) of the block code 51 becomes coarser, so that the card 2 processed by the medium processing device 1 mounted on the checkout device 31. Even if the degree of bending or the degree of tearing is relatively large, the controller 40 can appropriately determine the presence or absence of the block 52 based on the reading result of the reading mechanism 9.

上述した形態では、ブロック52は、カード2の幅方向に長い長方形状に形成されている。この他にもたとえば、ブロック52は、正方形状に形成されても良いし、円形状や楕円形状に形成されても良い。また、ブロック52は、ひし形や台形等に形成されても良い。ただし、ブロック52が長方形状または正方形状に形成されていると、カード2が傾いた状態(スキューしている状態)でカード搬送路11を搬送される場合、カード2の幅寸法のばらつきがある場合、あるいは、センサ24〜26の取付位置のばらつきがある場合等であっても、センサ24〜26によって、略同じ幅のブロック52を検知することが可能になる。そのため、カード2の搬送時のばらつきの影響を抑制して、検出精度を高めることが可能になる。なお、ブロック52が長方形状以外の形状に形成される場合であっても、ブロック52の全体は、黒く塗りつぶされている。すなわち、長方形や正方形等の枠だけ形成されて中が塗りつぶされていないものは、本発明における「ブロック」には含まれない。また、上述した形態では、ブロック52の幅Wは1mm以上であるが、ブロック52の幅Wは1mm未満でも良い。   In the form described above, the block 52 is formed in a rectangular shape that is long in the width direction of the card 2. In addition to this, for example, the block 52 may be formed in a square shape, or may be formed in a circular shape or an elliptical shape. Further, the block 52 may be formed in a diamond shape, a trapezoid, or the like. However, when the block 52 is formed in a rectangular shape or a square shape, when the card 2 is transported on the card transport path 11 in a tilted state (skewed state), the width dimension of the card 2 varies. In this case, or even when the mounting positions of the sensors 24 to 26 vary, the sensors 24 to 26 can detect the blocks 52 having substantially the same width. For this reason, it is possible to suppress the influence of variations during the conveyance of the card 2 and increase the detection accuracy. Even if the block 52 is formed in a shape other than a rectangular shape, the entire block 52 is painted black. In other words, a frame such as a rectangle or a square that is not filled is not included in the “block” in the present invention. In the embodiment described above, the width W of the block 52 is 1 mm or more, but the width W of the block 52 may be less than 1 mm.

上述した形態では、カード2の幅方向における複数のブロック52の長さは略一定となっている。この他にもたとえば、トラックTr1〜Tr3ごとに、カード2の幅方向におけるブロック52の長さが異なっていても良いし、それぞれのトラックTr1〜Tr3の中で、カード2の幅方向におけるブロック52の長さが異なっていても良い。   In the embodiment described above, the length of the plurality of blocks 52 in the width direction of the card 2 is substantially constant. In addition, for example, the length of the block 52 in the width direction of the card 2 may be different for each of the tracks Tr1 to Tr3, and the block 52 in the width direction of the card 2 in each of the tracks Tr1 to Tr3. The lengths of may be different.

上述した形態では、媒体処理装置1は、磁気ヘッド6を備え、カード2への磁気情報の記録およびカード2に記録された磁気情報の再生を行っている。この他にもたとえば、媒体処理装置1は、磁気ヘッド6を備えていなくても良い。すなわち、磁気情報を利用せずに、ブロックコード51から取得される情報に基づいて、発券装置30および精算装置31が配置される駐車場や駐輪場のシステムが運用されても良い。   In the above-described form, the medium processing apparatus 1 includes the magnetic head 6 and performs recording of magnetic information on the card 2 and reproduction of magnetic information recorded on the card 2. In addition, for example, the medium processing apparatus 1 may not include the magnetic head 6. That is, a system of a parking lot or a bicycle parking lot in which the ticket issuing device 30 and the settlement device 31 are arranged may be operated based on information acquired from the block code 51 without using magnetic information.

上述した形態では、読取機構9は、3個のフォトセンサ24〜26によって構成されているが、読取機構9は、スキャナ等であっても良い。また、上述した形態では、媒体処理装置1は、駐車場用または駐輪場用の発券装置30および精算装置31に搭載されているが、媒体処理装置1は、駐車場や駐輪場以外の場所で使用される発券装置や精算装置に搭載されても良いし、発券装置および精算装置以外の上位装置に搭載されても良い。   In the embodiment described above, the reading mechanism 9 is configured by the three photosensors 24 to 26, but the reading mechanism 9 may be a scanner or the like. Moreover, in the form mentioned above, although the medium processing apparatus 1 is mounted in the ticketing apparatus 30 for a parking lot or a bicycle parking lot, and the payment apparatus 31, the medium processing apparatus 1 is used in places other than a parking lot or a bicycle parking lot. It may be mounted on a ticket issuing device or a payment device, or may be mounted on a host device other than the ticketing device and the payment device.

1 媒体処理装置
2 カード(媒体)
3 サーマルヘッド
6 磁気ヘッド
7 カード搬送機構(媒体搬送機構)
9 読取機構
24〜26 フォトセンサ
31 精算装置(媒体回収装置)
34 媒体回収機構
40 制御部
51 ブロックコード
52 ブロック
D 間隔
Tr1 トラック(基準トラック)
Tr2、Tr3 トラック
W 幅
X カードの搬送方向(媒体の搬送方向)
Y カードの幅方向(媒体の幅方向)
Z カードの厚さ方向(媒体の厚さ方向)
1 Media processing device 2 Card (medium)
3 Thermal head 6 Magnetic head 7 Card transport mechanism (medium transport mechanism)
9 Reading mechanism 24-26 Photo sensor 31 Settling device (medium recovery device)
34 Medium recovery mechanism 40 Control unit 51 Block code 52 Block D Interval Tr1 track (reference track)
Tr2, Tr3 Track W Width X Card transport direction (medium transport direction)
Y card width direction (medium width direction)
Z card thickness direction (medium thickness direction)

Claims (8)

媒体を搬送する媒体搬送機構と、前記媒体が挿入および排出される媒体挿入排出部と、感熱方式で前記媒体に印字を行うためのサーマルヘッドと、前記媒体に記録された磁気情報の再生を行う磁気ヘッドと、前記媒体の搬送方向における幅が略一定で前記搬送方向に配列される複数のブロックによって構成されるブロックコードを前記媒体に印刷するように前記サーマルヘッドを制御する制御部と、前記ブロックコードを読み取るための光学式の読取機構とを備える媒体処理装置であって、
前記制御部は、前記媒体挿入排出部から前記媒体が挿入されると、前記媒体搬送機構で前記媒体を搬送させながら、前記媒体に記録された磁気情報を前記磁気ヘッドで再生させ、かつ、前記媒体に印刷された前記ブロックコードを前記読取機構で読み取るとともに、前記磁気ヘッドで再生された磁気情報が正しい磁気情報であるか否かを判断し、前記磁気ヘッドで再生された磁気情報が正しい場合には、前記媒体処理装置から排出される前記媒体を回収する媒体回収機構に向かって前記媒体を排出し、前記磁気ヘッドで再生された磁気情報が正しくない場合には、前記読取機構で読み取られた前記ブロックコードに対応する情報が正しい情報であるか否かを判断し、前記読取機構で読み取られた前記ブロックコードに対応する情報が正しい場合には、前記媒体回収機構に向かって前記媒体を排出し、前記読取機構で読み取られた前記ブロックコードに対応する情報が正しくない場合には、エラー情報を発信することを特徴とする媒体処理装置。
A medium transport mechanism for transporting a medium, a medium insertion / ejection unit into which the medium is inserted and ejected, a thermal head for printing on the medium by a thermal method, and reproduction of magnetic information recorded on the medium A control unit for controlling the thermal head so as to print on the medium a magnetic head and a block code composed of a plurality of blocks arranged in the transport direction with a substantially constant width in the transport direction of the medium; A medium processing apparatus comprising an optical reading mechanism for reading a block code,
When the medium is inserted from the medium insertion / ejection unit, the control unit reproduces the magnetic information recorded on the medium by the magnetic head while conveying the medium by the medium conveyance mechanism, and When the block code printed on the medium is read by the reading mechanism, it is determined whether the magnetic information reproduced by the magnetic head is correct magnetic information, and the magnetic information reproduced by the magnetic head is correct When the magnetic information reproduced by the magnetic head is not correct, the medium is discharged toward the medium recovery mechanism for recovering the medium discharged from the medium processing apparatus, and is read by the reading mechanism. It is determined whether the information corresponding to the block code is correct information, and the information corresponding to the block code read by the reading mechanism is correct. In the medium processing apparatus, the medium is discharged toward the medium recovery mechanism, and error information is transmitted when the information corresponding to the block code read by the reading mechanism is incorrect. .
前記制御部は、前記搬送方向における前記ブロックの幅が1mm以上となるように前記サーマルヘッドを制御することを特徴とする請求項1記載の媒体処理装置。   The medium processing apparatus according to claim 1, wherein the control unit controls the thermal head so that a width of the block in the transport direction is 1 mm or more. 前記読取機構は、1個の発光素子と1個の受光素子とを有する少なくとも1個のフォトセンサによって構成されていることを特徴とする請求項2記載の媒体処理装置。   3. The medium processing apparatus according to claim 2, wherein the reading mechanism includes at least one photosensor having one light emitting element and one light receiving element. 前記ブロックコードは、前記搬送方向に配列される複数の前記ブロックからなり前記媒体の厚さ方向と前記搬送方向とに直交する前記媒体の幅方向に配列される複数のトラックによって構成されていることを特徴とする請求項1から3のいずれかに記載の媒体処理装置。   The block code includes a plurality of blocks arranged in the transport direction, and is configured by a plurality of tracks arranged in the medium width direction perpendicular to the medium thickness direction and the transport direction. The medium processing apparatus according to claim 1, wherein: 複数の前記トラックのうちの少なくとも1つの前記トラックは、前記搬送方向において複数の前記ブロックが略一定の間隔で配列される基準トラックであることを特徴とする請求項4記載の媒体処理装置。   5. The medium processing apparatus according to claim 4, wherein at least one of the plurality of tracks is a reference track in which the plurality of blocks are arranged at substantially constant intervals in the transport direction. 前記読取機構は、1個の発光素子と1個の受光素子とを有する複数のフォトセンサによって構成され、
複数の前記フォトセンサのそれぞれは、複数の前記トラックのそれぞれに対応する位置に配置されていることを特徴とする請求項5記載の媒体処理装置。
The reading mechanism is composed of a plurality of photosensors having one light emitting element and one light receiving element,
6. The medium processing apparatus according to claim 5, wherein each of the plurality of photosensors is disposed at a position corresponding to each of the plurality of tracks.
請求項1から6のいずれかに記載の媒体処理装置と、前記媒体回収機構とを備えることを特徴とする駐車場用または駐輪場用の媒体回収装置。   A medium recovery apparatus for a parking lot or a bicycle parking lot, comprising the medium processing apparatus according to claim 1 and the medium recovery mechanism. 前記制御部は、前記搬送方向における前記ブロックの幅が1mm以上となるように前記サーマルヘッドを制御することを特徴とする請求項7記載の媒体回収装置。   The medium recovery apparatus according to claim 7, wherein the control unit controls the thermal head so that a width of the block in the transport direction is 1 mm or more.
JP2013083745A 2013-04-12 2013-04-12 Medium processing apparatus and medium recovery apparatus Active JP5463427B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013083745A JP5463427B2 (en) 2013-04-12 2013-04-12 Medium processing apparatus and medium recovery apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013083745A JP5463427B2 (en) 2013-04-12 2013-04-12 Medium processing apparatus and medium recovery apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009129184A Division JP5271809B2 (en) 2009-05-28 2009-05-28 Media issuing device

Publications (2)

Publication Number Publication Date
JP2013152753A true JP2013152753A (en) 2013-08-08
JP5463427B2 JP5463427B2 (en) 2014-04-09

Family

ID=49048986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013083745A Active JP5463427B2 (en) 2013-04-12 2013-04-12 Medium processing apparatus and medium recovery apparatus

Country Status (1)

Country Link
JP (1) JP5463427B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6318490A (en) * 1986-07-09 1988-01-26 Kosaku Shiono Card and its processor
JPH08106671A (en) * 1994-09-30 1996-04-23 Toppan Printing Co Ltd Information recording medium and information recording and reading device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6318490A (en) * 1986-07-09 1988-01-26 Kosaku Shiono Card and its processor
JPH08106671A (en) * 1994-09-30 1996-04-23 Toppan Printing Co Ltd Information recording medium and information recording and reading device

Also Published As

Publication number Publication date
JP5463427B2 (en) 2014-04-09

Similar Documents

Publication Publication Date Title
EP3051501B1 (en) Processing device for medium and control method for processing device for medium
US6966714B2 (en) Duplex check printer having a separately driven document inverting loop
JP2796021B2 (en) Printing device
JP5463427B2 (en) Medium processing apparatus and medium recovery apparatus
JP5271809B2 (en) Media issuing device
JP5059209B2 (en) Printer
JP2001118093A (en) Divece for collecting charge
JP3769474B2 (en) Passbook printer
JP5287189B2 (en) Card processing device, ticket issuing machine
JP2005028804A (en) Printer, ticket treatment device, and printing method
JP5564786B2 (en) Magnetic media processing device
JP2000306124A (en) Ticket issuing device
JP2912395B2 (en) Media processing device
JP4102331B2 (en) Magnetic stripe writing device
JPS6194271A (en) Magnetic card
JPH07149015A (en) Printer
JP3856801B2 (en) Method for transporting card-like recording medium and method for reading or writing data recorded on card-like recording medium
JP2578920B2 (en) Printer print positioning mechanism
JP4072139B2 (en) Method for reading data from magnetic card and passbook printer
JP5049401B1 (en) Printer
KR20110042451A (en) Printing unit and its printing method
JP2607525B2 (en) Printing control method of card reader / writer with printer
JP5861253B2 (en) Recording apparatus and method for controlling recording apparatus
JPH06195522A (en) Card information reader
JPS58175683A (en) Printing apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130513

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20130513

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140120

R150 Certificate of patent or registration of utility model

Ref document number: 5463427

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250