JP5218848B2 - Tape printer, method for correcting captured image in tape printer, and storage medium storing program for executing the method - Google Patents

Tape printer, method for correcting captured image in tape printer, and storage medium storing program for executing the method Download PDF

Info

Publication number
JP5218848B2
JP5218848B2 JP2009037543A JP2009037543A JP5218848B2 JP 5218848 B2 JP5218848 B2 JP 5218848B2 JP 2009037543 A JP2009037543 A JP 2009037543A JP 2009037543 A JP2009037543 A JP 2009037543A JP 5218848 B2 JP5218848 B2 JP 5218848B2
Authority
JP
Japan
Prior art keywords
printing
image
tape
specific mark
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009037543A
Other languages
Japanese (ja)
Other versions
JP2010188679A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009037543A priority Critical patent/JP5218848B2/en
Publication of JP2010188679A publication Critical patent/JP2010188679A/en
Application granted granted Critical
Publication of JP5218848B2 publication Critical patent/JP5218848B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、画像取込装置を備えたテープ印刷装置と、該テープ印刷装置の画像取込装置により取込んだ画像の原稿送り方向における画像の修正方法と、該画像修正方法を実行するためのプログラムが記憶された記憶媒体、に関する。   The present invention relates to a tape printer provided with an image capturing device, a method for correcting an image in the document feed direction of an image captured by the image capturing device of the tape printing device, and a method for executing the image correcting method. The present invention relates to a storage medium storing a program.

テープカセット内に印刷層と剥離層とを積層してなる印刷テープを収納し、このテープカセットを印刷装置にセットして、キーボード等の入力手段から入力された或いは他の機器から出力された文字、記号、ロゴ、キャラクタ、マーク等を任意に印刷することで、固有のラベルを作成できる装置としてテープ印刷装置がある。   Characters input from a keyboard or other input device or output from other devices are stored in a tape cassette containing a print tape formed by laminating a print layer and a release layer. There is a tape printer as a device that can create a unique label by arbitrarily printing symbols, logos, characters, marks, and the like.

このようなテープ印刷装置において使用される印刷テープとしては、従来、文書や文具の管理に利用されるテープ幅の狭いものが一般的であったが、近年、表示や標識として使用可能な程テープ幅が広いものも提供され、テープ印刷装置の用途も多種多様に渡っている。   Conventionally, as a printing tape used in such a tape printer, a tape having a narrow tape width used for management of documents and stationery has been generally used. However, in recent years, the tape can be used as a display or a sign. Wide widths are also offered, and tape printers have a wide variety of uses.

テープ印刷装置の用途として、例えば、特開平6−79927号公報(特許文献1)におけるテープ印刷装置では、指定されたスケール(cmやinch等)の目盛線を印刷するスケール印刷装置として使用する提案がなされている。又、特開平5−57985号公報(特許文献2)では、インデックスラベルを印刷するラベル印刷装置(印字制御装置)として使用する提案がなされている。更に、非常に幅が広い印刷テープを使用して、「会議室」や「社長室」といった表札を作成する場合もある。   As an application of the tape printing apparatus, for example, in the tape printing apparatus disclosed in Japanese Patent Laid-Open No. 6-79927 (Patent Document 1), a proposal for use as a scale printing apparatus for printing scale lines of a specified scale (cm, inch, etc.) Has been made. Japanese Patent Application Laid-Open No. 5-57985 (Patent Document 2) proposes use as a label printing apparatus (printing control apparatus) for printing index labels. Furthermore, nameplates such as “meeting room” and “presidential room” may be created using a very wide printing tape.

特開平6−79927号公報Japanese Patent Laid-Open No. 6-79927 特開平5−57985号公報JP-A-5-57985

上述したようにテープ印刷装置の用途が多種多様となるにつれて、複写機やFAXのように、スキャナ機能を備えたテープ印刷装置が期待されていたが、スキャナ機能を備えたテープ印刷装置は無かった。又、スキャナ機能とプリンタ機能の両方の機能を持つ機器において、スキャナで取込んだ画像をそのまま印刷した場合、スキャナ側とプリンタ側の搬送精度が相違していると、取込対象と印刷物とのサイズが異なり期待通りの印刷物を得られないことがあった。このような問題を解決するためには、スキャナ側とプリンタ側の搬送精度を一致させる必要があるが、このような両機能を備えた機器を使用しているうちに搬送率に誤差が生じてしまい、搬送誤差を修正するためには手数と時間や修正用の用具が必要となるという新たな問題点が発生してしまう。   As described above, as the use of tape printers has become diverse, tape printers having a scanner function such as copiers and fax machines have been expected, but there are no tape printers having a scanner function. . In addition, in an apparatus having both the scanner function and the printer function, when the image captured by the scanner is printed as it is, if the conveyance accuracy between the scanner side and the printer side is different, the capture target and the printed matter There was a case where the printed matter was not obtained as expected due to the difference in size. In order to solve such a problem, it is necessary to match the conveyance accuracy on the scanner side and the printer side. However, an error occurs in the conveyance rate while using a device having both of these functions. In other words, in order to correct the transport error, a new problem arises in that it requires labor and time, and correction tools.

本発明は、上述したような従来技術の問題点に鑑みてなされたものであり、画像取込機能と印刷機能の両機能を備えたテープ印刷装置であって、画像取込側と印刷側の搬送率を用いて取込んだ画像を補正することにより、取込対象と同一サイズの印刷物を容易に作成可能なテープ印刷装置と、該テープ印刷装置を用いた取込画像の原稿送り方向における画像修正方法と、該画像修正方法をコンピュータに実行させるためのプログラムが記憶された記憶媒体と、を提供することを目的としている。   The present invention has been made in view of the above-described problems of the prior art, and is a tape printer having both an image capturing function and a printing function, and includes an image capturing side and a printing side. A tape printer capable of easily creating a printed material of the same size as the target to be captured by correcting the image captured using the conveyance rate, and an image in the document feed direction of the captured image using the tape printer An object of the present invention is to provide a correction method and a storage medium storing a program for causing a computer to execute the image correction method.

本発明のテープ印刷装置は、印刷手段と印刷側搬送手段とから構成されたテープ印刷機構と、画像取込手段と画像取込側搬送手段とから構成された画像取込装置と、を備え、前記印刷側搬送手段には、所定の基本ライン数と、該基本ライン数によって移動する理論上の距離である基準距離とが予め設定されており、所定の基準印刷パターンを記憶手段から読み出して該基準印刷パターンを備えた基準媒体を印刷する基準媒体印刷手段と、該基準媒体における所定の基点からの前記基準距離の位置を特定マークとして特定した情報を取得する特定マーク情報取得手段と、該特定マーク情報取得手段により取得した前記特定マークの情報を用いて前記印刷側搬送手段の搬送率を算出する印刷側搬送率算出手段と、前記基準媒体に印刷された基準印刷パターンを取込むとともに、前記特定マークの情報を用いて前記画像取込側搬送手段の搬送率を算出する画像取込側搬送率算出手段と、1/(印刷側搬送率×画像取込側搬送率)の計算を行なうことにより前記画像取込装置が取込んだ画像データの補正倍率を算出する補正倍率算出手段と、該補正倍率算出手段が算出した補正倍率を前記画像取込装置が取込んだ画像データの搬送方向の長さに乗算して該画像データを補正する画像補正手段と、を備えたことを特徴とする。
The tape printer of the present invention comprises a tape printing mechanism composed of a printing means and a printing-side transport means, and an image capturing device composed of an image capturing means and an image capturing-side transport means, The printing-side transport unit is preset with a predetermined number of basic lines and a reference distance that is a theoretical distance to be moved according to the number of basic lines. A reference medium printing means for printing a reference medium having a reference print pattern; a specific mark information acquisition means for acquiring information specifying the position of the reference distance from a predetermined base point on the reference medium as a specific mark; a print side conveyance rate calculating means for calculating the transport rate of the printing-side transporting means using the acquired the information of the specific mark by the mark information acquiring unit, a reference mark printed on the reference medium With capture the pattern, and the image capture side conveyance rate calculating means for calculating the transport rate of the image capture side conveyance means using the information of the specific mark, 1 / (print side transfer rate × image capture side transport Ratio), a correction magnification calculating means for calculating the correction magnification of the image data captured by the image capturing device, and the image capturing device capturing the correction magnification calculated by the correction magnification calculating means. And image correction means for correcting the image data by multiplying the length of the image data in the transport direction.

、前記基準印刷パターンは、搬送方向に対して垂直に印刷される基準マークと、前記基準マークから前記基本ライン数を搬送した位置に印刷される理論マークと、該理論マークの搬送方向に対して方及びに等間隔で印刷される複数の調整マークと、から形成されことを特徴とする。
Also, before Symbol reference printing pattern includes a reference mark which is printed perpendicular to the conveying direction, the theoretical mark to be printed in a position to convey the number of the basic lines from the reference mark, the conveyance direction of the該理theory mark a plurality of adjustment marks printed at equal intervals in the front side and towards the rear against, characterized in that that will be formed from.

更に、前記印刷側搬送率算出手段は、前記基準媒体における所定の前記基点から前記特定マーク情報取得手段が取得した前記特定マークまでの理論ライン数を算出し、前記基本ライン数を前記特定マークまでの該理論ライン数で除算することを特徴とする。
Furthermore, the printing side conveyance rate calculating means, the reference medium and calculating the number of theoretical lines from predetermined said base point to the specific mark the specific mark information acquisition means has acquired in, until the specific mark the number of basic lines dividing by the該理theory the number of lines, characterized by.

又、前記画像取込側搬送率算出手段は、前記基準媒体を取込む際、基準媒体における所定の前記基点から前記特定マークまでのライン数をカウントし、前記基本ライン数を該カウントした結果のライン数で除算することを特徴とする。
Further, the image acquisition side conveyance rate calculating means counts the number of lines from the predetermined base point to the specific mark on the reference medium when the reference medium is taken in , and results of counting the number of basic lines dividing the number of lines in, characterized by.

又、本発明の取込画像の画像修正方法は、所定の基本ライン数と、該基本ライン数によって移動する理論上の距離である基準距離とを予め設定しており、所定の基準印刷パターンを備えた基準媒体を印刷する基準媒体印刷処理と、該基準媒体における所定の基点からの前記基準距離の位置を特定マークとして特定した情報を取得する特定マーク情報取得処理と、該特定マーク情報取得処理により取得した前記特定マークの情報を用いて印刷側搬送処理の搬送率を算出する印刷側搬送率算出処理と、前記基準媒体に印刷された基準印刷パターンを取込むとともに、前記特定マークの情報を用いて画像取込側搬送処理の搬送率を算出する画像取込側搬送率算出処理と、1/(印刷側搬送率×画像取込側搬送率)の計算を行なうことにより画像取込装置が取込んだ画像データの補正倍率を算出する補正倍率算出処理と、該補正倍率算出処理により算出した補正倍率を前記画像取込装置が取込んだ画像データの搬送方向の長さに乗算して該画像データを補正する画像補正処理と、を行なうことを特徴とする。
In the image correction method for captured images of the present invention, a predetermined number of basic lines and a reference distance that is a theoretical distance to be moved according to the number of basic lines are set in advance, and a predetermined reference print pattern is obtained. A reference medium printing process for printing the provided reference medium, a specific mark information acquisition process for acquiring information specifying the position of the reference distance from a predetermined base point on the reference medium as a specific mark, and the specific mark information acquisition process A printing-side conveyance rate calculation process for calculating a conveyance rate of the printing-side conveyance process using the information on the specific mark acquired in step ( b) , taking a reference print pattern printed on the reference medium, and an image capture side transfer ratio calculation processing for calculating the transport rate of the image capture side transfer process using, 1 / O to the calculation of (print side transfer rate × image capture side transfer rate) Riga image pick Included A correction factor calculating process for calculating a correction factor of the image data taken-location is multiplied by the correction factor calculated by the correction factor calculation process to the length of the conveying direction of the image data taken-said image capture device And image correction processing for correcting the image data.

更に、本発明のコンピュータ読み取り可能な記憶媒体は、所定の基本ライン数と、該基本ライン数によって移動する理論上の距離である基準距離とを予め設定しており、所定の基準印刷パターンを備えた基準媒体を印刷する基準媒体印刷処理と、該基準媒体における所定の基点からの前記基準距離の位置を特定マークとして特定した情報を取得する特定マーク情報取得処理と、該特定マーク情報取得処理により取得した前記特定マークの情報を用いて印刷側搬送処理の搬送率を算出する印刷側搬送率算出処理と、前記基準媒体に印刷された基準印刷パターンを取込むとともに、前記特定マークの情報を用いて画像取込側搬送処理の搬送率を算出する画像取込側搬送率算出処理と、1/(印刷側搬送率×画像取込側搬送率)の計算を行なうことにより画像取込装置が取込んだ画像データの補正倍率を算出する補正倍率算出処理と、該補正倍率算出処理により算出した補正倍率を前記画像取込装置が取込んだ画像データの搬送方向の長さに乗算して該画像データを補正する画像補正処理と、を実現させるプログラムが記憶されていることを特徴とする。
Furthermore, the computer-readable storage medium of the present invention has a predetermined basic line number and a reference distance that is a theoretical distance that moves according to the basic line number, and has a predetermined reference print pattern. A reference medium printing process for printing the reference medium, a specific mark information acquisition process for acquiring information specifying the position of the reference distance from a predetermined base point on the reference medium as a specific mark, and the specific mark information acquisition process. the acquired print-side transfer ratio calculation processing for calculating the transport rate of the printing-side transfer process using the information of the specific mark, with taking a reference printing pattern printed on the reference medium, using the information of the specific mark an image capture side transfer ratio calculation processing for calculating the transport rate of the image capture side transfer process, the calculation of 1 / (print side transfer rate × image capture side transfer rate) be performed Te A correction factor calculating process for calculating a correction factor of image data by Riga image capture device is the taken, the conveying direction of the image data taken-correction factor calculated by the correction factor calculation processing said image capture device of multiplying the length, characterized in that a program for realizing an image correction process for correcting the image data is stored.

本発明によれば、画像取込機能と印刷機能の両機能を備えたテープ印刷装置であって、画像取込側と印刷側の搬送率を用いて取込んだ画像を補正することにより、取込対象と同一サイズの印刷物を容易に作成可能なテープ印刷装置と、該テープ印刷装置を用いた取込画像の原稿送り方向における画像修正方法と、該画像修正方法をコンピュータに実行させるためのプログラムが記憶された記憶媒体と、を提供することができる。   According to the present invention, there is provided a tape printer having both an image capturing function and a printing function, and by correcting the captured image using the conveyance rate on the image capturing side and the printing side, Tape printer capable of easily creating printed material of the same size as the object to be loaded, image correction method in the document feed direction of a captured image using the tape printer, and program for causing a computer to execute the image correction method Can be provided.

本発明の実施例に係るテープ印刷装置の斜視図である。1 is a perspective view of a tape printer according to an embodiment of the present invention. 本発明の実施例に係るテープ印刷装置の内部拡大図及びテープカセットの斜視図である。It is the internal enlarged view of the tape printer which concerns on the Example of this invention, and the perspective view of a tape cassette. 本発明の実施例に係るテープ印刷装置の機能ブロック図である。1 is a functional block diagram of a tape printer according to an embodiment of the present invention. 本発明の実施例に係るテープ印刷装置で印刷側搬送手段の搬送率を算出するためのフローチャートである。It is a flowchart for calculating the conveyance rate of the printing side conveyance means in the tape printer which concerns on the Example of this invention. 本発明の実施例に係るテープ印刷装置で印刷した基準テープの正面図である。It is a front view of the reference | standard tape printed with the tape printer which concerns on the Example of this invention. 本発明の実施例に係るテープ印刷装置で印刷側搬送手段の搬送率を算出する場合における特定マークとライン数と搬送率の関係を示す表である。It is a table | surface which shows the relationship between the specific mark, the number of lines, and a conveyance rate in the case of calculating the conveyance rate of the printing side conveyance means with the tape printer which concerns on the Example of this invention. 本発明の実施例に係るテープ印刷装置で画像取込側搬送手段の搬送率を算出するためのフローチャートである。It is a flowchart for calculating the conveyance rate of the image taking side conveyance means in the tape printer according to the embodiment of the present invention. 本発明の実施例に係るテープ印刷装置で取込んだ画像データの倍率補正を行なうためのフローチャートである。4 is a flowchart for correcting the magnification of image data captured by the tape printer according to the embodiment of the present invention.

以下、本発明を実施するための形態について述べる。本発明のテープ印刷装置1は、テープ印刷機構45と、画像取込装置9と、を備える。このテープ印刷機構45は、印刷手段としてのサーマルヘッド11と、印刷側搬送手段としてのステッピングモータ46及びプラテンローラ12と、を備える。又、画像取込装置9は、画像取込手段としてのイメージセンサ47と、画像取込側搬送手段としてのステッピングモータ48及びスキャナローラ50と、を備える。   Hereinafter, modes for carrying out the present invention will be described. The tape printing apparatus 1 of the present invention includes a tape printing mechanism 45 and an image capturing device 9. The tape printing mechanism 45 includes a thermal head 11 as printing means, and a stepping motor 46 and a platen roller 12 as printing side conveying means. The image capturing device 9 includes an image sensor 47 as image capturing means, and a stepping motor 48 and a scanner roller 50 as image capturing side conveying means.

そして、テープ印刷装置1は、所定の基準印刷パターンを備えた基準媒体としての基準テープ61を印刷する基準媒体印刷手段と、この基準媒体印刷手段が印刷した基準テープ61を用いて印刷側搬送手段の搬送率を算出する印刷側搬送率算出手段と、基準テープ61に印刷された基準印刷パターンを取込むことにより画像取込側搬送手段の搬送率を算出する画像取込側搬送率算出手段と、1/(印刷側搬送率Pr×画像取込側搬送率Sr)の計算を行なうことにより画像取込装置9が取込んだ画像データの補正倍率Hrを算出する補正倍率算出手段と、補正倍率算出手段が算出した補正倍率Hrを画像取込装置9が取込んだ画像データの搬送方向の長さに乗算して該画像データを補正する画像補正手段と、を備えている。   Then, the tape printing apparatus 1 includes a reference medium printing unit that prints a reference tape 61 as a reference medium having a predetermined reference printing pattern, and a printing-side transport unit that uses the reference tape 61 printed by the reference medium printing unit. A printing-side conveyance rate calculating unit that calculates a conveyance rate of the image-acquisition side; , 1 / (printing side conveyance rate Pr × image capturing side conveyance rate Sr), a correction magnification calculating means for calculating a correction magnification Hr of image data captured by the image capturing device 9, and a correction magnification Image correction means for correcting the image data by multiplying the correction magnification Hr calculated by the calculation means by the length of the image data taken in by the image capture device 9 in the transport direction.

