Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4938420B2 - Method for controlling medium printing apparatus and medium printing apparatus - Google Patents
[go: Go Back, main page]

JP4938420B2 - Method for controlling medium printing apparatus and medium printing apparatus - Google Patents

Method for controlling medium printing apparatus and medium printing apparatus Download PDF

Info

Publication number
JP4938420B2
JP4938420B2 JP2006312871A JP2006312871A JP4938420B2 JP 4938420 B2 JP4938420 B2 JP 4938420B2 JP 2006312871 A JP2006312871 A JP 2006312871A JP 2006312871 A JP2006312871 A JP 2006312871A JP 4938420 B2 JP4938420 B2 JP 4938420B2
Authority
JP
Japan
Prior art keywords
time
printing
medium
erasing
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006312871A
Other languages
Japanese (ja)
Other versions
JP2008126476A (en
Inventor
茂貴 小口
勲 江口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nidec Instruments Corp
Original Assignee
Nidec Sankyo Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2006312871A priority Critical patent/JP4938420B2/en
Publication of JP2008126476A publication Critical patent/JP2008126476A/en
Application granted granted Critical
Publication of JP4938420B2 publication Critical patent/JP4938420B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、媒体印字装置の制御方法および媒体印字装置に関する。   The present invention relates to a control method for a medium printing apparatus and a medium printing apparatus.

従来から、磁気カード等のカード(媒体)に印字を行うとともに、カード上の印字の消去を行う印字機能を備えたカード処理装置が知られている(たとえば、特許文献1参照)。この特許文献1に記載のカード処理装置は、カードが搬送される搬送路と、カードを搬送する複数の搬送ローラ対と、カード上に印字を行う印字ヘッドと、カード上の印字を消去する消去ヘッドとを備えている。   2. Description of the Related Art Conventionally, a card processing apparatus that has a printing function for printing on a card (medium) such as a magnetic card and erasing printing on the card is known (see, for example, Patent Document 1). The card processing apparatus described in Patent Document 1 includes a conveyance path through which a card is conveyed, a plurality of conveyance roller pairs that convey the card, a print head that performs printing on the card, and an erasing that erases printing on the card. And a head.

このカード処理装置では、カード上に印字を行う際には、まず、搬送ローラ対によって、所定の待機位置から印字ヘッドの配置位置までカードが搬送されて停止する。カードが停止すると、搬送路から退避していた印字ヘッドが降下して、印字ヘッドがカードの表面に押圧される。その状態で、搬送ローラ対によって、カードが搬送されて、カード上に印字が行われる。同様に、カード上の印字を消去する際には、まず、搬送ローラ対によって、所定の待機位置から消去ヘッドの配置位置までカードが搬送されて停止する。カードが停止すると、搬送路から退避していた消去ヘッドが降下して、消去ヘッドがカードの表面に押圧される。その状態で、搬送ローラ対によって、カードが搬送されて、カードの印字の消去が行われる。   In this card processing device, when printing on a card, the card is first transported from a predetermined standby position to the print head placement position by a pair of transport rollers and stopped. When the card stops, the print head that has been retracted from the conveyance path is lowered, and the print head is pressed against the surface of the card. In this state, the card is transported by the pair of transport rollers, and printing is performed on the card. Similarly, when erasing the print on the card, the card is first transported from the predetermined standby position to the position of the erasing head by the pair of transport rollers and stopped. When the card stops, the erasing head that has been retracted from the transport path is lowered and the erasing head is pressed against the surface of the card. In this state, the card is conveyed by the conveying roller pair, and the printing on the card is erased.

特開2000−123125号公報JP 2000-123125 A

近年、カード処理装置等の媒体を取り扱う装置では、カード等の媒体の処理時間の短縮化のニーズが高まってきている。しかしながら、特許文献1に記載のカード処理装置では、所定の待機位置から印字ヘッドの配置位置までカードが搬送されて停止した後に、印字ヘッドが降下し、その後、カードが搬送されて印字が行われる。また、所定の待機位置から消去ヘッドの配置位置までカードが搬送されて停止した後に、消去ヘッドが降下し、その後、印字の消去が行われる。そのため、特許文献1に記載のカード処理装置では、媒体の処理時間の短縮化を図ることが困難である。   In recent years, there is an increasing need for shortening the processing time of a medium such as a card in an apparatus that handles a medium such as a card processing apparatus. However, in the card processing apparatus described in Patent Document 1, after the card is transported from a predetermined standby position to the print head placement position and stopped, the print head is lowered, and then the card is transported and printing is performed. . Further, after the card is conveyed from the predetermined standby position to the position where the erasing head is arranged and stopped, the erasing head is lowered, and thereafter the printing is erased. Therefore, it is difficult for the card processing device described in Patent Document 1 to shorten the processing time of the medium.

そこで、本発明の課題は、媒体の処理時間を短縮できる媒体印字装置の制御方法を提供することにある。また、本発明の課題は、媒体の処理時間を短縮できる構成を備えた媒体印字装置を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a control method for a medium printing apparatus that can shorten the processing time of the medium. Another object of the present invention is to provide a medium printing apparatus having a configuration capable of shortening the medium processing time.

上記の課題を解決するため、本発明は、媒体を搬送する媒体搬送手段と、媒体に当接して媒体上への印字および/または媒体上の印字の消去を行う印字/消去手段とを備える媒体印字装置の制御方法において、印字/消去手段が媒体に当接できない所定の待機位置から印字/消去手段が媒体に当接可能な印字/消去可能位置までの印字/消去手段の実際の移動時間を測定する移動時間測定ステップと、実際の移動時間を、待機位置から印字/消去可能位置までの印字/消去手段の設定移動時間として設定するステップと、設定移動時間と、印字/消去手段に向かって搬送される媒体の所定の搬送開始位置から媒体上への印字および/または媒体上の印字の消去が開始される印字/消去開始位置までの媒体の設定搬送時間とを比較する比較ステップと、比較ステップでの比較結果に基づいて、媒体搬送手段または印字/消去手段の一方を先行して駆動する先行駆動ステップと、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とが一致するように、先行駆動ステップ後、媒体搬送手段および印字/消去手段を一緒に駆動する同時駆動ステップとを備えることを特徴とする。 In order to solve the above-described problems, the present invention provides a medium including medium conveying means for conveying a medium, and a printing / erasing means that contacts the medium and performs printing on the medium and / or erasing printing on the medium. In the control method of the printing apparatus, the actual moving time of the printing / erasing means from a predetermined standby position where the printing / erasing means cannot contact the medium to the printing / erasing position where the printing / erasing means can contact the medium is determined. Step for measuring the moving time to be measured, step for setting the actual moving time as the set moving time of the printing / erasing means from the standby position to the printable / erasable position, the set moving time, and toward the printing / erasing means A comparison step for comparing a set transport time of the medium from a predetermined transport start position of the transported medium to a print / erase start position at which printing on the medium and / or erasing of printing on the medium is started. And a preceding driving step for driving one of the medium conveying means and the printing / erasing means in advance based on the comparison result in the comparison step, and the time when the printing / erasing means reaches the printable / erasable position, And a simultaneous driving step of driving the medium conveying unit and the printing / erasing unit together after the preceding driving step so that the time point at which the medium reaches the printing / erasing start position coincides .

本発明の媒体印字装置の制御方法では、比較ステップにおいて、所定の待機位置から印字/消去可能位置までの印字/消去手段の設定移動時間と、所定の搬送開始位置から印字/消去開始位置までの媒体の設定搬送時間とを比較し、先行駆動ステップにおいて、比較ステップでの比較結果に基づいて、媒体搬送手段または印字/消去手段の一方を先行して駆動している。また、同時駆動ステップにおいて、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とが一致するように、先行駆動ステップ後、媒体搬送手段および印字/消去手段を一緒に駆動している。そのため、印字/消去可能位置までの印字/消去手段の移動と、印字/消去開始位置までの媒体の搬送とを一緒に実行できる。また、そのまま、継続して媒体を搬送することで、媒体への印字や媒体上の印字の消去を連続して行うことができる。すなわち、媒体への印字や媒体上の印字の消去を実行する前に、媒体の搬送を停止させることがない。その結果、本発明では、印字処理時間や消去処理時間等の媒体の処理時間を短縮できる。また、本発明の媒体印字装置の制御方法は、設定移動時間を設定するために、待機位置から印字/消去可能位置までの印字/消去手段の実際の移動時間を測定する移動時間測定ステップを備える。このように構成すると、温度等の種々の外部環境の影響や装置ごとの個体差により、待機位置から印字/消去可能位置までの印字/消去手段の移動時間が変動する場合であっても、適切な設定移動時間を設定することができる。そのため、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とを精度良く一致させることができる。その結果、所定の印字範囲に精度良く印字を行うことができ、また、所定の範囲の印字を精度良く消去することができる。 In the control method of the medium printing apparatus of the present invention, in the comparison step, the set movement time of the printing / erasing means from the predetermined standby position to the printable / erasable position and the predetermined conveyance start position to the printing / erasure start position. The medium conveying time is compared, and in the preceding driving step, one of the medium conveying means or the printing / erasing means is driven in advance based on the comparison result in the comparing step. Further, in the simultaneous driving step, the time arrival of printing / erasing means to print / erasable position, so that the point reached in the medium to the print / erase start position coincides, after preceding driving step, the medium transport means and The printing / erasing means are driven together. Therefore, the movement of the printing / erasing means to the print / erasable position and the conveyance of the medium to the printing / erasure start position can be performed together. Further, by continuously conveying the medium as it is, printing on the medium and erasing of printing on the medium can be continuously performed. That is, the conveyance of the medium is not stopped before the printing on the medium or the erasing of the printing on the medium is executed. As a result, in the present invention, the processing time of the medium such as the printing processing time and the erasing processing time can be shortened. The control method for the medium printing apparatus of the present invention further includes a moving time measuring step for measuring the actual moving time of the printing / erasing means from the standby position to the printable / erasable position in order to set the set moving time. . With this configuration, even if the movement time of the printing / erasing means from the standby position to the printable / erasable position varies due to the influence of various external environments such as temperature and individual differences for each apparatus, It is possible to set an appropriate travel time. Therefore, it is possible to accurately match the arrival time of the printing / erasing means to the print / erasable position and the arrival time of the medium to the printing / erasing start position. As a result, it is possible to perform printing within a predetermined printing range with high accuracy, and it is possible to erase printing within a predetermined range with high accuracy.

本発明において、先行駆動ステップは、比較ステップにおいて、設定移動時間よりも設定搬送時間が長いときに、媒体搬送手段の駆動を先行して開始する先行駆動開始ステップと、設定搬送時間に基づいて、印字/消去開始位置に媒体が到達するまでの残存時間を更新する搬送時間更新ステップとを備え、同時駆動ステップは、残存時間と設定移動時間とが等しくなったとき、印字/消去手段の駆動を開始する後続駆動開始ステップを備えることが好ましい。また、本発明において、先行駆動ステップは、比較ステップにおいて、設定搬送時間よりも設定移動時間が長いときに、印字/消去手段の駆動を先行して開始する先行駆動開始ステップと、設定移動時間に基づいて、印字/消去可能位置に印字/消去手段が到達するまでの残存時間を更新する移動時間更新ステップとを備え、同時駆動ステップは、残存時間と設定搬送時間とが等しくなったとき、媒体搬送手段の駆動を開始する後続駆動開始ステップを備えることが好ましい。このように構成すると、搬送時間更新ステップや移動時間更新ステップで更新される残存時間に基づいて、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とが略一致するように、媒体搬送手段および印字/消去手段を駆動することができる。   In the present invention, the preceding driving step is based on the preceding driving start step for starting the driving of the medium conveying means in advance when the set conveying time is longer than the set moving time in the comparing step, and the set conveying time. A transfer time update step for updating the remaining time until the medium reaches the print / erase start position, and the simultaneous drive step drives the print / erase unit when the remaining time becomes equal to the set moving time. It is preferable to include a subsequent driving start step for starting. In the present invention, the preceding driving step includes a preceding driving start step for starting driving of the printing / erasing means in advance when the set moving time is longer than the set transport time in the comparing step, and a set moving time. And a moving time updating step for updating the remaining time until the printing / erasing means reaches the printable / erasable position, and the simultaneous driving step is performed when the remaining time is equal to the set conveyance time when the medium is It is preferable to include a subsequent drive start step for starting the drive of the transport means. With this configuration, based on the remaining time updated in the transport time update step and the movement time update step, the point of arrival of the printing / erasing means at the print / erasable position and the medium at the print / erase start position The medium conveying means and the printing / erasing means can be driven so that the arrival time substantially coincides.

本発明において、比較ステップで、設定移動時間と設定搬送時間とが等しいときに、媒体搬送手段の駆動と印字/消去手段の駆動とを同時に開始する同時駆動開始ステップを備えることが好ましい。このように構成すると、設定移動時間と設定搬送時間とが等しい場合であっても、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とが略一致するように、媒体搬送手段および印字/消去手段を駆動することができる。   In the present invention, it is preferable that the comparison step further includes a simultaneous drive start step for simultaneously starting the drive of the medium transport unit and the drive of the printing / erasing unit when the set movement time and the set transport time are equal. With this configuration, even when the set movement time and the set transport time are equal, the time when the printing / erasing means reaches the printable / erasable position and the time when the medium reaches the printing / erasing start position The medium conveying means and the printing / erasing means can be driven so that the values substantially coincide with each other.

本発明において、媒体印字装置の制御方法は、設定移動時間を設定するために、待機位置から印字/消去可能位置までの印字/消去手段の実際の移動時間を測定する移動時間測定ステップを備えることが好ましい。このように構成すると、温度等の種々の外部環境の影響や装置ごとの個体差により、待機位置から印字/消去可能位置までの印字/消去手段の移動時間が変動する場合であっても、適切な設定移動時間を設定することができる。そのため、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とを精度良く一致させることができる。その結果、所定の印字範囲に精度良く印字を行うことができ、また、所定の範囲の印字を精度良く消去することができる。   In the present invention, the control method for the medium printing apparatus includes a moving time measuring step for measuring the actual moving time of the printing / erasing means from the standby position to the printable / erasable position in order to set the set moving time. Is preferred. With this configuration, even if the movement time of the printing / erasing means from the standby position to the printable / erasable position varies due to the influence of various external environments such as temperature and individual differences for each apparatus, It is possible to set an appropriate travel time. Therefore, it is possible to accurately match the arrival time of the printing / erasing means to the print / erasable position and the arrival time of the medium to the printing / erasing start position. As a result, it is possible to perform printing within a predetermined printing range with high accuracy, and it is possible to erase printing within a predetermined range with high accuracy.

本発明において、移動時間測定ステップは、媒体印字装置の初期化動作時に実行されることが好ましい。このように構成すると、温度等の種々の外部環境の影響や装置ごとの個体差をより適切に反映した設定移動時間を設定することができる。ここで、本明細書において、「初期化動作」とは、媒体印字装置を構成する各種の駆動機構が使用可能な状態となるように準備を行うための動作をいい、この初期化動作は、媒体印字装置の電源投入時、始業開始前あるいは所定のエラー処理後等に行われる。   In the present invention, it is preferable that the moving time measuring step is executed during the initialization operation of the medium printing apparatus. If comprised in this way, the setting movement time which reflected the influence of various external environments, such as temperature, and the individual difference for every apparatus more appropriately can be set. Here, in this specification, the “initialization operation” refers to an operation for making preparations so that various drive mechanisms constituting the medium printing apparatus can be used. This is performed when the medium printing apparatus is turned on, before starting the work, or after predetermined error processing.

また、上記の課題を解決するため、本発明の媒体印字装置は、媒体を搬送する媒体搬送手段と、媒体に当接して媒体上への印字および/または媒体上の印字の消去を行う印字/消去手段と、少なくとも媒体搬送手段および印字/消去手段の制御を行うための制御手段とを備え、制御手段は、印字/消去手段が媒体に当接できない所定の待機位置から印字/消去手段が媒体に当接可能な印字/消去可能位置までの印字/消去手段の実際の移動時間を測定し、実際の移動時間を、待機位置から印字/消去可能位置までの印字/消去手段の設定移動時間として設定し、設定移動時間と印字/消去手段に向かって搬送される媒体の所定の搬送開始位置から媒体上への印字および/または媒体上の印字の消去が開始される印字/消去開始位置までの媒体の設定搬送時間とを比較し、この比較結果に基づいて、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とが一致するように、媒体搬送手段または印字/消去手段の一方の駆動を先行して開始し、その後、媒体搬送手段または印字/消去手段の他方の駆動を開始する駆動手段を備えることを特徴とする。 In order to solve the above-described problems, a medium printing apparatus according to the present invention includes a medium conveying unit that conveys a medium, and a printing / printing that prints on the medium and / or erases the printing on the medium in contact with the medium An erasing unit; and a control unit for controlling at least the medium conveying unit and the printing / erasing unit, wherein the control unit is configured such that the printing / erasing unit starts from a predetermined standby position where the printing / erasing unit cannot contact the medium Measure the actual movement time of the printing / erasing device to the printable / erasable position that can contact the sensor, and use the actual moving time as the set moving time of the printing / erasing device from the standby position to the printable / erasable position. The set travel time and the predetermined transport start position of the medium transported toward the print / erase means to the print / erase start position at which printing on the medium and / or erasing of the print on the medium is started. Medium Comparing the set transport time and, based on this comparison result, so that the point reached in the printing / erasing means to print / erasable position, and the time reaching medium to the printing / erasing start position coincides, medium It is characterized by comprising driving means for starting one of the conveying means or the printing / erasing means in advance and then starting the other driving of the medium conveying means or the printing / erasing means.

本発明の媒体印字装置は、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とが略一致するように、媒体搬送手段または印字/消去手段の一方の駆動を先行して開始し、その後、媒体搬送手段または印字/消去手段の他方の駆動を開始する駆動手段を備えている。そのため、印字/消去可能位置までの印字/消去手段の移動と、印字/消去開始位置までの媒体の搬送とを一緒に実行できる。また、そのまま、継続して媒体を搬送することで、媒体への印字や媒体上の印字の消去を連続して行うことができる。すなわち、媒体への印字や媒体上の印字の消去を実行する前に、媒体の搬送を停止させることがない。その結果、本発明では、媒体の処理時間を短縮できる。また、本発明の媒体印字装置は、設定移動時間を設定するために、待機位置から印字/消去可能位置までの印字/消去手段の実際の移動時間を測定し、この測定された移動時間を設定移動時間として設定する。これにより、温度等の種々の外部環境の影響や装置ごとの個体差により、待機位置から印字/消去可能位置までの印字/消去手段の移動時間が変動する場合であっても、適切な設定移動時間とすることができる。そのため、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とを精度良く一致させることができる。その結果、所定の印字範囲に精度良く印字を行うことができ、また、所定の範囲の印字を精度良く消去することができる。 The medium printing apparatus of the present invention is configured so that the time point when the printing / erasing means reaches the printable / erasable position and the time when the medium reaches the printing / erasing start position substantially coincide with each other. Drive means for starting one drive of the means in advance and then starting the other drive of the medium conveying means or the printing / erasing means is provided. Therefore, the movement of the printing / erasing means to the print / erasable position and the conveyance of the medium to the printing / erasure start position can be performed together. Further, by continuously conveying the medium as it is, printing on the medium and erasing of printing on the medium can be continuously performed. That is, the conveyance of the medium is not stopped before the printing on the medium or the erasing of the printing on the medium is executed. As a result, in the present invention, the processing time of the medium can be shortened. Further, the medium printing apparatus of the present invention measures the actual movement time of the printing / erasing means from the standby position to the printable / erasable position in order to set the set movement time, and sets the measured movement time. Set as travel time. As a result, even when the movement time of the printing / erasing means from the standby position to the printable / erasable position varies due to the influence of various external environments such as temperature and individual differences for each device, appropriate setting movement It can be time. Therefore, it is possible to accurately match the arrival time of the printing / erasing means to the print / erasable position and the arrival time of the medium to the printing / erasing start position. As a result, it is possible to perform printing within a predetermined printing range with high accuracy, and it is possible to erase printing within a predetermined range with high accuracy.

本発明の媒体印字装置において、制御手段は、設定移動時間と搬送開始位置から印字/消去開始位置までの媒体の設定搬送時間とを比較する比較手段と、媒体が搬送を開始されてからの経過時間を設定移動時間から減算することにより、搬送を開始された媒体が印字/消去開始位置に到達するまでの第1の残存時間を更新する第1の更新手段と、印字/消去手段が移動を開始されてからの経過時間を設定移動時間から減算することにより、移動を開始した印字/消去手段が印字/消去可能位置に到達するまでの第2の残存時間を更新する第2の更新手段とを備え、第1の更新手段および第2の更新手段は、設定搬送時間または第1の残存時間と、設定移動時間または第2の残存時間とが一致するときに、第1の残存時間と第2の残存時間とを同時に更新することが好ましい。
In the medium printing apparatus of the present invention, the control means includes comparison means for comparing the set movement time with the set conveyance time of the medium from the conveyance start position to the print / erase start position , and a lapse of time since the medium has started conveyance. By subtracting the time from the set moving time, the first updating means for updating the first remaining time until the medium that has started transporting reaches the printing / erasing start position, and the printing / erasing means move. A second updating means for updating the second remaining time until the printing / erasing means that has started moving reaches the printable / erasable position by subtracting the elapsed time from the start from the set movement time ; The first update means and the second update means have the first remaining time and the second remaining time when the set transport time or the first remaining time matches the set moving time or the second remaining time. 2 remaining time It is preferable to update the time.

このように構成すると、比較手段での比較結果に基づいて、適切に、媒体搬送手段または印字/消去手段の一方の駆動を先行して開始し、その後、媒体搬送手段または印字/消去手段の他方の駆動を開始することができる。また、第1の更新手段および第2の更新手段で更新される残存時間に基づいて、印字/消去可能位置への印字/消去手段の到達時点と、印字/消去開始位置への媒体の到達時点とが略一致するように、媒体搬送手段および印字/消去手段を駆動することができる。   According to this configuration, based on the comparison result of the comparison unit, the drive of one of the medium transport unit or the print / erase unit is appropriately started in advance, and then the other of the medium transport unit or the print / erase unit Can be started. In addition, based on the remaining time updated by the first update unit and the second update unit, the point of arrival of the print / erase unit at the printable / erasable position and the point of arrival of the medium at the print / erase start position So that the medium conveying means and the printing / erasing means can be driven.

以上のように、本発明にかかる媒体印字装置の制御方法および媒体印字装置では、媒体の処理時間を短縮することができる。   As described above, in the method for controlling the medium printing apparatus and the medium printing apparatus according to the present invention, the processing time of the medium can be shortened.

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

(カード印字発行装置の概略構成)
図1は、本発明の実施の形態にかかるカード印字装置1を用いたカード印字発行装置3の概略構成を説明するための図である。
(Schematic configuration of card printing and issuing device)
FIG. 1 is a diagram for explaining a schematic configuration of a card print issuing device 3 using a card printing device 1 according to an embodiment of the present invention.

本形態のカード印字装置1は、カード状の媒体2(以下、「カード2」とする。)に対して印字を行う媒体印字装置である。このカード印字装置1は、たとえば、図1に示すように、カード2に印字を行ってカード2を発行するとともに使用済みのカード2を回収するカード印字発行装置3に用いられる。   The card printing apparatus 1 according to this embodiment is a medium printing apparatus that performs printing on a card-like medium 2 (hereinafter referred to as “card 2”). For example, as shown in FIG. 1, the card printer 1 is used for a card print issuing device 3 that prints on a card 2 to issue the card 2 and collects the used card 2.

カード印字発行装置3は、カード印字装置1に加え、カード2に所定情報を記録するとともにカード2に記録された情報を読み取る再生記録装置4と、新たに発行されるカード2が供給されるカード供給装置5と、使用済みのカード2を回収するカード回収装置6と、カード印字装置1の内部をクリーニングするためのクリーニングカード(図示省略)を保管するクリーニングカード保管装置7と、カード2の搬送方向を切り替える第1方向切替装置8および第2方向切替装置9と、これらの各構成を駆動するための電力を供給する電源10と、カード印字発行装置3の各種の制御を行う制御部11と、カード2の挿入排出口12aが形成されたカード挿入排出部12とを備えている。なお、以下の説明では、図1の右、左、上、下をそれぞれ「右」、「左」、「上」、「下」とする。   In addition to the card printing device 1, the card printing issuing device 3 records predetermined information on the card 2 and reads the information recorded on the card 2, and a card to which a newly issued card 2 is supplied. Supply device 5, card collection device 6 that collects used cards 2, cleaning card storage device 7 that stores a cleaning card (not shown) for cleaning the inside of card printing device 1, and conveyance of card 2 A first direction switching device 8 and a second direction switching device 9 that switch directions, a power source 10 that supplies power for driving each of these components, and a control unit 11 that performs various controls of the card print issuing device 3 And a card insertion / discharge portion 12 in which an insertion / discharge port 12a for the card 2 is formed. In the following description, “right”, “left”, “upper”, and “lower” are respectively referred to as “right”, “left”, “upper”, and “lower” in FIG.

図1に示すように、カード挿入排出部12は、カード印字発行装置3の右上端側に配置され、再生記録装置4は、カード挿入排出部12の左方に配置されている。第1方向切替装置8は、再生記録装置4の左方に配置され、カード回収装置6は、再生記録装置4の下方に配置されている。カード印字装置1は、第1方向切替装置8の左下方に配置され、第2方向切替装置9は、カード印字装置1の左下方に配置されている。クリーニングカード保管装置7は、第2方向切替装置9の上方に配置され、カード供給装置5は、クリーニングカード保管装置7および第2方向切替装置9の左方に配置されている。   As shown in FIG. 1, the card insertion / ejection unit 12 is disposed on the upper right end side of the card print issuing device 3, and the reproduction recording device 4 is disposed on the left side of the card insertion / ejection unit 12. The first direction switching device 8 is arranged on the left side of the reproducing / recording device 4, and the card collecting device 6 is arranged below the reproducing / recording device 4. The card printing device 1 is arranged at the lower left of the first direction switching device 8, and the second direction switching device 9 is arranged at the lower left of the card printing device 1. The cleaning card storage device 7 is disposed above the second direction switching device 9, and the card supply device 5 is disposed on the left side of the cleaning card storage device 7 and the second direction switching device 9.

本形態のカード2は、たとえば、厚さが0.7〜0.8mm程度の塩化ビニール製のカードである。また、本形態のカード2は、通信用のアンテナ(図示省略)が内蔵された非接触式のICカードである。さらに、このカード2の表面には、感熱方式によって印字が行われる印字部(図示省略)が形成されている。すなわち、カード2は、所定回数の印字と印字の消去(印字/消去)が可能なリライタブルカードであり、所定回数の印字/消去が行われると、カード回収装置6に回収される。   The card 2 of this embodiment is, for example, a vinyl chloride card having a thickness of about 0.7 to 0.8 mm. The card 2 of this embodiment is a non-contact type IC card with a built-in communication antenna (not shown). Further, on the surface of the card 2 is formed a printing portion (not shown) where printing is performed by a thermal method. In other words, the card 2 is a rewritable card capable of printing a predetermined number of times and erasing the printing (printing / erasing). When the card 2 is printed / erased a predetermined number of times, the card is collected by the card collecting device 6.

なお、カード2は、表面に磁気情報が記録される磁気ストライプが形成された磁気カードや、表面にIC接点が固定された接触式のICカードであっても良い。また、カード2は、厚さが0.18〜0.36mm程度のPET(ポリエチレンテレフタレート)カードや、所定の厚さを有する紙カードであっても良い。   The card 2 may be a magnetic card having a magnetic stripe on which magnetic information is recorded or a contact IC card having an IC contact fixed on the surface. The card 2 may be a PET (polyethylene terephthalate) card having a thickness of about 0.18 to 0.36 mm or a paper card having a predetermined thickness.

上述のように、本形態のカード2は非接触式のICカードであるため、再生記録装置4は、カード2内部のアンテナと通信を行うためのアンテナ15と、カード2の搬送を行うための2対の搬送ローラ組16を備えている。   As described above, since the card 2 of this embodiment is a non-contact type IC card, the playback / recording apparatus 4 has an antenna 15 for communicating with the antenna inside the card 2 and a card 2 for carrying the card 2. Two pairs of conveyance roller sets 16 are provided.

カード回収装置6は、回収前のカード2が一時的に保管されるカード保管部17と、カード2が回収されるリジェクトカセット18とを備えている。本形態では、たとえば、カード保管部17に一時的に保管される回収前のカード2に記録された情報と、新たに発行されるカード2の再生記録装置4で記録される情報との照合が行われる。   The card collection device 6 includes a card storage unit 17 in which the card 2 before collection is temporarily stored, and a reject cassette 18 in which the card 2 is collected. In this embodiment, for example, the information recorded on the card 2 before collection temporarily stored in the card storage unit 17 and the information recorded on the reproduction recording device 4 of the newly issued card 2 are collated. Done.

カード印字装置1は、カード2に当接して(より具体的には、カード2を押圧して)感熱方式でカード2上に印字を行うための印字ヘッド(サーマルヘッド)19と、カード2に当接して(より具体的には、カード2を押圧して)感熱方式でカード2上の印字を消去するための消去ヘッド20とを備えている。すなわち、カード印字装置1は、2個のヘッドを備えている。このカード印字装置1の詳細な構成については後述する。   The card printing apparatus 1 is in contact with the card 2 (more specifically, by pressing the card 2), and a print head (thermal head) 19 for printing on the card 2 by a thermal method, An erasing head 20 is provided for abutting (more specifically, pressing the card 2) and erasing the print on the card 2 in a thermal manner. That is, the card printing apparatus 1 includes two heads. The detailed configuration of the card printer 1 will be described later.

第1方向切替装置8は、カード印字装置1と再生記録装置4とカード回収装置6との間でカード2の搬送方向を切り替える機能を果たしている。すなわち、第1方向切替装置8は、カード印字装置1、再生記録装置4またはカード回収装置6から搬出されるカード2の搬送方向を変えて、カード印字装置1、再生記録装置4またはカード回収装置6へカード2を搬入する。たとえば、第1方向切替装置8には、カード印字装置1から右上方へ搬出されるカード2が搬入され、第1方向切替装置8は、このカード2を再生記録装置4またはカード回収装置6へ搬入する。   The first direction switching device 8 performs a function of switching the transport direction of the card 2 among the card printing device 1, the reproduction / recording device 4, and the card collection device 6. That is, the first direction switching device 8 changes the transport direction of the card 2 carried out from the card printing device 1, the reproduction recording device 4 or the card collection device 6 to change the card printing device 1, the reproduction recording device 4 or the card collection device. The card 2 is carried into 6. For example, the card 2 carried out from the card printing device 1 to the upper right is carried into the first direction switching device 8, and the first direction switching device 8 transfers the card 2 to the reproduction recording device 4 or the card collection device 6. Carry in.

この第1方向切替装置8は、カード2の搬送を行うための2対の搬送ローラ組21と、カード2の搬送方向の切替を行うための切替駆動機構22とを備えている。切替駆動機構22は、駆動モータ23、プーリ24、25およびタイミングベルト26等から構成されている。この切替駆動機構22は、2対の搬送ローラ組21の略中間位置に配置されるプーリ25の中心を回動中心として、2対の搬送ローラ組21を回動させる。   The first direction switching device 8 includes two pairs of transport roller sets 21 for transporting the card 2 and a switching drive mechanism 22 for switching the transport direction of the card 2. The switching drive mechanism 22 includes a drive motor 23, pulleys 24 and 25, a timing belt 26, and the like. The switching drive mechanism 22 rotates the two pairs of transport roller sets 21 with the center of the pulley 25 arranged at a substantially intermediate position between the two pairs of transport roller sets 21 as a rotation center.

本形態では、カード印字装置1よりもカード挿入排出部12側に配置される搬送ローラ組16および搬送ローラ組21等は、カード印字装置1の下方に配置される駆動モータ27に図示を省略するタイミングベルト等の伝達手段を介して連結されており、駆動モータ27によって駆動される。   In this embodiment, the conveyance roller set 16 and the conveyance roller set 21 arranged on the card insertion / ejection unit 12 side of the card printing apparatus 1 are not shown in the drive motor 27 arranged below the card printing apparatus 1. It is connected via a transmission means such as a timing belt and is driven by a drive motor 27.

カード供給装置5は、発行前のカード2が収納されるホッパーカセット30と、ホッパーカセット30に収納されたカード2を第2方向切替装置9に向かって送出するための送出機構31とを備えている。送出機構31は、カード2に係合してカード2を送出する爪部32と、爪部32を駆動するための駆動モータ33と、駆動モータ33の動力を爪部32へ伝達するプーリ34、タイミングベルト35、スプロケット36およびチェーン37等の動力伝達手段とを備えている。   The card supply device 5 includes a hopper cassette 30 in which the card 2 before issue is stored, and a sending mechanism 31 for sending the card 2 stored in the hopper cassette 30 toward the second direction switching device 9. Yes. The delivery mechanism 31 includes a claw part 32 that engages with the card 2 and delivers the card 2, a drive motor 33 for driving the claw part 32, and a pulley 34 that transmits the power of the drive motor 33 to the claw part 32, Power transmission means such as a timing belt 35, a sprocket 36, and a chain 37 are provided.

クリーニングカード保管装置7は、図示を省略するクリーニングカードの搬送ローラを備えている。このクリーニングカード保管装置7は、カード印字装置1の内部のクリーニングが必要となる場合に、第2方向切替装置9を介してカード印字装置1にクリーニングカードを送出し、カード印字装置1の内部のクリーニングが終了すると、第2方向切替装置9を介してカード印字装置1からクリーニングカードを回収して保管する。   The cleaning card storage device 7 includes a cleaning card transport roller (not shown). The cleaning card storage device 7 sends out a cleaning card to the card printing device 1 via the second direction switching device 9 when the inside of the card printing device 1 needs to be cleaned. When the cleaning is completed, the cleaning card is collected from the card printer 1 via the second direction switching device 9 and stored.

第2方向切替装置9は、カード印字装置1とカード供給装置5とクリーニングカード保管装置7との間でカード2の搬送方向を切り替える機能を果たしている。すなわち、第2方向切替装置9は、カード印字装置1、カード供給装置5またはクリーニングカード保管装置7から搬出されるカード2またはクリーニングカードの搬送方向を変えて、カード印字装置1、再生記録装置4またはカード回収装置6へカード2またはクリーニングカードを搬入する。たとえば、第2方向切替装置8には、カード供給装置5から搬出されるカード2が搬入され、あるいは、クリーニングカード保管装置7から搬出されるクリーニングカードが搬入され、第2方向切替装置9は、このカード2またはクリーニングカードをカード印字装置1へ搬入する。   The second direction switching device 9 performs a function of switching the transport direction of the card 2 among the card printing device 1, the card supply device 5, and the cleaning card storage device 7. That is, the second direction switching device 9 changes the transport direction of the card 2 or the cleaning card carried out from the card printing device 1, the card supply device 5 or the cleaning card storage device 7 to change the card printing device 1 and the reproduction recording device 4. Alternatively, the card 2 or the cleaning card is carried into the card collecting device 6. For example, the second direction switching device 8 is loaded with the card 2 carried out from the card supply device 5 or the cleaning card carried out from the cleaning card storage device 7, and the second direction switching device 9 is The card 2 or the cleaning card is carried into the card printer 1.

この第2方向切替装置9は、カード2等の搬送を行うための2対の搬送ローラ組39と、搬送ローラ組39を駆動する駆動機構40と、カード2等の搬送方向の切替を行うための切替駆動機構41とを備えている。   This second direction switching device 9 is for switching the transport direction of the two pairs of transport roller sets 39 for transporting the cards 2 and the like, the drive mechanism 40 for driving the transport roller sets 39, and the cards 2 and the like. The switching drive mechanism 41 is provided.

駆動機構40は、2対の搬送ローラ組39を一緒に駆動する第1搬送ローラ駆動モータ42と、第1搬送ローラ駆動モータ42の動力を搬送ローラ組39へ伝達するプーリ43、44およびタイミングベルト45等からなる動力伝達機構とを備えている。本形態の第1搬送ローラ駆動モータ42は、ステッピングモータである。   The drive mechanism 40 includes a first transport roller drive motor 42 that drives the two pairs of transport roller sets 39 together, pulleys 43 and 44 that transmit the power of the first transport roller drive motor 42 to the transport roller set 39, and a timing belt. And a power transmission mechanism composed of 45 or the like. The first transport roller drive motor 42 of this embodiment is a stepping motor.

切替駆動機構41は、駆動モータ46、プーリ47、48およびタイミングベルト49等から構成されている。この切替駆動機構41は、2対の搬送ローラ組39の略中間位置に配置されるプーリ47の中心を回動中心として、2対の搬送ローラ組39を回動させる。なお、プーリ43とプーリ47とは、図1の紙面垂直方向に重なるように配置されている。   The switching drive mechanism 41 includes a drive motor 46, pulleys 47 and 48, a timing belt 49, and the like. The switching drive mechanism 41 rotates the two pairs of transport roller sets 39 with the center of the pulley 47 disposed at a substantially intermediate position between the two pairs of transport roller sets 39 as the rotation center. The pulley 43 and the pulley 47 are disposed so as to overlap in the direction perpendicular to the paper surface of FIG.

(カード印字装置の概略構成)
図2は、図1に示すカード印字装置1の概略構成を説明するための図である。図3は、図2に示す印字ヘッド19の第1位置検出機構58および消去ヘッド20の第2位置検出機構59を説明するための図である。
(Schematic configuration of card printing device)
FIG. 2 is a diagram for explaining a schematic configuration of the card printer 1 shown in FIG. FIG. 3 is a diagram for explaining the first position detection mechanism 58 of the print head 19 and the second position detection mechanism 59 of the erasing head 20 shown in FIG.

カード印字装置1は、上述した印字ヘッド19および消去ヘッド20に加え、カード2の搬送を行うための3対の搬送ローラ組52およびプラテンローラ53、54と、搬送ローラ組52およびプラテンローラ53、54を駆動する駆動機構55と、印字ヘッド19を移動させる印字ヘッド移動機構56と、消去ヘッド20を移動させる消去ヘッド移動機構57と、印字ヘッド19の位置を検出する第1位置検出機構58と、消去ヘッド20の位置を検出する第2位置検出機構59とを備えている。また、カード印字装置1の内部には、図示を省略するガイド部材によって、カード2が搬送される搬送路60が形成されている。   In addition to the print head 19 and the erasing head 20 described above, the card printing apparatus 1 includes three pairs of conveying roller sets 52 and platen rollers 53 and 54 for conveying the card 2, a conveying roller set 52 and a platen roller 53, A drive mechanism 55 for driving 54, a print head moving mechanism 56 for moving the print head 19, an erasing head moving mechanism 57 for moving the erasing head 20, and a first position detecting mechanism 58 for detecting the position of the print head 19. And a second position detecting mechanism 59 for detecting the position of the erasing head 20. Further, inside the card printing apparatus 1, a conveyance path 60 through which the card 2 is conveyed is formed by a guide member (not shown).

なお、本形態では、搬送ローラ組52およびプラテンローラ53、54は、媒体であるカード2を搬送する媒体搬送手段である。また、印字ヘッド19および消去ヘッド20は、カード2に対する印字/消去を行う印字/消去手段である。   In this embodiment, the transport roller set 52 and the platen rollers 53 and 54 are medium transport means for transporting the card 2 as a medium. The print head 19 and the erasing head 20 are printing / erasing means for printing / erasing the card 2.

3対の搬送ローラ組52は、図2に示すように、所定のピッチで搬送路60に配置されている。プラテンローラ53、54は、図2に示すように、3対の搬送ローラ組52のそれぞれの間に配置されている。また、プラテンローラ53は、カード2へ印字する際の印字ヘッド19に対向する位置に配置され、プラテンローラ54は、カード2上の印字を消去する際の消去ヘッド20に対向する位置に配置されている。   As shown in FIG. 2, the three pairs of transport roller sets 52 are arranged in the transport path 60 at a predetermined pitch. As shown in FIG. 2, the platen rollers 53 and 54 are disposed between the three pairs of transport roller sets 52. The platen roller 53 is disposed at a position facing the print head 19 when printing on the card 2, and the platen roller 54 is disposed at a position facing the erasing head 20 when erasing printing on the card 2. ing.

駆動機構55は、3対の搬送ローラ組52およびプラテンローラ53、54を一緒に駆動する第2搬送ローラ駆動モータ62と、第2搬送ローラ駆動モータ62の動力を搬送ローラ組52およびプラテンローラ53、54へ伝達する複数のプーリ63および複数のタイミングベルト64等からなる動力伝達機構とを備えている。本形態の第2搬送ローラ駆動モータ62は、ステッピングモータである。   The drive mechanism 55 includes a second transport roller drive motor 62 that drives the three pairs of transport roller sets 52 and the platen rollers 53 and 54 together, and the power of the second transport roller drive motor 62 as the transport roller set 52 and the platen roller 53. , 54 and a power transmission mechanism including a plurality of timing belts 64 and the like. The second transport roller drive motor 62 of this embodiment is a stepping motor.

印字ヘッド移動機構56は、印字ヘッド19を保持するヘッドホルダ65と、印字ヘッド19を移動させるためにヘッドホルダ65を回動させる駆動源となる印字ヘッド移動モータ66と、印字ヘッド移動モータ66の動力をヘッドホルダ65側へ伝達する歯車列67と、歯車列67を構成する1つの歯車の回転軸(図示省略)に固定された偏心カム68と、偏心カム68が係合するとともにヘッドホルダ65に回動可能に連結されたレバー69とを備えている。   The print head moving mechanism 56 includes a head holder 65 that holds the print head 19, a print head moving motor 66 that serves as a drive source for rotating the head holder 65 to move the print head 19, and a print head moving motor 66. A gear train 67 for transmitting power to the head holder 65 side, an eccentric cam 68 fixed to a rotation shaft (not shown) of one gear constituting the gear train 67, and the eccentric cam 68 are engaged and the head holder 65 And a lever 69 that is rotatably connected to the lever 69.

印字ヘッド移動モータ66は、DC(直流)モータである。歯車列67は、印字ヘッド移動モータ66の出力軸(図示省略)に固定された歯車に連結されている。偏心カム68は、歯車列67の、印字ヘッド移動モータ66の出力軸から最も離れた被駆動側の歯車(図示省略)の回転軸に固定され、歯車列67の回転に伴って回転する。レバー69には、偏心カム68が係合する係合孔69aが形成されている。この係合孔69aの上面は、偏心カム68の外周面に当接する当接部69bとなっており、偏心カム68の回転に伴って、レバー69は略上下方向へ移動する。   The print head moving motor 66 is a DC (direct current) motor. The gear train 67 is connected to a gear fixed to an output shaft (not shown) of the print head moving motor 66. The eccentric cam 68 is fixed to the rotation shaft of the driven gear (not shown) farthest from the output shaft of the print head moving motor 66 of the gear train 67 and rotates as the gear train 67 rotates. The lever 69 is formed with an engagement hole 69a with which the eccentric cam 68 is engaged. The upper surface of the engagement hole 69 a is a contact portion 69 b that contacts the outer peripheral surface of the eccentric cam 68, and the lever 69 moves substantially in the vertical direction as the eccentric cam 68 rotates.

ヘッドホルダ65の左端側には、レバー69の下端が回動可能に連結されている。また、ヘッドホルダ65では、レバー69の連結部65aよりも右側に印字ヘッド19が固定されている。ヘッドホルダ65は、偏心カム68の回転によるレバー69の移動に伴って、右端部の回動中心65bを中心にして回動する。このヘッドホルダ65の回動に伴って、印字ヘッド19が移動する。具体的には、印字ヘッド19は、図2の二点鎖線で示す上死点まで上昇し、また、図2の実線で示す下死点まで降下する。図2の二点鎖線で示す上死点近傍は、印字ヘッド19がカード2に当接することができない待機位置であり、図2の実線で示す下死点近傍は、印字ヘッド19がカード2に当接可能な印字可能位置である。   The lower end of the lever 69 is rotatably connected to the left end side of the head holder 65. In the head holder 65, the print head 19 is fixed on the right side of the connecting portion 65 a of the lever 69. The head holder 65 rotates around the rotation center 65 b at the right end as the lever 69 moves due to the rotation of the eccentric cam 68. As the head holder 65 rotates, the print head 19 moves. Specifically, the print head 19 rises to the top dead center indicated by the two-dot chain line in FIG. 2 and descends to the bottom dead center indicated by the solid line in FIG. The vicinity of the top dead center indicated by a two-dot chain line in FIG. 2 is a standby position where the print head 19 cannot contact the card 2, and the vicinity of the bottom dead center indicated by the solid line in FIG. This is a printable position where contact can be made.

消去ヘッド移動機構57は、印字ヘッド移動機構56とほぼ同様の構成を備えている。すなわち、消去ヘッド移動機構57は、消去ヘッド20を保持するヘッドホルダ70と、消去ヘッド20を移動させるためにヘッドホルダ70を回動させる駆動源となる消去ヘッド移動モータ71と、消去ヘッド移動モータ71の動力をヘッドホルダ70側へ伝達する歯車列72と、歯車列72を構成する1つの歯車の回転軸(図示省略)に固定された偏心カム73と、偏心カム73が係合するとともにヘッドホルダ70に回動可能に連結されたレバー74とを備えている。   The erasing head moving mechanism 57 has substantially the same configuration as the print head moving mechanism 56. That is, the erasing head moving mechanism 57 includes a head holder 70 that holds the erasing head 20, an erasing head moving motor 71 that serves as a drive source for rotating the head holder 70 to move the erasing head 20, and an erasing head moving motor. A gear train 72 for transmitting the power of 71 to the head holder 70 side, an eccentric cam 73 fixed to a rotation shaft (not shown) of one gear constituting the gear train 72, and the eccentric cam 73 engage with the head. And a lever 74 rotatably connected to the holder 70.

消去ヘッド移動モータ71は、DCモータであり、歯車列72は、消去ヘッド移動モータ71の出力軸(図示省略)に固定された歯車に連結されている。偏心カム73は、歯車列72の、消去ヘッド移動モータ71の出力軸から最も離れた被駆動側の歯車(図示省略)の回転軸に固定され、歯車列72の回転に伴って回転する。レバー74には、偏心カム73が係合する係合孔74aが形成されており、係合孔74aの上面は、偏心カム73の外周面に当接する当接部74bとなっている。レバー74は、偏心カム73の回転に伴って、略上下方向へ移動する。   The erasing head moving motor 71 is a DC motor, and the gear train 72 is connected to a gear fixed to an output shaft (not shown) of the erasing head moving motor 71. The eccentric cam 73 is fixed to the rotating shaft of the driven gear (not shown) farthest from the output shaft of the erasing head moving motor 71 of the gear train 72 and rotates as the gear train 72 rotates. The lever 74 is formed with an engagement hole 74 a with which the eccentric cam 73 is engaged. The upper surface of the engagement hole 74 a is a contact portion 74 b that is in contact with the outer peripheral surface of the eccentric cam 73. The lever 74 moves in the substantially vertical direction as the eccentric cam 73 rotates.

ヘッドホルダ70の右端側には、レバー74の下端が回動可能に連結されている。また、ヘッドホルダ70では、レバー74の連結部70aよりも左側に消去ヘッド20が固定されている。ヘッドホルダ70は、偏心カム73の回転によるレバー74の移動に伴って、左端部の回動中心70bを中心にして回動する。このヘッドホルダ70の回動に伴って、消去ヘッド20が移動する。具体的には、消去ヘッド20は、図2の二点鎖線で示す上死点まで上昇し、また、図2の実線で示す下死点まで降下する。図2の二点鎖線で示す上死点近傍は、消去ヘッド20がカード2に当接することができない待機位置であり、図2の実線で示す下死点近傍は、消去ヘッド20がカード2に当接可能な消去可能位置である。   The lower end of the lever 74 is rotatably connected to the right end side of the head holder 70. In the head holder 70, the erasing head 20 is fixed on the left side of the connecting portion 70a of the lever 74. The head holder 70 rotates around the rotation center 70 b at the left end as the lever 74 moves due to the rotation of the eccentric cam 73. As the head holder 70 rotates, the erasing head 20 moves. Specifically, the erasing head 20 rises to the top dead center indicated by the two-dot chain line in FIG. 2 and descends to the bottom dead center indicated by the solid line in FIG. The vicinity of the top dead center indicated by a two-dot chain line in FIG. 2 is a standby position where the erasing head 20 cannot contact the card 2, and the vicinity of the bottom dead center indicated by the solid line in FIG. It is an erasable position that can be contacted.

第1位置検出機構58は、図3に示すように、2個のセンサ76、77と、検出板78とを備えている。センサ76、77は、図示を省略する発光素子と受光素子とを有する光学式のセンサである。検出板78は、偏心カム68が固定された歯車の回転軸に固定され、歯車列67の回転に伴って回転する。この検出板78には、センサ76、77の発光素子と受光素子との間を遮る検出部78aが形成されている。   As shown in FIG. 3, the first position detection mechanism 58 includes two sensors 76 and 77 and a detection plate 78. The sensors 76 and 77 are optical sensors having a light emitting element and a light receiving element which are not shown. The detection plate 78 is fixed to the rotation shaft of the gear to which the eccentric cam 68 is fixed, and rotates with the rotation of the gear train 67. The detection plate 78 is formed with a detection portion 78a that blocks between the light emitting elements and the light receiving elements of the sensors 76 and 77.

本形態では、図3の二点鎖線で示すように、検出部78aがセンサ76の発光素子と受光素子との間を遮るときに、印字ヘッド19の位置が待機位置(上死点近傍)であることが検出され、図3の実線で示すように、検出部78aがセンサ77の発光素子と受光素子との間を遮るときに、印字ヘッド19の位置が印字可能位置(下死点近傍)であることが検出される。センサ76、77から出力される検出信号は、制御部11に入力される。   In this embodiment, as indicated by a two-dot chain line in FIG. 3, when the detection unit 78 a blocks between the light emitting element and the light receiving element of the sensor 76, the position of the print head 19 is the standby position (near top dead center). As shown by the solid line in FIG. 3, when the detection unit 78a blocks between the light emitting element and the light receiving element of the sensor 77, the position of the print head 19 is the printable position (near bottom dead center). Is detected. Detection signals output from the sensors 76 and 77 are input to the control unit 11.

第2位置検出機構59は、第1位置検出機構58と同様に、2個のセンサ79、80と、検出板81とを備えている。センサ79、80は、センサ76、77と同様に光学式のセンサである。検出板81は、偏心カム73が固定された歯車の回転軸に固定され、歯車列72の回転に伴って回転する。この検出板81には、センサ79、80の発光素子と受光素子との間を遮る検出部81aが形成されている。   Similar to the first position detection mechanism 58, the second position detection mechanism 59 includes two sensors 79 and 80 and a detection plate 81. The sensors 79 and 80 are optical sensors in the same manner as the sensors 76 and 77. The detection plate 81 is fixed to the rotation shaft of the gear to which the eccentric cam 73 is fixed, and rotates with the rotation of the gear train 72. The detection plate 81 is formed with a detection portion 81 a that blocks between the light emitting elements and the light receiving elements of the sensors 79 and 80.

本形態では、図3の二点鎖線で示すように、検出部81aがセンサ79の発光素子と受光素子との間を遮るときに、消去ヘッド20の位置が待機位置(上死点近傍)であることが検出され、図3の実線で示すように、検出部81aがセンサ80の発光素子と受光素子との間を遮るときに、消去ヘッド2の位置が消去可能位置(下死点近傍)であることが検出される。センサ79、80から出力される検出信号は、制御部11に入力される。   In this embodiment, as shown by a two-dot chain line in FIG. 3, when the detection unit 81a blocks between the light emitting element and the light receiving element of the sensor 79, the position of the erasing head 20 is the standby position (near top dead center). As shown by the solid line in FIG. 3, when the detection unit 81 a blocks between the light emitting element and the light receiving element of the sensor 80, the position of the erasing head 2 is the erasable position (near bottom dead center). Is detected. Detection signals output from the sensors 79 and 80 are input to the control unit 11.

(カード印字発行装置の制御部の概略構成)
図4は、図1に示す制御部11の概略構成を示すブロック図である。なお、図4では、カード印字装置1の制御に関連する制御部11の構成のみが図示されている。
(Schematic configuration of the control unit of the card print issuing device)
FIG. 4 is a block diagram showing a schematic configuration of the control unit 11 shown in FIG. In FIG. 4, only the configuration of the control unit 11 related to the control of the card printing apparatus 1 is illustrated.

制御部11は、カード印字装置1の制御に関連する構成として、図4に示すように、ヘッド降下時間計測部83と、記憶部84と、残存搬送時間更新部85と、残存降下時間更新部86と、比較部87と、モータ駆動部88〜91と、モータ制御部92とを備えている。ヘッド降下時間計測部83、記憶部84、残存搬送時間更新部85、残存降下時間更新部86、比較部87およびモータ制御部92等の各構成は、実際には、制御部11を構成するCPU等の演算手段と、ROMやRAM、不揮発性メモリ等の記憶手段と、水晶発振器等のクロック発生手段と、IOポート等の入出力手段と等によって実現されている。   As shown in FIG. 4, the control unit 11 has a head descent time measurement unit 83, a storage unit 84, a remaining transport time update unit 85, and a remaining descent time update unit as a configuration related to the control of the card printing apparatus 1. 86, a comparison unit 87, motor drive units 88 to 91, and a motor control unit 92. Each configuration of the head descent time measurement unit 83, the storage unit 84, the remaining conveyance time update unit 85, the remaining descent time update unit 86, the comparison unit 87, the motor control unit 92, and the like is actually a CPU constituting the control unit 11. Etc., storage means such as ROM, RAM, and nonvolatile memory, clock generation means such as a crystal oscillator, input / output means such as an IO port, and the like.

また、制御部11には、図示を省略するIOポート等の入出力手段を介して、制御指令部93が接続されるとともに、第1位置検出機構58(具体的には、センサ76、77)と、第2位置検出機構59(具体的には、センサ79、80)と、印字ヘッド移動モータ66と、消去ヘッド移動モータ71と、第2搬送ローラ駆動モータ62と、第1搬送ローラ駆動モータ42とが接続されている。   In addition, a control command unit 93 is connected to the control unit 11 via an input / output unit such as an IO port (not shown), and a first position detection mechanism 58 (specifically, sensors 76 and 77). A second position detecting mechanism 59 (specifically, sensors 79 and 80), a print head moving motor 66, an erasing head moving motor 71, a second conveying roller driving motor 62, and a first conveying roller driving motor. 42 is connected.

ヘッド降下時間計測部83は、印字ヘッド19の待機位置から印字可能位置までの実際の移動(降下)時間および消去ヘッド20の待機位置から消去可能位置までの実際の移動(降下)時間を計測する。本形態では、ヘッド降下時間計測部83は、制御指令部93からの印字ヘッド移動モータ66や消去ヘッド移動モータ71の駆動指令信号、および、第1位置検出機構58や第2位置検出機構59から入力される検出信号に基づいて、印字ヘッド19、消去ヘッド20の待機位置から印字可能位置、消去可能位置までの実際の降下時間を計測する。具体的には、ヘッド降下時間計測部83は、印字ヘッド19や消去ヘッド20が待機位置にある状態で、制御指令部93からの印字ヘッド移動モータ66や消去ヘッド移動モータ71の駆動指令信号が入力された後、センサ77、80からの検出信号が入力されるまでの時間を降下時間として計測する。   The head lowering time measuring unit 83 measures the actual movement (lowering) time from the standby position of the print head 19 to the printable position and the actual movement (lowering) time from the standby position of the erasing head 20 to the erasable position. . In this embodiment, the head descent time measurement unit 83 receives the drive command signals for the print head moving motor 66 and the erasing head moving motor 71 from the control command unit 93, and the first position detection mechanism 58 and the second position detection mechanism 59. Based on the input detection signal, the actual descent time from the standby position of the print head 19 and the erasing head 20 to the printable position and the erasable position is measured. Specifically, the head descent time measuring unit 83 receives the drive command signals for the print head moving motor 66 and the erasing head moving motor 71 from the control command unit 93 while the print head 19 and the erasing head 20 are in the standby position. After the input, the time until the detection signals from the sensors 77 and 80 are input is measured as the descent time.

記憶部84には、カード印字装置1等の制御に必要な各種のデータが記憶される。たとえば、ヘッド降下時間計測部83で計測された印字ヘッド19の降下時間が、設定降下(移動)時間(以下、「第1設定降下時間」とする。)として、記憶部84に記憶される。また、ヘッド降下時間計測部83で計測された消去ヘッド20の降下時間が、設定降下(移動)時間(以下、「第2設定降下時間」とする。)として、記憶部84に記憶される。なお、以下では、第1設定降下時間と第2設定降下時間とをまとめて表す場合には、「設定降下時間」と表記する。   The storage unit 84 stores various data necessary for controlling the card printer 1 and the like. For example, the descent time of the print head 19 measured by the head descent time measurement unit 83 is stored in the storage unit 84 as a set descent (movement) time (hereinafter referred to as “first set descent time”). Further, the descent time of the erasing head 20 measured by the head descent time measuring unit 83 is stored in the storage unit 84 as a set descent (movement) time (hereinafter referred to as “second set descent time”). Hereinafter, when the first set fall time and the second set fall time are collectively expressed, they are expressed as “set fall time”.

また、記憶部84には、カード印字発行装置3において印字/消去が行われるカード2の所定の搬送開始位置から、カード2上への印字が開始される印字開始位置までのカード2の搬送時間が設定搬送時間(以下、「第1設定搬送時間」とする。)として、記憶部84に記憶されている。同様に、記憶部84には、所定の搬送開始位置から、カード2上の印字の消去が開始される消去開始位置までのカード2の搬送時間が設定搬送時間(以下、「第2設定搬送時間」とする。)として、記憶部84に記憶されている。なお、以下では、第1設定搬送時間と第2設定搬送時間とをまとめて表す場合には、「設定搬送時間」と表記する。   Further, the storage unit 84 stores the card 2 transport time from the predetermined transport start position of the card 2 where printing / erasing is performed in the card print issuing device 3 to the print start position where printing on the card 2 is started. Is stored in the storage unit 84 as the set transport time (hereinafter referred to as “first set transport time”). Similarly, in the storage unit 84, the transport time of the card 2 from the predetermined transport start position to the erase start position at which the erasure of printing on the card 2 is started is set as a set transport time (hereinafter referred to as “second set transport time”). ").) Is stored in the storage unit 84. Hereinafter, when the first set transport time and the second set transport time are collectively expressed, they are expressed as “set transport time”.

本形態では、印字開始位置あるいは消去開始位置(印字/消去開始位置)までの搬送開始位置から距離と、搬送ローラ組39、52およびプラテンローラ53、54の搬送速度とから、予め、設定搬送時間が算出されて、記憶部84に記憶されている。なお、本形態では、印字/消去が行われるカード2の所定の搬送開始位置は、後述のように、第2方向切替装置9となっている。また、本形態では、たとえば、右上方に向かってカード印字装置1内を搬送されるカード2の先端側が印字可能位置にある印字ヘッド19をわずかに通過した位置が印字開始位置であり、右上方に向かってカード印字装置1内を搬送されるカード2の先端側が消去可能位置にある消去ヘッド20をわずかに通過した位置が消去開始位置である。   In this embodiment, the preset transport time is determined in advance from the distance from the transport start position to the print start position or erasure start position (print / erase start position) and the transport speed of the transport roller groups 39 and 52 and the platen rollers 53 and 54. Is calculated and stored in the storage unit 84. In this embodiment, the predetermined transfer start position of the card 2 on which printing / erasing is performed is the second direction switching device 9 as described later. Further, in this embodiment, for example, the position where the front end side of the card 2 conveyed through the card printing apparatus 1 toward the upper right slightly passes through the print head 19 at the printable position is the print start position, and the upper right The position where the front end side of the card 2 conveyed through the card printing apparatus 1 slightly passes through the erasing head 20 at the erasable position is the erasing start position.

残存搬送時間更新部85は、所定の搬送開始位置から搬送を開始されたカード2が印字開始位置に到達するまでの残存時間(以下、「第1残存搬送時間」とする。)、および、搬送開始位置から搬送を開始されたカード2が消去開始位置に到達するまでの残存時間(以下、「第2残存搬送時間」とする。)を更新する。具体的には、残存搬送時間更新部85は、記憶部84に記憶された第1設定搬送時間から搬送開始後の経過時間を減算することで、第1残存搬送時間を順次更新し、記憶部84に記憶された第2設定搬送時間から搬送開始後の経過時間を減算することで、第2残存搬送時間を順次更新する。なお、以下では、第1残存搬送時間と第2残存搬送時間とをまとめて表す場合には、「残存搬送時間」と表記する。   The remaining transport time update unit 85 includes a remaining time until the card 2 that has started transporting from a predetermined transport start position reaches the print start position (hereinafter referred to as “first remaining transport time”), and transport. The remaining time until the card 2 that has been transported from the start position reaches the erase start position (hereinafter referred to as “second remaining transport time”) is updated. Specifically, the remaining transport time update unit 85 sequentially updates the first remaining transport time by subtracting the elapsed time after the start of transport from the first set transport time stored in the storage unit 84, and the storage unit The second remaining transport time is sequentially updated by subtracting the elapsed time after the start of transport from the second set transport time stored in 84. Hereinafter, when the first remaining transport time and the second remaining transport time are collectively expressed, they are expressed as “remaining transport time”.

残存降下時間更新部86は、待機位置から移動を開始した印字ヘッド19が印字可能位置に到達するまでの残存時間(以下、「第1残存降下時間」とする。)、および、待機位置から移動を開始した消去ヘッド20が消去可能位置に到達するまでの残存時間(以下、「第2残存降下時間」とする。)を更新する。具体的には、残存降下時間更新部86は、記憶部84に記憶された第1設定降下時間から降下開始後の経過時間を減算することで、第1残存降下時間を順次更新し、記憶部84に記憶された第2設定降下時間から降下開始後の経過時間を減算することで、第2残存降下時間を順次更新する。なお、以下では、第1残存降下時間と第2残存降下時間とをまとめて表す場合には、「残存降下時間」と表記する。   The remaining descent time update unit 86 moves from the standby position until the print head 19 that has started moving from the standby position reaches the printable position (hereinafter referred to as “first remaining descent time”). The remaining time until the erasing head 20 that started the operation reaches the erasable position (hereinafter referred to as “second remaining falling time”) is updated. Specifically, the remaining descent time update unit 86 sequentially updates the first remaining descent time by subtracting the elapsed time after the descent start from the first set descent time stored in the storage unit 84, and the storage unit The second remaining descent time is sequentially updated by subtracting the elapsed time after the descent start from the second set descent time stored in 84. Hereinafter, when the first remaining fall time and the second remaining fall time are collectively expressed, they are expressed as “residual fall time”.

比較部87は、第1設定搬送時間と第1設定降下時間との比較、第1設定搬送時間と第1残存降下時間との比較、および、第1残存搬送時間と第1設定降下時間との比較を行う。具体的には、記憶部84に記憶された第1設定搬送時間および第1設定降下時間と、残存搬送時間更新部85で更新される第1残存搬送時間と、残存降下時間更新部86で更新される第1残存降下時間とに基づいて、比較部87は各比較を行う。   The comparison unit 87 compares the first set transport time with the first set drop time, compares the first set transport time with the first remaining drop time, and compares the first set transport time with the first set drop time. Make a comparison. Specifically, the first set transfer time and the first set drop time stored in the storage unit 84, the first remaining transfer time updated by the remaining transfer time update unit 85, and the update by the remaining drop time update unit 86. The comparison unit 87 performs each comparison based on the first remaining descent time.

また、比較部87は、第2設定搬送時間と第2設定降下時間との比較、第2設定搬送時間と第2残存降下時間との比較、および、第2残存搬送時間と第2設定降下時間との比較を行う。具体的には、記憶部84に記憶された第2設定搬送時間および第2設定降下時間と、残存搬送時間更新部85で更新される第2残存搬送時間と、残存降下時間更新部86で更新される第2残存降下時間とに基づいて、比較部87は各比較を行う。   The comparison unit 87 also compares the second set transport time with the second set drop time, compares the second set transport time with the second remaining drop time, and compares the second remaining transport time with the second set drop time. Compare with. Specifically, the second set transfer time and the second set drop time stored in the storage unit 84, the second remaining transfer time updated by the remaining transfer time update unit 85, and the update by the remaining drop time update unit 86. The comparison unit 87 performs each comparison based on the second remaining descent time.

モータ駆動部88〜91は、印字ヘッド移動モータ66、消去ヘッド移動モータ71、第2搬送ローラ駆動モータ62および第1搬送ローラ駆動モータ42のそれぞれを駆動する。モータ制御部92は、モータ駆動部88〜91を制御する。具体的には、制御指令部93からの制御指令、残存搬送時間更新部85や残存降下時間更新部86での各残存時間の更新結果、および、比較部87での各比較結果等に基づいて、モータ制御部92は、モータ駆動部88〜91を制御する。   The motor driving units 88 to 91 drive the print head moving motor 66, the erasing head moving motor 71, the second transport roller driving motor 62, and the first transport roller driving motor 42, respectively. The motor control unit 92 controls the motor drive units 88 to 91. Specifically, based on the control command from the control command unit 93, the update results of each remaining time in the remaining transport time update unit 85 and the remaining descent time update unit 86, the comparison results in the comparison unit 87, and the like. The motor control unit 92 controls the motor driving units 88 to 91.

なお、本形態では、図4に示すカード印字装置1の制御に関連する制御部11の構成は、搬送ローラ組52およびプラテンローラ53、54と、印字ヘッド19および消去ヘッド20を駆動制御するための制御手段であり、モータ駆動部88〜91およびモータ制御部92は、印字ヘッド移動モータ66、消去ヘッド移動モータ71、第2搬送ローラ駆動モータ62および第1搬送ローラ駆動モータ42のそれぞれを駆動して、搬送ローラ組52、プラテンローラ53、54、印字ヘッド19および消去ヘッド20のそれぞれを駆動する駆動手段である。また、比較部87は、設定搬送時間と設定降下時間との比較等を行う比較手段である。さらに、残存搬送時間更新部85は、第1の残存時間としての残存搬送時間を更新する第1の更新手段であり、残存降下時間更新部86は、第2の残存時間としての残存降下時間を更新する第2の更新手段である。   In this embodiment, the configuration of the control unit 11 related to the control of the card printing apparatus 1 shown in FIG. 4 is for driving and controlling the transport roller set 52 and the platen rollers 53 and 54, the print head 19 and the erasing head 20. The motor driving units 88 to 91 and the motor control unit 92 drive the print head moving motor 66, the erasing head moving motor 71, the second conveying roller driving motor 62, and the first conveying roller driving motor 42, respectively. Thus, it is a driving means for driving each of the conveying roller set 52, the platen rollers 53 and 54, the print head 19 and the erasing head 20. The comparison unit 87 is a comparison unit that compares the set conveyance time with the set descent time. Further, the remaining transport time update unit 85 is a first updating unit that updates the remaining transport time as the first remaining time, and the remaining fall time update unit 86 calculates the remaining fall time as the second remaining time. It is the 2nd update means to update.

(カード印字装置の概略制御)
図5は、図1に示すカード印字装置1での印字ヘッド19および消去ヘッド20の降下時間の測定処理のフローを示すフローチャートである。図6は、図1に示すカード印字装置1での印字/消去処理のフローを示すフローチャートである。
(Outline control of card printing device)
FIG. 5 is a flowchart showing a flow of measurement processing of the descent time of the print head 19 and the erasing head 20 in the card printer 1 shown in FIG. FIG. 6 is a flowchart showing the flow of the printing / erasing process in the card printer 1 shown in FIG.

本形態のカード印字発行装置3では、カード挿入排出部12から取り込まれ、印字/消去が行われるカード2は、必ず、第2方向切替装置9まで搬送され、第2方向切替装置9で一旦停止して、その後、カード印字装置1で印字/消去が行われる。また、カード供給装置5から供給される新たなカード2も第2方向切替装置9で一旦停止して、その後、カード印字装置1で印字が行われる。すなわち、本形態では、第2方向切替装置9が、カード印字発行装置3において印字/消去が行われるカード2の所定の搬送開始位置になる。具体的には、カード2の両端部が2対の搬送ローラ組39に保持された状態で、カード2が停止している位置がカード2の搬送開始位置になる。また、カード印字装置1では、カード2に対する印字/消去が行われないときには、印字ヘッド19および消去ヘッド20は、待機位置で待機している。   In the card print issuing device 3 of this embodiment, the card 2 that is taken in from the card insertion / ejection unit 12 and is printed / erased is always transported to the second direction switching device 9 and temporarily stopped by the second direction switching device 9. Thereafter, printing / erasing is performed by the card printing apparatus 1. Further, the new card 2 supplied from the card supply device 5 is also temporarily stopped by the second direction switching device 9 and then printed by the card printing device 1. That is, in the present embodiment, the second direction switching device 9 becomes a predetermined conveyance start position of the card 2 where printing / erasing is performed in the card print issuing device 3. Specifically, the position at which the card 2 is stopped in a state where both ends of the card 2 are held by the two pairs of transport roller sets 39 is the transport start position of the card 2. Further, in the card printer 1, when printing / erasing is not performed on the card 2, the print head 19 and the erasing head 20 are waiting at a standby position.

なお、本形態のカード印字発行装置3では、原則、カード2への印字処理と消去処理が同時に行われることはない。すなわち、搬送開始位置である第2方向切替装置9から第1方向切替装置8に向かって、カード印字装置1内を搬送されるカード2に対して、原則、印字処理と消去処理とが同時に行われることはない。ただし、カード2への印字処理と消去処理が同時に行われても良い。その場合には、制御部11は、後述の印字処理フローと消去処理フローとを並行して実行する。   In the card print issuing device 3 of this embodiment, in principle, the printing process and the erasing process on the card 2 are not performed simultaneously. That is, in principle, the printing process and the erasing process are simultaneously performed on the card 2 conveyed in the card printing apparatus 1 from the second direction switching apparatus 9 as the conveyance start position toward the first direction switching apparatus 8. It will never be. However, the printing process and the erasing process on the card 2 may be performed simultaneously. In that case, the control unit 11 executes a printing process flow and an erasing process flow, which will be described later, in parallel.

本形態では、カード印字発行装置3が電源オフの状態から電源オンの状態になると、カード印字発行装置3は初期化動作を行う。この初期化動作の際に、カード印字装置1は、図5に示すフローにしたがって、印字ヘッド19の待機位置から印字可能位置までの実際の降下時間と、消去ヘッド20の待機位置から消去可能位置までの実際の降下時間とを測定し、第1、第2設定降下時間Xを設定する。   In this embodiment, when the card print issuing device 3 changes from a power-off state to a power-on state, the card print issuing device 3 performs an initialization operation. During this initialization operation, the card printing apparatus 1 follows the flow shown in FIG. 5 to determine the actual descent time from the standby position of the print head 19 to the printable position and the erasable position from the standby position of the erasing head 20. And the first and second set fall times X are set.

具体的には、カード印字発行装置3が電源オンの状態になると(ステップS1)、ヘッド降下時間計測部83は、制御指令部93から、カード印字装置1(または、カード印字発行装置3)の初期化動作開始コマンドがあったか否かを判断する(ステップS2)。   Specifically, when the card print issuing device 3 is in a power-on state (step S1), the head descent time measuring unit 83 receives the card printing device 1 (or card print issuing device 3) from the control command unit 93. It is determined whether or not an initialization operation start command has been received (step S2).

ステップS2で、制御指令部93からの初期化動作開始コマンドがあった場合には、ヘッド降下時間計測部83は、印字ヘッド19の降下時間を測定する(ステップS3)。すなわち、ステップS3では、カード印字装置1(または、カード印字発行装置3)の初期化動作時に、ヘッド降下時間計測部83は、印字ヘッド19の降下時間を測定する。具体的には、ヘッド降下時間計測部83は、印字ヘッド19が待機位置にある状態で、制御指令部93からの印字ヘッド移動モータ66の駆動指令信号が入力されたときから、センサ77の検出信号が入力されるまでの時間を印字ヘッド19の降下時間として測定する。この降下時間を測定する際には、偏心カム68を一回転させて、印字ヘッド19を待機位置から印字可能位置へ、また、印字可能位置から待機位置へと移動させる。その後、ヘッド降下時間計測部83は、測定された印字ヘッド19の降下時間を第1設定降下時間Xとして設定し、記憶部84に記憶する(ステップS4)。   If there is an initialization operation start command from the control command unit 93 in step S2, the head descent time measuring unit 83 measures the descent time of the print head 19 (step S3). That is, in step S3, the head descent time measuring unit 83 measures the descent time of the print head 19 during the initialization operation of the card printer 1 (or the card print issuing device 3). Specifically, the head descent time measurement unit 83 detects the sensor 77 from when the print head movement motor 66 drive command signal is input from the control command unit 93 while the print head 19 is in the standby position. The time until the signal is input is measured as the descent time of the print head 19. In measuring the descent time, the eccentric cam 68 is rotated once to move the print head 19 from the standby position to the printable position, and from the printable position to the standby position. Thereafter, the head descent time measurement unit 83 sets the measured descent time of the print head 19 as the first set descent time X and stores it in the storage unit 84 (step S4).

同様に、ステップS3で、ヘッド降下時間計測部83は、消去ヘッド20が待機位置にある状態で、制御指令部93からの消去ヘッド移動モータ71の駆動指令信号が入力されたときから、センサ80の検出信号が入力されるまでの時間を消去ヘッド20の降下時間として測定する。また、ステップS4で、ヘッド降下時間計測部83は、測定された消去ヘッド20の降下時間を第2設定降下時間Xとして設定し、記憶部84に記憶する。   Similarly, in step S3, the head descent time measuring unit 83 starts the sensor 80 from when the erasing head moving motor 71 drive command signal is input from the control command unit 93 while the erasing head 20 is in the standby position. The time until the detection signal is input is measured as the descent time of the erasing head 20. In step S <b> 4, the head drop time measuring unit 83 sets the measured drop time of the erasing head 20 as the second set drop time X and stores it in the storage unit 84.

また、本形態では、図6に示すフローにしたがって、カード2に対する印字/消去を行う。まず、カード2への印字処理のフローについて説明する。なお、図6では、設定降下時間Xに対して、これを更新またはさらに更新した値である残存降下時間をX1とし、同様に、設定搬送時間Yに対して、これを更新またはさらに更新した値である残存搬送時間をY1とする。   In this embodiment, printing / erasing is performed on the card 2 according to the flow shown in FIG. First, the flow of the printing process on the card 2 will be described. In FIG. 6, the remaining descent time, which is the updated or further updated value for the set descent time X, is X1, and similarly, the updated or further updated value for the set transport time Y. The remaining transport time is Y1.

カード2への印字を行うため、制御指令部93が制御部11へ印字指令を出力すると、まず、比較部87は、記憶部84に記憶された第1設定降下時間Xと、第1設定搬送時間Yとを読み出して(ステップS11)、第1設定降下時間Xよりも第1設定搬送時間Yが長いか否かを判断する(ステップS12)。   When the control command unit 93 outputs a print command to the control unit 11 to perform printing on the card 2, first, the comparison unit 87 first compares the first set fall time X stored in the storage unit 84 and the first set conveyance. The time Y is read (step S11), and it is determined whether or not the first set transport time Y is longer than the first set drop time X (step S12).

ステップS12で、第1設定降下時間Xよりも第1設定搬送時間Yが長い場合には、モータ制御部92からの制御指令によって、モータ駆動部90、91は、第2搬送ローラ駆動モータ62および第1搬送ローラ駆動モータ42を駆動して、搬送開始位置からカード2の搬送を開始する(ステップS13)。   In step S12, when the first set transport time Y is longer than the first set drop time X, the motor drive units 90 and 91 cause the second transport roller drive motor 62 and The first transport roller drive motor 42 is driven to start transport of the card 2 from the transport start position (step S13).

その後、第2搬送ローラ駆動モータ62および第1搬送ローラ駆動モータ42の駆動を継続してカード2の搬送を継続するとともに、残存搬送時間更新部85は、第1残存搬送時間Y1を更新する(ステップS14)。   Then, while continuing the drive of the 2nd conveyance roller drive motor 62 and the 1st conveyance roller drive motor 42 and continuing conveyance of the card | curd 2, the remaining conveyance time update part 85 updates 1st remaining conveyance time Y1 ( Step S14).

そして、比較部87は、第1設定降下時間Xと第1残存搬送時間Y1とが等しくなったか否かを判断する(ステップS15)。ステップS15で、第1設定降下時間Xと第1残存搬送時間Y1とが等しくなっていない場合には、ステップS14へ戻る。   Then, the comparison unit 87 determines whether or not the first set drop time X and the first remaining transport time Y1 are equal (step S15). If the first set drop time X and the first remaining transport time Y1 are not equal in step S15, the process returns to step S14.

一方、ステップS15で、第1設定降下時間Xと第1残存搬送時間Y1とが等しくなった場合には、カード2の搬送を継続しながら、モータ制御部92からの制御指令によって、モータ駆動部88は、印字ヘッド移動モータ66を駆動して、印字ヘッド19の降下を開始する(ステップS16)。   On the other hand, when the first set drop time X and the first remaining transport time Y1 are equal in step S15, the motor drive unit is driven by a control command from the motor control unit 92 while continuing the transport of the card 2. 88 drives the print head moving motor 66 to start the descent of the print head 19 (step S16).

その後、カード2の搬送を継続し、また、印字ヘッド移動モータ66の駆動を継続して印字ヘッド19の降下を継続するとともに、残存搬送時間更新部85は、第1残存搬送時間Y1を更新し、また、残存降下時間更新部86は、第1残存降下時間X1を更新する(ステップS17)。   Thereafter, the conveyance of the card 2 is continued, the drive of the print head moving motor 66 is continued and the print head 19 is continuously lowered, and the remaining conveyance time update unit 85 updates the first remaining conveyance time Y1. Further, the remaining descent time update unit 86 updates the first remaining descent time X1 (step S17).

すなわち、ステップS15〜S17では、印字可能位置への印字ヘッド19の到達時点と、印字開始位置へのカード2の到達時点とが略一致するように、搬送ローラ組39、52およびプラテンローラ53、54と、印字ヘッド19とを一緒に(同時に)駆動する。   That is, in steps S15 to S17, the conveyance roller sets 39 and 52 and the platen roller 53, so that the time when the print head 19 reaches the printable position and the time when the card 2 reaches the print start position substantially coincide. 54 and the print head 19 are driven together (simultaneously).

そして、モータ制御部92は、第1残存搬送時間Y1が「0」になったか否か(すなわち、カード2が印字開始位置に到達したか否か)を判断するとともに、第1残存降下時間X1が「0」になったか否か(すなわち、印字ヘッド19が印字可能位置まで降下したか否か)を判断する(ステップS18)。ステップS18で、第1残存降下時間X1および第1残存搬送時間Y1が「0」になっていない場合には、ステップS17へ戻る。   Then, the motor control unit 92 determines whether or not the first remaining transport time Y1 has become “0” (that is, whether or not the card 2 has reached the print start position), and the first remaining descent time X1. Is determined to be “0” (that is, whether or not the print head 19 has been lowered to the printable position) (step S18). If the first remaining descent time X1 and the first remaining transport time Y1 are not “0” in step S18, the process returns to step S17.

一方、ステップS18で、第1残存降下時間X1および第1残存搬送時間Y1が「0」になった場合には、カード2への印字を実行する。具体的には、ステップS18では、印字ヘッド19を印字可能位置で停止させた状態で(すなわち、カード2に印字ヘッド19を当接(押圧)させた状態で)、カード2の搬送を継続して、カード2への印字を行う。カード2への印字が終了すると、印字ヘッド19を待機位置へ戻す等の所定の処理を行って、カード2への印字処理が終了する。   On the other hand, if the first remaining descent time X1 and the first remaining transport time Y1 become “0” in step S18, printing on the card 2 is executed. Specifically, in step S18, the transport of the card 2 is continued with the print head 19 stopped at the printable position (that is, with the print head 19 abutting (pressed) on the card 2). The card 2 is printed. When the printing on the card 2 is completed, a predetermined process such as returning the print head 19 to the standby position is performed, and the printing process on the card 2 is completed.

また、ステップS12で、第1設定降下時間Xよりも第1設定搬送時間Yが短い場合には、モータ制御部92からの制御指令によって、モータ駆動部88は、印字ヘッド移動モータ66を駆動して、印字ヘッド19の降下を開始する(ステップS20)。   If the first set transport time Y is shorter than the first set drop time X in step S12, the motor drive unit 88 drives the print head moving motor 66 according to a control command from the motor control unit 92. The descent of the print head 19 is started (step S20).

その後、印字ヘッド移動モータ66の駆動を継続して印字ヘッド19の降下を継続するとともに、残存降下時間更新部86は、第1残存降下時間X1を更新する(ステップS21)。   Thereafter, the drive of the print head moving motor 66 is continued to continue the descent of the print head 19, and the remaining descent time update unit 86 updates the first remaining descent time X1 (step S21).

そして、比較部87は、第1残存降下時間X1と第1設定搬送時間Yとが等しくなったか否かを判断する(ステップS22)。ステップS22で、第1残存降下時間X1と第1設定搬送時間Yとが等しくなっていない場合には、ステップS21へ戻る。   Then, the comparison unit 87 determines whether or not the first remaining descent time X1 is equal to the first set transport time Y (step S22). If the first remaining descent time X1 is not equal to the first set transport time Y in step S22, the process returns to step S21.

一方、ステップS22で、第1残存降下時間X1と第1設定搬送時間Yとが等しくなった場合には、印字ヘッド2の降下を継続しながら、モータ制御部92からの制御指令によって、モータ駆動部90、91は、第2搬送ローラ駆動モータ62および第1搬送ローラ駆動モータ42を駆動して、搬送開始位置からカード2の搬送を開始する(ステップS23)。   On the other hand, if the first remaining descent time X1 is equal to the first set transport time Y in step S22, the motor drive is driven by the control command from the motor control unit 92 while continuing the descent of the print head 2. The units 90 and 91 drive the second conveyance roller drive motor 62 and the first conveyance roller drive motor 42 to start conveyance of the card 2 from the conveyance start position (step S23).

その後、印字ヘッド2の降下を継続し、また、第2搬送ローラ駆動モータ62および第1搬送ローラ駆動モータ42の駆動を継続してカード2の搬送を継続するとともに、残存搬送時間更新部85は、第1残存搬送時間Y1を更新し、また、残存降下時間更新部86は、第1残存降下時間X1を更新する(ステップS24)。   Thereafter, the print head 2 continues to descend, and the second transport roller drive motor 62 and the first transport roller drive motor 42 continue to be driven to continue transporting the card 2, and the remaining transport time update unit 85 The first remaining conveyance time Y1 is updated, and the remaining descent time update unit 86 updates the first remaining descent time X1 (step S24).

すなわち、ステップS22〜S24では、ステップS15〜S17と同様に、印字可能位置への印字ヘッド19の到達時点と、印字開始位置へのカード2の到達時点とが略一致するように、搬送ローラ組39、52およびプラテンローラ53、54と、印字ヘッド19とを一緒に駆動する。   That is, in Steps S22 to S24, as in Steps S15 to S17, the conveyance roller assembly is set so that the arrival point of the print head 19 at the printable position and the arrival point of the card 2 at the print start position substantially coincide. 39 and 52 and the platen rollers 53 and 54 and the print head 19 are driven together.

そして、モータ制御部92は、第1残存搬送時間Y1が「0」になったか否かを判断するとともに、第1残存降下時間X1が「0」になったか否かを判断する(ステップS25)。ステップS25で、第1残存降下時間X1および第1残存搬送時間Y1が「0」になっていない場合には、ステップS24へ戻り、ステップS25で、第1残存降下時間X1および第1残存搬送時間Y1が「0」になった場合には、ステップS19へ進む。   Then, the motor control unit 92 determines whether or not the first remaining transport time Y1 has become “0”, and determines whether or not the first remaining descent time X1 has become “0” (step S25). . If the first remaining fall time X1 and the first remaining transport time Y1 are not “0” in step S25, the process returns to step S24, and in step S25, the first remaining fall time X1 and the first remaining transport time Y1. When Y1 becomes “0”, the process proceeds to step S19.

次に、カード2上の印字の消去処理のフローについて説明する。印字の消去処理のフローは、カード2への印字処理のフローと同様である。すなわち、カード2上の印字の消去を行う場合、まず、比較部87は、記憶部84に記憶された第2設定降下時間Xと、第2設定搬送時間Yとを読み出して(ステップS11)、第2設定降下時間Xよりも第2設定搬送時間Yが長いか否かを判断する(ステップS12)。   Next, the flow of the print erasing process on the card 2 will be described. The flow of the print erasing process is the same as the flow of the print process on the card 2. That is, when erasing the print on the card 2, first, the comparison unit 87 reads the second set fall time X and the second set transport time Y stored in the storage unit 84 (step S11). It is determined whether or not the second set transport time Y is longer than the second set drop time X (step S12).

ステップS12で、第2設定降下時間Xよりも第2設定搬送時間Yが長い場合には、搬送開始位置からカード2の搬送を開始する(ステップS13)。その後、カード2の搬送を継続するとともに、第2残存搬送時間Y1を更新する(ステップS14)。そして、比較部87は、第2設定降下時間Xと第2残存搬送時間Y1とが等しくなったか否かを判断する(ステップS15)。ステップS15で、第2設定降下時間Xと第2残存搬送時間Y1とが等しくなっていない場合には、ステップS14へ戻る。   If the second set transport time Y is longer than the second set drop time X in step S12, transport of the card 2 is started from the transport start position (step S13). Then, while continuing the conveyance of the card | curd 2, the 2nd remaining conveyance time Y1 is updated (step S14). Then, the comparison unit 87 determines whether or not the second set fall time X and the second remaining transport time Y1 are equal (step S15). If the second set drop time X and the second remaining transport time Y1 are not equal in step S15, the process returns to step S14.

一方、ステップS15で、第2設定降下時間Xと第2残存搬送時間Y1とが等しくなった場合には、カード2の搬送を継続しながら、消去ヘッド20の降下を開始する(ステップS16)。その後、カード2の搬送を継続し、また、消去ヘッド20の降下を継続するとともに、第2残存搬送時間Y1を更新し、また、第2残存降下時間X1を更新する(ステップS17)。   On the other hand, when the second set lowering time X and the second remaining transport time Y1 are equal in step S15, the erasing head 20 starts to descend while continuing to transport the card 2 (step S16). Thereafter, the conveyance of the card 2 is continued, the erasing head 20 is continuously lowered, the second remaining conveying time Y1 is updated, and the second remaining falling time X1 is updated (step S17).

すなわち、ステップS15〜S17では、消去可能位置への消去ヘッド20の到達時点と、消去開始位置へのカード2の到達時点とが略一致するように、搬送ローラ組39、52およびプラテンローラ53、54と、消去ヘッド20とを一緒に駆動する。   That is, in steps S15 to S17, the conveyance roller sets 39 and 52 and the platen roller 53, so that the time point when the erasing head 20 reaches the erasable position and the time point when the card 2 reaches the erasing start position substantially coincide. 54 and the erase head 20 are driven together.

そして、第2残存搬送時間Y1が「0」になったか否か(すなわち、カード2が消去開始位置に到達したか否か)を判断するとともに、第2残存降下時間X1が「0」になったか否か(すなわち、消去ヘッド20が消去可能位置まで降下したか否か)を判断する(ステップS18)。ステップS18で、第2残存降下時間X1および第2残存搬送時間Y1が「0」になっていない場合には、ステップS17へ戻る。   Then, it is determined whether or not the second remaining transport time Y1 has become “0” (that is, whether or not the card 2 has reached the erase start position), and the second remaining descent time X1 has become “0”. (That is, whether or not the erasing head 20 has been lowered to the erasable position) is determined (step S18). If the second remaining descent time X1 and the second remaining transport time Y1 are not “0” in step S18, the process returns to step S17.

一方、ステップS18で、第2残存降下時間X1および第2残存搬送時間Y1が「0」になった場合には、カード2上の印字の消去を実行する。具体的には、ステップS18では、消去ヘッド20を消去可能位置で停止させ、カード2に消去ヘッド20が当接(押圧)させて状態で、カード2の搬送を継続して、カード2上の印字の消去を行う。印字の消去が終了すると、消去ヘッド20を待機位置へ戻す等の所定の処理を行って、カード2上の印字の消去処理が終了する。   On the other hand, when the second remaining descent time X1 and the second remaining transport time Y1 become “0” in step S18, the printing on the card 2 is erased. Specifically, in step S18, the erasing head 20 is stopped at the erasable position, and the card 2 is continuously conveyed while the erasing head 20 is in contact (pressed) with the card 2, and the card 2 Erase the print. When the erasing of printing is completed, a predetermined process such as returning the erasing head 20 to the standby position is performed, and the erasing process of the printing on the card 2 is completed.

また、ステップS12で、第2設定降下時間Xよりも第2設定搬送時間Yが短い場合には、消去ヘッド20の降下を開始する(ステップS20)。その後、消去ヘッド20の降下を継続するとともに、第2残存降下時間X1を更新する(ステップS21)。そして、第2残存降下時間X1と第2設定搬送時間Yとが等しくなったか否かを判断する(ステップS22)。ステップS22で、第2残存降下時間X1と第2設定搬送時間Yとが等しくなっていない場合には、ステップS21へ戻る。   If the second set transport time Y is shorter than the second set drop time X in step S12, the erasing head 20 starts to drop (step S20). Thereafter, the erasing head 20 continues to be lowered and the second remaining descent time X1 is updated (step S21). And it is judged whether the 2nd remaining fall time X1 and the 2nd setting conveyance time Y became equal (Step S22). If the second remaining descent time X1 and the second set transport time Y are not equal in step S22, the process returns to step S21.

一方、ステップS22で、第2残存降下時間X1と第2設定搬送時間Yとが等しくなった場合には、消去ヘッド20の降下を継続しながら、搬送開始位置からカード2の搬送を開始する(ステップS23)。その後、印字ヘッド2の降下を継続し、また、カード2の搬送を継続するとともに、第2残存搬送時間Y1を更新し、また、第2残存降下時間X1を更新する(ステップS24)。   On the other hand, if the second remaining drop time X1 and the second set transfer time Y are equal in step S22, the card 2 starts to be transferred from the transfer start position while continuing the descent of the erasing head 20 ( Step S23). Thereafter, the descent of the print head 2 is continued, the conveyance of the card 2 is continued, the second remaining conveyance time Y1 is updated, and the second remaining descent time X1 is updated (step S24).

すなわち、ステップS22〜S24では、ステップS15〜S17と同様に、消去可能位置への消去ヘッド20の到達時点と、消去開始位置へのカード2の到達時点とが略一致するように、搬送ローラ組39、52およびプラテンローラ53、54と、消去ヘッド20とを一緒に駆動する。   That is, in Steps S22 to S24, as in Steps S15 to S17, the conveyance roller assembly is set so that the arrival point of the erasing head 20 at the erasable position and the arrival point of the card 2 at the erasure start position substantially coincide. 39 and 52 and the platen rollers 53 and 54 and the erasing head 20 are driven together.

そして、第2残存搬送時間Y1が「0」になったか否かを判断するとともに、第2残存降下時間X1が「0」になったか否かを判断する(ステップS25)。ステップS25で、第2残存降下時間X1および第2残存搬送時間Y1が「0」になっていない場合には、ステップS24へ戻り、ステップS25で、第2残存降下時間X1および第2残存搬送時間Y1が「0」になった場合には、ステップS19へ進む。   Then, it is determined whether or not the second remaining transport time Y1 has become “0” and whether or not the second remaining descent time X1 has become “0” (step S25). If the second remaining fall time X1 and the second remaining transport time Y1 are not “0” in step S25, the process returns to step S24, and in step S25, the second remaining fall time X1 and the second remaining transport time are returned. When Y1 becomes “0”, the process proceeds to step S19.

なお、本形態では、ステップS3は、設定移動時間Xを設定するために、印字ヘッド19の実際の降下(移動)時間、および、消去ヘッド20の実際の降下(移動)時間を測定する移動時間測定ステップであり、ステップS12は、第1設定移動時間Xと第1設定搬送時間Yとを比較し、第2設定移動時間Xと第2設定搬送時間Yとを比較する比較ステップである。   In this embodiment, step S3 is a moving time for measuring the actual lowering (moving) time of the print head 19 and the actual lowering (moving) time of the erasing head 20 in order to set the set moving time X. Step S12 is a comparison step in which the first set travel time X and the first set transport time Y are compared, and the second set travel time X and the second set transport time Y are compared.

また、本形態では、ステップS13、S14およびステップS20、S21は、比較ステップであるステップS12での比較結果に基づいて、搬送ローラ組52とプラテンローラ53、54、または、印字ヘッド19、消去ヘッド20の一方を先行して駆動する先行駆動ステップである。特に、ステップS13は、ステップS12で設定移動時間Xよりも設定搬送時間Yが長いときに、搬送ローラ組52およびプラテンローラ53、54の駆動を先行して開始する先行駆動開始ステップであり、ステップS14は、設定搬送時間Yに基づいて、印字/消去開始位置にカード2が到達するまでの残存搬送時間を更新する搬送時間更新ステップである。また、ステップS20は、ステップS12で設定移動時間Xよりも設定搬送時間Yが短いときに、印字ヘッド19、消去ヘッド20の駆動を先行して開始する先行駆動開始ステップであり、ステップS21は、設定移動時間Xに基づいて、印字/消去可能位置に印字ヘッド19、消去ヘッド20が到達するまでの残存降下時間を更新する移動時間更新ステップである。   In this embodiment, steps S13 and S14 and steps S20 and S21 are based on the comparison result in step S12, which is a comparison step, and the conveying roller set 52 and the platen rollers 53 and 54, or the print head 19 and the erasing head. This is a pre-driving step for driving one of 20 in advance. In particular, step S13 is a preceding drive start step that starts driving the transport roller set 52 and the platen rollers 53 and 54 in advance when the set transport time Y is longer than the set travel time X in step S12. S14 is a transport time update step for updating the remaining transport time until the card 2 reaches the print / erase start position based on the set transport time Y. Step S20 is a preceding drive start step that starts driving the print head 19 and the erasing head 20 in advance when the set transport time Y is shorter than the set movement time X in Step S12. This is a moving time update step for updating the remaining descent time until the print head 19 and the erasing head 20 reach the printable / erasable position based on the set moving time X.

さらに、本形態では、ステップS15〜S17およびステップS22〜S24は、印字可能位置への印字ヘッド19の到達時点と、印字開始位置へのカード2の到達時点とが略一致するように、あるいは、消去可能位置への消去ヘッド20の到達時点と、消去開始位置へのカード2の到達時点とが略一致するように、先行駆動ステップであるステップS13、S14あるいはステップS20、S21後に、搬送ローラ組52およびプラテンローラ53、54と、印字ヘッド19、消去ヘッド20とを一緒に駆動する同時駆動ステップである。特に、ステップS16は、残存搬送時間Y1と設定降下時間Xとが等しくなったとき、印字ヘッド19、消去ヘッド20の駆動を開始する後続駆動開始ステップであり、ステップS23は、残存降下時間X1と設定搬送時間Yとが等しくなったとき、搬送ローラ組52およびプラテンローラ53、54の駆動を開始する後続駆動開始ステップである。   Furthermore, in this embodiment, steps S15 to S17 and steps S22 to S24 are performed so that the time when the print head 19 reaches the printable position and the time when the card 2 reaches the print start position substantially coincide with each other. After the advance driving step S13, S14 or steps S20, S21, the conveyance roller group is set so that the time when the erasing head 20 reaches the erasable position and the time when the card 2 reaches the erasing start position substantially coincide. 52 and the platen rollers 53 and 54, and the print head 19 and the erasing head 20 are driven simultaneously. In particular, step S16 is a subsequent driving start step that starts driving the print head 19 and the erasing head 20 when the remaining transport time Y1 becomes equal to the set drop time X, and step S23 is the remaining drop time X1. This is a subsequent drive start step for starting driving the transport roller set 52 and the platen rollers 53 and 54 when the set transport time Y becomes equal.

(本形態の主な効果)
以上説明したように、本形態では、印字可能位置への印字ヘッド19の到達時点と、印字開始位置へのカード2の到達時点とが略一致するように、また、消去可能位置への消去ヘッド20の到達時点と、消去開始位置へのカード2の到達時点とが略一致するように、搬送ローラ組52とプラテンローラ53、54、または、印字ヘッド19、消去ヘッド20の一方の駆動を先行して開始している。また、その後、搬送ローラ組52とプラテンローラ53、54、または、印字ヘッド19、消去ヘッド20の他方の駆動を開始して、搬送ローラ組52とプラテンローラ53、54、および、印字ヘッド19、消去ヘッド20を一緒に駆動している。そのため、印字可能位置までの印字ヘッド19の降下と印字開始位置までのカード2の搬送とを一緒に実行でき、また、消去可能位置までの消去ヘッド20の降下と消去開始位置までのカード2の搬送とを一緒に実行できる。また、そのまま、継続してカード2を搬送することで、カード2への印字/消去を連続して行うことができる。すなわち、カード2への印字/消去を実行する前に、カード2の搬送を停止させることがない。その結果、本形態では、カード2に対する印字処理の時間および消去処理の時間を短縮できる。
(Main effects of this form)
As described above, in this embodiment, the time when the print head 19 reaches the printable position and the time when the card 2 reaches the print start position substantially coincide with each other, and the erase head reaches the erasable position. The driving roller set 52 and the platen rollers 53 and 54 or one of the print head 19 and the erasing head 20 are driven in advance so that the time point 20 reaches the time point when the card 2 reaches the erasing start position. And has started. Thereafter, driving of the conveyance roller set 52 and the platen rollers 53 and 54, or the other of the print head 19 and the erasing head 20 is started, and the conveyance roller set 52 and the platen rollers 53 and 54 and the print head 19, The erase head 20 is driven together. Therefore, the lowering of the print head 19 to the printable position and the conveyance of the card 2 to the print start position can be executed together, and the lowering of the erase head 20 to the erasable position and the card 2 to the erase start position are performed. Transport can be performed together. Further, by continuously conveying the card 2 as it is, printing / erasing on the card 2 can be continuously performed. That is, the conveyance of the card 2 is not stopped before the printing / erasing on the card 2 is executed. As a result, in the present embodiment, the printing process time and the erasing process time for the card 2 can be shortened.

本形態では、待機位置から印字/消去可能位置までの印字ヘッド19、消去ヘッド20の設定移動時間Xと、搬送開始位置から印字/消去開始位置までのカード2の設定搬送時間Yとを比較している。そのため、設定移動時間Xと設定搬送時間Yとの比較結果に基づいて、適切に、搬送ローラ組52とプラテンローラ53、54、または、印字ヘッド19、消去ヘッド20の一方の駆動を先行して開始し、その後、搬送ローラ組52とプラテンローラ53、54、または、印字ヘッド19、消去ヘッド20の他方の駆動を開始できる。   In this embodiment, the set movement time X of the print head 19 and the erasing head 20 from the standby position to the print / erasable position is compared with the set conveyance time Y of the card 2 from the conveyance start position to the print / erase start position. ing. Therefore, based on the comparison result between the set movement time X and the set transfer time Y, the drive of the transfer roller set 52 and the platen rollers 53 and 54 or one of the print head 19 and the erasing head 20 is appropriately preceded. After that, the driving of the conveyance roller set 52 and the platen rollers 53 and 54 or the other of the print head 19 and the erasing head 20 can be started.

また、本形態では、残存搬送時間更新部85が残存搬送時間Y1を更新し、残存降下時間更新部86が残存降下時間X1を更新するとともに、残存搬送時間更新部85および残存降下時間更新部86は、設定搬送時間Yと残存降下時間X1とが一致したとき、または、残存搬送時間Y1と設定降下時間Xとが一致したときに、残存降下時間X1と残存搬送時間Y1とを同時に更新している。   In the present embodiment, the remaining transport time update unit 85 updates the remaining transport time Y1, the remaining descent time update unit 86 updates the remaining descent time X1, and the remaining transport time update unit 85 and the remaining descent time update unit 86. Updates the remaining descent time X1 and the remaining conveyance time Y1 simultaneously when the set conveyance time Y and the remaining descent time X1 coincide, or when the remaining conveyance time Y1 and the set descent time X coincide. Yes.

すなわち、本形態では、ステップS12で設定移動時間Xよりも設定搬送時間Yが長いときに、ステップS13で、搬送ローラ組52およびプラテンローラ53、54の駆動を先行して開始し、ステップS14で、印字/消去開始位置にカード2が到達するまでの残存搬送時間Y1を更新するとともに、ステップS16で、残存搬送時間Y1と設定降下時間Xとが等しくなったとき、印字ヘッド19、消去ヘッド20の駆動を開始している。また、ステップS12で設定移動時間Xよりも設定搬送時間Yが短いときに、ステップS20で、印字ヘッド19、消去ヘッド20の駆動を先行して開始し、ステップS21で、印字/消去可能位置に印字ヘッド19、消去ヘッド20が到達するまでの残存降下時間X1を更新するとともに、ステップS23で、残存降下時間X1と設定搬送時間Yとが等しくなったとき、搬送ローラ組52およびプラテンローラ53、54の駆動を開始している。   That is, in this embodiment, when the set transport time Y is longer than the set travel time X in step S12, the driving of the transport roller set 52 and the platen rollers 53 and 54 is started in step S13, and in step S14. The remaining transport time Y1 until the card 2 reaches the print / erase start position is updated, and when the remaining transport time Y1 becomes equal to the set drop time X in step S16, the print head 19 and the erase head 20 are updated. Has started to drive. When the set transport time Y is shorter than the set travel time X in step S12, the drive of the print head 19 and the erasing head 20 is started in step S20, and the print / erasable position is set in step S21. The remaining descent time X1 until the print head 19 and the erasing head 20 reach is updated, and when the remaining descent time X1 becomes equal to the set conveyance time Y in step S23, the conveyance roller set 52 and the platen roller 53, The drive of 54 is started.

そのため、ステップS14で更新される残存搬送時間Y1やステップS21で更新される残存降下時間X1に基づいて、適切に、印字/消去可能位置への印字ヘッド19、消去ヘッド20の到達時点と、印字/消去開始位置へのカード2の到達時点とが略一致するように、搬送ローラ組52とプラテンローラ53、54、および、印字ヘッド19、消去ヘッド20を駆動できる。   Therefore, based on the remaining transport time Y1 updated in step S14 and the remaining descent time X1 updated in step S21, the arrival time of the print head 19 and the erase head 20 to the printable / erasable position and the print The transport roller set 52 and the platen rollers 53 and 54, and the print head 19 and the erasing head 20 can be driven so that the arrival point of the card 2 at the erasing start position substantially coincides.

本形態では、設定移動時間Xを設定するために、待機位置から印字/消去可能位置までの印字ヘッド19、消去ヘッド20の実際の降下時間を測定している。そのため、温度等の種々の外部環境の影響や装置ごとの個体差で、電源10、印字ヘッド移動モータ66および消去ヘッド移動モータ71等の特性が変動し、待機位置から印字/消去可能位置までの印字ヘッド19、消去ヘッド20の降下時間が変動する場合であっても、適切な設定降下時間Xを設定できる。したがって、印字/消去可能位置への印字ヘッド19、消去ヘッド20の到達時点と、印字/消去開始位置へのカード2の到達時点とを精度良く一致させることができる。その結果、所定の印字範囲に精度良く印字を行うことができ、また、所定の範囲の印字を精度良く消去することができる。   In this embodiment, in order to set the set movement time X, the actual descent time of the print head 19 and the erasing head 20 from the standby position to the print / erasable position is measured. For this reason, the characteristics of the power supply 10, the print head moving motor 66, the erasing head moving motor 71, etc. fluctuate due to the influence of various external environments such as temperature and individual differences between apparatuses, and from the standby position to the print / erasable position. Even when the descent time of the print head 19 and the erasing head 20 varies, an appropriate set descent time X can be set. Therefore, the arrival time of the print head 19 and the erasing head 20 at the print / erase enable position and the arrival time of the card 2 at the print / erase start position can be made to coincide with each other with high accuracy. As a result, it is possible to perform printing within a predetermined printing range with high accuracy, and it is possible to erase printing within a predetermined range with high accuracy.

本形態では、印字ヘッド19、消去ヘッド20の実際の降下時間の測定は、電源投入時後のカード印字装置1の初期化動作時に実行されている。そのため、温度等の種々の外部環境の影響や装置ごとの個体差をより適切に反映した設定降下時間Xを設定できる。   In this embodiment, the actual descent time of the print head 19 and the erasing head 20 is measured during the initialization operation of the card printer 1 after the power is turned on. Therefore, it is possible to set the set fall time X that more appropriately reflects the influence of various external environments such as temperature and individual differences for each apparatus.

(他の実施の形態)
上述した形態は、本発明の好適な形態の一例ではあるが、これに限定されるものではなく本発明の要旨を変更しない範囲において種々変形実施が可能である。たとえば、上述した形態では、図6に示すように、ステップS12で、設定降下時間Xよりも設定搬送時間Yが長い場合には、ステップS13へ進み、設定降下時間Xよりも設定搬送時間Yが短い場合には、ステップS20へ進んでいる。この他にもたとえば、図7に示すように、ステップS12で、設定降下時間Xよりも設定搬送時間Yが長くない場合に、さらに、設定降下時間Xと設定搬送時間Yとが等しいか否かを比較部87が判断しても良い(ステップS31)。
(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. For example, in the above-described embodiment, as shown in FIG. 6, when the set transport time Y is longer than the set drop time X in step S12, the process proceeds to step S13, and the set transport time Y is set to be longer than the set drop time X. If it is shorter, the process proceeds to step S20. In addition to this, for example, as shown in FIG. 7, when the set transport time Y is not longer than the set drop time X in step S12, whether or not the set drop time X is equal to the set transport time Y is also determined. May be determined by the comparison unit 87 (step S31).

この場合、ステップS31で、設定降下時間Xと設定搬送時間Yとが等しくないとき(すなわち、設定降下時間Xよりも設定搬送時間Yが短いとき)には、ステップS20へ進む。また、ステップS31で、設定降下時間Xと設定搬送時間Yとが等しいときには、モータ制御部92からの制御指令によって、モータ駆動部90、91は、第2搬送ローラ駆動モータ62および第1搬送ローラ駆動モータ42を駆動して、搬送開始位置からカード2の搬送を開始するとともに、モータ駆動部88またはモータ駆動部89は、印字ヘッド移動モータ66または消去ヘッド移動モータ71を駆動して、印字ヘッド19または消去ヘッド20の降下を開始する(ステップS32)。すなわち、ステップS32では、搬送ローラ組52およびプラテンローラ53、54の駆動と、印字ヘッド19または消去ヘッド20の駆動とを同時に開始する。また、ステップS32では、そのまま、カード2の搬送および印字ヘッド19または消去ヘッド20の降下を継続する。さらに、ステップS32では、残存搬送時間更新部85は、残存搬送時間Y1を更新し、また、残存降下時間更新部86は、残存降下時間X1を更新する。   In this case, when the set descent time X and the set conveyance time Y are not equal in step S31 (that is, when the set conveyance time Y is shorter than the set descent time X), the process proceeds to step S20. In step S31, when the set descent time X and the set transport time Y are equal, the motor drive units 90 and 91 cause the second transport roller drive motor 62 and the first transport roller according to a control command from the motor control unit 92. The drive motor 42 is driven to start the conveyance of the card 2 from the conveyance start position, and the motor drive unit 88 or the motor drive unit 89 drives the print head moving motor 66 or the erasing head moving motor 71 to print the print head. 19 or the descent of the erasing head 20 is started (step S32). That is, in step S32, driving of the transport roller set 52 and platen rollers 53 and 54 and driving of the print head 19 or the erasing head 20 are started simultaneously. In step S32, the conveyance of the card 2 and the lowering of the print head 19 or the erasing head 20 are continued as they are. Furthermore, in step S32, the remaining conveyance time update unit 85 updates the remaining conveyance time Y1, and the remaining descent time update unit 86 updates the remaining descent time X1.

そして、モータ制御部92は、残存搬送時間Y1が「0」になったか否かを判断するとともに、残存降下時間X1が「0」になったか否かを判断する(ステップS33)。ステップS33で、残存降下時間X1および残存搬送時間Y1が「0」になっていない場合には、ステップS32へ戻り、ステップS33で、残存降下時間X1および残存搬送時間Y1が「0」になった場合には、ステップS19へ進む。   Then, the motor control unit 92 determines whether or not the remaining transport time Y1 has become “0”, and determines whether or not the remaining descent time X1 has become “0” (step S33). If the remaining descent time X1 and the remaining transport time Y1 are not “0” in step S33, the process returns to step S32, and the remaining descent time X1 and the remaining transport time Y1 are “0” in step S33. If so, the process proceeds to step S19.

このように、印字/消去処理のフローがステップS31〜S33を備える場合には、設定移動時間Xと設定搬送時間Yとが全く等しい場合であっても、印字可能位置への印字ヘッド19の到達時点と、印字開始位置へのカード2の到達時点とが略一致するように、また、消去可能位置への消去ヘッド20の到達時点と、消去開始位置へのカード2の到達時点とが略一致するように、搬送ローラ組52とプラテンローラ53、54、および、印字ヘッド19、消去ヘッド20を駆動することができる。その結果、カード2への印字/消去を実行する前に、カード2の搬送を停止させることがない。   As described above, when the print / erase processing flow includes steps S31 to S33, the print head 19 reaches the printable position even when the set movement time X and the set transport time Y are completely equal. The time when the card 2 arrives at the print start position substantially coincides, and the time when the erase head 20 reaches the erasable position and the time when the card 2 arrives at the erase start position substantially coincide. As described above, the conveyance roller set 52 and the platen rollers 53 and 54, and the print head 19 and the erasing head 20 can be driven. As a result, the conveyance of the card 2 is not stopped before the printing / erasing on the card 2 is executed.

なお、図7に示す印字/消去処理のフローでは、ステップS12およびステップS31は、設定移動時間Xと設定搬送時間Yとを比較する比較ステップである。また、ステップS32は、設定移動時間Xと設定搬送時間Yとが等しいときに、搬送ローラ組52とプラテンローラ53、54の駆動、および、印字ヘッド19、消去ヘッド20の駆動とを同時に開始する同時駆動開始ステップである。また、図7では、図6に示すステップと同様のステップには同一の符号を付している。   In the print / erase processing flow shown in FIG. 7, step S12 and step S31 are comparison steps for comparing the set movement time X and the set transport time Y. In step S32, when the set moving time X and the set transport time Y are equal, the driving of the transport roller set 52 and the platen rollers 53 and 54 and the driving of the print head 19 and the erasing head 20 are simultaneously started. This is a simultaneous driving start step. Moreover, in FIG. 7, the same code | symbol is attached | subjected to the step similar to the step shown in FIG.

上述した形態では、搬送ローラ組39は、第1搬送ローラ駆動モータ42によって駆動され、搬送ローラ組52およびプラテンローラ53、54は、第2搬送ローラ駆動モータ62によって駆動されている。この他にもたとえば、搬送ローラ組39、搬送ローラ組52およびプラテンローラ53、54の全てが、第1搬送ローラ駆動モータ42または第2搬送ローラ駆動モータ62によって駆動されても良い。   In the embodiment described above, the transport roller set 39 is driven by the first transport roller drive motor 42, and the transport roller set 52 and the platen rollers 53 and 54 are driven by the second transport roller drive motor 62. In addition, for example, all of the transport roller group 39, the transport roller group 52, and the platen rollers 53 and 54 may be driven by the first transport roller drive motor 42 or the second transport roller drive motor 62.

上述した形態では、カード印字発行装置3の電源投入時の初期化動作で、印字ヘッド19の待機位置から印字可能位置までの実際の降下時間と、消去ヘッド20の待機位置から消去可能位置までの実際の降下時間とを測定して、第1、第2設定降下時間Xを設定している。この他にもたとえば、カード印字発行装置3の始業開始前の初期化動作で、印字ヘッド19、消去ヘッド20の実際の降下時間を測定しても良い。また、電源投入時や始業開始前の初期化動作のたびに、印字ヘッド19、消去ヘッド20の実際の降下時間を測定せずに、所定の期間ごとに、印字ヘッド19、消去ヘッド20の実際の降下時間を測定しても良い。さらに、印字ヘッド19、消去ヘッド20の実際の降下時間を測定して第1、第2設定降下時間Xを設定するのではなく、印字ヘッド19、消去ヘッド20の降下距離と、印字ヘッド移動モータ66、消去ヘッド移動モータ71の回転速度から、予め、印字ヘッド19、消去ヘッド20の降下時間を算出して、第1、第2設定降下時間Xを設定しても良い。   In the above-described form, the initialization operation at power-on of the card print issuing device 3 causes the actual descent time from the standby position of the print head 19 to the printable position and the standby position of the erase head 20 to the erasable position. The first and second set fall times X are set by measuring the actual fall time. In addition, for example, the actual descent time of the print head 19 and the erasing head 20 may be measured by the initialization operation before the start of the business of the card print issuing device 3. In addition, the actual operation of the print head 19 and the erasing head 20 is performed every predetermined period without measuring the actual descent time of the print head 19 and the erasing head 20 every time the power is turned on or the initialization operation is started. The descent time may be measured. Further, instead of measuring the actual descent time of the print head 19 and the erasing head 20 and setting the first and second set descent times X, the descent distance of the print head 19 and the erasing head 20 and the print head moving motor 66, the descent time of the print head 19 and the erasing head 20 may be calculated in advance from the rotational speed of the erasing head moving motor 71, and the first and second set descent times X may be set.

上述した形態では、搬送開始位置から印字/消去開始位置までの距離と、搬送ローラ組39、52およびプラテンローラ53、54の搬送速度とから、予め、設定搬送時間Yが算出されて、記憶部84に記憶されている。この他にもたとえば、カード印字装置1内の所定の位置にカード2の端部を検出するセンサを設け、搬送開始位置から印字/消去開始位置までの実際のカード2の搬送時間を測定して、設定搬送時間Yを設定しても良い。また、カード2の搬送時間の実測は、電源投入後等の初期化動作のたびに行っても良い。   In the embodiment described above, the set transport time Y is calculated in advance from the distance from the transport start position to the print / erase start position and the transport speed of the transport roller sets 39 and 52 and the platen rollers 53 and 54, and the storage unit 84. In addition to this, for example, a sensor for detecting the end of the card 2 is provided at a predetermined position in the card printing apparatus 1, and the actual transport time of the card 2 from the transport start position to the print / erase start position is measured. The set transport time Y may be set. Moreover, the actual measurement of the card 2 conveyance time may be performed every time the initialization operation is performed after the power is turned on.

上述した形態では、印字/消去が行われるカード2の搬送開始位置が第2方向切替装置9となっている。搬送開始位置は、第2方向切替装置9には限定されず、たとえば、搬送開始位置は、第1方向切替装置8であっても良い。また、カード印字装置1内の所定の位置を搬送開始位置としても良い。   In the embodiment described above, the conveyance start position of the card 2 where printing / erasing is performed is the second direction switching device 9. The transfer start position is not limited to the second direction switching device 9. For example, the transfer start position may be the first direction switching device 8. Further, a predetermined position in the card printing apparatus 1 may be set as the conveyance start position.

上述した形態では、カード印字装置1は、印字ヘッド19と消去ヘッド20との2つのヘッドを備えている。この他にもたとえば、カード印字装置1は、印字ヘッド19と消去ヘッド20とのいずれか一方のみを備えても良い。また、カード印字装置1は、カード2上への印字とカード2上の印字の消去とを行うことができる1つのサーマルヘッドを備えていても良い。   In the form described above, the card printer 1 includes two heads, the print head 19 and the erasing head 20. In addition to this, for example, the card printer 1 may include only one of the print head 19 and the erasing head 20. Further, the card printing apparatus 1 may include a single thermal head that can perform printing on the card 2 and erasing printing on the card 2.

上述した形態では、印字ヘッド移動モータ66、消去ヘッド移動モータ71は、DCモータである。この他にもたとえば、印字ヘッド移動モータ66、消去ヘッド移動モータ71は、ステッピングモータであっても良い。この場合には、印字ヘッド移動モータ66、消去ヘッド移動モータ71の駆動パルスの数から、印字ヘッド19の印字可能位置、消去ヘッド20の消去可能位置の検出が可能となるため、センサ77、80を省略しても良い。また、印字ヘッド19、消去ヘッド20を駆動する駆動源はモータには限定されず、たとえば、ソレノイド等を駆動源として、印字ヘッド19、消去ヘッド20を駆動しても良い。   In the embodiment described above, the print head moving motor 66 and the erasing head moving motor 71 are DC motors. In addition, for example, the print head moving motor 66 and the erasing head moving motor 71 may be stepping motors. In this case, since the printable position of the print head 19 and the erasable position of the erasing head 20 can be detected from the number of drive pulses of the print head moving motor 66 and the erasing head moving motor 71, the sensors 77 and 80 are used. May be omitted. Further, the driving source for driving the print head 19 and the erasing head 20 is not limited to a motor. For example, the printing head 19 and the erasing head 20 may be driven using a solenoid or the like as a driving source.

上述した形態では、ステップS3で、印字ヘッド19、消去ヘッド20の実際の降下時間を測定する際には、偏心カム68、73を一回転させて、印字ヘッド19、消去ヘッド20を待機位置から印字/消去可能位置へ、また、印字/消去可能位置から待機位置へと移動させている。この他にもたとえば、印字ヘッド19、消去ヘッド20の実際の降下時間を測定する際に、偏心カム68、73を半回転だけさせて、印字ヘッド19、消去ヘッド20を待機位置から印字/消去可能位置へと移動させても良い。   In the embodiment described above, when the actual descent time of the print head 19 and the erasing head 20 is measured in step S3, the eccentric cams 68 and 73 are rotated once to move the print head 19 and the erasing head 20 from the standby position. It is moved to the print / erase enable position and from the print / erase enable position to the standby position. In addition to this, for example, when the actual descent time of the print head 19 and the erasing head 20 is measured, the eccentric cams 68 and 73 are rotated half a turn so that the print head 19 and the erasing head 20 are printed / erased from the standby position. It may be moved to a possible position.

上述した形態では、カード印字装置1は、カード印字発行装置3に使用されている。このカード印字装置1が使用される上位装置は、カード発行機能を有するカード印字発行装置3には限定されず、カード印字装置1は、カード2への印字/消去が行われるその他の装置に使用できる。また、カード印字装置1をいわゆるスタンドアローンの装置として、独立して使用しても良い。   In the embodiment described above, the card printing device 1 is used for the card printing issuing device 3. The host device in which the card printing apparatus 1 is used is not limited to the card printing issuing apparatus 3 having a card issuing function, and the card printing apparatus 1 is used for other apparatuses that perform printing / erasing on the card 2. it can. The card printer 1 may be used independently as a so-called stand-alone device.

本発明の実施の形態にかかるカード印字装置を用いたカード印字発行装置の概略構成を説明するための図である。It is a figure for demonstrating schematic structure of the card printing issuing apparatus using the card printing apparatus concerning embodiment of this invention. 図1に示すカード印字装置の概略構成を説明するための図である。It is a figure for demonstrating schematic structure of the card printing apparatus shown in FIG. 図2に示す印字ヘッドの第1位置検出機構および消去ヘッドの第2位置検出機構を説明するための図である。FIG. 3 is a diagram for explaining a first position detection mechanism of a print head and a second position detection mechanism of an erasing head shown in FIG. 2. 図1に示す制御部の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the control part shown in FIG. 図1に示すカード印字装置での印字ヘッドおよび消去ヘッドの降下時間の測定処理のフローを示すフローチャートである。It is a flowchart which shows the flow of a measurement process of the fall time of the printing head and erasing head in the card printing apparatus shown in FIG. 図1に示すカード印字装置での印字/消去処理のフローを示すフローチャートである。It is a flowchart which shows the flow of the printing / erasing process in the card printing apparatus shown in FIG. 本発明の他の実施の形態にかかる印字/消去処理のフローを示すフローチャートである。It is a flowchart which shows the flow of the printing / erasing process concerning other embodiment of this invention.

符号の説明Explanation of symbols

1 カード印字装置(媒体印字装置)
2 カード(媒体)
11 制御部(制御手段)
19 印字ヘッド(印字/消去手段)
20 消去ヘッド(印字/消去手段)
52 搬送ローラ組52(媒体搬送手段の一部)
53、54 プラテンローラ(媒体搬送手段の一部)
85 残存搬送時間更新部(第1の比較手段)
86 残存降下時間更新部(第2の比較手段)
87 比較部(比較手段)
88〜91 モータ駆動部(駆動手段の一部)
92 モータ制御部(駆動手段の一部)
S3 移動時間測定ステップ
S12、S31 比較ステップ
S13、S20 先行駆動ステップの一部、先行駆動開始ステップ
S14 先行駆動ステップの一部、搬送時間更新ステップ
S21 先行駆動ステップの一部、移動時間更新ステップ
S15、S17、S22、S24 同時駆動ステップの一部
S16、S23 同時駆動ステップの一部、後続駆動開始ステップ
S32 同時駆動開始ステップ
X 設定移動時間
X1 残存移動時間(残存時間、第2の残存時間)
Y 設定搬送時間
Y1 残存搬送時間(残存時間、第1の残存時間)
1 Card printer (medium printer)
2 cards (medium)
11 Control unit (control means)
19 Print head (printing / erasing means)
20 Erase head (printing / erasing means)
52 Conveying roller set 52 (part of medium conveying means)
53, 54 Platen roller (part of the medium transport means)
85 Remaining transport time update unit (first comparison means)
86 Remaining descent time update unit (second comparison means)
87 Comparison part (comparison means)
88-91 Motor drive part (a part of drive means)
92 Motor controller (part of drive means)
S3 Movement time measurement step S12, S31 Comparison step S13, S20 Part of the preceding driving step, preceding driving start step S14 Part of the preceding driving step, transport time update step S21 Part of the preceding driving step, movement time updating step S15, S17, S22, S24 Part of simultaneous drive step S16, S23 Part of simultaneous drive step, subsequent drive start step S32 Simultaneous drive start step X set travel time X1 remaining travel time (residual time, second remaining time)
Y set transport time Y1 remaining transport time (remaining time, first remaining time)

Claims (7)

媒体を搬送する媒体搬送手段と、前記媒体に当接して前記媒体上への印字および/または前記媒体上の印字の消去を行う印字/消去手段とを備える媒体印字装置の制御方法において、
前記印字/消去手段が前記媒体に当接できない所定の待機位置から前記印字/消去手段が前記媒体に当接可能な印字/消去可能位置までの前記印字/消去手段の実際の移動時間を測定する移動時間測定ステップと、
前記実際の移動時間を、前記待機位置から前記印字/消去可能位置までの前記印字/消去手段の設定移動時間として設定するステップと、
前記設定移動時間と、前記印字/消去手段に向かって搬送される前記媒体の所定の搬送開始位置から前記媒体上への印字および/または前記媒体上の印字の消去が開始される印字/消去開始位置までの前記媒体の設定搬送時間とを比較する比較ステップと、
前記比較ステップでの比較結果に基づいて、前記媒体搬送手段または前記印字/消去手段の一方を先行して駆動する先行駆動ステップと、
前記印字/消去可能位置への前記印字/消去手段の到達時点と、前記印字/消去開始位置への前記媒体の到達時点とが一致するように、前記先行駆動ステップ後、前記媒体搬送手段および前記印字/消去手段を一緒に駆動する同時駆動ステップとを備えることを特徴とする媒体印字装置の制御方法。
In a control method of a medium printing apparatus comprising: a medium conveying unit that conveys a medium; and a printing / erasing unit that makes contact with the medium and performs printing on the medium and / or erasing printing on the medium.
The actual moving time of the printing / erasing means from a predetermined standby position where the printing / erasing means cannot contact the medium to a printing / erasable position where the printing / erasing means can contact the medium is measured. A travel time measurement step;
Setting the actual movement time as a set movement time of the printing / erasing means from the standby position to the printable / erasable position;
Start of printing / erasing in which printing on the medium and / or erasing of printing on the medium is started from the predetermined moving start time and a predetermined conveyance start position of the medium conveyed toward the printing / erasing means A comparison step for comparing a set transport time of the medium to a position;
Based on the comparison result in the comparison step, a preceding driving step for driving one of the medium conveying unit or the printing / erasing unit in advance,
Wherein the time arrival of the printing / erasing means to print / erasable position, so that the point reached in the medium to the print / erase start position coincides, after the preceding driving step, the medium conveying means and the And a simultaneous driving step for driving the printing / erasing means together.
前記先行駆動ステップは、前記比較ステップにおいて、前記設定移動時間よりも前記設定搬送時間が長いときに、前記媒体搬送手段の駆動を先行して開始する先行駆動開始ステップと、前記設定搬送時間に基づいて、前記印字/消去開始位置に前記媒体が到達するまでの残存時間を更新する搬送時間更新ステップとを備え、
前記同時駆動ステップは、前記残存時間と前記設定移動時間とが等しくなったとき、前記印字/消去手段の駆動を開始する後続駆動開始ステップを備えることを特徴とする請求項1記載の媒体印字装置の制御方法。
The preceding driving step is based on the preceding driving start step that starts driving the medium conveying means in advance when the set conveying time is longer than the set moving time in the comparing step, and the set conveying time. A transfer time update step for updating a remaining time until the medium reaches the print / erase start position,
2. The medium printing apparatus according to claim 1, wherein the simultaneous driving step includes a subsequent driving start step for starting driving of the printing / erasing means when the remaining time and the set moving time become equal. Control method.
前記先行駆動ステップは、前記比較ステップにおいて、前記設定搬送時間よりも前記設定移動時間が長いときに、前記印字/消去手段の駆動を先行して開始する先行駆動開始ステップと、前記設定移動時間に基づいて、前記印字/消去可能位置に前記印字/消去手段が到達するまでの残存時間を更新する移動時間更新ステップとを備え、
前記同時駆動ステップは、前記残存時間と前記設定搬送時間とが等しくなったとき、前記媒体搬送手段の駆動を開始する後続駆動開始ステップを備えることを特徴とする請求項1記載の媒体印字装置の制御方法。
In the comparison step, when the set movement time is longer than the set conveyance time in the comparison step, a preceding drive start step that starts driving the printing / erasing means in advance, and the set movement time And a moving time updating step for updating the remaining time until the printing / erasing means reaches the printable / erasable position,
2. The medium printing apparatus according to claim 1, wherein the simultaneous driving step includes a subsequent driving start step of starting driving of the medium conveying unit when the remaining time and the set conveying time become equal. Control method.
前記比較ステップで、前記設定移動時間と前記設定搬送時間とが等しいときに、前記媒体搬送手段の駆動と前記印字/消去手段の駆動とを同時に開始する同時駆動開始ステップを備えることを特徴とする請求項1から3いずれかに記載の媒体印字装置の制御方法。   The comparison step further includes a simultaneous driving start step for simultaneously starting the driving of the medium conveying unit and the driving of the printing / erasing unit when the set moving time is equal to the set conveying time. The method for controlling a medium printing apparatus according to claim 1. 前記移動時間測定ステップは、前記媒体印字装置の初期化動作時に実行されることを特徴とする請求項1から4いずれかに記載の媒体印字装置の制御方法。 5. The method of controlling a medium printing apparatus according to claim 1 , wherein the moving time measuring step is executed during an initialization operation of the medium printing apparatus. 媒体を搬送する媒体搬送手段と、前記媒体に当接して前記媒体上への印字および/または前記媒体上の印字の消去を行う印字/消去手段と、少なくとも前記媒体搬送手段および前記印字/消去手段の制御を行うための制御手段とを備え、
前記制御手段は、前記印字/消去手段が前記媒体に当接できない所定の待機位置から前記印字/消去手段が前記媒体に当接可能な印字/消去可能位置までの前記印字/消去手段の実際の移動時間を測定し、前記実際の移動時間を、前記待機位置から前記印字/消去可能位置までの前記印字/消去手段の設定移動時間として設定し、前記設定移動時間と前記印字/消去手段に向かって搬送される前記媒体の所定の搬送開始位置から前記媒体上への印字および/または前記媒体上の印字の消去が開始される印字/消去開始位置までの前記媒体の設定搬送時間とを比較し、この比較結果に基づいて、前記印字/消去可能位置への前記印字/消去手段の到達時点と、前記印字/消去開始位置への前記媒体の到達時点とが一致するように、前記媒体搬送手段または前記印字/消去手段の一方の駆動を先行して開始し、その後、前記媒体搬送手段または前記印字/消去手段の他方の駆動を開始する駆動手段を備えることを特徴とする媒体印字装置。
Medium conveying means for conveying a medium, printing / erasing means for contacting and erasing printing on the medium and / or printing on the medium, at least the medium conveying means and the printing / erasing means Control means for performing the control of,
The control unit is configured to perform an actual operation of the printing / erasing unit from a predetermined standby position where the printing / erasing unit cannot contact the medium to a printing / erasing position where the printing / erasing unit can contact the medium. The moving time is measured, and the actual moving time is set as the set moving time of the printing / erasing means from the standby position to the printable / erasable position, and the moving time is set toward the printing / erasing means. And a set transport time of the medium from a predetermined transport start position of the medium transported in this way to a print / erase start position at which printing on the medium and / or erasing of printing on the medium is started. based on the comparison result, so that the point reached in the printing / erasing means to said printing / erasing possible position, and when reaching the medium to the print / erase start position coincides, the medium conveying Start prior one of the driving stage and the printing / erasing means, then, the medium printing apparatus, characterized in that it comprises a driving means for starting the other of the driving of the medium conveying means or said printing / erasing means.
前記制御手段は、前記設定移動時間と前記搬送開始位置から前記印字/消去開始位置までの前記媒体の設定搬送時間とを比較する比較手段と、前記媒体が搬送を開始されてからの経過時間を前記設定移動時間から減算することにより、搬送を開始された前記媒体が前記印字/消去開始位置に到達するまでの第1の残存時間を更新する第1の更新手段と、前記印字/消去手段が移動を開始されてからの経過時間を前記設定移動時間から減算することにより、移動を開始した前記印字/消去手段が前記印字/消去可能位置に到達するまでの第2の残存時間を更新する第2の更新手段とを備え、
前記第1の更新手段および前記第2の更新手段は、前記設定搬送時間または前記第1の残存時間と、前記設定移動時間または前記第2の残存時間とが一致するときに、前記第1の残存時間と前記第2の残存時間とを同時に更新することを特徴とする請求項6記載の媒体印字装置。
The control means compares the set movement time with a set transport time of the medium from the transport start position to the print / erase start position , and an elapsed time after the medium starts transporting. A first updating unit that updates a first remaining time until the medium that has started transporting reaches the print / erase start position by subtracting from the set movement time; and the print / erase unit, By subtracting the elapsed time from the start of movement from the set movement time , the second remaining time until the printing / erasing means that has started moving reaches the printable / erasable position is updated. 2 update means,
The first update unit and the second update unit are configured to detect the first transfer time or the first remaining time when the set moving time or the second remaining time coincides with the first transfer time. The medium printing apparatus according to claim 6 , wherein the remaining time and the second remaining time are updated simultaneously.
JP2006312871A 2006-11-20 2006-11-20 Method for controlling medium printing apparatus and medium printing apparatus Expired - Fee Related JP4938420B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006312871A JP4938420B2 (en) 2006-11-20 2006-11-20 Method for controlling medium printing apparatus and medium printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006312871A JP4938420B2 (en) 2006-11-20 2006-11-20 Method for controlling medium printing apparatus and medium printing apparatus

Publications (2)

Publication Number Publication Date
JP2008126476A JP2008126476A (en) 2008-06-05
JP4938420B2 true JP4938420B2 (en) 2012-05-23

Family

ID=39552811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006312871A Expired - Fee Related JP4938420B2 (en) 2006-11-20 2006-11-20 Method for controlling medium printing apparatus and medium printing apparatus

Country Status (1)

Country Link
JP (1) JP4938420B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5185724B2 (en) * 2008-08-11 2013-04-17 日本電産サンキョー株式会社 PRINT ERASE DEVICE AND CONTROL METHOD FOR PRINT ERASE DEVICE
JP6515018B2 (en) * 2015-11-30 2019-05-15 日本電産サンキョー株式会社 Card issuing device and control method of card issuing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003341047A (en) * 2002-03-18 2003-12-03 Canon Inc Recording device
JP4342873B2 (en) * 2003-08-18 2009-10-14 株式会社リコー Image recording device

Also Published As

Publication number Publication date
JP2008126476A (en) 2008-06-05

Similar Documents

Publication Publication Date Title
JP4374834B2 (en) Cartridge and recording device
CN102574401B (en) Printing device and printing method
CN102152657A (en) Recording apparatus and recording method
CN101562026A (en) Disc transportation mechanism of disk processing device and disk processing device
JP4938420B2 (en) Method for controlling medium printing apparatus and medium printing apparatus
JP5135047B2 (en) Card reader
JP5287189B2 (en) Card processing device, ticket issuing machine
JP2008302592A (en) Printer, printing method and program
BR102012018164A2 (en) media processing device, check processing device and method for controlling a media processing device
JP4921301B2 (en) Printer
RU2487830C2 (en) Carrier processing device and method of its control
JP4507100B2 (en) Recording device
JP2009190408A (en) cartridge
JP2004058337A (en) Printer
WO2005022450A1 (en) Card processing device
JP5185724B2 (en) PRINT ERASE DEVICE AND CONTROL METHOD FOR PRINT ERASE DEVICE
JP5899750B2 (en) Medium processing apparatus, method for controlling medium processing apparatus, and program
JP4992095B2 (en) Card-like medium processing apparatus and control method thereof
JP2008105832A (en) Medium processing device
JP2013021489A (en) Reading apparatus, reading apparatus control method, and storage medium
JP2008257278A (en) Medium identification device
JP2008257285A (en) Recording medium identification device
JP2006232451A (en) Recording medium post-processing apparatus and image forming apparatus including the recording medium post-processing apparatus
JP2006088609A (en) Image forming apparatus
JP2006150699A (en) Printing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110520

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120223

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

Free format text: PAYMENT UNTIL: 20150302

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4938420

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees