[go: up one dir, main page]

JP2020069732A - Printing system - Google Patents

Printing system Download PDF

Info

Publication number
JP2020069732A
JP2020069732A JP2018205855A JP2018205855A JP2020069732A JP 2020069732 A JP2020069732 A JP 2020069732A JP 2018205855 A JP2018205855 A JP 2018205855A JP 2018205855 A JP2018205855 A JP 2018205855A JP 2020069732 A JP2020069732 A JP 2020069732A
Authority
JP
Japan
Prior art keywords
control unit
printing
ink ribbon
printing device
width direction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018205855A
Other languages
Japanese (ja)
Other versions
JP7052676B2 (en
Inventor
圭佑 藤田
Keisuke Fujita
圭佑 藤田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2018205855A priority Critical patent/JP7052676B2/en
Publication of JP2020069732A publication Critical patent/JP2020069732A/en
Application granted granted Critical
Publication of JP7052676B2 publication Critical patent/JP7052676B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Impression-Transfer Materials And Handling Thereof (AREA)

Abstract

【課題】長尺状のインクリボンの幅方向において、印刷媒体に対する印刷装置の位置が変更された場合に、該変更により印刷が一時停止されたり、該変更が制限されたりすることを回避した印刷システムを提供すること。
【解決手段】印刷装置、移動機構、及び制御部を備える印刷システムの制御部は印刷期間中に印刷指示を取得したタイミングで画像を印刷する(S24)。制御部は、印刷準備期間に第一モータを制御してインクリボンを巻き戻す(S29、S31、S35、S37)。制御部は印刷後、インクリボン上にインクリボンの幅方向に並ぶ画像の印刷に使用した領域数が所定個未満である時、印刷装置をインクリボンの幅方向に移動する(S28、S34)。制御部は、印刷準備期間に取得された移動指示に応じて印刷装置をインクリボンの幅方向に移動する(S39)。制御部は、S39で印刷装置が移動された場合に所定個を更新する(S48)。
【選択図】図7
PROBLEM TO BE SOLVED: To prevent printing from being temporarily stopped or being restricted by the change when the position of a printing device with respect to a print medium is changed in the width direction of a long ink ribbon. Providing a system.
A control unit of a printing system including a printing apparatus, a moving mechanism, and a control unit prints an image at a timing when a print instruction is acquired during a printing period (S24). The control unit controls the first motor to rewind the ink ribbon during the print preparation period (S29, S31, S35, S37). After printing, the control unit moves the printing device in the width direction of the ink ribbon when the number of regions used for printing images arranged in the width direction of the ink ribbon on the ink ribbon is less than a predetermined number (S28, S34). The control unit moves the printing apparatus in the width direction of the ink ribbon according to the movement instruction acquired during the print preparation period (S39). The control unit updates the predetermined number when the printing apparatus is moved in S39 (S48).
[Selection diagram] Fig. 7

Description

本発明は、印刷システムに関する。   The present invention relates to a printing system.

包装機等の搬送機器によって搬送される印刷媒体(包材、ラベル等)に対して印刷を行うための印刷装置において、印刷に使用されるインクリボンを節約するための技術が提案されている(例えば、特許文献1参照)。特許文献1の印刷システムは、印刷装置、及びガイドレール部材を備える。印刷装置は、サーマルヘッドを備える。サーマルヘッドは、印刷装置に装着されたインクリボンを加熱して、印刷媒体に画像を印刷する。ガイドレール部材は、長尺状のインクリボンの幅方向に延びる。印刷システムは、印刷装置がインクリボンのうちの第一領域を使用して印刷媒体の所定位置に一の画像を印刷した後、次の画像を印刷する迄の印刷準備期間中に、印刷装置をガイドレール部材に沿って移動させ、インクリボンを巻き戻す。印刷システムは、次の画像を印刷する時、インクリボンのうちの第二領域を使用して、印刷媒体の所定位置に画像を印刷する。第一領域と第二領域とはインクリボンの幅方向に並ぶ。このように印刷システムは、インクリボンの幅方向に並ぶ複数の領域を順に使用して画像の印刷を行うことで、インクリボンの未使用領域を減少させてインクリボンを節約する。   In a printing apparatus for printing on a print medium (packaging material, label, etc.) conveyed by a conveying device such as a packaging machine, a technique for saving an ink ribbon used for printing has been proposed ( For example, see Patent Document 1). The printing system of Patent Document 1 includes a printing device and a guide rail member. The printing device includes a thermal head. The thermal head heats the ink ribbon mounted on the printing device to print an image on the print medium. The guide rail member extends in the width direction of the elongated ink ribbon. The printing system uses the first area of the ink ribbon when the printing apparatus prints one image at a predetermined position on the printing medium and then prints the printing apparatus during the print preparation period before printing the next image. The ink ribbon is rewound by moving it along the guide rail member. When printing the next image, the printing system uses the second region of the ink ribbon to print the image in place on the print medium. The first area and the second area are arranged in the width direction of the ink ribbon. As described above, the printing system prints an image by sequentially using a plurality of regions arranged in the width direction of the ink ribbon to reduce the unused region of the ink ribbon and save the ink ribbon.

特開2009−96001号公報JP, 2009-96001, A

上記印刷システムでは、印刷準備期間中に、インクリボンの幅方向における、印刷媒体に対する印刷装置の位置が変更された場合、位置変更前と同じ数の領域を、インクリボンの幅方向に並ぶようにインクリボンを使用できない場合がある。このような場合、印刷装置からエラーが発せられ、印刷が一時停止されたり、エラーを発さないよう印刷装置の位置の変更が制限されたりする可能性がある。   In the printing system, when the position of the printing device with respect to the print medium in the width direction of the ink ribbon is changed during the print preparation period, the same number of regions as before the position change is arranged in the width direction of the ink ribbon. You may not be able to use the ink ribbon. In such a case, an error may be issued from the printing device, printing may be temporarily stopped, or the position change of the printing device may be restricted so as not to generate the error.

本発明の目的は、長尺状のインクリボンの幅方向において、印刷媒体に対する印刷装置の位置が変更された場合に、該変更により印刷が一時停止されたり、該変更が制限されたりすることを回避した印刷システムを提供することである。   An object of the present invention is to, when the position of a printing device with respect to a print medium is changed in the width direction of a long ink ribbon, temporarily stop printing or limit the change due to the change. It is to provide an avoiding printing system.

本発明の一態様に係る印刷システムは、長尺状のインクリボンが巻回された第一ロールを装着するための第一装着部と、前記第一ロールから繰り出された前記インクリボンが巻き取られる第二ロールを装着するための第二装着部と、前記第一装着部から繰り出されてから、前記第二装着部で巻き取られるまでの前記インクリボンの搬送経路に隣接するサーマルヘッドと、前記第一装着部及び前記第二装着部を回転させる第一モータとを備える印刷装置と、第二モータを有し、前記第二モータの動力で前記印刷装置を前記インクリボンの幅方向に沿って移動する移動機構と、前記サーマルヘッド、前記第一モータ、及び前記移動機構の各々を制御可能な制御部とを備え、前記制御部は、印刷データに従って、前記サーマルヘッドの加熱と、前記第一モータとを制御して、画像を印刷する印刷制御部と、前記印刷制御部によって一の前記画像が印刷された後、次の前記画像が印刷されるまでの印刷準備期間に、前記第一モータを制御して、前記インクリボンを巻き戻す第一搬送制御部と、前記印刷制御部によって前記一の画像が印刷された後、前記インクリボン上に前記インクリボンの前記幅方向に並ぶ、前記画像の印刷に使用した領域の数が所定個未満である時、前記第二モータを制御して、前記次の画像の印刷で使用される領域と、前記一の画像の印刷で使用された領域とが重ならない位置に、前記インクリボンの前記幅方向の長さより小さい距離、前記インクリボンの前記幅方向に沿って前記印刷装置を移動する第一移動制御部と、前記印刷準備期間に前記印刷装置を前記インクリボンの前記幅方向に移動する移動指示を取得する指示取得部と、前記指示取得部によって取得された前記移動指示に応じて前記印刷装置を前記インクリボンの前記幅方向に移動する第二移動制御部と、前記第二移動制御部によって前記印刷装置が移動された場合に、前記所定個を更新する更新部として機能する。   In a printing system according to an aspect of the present invention, a first mounting portion for mounting a first roll around which a long ink ribbon is wound, and the ink ribbon unwound from the first roll are wound up. A second mounting portion for mounting the second roll, and a thermal head adjacent to a transport path of the ink ribbon from being fed out from the first mounting portion until being wound up by the second mounting portion, A printing device having a first motor that rotates the first mounting part and the second mounting part, and a second motor, and the printing device is driven by the power of the second motor along the width direction of the ink ribbon. And a control unit capable of controlling each of the thermal head, the first motor, and the movement mechanism, the control unit heating the thermal head according to print data, and A print control unit that controls one motor to print an image, and the print control unit that prints one image by the print control unit and then prints the first image during the print preparation period until the next image is printed. A first transport control unit that rewinds the ink ribbon by controlling a motor, and after the one image is printed by the print control unit, the ink ribbon is lined up in the width direction of the ink ribbon, When the number of areas used for printing an image is less than a predetermined number, the second motor is controlled to control the area used for printing the next image and the area used for printing the one image. A position smaller than the length of the ink ribbon in the width direction, a first movement control unit that moves the printing device along the width direction of the ink ribbon to a position where does not overlap, and the printing in the print preparation period. Device with ink An instruction acquisition unit that acquires an instruction to move the bon in the width direction, and a second movement control that moves the printing device in the width direction of the ink ribbon according to the movement instruction acquired by the instruction acquisition unit. Unit and the second movement control unit function as an updating unit that updates the predetermined number when the printing apparatus is moved.

本態様の印刷システムは、第二移動制御部によって印刷装置が移動された場合に、更新部によって所定個が更新される。故に印刷システムは、印刷装置が移動されることに起因して、印刷が一時停止されたり、印刷装置の移動が制限されたりすることを回避できる。   In the printing system according to this aspect, when the printing device is moved by the second movement control unit, the update unit updates a predetermined number. Therefore, the printing system can prevent the printing from being paused or the movement of the printing device being restricted due to the movement of the printing device.

印刷システム1の概要を示す図である。FIG. 1 is a diagram showing an outline of a printing system 1. 印刷装置2の概要を示す図である。FIG. 3 is a diagram showing an outline of the printing device 2. 印刷システム1の電気的構成を示すブロック図である。FIG. 3 is a block diagram showing an electrical configuration of the printing system 1. 画像Gをインクリボン9Aの幅方向Y2に最大4つ並べて印刷する具体例の説明図である。FIG. 9 is an explanatory diagram of a specific example in which a maximum of four images G are arranged in the width direction Y2 of the ink ribbon 9A and printed. メイン処理のフローチャートである。It is a flowchart of a main process. ブラケット6に対する印刷装置2の位置を示す説明図である。FIG. 6 is an explanatory diagram showing the position of the printing device 2 with respect to the bracket 6. 印刷モード処理のフローチャートである。6 is a flowchart of print mode processing. インクリボン9Aの幅方向の未使用領域を使用して印刷を行う場合の、印刷媒体Pに対するインクリボン9Aの相対位置を説明するための、状態(a)〜(e)の説明図である。FIG. 7 is an explanatory diagram of states (a) to (e) for explaining the relative position of the ink ribbon 9A with respect to the print medium P when printing is performed using an unused area in the width direction of the ink ribbon 9A.

<印刷システム1の概要>
本発明の一実施形態について、図面を参照して説明する。印刷システム1は、熱転写型の印刷を行うためのシステムである。印刷システム1は、外部機器8(図3参照)によって搬送される印刷媒体P(図2参照)に対して印刷を行う。外部機器8の具体例として、包材を搬送する包装機が挙げられる。この場合、例えば印刷システム1は、包装機によって印刷媒体Pが搬送される搬送ラインの一部に組み込まれて使用される。
<Outline of printing system 1>
An embodiment of the present invention will be described with reference to the drawings. The printing system 1 is a system for performing thermal transfer type printing. The printing system 1 prints on the print medium P (see FIG. 2) conveyed by the external device 8 (see FIG. 3). A specific example of the external device 8 is a packaging machine that conveys a packaging material. In this case, for example, the printing system 1 is used by being incorporated in a part of a transport line on which the print medium P is transported by the packaging machine.

図1に示すように、印刷システム1は、印刷装置2、ブラケット6、コントローラ7(図3参照)、及びプラテンローラQを有する。以下、図の説明の理解を助けるため、印刷システム1に含まれる各構成の上方、下方、左方、右方、前方、及び後方を定義する。印刷装置2及びブラケット6の上方、下方、左方、右方、前方、及び後方は、それぞれ、図1の上方、下方、左斜め上方、右斜め下方、左斜め下方、及び右斜め上方にそれぞれ対応する。図1において、印刷媒体Pの搬送方向は、左右方向と一致する。印刷媒体Pは、外部機器8によって左方(矢印Y1の方向)に搬送される。   As shown in FIG. 1, the printing system 1 includes a printing device 2, a bracket 6, a controller 7 (see FIG. 3), and a platen roller Q. Hereinafter, in order to facilitate understanding of the description of the drawings, upper, lower, left, right, front, and rear of each component included in the printing system 1 are defined. The upper side, the lower side, the left side, the right side, the front side, and the rear side of the printing device 2 and the bracket 6 are respectively the upper side, the lower side, the diagonally left upper side, the diagonally right lower side, the diagonally left lower side, and the diagonally right upper side in FIG. Correspond. In FIG. 1, the conveyance direction of the print medium P coincides with the left-right direction. The print medium P is conveyed leftward (in the direction of arrow Y1) by the external device 8.

<カセット9>
印刷システム1では、印刷装置2のカセット装着部20にカセット9が装着された状態で、印刷媒体Pに対する印刷が行われる。印刷装置2は、カセット9のインクリボン9A(図2参照)を加熱することで印刷を実行する。図2に示すように、カセット9は、蓋91、シャフト92A〜92F、供給ロール90A、及び巻取ロール90Bを有する。シャフト92A〜92Fは、前後方向に延びる回転軸を中心として回転可能なスピンドルである。シャフト92A〜92Fは、蓋91の後面から後方に延びる。
<Cassette 9>
In the printing system 1, printing is performed on the printing medium P with the cassette 9 mounted in the cassette mounting unit 20 of the printing device 2. The printing device 2 executes printing by heating the ink ribbon 9A (see FIG. 2) of the cassette 9. As shown in FIG. 2, the cassette 9 has a lid 91, shafts 92A to 92F, a supply roll 90A, and a winding roll 90B. The shafts 92A to 92F are spindles that can rotate around a rotation axis that extends in the front-rear direction. The shafts 92A to 92F extend rearward from the rear surface of the lid 91.

シャフト92A、92Fは、蓋91の上下方向の中心よりも上方において左右方向に並ぶ。シャフト92Aには、長尺状のインクリボン9Aの一端が接続されたスプール921が装着される。シャフト92Fには、インクリボン9Aの他端が接続されたスプール922が装着される。スプール921、922は、それぞれ、インクリボン9Aがロール状に巻回される。スプール921にインクリボン9Aが巻回されることにより、供給ロール90Aが構成される。スプール922にインクリボン9Aが巻回されることにより、巻取ロール90Bが構成される。   The shafts 92A and 92F are arranged in the left-right direction above the center of the lid 91 in the vertical direction. A spool 921 to which one end of a long ink ribbon 9A is connected is attached to the shaft 92A. A spool 922 to which the other end of the ink ribbon 9A is connected is attached to the shaft 92F. The ink ribbon 9A is wound around each of the spools 921 and 922 in a roll shape. The supply roll 90A is configured by winding the ink ribbon 9A around the spool 921. By winding the ink ribbon 9A around the spool 922, a take-up roll 90B is formed.

インクリボン9Aは、印刷装置2によって供給ロール90Aから繰り出され、巻取ロール90Bに巻き取られる。シャフト92Bは、蓋91の右上の隅に設けられる。シャフト92Cは、蓋91の右下の隅に設けられる。シャフト92Dは、蓋91の左下の隅に設けられる。シャフト92Eは、蓋91の左上の隅に設けられる。シャフト92B〜92Eのそれぞれの周面の一部に、供給ロール90Aと巻取ロール90Bとの間に張り渡されるインクリボン9Aが接触する。   The ink ribbon 9A is unwound from the supply roll 90A by the printing device 2 and wound around the winding roll 90B. The shaft 92B is provided in the upper right corner of the lid 91. The shaft 92C is provided in the lower right corner of the lid 91. The shaft 92D is provided in the lower left corner of the lid 91. The shaft 92E is provided in the upper left corner of the lid 91. The ink ribbon 9A stretched between the supply roll 90A and the take-up roll 90B comes into contact with a part of the peripheral surface of each of the shafts 92B to 92E.

<プラテンローラQ>
図1及び図2に示すように、プラテンローラQは円柱状である。プラテンローラQは、前後方向に延びる回転軸を中心として回転可能である。プラテンローラQの上方に、印刷装置2が配置される。プラテンローラQは、印刷装置2のサーマルヘッド24との間に、印刷媒体P及びインクリボン9Aを挟む。プラテンローラQは、外部機器8により搬送される印刷媒体Pに対して下方から接触し、インクリボン9Aに印刷媒体Pを押し付ける。
<Platen roller Q>
As shown in FIGS. 1 and 2, the platen roller Q has a cylindrical shape. The platen roller Q is rotatable around a rotation shaft extending in the front-rear direction. The printing device 2 is arranged above the platen roller Q. The platen roller Q sandwiches the print medium P and the ink ribbon 9A with the thermal head 24 of the printing apparatus 2. The platen roller Q contacts the print medium P conveyed by the external device 8 from below and presses the print medium P against the ink ribbon 9A.

<印刷装置2>
印刷装置2は、熱転写型のサーマルプリンタである。図2及び図3に示すように、印刷装置2は、供給部22、巻取部23、サーマルヘッド24、非図示の制御基板、第一モータ26、27、第三モータ28等を備える。図2に示すカセット9が印刷装置2のカセット装着部20に装着された場合、シャフト92Aは供給部22に接続され、シャフト92Fは巻取部23に接続される。シャフト92Aのスプール921に巻回された供給ロール90Aは、供給部22に装着される。シャフト92Fのスプール922に巻回された巻取ロール90Bは、巻取部23に装着される。
<Printing device 2>
The printing device 2 is a thermal transfer type thermal printer. As shown in FIGS. 2 and 3, the printing device 2 includes a supply unit 22, a winding unit 23, a thermal head 24, a control board (not shown), first motors 26 and 27, a third motor 28, and the like. When the cassette 9 shown in FIG. 2 is mounted in the cassette mounting unit 20 of the printing apparatus 2, the shaft 92A is connected to the supply unit 22 and the shaft 92F is connected to the winding unit 23. The supply roll 90A wound around the spool 921 of the shaft 92A is attached to the supply unit 22. The winding roll 90B wound around the spool 922 of the shaft 92F is mounted on the winding unit 23.

第一モータ26、27は、ステッピングモータである。第一モータ26は、供給部22を回転駆動することで、供給部22に装着された供給ロール90Aを回転可能である。第一モータ27は、巻取部23を回転駆動することで、巻取部23に装着された巻取ロール90Bを回転可能である。印刷装置2にカセット9が装着された状態で第一モータ26、27が回転した場合、インクリボン9Aは供給ロール90A及び巻取ロール90B間で、シャフト92B〜92Eに接触して案内されながら、印刷装置2内を搬送される。   The first motors 26 and 27 are stepping motors. The first motor 26 is capable of rotating the supply roll 90A mounted on the supply unit 22 by rotating the supply unit 22. The first motor 27 is capable of rotating the take-up roll 90 mounted on the take-up unit 23 by rotating the take-up unit 23. When the first motors 26 and 27 rotate while the cassette 9 is attached to the printing device 2, the ink ribbon 9A is guided between the supply roll 90A and the take-up roll 90B while contacting the shafts 92B to 92E. It is conveyed in the printing device 2.

詳細には、供給ロール90A及び巻取ロール90Bが、図2における印刷装置2を前方から見た状態で反時計回り方向である正転方向に回転するとき、インクリボン9Aは供給ロール90Aから繰り出され、巻取ロール90Bに巻き取られる。供給ロール90A及び巻取ロール90Bが、図2における印刷装置2を前方から見た状態で時計回り方向である反転方向に回転するとき、インクリボン9Aは巻取ロール90Bから繰り出され、供給ロール90Aに巻き取られる。   Specifically, when the supply roll 90A and the take-up roll 90B rotate in the forward rotation direction which is the counterclockwise direction when the printing apparatus 2 in FIG. 2 is viewed from the front, the ink ribbon 9A is unwound from the supply roll 90A. And is wound around the winding roll 90B. When the supply roll 90A and the take-up roll 90B rotate in the reverse direction, which is the clockwise direction when the printing apparatus 2 in FIG. 2 is viewed from the front, the ink ribbon 9A is unwound from the take-up roll 90B and the supply roll 90A. To be wound up.

サーマルヘッド24は、前後方向に直線状に並んだ複数の発熱体を有するラインサーマルヘッドである。サーマルヘッド24は、供給部22から繰り出されてから、巻取部23で巻き取られるまでのインクリボン9Aの搬送経路Fに隣接する。サーマルヘッド24は、カセット9の供給ロール90Aから巻取ロール90Bに向けて搬送されるインクリボン9Aのうち、シャフト92C、92D間に張り渡された部分に上側から接触する。サーマルヘッド24は、印刷装置2の下方に配置されたプラテンローラQとの間に、印刷媒体P及びインクリボン9Aを挟む。サーマルヘッド24は、印刷媒体Pにインクリボン9Aを押し付けながらインクリボン9Aを加熱することによって、印刷媒体Pに対する印刷を行う。   The thermal head 24 is a line thermal head having a plurality of heating elements linearly arranged in the front-rear direction. The thermal head 24 is adjacent to the transport path F of the ink ribbon 9A from when the thermal head 24 is unwound from the supply unit 22 to when it is wound up by the winding unit 23. The thermal head 24 contacts the portion of the ink ribbon 9A conveyed from the supply roll 90A of the cassette 9 toward the take-up roll 90B, which is stretched between the shafts 92C and 92D, from above. The thermal head 24 sandwiches the print medium P and the ink ribbon 9A between the thermal head 24 and the platen roller Q arranged below the printing device 2. The thermal head 24 prints on the print medium P by heating the ink ribbon 9A while pressing the ink ribbon 9A against the print medium P.

第三モータ28は、ステッピングモータである。第三モータ28は、ギアを介して、サーマルヘッド24をヘッド位置24A、24B間で上下方向に移動させる。サーマルヘッド24は、下方に移動することによってプラテンローラQに接近し、上方に移動することによってプラテンローラQから離れる。サーマルヘッド24の移動方向(上下方向)は、シャフト92C、92D間で搬送されるインクリボン9Aの搬送方向(左右方向)と直交する。ヘッド位置24Bは、サーマルヘッド24がインクリボン9Aから接触して、インクリボン9AをプラテンローラQに向けて付勢する位置である。ヘッド位置24Aは、サーマルヘッド24がヘッド位置24Bよりも上方に配置され、プラテンローラQに対するインクリボン9Aの付勢を解除する位置である。   The third motor 28 is a stepping motor. The third motor 28 moves the thermal head 24 vertically between the head positions 24A and 24B via a gear. The thermal head 24 moves downward to approach the platen roller Q, and moves upward to move away from the platen roller Q. The moving direction (vertical direction) of the thermal head 24 is orthogonal to the carrying direction (horizontal direction) of the ink ribbon 9A carried between the shafts 92C and 92D. The head position 24B is a position where the thermal head 24 comes into contact with the ink ribbon 9A and urges the ink ribbon 9A toward the platen roller Q. The head position 24A is a position where the thermal head 24 is disposed above the head position 24B and releases the bias of the ink ribbon 9A to the platen roller Q.

<ブラケット6>
図1に示すように、ブラケット6は、インクリボン9Aの幅方向Y2、即ち、印刷媒体P(図2参照)の搬送方向である左右方向と直交する前後方向に印刷装置2を移動させる。ブラケット6は、第二モータ62、第一センサ63、第二センサ64、及びスイッチ65を有する。支持部61は、前後方向に長い略箱状を有する。リードスクリューは、支持部61の内部に配置され、前後方向に延びる。支持部61は其の内部に、非図示のリードスクリュー及びボールねじを有する。ボールねじは、リードスクリューに螺合し、リードスクリューの回転に応じて前後方向に移動する。ボールねじは、印刷装置2の右端に設けられた連結部21に接続する。第二モータ62は、ステッピングモータであり、回転軸は、リードスクリューの後端部と連結する。印刷装置2は、第二モータ62を駆動源とするリードスクリューの回転によってボールねじが前後方向に移動することに応じ、前後方向に移動する。第一センサ63は、印刷装置2の可動範囲Rの一端部(前端部)に設けられたアブソリュートセンサである。第一センサ63の出力値は、基準となる原点Bから、第二モータ62の回転量に基づき、印刷装置2の現在位置を検出する処理に用いられる。第二センサ64は印刷装置2の可動範囲Rの他端部(後端部)に設けられた近接センサである。スイッチ65は、ブラケット6の前面に設けられた、ブラケット6に対する指示が入力される押しボタンスイッチである。
<Bracket 6>
As shown in FIG. 1, the bracket 6 moves the printer 2 in the width direction Y2 of the ink ribbon 9A, that is, in the front-back direction that is orthogonal to the left-right direction that is the transport direction of the print medium P (see FIG. 2). The bracket 6 has a second motor 62, a first sensor 63, a second sensor 64, and a switch 65. The support portion 61 has a substantially box shape that is long in the front-rear direction. The lead screw is arranged inside the support portion 61 and extends in the front-rear direction. The support part 61 has a lead screw and a ball screw (not shown) therein. The ball screw is screwed on the lead screw and moves in the front-rear direction according to the rotation of the lead screw. The ball screw is connected to the connecting portion 21 provided at the right end of the printing device 2. The second motor 62 is a stepping motor, and the rotating shaft is connected to the rear end portion of the lead screw. The printing device 2 moves in the front-rear direction when the ball screw moves in the front-rear direction by the rotation of the lead screw driven by the second motor 62. The first sensor 63 is an absolute sensor provided at one end (front end) of the movable range R of the printing device 2. The output value of the first sensor 63 is used for the process of detecting the current position of the printing device 2 from the reference origin B based on the rotation amount of the second motor 62. The second sensor 64 is a proximity sensor provided at the other end (rear end) of the movable range R of the printing device 2. The switch 65 is a push button switch provided on the front surface of the bracket 6 for inputting an instruction to the bracket 6.

<コントローラ7>
図3に示すように、コントローラ7は印刷装置2及び外部機器8の間のデータの送受信を仲介する。コントローラ7は、印刷装置2が印刷を実行するために必要なデータを、印刷装置2に出力する。コントローラ7から印刷装置2に出力されるデータの具体例として、印刷イメージ(画像)のデータが挙げられる。コントローラ7は、外部機器8から出力される信号を印刷装置2に伝達する。外部機器8から出力される信号として、印刷媒体Pの搬送開始信号/搬送停止信号、印刷媒体Pの搬送速度を示す速度信号、印刷媒体Pに対する印刷時期を通知するための印刷信号が挙げられる。
<Controller 7>
As shown in FIG. 3, the controller 7 mediates transmission and reception of data between the printing device 2 and the external device 8. The controller 7 outputs the data necessary for the printing device 2 to execute printing to the printing device 2. A specific example of the data output from the controller 7 to the printing device 2 is print image data. The controller 7 transmits the signal output from the external device 8 to the printing device 2. Examples of signals output from the external device 8 include a conveyance start signal / conveyance stop signal for the print medium P, a speed signal indicating the conveyance speed of the print medium P, and a print signal for notifying the print timing for the print medium P.

<電気的構成>
図3を参照し、印刷システム1の電気的構成について説明する。印刷装置2は、制御部2A、記憶部2B、通信インタフェース2C、サーマルヘッド24、第一モータ26、27、及び第三モータ28を有する。制御部2A、記憶部2B、及び通信インタフェース2Cは、非図示の制御基板に実装される。制御部2Aは、記憶部2B、通信インタフェース2C、サーマルヘッド24、第一モータ26、27、第三モータ28と電気的に接続する。
<Electrical configuration>
The electrical configuration of the printing system 1 will be described with reference to FIG. The printing device 2 includes a control unit 2A, a storage unit 2B, a communication interface 2C, a thermal head 24, first motors 26 and 27, and a third motor 28. The control unit 2A, the storage unit 2B, and the communication interface 2C are mounted on a control board (not shown). The control unit 2A is electrically connected to the storage unit 2B, the communication interface 2C, the thermal head 24, the first motors 26 and 27, and the third motor 28.

制御部2Aは、記憶部2Bに記憶されたプログラムを読み出して実行することにより、メイン処理(図4参照)を実行する。記憶部2Bには、制御部2Aがメイン処理を実行するためのプログラムが記憶される。通信インタフェース2Cは、印刷装置2とコントローラ7との間で通信を行うためのインタフェース素子である。通信インタフェース2Cは、通信ケーブルを介してコントローラ7に接続される。   The control unit 2A executes the main process (see FIG. 4) by reading and executing the program stored in the storage unit 2B. The storage unit 2B stores a program for the control unit 2A to execute the main process. The communication interface 2C is an interface element for performing communication between the printing device 2 and the controller 7. The communication interface 2C is connected to the controller 7 via a communication cable.

サーマルヘッド24は、制御部2Aからの制御信号に応じて、発熱体に通電して発熱させる。第一モータ26は、制御部2Aから出力されるパルス信号に応じて回転することで、供給部22を回転させる。第一モータ27は、制御部2Aから出力されるパルス信号に応じて回転することで、巻取部23を回転させる。第三モータ28は、制御部2Aから出力されるパルス信号に応じて回転することで、サーマルヘッド24を上下方向に移動させる。   The thermal head 24 energizes the heating element to generate heat according to a control signal from the control unit 2A. The first motor 26 rotates the supply unit 22 by rotating according to the pulse signal output from the control unit 2A. The first motor 27 rotates the winding unit 23 by rotating according to the pulse signal output from the control unit 2A. The third motor 28 rotates in response to the pulse signal output from the control unit 2A to move the thermal head 24 in the vertical direction.

ブラケット6の第二モータ62、センサ63、64は及びスイッチ65は、制御部2Aと電気的に接続する。第二モータ62は、制御部2Aから出力されるパルス信号に応じて回転することで、印刷装置2を前後方向に移動させる。センサ63、64は各々、制御部2Aに、検出結果を入力する。スイッチ65は、ブラケット6に対する指示を制御部2Aに入力する。   The second motor 62 of the bracket 6, the sensors 63 and 64, and the switch 65 are electrically connected to the control unit 2A. The second motor 62 moves in the front-back direction by rotating according to the pulse signal output from the control unit 2A. The sensors 63 and 64 each input the detection result to the control unit 2A. The switch 65 inputs an instruction for the bracket 6 to the control unit 2A.

コントローラ7は、制御部2A、記憶部7B、通信インタフェース7C、7Dを有する。通信インタフェース7Cは、印刷装置2とコントローラ7との間で通信を行うためのインタフェース素子である。通信インタフェース7Cは、通信ケーブルを介して印刷装置2に接続される。通信インタフェース7Dは、外部機器8とコントローラ7との間で通信を行うためのインタフェース素子である。通信インタフェース7Dは、通信ケーブルを介して外部機器8に接続される。記憶部7Bには、印刷装置2が印刷を実行するために必要なデータが記憶される。制御部2Aは、記憶部7B及び通信インタフェース7C、7Dと電気的に接続する。制御部2Aは、印刷装置2が印刷を実行するために必要なデータを記憶部7Bから読み出し、通信インタフェース7Cを介して印刷装置2に出力する。制御部2Aは、通信インタフェース7Dを介して外部機器8から取得された信号を検出し、通信インタフェース7Cを介して印刷装置2に出力する。   The controller 7 has a control unit 2A, a storage unit 7B, and communication interfaces 7C and 7D. The communication interface 7C is an interface element for performing communication between the printing device 2 and the controller 7. The communication interface 7C is connected to the printing device 2 via a communication cable. The communication interface 7D is an interface element for communicating between the external device 8 and the controller 7. The communication interface 7D is connected to the external device 8 via a communication cable. The storage unit 7B stores data necessary for the printing device 2 to perform printing. The control unit 2A is electrically connected to the storage unit 7B and the communication interfaces 7C and 7D. The control unit 2A reads out data necessary for the printing apparatus 2 to execute printing from the storage unit 7B and outputs the data to the printing apparatus 2 via the communication interface 7C. The control unit 2A detects a signal acquired from the external device 8 via the communication interface 7D and outputs the signal to the printing device 2 via the communication interface 7C.

外部機器8は、制御部8A、操作パネル8B、通信インタフェース8Cを有する。操作パネル8Bは、外部機器8に対する指示が入力される。通信インタフェース8Cは、外部機器8とコントローラ7との間で通信を行うためのインタフェース素子である。通信インタフェース8Cは、通信ケーブルを介してコントローラ7に接続する。制御部8Aは、操作パネル8B及び通信インタフェース8Cと電気的に接続する。制御部8Aは、操作パネル8Bに対して入力された指示を受け付ける。制御部8Aは、通信インタフェース8Cを介して各種信号をコントローラ7に出力する。   The external device 8 has a control unit 8A, an operation panel 8B, and a communication interface 8C. Instructions for the external device 8 are input to the operation panel 8B. The communication interface 8C is an interface element for communicating between the external device 8 and the controller 7. The communication interface 8C connects to the controller 7 via a communication cable. The control unit 8A is electrically connected to the operation panel 8B and the communication interface 8C. The control unit 8A receives an instruction input to the operation panel 8B. The control unit 8A outputs various signals to the controller 7 via the communication interface 8C.

図4に示す具体例を用いて、制御部2Aによって実行される図5に示すメイン処理を説明する。図4に示すように、具体例は、アルファベット文字「A」と、該文字を囲う矩形とを含む画像Gを、インクリボン9Aの幅方向Y2に並ぶ最大4つの領域を使用して順に印刷する場合である。メイン処理では、印刷装置2は印刷準備期間中にブラケット6により、印刷媒体Pに対してインクリボン9Aの幅方向Y2に移動され、各画像Gが印刷媒体Pの同じ位置に順に印刷される。具体例ではメイン処理の途中で、作業者の指示に応じてインクリボン9Aの幅方向Y2における印刷媒体Pの印刷位置の変更が受け付けられる。以下の説明では、搬送方向Y1の画像Gの並びを行、幅方向のY2の画像Gの並びを列ともいい。Y行、X列の領域を領域(Y,X)とも表記する。メイン処理を実行するための指示を含むプログラムは記憶部2Bに記憶されている。制御部2Aは、印刷装置2の起動後、該プログラムを記憶部2BのRAM上で展開し、以下の処理を実行する。制御部2Aは、印刷装置2を、準備モードM1、設定モードM2及び印刷モードM3の3つの運転モードの何れかで駆動し、処理を実行する。画像Gの印刷に使用できるインクリボン9Aの幅方向Y2の長さW_pは、インクリボン9Aの幅方向Y2の長さ(端部の余白を除く)、サーマルヘッド24の幅方向Y2の長さ、及び幅方向Y2におけるインクリボン9A及びサーマルヘッド24の相対位置によって規定される。説明を簡単にするために、以下の説明では、インクリボン9Aの使用可能範囲Nは、インクリボン9Aの幅方向Y2の延設範囲全体とし、インクリボン9Aの使用可能範囲Nの幅方向Y2の長さを長さW_pとする。   The main processing shown in FIG. 5 executed by the control unit 2A will be described using the specific example shown in FIG. As shown in FIG. 4, in a specific example, an image G including an alphabetic character “A” and a rectangle surrounding the character is printed in order using a maximum of four regions arranged in the width direction Y2 of the ink ribbon 9A. This is the case. In the main process, the printing device 2 is moved in the width direction Y2 of the ink ribbon 9A with respect to the print medium P by the bracket 6 during the print preparation period, and each image G is sequentially printed at the same position on the print medium P. In the specific example, in the middle of the main process, a change in the print position of the print medium P in the width direction Y2 of the ink ribbon 9A is accepted according to an instruction from the operator. In the following description, the arrangement of the images G in the transport direction Y1 is also called a row, and the arrangement of the images G in the width direction Y2 is also called a column. A region of Y row and X column is also referred to as a region (Y, X). A program including an instruction for executing the main process is stored in the storage unit 2B. After starting the printing apparatus 2, the control unit 2A loads the program on the RAM of the storage unit 2B and executes the following processing. The control unit 2A drives the printing apparatus 2 in any of the three operation modes of the preparation mode M1, the setting mode M2, and the printing mode M3, and executes the processing. The length W_p of the ink ribbon 9A in the width direction Y2 that can be used to print the image G is the length of the ink ribbon 9A in the width direction Y2 (excluding the margins at the ends), the length of the thermal head 24 in the width direction Y2, And the relative position of the ink ribbon 9A and the thermal head 24 in the width direction Y2. In order to simplify the description, in the following description, the usable range N of the ink ribbon 9A is the entire extension range of the ink ribbon 9A in the width direction Y2, and the usable range N of the ink ribbon 9A in the width direction Y2. Let the length be the length W_p.

図5に示すように、制御部2Aは、電源がONになった後、準備モードM1で駆動し、インクリボン9Aの幅方向Y2において、印刷装置2の原点Bが検出済みであるかを判断する(S1)。制御部2Aは例えば原点検出フラグがOFFである時に、原点Bが検出済みでないと判断する。原点検出フラグの初期値はOFFである。印刷装置2の原点Bが検出済みではない時(S1:NO)、制御部2Aは、原点検出処理を実行する(S2)。具体的には、制御部2Aは、第二モータ62を制御して、印刷装置2を可動範囲Rの一端部(前端部)に向けて移動させる。図6(A)に示すように、制御部2Aは、第一センサ63が検出された場合に、原点B(前側可動限界)を検出し、第二モータ62を制御して、印刷装置2の移動を停止する。制御部2Aは原点検出フラグをONに設定する。   As shown in FIG. 5, the control unit 2A drives in the preparation mode M1 after the power is turned on, and determines whether or not the origin B of the printing device 2 has been detected in the width direction Y2 of the ink ribbon 9A. Yes (S1). The control unit 2A determines that the origin B has not been detected, for example, when the origin detection flag is OFF. The initial value of the origin detection flag is OFF. When the origin B of the printing device 2 has not been detected (S1: NO), the control unit 2A executes origin detection processing (S2). Specifically, the control unit 2A controls the second motor 62 to move the printing device 2 toward one end (front end) of the movable range R. As shown in FIG. 6A, when the first sensor 63 is detected, the control unit 2A detects the origin B (front side movable limit), controls the second motor 62, and controls the printing device 2. Stop moving. The control unit 2A sets the origin detection flag to ON.

原点検出済みである場合(S1:YES)、又はS2の次に、制御部2Aはインクリボン9Aの幅方向Y2における、印刷装置2の可動範囲Rが検出済みであるかを判断する(S3)。制御部2Aは例えば可動範囲検出フラグがOFFである時に、可動範囲Rが検出済みでないと判断する。可動範囲検出フラグの初期値はOFFである。印刷装置2の可動範囲Rが検出済みではない場合(S3:NO)、制御部2Aは可動範囲検出処理を実行する(S4)。具体的には、制御部2Aは、第二モータ62を制御して、印刷装置2を印刷装置2の可動範囲Rの他端部(後側可動限界、可動限界W)に向けて移動させる。図6(B)に示すように、制御部2Aは、第二センサ64が検出された場合に、印刷装置2の可動範囲Rを検出し、第二モータ62を制御して、印刷装置2の移動を停止する。制御部2Aは、S4で検出された原点Bからの、第二モータ62の駆動量を可動範囲Rの長さとして取得する。制御部2Aは可動範囲検出フラグをONに設定し、可動範囲Rの長さR_maxを記憶する。   If the origin has been detected (S1: YES), or after S2, the control unit 2A determines whether the movable range R of the printing device 2 in the width direction Y2 of the ink ribbon 9A has been detected (S3). .. For example, when the movable range detection flag is OFF, the control unit 2A determines that the movable range R has not been detected. The initial value of the movable range detection flag is OFF. When the movable range R of the printing device 2 has not been detected (S3: NO), the control unit 2A executes the movable range detection process (S4). Specifically, the control unit 2A controls the second motor 62 to move the printing device 2 toward the other end (rear side movable limit, movable limit W) of the movable range R of the printing device 2. As shown in FIG. 6B, when the second sensor 64 is detected, the control unit 2A detects the movable range R of the printing device 2 and controls the second motor 62 to cause the printing device 2 to move. Stop moving. The control unit 2A acquires the drive amount of the second motor 62 from the origin B detected in S4 as the length of the movable range R. The control unit 2A sets the movable range detection flag to ON and stores the length R_max of the movable range R.

制御部2Aは、記憶部2Bに記憶された印刷装置2の現在位置及び印刷装置2のホームポジションDの設定情報を参照し、印刷装置2がホームポジションDに位置するかを判断する(S5)。ホームポジションDは、インクリボン9Aの幅方向Y2における印刷装置2の可動範囲R内に設定された、可動範囲R内よりも狭く、且つ、連続した使用可能範囲Jの一端部(後端部)である。ホームポジションDは、予め設定され記憶部2Bに記憶されてもよいし、ユーザにより設定されてもよい。可動範囲R検出後は、印刷装置2は可動限界Wにあり、ホームポジションDには位置しない(S5:NO)。この場合制御部2Aは、図6(C)に示すように、第二モータ62を制御して、印刷装置2をホームポジションDに向けて移動させる(S6)。制御部2Aは、印刷装置2の現在位置を第二モータ62の駆動量に応じて更新し、更新された現在位置が、印刷装置2がホームポジションDの位置を示すR_homeに達した場合に、第二モータ62を制御して、印刷装置2の移動を停止する。   The control unit 2A refers to the current position of the printing device 2 and the setting information of the home position D of the printing device 2 stored in the storage unit 2B, and determines whether the printing device 2 is located at the home position D (S5). .. The home position D is narrower than the movable range R, which is set within the movable range R of the printing device 2 in the width direction Y2 of the ink ribbon 9A, and is one end (rear end) of the continuous usable range J. Is. Home position D may be set in advance and stored in storage unit 2B, or may be set by the user. After the movable range R is detected, the printing device 2 is at the movable limit W and is not located at the home position D (S5: NO). In this case, the control unit 2A controls the second motor 62 to move the printing device 2 toward the home position D, as shown in FIG. 6C (S6). The control unit 2A updates the current position of the printing device 2 according to the drive amount of the second motor 62, and when the updated current position reaches R_home indicating the position of the home position D of the printing device 2, The second motor 62 is controlled to stop the movement of the printing device 2.

印刷装置2がホームポジションDにいる場合(S5:YES)、又はS6の次に、制御部2Aは、運転モードを準備モードM1から設定モードM2に切り替える。制御部2Aは、ホームポジションDの設定を変更する指示が検出されたかを判断する(S7)。作業者はホームポジションDを設定変更したい場合に、スイッチ65又は外部機器8を操作して、ホームポジションDの設定を変更する指示を入力する。ホームポジションDの設定を変更する指示が検出された場合(S7:YES)、制御部2Aは、検出された指示に従って、ホームポジションDの設定を変更し、処理をS6に移行させて、運転モードを設定モードM2から準備モードM1に切り替える。ホームポジションDを変更する指示が検出されていない場合(S7:NO)、制御部2Aは、インクリボン9Aを交換する指示が入力されたかを判断する(S9)。作業者は、インクリボン9Aの残量が規定値より少ない場合に、カセット9をカセット装着部20から取り外し、使用中のインクリボン9Aを取り外すことでインクリボン9Aを交換する指示を入力する。   When the printer 2 is in the home position D (S5: YES), or after S6, the control unit 2A switches the operation mode from the preparation mode M1 to the setting mode M2. The control unit 2A determines whether an instruction to change the setting of the home position D is detected (S7). When the operator wants to change the setting of the home position D, he or she operates the switch 65 or the external device 8 to input an instruction to change the setting of the home position D. When the instruction to change the setting of the home position D is detected (S7: YES), the control unit 2A changes the setting of the home position D according to the detected instruction, shifts the processing to S6, and then the operation mode. Is switched from the setting mode M2 to the preparation mode M1. When the instruction to change the home position D is not detected (S7: NO), the controller 2A determines whether the instruction to replace the ink ribbon 9A has been input (S9). When the remaining amount of the ink ribbon 9A is less than the specified value, the operator removes the cassette 9 from the cassette mounting portion 20 and inputs an instruction to replace the ink ribbon 9A by removing the ink ribbon 9A in use.

インクリボン9Aを交換する指示が検出された場合(S9:YES)、制御部2Aは、インクリボン交換処理を実行する。制御部2Aは、作業者が、カセット9をカセット装着部20に装着後、インクリボン9Aの残量を確認し、インクリボン交換処理を終了させる。制御部2Aは、インクリボン9Aの交換処理が終了した後に、処理をS1に戻し、運転モードを設定モードM2から準備モードM1に切り替える。S1では、原点検出フラグに基づき原点Bが検出済みと判断され(S1:YES)、前述の原点検出処理は実行されずにS3の処理が実行される。S3では、可動範囲検出フラグに基づき可動範囲Rが検出済みであると判断され(S3:YES)、前述の可動範囲検出処理は実行されずに、S5の処理が実行される。   When the instruction to replace the ink ribbon 9A is detected (S9: YES), the control unit 2A executes the ink ribbon replacement process. After the operator mounts the cassette 9 on the cassette mounting unit 20, the control unit 2A confirms the remaining amount of the ink ribbon 9A and ends the ink ribbon replacement process. After the replacement process of the ink ribbon 9A is completed, the control unit 2A returns the process to S1 and switches the operation mode from the setting mode M2 to the preparation mode M1. In S1, it is determined that the origin B has been detected based on the origin detection flag (S1: YES), and the above-described origin detection processing is not executed and the processing of S3 is executed. In S3, it is determined that the movable range R has been detected based on the movable range detection flag (S3: YES), and the process of S5 is executed without executing the above-described movable range detection process.

インクリボン9Aを交換する指示が検出されない場合(S9:NO)、制御部2Aは、位置校正が必要かを判断する(S11)。制御部2Aは、電源の一時的なOFF等により、現在位置が消失した場合に、位置校正が必要であると判断し、原点検出フラグをOFFに設定する。位置校正が必要である場合(S11:YES)、制御部2Aは、処理をS1に戻し、運転モードを設定モードM2から準備モードM1に切り替える。S1では、原点検出フラグに基づき原点Bが検出済みでないと判断され(S1:NO)、前述の原点検出処理が実行される(S2)。S3では、可動範囲検出フラグに基づき可動範囲Rが検出済みであると判断され(S3:YES)、前述の可動範囲検出処理は実行されずに、S5の処理が実行され、新たにS2で検出された原点Bを基準として現在位置が取得される。   When the instruction to replace the ink ribbon 9A is not detected (S9: NO), the controller 2A determines whether the position calibration is necessary (S11). The control unit 2A determines that the position calibration is necessary when the current position disappears due to a temporary power off or the like, and sets the origin detection flag to OFF. When the position calibration is necessary (S11: YES), the control unit 2A returns the process to S1 and switches the operation mode from the setting mode M2 to the preparation mode M1. In S1, it is determined that the origin B has not been detected based on the origin detection flag (S1: NO), and the above-mentioned origin detection processing is executed (S2). In S3, it is determined that the movable range R has been detected based on the movable range detection flag (S3: YES), the above-described movable range detection process is not executed, the process of S5 is executed, and a new detection is performed in S2. The current position is acquired with reference to the origin B thus determined.

位置校正が必要ではない場合(S11:NO)、制御部2Aは、印刷開始指示を取得したかを判断する(S12)。外部機器8は、印刷媒体Pの搬送を開始する搬送開始信号、及び印刷媒体Pの搬送速度を示す速度信号をコントローラ7に出力する。印刷装置2は、コントローラ7を介して、搬送開始信号を印刷開始指示として取得して記憶部2Bに記憶する。印刷開始指示が取得されていない場合(S12:NO)、制御部2Aは、処理をS7に戻す。印刷開始指示が取得された場合(S12:YES)、制御部2Aは、運転モードを設定モードM2から印刷モードM3に切り替えて、印刷モード処理を実行する(S13)。   When the position calibration is not necessary (S11: NO), the control unit 2A determines whether the print start instruction has been acquired (S12). The external device 8 outputs to the controller 7 a transport start signal for starting the transport of the print medium P and a speed signal indicating the transport speed of the print medium P. The printing apparatus 2 acquires the transport start signal as a print start instruction via the controller 7 and stores it in the storage unit 2B. When the print start instruction has not been acquired (S12: NO), the control unit 2A returns the process to S7. When the print start instruction is acquired (S12: YES), the control unit 2A switches the operation mode from the setting mode M2 to the print mode M3 and executes the print mode process (S13).

図7に示すように、印刷モード処理では、制御部2Aはインクリボン9Aの幅方向Y2に並ぶ領域数を規定する所定値Cを更新する(S20)。具体例では、コントローラ7から取得されたデータに基づき、所定値Cとして4が設定される。制御部2Aは、領域数に1を設定する(S21)。制御部2Aは、印刷装置2の移動方向に前方を設定する(S22)。制御部2Aは、印刷指示を取得したか否かを判断する(S23)。外部機器8は、印刷媒体Pに対する印刷時期を通知する印刷指示をコントローラ7に繰り返し出力する。印刷装置2は、コントローラ7を介して印刷指示を繰り返し取得する。コントローラ7を介して印刷指示が取得された場合(S23:YES)、制御部2Aはコントローラ7から取得されたデータに基づき画像Gを印刷する(S24)。   As shown in FIG. 7, in the print mode process, the control unit 2A updates the predetermined value C that defines the number of regions arranged in the width direction Y2 of the ink ribbon 9A (S20). In the specific example, 4 is set as the predetermined value C based on the data acquired from the controller 7. The control unit 2A sets the number of areas to 1 (S21). The control unit 2A sets the front in the moving direction of the printing device 2 (S22). The control unit 2A determines whether or not a print instruction has been acquired (S23). The external device 8 repeatedly outputs a print instruction for notifying the print time for the print medium P to the controller 7. The printing device 2 repeatedly acquires the print instruction via the controller 7. When the print instruction is acquired via the controller 7 (S23: YES), the control unit 2A prints the image G based on the data acquired from the controller 7 (S24).

具体的には、制御部2Aは、印刷指示の取得に応じて、速度信号で示される搬送速度と同じ速度でインクリボン9Aが搬送されるように、第一モータ26、27を回転駆動して供給ロール90A及び巻取ロール90Bを正転方向に回転させる。制御部2Aは、第三モータ28を制御して、サーマルヘッド24を、ヘッド位置24Aからヘッド位置24Bに移動する。同時に、制御部2Aは、印刷データに基づきサーマルヘッド24を加熱し、インクリボン9Aの使用領域Eのインクを印刷媒体Pの印刷面に転写する。図6(C)に示すように、印刷順序が最初の画像Gの印刷は、印刷装置2がホームポジションDに位置する状態で、インクリボン9Aの内の最も前側に位置する使用領域E(1,1)が使用されて実行される。図8では、インクリボン9Aにおける今回の使用領域Eを黒色で示し、使用済領域を斜線、縦線及び格子状の網掛けされた実線で囲まれた領域で示し、未使用領域を点線で囲まれた白色の領域で示す。図8に示す具体例では、一の画像Gの印刷で加熱使用されるインクリボン9Aの使用領域(画像領域)Eは矩形状であり、使用領域Eの幅方向Y2長さは、インクリボン9Aの幅方向Y2長さの四分の一よりも小さい。画像Gの印刷は、S23で印刷装置2において印刷指示が取得される毎に繰り返し実行される。印刷が終了した場合、制御部2Aは、サーマルヘッド24の加熱を停止し、第三モータ28を制御して、サーマルヘッド24を、ヘッド位置24Bからヘッド位置24Aに移動する。制御部2Aは、第一モータ26、27の回転駆動を停止させる。   Specifically, the control unit 2A rotationally drives the first motors 26 and 27 so that the ink ribbon 9A is transported at the same speed as the transport speed indicated by the speed signal in response to the acquisition of the print instruction. The supply roll 90A and the winding roll 90B are rotated in the forward direction. The control unit 2A controls the third motor 28 to move the thermal head 24 from the head position 24A to the head position 24B. At the same time, the control unit 2A heats the thermal head 24 based on the print data and transfers the ink in the use area E of the ink ribbon 9A to the print surface of the print medium P. As shown in FIG. 6C, in the printing of the image G having the first printing order, the printing area 2 is located at the home position D, and the use area E (1) located at the frontmost side of the ink ribbon 9A is used. , 1) is used and executed. In FIG. 8, the used area E of this time on the ink ribbon 9A is shown in black, the used area is shown by an area surrounded by diagonal lines, vertical lines, and solid lines in a grid pattern, and the unused area is surrounded by a dotted line. It is shown by the white area. In the specific example shown in FIG. 8, the use area (image area) E of the ink ribbon 9A that is heated and used for printing one image G has a rectangular shape, and the width direction Y2 length of the use area E is the ink ribbon 9A. Is smaller than a quarter of the length Y2 in the width direction. The printing of the image G is repeatedly executed every time the printing instruction is acquired by the printing device 2 in S23. When printing is completed, the control unit 2A stops heating the thermal head 24 and controls the third motor 28 to move the thermal head 24 from the head position 24B to the head position 24A. The control unit 2A stops the rotation drive of the first motors 26 and 27.