又、基準媒体としての基準テープ61に印刷された基準印刷パターンは、搬送方向に対して垂直に印刷される基準マーク66と、基準マーク66から印刷側搬送手段の基本ライン数Lcによって到達した位置に印刷される理論マーク67と、理論マーク67の前後に等間隔で印刷される複数の調整マーク68と、から形成されている。   The reference print pattern printed on the reference tape 61 as the reference medium is a reference mark 66 printed perpendicular to the transport direction, and a position reached from the reference mark 66 by the basic line number Lc of the print-side transport means. And a plurality of adjustment marks 68 printed at equal intervals before and after the theoretical mark 67.

更に、テープ印刷装置1は、印刷側搬送手段が基本ライン数Lcによって移動する理論上の距離である基準距離Xを基準マーク66の位置から測定し、理論マーク67又は調整マーク68の中で基準距離Xの直近に位置するマークを特定した結果である特定マーク69の情報を取得する特定マーク情報取得手段を備えている。   Further, the tape printer 1 measures the reference distance X, which is the theoretical distance that the printing-side conveying means moves by the basic line number Lc, from the position of the reference mark 66, and the reference mark X in the theoretical mark 67 or the adjustment mark 68 Specific mark information acquisition means for acquiring information of the specific mark 69, which is the result of specifying the mark located closest to the distance X, is provided.

そして、印刷側搬送率算出手段は、基準マーク66から特定マーク情報取得手段が取得した特定マーク69までの理論ライン数Lxを算出し、基本ライン数Lcを特定マーク69までの理論ライン数Lxで除算することにより印刷側搬送率Prを算出する。   The printing-side conveyance rate calculation means calculates the theoretical line number Lx from the reference mark 66 to the specific mark 69 acquired by the specific mark information acquisition means, and the basic line number Lc is the theoretical line number Lx up to the specific mark 69. The printing-side conveyance rate Pr is calculated by dividing.

又、画像取込側搬送率算出手段は、基準媒体としての基準テープ61を取込む際、基準マーク66から特定マーク69までのライン数をカウントし、基本ライン数Lcを該カウントした結果のライン数Lsで除算することにより画像取込側搬送率Srを算出する。   Further, when taking in the reference tape 61 as the reference medium, the image taking-side conveyance rate calculating means counts the number of lines from the reference mark 66 to the specific mark 69, and the number of basic lines Lc is the result of the counting. The image capture side conveyance rate Sr is calculated by dividing by the number Ls.

以下、本発明の実施例を図に基づいて詳説する。図1は、本発明の実施例に係るテープ印刷装置1の外観を示す斜視図であり、図2は、このテープ印刷装置1に使用するテープカセット21の外観及びテープ印刷装置1の内部構造の一部を示す斜視図である。テープ印刷装置1は、表面に印刷面を備え裏面が粘着面とされた印刷層と、粘着面に貼着される剥離層と、が積層されて形成された印刷テープ31に文字や模様等を印刷する装置である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a perspective view showing an external appearance of a tape printer 1 according to an embodiment of the present invention. FIG. 2 is an external view of a tape cassette 21 used in the tape printer 1 and an internal structure of the tape printer 1. It is a perspective view which shows a part. The tape printing apparatus 1 is used to print characters, patterns, etc. on a printing tape 31 formed by laminating a printing layer having a printing surface on the front surface and an adhesive surface on the back surface and a release layer adhered to the adhesion surface. A device for printing.

このテープ印刷装置1は、図1に示すように、方形状の上面と、この上面から前方に傾斜する傾斜面と、両側面及び下面並びに背面とから形成された中空の筐体2を有している。又、テープ印刷装置1において、筐体2の傾斜面には入力部3が配置され、上面における入力部3近傍には表示部4が配置され、この表示部4の後方には画像取込装置9が配置され、画像取込装置9の側方に開閉蓋5が形成され、所定の一側面には印刷テープ31が繰り出されるテープ繰出部7が形成されている。尚、図示しないが、筐体2には、パーソナルコンピュータ等の外部機器と接続するための入力端子、電源コードが接続される電源端子、メモリーカード等の記憶媒体が挿入される挿入口等も形成されている。   As shown in FIG. 1, the tape printer 1 has a hollow casing 2 formed of a rectangular upper surface, an inclined surface inclined forward from the upper surface, both side surfaces, a lower surface, and a back surface. ing. Further, in the tape printer 1, the input unit 3 is disposed on the inclined surface of the housing 2, the display unit 4 is disposed in the vicinity of the input unit 3 on the upper surface, and an image capturing device is disposed behind the display unit 4. 9 is disposed, an opening / closing lid 5 is formed on the side of the image capturing device 9, and a tape feeding portion 7 through which the printing tape 31 is fed is formed on a predetermined side surface. Although not shown, the housing 2 is also formed with an input terminal for connecting to an external device such as a personal computer, a power supply terminal to which a power cord is connected, an insertion port for inserting a storage medium such as a memory card, and the like. Has been.

入力部3は、文字データを入力する文字入力キー、印刷開始を指示する印刷キー、表示部4の表示画面上のカーソルを移動操作するカーソルキー、印刷モードの設定や各種設定処理を行なう種々の制御キーによって構成されている。又、表示部4は、液晶表示装置等とされるものであって、入力されたデータに関する画像、各種の設定のための選択メニュー、各種の処理に関するメッセージ、画像取込装置9で取込んだ画像等が表示される。   The input unit 3 is a character input key for inputting character data, a print key for instructing the start of printing, a cursor key for moving the cursor on the display screen of the display unit 4, a variety of settings for print mode and various setting processes. Consists of control keys. Further, the display unit 4 is a liquid crystal display device or the like, which is an image relating to input data, a selection menu for various settings, messages relating to various processes, and an image capturing device 9 Images etc. are displayed.

又、画像取込装置9は、表示部4側に挿入口9aを備え、図示しない後方に排出口を備えており、挿入口9aから画像を取込む原稿等を挿入することにより、原稿等に記載又は印刷された内容が画像データとして取得され、画像が取込まれた後の原稿等が排出口より排出される。   Further, the image capturing device 9 has an insertion port 9a on the display unit 4 side and a discharge port on the rear side (not shown), and by inserting a document or the like for capturing an image from the insertion port 9a, The written or printed content is acquired as image data, and the document or the like after the image is captured is discharged from the discharge port.

そして、このテープ印刷装置1の開閉蓋5の内側には、図2に示すように、印刷テープ31及びインクリボン35を収容したテープカセット21を装填するためのカセット装填部8が形成されている。又、カセット装填部8内には、テープ印刷機構45と、テープカセット21を所定の位置に支持するためのカセット受部15と、が形成されている。このテープ印刷機構45は、縦方向に配列された印刷素子と、印刷ヘッドとされるサーマルヘッド11と、サーマルヘッド11との間で印刷テープ31及びインクリボン35を挟み込んでこれを搬送するプラテンローラ12と、印刷に使用したインクリボン35をテープカセット21内に巻取るリボン巻取軸13と、を備える。   As shown in FIG. 2, a cassette loading unit 8 for loading a tape cassette 21 containing a printing tape 31 and an ink ribbon 35 is formed inside the opening / closing lid 5 of the tape printer 1. . In the cassette loading unit 8, a tape printing mechanism 45 and a cassette receiving unit 15 for supporting the tape cassette 21 at a predetermined position are formed. The tape printing mechanism 45 includes a printing element arranged in a vertical direction, a thermal head 11 serving as a printing head, and a platen roller that sandwiches the printing tape 31 and the ink ribbon 35 between the thermal head 11 and conveys the same. 12 and a ribbon take-up shaft 13 for taking up the ink ribbon 35 used for printing into the tape cassette 21.

又、カセット装填部8の一端部に筐体2の外に通じる上述したテープ繰出部7が形成されており、このテープ繰出部7には、印刷テープ31の印刷層及び剥離層を幅方向にカットするフルカット手段としてのフルカット装置17と、印刷テープ31の印刷層のみをカットするハーフカット手段としてのハーフカット装置18が組み込まれている。   Further, the above-described tape feeding portion 7 that communicates with the outside of the housing 2 is formed at one end of the cassette loading portion 8, and in this tape feeding portion 7, the printing layer and the release layer of the printing tape 31 are arranged in the width direction. A full-cut device 17 as a full-cut means for cutting and a half-cut device 18 as a half-cut means for cutting only the print layer of the printing tape 31 are incorporated.

更に、テープカセット21は、カセットケース22を備え、このカセットケース22の内部には、印刷テープ31が巻装されたテープコア23、未使用のインクリボン35が巻装されたリボン供給コア24、使用済みのインクリボン35を巻取るリボン巻取コア25が夫々収納されている。又、テープカセット21のカセットケース22には、カセット装填部8内にテープカセット21を装填した場合にサーマルヘッド11が位置するヘッド配置部27が形成されている。   Further, the tape cassette 21 includes a cassette case 22. Inside the cassette case 22, a tape core 23 around which a printing tape 31 is wound, a ribbon supply core 24 around which an unused ink ribbon 35 is wound, used. Ribbon take-up cores 25 for taking up the used ink ribbon 35 are accommodated. Further, the cassette case 22 of the tape cassette 21 is formed with a head arrangement portion 27 where the thermal head 11 is located when the tape cassette 21 is loaded in the cassette loading portion 8.

又、カセットケース22の隅部には、カセット装填部8のカセット受部15と係合し、このカセット受部15によって支持される被係合部29が形成されている。又、このカセットケース22の被係合部29には、図示しないがテープカセット21の種類に応じた所定の凹凸が形成されており、カセット装填部8のカセット受部15には、テープカセット21が装填された場合にカセットケース22の被係合部29に形成された凹凸を判別する所定の可動突起16が形成されている。そして、カセットケース22がカセット装填部8に装填されると、カセットケース22の被係合部29に形成された凹凸とカセット装填部8のカセット受部15に形成された可動突起16が係合し、テープカセット21の種類が判別される。   Further, an engaged portion 29 that is engaged with and supported by the cassette receiving portion 15 of the cassette loading portion 8 is formed at the corner of the cassette case 22. The engaged portion 29 of the cassette case 22 is formed with predetermined irregularities corresponding to the type of the tape cassette 21 (not shown), and the cassette receiving portion 15 of the cassette loading portion 8 is provided with the tape cassette 21. Is formed with a predetermined movable protrusion 16 for discriminating irregularities formed in the engaged portion 29 of the cassette case 22. When the cassette case 22 is loaded into the cassette loading unit 8, the projections and depressions formed on the engaged portion 29 of the cassette case 22 and the movable protrusion 16 formed on the cassette receiving unit 15 of the cassette loading unit 8 are engaged. Then, the type of the tape cassette 21 is determined.

このテープ印刷装置1は、印刷の指示がされると、印刷テープ31とインクリボン35とがテープカセット21から繰り出され、プラテンローラ12とサーマルヘッド11の間に重ね合わされた状態で挟み込まれて搬送される。そして、サーマルヘッド11が印刷データに基づいて発熱駆動され、インクリボン35のインクが印刷テープ31に熱転写されて印刷テープ31に印刷が行なわれ、印刷が終了するとフルカット装置17が作動して印刷テープ31が幅方向に切断され、1枚の貼付テープが作成される。   When a printing instruction is given, the tape printer 1 feeds the printing tape 31 and the ink ribbon 35 from the tape cassette 21 and sandwiches and transports them between the platen roller 12 and the thermal head 11. Is done. Then, the thermal head 11 is driven to generate heat based on the print data, and the ink on the ink ribbon 35 is thermally transferred to the print tape 31 to perform printing on the print tape 31. When printing is completed, the full-cut device 17 is activated to perform printing. The tape 31 is cut in the width direction, and one sticking tape is created.

図3はこのテープ印刷装置1の回路構成を示すブロック図である。このテープ印刷装置1は、図3に示すように、制御手段としてのCPU41と、各種のシステムプログラムやフォント等が記憶されたROM42と、ワークメモリとしてのRAM43と、CPU41に接続される上述した入力部3及び表示部4と、外部機器と接続される入出力インターフェース44と、テープ印刷機構45と、画像取込装置9と、フルカット装置17と、ハーフカット装置18と、を備える。   FIG. 3 is a block diagram showing a circuit configuration of the tape printer 1. As shown in FIG. As shown in FIG. 3, the tape printer 1 includes a CPU 41 as a control means, a ROM 42 in which various system programs and fonts are stored, a RAM 43 as a work memory, and the above-described input connected to the CPU 41. Unit 3 and display unit 4, an input / output interface 44 connected to an external device, a tape printing mechanism 45, an image capturing device 9, a full-cut device 17, and a half-cut device 18.

そして、CPU41は、入力部3からのキー操作信号に応じて、又は、自動でROM42に予め記憶されているシステムプログラム、メモリカードに記憶された制御プログラム、入出力インターフェース44に接続された外部機器から読み込まれた制御プログラム等を起動させ、RAM43をワークメモリとして回路各部の動作を制御する。   Then, the CPU 41 responds to a key operation signal from the input unit 3 or automatically, a system program stored in advance in the ROM 42, a control program stored in the memory card, and an external device connected to the input / output interface 44 The control program read from the program is started, and the operation of each part of the circuit is controlled using the RAM 43 as a work memory.

ROM42は、入力部3から入力された文字を印刷するためのプログラム、印刷フォント、目印となる記号、或いは、塗り潰しに使用される斜線や網目、ドット模様等が記憶され、CPU41で読取り可能なプログラムが記憶された記憶媒体としても機能する。   The ROM 42 stores a program for printing characters input from the input unit 3, a print font, a mark as a mark, or a diagonal line, mesh, or dot pattern used for filling, and can be read by the CPU 41. Also functions as a storage medium in which is stored.

RAM43は、キー入力された文字や選択された模様、サイズや文字間隔等の印刷情報を記憶する入力データメモリ、入力された印刷情報が展開された基準印刷パターンデータが記憶される印刷データメモリ、表示部4に表示されるパターンデータが記憶される表示データメモリ等の各領域が確保され、印刷処理等に必要なデータを一時的に記憶するレジスタやカウンタ等が設けられている。   The RAM 43 has an input data memory for storing print information such as a key input character, a selected pattern, a size and a character interval, a print data memory for storing reference print pattern data in which the input print information is expanded, Each area such as a display data memory in which pattern data displayed on the display unit 4 is stored is secured, and a register, a counter, and the like that temporarily store data necessary for printing processing and the like are provided.

テープ印刷機構45は、上述したように、印刷手段とされるサーマルヘッド11と、印刷側搬送手段とされるプラテンローラ12及びプラテンローラ12を回転駆動させるステッピングモータ46と、を備える。そして、テープ印刷機構45は、ステッピングモータ46が制御手段としてのCPU41に制御されてプラテンローラ12を回転駆動させ、プラテンローラ12とサーマルヘッド11の間で上述した印刷テープ31を搬送し、CPU41から出力された印刷データに基づいてサーマルヘッド11が印刷テープ31に文字や模様等を熱転写することによって印刷テープ31に随時文字や模様等を印刷する。   As described above, the tape printing mechanism 45 includes the thermal head 11 serving as a printing unit, the platen roller 12 serving as a printing-side conveying unit, and the stepping motor 46 that rotationally drives the platen roller 12. Then, in the tape printing mechanism 45, the stepping motor 46 is controlled by the CPU 41 as the control means to rotate the platen roller 12, and the above-described printing tape 31 is conveyed between the platen roller 12 and the thermal head 11, from the CPU 41. The thermal head 11 prints characters, patterns, etc. on the printing tape 31 as needed by thermally transferring the characters, patterns, etc., to the printing tape 31 based on the output print data.

又、テープ印刷機構45のステッピングモータ46は、サーマルヘッド11の解像度に合わせてプラテンローラ12の回転速度を調整するように構成されている。つまり、本実施例において、サーマルヘッド11の解像度は200dpi(25mm(1インチ)当たりのピクセル数が200)とされており、ステッピングモータ46の送り解像度も約200dpiとされている。よって、ステッピングモータ46は、印刷テープ31を25mmで200ラインの送りを行なっており、ステッピングモータ46の1ライン動作で印刷テープ31が進む量は1/8mmとされている。   Further, the stepping motor 46 of the tape printing mechanism 45 is configured to adjust the rotation speed of the platen roller 12 in accordance with the resolution of the thermal head 11. That is, in this embodiment, the resolution of the thermal head 11 is 200 dpi (200 pixels per 25 mm (1 inch)), and the feed resolution of the stepping motor 46 is also about 200 dpi. Accordingly, the stepping motor 46 feeds the printing tape 31 by 200 lines at 25 mm, and the amount the printing tape 31 advances by 1-line operation of the stepping motor 46 is 1/8 mm.