本実施形態の印刷システム1は、インクリボン9Aの幅方向Y2の未使用領域を減らして印刷することが可能なラジアルリボンセーブ(RRS)機能を有する。印刷システム1では、一の画像Gの印刷後、次の画像Gの印刷開始までに、印刷装置2がインクリボン9Aの幅方向Y2(前後方向)に移動されることで、印刷装置2はインクリボン9Aの幅方向Y2の未使用領域を使用して次の画像Gの印刷を行う。具体的には、制御部2Aは現在の移動方向が前方に設定されているかを判断する(S25)。状態(a)に示す、印刷順序が最初の画像Gが印刷された後の移動方向は前方である(S25:YES)。制御部2Aは領域数を1だけインクリメントする(S26)。制御部2AはS26でインクリメントされた領域数がS20で更新された所定値Cよりも大きいかを判断する(S27)。具体例の所定値Cは4であり、状態(a)で印刷後の領域数は2であり、S24で一の画像Gが印刷された後、インクリボン9A上にインクリボン9Aの幅方向Y2に並ぶ、画像Gの印刷に使用した領域数が所定値Cより小さい(S27:NO)。この場合制御部2Aは、図6(D)に示すように、第二モータ62を制御して、印刷装置2を移動方向に距離K移動させる(S28)。S28の処理は、制御部2Aが第二モータ62を制御して、次の画像Gの印刷で使用される領域と、一の画像Gの印刷で使用された領域とが重ならない位置に、インクリボン9Aの幅方向Y2の長さより小さい距離K、インクリボン9Aの幅方向Y2に沿って印刷装置2を移動させる処理である。距離Kは、使用領域Eの前後方向長さと、所定の余白分の前後方向長さとを加えた距離である。使用領域E間の余白を考慮しない場合、距離Kは長さW_pをCで除した商で表される。状態(a)で印刷後、制御部2Aは、S28の処理により状態(b)に示すように、印刷媒体Pに対するインクリボン9Aの位置が、距離Kだけ前方に相対移動する。制御部2Aは、現在位置R_pを更新する。現在位置R_pは、例えば式(1)に基づき算出される。
現在位置R_p=R_home−距離K×(領域数−1) ・・・式(1)
制御部2Aは、第一モータ26、27を回転駆動して供給ロール90A及び巻取ロール90Bを反転方向に回転させることで、インクリボン9Aを使用領域Eの搬送方向長さ、及びインクリボン9Aの加速、減速分だけ供給ロール90A側に巻き戻す(S29)。
The printing system 1 of the present embodiment has a radial ribbon save (RRS) function capable of printing by reducing the unused area of the ink ribbon 9A in the width direction Y2. In the printing system 1, the printing apparatus 2 is moved in the width direction Y2 (front-back direction) of the ink ribbon 9A after printing one image G and before printing the next image G, so that the printing apparatus 2 prints ink. The next image G is printed using the unused area of the ribbon 9A in the width direction Y2. Specifically, the control unit 2A determines whether the current movement direction is set to the front (S25). The moving direction after the image G having the first printing order shown in the state (a) is printed is forward (S25: YES). The control unit 2A increments the number of areas by 1 (S26). The control unit 2A determines whether the number of areas incremented in S26 is larger than the predetermined value C updated in S20 (S27). The predetermined value C of the specific example is 4, the number of regions after printing is 2 in the state (a), and after one image G is printed in S24, the width direction Y2 of the ink ribbon 9A is printed on the ink ribbon 9A. The number of areas used for printing the image G arranged in line is smaller than the predetermined value C (S27: NO). In this case, the control unit 2A controls the second motor 62 to move the printing device 2 by the distance K in the movement direction as shown in FIG. 6 (D) (S28). In the process of S28, the control unit 2A controls the second motor 62 so that the area used for printing the next image G and the area used for printing the one image G do not overlap with each other. This is a process of moving the printing device 2 along the width direction Y2 of the ink ribbon 9A by a distance K smaller than the length of the ribbon 9A in the width direction Y2. The distance K is a distance obtained by adding the front-rear length of the use area E and the front-rear length of a predetermined margin. When the margin between the use areas E is not taken into consideration, the distance K is represented by the quotient of the length W_p divided by C. After printing in the state (a), the controller 2A moves the position of the ink ribbon 9A relative to the print medium P forward by the distance K as shown in the state (b) by the process of S28. The control unit 2A updates the current position R_p. The current position R_p is calculated based on, for example, Expression (1).
Current position R_p = R_home-distance K × (number of areas-1) Equation (1)
The control unit 2A rotationally drives the first motors 26 and 27 to rotate the supply roll 90A and the take-up roll 90B in the reverse direction, so that the ink ribbon 9A has a length in the transport direction of the use area E and the ink ribbon 9A. The acceleration and deceleration are rewound to the supply roll 90A side (S29).