画像取込装置9は、取込対象である原稿の画像をデータ化して取込む画像取込手段としてのイメージセンサ47と、原稿を搬送する画像取込側搬送手段としてのスキャナローラ50及びスキャナローラ50を回転駆動させるステッピングモータ48と、原稿等が挿入されたときに挿入された原稿等の先端を感知する感知センサ49と、図示しないラインカウンタと、を備える。そして、画像取込装置9は、感知センサ49が原稿等が挿入されたことを感知すると制御手段としてのCPU41に感知信号を出力し、CPU41は感知信号を受信するとステッピングモータ48を制御してスキャナローラ50を回転駆動させ、イメージセンサ47は、スキャナローラ50によって搬送されている原稿等を取込んでビットマップ等の画像データをCPU41に出力し、CPU41がRAM43等に画像データを記憶させる。   The image capture device 9 includes an image sensor 47 as image capture means for capturing an image of a document to be captured as data, and a scanner roller 50 and a scanner roller as image capture side transport means for transporting the document. A stepping motor 48 that rotationally drives 50, a detection sensor 49 that senses the leading edge of the inserted document or the like when the document or the like is inserted, and a line counter (not shown) are provided. The image capture device 9 outputs a sensing signal to the CPU 41 as a control means when the sensing sensor 49 senses that a document or the like has been inserted, and the CPU 41 controls the stepping motor 48 when receiving the sensing signal to scan the scanner. The roller 50 is driven to rotate, and the image sensor 47 takes in a document conveyed by the scanner roller 50 and outputs image data such as a bitmap to the CPU 41. The CPU 41 stores the image data in the RAM 43 or the like.

そして、画像取込装置9のステッピングモータ48も、テープ印刷機構45のステッピングモータ46と同様に、イメージセンサ47の解像度に合わせてスキャナローラ50の回転速度を調整するように構成されている。つまり、イメージセンサ47の解像度は200dpiとされており、ステッピングモータ48の送り解像度に関してもテープ印刷機構45のステッピングモータ46と同様に200dpiとされている。尚、印刷側搬送手段と画像取込側搬送手段は夫々独立した搬送手段として形成されている。   The stepping motor 48 of the image capturing device 9 is also configured to adjust the rotational speed of the scanner roller 50 in accordance with the resolution of the image sensor 47, similarly to the stepping motor 46 of the tape printing mechanism 45. That is, the resolution of the image sensor 47 is 200 dpi, and the feed resolution of the stepping motor 48 is also 200 dpi, similar to the stepping motor 46 of the tape printing mechanism 45. Note that the printing side conveyance unit and the image capturing side conveyance unit are formed as independent conveyance units.

フルカット装置17は、固定刃と可動刃を備えており、固定刃に対して可動刃を可動させることにより鋏の要領で印刷テープ31を幅方向に切断する。又、ハーフカット装置18も同様に固定刃と可動刃を備えており、固定刃に対して可動刃を押し付けることにより印刷テープ31の印刷層のみをカットする。   The full-cut device 17 includes a fixed blade and a movable blade, and cuts the printing tape 31 in the width direction in the manner of scissors by moving the movable blade relative to the fixed blade. Similarly, the half-cut device 18 includes a fixed blade and a movable blade, and only the print layer of the printing tape 31 is cut by pressing the movable blade against the fixed blade.

そして、本実施例のテープ印刷装置1は、テープ印刷機構45で搬送精度等を確認するために使用する基準媒体として1枚の基準テープを印刷し、この基準テープを用いて印刷側搬送手段の搬送率である印刷側搬送率Prと、画像取込側搬送手段の搬送率である画像取込側搬送率Srと、を算出し、この算出結果を用いて画像取込装置で取込んだ画像の搬送方向の倍率を補正することにより、画像取込対象である原稿等と、取込んだ画像が印刷された印刷物とを略同一サイズとすることができる画像データ補正機能を備えている。   The tape printing apparatus 1 of this embodiment prints one reference tape as a reference medium used for checking the conveyance accuracy and the like by the tape printing mechanism 45, and uses the reference tape to The printing side conveyance rate Pr which is the conveyance rate and the image capture side conveyance rate Sr which is the conveyance rate of the image capture side conveyance unit are calculated, and an image captured by the image capture device using this calculation result By correcting the magnification in the transport direction, an image data correction function is provided that can make a document or the like as an image capture target and a printed matter on which the captured image is printed substantially the same size.

この搬送率について述べる。テープ印刷機構45や画像取込装置9等の搬送手段では、送り解像度を決定するために、基準距離Xと、基準距離Xまでの理論上の送り数である基本ライン数Lcとを予め設定しておき、基準距離Xと基本ライン数Lcを一致させることにより搬送距離が所望のものとなるように調整している。しかし、搬送手段では、この基準距離Xと基本ライン数Lcにズレが生じてしまうことがあり、基本ライン数Lcを搬送することによって到達する位置と、実際に基準距離Xを測定した場合の位置とが異なることがある。搬送率とは、基本ライン数Lcを、実際に基準距離Xを測定した場合の所定位置まで原稿等を送るのに必要な理論上のライン数(Lx)で除算した数値を指す。尚、本実施例において、基準距離Xは100mmとされ、基本ライン数Lcは800に設定されており、上述したように1ラインの動作によって印刷テープ31を1/8mm送ることとしている。   This conveyance rate will be described. In the transport means such as the tape printing mechanism 45 and the image capturing device 9, in order to determine the feed resolution, a reference distance X and a basic line number Lc that is a theoretical feed number up to the reference distance X are set in advance. By adjusting the reference distance X and the basic line number Lc, the conveyance distance is adjusted to a desired value. However, the transport means may cause a deviation between the reference distance X and the number of basic lines Lc. The position reached by transporting the number of basic lines Lc and the position when the reference distance X is actually measured. May be different. The conveyance rate refers to a numerical value obtained by dividing the basic line number Lc by the theoretical number of lines (Lx) necessary to send a document or the like to a predetermined position when the reference distance X is actually measured. In this embodiment, the reference distance X is set to 100 mm, the basic line number Lc is set to 800, and the printing tape 31 is fed by 1/8 mm by the operation of one line as described above.

以下、画像データ補正機能について述べる。図4は、印刷側搬送率Prを算出するためのフローチャートであり、図5は、基準テープ61の正面図であり、図6は、搬送率と特定マークの関係を示す表であり、図7は、画像取込側搬送率Srを算出するためのフローチャートである。   Hereinafter, the image data correction function will be described. 4 is a flowchart for calculating the printing-side conveyance rate Pr, FIG. 5 is a front view of the reference tape 61, and FIG. 6 is a table showing the relationship between the conveyance rate and specific marks. These are the flowcharts for calculating the image capture side conveyance rate Sr.

まず、印刷側搬送率Prの算出方法について述べる。制御手段は、図4に示すように、基準媒体印刷手段として、所定の基準印刷パターンが印刷された基準媒体としての基準テープ61を印刷させる基準テープ印刷処理(ステップS101)を実行する。この基準テープ61の基準印刷パターンは、図5に示すように、印刷の開始側端部近傍に印刷された搬送方向を示す矢印65と、搬送方向に対して垂直に印刷される基準マーク66と、基準マーク66から印刷側搬送手段の基本ライン数Lcである800回のライン動作によって到達した位置に印刷される理論マーク67と、理論マーク67の前後に等間隔で印刷される複数の調整マーク68と、から形成されており、理論マーク67には「F」という符号が付され、調整マーク68には基準マーク66側から順にA乃至Eの符号が付され、更に、理論マーク67のFを挟んでG,Hの符号が夫々付されている。   First, a method for calculating the printing-side conveyance rate Pr will be described. As shown in FIG. 4, the control means executes a reference tape printing process (step S101) for printing the reference tape 61 as a reference medium on which a predetermined reference print pattern is printed as a reference medium printing means. As shown in FIG. 5, the reference print pattern of the reference tape 61 includes an arrow 65 indicating the transport direction printed in the vicinity of the printing start side end, and a reference mark 66 printed perpendicular to the transport direction. The theoretical mark 67 printed at the position reached by the line operation of 800 times that is the basic line number Lc of the printing-side conveying means from the reference mark 66, and a plurality of adjustment marks printed at equal intervals before and after the theoretical mark 67 68, the theoretical mark 67 is given the symbol “F”, the adjustment mark 68 is given the symbols A to E in order from the reference mark 66 side, and the F of the theoretical mark 67 G and H are attached to each other.

基準テープ印刷処理(ステップS101)において、基準テープ61が印刷されると、使用者は、基準テープ61の基準マーク66から基準距離Xである100mmの地点を定規等で測定し、基準マーク66から基準距離Xに位置する線である特定マーク69を、調整マーク68、或いは、理論マーク67の中から特定する。つまり、印刷側搬送手段にズレが生じていなければ、特定マークは理論マーク67となり、1ライン毎の距離が長めにズレているならばA乃至Eの調整マーク68が特定マーク69となり、1ライン毎の距離が短くズレていればG,Hの調整マーク68が特定マーク69となる。図5では、例としてCを特定マーク69としている。   In the reference tape printing process (step S101), when the reference tape 61 is printed, the user measures a point of 100 mm, which is the reference distance X from the reference mark 66 of the reference tape 61, using a ruler or the like. A specific mark 69 that is a line located at the reference distance X is specified from the adjustment mark 68 or the theoretical mark 67. In other words, if there is no deviation in the printing-side conveying means, the specific mark is the theoretical mark 67, and if the distance for each line is long, the adjustment marks 68 of A to E become the specific mark 69, and one line If each distance is short, the G and H adjustment marks 68 become the specific marks 69. In FIG. 5, C is a specific mark 69 as an example.

制御手段は、特定マーク情報取得手段として、使用者が特定した特定マーク69の符号を入力させる画面を表示手段に表示させ、使用者に特定マーク69の符号を入力させることにより特定マーク情報を取得する特定マーク情報取得処理(ステップS105)を実行する。次に、制御手段は、特定マーク69までの理論ライン数Lxを算出する特定マークライン数算出処理(ステップS110)を実行し、印刷側搬送率算出手段として、基本ライン数Lcを特定マーク69までの理論ライン数Lxで除算することにより印刷側搬送手段の搬送率を算出する印刷側搬送率算出処理(ステップS115)を実行する。尚、印刷側搬送手段における特定マーク69の符号A乃至Hと搬送率は、図6の表に示すような関係となる。   As the specific mark information acquisition means, the control means displays a screen for inputting the code of the specific mark 69 specified by the user on the display means, and acquires the specific mark information by causing the user to input the code of the specific mark 69. The specific mark information acquisition process (step S105) is executed. Next, the control means executes a specific mark line number calculation process (step S110) for calculating the theoretical line number Lx up to the specific mark 69, and the basic line number Lc is set up to the specific mark 69 as a printing-side conveyance rate calculation means. A printing side conveyance rate calculation process (step S115) for calculating the conveyance rate of the printing side conveyance unit by dividing by the theoretical line number Lx is performed. Note that the symbols A to H of the specific mark 69 and the conveyance rate in the printing-side conveyance means have a relationship as shown in the table of FIG.

次に、画像取込側搬送率Srの算出方法について述べる。基準テープ61を矢印65に従って画像取込装置9に挿入し、画像取込を開始すると、制御手段は、図7に示すように、画像取込装置9のイメージセンサ47を制御して、基準テープ61の基準マーク66を検出する基準マーク検出処理(ステップS151)を実行し、使用者に印刷側搬送率Prを算出する時に特定した特定マーク69の符号Cを入力させる画面を表示手段に表示させ、使用者に特定マーク69の符号Cを入力させることにより特定マーク69の情報を取得する特定マーク情報取得処理(ステップS155)を実行する。   Next, a method for calculating the image capture side conveyance rate Sr will be described. When the reference tape 61 is inserted into the image capture device 9 according to the arrow 65 and image capture is started, the control means controls the image sensor 47 of the image capture device 9 as shown in FIG. A reference mark detection process (step S151) for detecting 61 reference marks 66 is executed, and a screen for allowing the user to input the code C of the specific mark 69 specified when calculating the printing-side conveyance rate Pr is displayed on the display means. Then, a specific mark information acquisition process (step S155) for acquiring information on the specific mark 69 by causing the user to input the code C of the specific mark 69 is executed.

そして、制御手段は、特定マーク情報取得処理で取得した特定マーク69までのライン数Lsをラインカウンタでカウントするライン数カウント処理(ステップS160)を実行する。このライン数カウント処理(ステップS160)では、基準マーク66を通過後いくつ目のマークが特定マーク69であるかの情報を基に特定マーク69を特定する。つまり、基準テープ61の画像取込を開始すると、黒から白に変化する地点を基準マーク66として認識し、その後、黒、白と変化する度にマークを通過したとして認識し、特定マーク69の順番に来た時、基準マーク66から特定マーク69までのライン数Lsをカウントする。そして、制御手段は、ライン数カウント処理(ステップS160)の後、画像取込側搬送率算出手段として、基本ライン数Lcを特定マーク69までのライン数Lsで除算することにより画像取込側搬送手段の搬送率を算出する画像取込側搬送率算出処理(ステップS165)を実行する。   And a control means performs the line number count process (step S160) which counts the line number Ls to the specific mark 69 acquired by the specific mark information acquisition process with a line counter. In this line number counting process (step S160), the specific mark 69 is specified based on the information on how many marks are the specific marks 69 after passing the reference mark 66. That is, when the image capture of the reference tape 61 is started, a point that changes from black to white is recognized as the reference mark 66, and thereafter it is recognized as having passed the mark every time it changes from black to white. When the order comes, the number of lines Ls from the reference mark 66 to the specific mark 69 is counted. Then, after the line number counting process (step S160), the control unit divides the basic line number Lc by the line number Ls up to the specific mark 69 as image capture side transport rate calculation unit. An image capturing side conveyance rate calculation process (step S165) for calculating the conveyance rate of the means is executed.

次に、画像取込装置9で取込んだ画像をテープ印刷機構45で印刷する場合の補正について述べる。制御手段は、画像取込手段が取込んだ画像データを記憶手段に記憶させる画像データ保存処理(ステップS201)を実行し、補正倍率算出手段として、1/(印刷側搬送率Pr×画像取込側搬送率Sr)で計算される取込んだ画像データの補正倍率Hrを算出する補正倍率算出処理(ステップS205)を実行する。又、制御手段は、画像補正手段として、この補正倍率算出処理(ステップS205)で算出した補正倍率Hrに従ってRAM43に記憶された画像データを搬送方向に補正する画像補正処理(ステップS210)を実行する。そして、制御手段は、印刷手段を制御して、画像補正処理(ステップS210)で補正された画像データに従って印刷処理(ステップS215)を実行する。   Next, correction when an image captured by the image capture device 9 is printed by the tape printing mechanism 45 will be described. The control means executes an image data storage process (step S201) for storing the image data taken in by the image taking means in the storage means, and 1 / (printing-side conveyance rate Pr × image take-in) as the correction magnification calculating means. A correction magnification calculation process (step S205) for calculating the correction magnification Hr of the captured image data calculated by the side conveyance rate Sr) is executed. Further, the control means executes an image correction process (step S210) for correcting the image data stored in the RAM 43 in the transport direction according to the correction magnification Hr calculated in the correction magnification calculation process (step S205) as the image correction means. . Then, the control unit controls the printing unit to execute the printing process (step S215) according to the image data corrected in the image correction process (step S210).

このように、取込んだ画像データの送り方向の長さを補正して印刷することにより、例えば、画像取込側搬送率Srを80%、印刷側搬送率Prを90%とし、長手方向の長さが100mmの原稿を取込んで印刷する場合、画像データを補正せずにそのまま印刷したときには、印刷物の長手方向の長さが100mm×0.8×0.9=72mmの印刷結果となるが、補正倍率Hr=1/(0.8×0.9)を算出して画像取込側搬送率により80mmとなったビットマップ等の画像データの搬送方向にこの補正倍率Hrを乗算すると、111.1mmの画像データとなり、この画像データを用いて印刷すると111.1×0.9=99.9mmと極めて原稿の実寸大である100mmに近い値で印刷が可能となる。   In this way, by correcting the length of the captured image data in the feed direction and printing, for example, the image capture side transport rate Sr is set to 80%, the print side transport rate Pr is set to 90%, and the length in the longitudinal direction is set. When a document having a length of 100 mm is captured and printed, if the image data is printed without correction, the length of the printed material in the longitudinal direction is 100 mm × 0.8 × 0.9 = 72 mm. However, when the correction magnification Hr = 1 / (0.8 × 0.9) is calculated and the conveyance direction of image data such as a bitmap that is 80 mm due to the image capture side conveyance ratio is multiplied by the correction magnification Hr, The image data becomes 111.1 mm, and printing using this image data makes it possible to print at a value close to 100 mm, which is 111.1 × 0.9 = 99.9 mm, which is an actual size of the original document.

本発明によれば、所定の基準印刷パターンを備えた基準媒体としての基準テープ61を印刷し、同じ基準テープ61を用いて印刷側搬送率Prと画像取込側搬送率Srを算出し、算出結果から画像取込装置9で取込んだ画像の補正倍率Hrを算出して画像データの長手方向の長さを補正することにより、画像取込装置9で取込む原稿の長手方向の長さと、テープ印刷機構45で印刷した印刷物の長手方向の長さを略等しくすることができる。   According to the present invention, the reference tape 61 as a reference medium having a predetermined reference print pattern is printed, and the print-side conveyance rate Pr and the image capture-side conveyance rate Sr are calculated using the same reference tape 61. By calculating the correction magnification Hr of the image captured by the image capturing device 9 from the result and correcting the longitudinal length of the image data, the longitudinal length of the document captured by the image capturing device 9 is The longitudinal lengths of the printed matter printed by the tape printing mechanism 45 can be made substantially equal.

又、基準テープ61の基準印刷パターンを、基準マーク66と、理論マーク67と、調整マーク68と、から形成することにより、基準マーク66からの基準距離Xを測るだけで、容易に搬送率を算出することができる。   In addition, by forming the reference print pattern of the reference tape 61 from the reference mark 66, the theoretical mark 67, and the adjustment mark 68, the conveyance rate can be easily increased by simply measuring the reference distance X from the reference mark 66. Can be calculated.

更に、印刷側搬送率算出手段が、特定マーク69までの理論ライン数Lxを算出し、基本ライン数Lcを特定マーク69までの理論ライン数Lxで除算することで印刷側搬送率Prを算出することとしたため、搬送率の計算が容易となり、高価なCPU41等を内蔵せずとも簡単に画像補正が可能となる。   Further, the printing side conveyance rate calculation means calculates the theoretical line number Lx up to the specific mark 69 and divides the basic line number Lc by the theoretical line number Lx up to the specific mark 69 to calculate the printing side conveyance rate Pr. Therefore, the conveyance rate can be easily calculated, and image correction can be easily performed without incorporating an expensive CPU 41 or the like.