制御部2Aは、印刷停止指示を取得したかを判断する(S49)。印刷停止指示が取得されていない場合(S49:NO)、制御部2Aは、処理をS23に戻す。状態(b)において、印刷指示が取得されると(S23:YES)、制御部2Aは状態(a)で印刷媒体Pに印刷された一の画像Gと同じ前後方向位置で、画像Gの印刷を実行する。制御部2Aは、印刷装置2が図6(D)に示す位置にある状態(b)において、使用済領域(1,1)の後方にある未使用領域(1,2)を使用して、画像Gの印刷を実行する(S24)。その後、制御部2Aは、図6(E)に示すように、S28の処理によって印刷媒体Pに対するインクリボン9Aの位置が距離Kだけ前方に相対移動する。以下同様に、制御部2Aは、印刷装置2が図6(E)に示す位置にある状態(c)において、使用済領域(1,2)の後方にある未使用領域(1,3)を使用して、画像Gの印刷を実行する。制御部2Aは、印刷装置2が図6(F)に示す位置にある状態(d)において、使用済領域(1,3)の後方にある未使用領域(1,4)を使用して、画像Gの印刷を実行する。これにより制御部2Aは、図4の領域(1,1)、領域(1,2)、領域(1,3)、及び領域(1,4)のインクリボン9Aの幅方向Y2に並ぶ4つの領域を使用して、4つの画像Gを順に印刷できる。   The control unit 2A determines whether the print stop instruction has been acquired (S49). When the print stop instruction has not been acquired (S49: NO), the control unit 2A returns the process to S23. In the state (b), when the print instruction is acquired (S23: YES), the control unit 2A prints the image G at the same front-back position as the one image G printed on the print medium P in the state (a). To execute. The control unit 2A uses the unused area (1, 2) behind the used area (1, 1) in the state (b) in which the printing device 2 is in the position shown in FIG. The image G is printed (S24). After that, as shown in FIG. 6E, the control unit 2A relatively moves the position of the ink ribbon 9A with respect to the print medium P forward by the distance K by the process of S28. Similarly, in the state (c) in which the printing apparatus 2 is in the position shown in FIG. 6E, the control unit 2A similarly sets the unused area (1, 3) behind the used area (1, 2). Then, the image G is printed. The control unit 2A uses the unused area (1, 4) behind the used area (1, 3) in the state (d) in which the printing device 2 is in the position shown in FIG. 6 (F), The image G is printed. As a result, the control unit 2A causes the area (1,1), the area (1,2), the area (1,3), and the four areas (1,4) in FIG. 4 arranged in the width direction Y2 of the ink ribbon 9A. The region can be used to print four images G in sequence.

印刷装置2が図6(F)に示す位置にある状態(d)で画像Gが印刷された後(S24)、更新された領域数は5であり、所定値Cである4よりも大きいと判断される(S26、S27:YES)。この場合制御部2Aは、印刷装置2をインクリボン9Aの幅方向Y2には移動せず、移動方向に後方を設定する(S30)。制御部2Aは第一モータ26、27を回転駆動して供給ロール90A及び巻取ロール90Bを反転方向に回転させることで、インクリボン9Aの加速、減速分から使用領域の搬送方向の余白分を差し引いた分だけ供給ロール90A側に巻き戻す(S31)。   After the image G is printed in the state (d) in which the printer 2 is in the position shown in FIG. 6F (S24), the updated number of regions is 5, which is greater than the predetermined value C of 4. It is determined (S26, S27: YES). In this case, the control unit 2A does not move the printing device 2 in the width direction Y2 of the ink ribbon 9A, but sets backward in the moving direction (S30). The control unit 2A rotationally drives the first motors 26 and 27 to rotate the supply roll 90A and the take-up roll 90B in the reverse direction, thereby subtracting the margin in the transport direction of the use region from the acceleration and deceleration of the ink ribbon 9A. It is rewound by the amount corresponding to the supply roll 90A (S31).

状態(e)において、印刷停止指示が取得されず(S49:NO)、印刷指示が取得された場合(S23:YES)、制御部2Aは、印刷媒体Pに対する位置が、状態(a)での使用領域(1,1)と同じ前後方向位置で、画像Gの印刷を実行する。制御部2Aは、印刷装置2が図6(F)に示す位置にある状態(e)において、使用済領域(1,4)の右方(搬送方向上流側)にある未使用領域(2,4)を使用して、画像Gの印刷を実行する(S24)。以下同様に、印刷装置2の移動方向が後方に設定された条件で、印刷媒体Pに対してインクリボン9Aの幅方向Y2に並ぶ領域が使用され、4つの画像Gの印刷が順に実行される。具体的には、移動方向は後方であり(S25:NO)、制御部2Aは領域数を1だけデクリメントする(S32)。制御部2Aは、領域数が1であるかを判断し(S33)、領域数が1ではない場合(S33:NO)、第二モータ62を制御して、印刷装置2を移動方向(後方)に距離Kだけ移動する(S34)。制御部2Aは、S29と同様に、インクリボン9Aを巻き戻す(S35)。領域数が1である場合(S33:YES)、制御部2Aは、印刷装置2をインクリボン9Aの幅方向Y2には移動せず、移動方向に前方を設定する(S36)。制御部2AはS31と同様に、インクリボン9Aを巻き戻す(S37)。これにより制御部2Aは、図4のインクリボン9Aの幅方向Y2に並ぶ4つの領域(2,4)、領域(2,3)、領域(2,2)及び領域(2,1)を使用して、4つの画像Gを順に印刷を実行できる。S35又はS37の次に、制御部2AはS49の処理を実行する。   In the state (e), when the print stop instruction is not acquired (S49: NO) and the print instruction is acquired (S23: YES), the control unit 2A determines that the position with respect to the print medium P is in the state (a). The image G is printed at the same position in the front-rear direction as the use area (1, 1). In the state (e) in which the printing device 2 is in the position shown in FIG. 6F, the control unit 2A has an unused area (2, 2) on the right side (upstream side in the transport direction) of the used area (1, 4). 4) is used to execute the printing of the image G (S24). Similarly, under the condition that the movement direction of the printing device 2 is set to the rear, the regions arranged in the width direction Y2 of the ink ribbon 9A with respect to the print medium P are used, and the four images G are printed in order. .. Specifically, the moving direction is backward (S25: NO), and the control unit 2A decrements the number of areas by 1 (S32). The control unit 2A determines whether the number of areas is 1 (S33), and when the number of areas is not 1 (S33: NO), controls the second motor 62 to move the printing device 2 in the moving direction (backward). To the distance K (S34). The controller 2A rewinds the ink ribbon 9A (S35), as in S29. When the number of areas is 1 (S33: YES), the control unit 2A does not move the printing device 2 in the width direction Y2 of the ink ribbon 9A, but sets the front in the moving direction (S36). The controller 2A rewinds the ink ribbon 9A (S37), as in S31. As a result, the control unit 2A uses four regions (2, 4), a region (2, 3), a region (2, 2) and a region (2, 1) arranged in the width direction Y2 of the ink ribbon 9A of FIG. Then, the four images G can be sequentially printed. After S35 or S37, the control unit 2A executes the process of S49.