又、画像取込側搬送率算出手段が、基準マーク66から特定マーク69までのライン数Lsをカウントし、基本ライン数Lcを該カウントした結果のライン数Lsで除算することにより画像取込側搬送率Srを算出することとしたため、印刷側搬送率算出手段と同様の計算で容易に搬送率が計算でき、高価なCPU41等を内蔵せずとも簡単に画像補正が可能となる。   Further, the image capturing side conveyance rate calculating means counts the number of lines Ls from the reference mark 66 to the specific mark 69, and divides the basic line number Lc by the counted number of lines Ls. Since the conveyance rate Sr is calculated, the conveyance rate can be easily calculated by the same calculation as the printing-side conveyance rate calculation means, and image correction can be easily performed without incorporating an expensive CPU 41 or the like.

尚、本実施例で述べたテープ印刷装置1においては、基準媒体として基準テープ61を用いて印刷側搬送率Prと画像取込側搬送率Srを算出し、補正倍率Hrを算出して取込んだ画像データを補正する構成としているが、画像取込装置とテープ印刷機構の両方を備えた装置であって、印刷側搬送手段と画像取込側搬送手段が独立している装置であれば、あらゆる機器において、基準テープ61と同様の印刷方法を用いることができ、基準印刷パターンが印刷された用紙等を基準媒体として利用することで同様の作用効果を得ることができる。   In the tape printer 1 described in the present embodiment, the printing side conveyance rate Pr and the image capture side conveyance rate Sr are calculated using the reference tape 61 as the reference medium, and the correction magnification Hr is calculated and loaded. Although it is configured to correct image data, it is an apparatus provided with both an image capturing device and a tape printing mechanism, and if the printing side conveying means and the image capturing side conveying means are independent, In any device, the same printing method as that of the reference tape 61 can be used, and the same operation and effect can be obtained by using a sheet or the like on which the reference print pattern is printed as a reference medium.

つまり、本実施例において述べた各処理は、コンピュータに実行させることのできるプログラムとして、例えば磁気ディスク、光ディスク、半導体メモリ等の記憶媒体に書き込んだ状態で各種装置に適用したり、通信媒体により伝送して各種装置に適用することも可能である。このように所望の記憶媒体に本実施例で述べた各処理を記憶させ、他のコンピュータ等でプログラムを実行させることにより、本実施利のテープ印刷装置1を用いた場合と同様に長さ調整を容易に行なうことができる。   In other words, each processing described in the present embodiment is applied to various apparatuses as a program that can be executed by a computer, for example, written in a storage medium such as a magnetic disk, an optical disk, or a semiconductor memory, or transmitted through a communication medium. Thus, the present invention can be applied to various devices. In this way, each process described in this embodiment is stored in a desired storage medium, and the program is executed by another computer or the like, so that the length is adjusted in the same manner as in the case of using the tape printer 1 of this embodiment. Can be easily performed.

又、基準媒体を印刷し、特定マーク69を定規で測定した後、特定マーク69までの送りピッチ数を手入力で修正し、修正率を記憶させることにより各搬送手段の搬送精度を調整することもできる。このように各搬送手段の搬送精度を調整することでも正しい長さの印刷及び読取りを行なうことができるようになる。   Also, after printing the reference medium and measuring the specific mark 69 with a ruler, the number of feed pitches up to the specific mark 69 is manually corrected, and the correction accuracy is stored to adjust the transfer accuracy of each transfer means. You can also. Thus, it is possible to perform printing and reading of the correct length by adjusting the conveyance accuracy of each conveyance unit.

又、本発明は、以上の実施例に限定されるものでなく、発明の要旨を逸脱しない範囲で自由に変更、改良が可能である。   The present invention is not limited to the above-described embodiments, and can be freely changed and improved without departing from the gist of the invention.

1 テープ印刷装置 2 筐体
3 入力部 4 表示部
5 開閉蓋 7 テープ繰出部
8 カセット装填部 9 画像取込装置
9a 挿入口 11 サーマルヘッド
12 プラテンローラ 13 リボン巻取軸
15 カセット受部 16 可動突起
17 フルカット装置 18 ハーフカット装置
21 テープカセット 22 カセットケース
23 テープコア 24 リボン供給コア
25 リボン巻取コア 27 ヘッド配置部
29 被係合部 31 印刷テープ
35 インクリボン 41 CPU
42 ROM 43 RAM
44 入出力インターフェース 45 テープ印刷機構
46,48 ステッピングモータ 47 イメージセンサ
49 感知センサ 50 スキャナローラ
61 基準テープ 65 矢印
66 基準マーク 67 理論マーク
68 調整マーク 69 特定マーク
1 Tape printer 2 Housing
3 Input section 4 Display section
5 Opening / closing lid 7 Tape feeding part
8 Cassette loading section 9 Image capture device
9a Insertion slot 11 Thermal head
12 Platen roller 13 Ribbon take-up shaft
15 Cassette receiver 16 Movable protrusion
17 Full-cut device 18 Half-cut device
21 Tape cassette 22 Cassette case
23 Tape core 24 Ribbon supply core
25 Ribbon take-up core 27 Head placement
29 Engaged part 31 Printing tape
35 Ink Ribbon 41 CPU
42 ROM 43 RAM
44 I / O interface 45 Tape printing mechanism
46,48 Stepping motor 47 Image sensor
49 Sensor 50 Scanner roller
61 Reference tape 65 Arrow
66 Reference mark 67 Theoretical mark
68 Adjustment mark 69 Special mark

Claims (6)