印刷指示が取得されていない場合(S23:NO)、制御部2Aは、スイッチ65の押下が検出されたかを判断する(S38)。作業者は、例えば、印刷準備期間にインクリボン9Aの幅方向Y2における、印刷媒体Pへの印刷位置を調整する場合に、スイッチ65を押下して、印刷装置2をインクリボン9Aの幅方向Y2に移動する移動指示を入力する。スイッチ65の押下が検出されない場合(S38:NO)、制御部2AはS49の処理を実行する。図4の領域(3,2)を使用して画像Gが印刷された後の、印刷装置2が図6(E)に示す位置にある状態(c)において作業者がスイッチ65を押下した場合、制御部2Aは、スイッチ65の押下を検出し、移動指示を取得する(S38:YES)。この場合制御部2Aは、取得された移動指示に応じて第二モータ62を制御して、印刷装置2のインクリボン9Aの幅方向Y2の移動を開始させる(S39)。S39での印刷装置2の移動方向は、スイッチ65によって出力される信号によって規定されてもよいし、現在設定されている印刷装置2の移動方向としてもよい。具体例では、一例として、印刷装置2の移動方向は、スイッチ65によって出力される信号によって前方と規定される。制御部2Aは、S39で移動を開始してからの印刷装置2の幅方向Y2の移動量Uをカウントする。移動量Uは、移動前後の印刷装置2の現在位置の差分から計算されてもよい。   When the print instruction has not been acquired (S23: NO), the control unit 2A determines whether pressing of the switch 65 has been detected (S38). For example, when the operator adjusts the printing position on the print medium P in the width direction Y2 of the ink ribbon 9A during the print preparation period, the operator presses the switch 65 to move the printing apparatus 2 to the width direction Y2 of the ink ribbon 9A. Enter the move instruction to move to. When the depression of the switch 65 is not detected (S38: NO), the control unit 2A executes the process of S49. When the operator presses the switch 65 in the state (c) in which the printer 2 is in the position shown in FIG. 6E after the image G is printed using the area (3, 2) in FIG. The control unit 2A detects the pressing of the switch 65 and acquires the movement instruction (S38: YES). In this case, the control unit 2A controls the second motor 62 according to the acquired movement instruction to start the movement of the ink ribbon 9A of the printing apparatus 2 in the width direction Y2 (S39). The moving direction of the printing device 2 in S39 may be defined by a signal output by the switch 65, or may be the moving direction of the printing device 2 that is currently set. In the specific example, as an example, the moving direction of the printing device 2 is defined as the front by the signal output by the switch 65. The control unit 2A counts the movement amount U of the printing device 2 in the width direction Y2 after the movement is started in S39. The movement amount U may be calculated from the difference between the current positions of the printing device 2 before and after the movement.

制御部2Aは、現在位置R_pからの可動長さを計算する(S40)。印刷装置2をスイッチ65の指示により前方に移動させる場合であって、印刷時の移動方向が後方に設定されている時、現在位置が原点Bである時、又はC_maxが1である時は、前方への可動長さR_fはR_pである。C_maxは、S20で更新された所定値C以下の自然数(小数点以下切り捨て)であり、式(2)に従って算出される。式(2)で算出されるC_maxがS20で更新された所定値Cを超える場合には、S20で更新された所定値CがC_maxに設定される。
C_max=R_home/距離K+1 ・・・式(2)
The control unit 2A calculates the movable length from the current position R_p (S40). When the printing apparatus 2 is moved forward by the instruction of the switch 65, when the moving direction at the time of printing is set backward, when the current position is the origin B, or when C_max is 1, The forward movable length R_f is R_p. C_max is a natural number (rounded down after the decimal point) equal to or smaller than the predetermined value C updated in S20, and is calculated according to the equation (2). When C_max calculated by the equation (2) exceeds the predetermined value C updated in S20, the predetermined value C updated in S20 is set to C_max.
C_max = R_home / distance K + 1 ... Formula (2)

具体例のように、印刷装置2をスイッチ65の指示により前方に移動させる場合であって、印刷時の移動方向が前方であり、現在位置R_pが距離Kよりも大きい時、前方への可動長さR_fは現在位置R_pから距離Kを差し引いた値である。距離Kを現在位置R_pから差し引くのは、1回前方に印刷装置2を移動させる分の可動長さを確保し、移動方向の設定を変更する処理を複雑化することを回避するためである。印刷装置2をスイッチ65の指示により前方に移動させる場合であって、印刷時の移動方向が前方であり、現在位置R_pが距離Kよりも大きくはない時、前方への可動長さR_fは0である。印刷装置2をスイッチ65の指示により後方に移動させる場合、後方への可動長さR_bは式(3)で算出される。
R_b=(R_max−R_p)−距離K×(領域数−1)
=R_max−R_home ・・・式(3)
As in the specific example, when the printing device 2 is moved forward by the instruction of the switch 65, the moving direction at the time of printing is forward, and the current position R_p is larger than the distance K, the movable length forward. The height R_f is a value obtained by subtracting the distance K from the current position R_p. The reason that the distance K is subtracted from the current position R_p is to secure a movable length for moving the printing device 2 forward once and to avoid complicating the process of changing the setting of the moving direction. When the printing device 2 is moved forward by the instruction of the switch 65 and the moving direction at the time of printing is forward and the current position R_p is not larger than the distance K, the forward movable length R_f is 0. Is. When the printing device 2 is moved backward according to the instruction of the switch 65, the backward movable length R_b is calculated by the equation (3).
R_b = (R_max-R_p) -distance Kx (number of areas-1)
= R_max-R_home ... Formula (3)

制御部2Aは、スイッチ65の押下解除を検出したかを判断する(S41)。スイッチ65の押下解除が検出された場合(S41:YES)、制御部2Aは、第二モータ62を制御して、印刷装置2の移動を停止する(S45)。スイッチ65の押下解除が検出されていない場合(S41:NO)、制御部2Aは、印刷停止指示を取得したかを判断する(S42)。外部機器8による印刷媒体Pの搬送が停止されることに応じ、印刷媒体Pの搬送を停止する搬送停止信号が外部機器8から出力される。印刷装置2は、コントローラ7を介して搬送停止信号を印刷停止信号として取得する。印刷停止指示が取得された場合(S42:YES)、制御部2Aは、S45の処理を実行する。印刷停止指示が取得されていない場合(S42:NO)、制御部2Aは、印刷指示が取得されたかを判断する(S43)。印刷指示が取得された場合(S43:YES)、制御部2Aは、S45の処理を実行する。印刷指示が取得されていない場合(S43:NO)、制御部2Aは、S39で移動を開始してからの印刷装置2の移動量Uが、S40で計算された可動範囲の長さに達したかを判断する(S44)。移動量Uが可動長さに達していない場合(S44:NO)、制御部2Aは、処理をS41に戻す。移動量Uが可動範囲の長さに達した場合(S44:YES)、制御部2AはS45の処理を実行後、現在位置を取得する(S46)。   The control unit 2A determines whether or not the pressing release of the switch 65 is detected (S41). When the release of the depression of the switch 65 is detected (S41: YES), the control unit 2A controls the second motor 62 to stop the movement of the printing device 2 (S45). When the pressing release of the switch 65 is not detected (S41: NO), the control unit 2A determines whether the print stop instruction is acquired (S42). When the conveyance of the print medium P by the external device 8 is stopped, a conveyance stop signal for stopping the conveyance of the print medium P is output from the external device 8. The printing device 2 acquires the transport stop signal as a print stop signal via the controller 7. When the print stop instruction is acquired (S42: YES), the control unit 2A executes the process of S45. When the print stop instruction has not been acquired (S42: NO), the control unit 2A determines whether the print instruction has been acquired (S43). When the print instruction is acquired (S43: YES), the control unit 2A executes the process of S45. When the print instruction has not been acquired (S43: NO), the control unit 2A has reached the length of the movable range calculated in S40, since the movement amount U of the printing device 2 has started in S39. It is determined (S44). When the movement amount U has not reached the movable length (S44: NO), the control unit 2A returns the process to S41. When the movement amount U reaches the length of the movable range (S44: YES), the control unit 2A acquires the current position after executing the process of S45 (S46).

制御部2Aは、S39で移動が開始されてから、S45で移動を停止されるまでの印刷装置2の移動量Uに応じて、ホームポジションDを更新する(S47)。具体例では、ホームポジションDがS6で移動された位置から、移動量U1だけ前方に移動した位置に更新される。制御部2Aは、印刷装置2の移動量Uに応じて、所定値Cを更新する(S48)。制御部2Aは、印刷装置2の移動量Uと、インクリボン9Aの幅方向Y2における、インクリボン9Aの使用可能範囲Nの長さ、印刷装置2の可動範囲Rの長さ、及び印刷装置2の現在位置R_pとに応じて、所定値Cを更新する。具体例のインクリボン9Aの使用可能範囲Nの長さは、インクリボン9Aの幅方向Y2の長さである。印刷装置2の可動範囲Rの長さはS4の処理で検出された値である。印刷装置2の現在位置R_pは、式(1)で取得される。式(2)に従い、S8で設定され、S47で更新された印刷装置2の使用可能範囲Jの長さに対応するホームポジションDの位置R_homeを用いて、C_maxが3と算出され、所定値Cが3に更新される。S48の後、印刷停止指示が取得されず(S49:NO)、印刷指示が取得された場合(S23:YES)、図4の領域(3,3)を使用して画像Gが印刷され(S24)、更新後の領域数は4でありS48で更新された所定値Cよりも大きいと判断される(S26、S27:YES)。これにより制御部2Aは、インクリボン9Aの幅方向Y2に並ぶ3つの領域(3,1)、領域(3,2)、及び領域(3,3)を使用して、印刷媒体Pの幅方向Y2の同じ位置に3つの画像Gを順に印刷を実行できる。同様に制御部2Aは、移動方向が後方に設定された条件で、インクリボン9Aの幅方向Y2に並ぶ2つの領域(4,3)、及び領域(4,2)を使用して、印刷媒体Pの幅方向Y2の同じ位置に2つの画像Gを順に印刷できる。   The control unit 2A updates the home position D according to the movement amount U of the printing device 2 from the start of the movement in S39 to the stop of the movement in S45 (S47). In the specific example, the home position D is updated from the position moved in S6 to the position moved forward by the movement amount U1. The control unit 2A updates the predetermined value C according to the movement amount U of the printing device 2 (S48). The control unit 2A controls the movement amount U of the printing device 2, the length of the usable range N of the ink ribbon 9A in the width direction Y2 of the ink ribbon 9A, the length of the movable range R of the printing device 2, and the printing device 2 The predetermined value C is updated according to the current position R_p of. The length of the usable range N of the ink ribbon 9A of the specific example is the length of the ink ribbon 9A in the width direction Y2. The length of the movable range R of the printing device 2 is the value detected in the process of S4. The current position R_p of the printing device 2 is obtained by the equation (1). According to the equation (2), C_max is calculated to be 3 using the position R_home of the home position D corresponding to the length of the usable range J of the printing apparatus 2 set in S8 and updated in S47, and the predetermined value C Is updated to 3. After S48, when the print stop instruction is not acquired (S49: NO) and the print instruction is acquired (S23: YES), the image G is printed using the area (3, 3) in FIG. 4 (S24). ), It is determined that the number of areas after update is 4 and is larger than the predetermined value C updated in S48 (S26, S27: YES). Accordingly, the control unit 2A uses the three regions (3, 1), the regions (3, 2), and the regions (3, 3) arranged in the width direction Y2 of the ink ribbon 9A, in the width direction of the print medium P. The three images G can be sequentially printed at the same position of Y2. Similarly, the control unit 2A uses the two regions (4, 3) and the regions (4, 2) lined up in the width direction Y2 of the ink ribbon 9A under the condition that the moving direction is set to the rear side and print medium. Two images G can be sequentially printed at the same position in the width direction Y2 of P.

領域(4,2)を使用して画像Gが印刷された後、スイッチ65の押下が検出され(S38:YES)、印刷装置2が移動量U2だけ前方に移動された場合(S39〜S45)、制御部2Aは、ホームポジションDを更新し(S47)、所定値Cに1を設定する(S48)。S48の後、印刷停止指示が取得されず(S49:NO)、印刷指示が取得された場合(S23:YES)、図4の領域(4,1)を使用して画像Gが印刷され(S24)、更新後の領域数は1であると判断される(S33:YES)。領域(4,1)を使用して画像Gが印刷された後、制御部2Aは、移動方向が前方に設定された条件で、領域(5,1)を使用して、画像Gを印刷する(S24)。同様に制御部2Aは、移動方向が後方に設定された条件で、領域(6,1)を使用して、画像Gを印刷できる。   After the image G is printed using the area (4, 2), the pressing of the switch 65 is detected (S38: YES), and the printing apparatus 2 is moved forward by the movement amount U2 (S39 to S45). The control unit 2A updates the home position D (S47) and sets the predetermined value C to 1 (S48). After S48, if the print stop instruction is not acquired (S49: NO) and the print instruction is acquired (S23: YES), the image G is printed using the area (4, 1) in FIG. 4 (S24). ), The number of areas after the update is determined to be 1 (S33: YES). After the image G is printed using the area (4, 1), the control unit 2A prints the image G using the area (5, 1) under the condition that the moving direction is set to the front. (S24). Similarly, the control unit 2A can print the image G using the region (6, 1) under the condition that the moving direction is set to the rear.

領域(6,1)を使用して画像Gが印刷された後、スイッチ65の押下が検出され(S38:YES)、印刷装置2が移動量U3だけ後方に移動された場合(S39〜S45)、制御部2Aは、ホームポジションDを更新し(S47)、所定値Cに4を設定する(S48)。S48の後、印刷停止指示が取得されず(S49:NO)、印刷指示が取得された場合(S23:YES)、図4の領域(7,1)を使用して画像Gが印刷される(S24)。制御部2Aは以下一行目と同様に、領域(7,1)、領域(7,2)、領域(7,3)、及び領域(7,4)を使用して、印刷媒体Pの幅方向Y2の同じ位置に4つの画像Gを順に印刷できる。   After the image G is printed using the area (6, 1), the pressing of the switch 65 is detected (S38: YES), and the printing apparatus 2 is moved backward by the movement amount U3 (S39 to S45). The controller 2A updates the home position D (S47) and sets the predetermined value C to 4 (S48). After S48, if the print stop instruction is not acquired (S49: NO) and the print instruction is acquired (S23: YES), the image G is printed using the area (7, 1) in FIG. 4 ( S24). The control unit 2A uses the area (7, 1), the area (7, 2), the area (7, 3), and the area (7, 4) in the width direction of the print medium P as in the first line. Four images G can be sequentially printed at the same position on Y2.

印刷停止指示が取得された場合(S49:YES)、制御部2Aは以上で印刷モード処理を終了し、処理を図5のメイン処理に戻す。図5のS13の処理の後、制御部2Aは、処理をS7に戻して、運転モードを印刷モードM3から設定モードM2に切り替える。メイン処理は、電源をOFFにする指示が取得される場合に終了する。   When the print stop instruction is acquired (S49: YES), the control unit 2A ends the print mode process and returns the process to the main process of FIG. After the process of S13 of FIG. 5, the control unit 2A returns the process to S7 and switches the operation mode from the print mode M3 to the setting mode M2. The main process ends when an instruction to turn off the power is acquired.

上記実施形態の印刷システム1において、供給部22、巻取部23、サーマルヘッド24、及び印刷装置2は各々、本発明の第一装着部、第二装着部、サーマルヘッド、及び印刷装置の一例である。供給ロール90A、及び巻取ロール90Bは各々、本発明の第一ロール、及び第二ロールの一例である。第一モータ26、27は、本発明の第一モータの一例である。第二モータ62、ブラケット6、制御部2A、第一センサ63、及び第二センサ64は各々、本発明の第二モータ、移動機構、制御部、第一センサ、及び第二センサの一例である。図7のS24の処理を実行する制御部2Aは、本発明の印刷制御部の一例である。S29、S31、S35、S37の処理を実行する制御部2Aは、本発明の第一搬送制御部の一例である。S28、S34の処理を実行する制御部2Aは、本発明の第一移動制御部の一例である。S38の処理を実行する制御部2Aは、本発明の指示取得部の一例である。S39の処理を実行する制御部2Aは、本発明の第二移動制御部の一例である。S48の処理を実行する制御部2Aは、本発明の更新部の一例である。図5のS2、S4の処理を実行する制御部2Aは、本発明の範囲取得部の一例である。S10、又はS11の後に、S2の処理を実行する制御部2Aは、本発明の現在位置取得部の一例である。S8の処理を実行する制御部2Aは、本発明の範囲設定部の一例である。S6の処理を実行する制御部2Aは、本発明の第三移動制御部の一例である。   In the printing system 1 of the above embodiment, the supply unit 22, the winding unit 23, the thermal head 24, and the printing device 2 are examples of the first mounting unit, the second mounting unit, the thermal head, and the printing device of the present invention, respectively. Is. The supply roll 90A and the winding roll 90B are examples of the first roll and the second roll of the present invention, respectively. The first motors 26 and 27 are an example of the first motor of the present invention. The second motor 62, the bracket 6, the control unit 2A, the first sensor 63, and the second sensor 64 are examples of the second motor, moving mechanism, control unit, first sensor, and second sensor of the present invention, respectively. .. The control unit 2A that executes the process of S24 in FIG. 7 is an example of the print control unit of the present invention. 2 A of control parts which perform the process of S29, S31, S35, and S37 are examples of the 1st conveyance control part of this invention. The control unit 2A that executes the processes of S28 and S34 is an example of the first movement control unit of the present invention. The control unit 2A that executes the process of S38 is an example of the instruction acquisition unit of the present invention. The control unit 2A that executes the process of S39 is an example of the second movement control unit of the present invention. The control unit 2A that executes the process of S48 is an example of the updating unit of the present invention. The control unit 2A that executes the processes of S2 and S4 in FIG. 5 is an example of the range acquisition unit of the present invention. The control unit 2A that executes the process of S2 after S10 or S11 is an example of the current position acquisition unit of the present invention. The control unit 2A that executes the process of S8 is an example of the range setting unit of the present invention. The control unit 2A that executes the process of S6 is an example of the third movement control unit of the present invention.

上記実施形態の印刷システム1は、S39からS45の処理で、印刷装置2がインクリボン9Aの幅方向Y2に移動された場合に、S48の処理によって所定値Cが更新される(S48)。故に印刷システム1は、印刷装置2がインクリボン9Aの幅方向Y2に移動されることに起因して、印刷が一時停止されることを回避できる。従来の印刷システムでは、印刷装置2がインクリボン9Aの幅方向Y2に移動されることに起因してエラーを発さないために、印刷位置の調整範囲を可動範囲ではなく、領域数だけ印刷装置が移動できる範囲に制限することが想定される。この場合、印刷装置2が可動範囲内にあるにもかかわらず、印刷位置を変更できない不具合が生じる場合がある、その結果、作業者は印刷媒体Pに対する印刷位置を所望の位置に変更するために、印刷を一時停止する必要があり煩雑である。これに対し、本印刷システム1はS39で開始される印刷装置2の幅方向Y2の位置の変更に際し、S40で算出された可動長さがS20で設定された所定値Cによって制限されることを回避できる。   In the printing system 1 of the above embodiment, when the printing device 2 is moved in the width direction Y2 of the ink ribbon 9A in the processes of S39 to S45, the predetermined value C is updated by the process of S48 (S48). Therefore, the printing system 1 can avoid the suspension of printing due to the movement of the printing device 2 in the width direction Y2 of the ink ribbon 9A. In the conventional printing system, since the printing apparatus 2 does not generate an error due to the movement of the printing apparatus 2 in the width direction Y2 of the ink ribbon 9A, the printing position adjustment range is not the movable range but the printing apparatus is the number of areas. It is assumed that the range is limited to the range that can move. In this case, there may be a problem that the printing position cannot be changed even though the printing device 2 is within the movable range. As a result, the operator changes the printing position on the printing medium P to a desired position. It is complicated because it is necessary to suspend printing. On the other hand, when the printing system 1 changes the position of the printing device 2 in the width direction Y2 started in S39, the movable length calculated in S40 is limited by the predetermined value C set in S20. It can be avoided.

制御部2Aは、S39〜S45によって印刷装置2がインクリボン9Aの幅方向Y2に移動された場合に、印刷装置2の移動量Uと、インクリボン9Aの幅方向Y2における、インクリボン9Aの使用可能範囲の長さ、印刷装置2の可動範囲Rの長さ、及び印刷装置2の現在位置とに応じて、所定値Cを更新する(S48)。故に、印刷システム1は、印刷装置2の移動量Uと、インクリボン9Aの幅方向における、インクリボン9Aの使用可能範囲の長さN、印刷装置2の可動範囲Rの長さR_max、及び印刷装置2の現在位置R_pとに応じて、所定値Cを適切に更新できる。   When the printing device 2 is moved in the width direction Y2 of the ink ribbon 9A in S39 to S45, the control unit 2A uses the movement amount U of the printing device 2 and the use of the ink ribbon 9A in the width direction Y2 of the ink ribbon 9A. The predetermined value C is updated according to the length of the possible range, the length of the movable range R of the printing device 2, and the current position of the printing device 2 (S48). Therefore, the printing system 1 includes the movement amount U of the printing device 2, the length N of the usable range of the ink ribbon 9A in the width direction of the ink ribbon 9A, the length R_max of the movable range R of the printing device 2, and the printing. The predetermined value C can be appropriately updated according to the current position R_p of the device 2.

印刷システム1のブラケット6は、印刷装置2の可動範囲Rの一端部に設けた第一センサ63と、印刷装置2の可動範囲Rの他端部に設けた第二センサ64とを更に備える。制御部2Aは、印刷装置2の電源が投入されたとき、印刷装置2を一端部に移動して第一センサ63を検出した後、他端部の第二センサ64を検出するまでの第二モータ62の駆動量によって、印刷装置2の可動範囲Rを取得する(S2、S4)。制御部2Aは、可動範囲R内で印刷装置2を移動する。制御部2Aは、S39によって印刷装置2が移動された場合に、印刷装置2の移動量と、インクリボン9Aの幅方向における、インクリボン9Aの使用可能範囲Nの長さ、S4で取得された可動範囲Rの長さ、及び印刷装置2の現在位置とに応じて、所定値Cを更新する(S48)。故に印刷システム1は、第一センサ63と第二センサ64との検出結果に基づき取得された可動範囲Rに応じて所定値Cを適切に更新できる。   The bracket 6 of the printing system 1 further includes a first sensor 63 provided at one end of the movable range R of the printing device 2 and a second sensor 64 provided at the other end of the movable range R of the printing device 2. When the power of the printing apparatus 2 is turned on, the control unit 2A moves the printing apparatus 2 to one end and detects the first sensor 63, and then detects the second sensor 64 at the other end. The movable range R of the printing device 2 is acquired based on the driving amount of the motor 62 (S2, S4). The control unit 2A moves the printing device 2 within the movable range R. When the printing device 2 is moved in S39, the control unit 2A acquires the amount of movement of the printing device 2 and the length of the usable range N of the ink ribbon 9A in the width direction of the ink ribbon 9A, S4. The predetermined value C is updated according to the length of the movable range R and the current position of the printing device 2 (S48). Therefore, the printing system 1 can appropriately update the predetermined value C according to the movable range R acquired based on the detection results of the first sensor 63 and the second sensor 64.