印刷手段と印刷側搬送手段とから構成されたテープ印刷機構と、画像取込手段と画像取込側搬送手段とから構成された画像取込装置と、を備え、
前記印刷側搬送手段には、所定の基本ライン数と、該基本ライン数によって移動する理論上の距離である基準距離とが予め設定されており、
所定の基準印刷パターンを記憶手段から読み出して該基準印刷パターンを備えた基準媒体を印刷する基準媒体印刷手段と、
該基準媒体における所定の基点からの前記基準距離の位置を特定マークとして特定した情報を取得する特定マーク情報取得手段と、
該特定マーク情報取得手段により取得した前記特定マークの情報を用いて前記印刷側搬送手段の搬送率を算出する印刷側搬送率算出手段と、
前記基準媒体に印刷された基準印刷パターンを取込むとともに、前記特定マークの情報を用いて前記画像取込側搬送手段の搬送率を算出する画像取込側搬送率算出手段と、
1/(印刷側搬送率×画像取込側搬送率)の計算を行なうことにより前記画像取込装置が取込んだ画像データの補正倍率を算出する補正倍率算出手段と、
該補正倍率算出手段が算出した補正倍率を前記画像取込装置が取込んだ画像データの搬送方向の長さに乗算して該画像データを補正する画像補正手段と、
を備えたことを特徴とするテープ印刷装置。
A tape printing mechanism constituted by a printing means and a printing side conveying means, and an image taking device constituted by an image taking means and an image taking side conveying means,
In the printing-side conveying means, a predetermined basic line number and a reference distance that is a theoretical distance to be moved by the basic line number are set in advance.
A reference medium printing means for reading a predetermined reference print pattern from the storage means and printing a reference medium having the reference print pattern;
Specific mark information acquisition means for acquiring information specifying the position of the reference distance from a predetermined base point on the reference medium as a specific mark;
A printing-side conveyance rate calculation unit that calculates a conveyance rate of the printing-side conveyance unit using the information on the specific mark acquired by the specific mark information acquisition unit ;
An image capture-side transport rate calculating unit that captures a reference print pattern printed on the reference medium and calculates a transport rate of the image capture-side transport unit using information on the specific mark ;
Correction magnification calculating means for calculating a correction magnification of the image data captured by the image capturing device by calculating 1 / (printing side transport rate × image capturing side transport rate);
Image correction means for correcting the image data by multiplying the correction magnification calculated by the correction magnification calculation means by the length in the transport direction of the image data captured by the image capture device;
A tape printing apparatus comprising:
前記基準印刷パターンは、搬送方向に対して垂直に印刷される基準マークと、前記基準マークから前記基本ライン数を搬送した位置に印刷される理論マークと、該理論マークの搬送方向に対して方及びに等間隔で印刷される複数の調整マークと、
から形成されことを特徴とする請求項1に記載のテープ印刷装置。
The reference print pattern includes a reference mark that is printed perpendicularly to the transport direction, a theoretical mark that is printed at a position where the number of basic lines is transported from the reference mark, and a previous mark with respect to the transport direction of the theoretical mark. a plurality of adjustment marks printed at equal intervals in a square and towards the rear,
Tape printing device according to claim 1, characterized in that that will be formed from.
前記印刷側搬送率算出手段は、
前記基準媒体における所定の前記基点から前記特定マーク情報取得手段が取得した前記特定マークまでの理論ライン数を算出し、前記基本ライン数を前記特定マークまでの該理論ライン数で除算すること、
を特徴とする請求項1又は請求項2に記載のテープ印刷装置。
The printing-side conveyance rate calculation means is
Said reference medium to calculate the theoretical number lines from predetermined said base until said particular mark the specific mark information acquisition means has acquired in, dividing the number of basic lines該理theory number of lines up to the specific mark,
The tape printer according to claim 1 or 2, wherein
前記画像取込側搬送率算出手段は、
前記基準媒体を取込む際、基準媒体における所定の前記基点から前記特定マークまでのライン数をカウントし、前記基本ライン数を該カウントした結果のライン数で除算すること、
を特徴とする請求項1乃至請求項3のいずれかに記載のテープ印刷装置。
The image capturing side conveyance rate calculating means is
When taking in the reference medium , counting the number of lines from the predetermined base point to the specific mark in the reference medium , and dividing the number of basic lines by the number of lines as a result of the counting ;
The tape printer according to any one of claims 1 to 3, wherein
所定の基本ライン数と、該基本ライン数によって移動する理論上の距離である基準距離とを予め設定しており、
所定の基準印刷パターンを備えた基準媒体を印刷する基準媒体印刷処理と、
該基準媒体における所定の基点からの前記基準距離の位置を特定マークとして特定した情報を取得する特定マーク情報取得処理と、
該特定マーク情報取得処理により取得した前記特定マークの情報を用いて印刷側搬送処理の搬送率を算出する印刷側搬送率算出処理と、
前記基準媒体に印刷された基準印刷パターンを取込むとともに、前記特定マークの情報を用いて画像取込側搬送処理の搬送率を算出する画像取込側搬送率算出処理と、
1/(印刷側搬送率×画像取込側搬送率)の計算を行なうことにより画像取込装置が取込んだ画像データの補正倍率を算出する補正倍率算出処理と、
該補正倍率算出処理により算出した補正倍率を前記画像取込装置が取込んだ画像データの搬送方向の長さに乗算して該画像データを補正する画像補正処理と、
を行なうことを特徴とする取込画像の画像修正方法。
A predetermined number of basic lines and a reference distance that is a theoretical distance to move according to the number of basic lines are set in advance,
A reference medium printing process for printing a reference medium having a predetermined reference print pattern;
Specific mark information acquisition processing for acquiring information specifying the position of the reference distance from a predetermined base point on the reference medium as a specific mark;
A printing-side conveyance rate calculation process for calculating a conveyance rate of the printing-side conveyance process using the specific mark information acquired by the specific mark information acquisition process ;
With taking a reference printing pattern printed on the reference medium, the image capture side transfer ratio calculation processing for calculating the transport rate of the image capture side transfer process using the information of the specific mark,
A correction factor calculation process for calculating the 1 / correction magnification of the image data taken-Riga image capture device by the fact that the calculation of (print side transfer rate × image capture side transfer rate),
Image correction processing for correcting the image data by multiplying the correction magnification calculated by the correction magnification calculation processing by the length in the transport direction of the image data captured by the image capturing device;
An image correction method for captured images, characterized in that:
所定の基本ライン数と、該基本ライン数によって移動する理論上の距離である基準距離とを予め設定しており、
所定の基準印刷パターンを備えた基準媒体を印刷する基準媒体印刷処理と、
該基準媒体における所定の基点からの前記基準距離の位置を特定マークとして特定した情報を取得する特定マーク情報取得処理と、
該特定マーク情報取得処理により取得した前記特定マークの情報を用いて印刷側搬送処理の搬送率を算出する印刷側搬送率算出処理と、
前記基準媒体に印刷された基準印刷パターンを取込むとともに、前記特定マークの情報を用いて画像取込側搬送処理の搬送率を算出する画像取込側搬送率算出処理と、
1/(印刷側搬送率×画像取込側搬送率)の計算を行なうことにより画像取込装置が取込んだ画像データの補正倍率を算出する補正倍率算出処理と、
該補正倍率算出処理により算出した補正倍率を前記画像取込装置が取込んだ画像データの搬送方向の長さに乗算して該画像データを補正する画像補正処理と、
を実現させるプログラムが記憶されていることを特徴とするコンピュータ読み取り可能な記憶媒体。
A predetermined number of basic lines and a reference distance that is a theoretical distance to move according to the number of basic lines are set in advance,
A reference medium printing process for printing a reference medium having a predetermined reference print pattern;
Specific mark information acquisition processing for acquiring information specifying the position of the reference distance from a predetermined base point on the reference medium as a specific mark;
A printing-side conveyance rate calculation process for calculating a conveyance rate of the printing-side conveyance process using the specific mark information acquired by the specific mark information acquisition process ;
With taking a reference printing pattern printed on the reference medium, the image capture side transfer ratio calculation processing for calculating the transport rate of the image capture side transfer process using the information of the specific mark,
A correction factor calculation process for calculating the 1 / correction magnification of the image data taken-Riga image capture device by the fact that the calculation of (print side transfer rate × image capture side transfer rate),
Image correction processing for correcting the image data by multiplying the correction magnification calculated by the correction magnification calculation processing by the length in the transport direction of the image data captured by the image capturing device;
Computer-readable storage medium having a program for realizing is characterized in that it is stored.
JP2009037543A 2009-02-20 2009-02-20 Tape printer, method for correcting captured image in tape printer, and storage medium storing program for executing the method Active JP5218848B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009037543A JP5218848B2 (en) 2009-02-20 2009-02-20 Tape printer, method for correcting captured image in tape printer, and storage medium storing program for executing the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009037543A JP5218848B2 (en) 2009-02-20 2009-02-20 Tape printer, method for correcting captured image in tape printer, and storage medium storing program for executing the method

Publications (2)

Publication Number Publication Date
JP2010188679A JP2010188679A (en) 2010-09-02
JP5218848B2 true JP5218848B2 (en) 2013-06-26

Family

ID=42815262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009037543A Active JP5218848B2 (en) 2009-02-20 2009-02-20 Tape printer, method for correcting captured image in tape printer, and storage medium storing program for executing the method

Country Status (1)

Country Link
JP (1) JP5218848B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7040040B2 (en) * 2018-01-22 2022-03-23 カシオ計算機株式会社 Printing equipment, printing support methods and programs

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07214826A (en) * 1994-01-28 1995-08-15 Casio Comput Co Ltd Printing device
JPH09104136A (en) * 1995-10-09 1997-04-22 Casio Comput Co Ltd Printer
JPH10146490A (en) * 1996-11-20 1998-06-02 Brother Ind Ltd Sewing machine with seal printing function
JPH11207024A (en) * 1998-01-27 1999-08-03 Casio Comput Co Ltd Printer and medium to be printed therefor
JP2002240356A (en) * 1998-02-02 2002-08-28 Casio Comput Co Ltd Tape printer and printing tape cassette
JP4339093B2 (en) * 2003-05-28 2009-10-07 シャープ株式会社 Image forming apparatus adjustment method, image forming apparatus, and image reading apparatus adjustment method
JP4265998B2 (en) * 2004-08-05 2009-05-20 シャープ株式会社 Image forming apparatus adjustment method and image forming apparatus
JP2006333410A (en) * 2005-05-30 2006-12-07 Sharp Corp Image forming apparatus and method of adjusting image forming apparatus
JP2007088672A (en) * 2005-09-21 2007-04-05 Ricoh Co Ltd Image forming apparatus, image position measuring method, and image position measurement adjusting method

Also Published As

Publication number Publication date
JP2010188679A (en) 2010-09-02

Similar Documents

Publication Publication Date Title
JP5803093B2 (en) Printing apparatus and control method thereof
US8270034B2 (en) Printing apparatus for printing a two-dimensional code together with characters on a medium having a designated size
JP2009238242A (en) Printer
US9308760B2 (en) Printer, printing method, and printing system
US10618314B2 (en) Non-transitory storage medium storing instructions readable by information processing apparatus, and code creating system
JP5152060B2 (en) PRINT TAPE AND TAP PRINTING DEVICE USING PRINT TAPE AND METHOD OF JUDGING PRINT TAPE AND REMAINING RATE FROM MARK PRINTED ON PRINT TAPE
JP5891776B2 (en) Printing device
JP5218848B2 (en) Tape printer, method for correcting captured image in tape printer, and storage medium storing program for executing the method
JP2003260833A (en) Cutter position controller, recorder, and method for adjusting cutting position
JP5282947B2 (en) Tape printer
JPH09109425A (en) Printer and recording paper used therein
JP4959262B2 (en) RFID printer
JP2012111153A (en) Printing apparatus and printing method
JP5773181B2 (en) Printing device, printing method, and printing control program
JP5212726B2 (en) Tape printer, label creation method, and storage medium storing label creation program
JPH08230266A (en) Printer
JP2009234040A (en) Image forming apparatus and image forming system using this
JP5619564B2 (en) Verification device
JP2020196140A (en) Control method of printing device and printing device
JP2009234041A (en) Image forming apparatus and recording medium and management information forming body used in this
US20240086127A1 (en) Printer
EP2644400B1 (en) Printer and computer-readable storage medium storing printing control program
JP2018103360A (en) Printing device, printing method and program
JP5967270B2 (en) Printing device, printing method, and printing control program
JP4345931B2 (en) Office machine and computer program for office machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130220

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

Free format text: PAYMENT UNTIL: 20160315

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5218848

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150