制御部2Aは、可動範囲Rが取得された後、現在位置の校正を行う場合、第一センサ63の検出結果を新たに取得し(S1:NO、S2)、第二センサ64の検出結果は新たに取得せずに(S3:YES)、現在位置を取得する(S46)。故に、印刷システム1は、第一センサ63と第二センサ64の検出結果を新たに取得して現在位置を取得する場合に比べ、現在位置を取得する処理を簡単にできる。   When calibrating the current position after the movable range R is acquired, the control unit 2A newly acquires the detection result of the first sensor 63 (S1: NO, S2), and the detection result of the second sensor 64 is The current position is acquired (S46) without newly acquiring (S3: YES). Therefore, the printing system 1 can simplify the process of acquiring the current position as compared with the case of newly acquiring the detection results of the first sensor 63 and the second sensor 64 to acquire the current position.

制御部2Aは、印刷装置2の幅方向の可動範囲R内に可動範囲R内よりも狭く、且つ、連続した使用可能範囲Jを設定する(S8)。制御部2Aは、使用可能範囲J内で印刷装置2を移動する(S28、S34)。制御部2Aは、S39〜S45の処理で印刷装置2がインクリボン9Aの幅方向Y2に移動された場合に、印刷装置2の移動量Uと、インクリボン9Aの幅方向における、インクリボン9Aの使用可能範囲Nの長さ、画像Gの長さ、範囲設定部によって設定された使用可能範囲Jの長さ、及び印刷装置2の現在位置とに応じて、所定値Cを更新する(S48)。故に、印刷システム1は、インクリボン9Aの幅方向における、インクリボン9Aの使用可能範囲Nの長さ、画像Gの長さ、及び印刷媒体の長さ等に応じて、可動範囲R内に使用可能範囲Jを設定できる。印刷システム1は、印刷装置2を使用可能範囲J内で移動させるように制御できる。   The control unit 2A sets a continuous usable range J within the movable range R in the width direction of the printing device 2 which is narrower than the movable range R (S8). The control unit 2A moves the printing device 2 within the usable range J (S28, S34). When the printing device 2 is moved in the width direction Y2 of the ink ribbon 9A in the processes of S39 to S45, the control unit 2A moves the printing device 2 by the movement amount U and the ink ribbon 9A in the width direction of the ink ribbon 9A. The predetermined value C is updated according to the length of the usable range N, the length of the image G, the length of the usable range J set by the range setting unit, and the current position of the printing device 2 (S48). .. Therefore, the printing system 1 is used within the movable range R according to the length of the usable range N of the ink ribbon 9A, the length of the image G, the length of the print medium, and the like in the width direction of the ink ribbon 9A. The possible range J can be set. The printing system 1 can control the printing apparatus 2 to move within the usable range J.

制御部2Aは、S39〜S45の処理で印刷装置2が移動された場合に、所定値Cに加え使用可能範囲Jを規定するホームポジションDを更新する(S47、S48)。故に印刷システム1は、印刷装置2を使用可能範囲J内で移動させて、インクリボン9Aの幅方向において所定値Cの領域を使用して印刷を実行するように制御できる。   The control unit 2A updates the home position D that defines the usable range J in addition to the predetermined value C when the printing device 2 is moved in the processes of S39 to S45 (S47, S48). Therefore, the printing system 1 can be controlled so that the printing device 2 is moved within the usable range J and printing is performed using the area of the predetermined value C in the width direction of the ink ribbon 9A.

制御部2Aは、印刷開始前に、印刷装置2を使用可能範囲Jの一端部であるホームポジションDへ移動する(S6)。制御部2Aは、印刷装置2がホームポジションDに位置する状態で印刷順序が最初の画像Gの印刷を行う。故に印刷システム1は、印刷装置2を使用可能範囲J内で移動させて、インクリボン9Aの幅方向において所定値Cの領域を使用して印刷を実行するように制御できる。   The control unit 2A moves the printing apparatus 2 to the home position D which is one end of the usable range J before starting printing (S6). The control unit 2A prints the image G having the first printing order in a state where the printing apparatus 2 is located at the home position D. Therefore, the printing system 1 can be controlled so that the printing device 2 is moved within the usable range J and printing is performed using the area of the predetermined value C in the width direction of the ink ribbon 9A.

本発明の印刷システムは、上記した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更が加えられてもよい。例えば、以下の変形が適宜加えられてもよい。   The printing system of the present invention is not limited to the above embodiment, and various changes may be made without departing from the scope of the present invention. For example, the following modifications may be added as appropriate.

印刷システムは、印刷装置、移動機構、及び制御部を備えればよく、適宜構成を変更されてもよい。例えば、印刷装置2は印刷媒体Pを搬送する包装機を備えてもよいし、プラテンローラQを備えてもよい。印刷装置2は、コントローラ7及びブラケット6の少なくとも何れかを備えてもよい。印刷装置2の構成は適宜変更されてよい。例えば、印刷装置2に装着されるインクリボン9Aの搬送経路は適宜変更されてよい。第一装着部及び第二装着部は各々、インクリボンが巻回された第一ロール及び第一ロールから繰り出されたインクリボンが巻き取られる第二ロールを装着可能であればよい。印刷装置は、印刷時にインクリボン9A及び印刷媒体Pの搬送が停止され、サーマルヘッド24をインクリボン9Aに沿って移動させることで印刷するタイプの印刷装置であってもよい。移動機構は印刷装置をインクリボンの幅方向に移動可能であればよい。移動機構は、第一センサ、第二センサの少なくとも一方を備えなくてもよいし、移動機構は、機械式のセンサ等により可動範囲Rを取得してもよい。各部材を移動させる駆動源は適宜変更されてよい。印刷システムと通信可能な外部機器は、例えばPC、携帯端末等であってもよい。   The printing system may include a printing device, a moving mechanism, and a control unit, and the configuration may be changed as appropriate. For example, the printing device 2 may include a packaging machine that conveys the print medium P, or may include a platen roller Q. The printing device 2 may include at least one of the controller 7 and the bracket 6. The configuration of the printing device 2 may be changed as appropriate. For example, the transport path of the ink ribbon 9A mounted on the printing device 2 may be changed appropriately. The first mounting portion and the second mounting portion may each be capable of mounting the first roll around which the ink ribbon is wound and the second roll around which the ink ribbon unwound from the first roll is wound. The printing device may be a printing device of a type in which conveyance of the ink ribbon 9A and the print medium P is stopped during printing and the thermal head 24 is moved along the ink ribbon 9A to perform printing. The moving mechanism has only to move the printing device in the width direction of the ink ribbon. The moving mechanism may not include at least one of the first sensor and the second sensor, and the moving mechanism may acquire the movable range R by a mechanical sensor or the like. The drive source for moving each member may be changed appropriately. The external device capable of communicating with the printing system may be, for example, a PC or a mobile terminal.

印刷システムは、メイン処理を実行させるプロセッサとして、CPU、マイクロコンピュータ、ASIC (Application Specific Integrated Circuits)、FPGA (Field Programmable Gate Array)などを備えてもよい。メイン処理は、印刷システム内の複数のプロセッサによって分散処理されてもよい。上記実施形態のメイン処理の各ステップは、必要に応じて順序の変更、ステップの省略、及び追加が可能である。   The printing system may include a CPU, a microcomputer, an ASIC (Application Specific Integrated Circuits), an FPGA (Field Programmable Gate Array), or the like as a processor that executes main processing. The main process may be distributed by multiple processors in the printing system. The order of each step of the main process of the above embodiment can be changed, steps can be omitted, and additions can be added as necessary.

インクリボン9Aの使用領域(画像領域)は、印刷毎に異なっていてもよい。インクリボン9Aの使用領域の形状は、C状、三角形状等適宜変更されてよい。一の画像Gの印刷の使用領域と、次の画像Gの使用領域とは、互いに重ならない位置であればよく、両者の延設範囲は、インクリボン9Aの幅方向Y2において部分的に重なってもよい。インクリボン9Aに対する画像G及び使用領域間の幅方向の距離は適宜変更されてよい。インクリボンの使用領域のインクリボン上の配置は、図4に示すように格子状に並ぶ場合に限らず、隣合う領域に対するインクリボンの搬送方向及び幅方向の少なくとも何れかの位置は適宜変更されてよい。この場合、インクリボン上にインクリボンの幅方向に並ぶ領域の数は、インクリボンの幅方向に並ぶ領域の内、インクリボンの搬送方向における領域の延設範囲が所定割合(例えば、50%)以上一致する条件を満たす領域の数とすればよい。インクリボンの使用領域がインクリボン上にチェック状に配置される場合等には、制御部は、S22、S30、S36で設定される移動方向に応じた所定数を設定してもよい。制御部は、領域数が所定値よりも大きくなった場合に(S27:YES)、S30の処理に変えて、領域数を1に設定し、第二モータ62を制御して、印刷装置2を後方にホームポジションDまで移動させてもよい。この場合、S25、S32〜S37は省略されてよい。印刷装置の初期位置(ホームポジションD)は、原点B、可動限界W等適宜変更されてよい。ホームポジションDは、印刷装置2の使用可能範囲Jの他端側(後端側)に設けられてもよい。その場合例えば、S22において移動方向が使用可能範囲Jの他端側に設定され、インクリボン9Aの内の、最も後ろ側に配置された領域を使用して、印刷順序が最初の画像が印刷されればよい。S40の可動長さの算出方法は適宜変更されてよい。制御部2Aは、インクリボンの幅方向の領域の使用率を優先させる場合に、例えば、インクリボンの幅方向の使用領域数の下限値を設定し、設定された下限値を下回らないように、可動長さを計算してもよい。印刷装置2をスイッチ65の指示により前方に移動させる場合であって、印刷時の移動方向が前方である時、制御部2Aは、現在位置によらず、前方への可動長さR_fを現在位置R_pとしてもよい。この場合、制御部2Aは印刷装置2を停止させた後(S45)、現在位置及び移動量Uに応じて、移動方向を切り替える処理を実行すればよい。   The usage area (image area) of the ink ribbon 9A may be different for each printing. The shape of the usage area of the ink ribbon 9A may be appropriately changed to a C shape, a triangular shape, or the like. The area used for printing one image G and the area used for the next image G only need to be positions that do not overlap with each other, and the extended areas of the two partially overlap in the width direction Y2 of the ink ribbon 9A. Good. The distance in the width direction between the image G and the use area with respect to the ink ribbon 9A may be appropriately changed. The arrangement of the use area of the ink ribbon on the ink ribbon is not limited to the case of arranging in a grid pattern as shown in FIG. 4, and at least one of the positions in the conveyance direction and the width direction of the ink ribbon with respect to the adjacent area is appropriately changed. You may. In this case, the number of regions arranged in the width direction of the ink ribbon on the ink ribbon is a predetermined ratio (for example, 50%) of the extension range of the region in the conveyance direction of the ink ribbon among the regions arranged in the width direction of the ink ribbon. The number of regions satisfying the above matching conditions may be set. When the use area of the ink ribbon is arranged in a check pattern on the ink ribbon, the control unit may set a predetermined number according to the moving direction set in S22, S30, and S36. When the number of areas becomes larger than the predetermined value (S27: YES), the control unit changes the processing to S30, sets the number of areas to 1, controls the second motor 62, and controls the printing apparatus 2 to operate. It may be moved backward to the home position D. In this case, S25 and S32 to S37 may be omitted. The initial position (home position D) of the printing apparatus may be appropriately changed such as the origin B and the movable limit W. The home position D may be provided on the other end side (rear end side) of the usable range J of the printing device 2. In that case, for example, in S22, the moving direction is set to the other end side of the usable range J, and the image arranged in the rearmost side of the ink ribbon 9A is used to print the first image in the printing order. Just do it. The method of calculating the movable length in S40 may be changed as appropriate. When giving priority to the usage rate of the area in the width direction of the ink ribbon, the control unit 2A sets, for example, the lower limit value of the number of usage areas in the width direction of the ink ribbon so that the lower limit value is not exceeded. The movable length may be calculated. When the printing device 2 is moved forward by the instruction of the switch 65 and the moving direction during printing is forward, the control unit 2A sets the forward movable length R_f to the current position regardless of the current position. It may be R_p. In this case, the control unit 2A may execute a process of switching the moving direction according to the current position and the moving amount U after stopping the printing device 2 (S45).

S38で取得される指示は、スイッチ65の押下により入力される例に限らず、例えば、外部機器8からコントローラ7を介して取得されてもよい。S38で取得される指示は、タッチパネル、ダイヤル等のスイッチ65以外の操作部の操作に応じて入力されてもよい。スイッチ等の操作部の配置は、適宜変更されてよい。印刷システムが撮影装置を備える場合、印刷システムは、印刷媒体に印刷済み画像の撮影画像の解析結果に基づき、インクリボンの幅方向における印刷媒体に対する画像の位置を変更する指示を自動的に入力するフィードバック制御を行ってもよい。その場合、該指示には、インクリボンの幅方向における印刷装置の移動方向及び移動量が含まれればよい。制御部2Aは、S38において該指示に基づき、指示に含まれる移動量だけ、移動方向に印刷装置2を移動させればよい(S39)。同様に印刷システムは、印刷前の印刷媒体のインクリボンの幅方向の端部の撮影画像の解析結果に基づき、インクリボンの幅方向における印刷媒体に対する画像の位置を変更する指示を自動的に入力するフィードバック制御を行ってもよい。   The instruction acquired in S38 is not limited to the example input by pressing the switch 65, and may be acquired from the external device 8 via the controller 7, for example. The instruction acquired in S38 may be input in response to an operation of an operation unit other than the switch 65 such as a touch panel or a dial. The arrangement of the operation unit such as a switch may be changed appropriately. When the printing system includes the photographing device, the printing system automatically inputs an instruction to change the position of the image with respect to the print medium in the width direction of the ink ribbon, based on the analysis result of the photographed image of the image printed on the print medium. Feedback control may be performed. In that case, the instruction may include the movement direction and the movement amount of the printing apparatus in the width direction of the ink ribbon. Based on the instruction in S38, the control unit 2A may move the printing device 2 in the movement direction by the amount of movement included in the instruction (S39). Similarly, the printing system automatically inputs an instruction to change the position of the image with respect to the print medium in the width direction of the ink ribbon, based on the analysis result of the captured image of the end portion of the print medium in the width direction of the ink ribbon before printing. Feedback control may be performed.

S48における所定値の更新は、印刷装置2がS38で取得された指示に応じて移動される毎に実行される場合に限定されず所定数を更新する必要があるときのみに実行されてもよい。例えば、制御部2Aは移動量Uに応じてホームポジションDを変更後、以下の式(4)を満たした場合に、所定数を更新してもよい。
0>R_home−距離K×(C−1) ・・・式(4)
The update of the predetermined value in S48 is not limited to be performed each time the printing apparatus 2 is moved according to the instruction acquired in S38, and may be performed only when the predetermined number needs to be updated. .. For example, the control unit 2A may update the predetermined number when the following formula (4) is satisfied after changing the home position D according to the movement amount U.
0> R_home-distance K × (C-1) (4)

1:印刷システム、2:印刷装置、2A:制御部、2B、7B:記憶部、2C、7C、7D:通信インタフェース、6:ブラケット、7:コントローラ、22:供給部、23:巻取部、24:サーマルヘッド、26、27:第一モータ、28:第三モータ、62:第二モータ、63:第一センサ、64:第二センサ、65:スイッチ 1: printing system, 2: printing device, 2A: control unit, 2B, 7B: storage unit, 2C, 7C, 7D: communication interface, 6: bracket, 7: controller, 22: supply unit, 23: winding unit, 24: thermal head, 26, 27: first motor, 28: third motor, 62: second motor, 63: first sensor, 64: second sensor, 65: switch

Claims (7)

長尺状のインクリボンが巻回された第一ロールを装着するための第一装着部と、前記第一ロールから繰り出された前記インクリボンが巻き取られる第二ロールを装着するための第二装着部と、前記第一装着部から繰り出されてから、前記第二装着部で巻き取られるまでの前記インクリボンの搬送経路に隣接するサーマルヘッドと、前記第一装着部及び前記第二装着部を回転させる第一モータとを備える印刷装置と、
第二モータを有し、前記第二モータの動力で前記印刷装置を前記インクリボンの幅方向に沿って移動する移動機構と、
前記サーマルヘッド、前記第一モータ、及び前記移動機構の各々を制御可能な制御部とを備え、
前記制御部は、
印刷データに従って、前記サーマルヘッドの加熱と、前記第一モータとを制御して、画像を印刷する印刷制御部と、
前記印刷制御部によって一の前記画像が印刷された後、次の前記画像が印刷されるまでの印刷準備期間に、前記第一モータを制御して、前記インクリボンを巻き戻す第一搬送制御部と、
前記印刷制御部によって前記一の画像が印刷された後、前記インクリボン上に前記インクリボンの前記幅方向に並ぶ、前記画像の印刷に使用した領域の数が所定個未満である時、前記第二モータを制御して、前記次の画像の印刷で使用される領域と、前記一の画像の印刷で使用された領域とが重ならない位置に、前記インクリボンの前記幅方向の長さより小さい距離、前記インクリボンの前記幅方向に沿って前記印刷装置を移動する第一移動制御部と、
前記印刷準備期間に前記印刷装置を前記インクリボンの前記幅方向に移動する移動指示を取得する指示取得部と、
前記指示取得部によって取得された前記移動指示に応じて前記印刷装置を前記インクリボンの前記幅方向に移動する第二移動制御部と、
前記第二移動制御部によって前記印刷装置が移動された場合に、前記所定個を更新する更新部として機能することを特徴とする印刷システム。
A first mounting portion for mounting a first roll on which a long ink ribbon is wound, and a second mounting portion for mounting a second roll on which the ink ribbon fed from the first roll is wound. A mounting portion, a thermal head adjacent to a transport path of the ink ribbon from being unwound from the first mounting portion to being wound by the second mounting portion, the first mounting portion and the second mounting portion. A printing device comprising a first motor for rotating the
A moving mechanism that has a second motor and moves the printing device along the width direction of the ink ribbon by the power of the second motor;
A control unit capable of controlling each of the thermal head, the first motor, and the moving mechanism,
The control unit is
A print controller that controls the heating of the thermal head and the first motor according to print data to print an image,
A first transport control unit that rewinds the ink ribbon by controlling the first motor during a print preparation period after one image is printed by the print control unit until the next image is printed. When,
After the one image is printed by the print control unit, when the number of regions used for printing the image, which are arranged in the width direction of the ink ribbon on the ink ribbon, is less than a predetermined number, the (2) By controlling the motor, at a position where the area used for printing the next image and the area used for printing the one image do not overlap, a distance smaller than the length in the width direction of the ink ribbon. A first movement control unit that moves the printing device along the width direction of the ink ribbon,
An instruction acquisition unit that acquires a movement instruction to move the printing device in the width direction of the ink ribbon during the print preparation period;
A second movement control unit that moves the printing device in the width direction of the ink ribbon according to the movement instruction acquired by the instruction acquisition unit,
A printing system, which functions as an updating unit that updates the predetermined number when the printing device is moved by the second movement control unit.
前記更新部は、前記第二移動制御部によって前記印刷装置が移動された場合に、前記印刷装置の移動量と、前記インクリボンの前記幅方向における、前記インクリボンの使用可能範囲の長さ、前記印刷装置の可動範囲の長さ、及び前記印刷装置の現在位置とに応じて、前記所定個を更新することを特徴とする請求項1に記載の印刷システム。   The update unit, when the printing apparatus is moved by the second movement control unit, the movement amount of the printing apparatus and the length of the usable range of the ink ribbon in the width direction of the ink ribbon, The printing system according to claim 1, wherein the predetermined number is updated according to a length of a movable range of the printing device and a current position of the printing device. 前記印刷装置の前記可動範囲の一端部に設けた第一センサと
前記印刷装置の前記可動範囲の他端部に設けた第二センサとを更に備え、
前記制御部は、
前記印刷装置の電源が投入されたとき、前記印刷装置を前記一端部に移動して前記第一センサを検出した後、前記他端部の前記第二センサを検出するまでの前記第二モータの駆動量によって、前記印刷装置の前記可動範囲を取得する範囲取得部として更に機能し、
前記第一移動制御部は、前記可動範囲内で前記印刷装置を移動し、
前記更新部は、前記第二移動制御部によって前記印刷装置が移動された場合に、前記印刷装置の移動量と、前記インクリボンの前記幅方向における、前記インクリボンの前記使用可能範囲の前記長さ、前記範囲取得部によって取得された前記可動範囲の前記長さ、及び前記印刷装置の前記現在位置とに応じて、前記所定個を更新することを特徴とする請求項2に記載の印刷システム。
Further comprising a first sensor provided at one end of the movable range of the printing device and a second sensor provided at the other end of the movable range of the printing device,
The control unit is
When the printing apparatus is powered on, the printing apparatus is moved to the one end to detect the first sensor, and then the second motor of the other end until the second sensor is detected. The drive amount further functions as a range acquisition unit that acquires the movable range of the printing device,
The first movement control unit moves the printing device within the movable range,
The update unit, when the printing apparatus is moved by the second movement control unit, the moving amount of the printing apparatus and the length of the usable range of the ink ribbon in the width direction of the ink ribbon. The printing system according to claim 2, wherein the predetermined number is updated according to the length of the movable range acquired by the range acquisition unit and the current position of the printing apparatus. ..
前記制御部は、
前記範囲取得部によって前記可動範囲が取得された後、前記現在位置の校正を行う場合、前記第一センサの検出結果を新たに取得し、前記第二センサの検出結果は新たに取得せずに、前記現在位置を取得する現在位置取得部として更に機能することを特徴とする請求項3に記載の印刷システム。
The control unit is
After the movable range is acquired by the range acquisition unit, when calibrating the current position, the detection result of the first sensor is newly acquired, and the detection result of the second sensor is not newly acquired. The printing system according to claim 3, further functioning as a current position acquisition unit that acquires the current position.
前記制御部は、
前記印刷装置の前記幅方向の前記可動範囲内に前記可動範囲内よりも狭く、且つ、連続した使用可能範囲を設定する範囲設定部として更に機能し、
前記第一移動制御部は、前記使用可能範囲内で前記印刷装置を移動し、
前記更新部は、前記第二移動制御部によって前記印刷装置が移動された場合に、前記印刷装置の移動量と、前記インクリボンの前記幅方向における、前記インクリボンの前記使用可能範囲の前記長さ、前記画像の前記長さ、前記範囲設定部によって設定された前記使用可能範囲の前記長さ、及び前記印刷装置の前記現在位置とに応じて、前記所定個を更新することを特徴とする請求項2〜4の何れかに記載の印刷システム。
The control unit is
Within the movable range in the width direction of the printing device, narrower than the movable range, and further functions as a range setting unit that sets a continuous usable range,
The first movement control unit moves the printing device within the usable range,
The update unit, when the printing apparatus is moved by the second movement control unit, the moving amount of the printing apparatus and the length of the usable range of the ink ribbon in the width direction of the ink ribbon. The predetermined number is updated according to the length of the image, the length of the usable range set by the range setting unit, and the current position of the printing apparatus. The printing system according to claim 2.
前記更新部は、前記第二移動制御部によって前記印刷装置が移動された場合に、前記所定個に加え前記使用可能範囲を更新することを特徴とする請求項5に記載の印刷システム。   The printing system according to claim 5, wherein the update unit updates the usable range in addition to the predetermined number when the printing device is moved by the second movement control unit. 前記制御部は、
印刷開始前に、前記印刷装置を前記使用可能範囲の一端部へ移動する第三移動制御部として更に機能し、
前記印刷制御部は、前記第三移動制御部によって移動された前記使用可能範囲の前記一端部にある状態で印刷順序が最初の前記画像の印刷を行うことを特徴とする請求項5又は6に記載の印刷システム。
The control unit is
Before starting printing, the printing apparatus further functions as a third movement control unit that moves the printing apparatus to one end of the usable range,
7. The printing control unit prints the image having the first printing order in a state where the printing control unit is at the one end of the usable range moved by the third movement control unit. The printing system described.
JP2018205855A 2018-10-31 2018-10-31 Printing system Active JP7052676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018205855A JP7052676B2 (en) 2018-10-31 2018-10-31 Printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018205855A JP7052676B2 (en) 2018-10-31 2018-10-31 Printing system

Publications (2)

Publication Number Publication Date
JP2020069732A true JP2020069732A (en) 2020-05-07
JP7052676B2 JP7052676B2 (en) 2022-04-12

Family

ID=70549008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018205855A Active JP7052676B2 (en) 2018-10-31 2018-10-31 Printing system

Country Status (1)

Country Link
JP (1) JP7052676B2 (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56162684A (en) * 1980-05-21 1981-12-14 Brother Ind Ltd Driving device for carbon ribbon
JPS6266965A (en) * 1985-09-19 1987-03-26 Fujitsu Ltd Medium feed control system
JPS62108077A (en) * 1985-11-07 1987-05-19 Fujitsu Ltd Printer
JP2001047715A (en) * 1999-08-11 2001-02-20 Daisey Machinery Co Ltd Printing method using line thermal head
JP2002052773A (en) * 2000-08-10 2002-02-19 Daisey Machinery Co Ltd Line thermal head printing method
JP2008044205A (en) * 2006-08-14 2008-02-28 Mst:Kk Printing method for thermal transfer printer
JP2009096001A (en) * 2007-10-15 2009-05-07 Mst:Kk Printing system for thermal printer
JP2010179503A (en) * 2009-02-04 2010-08-19 Ricoh Co Ltd Image recording apparatus and method for controlling image recording apparatus
JP2011143556A (en) * 2010-01-12 2011-07-28 Seiko Epson Corp Image forming apparatus and method for controlling the same
JP2012162069A (en) * 2011-01-18 2012-08-30 Jvc Kenwood Corp Printer device, and method of controlling the same
JP2018122504A (en) * 2017-01-31 2018-08-09 ブラザー工業株式会社 Printer, printing method and printing program
JP2018140591A (en) * 2017-02-28 2018-09-13 ブラザー工業株式会社 Printer and printing control program

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56162684A (en) * 1980-05-21 1981-12-14 Brother Ind Ltd Driving device for carbon ribbon
JPS6266965A (en) * 1985-09-19 1987-03-26 Fujitsu Ltd Medium feed control system
JPS62108077A (en) * 1985-11-07 1987-05-19 Fujitsu Ltd Printer
JP2001047715A (en) * 1999-08-11 2001-02-20 Daisey Machinery Co Ltd Printing method using line thermal head
JP2002052773A (en) * 2000-08-10 2002-02-19 Daisey Machinery Co Ltd Line thermal head printing method
JP2008044205A (en) * 2006-08-14 2008-02-28 Mst:Kk Printing method for thermal transfer printer
JP2009096001A (en) * 2007-10-15 2009-05-07 Mst:Kk Printing system for thermal printer
JP2010179503A (en) * 2009-02-04 2010-08-19 Ricoh Co Ltd Image recording apparatus and method for controlling image recording apparatus
JP2011143556A (en) * 2010-01-12 2011-07-28 Seiko Epson Corp Image forming apparatus and method for controlling the same
JP2012162069A (en) * 2011-01-18 2012-08-30 Jvc Kenwood Corp Printer device, and method of controlling the same
JP2018122504A (en) * 2017-01-31 2018-08-09 ブラザー工業株式会社 Printer, printing method and printing program
JP2018140591A (en) * 2017-02-28 2018-09-13 ブラザー工業株式会社 Printer and printing control program

Also Published As

Publication number Publication date
JP7052676B2 (en) 2022-04-12

Similar Documents

Publication Publication Date Title
JP2018122504A (en) Printer, printing method and printing program
JP4254597B2 (en) Image reading device
EP3650233B1 (en) Printing system
JP7052676B2 (en) Printing system
JP7031560B2 (en) Printing system
JP2012223883A (en) Setting device, setting method, and program
CN211493352U (en) Printer with a movable platen
JP7035965B2 (en) Printing system
JP7087922B2 (en) Printing system
JP2018167481A (en) Printing apparatus, printing program and printing method
JP7035966B2 (en) Printing system
JP7070342B2 (en) Printing system
JP2025020672A (en) Label printer
CN111114141A (en) printing system
EP3647062B1 (en) Printing system
JP2019055532A (en) Printer, printing program, and printing method
JP2512439Y2 (en) Image reading device and image recording device
JP2022155805A (en) Printing system and printing method
JPH1158847A (en) Manual scanning type image forming device
JP2022155801A (en) Printing system and printing method
JP5025559B2 (en) Image display device and control method of image display device
JP5850217B2 (en) Sheet transport device
JP2022156647A (en) Printing device and printing method
JP2018167480A (en) Printing device, printing program and printing method
JPH06297825A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220314

R150 Certificate of patent or registration of utility model

Ref document number: 7052676

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150