JP2019084765A - Printer and program - Google Patents

Printer and program Download PDF

Info

Publication number
JP2019084765A
JP2019084765A JP2017215319A JP2017215319A JP2019084765A JP 2019084765 A JP2019084765 A JP 2019084765A JP 2017215319 A JP2017215319 A JP 2017215319A JP 2017215319 A JP2017215319 A JP 2017215319A JP 2019084765 A JP2019084765 A JP 2019084765A
Authority
JP
Japan
Prior art keywords
print
data
printing
tube
print data
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
JP2017215319A
Other languages
Japanese (ja)
Other versions
JP6950472B2 (en
Inventor
春日井 淳
Atsushi Kasugai
淳 春日井
智基 宮下
Tomomoto Miyashita
智基 宮下
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 JP2017215319A priority Critical patent/JP6950472B2/en
Priority to CN201811098641.XA priority patent/CN109747274B/en
Publication of JP2019084765A publication Critical patent/JP2019084765A/en
Application granted granted Critical
Publication of JP6950472B2 publication Critical patent/JP6950472B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

To provide a printer and a program that can save the trouble to attach a tube after printing to a cable and also reduce occurrence of a miss in fitting the tube.SOLUTION: A CPU of a printer generates, based upon print details that a reception part receives, first print data including one-side data for printing one side and other-side data for printing the other side, and also generates, based upon the first print data or print details, second print data having the one-side data and the other-side data replaced with each other. The CPU of the printer prints, based upon the first print data, a first print part on a tube, and also prints, based upon the second print data, a second print part on an upstream side in a conveying direction of the tube having the first print part printed. The CPU of the printer conveys the tube and makes a partial cut between the first print part and second print part.SELECTED DRAWING: Figure 7

Description

本発明は、印刷装置、及びプログラムに関する。   The present invention relates to a printing apparatus and a program.

従来、チューブに印刷を行う印刷装置が知られている(特許文献1参照)。この印刷装置にて印刷されたチューブは、主に、結線元と結線先を間違えないように、装置の端子間を結線するケーブルの両端に取り付けられる。   DESCRIPTION OF RELATED ART Conventionally, the printing apparatus which prints on a tube is known (refer patent document 1). The tubes printed by this printing apparatus are mainly attached to both ends of a cable connecting between the terminals of the apparatus so that the connection source and connection destination are not mistaken.

特許文献1に記載の印刷装置は、端末装置が接続されている。ユーザは、端末装置側の操作部を介し、例えば、印刷内容として「A01/B95」を入力すると、端末装置は、「A01/B95」の印刷データを生成すると共に、"/"の前後の印刷内容を入れ替えた「B95/A01」の印刷データを生成し、印刷装置に送信する。一般的に、「A01/B95」の"/"より前の"A91"は結線元を示し、"/"より後ろの"B95"は結線先を示す。   A terminal device is connected to the printing device described in Patent Document 1. For example, when the user inputs “A01 / B95” as the print content via the operation unit on the terminal device side, the terminal device generates print data of “A01 / B95” and prints before and after “/”. The print data of "B95 / A01" whose contents are replaced is generated and transmitted to the printing apparatus. In general, "A91" before "/" of "A01 / B95" indicates the connection source, and "B95" after "/" indicates the connection destination.

特開2017−177492号公報JP, 2017-177492, A

この場合、「A01/B95」と印刷されたチューブと「B95/A01」と印刷されたチューブが、印刷装置から排出される。その為、ユーザは、印刷済のチューブをケーブルに取り付ける際に、別々のチューブをケーブルの両端に差し込むので、手間が掛かる。また、ケーブルに取り付ける際に、ケーブルの両端それぞれにおいて、取り付けるチューブの印刷内容を確認する必要があるので、手間が掛かる。さらに、間違ったチューブを取り付けてしまう可能性もある。   In this case, the tube printed as "A01 / B95" and the tube printed as "B95 / A01" are discharged from the printing apparatus. Therefore, when attaching a printed tube to a cable, the user inserts a separate tube in the both ends of a cable, and it takes time and effort. Moreover, when attaching to a cable, since it is necessary to confirm the printing content of the tube to be attached at each end of the cable, it takes time and effort. In addition, it is possible to attach the wrong tube.

本発明の目的は、ケーブルに印刷後のチューブを取付ける際の手間を軽減し、且つチューブの取り付けミスの発生を低減できる印刷装置、及びプログラムを提供することである。   An object of the present invention is to provide a printing apparatus and program capable of reducing the trouble of attaching a tube after printing to a cable and reducing the occurrence of a tube attachment error.

本発明の第一態様に係る印刷装置は、チューブに印刷を行う印刷部と、前記チューブを搬送する搬送部と、前記チューブが搬送される搬送経路に設けられ、前記チューブの周方向の一部を残した切断である部分カットを実行する切断部と、前記チューブに印刷される第一印刷部分の一方側と他方側を含む印刷内容の入力を受付ける受付部と、備え、前記受付部が受け付けた前記印刷内容に基づき、前記一方側を印刷する一方側データ及び前記他方側を印刷する他方側データを含む第一印刷データを生成する第一印刷データ生成手段と、前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データとを入れ替えた第二印刷データを生成する第二印刷データ生成手段と、前記第一印刷データに基づいて、前記印刷部を制御し、前記チューブに前記第一印刷部分の印刷を行わせる第一印刷制御手段と、前記第一印刷部分が印刷された前記チューブの搬送方向の上流側に、前記第二印刷データに基づいて、前記印刷部を制御し、第二印刷部分の印刷を行わせる第二印刷制御手段と、前記搬送部を制御し、前記チューブを搬送させ、前記切断部を制御し、前記第一印刷部分と前記第二印刷部分との間に、前記部分カットを実行させる部分カット制御手段と、を備えたことを特徴とする。   The printing apparatus according to the first aspect of the present invention is provided in a printing unit that performs printing on a tube, a transport unit that transports the tube, and a transport path along which the tube is transported, and a part of the tube in the circumferential direction And a receiving unit for receiving input of print contents including one side and the other side of the first print portion to be printed on the tube, the reception unit receiving First print data generation means for generating first print data including one side data for printing the one side and the other side data for printing the other side based on the print content, the first print data or the first print data A second print data generation unit that generates second print data in which the one-side data and the other-side data are switched based on the print content, and the print unit based on the first print data First printing control means for printing the first print portion on the tube, and upstream of the transport direction of the tube on which the first print portion is printed, based on the second print data A second printing control unit that controls the printing unit to print the second printing portion, and controls the transport unit to transport the tube and control the cutting unit; And a partial cut control unit configured to execute the partial cut with the second print portion.

上記印刷装置は、受付部が第一印刷部分の一方側及び他方側を含む印刷内容の入力を受け付け、第一印刷データ生成手段が第一印刷データを生成する。第二印刷データ生成手段が第一印刷データに含まれる一方側データと他方側データとを入れ替えた第二印刷データを生成する。従って、第二印刷部分の印刷内容を入力する必要が無く、第二印刷データを作成する為の入力の手間が省ける。また、印刷装置は、第一印刷データに基づく第一印刷部分が印刷されたチューブの上流側に第二印刷データに基づく第二印刷部分を印刷する。また、印刷装置は、チューブを搬送させ、第一印刷部分と第二印刷部分の間を部分カットする。従って、印刷装置は、部分カットで繋がった第一印刷部分と第二印刷部分からなる一組の印刷後のチューブを作成できる。次いで、一組の印刷後のチューブを一度にケーブルに挿し込み、挿し込み後に第一印刷部分と第二印刷部分とを切り離して、ケーブルの両端に各々取り付けるので、ケーブルの作成作業の工数を低減できる。また、間違った印刷後のチューブを挿入する可能性を低減できる。   In the printing apparatus, the receiving unit receives an input of print content including one side and the other side of the first print portion, and the first print data generation unit generates the first print data. The second print data generation unit generates second print data in which the one-side data and the other-side data included in the first print data are interchanged. Therefore, there is no need to input the print content of the second print portion, and the time and effort of input for creating the second print data can be saved. Further, the printing apparatus prints a second print portion based on the second print data on the upstream side of the tube on which the first print portion based on the first print data is printed. The printing apparatus also transports the tube and partially cuts between the first print portion and the second print portion. Thus, the printing device can create a set of printed tubes consisting of a first print portion and a second print portion connected in partial cuts. Next, one set of printed tubes is inserted into the cable at one time, and after insertion, the first print part and the second print part are separated and attached to both ends of the cable, thus reducing the man-hour for cable preparation work it can. Also, the possibility of inserting a tube after incorrect printing can be reduced.

本発明の第一態様に係る印刷装置において、前記第二印刷データ生成手段は、前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データが、前記一方側と前記他方側を入れ替え180°回転した印刷状態になる前記第二印刷データを作成してもよい。上記印刷装置では、第二印刷データ生成手段は、第一印刷データ又は印刷内容に基づいて、一方側データと他方側データが、一方側と他方側を入れ替え180°回転(上下反転)した印刷状態になる第二印刷データを作成する。従って、第二印刷データを作成する為の入力の手間が省ける。また、第二印刷部分は第一印刷部分を上下反転させた状態で印刷される。従って、部分カットで繋がった第一印刷部分と第二印刷部分からなる一組の印刷後のチューブは、夫々、結線元の情報が常に結線元側になる。故に、取り付けミスの発生を抑制できる。   In the printing apparatus according to the first aspect of the present invention, the second print data generation unit is configured to, based on the first print data or the print content, the one side data and the other side data are the one side and the one side. The second print data may be created in which the other side is interchanged and rotated 180 ° for printing. In the printing apparatus, the second print data generation unit is a print state in which one side data and the other side data are interchanged and rotated 180 degrees (vertically reversed) based on the first print data or the print content. Create second print data that will be Therefore, the trouble of the input for producing the second print data can be saved. Further, the second print portion is printed in a state in which the first print portion is turned upside down. Therefore, in the tube after printing, which is a set of the first print portion and the second print portion connected by the partial cut, the connection source information is always on the connection source side. Therefore, the occurrence of mounting errors can be suppressed.

本発明の第一態様に係る印刷装置において、前記第一印刷データ生成手段は、前記第一印刷部分に含まれる指定された連続する記号である連続記号を次順の連続記号に繰り上げ又は繰り下げた前記第一印刷データを生成し、前記第二印刷データ生成手段は、前記第二印刷部分の前記連続記号を前記次順の連続記号に繰り上げ又は繰り下げた前記第二印刷データを生成し、前記第一印刷データ生成手段と前記第二印刷データ生成手段は、それぞれ、指定された回数に到達するまで、前記連続記号の前記次順への繰り上げ又は繰り下げをした前記第一印刷データと前記第二印刷データを生成してもよい。上記印刷装置は、連続記号の指定の順に従って、第一印刷データと第二印刷データとの組を印刷できるので、入力の手間を省くことができる。故に、印刷装置の生産性が向上する。   In the printing apparatus according to the first aspect of the present invention, the first print data generation means may carry forward or backward the consecutive symbols which are designated consecutive symbols included in the first print portion into the next consecutive symbols. The first print data is generated, and the second print data generation unit generates the second print data in which the continuous symbol of the second print portion is rounded up or down to the next sequential symbol, The first print data and the second print in which the continuous symbol is moved up or down to the next order until the designated number of times is reached, respectively, the first print data generation means and the second print data generation means Data may be generated. The printing apparatus can print the sets of the first print data and the second print data in accordance with the order of designation of the continuous symbols, thereby saving the trouble of inputting. Therefore, the productivity of the printing apparatus is improved.

本発明の第一態様に係る印刷装置において、前記次順の連続記号は、指定された個数の前記連続記号を飛び越した連続記号であってもよい。印刷装置は指定された個数の連続記号を飛び越えた連番印刷が可能となり、ユーザは印刷内容の入力の手間が省けるので、ユーザの利便性が向上する。   In the printing apparatus according to the first aspect of the present invention, the next consecutive symbol may be a consecutive symbol which skips a designated number of the consecutive symbols. The printing apparatus can perform serial number printing over the designated number of continuous symbols, and the user can save time and effort of inputting the print content, thereby improving the convenience of the user.

本発明の第一態様に係る印刷装置において、前記第一印刷データ又は前記印刷内容に基づいて、前記第二印刷データ生成手段は前記一方側データと前記他方側データとを入れ替えた前記第二印刷データを作成する第一変換モード、又は、前記第一印刷データ又は前記印刷内容に基づいて、前記第二印刷データ生成手段は前記一方側データと前記他方側データが、前記一方側と前記他方側とを入れ替え180°回転した印刷状態になる前記第二印刷データを作成する第二変換モードを設定する変換モード設定手段を備えてもよい。上記印刷装置は、変換モード設定手段を備えるので、ユーザは第一変換モード又は第二変換モードを設定でき、ユーザの利便性が向上する。   In the printing apparatus according to the first aspect of the present invention, the second print in which the second print data generation unit interchanges the one side data and the other side data based on the first print data or the print content Based on the first conversion mode for generating data, or the first print data or the print content, the second print data generation unit is configured to generate the one side data and the other side data, the one side and the other side. And conversion mode setting means for setting a second conversion mode for creating the second print data in a printing state rotated 180 °. Since the printing apparatus includes the conversion mode setting means, the user can set the first conversion mode or the second conversion mode, and the convenience of the user is improved.

本発明の第一態様に係る印刷装置において、前記印刷装置は少なくとも機能を表示する表示部を備え、前記第一変換モードである場合には、前記表示部を制御し、所定のキャラクタの表示を行わせ、前記第二変換モードである場合には、前記表示部に、前記所定のキャラクタを180°回転した表示を行わせる表示制御手段を備えてもよい。上記印刷装置は、第一変換モードの場合と、第二変換モードの場合とで、表示部に表示される所定のキャラクタの表示態様が異なる。従って、ユーザの利便性が向上し、印刷を実行する前に、ユーザは誤りを発見できる。故に、印刷装置の生産性が向上する。   In the printing device according to the first aspect of the present invention, the printing device includes a display unit for displaying at least a function, and in the case of the first conversion mode, controls the display unit to display a predetermined character. In the case of the second conversion mode, the display unit may include display control means for causing the display unit to rotate the predetermined character by 180 °. In the printing apparatus, the display mode of the predetermined character displayed on the display unit differs between the first conversion mode and the second conversion mode. Therefore, the convenience of the user is improved, and the user can find an error before printing. Therefore, the productivity of the printing apparatus is improved.

本発明の第二態様に係る印刷装置は、チューブに印刷を行う印刷部と、前記チューブを搬送する搬送部と、前記チューブが搬送される搬送経路に設けられ、前記チューブの周方向の一部を残した切断である部分カットを実行する切断部と、接続されている端末装置から送信された、前記チューブにおいて、第一印刷部分の一方側に印刷される一方側データ及び前記第一印刷部分の他方側に印刷される他方側データを含む第一印刷データと、前記一方側データと前記他方側データとを入れ替えた第二印刷データを受け付ける通信部と、を備え、前記第一印刷データに基づいて、前記印刷部を制御し、前記チューブに前記第一印刷部分の印刷を行わせる第一印刷制御手段と、前記第一印刷部分が印刷された前記チューブの上流側に、前記第二印刷データに基づいて、前記印刷部を制御し、第二印刷部分の印刷を行わせる第二印刷制御手段と、前記搬送部を制御し、前記チューブを搬送させ、前記切断部を制御し、前記第一印刷部分と前記第二印刷部分との間に、前記部分カットを実行させる部分カット制御手段と、を備えたことを特徴とする。   The printing apparatus according to the second aspect of the present invention is provided in a printing unit that performs printing on a tube, a transport unit that transports the tube, and a transport path along which the tube is transported, and a part of the tube in the circumferential direction And a cutting unit that performs a partial cut that is a cutting that has been left behind, and one side data printed on one side of the first print portion and the first print portion, transmitted from the connected terminal device, in the tube A first print data including the other side data to be printed on the other side of the paper; and a communication unit that receives the second print data in which the one side data and the other side data are interchanged; First printing control means for controlling the printing unit to cause the tube to print the first printing portion, and the second printing on the upstream side of the tube on which the first printing portion is printed Controlling the printing unit based on the second printing control unit for controlling printing of the second printing portion, and controlling the transport unit to transport the tube, and controlling the cutting unit; A partial cut control means for performing the partial cut is provided between the first print portion and the second print portion.

上記印刷装置は、通信部が、端末装置から送信された、一方側データ及び他方側データを含む第一印刷データと一方側データと他方側データを入れ替えた第二印刷データを受け付ける。そして、印刷装置は、第一印刷データに基づく第一印刷部分が印刷されたチューブの上流側に第二印刷データに基づく第二印刷部分を印刷する。また、印刷装置は、チューブを搬送させ、第一印刷部分と第二印刷部分の間を部分カットする。従って、印刷装置は、部分カットで繋がった第一印刷部分と第二印刷部分からなる一組の印刷後のチューブを作成できる。次いで、一組の印刷後のチューブを一度にケーブルに挿し込み、挿し込み後に第一印刷部分と第二印刷部分とを切り離して、ケーブルの両端に各々取り付けるので、ケーブルの作成作業の工数を低減できる。また、間違った印刷後のチューブを挿入する可能性を低減できる。   In the printing apparatus, the communication unit receives, from the terminal device, the first print data including the one-side data and the other-side data, and the second print data in which the one-side data and the other-side data are interchanged. Then, the printing apparatus prints a second print portion based on the second print data on the upstream side of the tube on which the first print portion based on the first print data is printed. The printing apparatus also transports the tube and partially cuts between the first print portion and the second print portion. Thus, the printing device can create a set of printed tubes consisting of a first print portion and a second print portion connected in partial cuts. Next, one set of printed tubes is inserted into the cable at one time, and after insertion, the first print part and the second print part are separated and attached to both ends of the cable, thus reducing the man-hour for cable preparation work it can. Also, the possibility of inserting a tube after incorrect printing can be reduced.

本発明の第三態様に係るプログラムは、チューブに印刷を行う印刷部と、前記チューブを搬送する搬送部と、前記チューブが搬送される搬送経路に設けられ、前記チューブの周方向の一部を残した切断である部分カットを実行する切断部とを備えた印刷装置に接続され、前記チューブに印刷される第一印刷部分の一方側と他方側を含む印刷内容の入力を受付ける受付部と前記印刷装置との間で通信可能な第二通信部とを備える端末装置のコンピュータに、前記受付部が受け付けた前記印刷内容に基づき、前記一方側を印刷する一方側データ及び前記他方側を印刷する他方側データを含む第一印刷データを生成する第一印刷データ生成手順と、前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データとを入れ替えた第二印刷データを生成する第二印刷データ生成手順と、前記搬送部を制御し、前記チューブを搬送させ、前記切断部を制御し、前記第一印刷部分と、前記第二印刷データに基づいて、前記印刷部により前記チューブに印刷される第二印刷部分との間に、前記部分カットを実行させる部分カット命令を作成する部分カット命令作成手順と、前記第一印刷データと、前記第二印刷データと、前記部分カット命令とを前記第二通信部から前記印刷装置に送信する送信手順とを実行させる。   The program according to the third aspect of the present invention is provided in a printing unit that performs printing on a tube, a transport unit that transports the tube, and a transport path along which the tube is transported, and a part of the tube in the circumferential direction A receiving unit connected to a printing apparatus including a cutting unit for performing a partial cut which is a remaining cutting, and receiving an input of print contents including one side and the other side of the first print portion to be printed on the tube; Printing one side data and the other side printing the one side based on the print contents received by the reception unit on a computer of the terminal device including a second communication unit capable of communicating with the printing apparatus First print data generation procedure for generating first print data including the other side data, and replacing the one side data with the other side data based on the first print data or the print content A second print data generation procedure for generating a second print data, and controlling the transport unit to transport the tube and control the cutting unit; and based on the first print portion and the second print data A partial cut instruction generation procedure for generating a partial cut instruction to execute the partial cut between the second print portion printed on the tube by the print unit, the first print data, and the second print data A transmission procedure for transmitting print data and the partial cut command from the second communication unit to the printing apparatus is performed.

上記プログラムは、端末装置のコンピュータにより実行され、端末装置が、第一印刷データ、第二印刷データ、及び部分カット命令を送信することで、印刷装置は、第一印刷データに基づく第一印刷部分が印刷されたチューブの上流側に第二印刷データに基づく第二印刷部分を印刷する。また、印刷装置は、チューブを搬送させ、第一印刷部分と第二印刷部分の間を部分カットする。従って、印刷装置は、部分カットで繋がった第一印刷部分と第二印刷部分からなる一組の印刷後のチューブを作成できる。次いで、一組の印刷後のチューブを一度にケーブルに挿し込み、挿し込み後に第一印刷部分と第二印刷部分とを切り離して、ケーブルの両端に各々取り付けるので、ケーブルの作成作業の工数を低減できる。また、間違った印刷後のチューブを挿入する可能性を低減できる。   The program is executed by the computer of the terminal device, and the terminal device transmits the first print data, the second print data, and the partial cut instruction, whereby the printing device performs the first print portion based on the first print data. Print a second print portion based on the second print data on the upstream side of the printed tube. The printing apparatus also transports the tube and partially cuts between the first print portion and the second print portion. Thus, the printing device can create a set of printed tubes consisting of a first print portion and a second print portion connected in partial cuts. Next, one set of printed tubes is inserted into the cable at one time, and after insertion, the first print part and the second print part are separated and attached to both ends of the cable, thus reducing the man-hour for cable preparation work it can. Also, the possibility of inserting a tube after incorrect printing can be reduced.

本発明の第三態様に係るプログラムにおいて、前記第二印刷データ生成手順にて、前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データが、前記一方側と前記他方側とを入れ替え180°回転した印刷状態になる前記第二印刷データが作成されてもよい。第二印刷データ生成手順にて、第一印刷データ又は印刷内容に基づいて、一方側データと他方側データが、チューブへの印刷状態において、一方側と他方側とを入れ替え180°回転した印刷状態になる第二印刷データが作成される。従って、第二印刷データを作成する為の入力の手間が省ける。また、第二印刷部分は第一印刷部分を一方側と他方側とを入れ替え180°回転させた状態で印刷される。従って、部分カットで繋がった第一印刷部分と第二印刷部分からなる一組の印刷後のチューブは、夫々、結線元の情報が常に結線元側になる。故に、取り付けミスの発生を抑制できる。   In the program according to the third aspect of the present invention, in the second print data generation procedure, the one-side data and the other-side data are the one side and the one based on the first print data or the print content. The second print data may be created in which the other side is replaced and the print state rotated 180 ° is generated. In the second print data generation procedure, based on the first print data or the print content, the one-side data and the other-side data in the print state on the tube are printed by rotating one side and the other side by 180 °. Second print data is created. Therefore, the trouble of the input for producing the second print data can be saved. In addition, the second print portion is printed in a state where the first print portion is interchanged with one side and the other side and rotated 180 degrees. Therefore, in the tube after printing, which is a set of the first print portion and the second print portion connected by the partial cut, the connection source information is always on the connection source side. Therefore, the occurrence of mounting errors can be suppressed.

本発明の第三態様に係るプログラムにおいて、前記第一印刷データ生成手順にて、前記第一印刷部分に含まれる指定された連続する記号である連続記号を次順の連続記号に繰り上げ又は繰り下げた第一印刷データを生成し、前記第二印刷データ生成手順にて、前記第二印刷部分の前記連続記号を前記次順の連続記号に繰り上げ又は繰り下げた第二印刷データが生成されてもよい。上記端末装置は、連続記号の指定の順に従って、第一印刷データと第二印刷データとの組を生成し、印刷装置に送信するので、入力の手間を省くことができる。故に、印刷装置の生産性が向上する。   In the program according to the third aspect of the present invention, in the first print data generation procedure, a continuous symbol which is a designated continuous symbol included in the first print portion is rounded up or down to the next sequential symbol. First print data may be generated, and in the second print data generation procedure, second print data may be generated in which the continuous symbol of the second print portion is rounded up or down to the next sequential symbol. The terminal device generates a set of the first print data and the second print data in accordance with the order of designation of the continuous symbols, and transmits the set to the printing device. Therefore, the productivity of the printing apparatus is improved.

本発明の第三態様に係るプログラムにおいて、前記次順の連続記号は、指定された個数の前記連続記号を飛び越した連続記号であってもよい。印刷装置は、指定された個数の連続記号を飛び越えた連番印刷が可能となり、ユーザは印刷内容の入力の手間が省けるので、ユーザの利便性が向上する。   In the program according to the third aspect of the present invention, the next consecutive symbol may be a consecutive symbol which skips a designated number of the consecutive symbols. The printing apparatus can perform serial number printing over the designated number of continuous symbols, and the user can save time and effort of inputting the print content, so the convenience of the user is improved.

本発明の第三態様に係るプログラムにおいて、前記第一印刷データ又は前記印刷内容に基づいて、前記第二印刷データ生成手順にて前記一方側データと前記他方側データとを入れ替えた前記第二印刷データを作成する第一変換モード、又は、前記第一印刷データ又は前記印刷内容に基づいて、前記第二印刷データ生成手順にて前記一方側データと前記他方側データが、前記一方側と前記他方側とを入れ替え180°回転した印刷状態になる前記第二印刷データを作成する第二変換モードを設定する変換モード設定手順を、前記コンピュータに実行させてもよい。上記プログラムは変換モード設定手順を備えるので、ユーザの利便性が向上する。   In the program according to the third aspect of the present invention, the second printing in which the one side data and the other side data are exchanged in the second print data generation procedure based on the first print data or the print content. The one side data and the other side data are one side and the other side in the second print data generation procedure based on the first conversion mode for creating data or the first print data or the print content. The computer may be caused to execute a conversion mode setting procedure for setting a second conversion mode for creating the second print data in which the side is replaced and the print state rotated by 180 ° is created. Since the above program comprises the conversion mode setting procedure, the convenience of the user is improved.

本発明の第三態様に係るプログラムにおいて、前記端末装置は表示部を備え、前記第一変換モードである場合には、前記表示部を制御し、所定のキャラクタの表示を行わせ、前記第二変換モードである場合には、前記表示部を制御し、前記所定のキャラクタを、180°回転した表示を行わせるモード表示制御手順を前記コンピュータに実行させてもよい。第一変換モードの場合と、第二変換モードの場合とで、表示部に表示される所定のキャラクタの表示態様が異なる。従って、ユーザの利便性が向上し、印刷を実行する前に、ユーザは誤りを発見できる。故に、印刷装置の生産性が向上する。   In the program according to the third aspect of the present invention, the terminal device includes a display unit, and in the case of the first conversion mode, the terminal unit controls the display unit to display a predetermined character, and the second When in the conversion mode, the display unit may be controlled to cause the computer to execute a mode display control procedure for causing the predetermined character to be rotated 180 degrees. The display mode of the predetermined character displayed on the display unit differs between the case of the first conversion mode and the case of the second conversion mode. Therefore, the convenience of the user is improved, and the user can find an error before printing. Therefore, the productivity of the printing apparatus is improved.

本発明の第四態様に係るプログラムは、チューブに印刷を行う印刷部と、前記チューブを搬送する搬送部と、前記チューブが搬送される搬送経路に設けられ、前記チューブの周方向の一部を残した切断である部分カットを実行する切断部と、前記チューブに印刷される第一印刷部分の一方側と他方側を含む印刷内容の入力を受付ける受付部と、備える印刷装置のコンピュータに、前記受付部が受け付けた前記印刷内容に基づき、前記一方側を印刷する一方側データ及び前記他方側を印刷する他方側データを含む第一印刷データを生成する第一印刷データ生成手順と、前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データとを入れ替えた第二印刷データを生成する第二印刷データ生成手順と、前記第一印刷データに基づいて、前記印刷部を制御し、前記チューブに前記第一印刷部分の印刷を行わせる第一印刷制御手順と、前記第一印刷部分が印刷された前記チューブの上流側に、前記第二印刷データに基づいて、前記印刷部を制御し、第二印刷部分の印刷を行わせる第二印刷制御手順と、前記搬送部を制御し、前記チューブを搬送させ、前記切断部を制御し、前記第一印刷部分と前記第二印刷部分との間に、前記部分カットを実行させる部分カット制御手順と、を実行させる。   The program according to the fourth aspect of the present invention is provided in a printing unit that performs printing on a tube, a transport unit that transports the tube, and a transport path along which the tube is transported, and a part of the tube in the circumferential direction A computer of a printing apparatus, comprising: a cutting unit for executing a partial cut which is a remaining cutting; and a receiving unit for receiving an input of print contents including one side and the other side of a first print portion to be printed on the tube. A first print data generation procedure for generating first print data including one side data for printing the one side and the other side data for printing the other side based on the print content received by the reception unit; A second print data generation procedure for generating second print data in which the one-side data and the other-side data are switched based on print data or the print content; and A first printing control procedure for controlling the printing unit to cause the tube to print the first printing portion on the basis of a timer; and an upstream side of the tube on which the first printing portion is printed; (2) A second printing control procedure for controlling the printing unit to print the second printing portion based on the printing data, and controlling the transport unit to transport the tube and control the cutting unit. And performing a partial cut control procedure for performing the partial cut between the first print portion and the second print portion.

上記プログラムは、印刷装置のコンピュータにより実行され、印刷装置は、受付部が第一印刷部分の一方側及び他方側を含む印刷内容の入力を受け付け、第一印刷データ生成手順にて第一印刷データが生成される。第二印刷データ生成手順にて第一印刷データに含まれる一方側データと他方側データとを入れ替えた第二印刷データが生成される。従って、第二印刷部分の印刷内容を入力する必要が無く、第二印刷データ作成の手間が省ける。また、印刷装置は、第一印刷データに基づく第一印刷部分が印刷されたチューブの上流側に第二印刷データに基づく第二印刷部分を印刷する。また、印刷装置は、チューブを搬送させ、第一印刷部分と第二印刷部分との間を部分カットする。従って、部分カットで繋がった第一印刷部分と第二印刷部分からなる一組の印刷後のチューブを作成できる。次いで、一組の印刷後のチューブを一度にケーブルに挿し込み、挿し込み後に第一印刷部分と第二印刷部分とを切り離して、ケーブルの両端に各々取り付けるので、ケーブルの作成作業の工数を低減できる。また、間違った印刷後のチューブを挿入する可能性を低減できる。   The program is executed by the computer of the printing apparatus, and the printing apparatus receives the input of the print content including the one side and the other side of the first print portion, and the first print data is generated in the first print data generation procedure. Is generated. Second print data in which one-side data and the other-side data included in the first print data are replaced in the second print data generation procedure is generated. Therefore, there is no need to input the print content of the second print portion, and the time and effort of second print data creation can be saved. Further, the printing apparatus prints a second print portion based on the second print data on the upstream side of the tube on which the first print portion based on the first print data is printed. Also, the printing apparatus transports the tube and partially cuts between the first print portion and the second print portion. Therefore, it is possible to create a set of printed tubes consisting of the first print portion and the second print portion connected by partial cutting. Next, one set of printed tubes is inserted into the cable at one time, and after insertion, the first print part and the second print part are separated and attached to both ends of the cable, thus reducing the man-hour for cable preparation work it can. Also, the possibility of inserting a tube after incorrect printing can be reduced.

印刷装置1Aを前右上方から見た斜視図である。FIG. 2 is a perspective view of the printing apparatus 1A as viewed from the front upper right. 本体ケース51の平面図である。5 is a plan view of a main body case 51. FIG. 印刷装置1Aの電気的構成を示すブロック図である。FIG. 2 is a block diagram showing an electrical configuration of the printing apparatus 1A. (1)は、チューブ印刷設定画面131の一例を示す図であり、(2)は、印刷内容設定画面132の一例を示す図である。(1) is a diagram showing an example of the tube printing setting screen 131, and (2) is a diagram showing an example of the printing content setting screen 132. (1)は、OFFモードの場合の印刷結果の一例を示す図であり、(2)は、変換モード131Mが第一変換モードの場合の印刷結果の一例を示す図であり、(3)は、変換モード131Mが第二変換モードの場合の印刷結果の一例を示す図である。(1) is a diagram showing an example of the printing result in the OFF mode, (2) is a diagram showing an example of the printing result in the case where the conversion mode 131M is the first conversion mode, and (3) is a diagram FIG. 16 is a diagram showing an example of a print result when the conversion mode 131M is the second conversion mode. 変換モード設定処理の流れを示すフローチャートである。It is a flow chart which shows a flow of conversion mode setting processing. 変換モード印刷処理の流れを示すフローチャートである。5 is a flowchart showing a flow of conversion mode printing processing. 印刷装置1Bと端末装置2の電気的構成を示すブロック図である。FIG. 2 is a block diagram showing an electrical configuration of a printing apparatus 1B and a terminal device 2. 第二実施形態における変換モード設定処理の流れを示すフローチャートの一部である。It is a part of flowchart which shows the flow of the conversion mode setting process in 2nd embodiment. 第二実施形態における変換モード設定処理の流れを示すフローチャートの残りの一部である。It is a remaining part of the flowchart which shows the flow of the conversion mode setting process in 2nd embodiment. 第二実施形態における変換モード印刷処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the conversion mode printing process in 2nd embodiment. 第三実施形態における変換モード設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the conversion mode setting process in 3rd embodiment. 第三実施形態における変換モード印刷処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the conversion mode printing process in 3rd embodiment. (1)は印刷後のチューブ9を示す図であり、(2)〜(4)は、印刷後の一組のチューブ80の使用方法を示す図である。(1) is a figure which shows the tube 9 after printing, (2)-(4) is a figure which shows the usage method of one set of tube 80 after printing.

<第一実施形態>
本発明の第一実施形態である印刷装置1Aを、図面を参照して説明する。以下では、図1の上方、下方、左下方、右上方、右下方、及び左上方を、各々、印刷装置1Aの上方、下方、前方、後方、右方、及び左方と定義して説明する。印刷装置1Aは、印刷データに基づいて、長尺状の印刷媒体にキャラクタを印刷できる。印刷媒体は、例えば筒状のチューブ9である。キャラクタは、記号、記号列、図形、イラスト等の少なくとも一つである。記号は、文字、数字を含む概念である。
First Embodiment
A printing apparatus 1A according to a first embodiment of the present invention will be described with reference to the drawings. In the following description, upper, lower, lower left, upper right, lower right, and upper left in FIG. 1 will be respectively defined as upper, lower, front, rear, right, and left of the printing apparatus 1A. . The printing apparatus 1A can print characters on a long print medium based on print data. The print medium is, for example, a cylindrical tube 9. The character is at least one of a symbol, a symbol string, a figure, an illustration, and the like. A symbol is a concept that includes letters and numbers.

<印刷装置1Aの概略>
図1に示すように、印刷装置1Aは筐体5を備える。筐体5は、本体ケース51及びカバー52を含む。本体ケース51は、図1の例では、左右方向に長い直方体状の箱状部材である。カバー52は、本体ケース51の上側に配置された板状部材である。カバー52の上面には、キーボード13が設けられる。キーボード13は、USB(Universal Serial Bus:登録商標)ケーブル79を介して本体ケース51に接続される。キーボード13は、入力部13Aと表示部13Bとを備える。入力部13Aは、複数のキーを有し、ユーザのキーの操作に応じて、印刷装置1Aに各種情報を入力する。表示部13Bは、例えば液晶表示装置等であり、各種の設定画面や各種情報等を表示する。カバー52の後端部は、本体ケース51の後端部上側で回転可能に支持されている。カバー52が本体ケース51に対して閉じられた場合、カバー52は装着面51A(図2参照)を覆う(図1参照)。カバー52が本体ケース51に対して開かれた場合、装着面51Aは上方に露出する(図2参照)。
<Outline of Printing Device 1A>
As shown in FIG. 1, the printing apparatus 1A includes a housing 5. The housing 5 includes a main body case 51 and a cover 52. The main body case 51 is a rectangular parallelepiped box-like member which is long in the left-right direction in the example of FIG. The cover 52 is a plate-like member disposed on the upper side of the main body case 51. A keyboard 13 is provided on the top surface of the cover 52. The keyboard 13 is connected to the main body case 51 via a USB (Universal Serial Bus: registered trademark) cable 79. The keyboard 13 includes an input unit 13A and a display unit 13B. The input unit 13A has a plurality of keys, and inputs various information to the printing apparatus 1A in accordance with the user's operation of the keys. The display unit 13B is, for example, a liquid crystal display device or the like, and displays various setting screens, various information, and the like. The rear end of the cover 52 is rotatably supported on the rear end upper side of the main body case 51. When the cover 52 is closed with respect to the main body case 51, the cover 52 covers the mounting surface 51A (see FIG. 2) (see FIG. 1). When the cover 52 is opened with respect to the main body case 51, the mounting surface 51A is exposed upward (see FIG. 2).

筐体5の側面には、チューブ挿入口15、チューブ排出口16(図2参照)、及び操作部17(図1参照)が設けられている。チューブ挿入口15は、筐体5の右面に設けられている。チューブ挿入口15は、チューブ9を筐体5の内部に案内するための開口である。チューブ排出口16は、筐体5の左面に設けられている。チューブ排出口16は、チューブ9を筐体5の外部に排出するための開口である。操作部17は、印刷装置1Aの動作状態を示す複数のLEDと、電源ボタン、スタートボタン等の複数の操作ボタンと、を含む。   A tube insertion port 15, a tube discharge port 16 (see FIG. 2), and an operation unit 17 (see FIG. 1) are provided on the side surface of the housing 5. The tube insertion port 15 is provided on the right side of the housing 5. The tube insertion port 15 is an opening for guiding the tube 9 into the inside of the housing 5. The tube discharge port 16 is provided on the left surface of the housing 5. The tube discharge port 16 is an opening for discharging the tube 9 to the outside of the housing 5. The operation unit 17 includes a plurality of LEDs indicating the operating state of the printing apparatus 1A, and a plurality of operation buttons such as a power button and a start button.

図2に示すように、本体ケース51の装着面51A側に、リボン装着部30、チューブ装着部40、カッタ64等が設けられている。リボン装着部30は、装着面51Aの左部にある。リボン装着部30は、上方に開口する凹部である。リボン装着部30には、リボンカセット90が着脱可能である。リボンカセット90は、未使用のインクリボン90A、使用後のリボンを巻き取るリボン巻取スプール91等が収容された箱状体である。ユーザは、カバー52が開かれた状態で、リボンカセット90をリボン装着部30に対して上方から着脱できる。   As shown in FIG. 2, a ribbon mounting portion 30, a tube mounting portion 40, a cutter 64 and the like are provided on the mounting surface 51 A side of the main body case 51. The ribbon mounting portion 30 is on the left side of the mounting surface 51A. The ribbon mounting portion 30 is a recess that opens upward. The ribbon cassette 90 is removable from the ribbon mounting unit 30. The ribbon cassette 90 is a box-like body in which an unused ink ribbon 90A, a ribbon take-up spool 91 for taking up the used ribbon, and the like are accommodated. The user can attach and detach the ribbon cassette 90 to the ribbon mounting portion 30 from the upper side with the cover 52 opened.

チューブ装着部40は、チューブ挿入口15からチューブ排出口16まで略左右方向に延設されている。以下、チューブ挿入口15からチューブ排出口16に向かってチューブ装着部40が延びる方向を、搬送方向という。チューブ装着部40は、リボン装着部30の後側を通り、且つリボン装着部30の後端部と連通している。チューブ装着部40は、上方に開口する溝である。チューブ装着部40には、チューブ9が着脱可能である。ユーザは、カバー52が開かれた状態で、チューブ9をチューブ装着部40に対して上方から着脱できる。チューブ9は、チューブ挿入口15からチューブ排出口16まで延びるように、チューブ装着部40に装着される。   The tube mounting portion 40 is extended substantially in the left-right direction from the tube insertion port 15 to the tube discharge port 16. Hereinafter, the direction in which the tube mounting portion 40 extends from the tube insertion port 15 toward the tube discharge port 16 is referred to as a transport direction. The tube mounting portion 40 passes through the rear side of the ribbon mounting portion 30 and communicates with the rear end of the ribbon mounting portion 30. The tube mounting portion 40 is a groove that opens upward. The tube 9 is attachable to and detachable from the tube mounting portion 40. The user can attach and detach the tube 9 from the upper side with respect to the tube mounting portion 40 with the cover 52 opened. The tube 9 is attached to the tube attachment portion 40 so as to extend from the tube insertion port 15 to the tube discharge port 16.

カッタ64は、チューブ排出口16の右側に設けられている。カッタ64は、印刷済みのチューブ9をその径方向に切断できる。また、カッタ64は、CPU41(図3参照)の制御により、径方向の一部を切断せずに残して切断する部分カットが可能である。   The cutter 64 is provided on the right side of the tube outlet 16. The cutter 64 can cut the printed tube 9 in its radial direction. Further, the cutter 64 can be partially cut under control of the CPU 41 (see FIG. 3) to leave a part of the radial direction without cutting.

リボン装着部30には、リボン巻取軸63、印刷ヘッド61、及び複数の搬送ローラ65〜69が設けられている。リボン巻取軸63は、リボン巻取スプール91の中心の貫通孔(図示略)に係合している。印刷ヘッド61は、複数の発熱素子を有するサーマルヘッドである。複数の発熱素子は、チューブ9の搬送方向と直交して上下方向に並設され、印刷データが示す複数のドットに対応する。印刷ヘッド61は、複数の発熱素子が並ぶ印刷ライン毎に印刷を行う。   The ribbon mounting portion 30 is provided with a ribbon take-up shaft 63, a print head 61, and a plurality of transport rollers 65-69. The ribbon winding shaft 63 is engaged with a through hole (not shown) at the center of the ribbon winding spool 91. The print head 61 is a thermal head having a plurality of heating elements. The plurality of heat generating elements are vertically juxtaposed perpendicularly to the transport direction of the tube 9 and correspond to the plurality of dots indicated by the print data. The print head 61 performs printing for each printing line in which a plurality of heating elements are arranged.

印刷ヘッド61は、ヘッドモータ97(図3参照)の駆動により、印刷位置と非印刷位置とに亙って移動する。図2では、非印刷位置にある印刷ヘッド61を実線で示し、印刷位置にある印刷ヘッド61を二点鎖線で示している。印刷位置にある印刷ヘッド61は、搬送ローラ65との間でチューブ9を挟み込む。非印刷位置にある印刷ヘッド61は、搬送ローラ65から前側に離隔する。   The print head 61 moves between the print position and the non-print position by the drive of the head motor 97 (see FIG. 3). In FIG. 2, the print head 61 at the non-printing position is indicated by a solid line, and the print head 61 at the printing position is indicated by a two-dot chain line. The print head 61 in the printing position sandwiches the tube 9 with the transport roller 65. The print head 61 in the non-printing position is spaced forward from the transport roller 65.

各搬送ローラ65〜69は、チューブ装着部40に装着されたチューブ9を搬送方向に沿って搬送する。搬送ローラ65は、印刷ヘッド61の後側に設けられている。搬送ローラ65は、チューブ装着部40を挟んで印刷ヘッド61に対向している。搬送ローラ66は、チューブ装着部40の後側、且つ搬送ローラ65よりも搬送方向上流側に設けられている。搬送ローラ67は、チューブ装着部40の後側、且つ搬送ローラ65よりも搬送方向下流側に設けられている。各搬送ローラ65〜67は、平面視で時計回り方向に回転可能である。   Each of the transport rollers 65 to 69 transports the tube 9 mounted on the tube mounting portion 40 along the transport direction. The transport roller 65 is provided on the rear side of the print head 61. The transport roller 65 faces the print head 61 with the tube mounting portion 40 interposed therebetween. The conveyance roller 66 is provided on the rear side of the tube mounting portion 40 and on the upstream side of the conveyance roller 65 in the conveyance direction. The conveyance roller 67 is provided on the rear side of the tube mounting portion 40 and on the downstream side of the conveyance roller 65 in the conveyance direction. Each of the transport rollers 65 to 67 is rotatable clockwise in plan view.

搬送ローラ68は、搬送ローラ66の前側に設けられている。搬送ローラ68は、チューブ装着部40を挟んで搬送ローラ66に対向している。搬送ローラ69は、搬送ローラ67の前側に設けられている。搬送ローラ69は、チューブ装着部40を挟んで搬送ローラ67に対向している。各搬送ローラ68,69は、平面視で反時計回り方向に回転可能である。   The conveyance roller 68 is provided on the front side of the conveyance roller 66. The conveyance roller 68 is opposed to the conveyance roller 66 with the tube mounting portion 40 interposed therebetween. The conveyance roller 69 is provided on the front side of the conveyance roller 67. The conveyance roller 69 is opposed to the conveyance roller 67 with the tube mounting portion 40 interposed therebetween. The transport rollers 68 and 69 can rotate counterclockwise in plan view.

搬送ローラ68,69は、夫々、印刷位置と非印刷位置とに亙って移動可能である。図2では、非印刷位置にある搬送ローラ68,69を実線で示し、印刷位置にある搬送ローラ68,69を二点鎖線で示している。印刷位置にある搬送ローラ68,69は、夫々、チューブ装着部40に装着されたチューブ9を挟んで搬送ローラ66,67に近接する方向に付勢される。非印刷位置にある搬送ローラ68,69は、夫々、搬送ローラ66,67から前側に離隔する。ユーザは、装着面51Aの後部に設けられたリリースレバー70を操作することで、搬送ローラ68,69を印刷位置と非印刷位置とに切り替えることができる。   The transport rollers 68 and 69 are respectively movable between the printing position and the non-printing position. In FIG. 2, the conveyance rollers 68 and 69 in the non-printing position are indicated by solid lines, and the conveyance rollers 68 and 69 in the printing position are indicated by two-dot chain lines. The transport rollers 68 and 69 at the printing position are biased in the direction approaching the transport rollers 66 and 67 with the tube 9 mounted on the tube mounting unit 40 interposed therebetween. The transport rollers 68 and 69 in the non-printing position are spaced forward from the transport rollers 66 and 67, respectively. The user can switch the transport rollers 68 and 69 between the printing position and the non-printing position by operating the release lever 70 provided at the rear of the mounting surface 51A.

<印刷装置1Aの電気的構成>
図3を参照し、印刷装置1Aの電気的構成を説明する。印刷装置1Aは、制御基板20を備える。制御基板20は、CPU(Central Processing Unit)41、ROM(Read Only Memory)42、CGROM(Character Graphic Read Only Memory)43、RAM(Random Access Memory)44、フラッシュメモリ45、及び入出力インターフェース49等を備える。CPU41は、印刷装置1A全体を制御し、バス46を介して、ROM42、CGROM43、RAM44、フラッシュメモリ45、及び入出力インターフェース49等に接続されている。ROM42は、CPU41が印刷装置1A全体を制御するために実行するプログラムを記憶している。CGROM43は、キャラクタを印刷するための印刷用ドットパターンデータを記憶している。RAM44は、印刷データ、各種フラグ等を一時的に記憶している。フラッシュメモリ45は、各種設定画面データ(図4参照)等を記憶している。
<Electric Configuration of Printing Device 1A>
The electrical configuration of the printing apparatus 1A will be described with reference to FIG. The printing apparatus 1A includes a control substrate 20. The control board 20 includes a central processing unit (CPU) 41, a read only memory (ROM) 42, a character graphic read only memory (CGROM) 43, a random access memory (RAM) 44, a flash memory 45, an input / output interface 49, and the like. Prepare. The CPU 41 controls the entire printing apparatus 1A, and is connected to the ROM 42, the CGROM 43, the RAM 44, the flash memory 45, the input / output interface 49, and the like via the bus 46. The ROM 42 stores a program that the CPU 41 executes to control the entire printing apparatus 1A. The CGROM 43 stores printing dot pattern data for printing characters. The RAM 44 temporarily stores print data, various flags, and the like. The flash memory 45 stores various setting screen data (see FIG. 4) and the like.

入出力インターフェース49には、操作部17、入力部13A、表示部13B、駆動回路73,74,75,76、及び内蔵電池18等が接続されている。操作部17、入力部13A、表示部13Bについては、上述したので、ここでの説明は省略する。駆動回路73は、印刷ヘッド61を駆動するための電子回路である。駆動回路74は、ヘッドモータ97を駆動するための電子回路である。駆動回路75は、搬送モータ98を駆動するための電子回路である。搬送モータ98は、ステッピングモータである。搬送モータ98の駆動により、搬送ローラ65〜69及びリボン巻取軸63が回転する。駆動回路76は、カットモータ99を駆動するための電子回路である。カットモータ99の駆動により、カッタ64が動作する。内蔵電池18は、例えばリチウム電池等であり、印刷装置1A全体に電力を供給する。   To the input / output interface 49, the operation unit 17, the input unit 13A, the display unit 13B, the drive circuits 73, 74, 75, 76, the built-in battery 18, and the like are connected. The operation unit 17, the input unit 13A, and the display unit 13B are described above, and thus the description thereof is omitted. The drive circuit 73 is an electronic circuit for driving the print head 61. The drive circuit 74 is an electronic circuit for driving the head motor 97. The drive circuit 75 is an electronic circuit for driving the conveyance motor 98. The transport motor 98 is a stepping motor. By driving the conveyance motor 98, the conveyance rollers 65 to 69 and the ribbon winding shaft 63 are rotated. The drive circuit 76 is an electronic circuit for driving the cut motor 99. The cutter 64 operates by driving the cut motor 99. The built-in battery 18 is, for example, a lithium battery, and supplies power to the entire printing apparatus 1A.

<印刷動作の一例>
図2を参照し、印刷装置1Aによる印刷動作の一例を説明する。ユーザは、カバー52が開かれた状態で、リボン装着部30にリボンカセット90を装着する。リボン装着部30にリボンカセット90が装着されると、リボン巻取軸63がリボン巻取スプール91の貫通孔に挿入される。ユーザは、印刷ヘッド61及び搬送ローラ68,69が非印刷位置にある状態で、チューブ9をチューブ装着部40に装着する。ユーザは、リリースレバー70を操作して搬送ローラ68,69を印刷位置に移動させ、カバー52を閉じる。ユーザは、入力部13Aを操作し、印刷を開始する印刷指示を印刷装置1Aに入力する。
<Example of printing operation>
An example of the printing operation by the printing apparatus 1A will be described with reference to FIG. The user mounts the ribbon cassette 90 on the ribbon mounting unit 30 with the cover 52 opened. When the ribbon cassette 90 is attached to the ribbon attachment unit 30, the ribbon take-up shaft 63 is inserted into the through hole of the ribbon take-up spool 91. The user mounts the tube 9 on the tube mounting portion 40 with the print head 61 and the transport rollers 68 and 69 in the non-printing position. The user operates the release lever 70 to move the transport rollers 68 and 69 to the printing position, and closes the cover 52. The user operates the input unit 13A and inputs a print instruction to start printing to the printing apparatus 1A.

CPU41は、印刷指示を取得すると、ヘッドモータ97を駆動して、印刷ヘッド61を非印刷位置から印刷位置に移動する。印刷ヘッド61はチューブ装着部40の内側に配置されて、搬送ローラ65に近接する。このとき、印刷ヘッド61は、チューブ装着部40に装着されているチューブ9とインクリボン90Aとを重ねて、搬送ローラ65に向けて付勢する。これにより、印刷装置1Aは、インクリボン90Aを用いてチューブ9にキャラクタを印刷可能な状態となる。   When acquiring the print instruction, the CPU 41 drives the head motor 97 to move the print head 61 from the non-printing position to the printing position. The print head 61 is disposed inside the tube mounting portion 40 and approaches the transport roller 65. At this time, the print head 61 overlaps the tube 9 attached to the tube attachment unit 40 and the ink ribbon 90A and urges the same toward the transport roller 65. As a result, the printing apparatus 1A can print characters on the tube 9 using the ink ribbon 90A.

印刷装置1Aは、一定周期で搬送モータ98にパルス信号を送信することで、回転速度α[r/sec]で搬送モータ98を駆動する。これにより、各搬送ローラ65〜69が回転してチューブ9が搬送され、且つリボン巻取軸63が回転してリボン巻取スプール91が回転する。リボン巻取スプール91の回転に伴って、リボンカセット90内にある未使用のインクリボン90Aが引き出される。引き出されたインクリボン90Aは、印刷ヘッド61と搬送ローラ65との間に搬送される。   The printing apparatus 1A drives the conveyance motor 98 at the rotational speed α [r / sec] by transmitting a pulse signal to the conveyance motor 98 at a constant cycle. Thus, the transport rollers 65 to 69 rotate to transport the tube 9, and the ribbon take-up shaft 63 rotates to rotate the ribbon take-up spool 91. As the ribbon take-up spool 91 rotates, the unused ink ribbon 90A in the ribbon cassette 90 is pulled out. The drawn ink ribbon 90A is conveyed between the print head 61 and the conveyance roller 65.

以下では、搬送ローラ65〜69の何れかを特定しない場合、搬送ローラという。搬送ローラが回転してチューブ9が搬送されるときの速度を搬送速度Vと定義する。搬送速度Vは、搬送ローラの回転速度より求められる。   Hereinafter, when any of the conveyance rollers 65 to 69 is not specified, it is referred to as a conveyance roller. The speed at which the transport roller rotates and the tube 9 is transported is defined as the transport speed V. The conveyance speed V is obtained from the rotation speed of the conveyance roller.

例えば、搬送モータ98が回転速度α[r/sec]で回転した場合に、搬送ローラが回転速度β[r/sec]で回転するとする。搬送ローラによるチューブ9の搬送速度V[mm/sec]は、搬送ローラの回転速度β[r/sec]に、搬送ローラの円周2πR[mm]を乗算することで算出される。但し、R[mm]は、搬送ローラの半径である。   For example, when the transport motor 98 rotates at the rotational speed α [r / sec], the transport roller rotates at the rotational speed β [r / sec]. The conveyance speed V [mm / sec] of the tube 9 by the conveyance roller is calculated by multiplying the rotation speed β [r / sec] of the conveyance roller by the circumference 2πR [mm] of the conveyance roller. However, R [mm] is a radius of a conveyance roller.

厳密には、搬送ローラ65,66,67の回転速度は、夫々僅かに異なるように設定されている。具体的には、一対の搬送ローラ66,68による搬送速度V3、搬送ローラ65による搬送速度V2、一対の搬送ローラ67,69による搬送速度V1は、夫々僅かに異なり、搬送ローラ65,66,67の回転速度は、V1>V2>V3となるように設定されている。このように、搬送方向下流側に配置された搬送ローラによる搬送速度を、搬送方向上流側に配置された搬送ローラによる搬送速度よりも速くすることで、印刷装置1Aは、チューブ9に適度な張力を付与しながらチューブ9を搬送する。よって、一対の搬送ローラ67,69による搬送速度V1が、チューブ9の搬送速度Vとなる。   Strictly speaking, the rotational speeds of the transport rollers 65, 66 and 67 are set to be slightly different. Specifically, the conveyance speed V3 of the pair of conveyance rollers 66 and 68, the conveyance speed V2 of the conveyance roller 65, and the conveyance speed V1 of the pair of conveyance rollers 67 and 69 are slightly different. The rotational speed of V is set to satisfy V1> V2> V3. As described above, the printing apparatus 1A has an appropriate tension on the tube 9 by making the conveyance speed by the conveyance roller disposed downstream in the conveyance direction faster than the conveyance speed by the conveyance roller disposed upstream in the conveyance direction. Transport the tube 9 while applying the Therefore, the conveyance speed V1 by the pair of conveyance rollers 67 and 69 becomes the conveyance speed V of the tube 9.

CPU41は、印刷ヘッド61を制御して、複数の発熱素子から成る印刷ライン毎に印刷を行う。具体的には、CPU41は、CGROM43に記憶されている印刷用ドットパターンデータに基づいて、印刷データのうち、印刷対象の印刷ラインであるJ番目(J=1,2,3・・・)の印刷ラインに対応するイメージデータを、RAM44に記憶する。CPU41は、RAM44に記憶されたJ番目の印刷ラインに対応するイメージデータを読み出す。印刷ヘッド61は、RAM44から読み出されたJ番目の印刷ラインに対応するイメージデータに基づいて、インクリボン90Aを用いてチューブ9にキャラクタを印刷する。この処理を繰り返して印刷データに対応する印刷対象をチューブ9に印刷する。   The CPU 41 controls the print head 61 to perform printing for each print line composed of a plurality of heating elements. Specifically, based on the printing dot pattern data stored in the CGROM 43, the CPU 41 sets the J-th (J = 1, 2, 3...) Print lines to be printed among the print data. Image data corresponding to the print line is stored in the RAM 44. The CPU 41 reads the image data corresponding to the J-th print line stored in the RAM 44. The print head 61 prints a character on the tube 9 using the ink ribbon 90A based on the image data corresponding to the J-th print line read from the RAM 44. This process is repeated to print the print object corresponding to the print data on the tube 9.

使用済みのインクリボン90Aは、リボン巻取スプール91に巻き取られる。印刷済みのチューブ9は、搬送ローラ65によって印刷ヘッド61の下流側に搬送される。印刷済みのチューブ9は、カッタ64によって切断される。切断された印刷済みのチューブ9は、チューブ排出口16から排出されて、印刷が終了する。   The used ink ribbon 90A is taken up by the ribbon take-up spool 91. The printed tube 9 is transported by the transport roller 65 to the downstream side of the print head 61. The printed tube 9 is cut by the cutter 64. The cut and printed tube 9 is discharged from the tube outlet 16 and printing is completed.

<設定画面と変換モード131M>
図4、図5を参照して、チューブ印刷設定画面131と印刷内容設定画面132について夫々説明する。また、変換モード131Mについて説明する。チューブ印刷設定画面131は、チューブ印刷を選択した際に表示部13Bに表示される設定画面である。チューブ印刷設定画面131では、図4(1)に示すように、チューブ径131Dの設定、チューブ長131Lの設定、変換モード131Mの設定、連番機能131Cの設定等が可能である。チューブ印刷設定画面131で設定された内容は、CPU41の制御の下、パラメータ情報としてRAM44に記憶される。チューブ径131Dにおいて、ユーザは、チューブ装着部40に装着するチューブ9の直径を設定する。チューブ長131Lにおいて、ユーザは、詳しくは後述する印刷内容132Aを印刷するチューブ9の長さを設定する。チューブ長131Lに基づき、カッタ64による切断位置又は部分カット位置が設定される。変換モード131Mにおいて、ユーザは、所望の変換モード131Mを設定する。変換モード131Mとして、第一変換モード、第二変換モードの二種類がある。その他のモードとして、"OFFモード"がある。OFFモードは、変換モード131Mを適用しない印刷モードであり、印刷装置1Aが、入力された印刷内容132Aをチューブ9に順次印刷するモードである(図5(1)参照)。図5(1)の例は、後述する図4(2)に示す入力された印刷内容132Aに対応する。印刷内容132Aは、入力部13Aを介して、ユーザにより入力された印刷装置1Aに印刷させたい内容である。
<Setting screen and conversion mode 131M>
The tube print setting screen 131 and the print content setting screen 132 will be respectively described with reference to FIGS. 4 and 5. In addition, the conversion mode 131M will be described. The tube printing setting screen 131 is a setting screen displayed on the display unit 13B when tube printing is selected. In the tube printing setting screen 131, as shown in FIG. 4A, the setting of the tube diameter 131D, the setting of the tube length 131L, the setting of the conversion mode 131M, the setting of the serial number function 131C, etc. are possible. The contents set on the tube print setting screen 131 are stored in the RAM 44 as parameter information under the control of the CPU 41. In the tube diameter 131D, the user sets the diameter of the tube 9 mounted on the tube mounting portion 40. In the tube length 131L, the user sets the length of the tube 9 on which the print content 132A, which will be described in detail later, is printed. The cutting position or partial cutting position by the cutter 64 is set based on the tube length 131L. In the conversion mode 131M, the user sets a desired conversion mode 131M. As the conversion mode 131M, there are two types, a first conversion mode and a second conversion mode. Another mode is "OFF mode". The OFF mode is a print mode to which the conversion mode 131M is not applied, and is a mode in which the printing apparatus 1A sequentially prints the input print content 132A on the tube 9 (see FIG. 5 (1)). The example of FIG. 5 (1) corresponds to the input print content 132A shown in FIG. 4 (2) described later. The print content 132A is content to be printed by the printing apparatus 1A input by the user via the input unit 13A.

第一変換モードは、例えば入力された印刷内容132Aが「A11/B11」である場合、第一印刷部分80Aとしての「A11/B11」をチューブ9に印刷し、その直後に"/"より前側の"A11"と"/"より後側の"B11"の前後を入れ替えた第二印刷部分80Bとしての「B11/A11」を印刷するモードである(図5(2)参照)。つまり、印刷内容132A「A11/B11」を第一変換モードで印刷した場合、チューブ9に「A11/B11」が印刷され、その直後に「B11/A11」が印刷される。図5(2)の例は、図4(2)に示す入力された印刷内容132Aに対応する。ここで、"/"より前側の印刷内容(本例では、"A11")である一方側印刷内容を印刷するデータを「一方側データ」といい、"/"より後側の印刷内容(本例では、"B11")である他方側印刷内容を印刷するデータを「他方側データ」という。   In the first conversion mode, for example, when the input print content 132A is "A11 / B11", "A11 / B11" as the first print portion 80A is printed on the tube 9, and immediately after that, "/" is more forward than "/" It is a mode which prints "B11 / A11" as the 2nd printing part 80B which replaced back and front of "B11" behind "A11" and "/" (refer to Drawing 5 (2)). That is, when the print content 132A “A11 / B11” is printed in the first conversion mode, “A11 / B11” is printed on the tube 9, and “B11 / A11” is printed immediately thereafter. The example of FIG. 5 (2) corresponds to the input print content 132A shown in FIG. 4 (2). Here, data for printing the one-side print content which is the print content on the front side of "/" (in this example, "A11") is referred to as "one-side data", and the print content on the rear side of "/" In the example, data for printing the other-side print content that is "B11") is referred to as "other-side data".

より具体的には、CPU41は、入力された印刷内容132A「A11/B11」に基づき、印刷結果がA11/B11となる印刷データを生成する。以下、印刷結果が印刷内容132Aと同じになる印刷データを「第一印刷データ」という。また、以下、第一印刷データに基づく印刷結果が第一印刷部分80Aである。そして、CPU41は、第一印刷データ又は入力された印刷内容132Aに基づき、一方側印刷内容と他方側印刷内容を入れ替えた印刷データを生成する。つまり、CPU41は、第一印刷データ又は入力された印刷内容132Aに基づき、印刷結果が印刷内容132Aと異なる印刷データを生成する。以下、印刷結果が印刷内容132Aと異なる印刷データを「第二印刷データ」という。また、以下、第二印刷データに基づく印刷結果が第二印刷部分80Bである。そして、CPU41は、搬送モータ98を駆動し、チューブ9を搬送させ、第一印刷データと第二印刷データとに基づき、印刷ヘッド61を制御し、この順にチューブ9上にA11/B11とB11/A11を印刷させる。印刷済みのチューブ9は、CPU41の制御の下、印刷ヘッド61より搬送方向の下流側に搬送され、A11/B11とB11/A11との間で、カッタ64により部分カットされる。つまり、CPU41は、第一印刷データに基づき印刷された第一印刷部分80Aと第二印刷データに基づき印刷された第二印刷部分80Bとの間を、カッタ64を制御して、部分カットさせる。図5中の二点鎖線9Cは、部分カットされる位置を示している。   More specifically, the CPU 41 generates print data whose print result is A11 / B11 based on the input print content 132A “A11 / B11”. Hereinafter, print data for which the print result is the same as the print content 132A will be referred to as "first print data". Also, hereinafter, the print result based on the first print data is the first print portion 80A. Then, based on the first print data or the input print content 132A, the CPU 41 generates print data in which the one-side print content and the other-side print content are interchanged. That is, based on the first print data or the input print content 132A, the CPU 41 generates print data in which the print result is different from the print content 132A. Hereinafter, print data whose print result is different from the print content 132A is referred to as "second print data". Also, hereinafter, the print result based on the second print data is the second print portion 80B. Then, the CPU 41 drives the transport motor 98 to transport the tube 9, and controls the print head 61 based on the first print data and the second print data, and in this order, A11 / B11 and B11 / B11 / B11. Print A11. The printed tube 9 is transported to the downstream side in the transport direction from the print head 61 under the control of the CPU 41, and is partially cut by the cutter 64 between A11 / B11 and B11 / A11. That is, the CPU 41 controls the cutter 64 to partially cut between the first print portion 80A printed based on the first print data and the second print portion 80B printed based on the second print data. The two-dot chain line 9C in FIG. 5 indicates the partially cut position.

第二変換モードは、例えば入力された印刷内容132Aが「A11/B11」である場合、第一印刷部分80Aとしての「A11/B11」をチューブ9に印刷し、その直後に「A11/B11」の一方側印刷内容と他方側印刷内容の前後を入れ替えて、更に、180°回転させた第二印刷部分80Bの印刷を行うモードである(図5(3)参照)。図5(3)の例は、図4(2)に示す入力された印刷内容132Aに対応する。ここで、便宜上、文字や記号などのキャラクタ、例えば、"A11"を180°回転させた状態を|A11|で表す。つまり、印刷内容132A「A11/B11」を第二変換モードで印刷した場合、チューブ9に「A11/B11」が印刷され、その直後に「|A11|/|B11|」が印刷される。   In the second conversion mode, for example, when the input print content 132A is "A11 / B11", "A11 / B11" as the first print portion 80A is printed on the tube 9, and immediately thereafter "A11 / B11" In this mode, printing of the second print portion 80B rotated by 180 ° is performed by exchanging the front and back of the one-side print content and the other-side print content (see FIG. 5 (3)). The example of FIG. 5 (3) corresponds to the input print content 132A shown in FIG. 4 (2). Here, for convenience, a state in which a character such as a character or a symbol, for example, “A11” is rotated by 180 ° is represented by | A11 |. That is, when the print content 132A “A11 / B11” is printed in the second conversion mode, “A11 / B11” is printed on the tube 9, and “| A11 | / | B11 |” is printed immediately thereafter.

より具体的には、CPU41は、入力された印刷内容132A「A11/B11」に基づき、第一印刷部分80Aが「A11/B11」となる第一印刷データを生成する。そして、CPU41は、第一印刷データ又は入力された印刷内容132Aに基づき、一方側印刷内容と他方側印刷内容を入れ替え180°回転した第二印刷部分80Bに対応する第二印刷データを生成する。そして、CPU41は、搬送モータ98を駆動し、チューブ9を搬送させ、第一印刷データと第二印刷データとに基づき、印刷ヘッド61を制御し、この順にチューブ9上に「A11/B11」と「|A11|/|B11|」を印刷させる。印刷済みのチューブ9は、CPU41の制御の下、印刷ヘッド61より搬送方向の下流側に搬送され、「A11/B11」と「|A11|/|B11|」との間で、カッタ64により部分カットされる。つまり、CPU41は、第一印刷データに基づき印刷された第一印刷部分80Aと第二印刷データに基づき印刷された第二印刷部分80Bとの間を、カッタ64を制御して、部分カットさせる。   More specifically, the CPU 41 generates first print data in which the first print portion 80A is "A11 / B11" based on the input print content 132A "A11 / B11". Then, based on the first print data or the input print content 132A, the CPU 41 generates second print data corresponding to the second print portion 80B in which the one-side print content and the other-side print content are interchanged and rotated by 180 °. Then, the CPU 41 drives the transport motor 98 to transport the tube 9 and controls the print head 61 based on the first print data and the second print data, and in this order “A11 / B11” on the tube 9 Print “| A11 | / | B11 |”. The printed tube 9 is transported to the downstream side in the transport direction from the print head 61 under the control of the CPU 41, and is partially cut by the cutter 64 between "A11 / B11" and "| A11 | / | B11 |" It is cut. That is, the CPU 41 controls the cutter 64 to partially cut between the first print portion 80A printed based on the first print data and the second print portion 80B printed based on the second print data.

連番機能131Cは、ユーザにより指定された連続する記号である連続記号を、指定された回数分だけ順次繰り上げ又は繰り下げて印刷する機能である。図5(2)を参照し、例えば、第一変換モードで入力された印刷内容132Aが「A11/B11」、指定された連続記号が右側の数字、指定された回数が3回である場合、印刷装置1Aは、A11/B11,B11/A11,A12/B12,B12/A12,A13/B13,B13/A13をこの順にチューブ9に印刷する。つまり、CPU41は、連番機能131Cに従って、印刷内容132A「A11/B11」に基づき、第一印刷部分80AがA11/B11,A12/B12,A13/A13に夫々対応する第一印刷データを生成する。そして、第一印刷データ又は印刷内容132A「A11/B11」に基づき、第二印刷部分80BがB11/A11,B12/A12,B13/A13に夫々対応する第二印刷データを生成する。   The serial number function 131C is a function of sequentially raising or lowering the continuous symbols which are the continuous symbols designated by the user by the designated number of times and printing. Referring to FIG. 5 (2), for example, when the print content 132A input in the first conversion mode is "A11 / B11", the designated consecutive symbol is the number on the right, and the designated number is three times, The printing apparatus 1A prints A11 / B11, B11 / A11, A12 / B12, B12 / A12, A13 / B13, and B13 / A13 on the tube 9 in this order. That is, the CPU 41 generates first print data corresponding to A11 / B11, A12 / B12, and A13 / A13 based on the print content 132A "A11 / B11" according to the serial number function 131C. . Then, based on the first print data or the print content 132A “A11 / B11”, the second print portion 80B generates second print data respectively corresponding to B11 / A11, B12 / A12, and B13 / A13.

図5(3)を参照し、例えば、第二変換モードで入力された印刷内容132Aが「A11/B11」、指定された連続記号が右側の数字、指定された回数が3回である場合、印刷装置1Aは、A11/B11,|A11|/|B11|,A12/B12,|A12|/|B12|,A13/B13,|A13|/|B13|をこの順にチューブ9に印刷する。つまり、CPU41は、連番機能131Cに従って、印刷内容132A「A11/B11」に基づき、第一印刷部分80AがA11/B11,A12/B12,A13/B13に夫々対応する第一印刷データを生成する。そして、第一印刷データ又は印刷内容132A「A11/B11」に基づき、第二印刷部分80Bが|A11|/|B11|,|A12|/|B12|,|A13|/|B13|に夫々対応する第二印刷データを生成する。   Referring to FIG. 5 (3), for example, when the print content 132A input in the second conversion mode is “A11 / B11”, the designated consecutive symbol is the number on the right, and the designated number is three times, The printing apparatus 1A prints A11 / B11, | A11 | / | B11 |, A12 / B12, | A12 | / | B12 |, A13 / B13, | A13 | / | B13 | on the tube 9 in this order. That is, the CPU 41 generates first print data corresponding to A11 / B11, A12 / B12, and A13 / B13 based on the print content 132A "A11 / B11" according to the serial number function 131C. . Then, based on the first print data or the print content 132A “A11 / B11”, the second print portion 80B respectively corresponds to | A11 | / | B11 |, | A12 | / | B12 |, | A13 | / | B13 | To generate second print data.

また、連番機能131Cは、飛越機能を有している。飛越機能は、ユーザにより指定された個数N(Nは"1"以上の整数)ずつ連続記号を飛び越して繰り上げ又は繰り下げて指定された回数分だけ印刷する機能である。例えば、連続記号が数字で最初の数字が"1"、指定された回数が4回、ユーザにより繰り上げの指定がされている場合には、"1","2+N","3+2N","4+3N"となる。また、例えば、連続記号がアルファベットで最初のアルファベットが"Z"、N=2、指定された回数が4回、ユーザにより繰り下げの指定がされている場合には、"Z","W","T","Q"となる。   Further, the serial number function 131C has a jump function. The jump function is a function of skipping a continuous symbol by a number N (N is an integer of “1” or more) designated by the user, carrying it up or down and printing the designated number of times. For example, if the continuous symbol is a number, the first digit is "1", and the number of times specified is four, the user has specified a carry-up, "1", "2 + N", "3 + 2N", "4 + 3N " Also, for example, if the continuation symbol is alphabetic and the first alphabet is "Z", N = 2, and the designated number is 4 times by the user, "Z", "W", It becomes "T", "Q".

変換モード131Mにおいて連番機能131Cの飛越機能を有効にした場合について説明する。例えば、第一変換モードが指定され、指定された連続記号が右から1番目の数字、印刷内容132Aが「A11/B11」、N=2、指定された回数が3回、ユーザにより繰り上げが指定されたとする。この場合、印刷装置1Aは、A11/B11,B11/A11,A14/B14,B14/A14,A17/B17,B17/A17をこの順にチューブ9に印刷する。つまり、CPU41は、連番機能131Cの飛越機能に従って、印刷内容132A「A11/B11」に基づき、第一印刷部分80AがA11/B11,A14/B14,A17/B17に夫々対応する第一印刷データを生成する。そして、第一印刷データ又は印刷内容132A「A11/B11」に基づき、第二印刷部分80BがB11/A11,B14/A14,B17/A17に夫々対応する第二印刷データを生成する。   The case where the jump function of the serial number function 131C is enabled in the conversion mode 131M will be described. For example, the first conversion mode is specified, the specified continuous symbol is the first digit from the right, the print content 132A is "A11 / B11", N = 2, and the specified number of times is specified by the user to three times. It is assumed that In this case, the printing apparatus 1A prints A11 / B11, B11 / A11, A14 / B14, B14 / A14, A17 / B17, and B17 / A17 on the tube 9 in this order. That is, the CPU 41 executes the first print data corresponding to the first print portion 80A to A11 / B11, A14 / B14, A17 / B17 based on the print content 132A "A11 / B11" according to the jump function of the serial number function 131C. Generate Then, based on the first print data or the print content 132A “A11 / B11”, the second print portion 80B generates second print data respectively corresponding to B11 / A11, B14 / A14, and B17 / A17.

また、例えば、第二変換モードが指定され、指定された連続記号が右から1番目の数字、印刷内容132Aが「A11/B11」、N=2、指定された回数が3回、ユーザにより繰り上げが指定されたとする。この場合、印刷装置1Aは、A11/B11,|A11|/|B11|,A14/B14,|A14|/|B14|,A17/B17,|A17|/|B17|をこの順にチューブ9に印刷する。つまり、CPU41は、連番機能131Cの飛越機能に従って、印刷内容132A「A11/B11」に基づき、第一印刷部分80AがA11/B11,A14/B14,A17/B17に夫々対応する第一印刷データを生成する。そして、第一印刷データ又は印刷内容132A「A11/B11」に基づき、第二印刷部分80Bが|A11|/|B11|,|A14|/|B14|,|A17|/|B17|に夫々対応する第二印刷データを生成する。   Also, for example, the second conversion mode is designated, the designated continuous symbol is the first digit from the right, the print content 132A is "A11 / B11", N = 2, and the designated number is carried up by the user three times. Is assumed to be specified. In this case, the printing apparatus 1A prints A11 / B11, | A11 | / | B11 |, A14 / B14, | A14 | / | B14 |, A17 / B17, | A17 | / | B17 | Do. That is, the CPU 41 executes the first print data corresponding to the first print portion 80A to A11 / B11, A14 / B14, A17 / B17 based on the print content 132A "A11 / B11" according to the jump function of the serial number function 131C. Generate Then, based on the first print data or the print content 132A “A11 / B11”, the second print portion 80B respectively corresponds to | A11 | / | B11 |, | A14 | / | B14 |, | A17 | / | B17 | To generate second print data.

印刷内容設定画面132は、チューブ印刷設定画面131の設定後に、表示部13Bに表示される画面である。印刷内容設定画面132は、入力部13Aを介して、ユーザが入力した印刷内容132Aの一覧を入力順に表示する。入力された各印刷内容132Aを示す情報は、CPU41の制御の下、RAM44に記憶される。印刷内容132Aに対応する数字は、入力された順番を示している。Cross132Bは、変換モード131Mが設定されている場合に表示される。CPU41は、第一変換モードが設定されている時は、表示部13Bを制御し、"Cross"と表示させ、第二変換モードが設定されている時は、"Cross"を180°回転した"|Cross|"と表示させる。つまり、第一変換モードと第二変換モードでは、"Cross"の表示形態が異なる。印刷内容設定画面132中の132Cは、チューブ9の直径と各印刷内容132Aが印刷されるチューブ9の長さを示している。   The print content setting screen 132 is a screen displayed on the display unit 13B after setting of the tube print setting screen 131. The print content setting screen 132 displays a list of print contents 132A input by the user via the input unit 13A in the order of input. Information indicating each input print content 132A is stored in the RAM 44 under the control of the CPU 41. The numbers corresponding to the print content 132A indicate the order of input. Cross 132B is displayed when the conversion mode 131M is set. The CPU 41 controls the display unit 13B to display "Cross" when the first conversion mode is set, and rotates "Cross" by 180 ° when the second conversion mode is set. " Display "| Cross |". That is, in the first conversion mode and the second conversion mode, the display form of "Cross" is different. 132C in the print content setting screen 132 indicates the diameter of the tube 9 and the length of the tube 9 on which each print content 132A is printed.

<変換モード設定処理>
図6を参照して、CPU41が行う変換モード設定処理の流れを説明する。変換モード設定処理は、印刷装置1Aの電源が入力されたことをトリガとして開始される。具体的には、CPU41は、ROM42から変換モード設定処理のプログラムを読み出して実行する。
<Conversion mode setting process>
The flow of the conversion mode setting process performed by the CPU 41 will be described with reference to FIG. The conversion mode setting process is triggered by the power supply of the printing apparatus 1A being input. Specifically, the CPU 41 reads a program for conversion mode setting processing from the ROM 42 and executes the program.

CPU41は、変換モード設定が、入力部13Aを介して、ユーザにより指定されたか判定する(S1)。CPU41は、変換モード設定が指定されていないと判定しる場合(S1:NO)、他の設定が指定されたかを判定する(S2)。CPU41は、他の設定が指定されたと判定した場合は(S2:YES)、指定された設定に従って処理を実行する(S3)。CPU41は、S3の処理を実行した場合、又は、S2の判定でNOと判定した場合は、S1に戻る。CPU41は、変換モード設定が指定されたと判定した場合(S1:YES)、チューブ印刷設定画面131の設定時にRAM44に記憶されたパラメータ情報を参照し、変換モード131Mが指定されたか判定する(S5)。具体的には、CPU41は、ユーザによりOFFモードが指定された場合に、変換モード131Mが指定されていないと判定し、ユーザにより第一変換モード又は第二変換モードが指定された場合に、変換モード131Mが指定されたと判定する。   The CPU 41 determines whether the conversion mode setting is specified by the user via the input unit 13A (S1). When determining that the conversion mode setting is not specified (S1: NO), the CPU 41 determines whether another setting is specified (S2). When the CPU 41 determines that another setting is designated (S2: YES), the CPU 41 executes the process according to the designated setting (S3). When the CPU 41 executes the process of S3 or when the determination of S2 is NO, the process returns to S1. When the CPU 41 determines that the conversion mode setting is specified (S1: YES), it refers to the parameter information stored in the RAM 44 at the time of setting the tube print setting screen 131 and determines whether the conversion mode 131M is specified (S5) . Specifically, the CPU 41 determines that the conversion mode 131M is not specified when the OFF mode is specified by the user, and the conversion is performed when the first conversion mode or the second conversion mode is specified by the user. It is determined that the mode 131M is designated.

CPU41は、変換モード131Mが指定されていないと判定した場合(S5:NO)、S2に進み、OFFモード時の処理を実行させる(S3)。CPU41は、S1に戻る。CPU41は、変換モード131Mが指定されたと判定した場合(S5:YES)、チューブ印刷設定画面131の設定時にRAM44に記憶されたパラメータ情報を参照し、第一変換モードが指定されたか判定する(S7)。CPU41は、第一変換モードが指定されたと判定した場合(S7:YES)、第一変換フラグを"1"に変更する(S8)。第一変換フラグは、第一変換モードが指定されたか否かを示すフラグであり、フラグの値が"1"の時、第一変換モードが指定されていることを示す。第一変換フラグの初期値は"0"である。CPU41は、表示部13Bを制御して、所定のキャラクタを印刷内容設定画面132の所定の位置に表示させる(S9)。CPU41は、S13に進む。本第一実施形態では、図4(2)に示すように、"Cross"が印刷内容設定画面132の下側に表示される。   If the CPU 41 determines that the conversion mode 131M is not specified (S5: NO), it proceeds to S2 and executes the process in the OFF mode (S3). The CPU 41 returns to S1. When it is determined that the conversion mode 131M is specified (S5: YES), the CPU 41 refers to the parameter information stored in the RAM 44 when setting the tube print setting screen 131, and determines whether the first conversion mode is specified (S7) ). When it is determined that the first conversion mode is designated (S7: YES), the CPU 41 changes the first conversion flag to "1" (S8). The first conversion flag is a flag indicating whether or not the first conversion mode is specified, and when the value of the flag is “1”, it indicates that the first conversion mode is specified. The initial value of the first conversion flag is "0". The CPU 41 controls the display unit 13B to display a predetermined character at a predetermined position on the print content setting screen 132 (S9). The CPU 41 proceeds to step S13. In the first embodiment, as shown in FIG. 4 (2), “Cross” is displayed on the lower side of the print content setting screen 132.

CPU41は、第一変換モードが指定されていないと判定した場合(S7:NO)、第二変換フラグを"1"に変更する(S10)。第二変換フラグは、第二変換モードが指定されたか否かを示すフラグであり、フラグの値が"1"の時、第二変換モードが指定されていることを示す。第二変換フラグの初期値は"0"である。CPU41は、表示部13Bを制御して、所定のキャラクタを180°回転させて、印刷内容設定画面132の所定の位置に表示させる(S11)。   When it is determined that the first conversion mode is not designated (S7: NO), the CPU 41 changes the second conversion flag to "1" (S10). The second conversion flag is a flag indicating whether or not the second conversion mode is specified. When the value of the flag is “1”, it indicates that the second conversion mode is specified. The initial value of the second conversion flag is "0". The CPU 41 controls the display unit 13B to rotate a predetermined character by 180 ° and display the character at a predetermined position on the print content setting screen 132 (S11).

CPU41は、チューブ印刷設定画面131の設定時にRAM44に記憶されたパラメータ情報を参照し、連番機能131Cが有効であるか判定する(S13)。具体的には、図4(2)に示すチューブ印刷設定画面131において、入力部13Aを介して、ユーザにより連番機能131CがONにされた場合に、CPU41は、連番機能131Cが有効であると判定し、ユーザにより連番機能131CがOFFされた場合に、連番機能131Cが有効でないと判定する。CPU41は、連番機能131Cが有効でないと判定した場合(S13:NO)、S19に進む。   The CPU 41 refers to the parameter information stored in the RAM 44 at the time of setting the tube printing setting screen 131, and determines whether the serial number function 131C is valid (S13). Specifically, when the serial number function 131C is turned on by the user via the input unit 13A on the tube print setting screen 131 shown in FIG. 4 (2), the CPU 41 has the serial number function 131C enabled. When it is determined that there is a sequence number function 131C turned off by the user, it is determined that the sequence number function 131C is not valid. If the CPU 41 determines that the serial number function 131C is not valid (S13: NO), it proceeds to S19.

CPU41は、連番機能131Cが有効であると判定した場合(S13:YES)、RAM44に記憶されている連番フラグを"1"に変更(S15)。連番フラグの初期値は"0"である。CPU41は、入力部13Aを介して、ユーザにより指定された連番する記号と連番の回数を、RAM44に記憶させる(S17)。CPU41は、S1に戻る。   When it is determined that the serial number function 131C is valid (S13: YES), the CPU 41 changes the serial number flag stored in the RAM 44 to "1" (S15). The initial value of the serial number flag is "0". The CPU 41 causes the RAM 44 to store the serial number designated by the user and the number of serial numbers via the input unit 13A (S17). The CPU 41 returns to S1.

<変換モード印刷処理>
図7を参照して、変換モード印刷処理の流れを説明する。本変換モード印刷処理は、電源が入力されたことをトリガとして開始される。具体的には、CPU41は、ROM42から変換モード印刷処理のプログラムを読み出して実行する。
<Conversion mode print processing>
The flow of the conversion mode printing process will be described with reference to FIG. The conversion mode printing process is triggered by the input of power. Specifically, the CPU 41 reads out a program for conversion mode printing processing from the ROM 42 and executes the program.

CPU41は、入力部13Aを介して、ユーザにより入力された印刷内容132Aの入力が有るか判定する(S41)。より具体的には、CPU41は、RAM44に印刷内容132Aを示す情報が記憶されているか判定することで、印刷内容132Aの入力が有るかを判定する。CPU41は、印刷内容132Aの入力がないと判定した場合(S41:NO)、S41に戻り、S41を繰り返す。CPU41は、印刷内容132Aの入力があると判定した場合(S41:YES)、印刷指令が有るか判定する(S42)。より具体的には、CPU41は、入力部13Aを介して、ユーザにより印刷指示がされたか判定する。印刷指示はCPU41に入力されるので、CPU41はユーザが印刷指示をしたか判定できる。   The CPU 41 determines whether there is an input of the print content 132A input by the user via the input unit 13A (S41). More specifically, the CPU 41 determines whether or not the print content 132A is input by determining whether the information indicating the print content 132A is stored in the RAM 44. If the CPU 41 determines that there is no input of the print content 132A (S41: NO), it returns to S41 and repeats S41. When the CPU 41 determines that there is an input of the print content 132A (S41: YES), it determines whether there is a print instruction (S42). More specifically, the CPU 41 determines whether a print instruction has been issued by the user via the input unit 13A. Since the print instruction is input to the CPU 41, the CPU 41 can determine whether the user has issued the print instruction.

CPU41は、印刷指示が無いと判定した場合(S42:NO)、S42を繰り返す。CPU41は、印刷指示が有ると判定した場合(S42:YES)、入力された印刷内容132Aに基づき、第一印刷データを生成する(S43)。より具体的には、CPU41は、入力された印刷内容132Aに対応する第一印刷データを生成し、RAM44に記憶する。   If the CPU 41 determines that there is no print instruction (S42: NO), it repeats S42. When it is determined that there is a print instruction (S42: YES), the CPU 41 generates first print data based on the input print content 132A (S43). More specifically, the CPU 41 generates first print data corresponding to the input print content 132A and stores the first print data in the RAM 44.

CPU41は、RAM44に記憶されている第一変換フラグと第二変換フラグの値を参照して、第一変換モードが指定されているか判定する(S45)。より具体的には、CPU41は、第一変換フラグの値が"1"である場合、第一変換モードが指定されていると判定し、第二変換フラグの値が"1"である場合、第一変換モードが指定されていないと判定する。つまり、この場合、CPU41は、第二変換モードが指定されていると判定する。CPU41は、第一変換モードが指定されていると判定した場合(S45:YES)、第一印刷データ又は入力された印刷内容132Aに基づき、一方側印刷内容と他方側印刷内容を入れ替えた第二印刷データを生成する(S47)。より具体的には、例えば、入力された印刷内容132Aに基づき第二印刷データを生成する場合、CPU41は、入力された印刷内容132Aの一方側印刷内容と他方側印刷内容を入れ替えた第二印刷内容を生成する。そして、第二印刷内容に対応する第二印刷データを生成し、RAM44に記憶する。また、例えば、第一印刷データに基づき第二印刷データを生成する場合、CPU41は、第一印刷データの一方側データと他方側データとを入れ替えて第二印刷データを生成し、RAM44に記憶する。   The CPU 41 refers to the values of the first conversion flag and the second conversion flag stored in the RAM 44 and determines whether the first conversion mode is designated (S45). More specifically, when the value of the first conversion flag is "1", the CPU 41 determines that the first conversion mode is specified, and the value of the second conversion flag is "1". It is determined that the first conversion mode is not specified. That is, in this case, the CPU 41 determines that the second conversion mode is designated. If it is determined that the first conversion mode is specified (S45: YES), the CPU 41 replaces the one-side print content with the other-side print content based on the first print data or the input print content 132A. Print data is generated (S47). More specifically, for example, when generating the second print data based on the input print content 132A, the CPU 41 performs second printing in which the one-side print content and the other-side print content of the input print content 132A are interchanged. Generate content. Then, second print data corresponding to the second print content is generated and stored in the RAM 44. In addition, for example, when generating the second print data based on the first print data, the CPU 41 replaces the one-side data and the other-side data of the first print data to generate the second print data, and stores the second print data in the RAM 44 .

CPU41は、第一変換モードが指定されていないと判定した場合(S45:NO)、つまり、第二変換モードが指定されていると判定した場合、第一印刷データ又は入力された印刷内容132Aに基づき、入力された印刷内容132Aが一方側印刷内容と他方側印刷内容を入れ替え180°回転した第二印刷部分80Bとなる第二印刷データを生成する(S49)。より具体的には、例えば、入力された印刷内容132Aに基づき第二印刷データを生成する場合、CPU41は、入力された印刷内容132Aの一方側印刷内容と他方側印刷内容を入れ替え180°回転させた第二印刷内容を生成する。そして、CPU41は、第二印刷内容に対応する第二印刷データを生成し、RAM44に記憶する。また、例えば、第一印刷データに基づき第二印刷データを生成する場合、CPU41は、第一印刷データの一方側データと他方側データとを入れ替えて、一方側データと他方側データの印刷結果が180°回転した印刷結果となる一方側データと他方側データを夫々生成することで第二印刷データを生成し、RAM44に記憶する。   If the CPU 41 determines that the first conversion mode is not specified (S45: NO), that is, if it is determined that the second conversion mode is specified, the first print data or the input print content 132A is selected. Based on the second print data, the second print portion 80B is formed by rotating the input print contents 132A by 180 ° by exchanging the one-side print contents and the other-side print contents (S49). More specifically, for example, when generating the second print data based on the input print content 132A, the CPU 41 replaces the one-side print content and the other-side print content of the input print content 132A and rotates them 180 °. The second print content is generated. Then, the CPU 41 generates second print data corresponding to the second print content and stores the second print data in the RAM 44. Also, for example, when generating the second print data based on the first print data, the CPU 41 replaces the one side data and the other side data of the first print data, and the print result of the one side data and the other side data is The second print data is generated by generating the one-side data and the other-side data to be printed results rotated by 180 °, and stored in the RAM 44.

CPU41は、RAM44に記憶されている連番フラグの値が"1"であるか判定する(S51)。CPU41は、連番フラグの値が"1"でないと判定した場合(S51:NO)、カウンタCntの上限値を"1"に設定する(S53)。CPU41は、連番フラグの値が"1"であると判定した場合(S51:YES)、カウンタCntの上限値を指定された回数に設定する(S55)。CPU41は、カウンタCntをリセットする(S57)。   The CPU 41 determines whether the value of the serial number flag stored in the RAM 44 is "1" (S51). When the CPU 41 determines that the value of the serial number flag is not "1" (S51: NO), the upper limit value of the counter Cnt is set to "1" (S53). If the CPU 41 determines that the value of the serial number flag is "1" (S51: YES), it sets the upper limit value of the counter Cnt to the specified number of times (S55). The CPU 41 resets the counter Cnt (S57).

CPU41は、搬送モータ98を駆動させ、チューブ9の搬送を開始させる(S59)。CPU41は、印刷ヘッド61等を制御し、第一印刷データに基づく印刷を実行し(S61)、第二印刷データに基づく印刷を実行する(S63)。CPU41は、印刷済みのチューブ9の所定位置(第一印刷データに基づく第一印刷部分80Aと第二印刷データに基づく第二印刷部分80Bとの間)がカッタ64に到達したか判定する(S65)。搬送モータ98は、上述したように、ステッピングモータなので、例えば、ステップ数に基づき所定位置がカッタ64に到達したか検出可能である。   The CPU 41 drives the conveyance motor 98 to start conveyance of the tube 9 (S59). The CPU 41 controls the print head 61 and the like, executes printing based on the first print data (S61), and executes printing based on the second print data (S63). The CPU 41 determines whether the predetermined position of the printed tube 9 (between the first print portion 80A based on the first print data and the second print portion 80B based on the second print data) has reached the cutter 64 (S65) ). As described above, the transport motor 98 is a stepping motor, so that it is possible to detect, for example, whether the predetermined position has reached the cutter 64 based on the number of steps.

CPU41は、印刷済みチューブ9の所定位置がカッタ64に到達してないと判定した場合には(S65:NO)、S65を繰り返す。CPU41は、印刷済みチューブ9の所定位置がカッタ64に到達したと判定した場合には(S65:YES)、カッタ64を制御し、所定位置で部分カットをさせる(S67)。例えば、図5(2)を参照し、CPU41は、第一印刷部分80A(A11/B11)と第二印刷部分80B(B11/A11)の間、つまり、図5(2)に示す二点鎖線9Aの位置を部分カットする。CPU41は、カウンタCntをカントアップする(S69)。CPU41は、カウントアップ後のカウンタCntの値がカウンタCntの上限値を超えたか判定する(S71)。CPU41は、カウンタCntの上限値を超えたと判定した場合(S71:YES)、連番フラグをリセットする(S73)。CPU41は、第一変換フラグと第二変換フラグをリセットする(S75)。CPU41は、S41に戻り、前述の処理を繰り返す。   If the CPU 41 determines that the predetermined position of the printed tube 9 has not reached the cutter 64 (S65: NO), it repeats S65. When it is determined that the predetermined position of the printed tube 9 has reached the cutter 64 (S65: YES), the CPU 41 controls the cutter 64 to cause partial cutting at the predetermined position (S67). For example, referring to FIG. 5 (2), the CPU 41 sets a position between the first print portion 80A (A11 / B11) and the second print portion 80B (B11 / A11), that is, a two-dot chain line shown in FIG. Partially cut the position of 9A. The CPU 41 counts up the counter Cnt (S69). The CPU 41 determines whether the value of the counter Cnt after the count-up exceeds the upper limit value of the counter Cnt (S71). When it is determined that the upper limit value of the counter Cnt is exceeded (S71: YES), the CPU 41 resets the serial number flag (S73). The CPU 41 resets the first conversion flag and the second conversion flag (S75). The CPU 41 returns to S41 and repeats the above-described processing.

CPU41は、カウンタCntの上限値を超えていないと判定した場合(S71:NO)、チューブ印刷設定画面131の設定時にRAM44に記憶されたパラメータ情報を参照し、直前に処理された第一印刷データと繰り上げ指定又は繰り下げ指定と指定された個数Nとに基づき、次順の第一印刷データを生成する(S75)。CPU41は、チューブ印刷設定画面131の設定時にRAM44に記憶されたパラメータ情報を参照し、直前に処理された第二印刷データと繰り上げ指定又は繰り下げ指定と指定された個数Nとに基づき、次順の第二印刷データを生成する(S79)。CPU41は、S59に戻る。   If the CPU 41 determines that the upper limit value of the counter Cnt is not exceeded (S71: NO), the first print data processed immediately before is referred to with reference to the parameter information stored in the RAM 44 at the time of setting the tube print setting screen 131. The first print data in the next order is generated based on the carry designation or the carry designation and the designated number N (S75). The CPU 41 refers to the parameter information stored in the RAM 44 at the time of setting the tube print setting screen 131, and executes the next order based on the second print data processed immediately before and the carry designation or the designation N as the carry designation. Second print data is generated (S79). The CPU 41 returns to S59.

<第一実施形態における主な作用と効果>
上記第一実施形態において、印刷装置1Aは、チューブ9に印刷を行う印刷ヘッド61と、チューブ9を搬送する搬送モータ98と搬送ローラ65等と、チューブ9が搬送されるチューブ装着部40と、を備えている。また、印刷装置1Aは、チューブ9に対し部分カットを施すカッタ64と、チューブ9に印刷される一方側印刷内容と他方側印刷内容を含む印刷内容132Aの入力を受付ける入力部13Aとを備えている。印刷装置1Aは、入力された印刷内容132Aに基づき、一方側印刷内容を印刷する一方側データ及び他方側印刷内容を印刷する他方側データを含む第一印刷データを生成し、第一印刷データ又は印刷内容132Aに基づき、一方側データと他方側データとを入れ替えた第二印刷データを生成する。印刷装置1Aは、第一印刷データに基づき、印刷ヘッド61を制御し、チューブ9に第一印刷部分80Aの印刷を行い、第一印刷部分80Aが印刷されたチューブ9の搬送方向の上流側に、第二印刷データに基づいて、第二印刷部分80Bの印刷を行う。印刷装置1Aは、搬送モータ98を制御し、チューブ9を搬送し、カッタ64を制御し、チューブ9の第一印刷部分80Aと第二印刷部分80Bとの間に、部分カットを施す。
<Main actions and effects in the first embodiment>
In the first embodiment, the printing apparatus 1A includes a print head 61 that performs printing on the tube 9, a transport motor 98 that transports the tube 9, a transport roller 65, and the like, and a tube mounting unit 40 that transports the tube 9; Is equipped. The printing apparatus 1A further includes a cutter 64 for partially cutting the tube 9, and an input unit 13A for receiving an input of the print content 132A including the one-side print content and the other-side print content to be printed on the tube 9. There is. The printing apparatus 1A generates, based on the input print content 132A, first print data including one-side data for printing one-side print content and the other-side data for printing the other-side print content, the first print data or Based on the print content 132A, second print data in which one side data and the other side data are exchanged is generated. The printing apparatus 1A controls the print head 61 based on the first print data to print the first print portion 80A on the tube 9, and on the upstream side of the transport direction of the tube 9 on which the first print portion 80A is printed. , And print the second print portion 80B based on the second print data. The printing apparatus 1A controls the transport motor 98, transports the tube 9, controls the cutter 64, and makes a partial cut between the first print portion 80A and the second print portion 80B of the tube 9.

従って、印刷装置1Aは、入力部13Aが第一印刷部分80Aの一方側及び他方側を含む印刷内容132Aの入力を受け付け、印刷内容132Aに基づき、第一印刷データを生成し、第一印刷データに含まれる一方側データと他方側データとを入れ替えた第二印刷データを生成する。故に、第二印刷部分80Bの印刷内容132Aを入力する必要が無く、第二印刷データを生成する為の入力の手間が省ける。また、印刷装置1Aは、図14(1)に示すように、第一印刷部分80Aが印刷されたチューブ9の上流側に第二印刷部分80Bを印刷する。また、印刷装置1Aは、チューブ9を搬送させ、第一印刷部分80Aと第二印刷部分80Bの間(図14(1)の二点鎖線9A,9C,9E)を部分カットする。従って、印刷装置1Aは、部分カットで繋がった第一印刷部分80Aと第二印刷部分80Bからなる一組の印刷後のチューブ80、図14(2)に示すように、例えば、第一印刷部分80A(A11/B11)と第二印刷部分80B(B11/A11)から成るチューブ80を作成できる。次いで、図14(2),(3)に示すように、一組の印刷後のチューブ80を一度にケーブル85に挿し込む。次いで、図14(4)に示すように、挿し込み後に第一印刷部分80Aと第二印刷部分80Bとを切り離して、ケーブル85の両端に各々取り付けるので、ケーブル85の作成作業の工数を低減できる。また、間違った印刷後のチューブ9を挿入する可能性を低減できる。   Therefore, the printing apparatus 1A receives the input of the print content 132A including the one side and the other side of the first print portion 80A, and generates the first print data based on the print content 132A, and the first print data The second print data is generated by exchanging the one-side data and the other-side data included in the above. Therefore, there is no need to input the print content 132A of the second print portion 80B, and it is possible to save the trouble of the input for generating the second print data. Further, as shown in FIG. 14 (1), the printing apparatus 1A prints the second print portion 80B on the upstream side of the tube 9 on which the first print portion 80A is printed. In addition, the printing apparatus 1A transports the tube 9, and partially cuts a portion between the first print portion 80A and the second print portion 80B (two-dot chain line 9A, 9C, 9E in FIG. 14A). Therefore, as shown in FIG. 14 (2), the printing apparatus 1 </ b> A is, for example, a first printed portion as shown in FIG. 14 (2), a set of printed tubes 80 consisting of the first printed portion 80 A and the second printed portion 80 B A tube 80 consisting of 80A (A11 / B11) and a second printed portion 80B (B11 / A11) can be made. Next, as shown in FIGS. 14 (2) and 14 (3), one set of printed tubes 80 is inserted into the cable 85 at one time. Next, as shown in FIG. 14 (4), the first print portion 80A and the second print portion 80B are separated after insertion and attached to both ends of the cable 85, so that the number of steps of the work of producing the cable 85 can be reduced. . Also, the possibility of inserting the tube 9 after incorrect printing can be reduced.

上記第一実施形態において、印刷装置1Aは、第一印刷データ又は印刷内容132Aに基づいて、一方側データと他方側データが、一方側印刷内容と他方側印刷内容を入れ替え180°回転した印刷状態になる第二印刷データを作成する。従って、第二印刷データを作成する為の入力の手間が省ける。また、第二印刷部分80Bは第一印刷部分80Aを上下反転させた状態で印刷される。従って、部分カットで繋がった第一印刷部分80Aと第二印刷部分80Bからなる一組の印刷後のチューブ80は、夫々、結線元の情報が常に結線元側になる。故に、取り付けミスの発生を抑制できる。   In the first embodiment, the printing apparatus 1A changes the printing contents in which the one-side data and the other-side data interchange the one-side printing contents and the other-side printing contents by 180 ° based on the first print data or the printing contents 132A. Create second print data that will be Therefore, the trouble of the input for producing the second print data can be saved. In addition, the second print portion 80B is printed in a state where the first print portion 80A is turned upside down. Therefore, in each of the tubes 80 after printing of the pair of the first print portion 80A and the second print portion 80B connected by the partial cut, the connection source information is always on the connection source side. Therefore, the occurrence of mounting errors can be suppressed.

上記第一実施形態において、印刷装置1Aは、第一印刷部分80Aに含まれる指定された連続記号を次順の連続記号に繰り上げ又は繰り下げた第一印刷データを生成し、第二印刷部分80Bの連続記号を次順の連続記号に繰り上げ又は繰り下げた第二印刷データを生成する。印刷装置1Aは、指定された回数に到達するまで、連続記号の次順への繰り上げ又は繰り下げをした第一印刷データと第二印刷データを生成する。印刷装置1Aは、連続記号の指定の順に従って、第一印刷データと第二印刷データとの組を印刷できるので、入力の手間を省くことができる。故に、印刷装置1Aの生産性が向上する。   In the first embodiment, the printing apparatus 1A generates the first print data in which the designated continuous symbol included in the first print portion 80A is carried up or down to the next sequential symbol, and the second print portion 80B is produced. A second print data is generated by raising or lowering the consecutive symbols to the next consecutive symbol. The printing apparatus 1A generates first print data and second print data in which the continuous symbols are carried up or down to the next order until the designated number of times is reached. Since the printing apparatus 1A can print the sets of the first print data and the second print data in the order of designation of the continuous symbols, it is possible to save the trouble of inputting. Therefore, the productivity of the printing apparatus 1A is improved.

上記第一実施形態において、次順の連続記号は、指定された個数Nの連続記号を飛び越した連続記号である。指定された個数Nの連続記号を飛び越えた連番印刷が可能となり、印刷内容132Aの入力の手間が省けるので、ユーザの利便性が向上する。   In the first embodiment, the next consecutive symbol is a consecutive symbol which jumps over the designated number N of consecutive symbols. Since serial number printing can be performed over the designated number N of continuous symbols, it is possible to save time and effort of inputting the print content 132A, and user convenience is improved.

上記第一実施形態において、印刷装置1Aは、第一印刷データ又は印刷内容132Aに基づいて、一方側データと他方側データとを入れ替えた第二印刷データを作成する第一変換モード、又は、第一印刷データ又は印刷内容132Aに基づき、一方側データと他方側データが、一方側印刷内容と他方側印刷内容とを入れ替え180°回転した印刷状態になる第二印刷データを作成する第二変換モードを設定できるチューブ印刷設定画面131を表示部13Bに表示できる。ユーザは、チューブ印刷設定画面131を介して、第一変換モード又は第二変換モードを設定できるので、ユーザの利便性が向上する。   In the first embodiment, the first conversion mode in which the printing apparatus 1A creates second print data in which the one-side data and the other-side data are switched based on the first print data or the print content 132A, or A second conversion mode for creating second print data in which one side data and the other side data replace the one side print contents and the other side print contents and rotate 180 ° based on one print data or print contents 132A Can be displayed on the display unit 13B. Since the user can set the first conversion mode or the second conversion mode via the tube printing setting screen 131, the convenience of the user is improved.

上記第一実施形態において、印刷装置1Aは、表示部13Bを備え、第一変換モードである場合、所定のキャラクタを表示部13Bに表示し、第二変換モードである場合、所定のキャラクタを180°回転した表示を表示部13Bに表示する。印刷装置1Aは、第一変換モードの場合と、第二変換モードの場合とで、表示部13Bに表示される所定のキャラクタの表示態様が異なる。従って、ユーザの利便性が向上し、印刷を実行する前に、ユーザは誤りを発見できる。故に、印刷装置1Aの生産性が向上する。   In the first embodiment, the printing apparatus 1A includes the display unit 13B, and when in the first conversion mode, the predetermined character is displayed on the display unit 13B. When in the second conversion mode, the predetermined character is 180. The rotated display is displayed on the display unit 13B. The printing apparatus 1A differs in the display mode of the predetermined character displayed on the display unit 13B between the case of the first conversion mode and the case of the second conversion mode. Therefore, the convenience of the user is improved, and the user can find an error before printing. Therefore, the productivity of the printing apparatus 1A is improved.

<第二実施形態>
第二実施形態では、図8に示すように、印刷装置1Bがネットワーク3を介して端末装置2に接続されており、端末装置2側で印刷データを生成して、生成した印刷データを送信する。第二実施形態における印刷装置1Bの電気的構成は、図8に示すように、基本的な構成において第一実施形態の印刷装置1Aと同じである。但し、印刷装置1Bが、通信部19を更に備える点で、第一実施形態の印刷装置1Aと異なっている。第一実施形態と同一の構成には同一の符号を付して説明を省略する。また、印刷装置1Bの外観、内部の構成も第一実施形態の印刷装置1Aと同じである。ネットワーク3は、イントラネットやインターネットといった各種ネットワークである。
Second Embodiment
In the second embodiment, as shown in FIG. 8, the printing apparatus 1B is connected to the terminal device 2 via the network 3, and the terminal device 2 generates print data and transmits the generated print data. . The electrical configuration of the printing apparatus 1B in the second embodiment is the same as the printing apparatus 1A of the first embodiment in the basic configuration, as shown in FIG. However, the printing apparatus 1B is different from the printing apparatus 1A of the first embodiment in that the printing apparatus 1B further includes a communication unit 19. The same components as those of the first embodiment are denoted by the same reference numerals and the description thereof will be omitted. Further, the appearance and the internal configuration of the printing apparatus 1B are the same as the printing apparatus 1A of the first embodiment. The network 3 is various networks such as an intranet and the Internet.

通信部19は、入出力インターフェース49に接続され、CPU41により制御されている。通信部19は、無線又は有線通信モジュール等を備え、ネットワーク3を介して、一又は複数の端末装置2に接続されている。通信部19は、端末装置2から送信される印刷データ等を受信し、CPU41に出力する。   The communication unit 19 is connected to the input / output interface 49 and is controlled by the CPU 41. The communication unit 19 includes a wireless or wired communication module or the like, and is connected to one or more terminal devices 2 via the network 3. The communication unit 19 receives print data and the like transmitted from the terminal device 2, and outputs the print data and the like to the CPU 41.

<端末装置2の電気的構成>
端末装置2は、図8に示すように、CPU21、ROM22、RAM23、HDD(Hard Disc Drive)24、操作部25、表示部26、及び通信部27等を備えている。CPU21、ROM22、RAM23、HDD24、操作部25、表示部26、通信部27は、バス28を介して、互いに接続されている。端末装置2は、例えば、PC(Personal Computer)、タブレット、高機能携帯電話等である。
<Electric Configuration of Terminal Device 2>
As shown in FIG. 8, the terminal device 2 includes a CPU 21, a ROM 22, a RAM 23, an HDD (Hard Disc Drive) 24, an operation unit 25, a display unit 26, a communication unit 27, and the like. The CPU 21, the ROM 22, the RAM 23, the HDD 24, the operation unit 25, the display unit 26, and the communication unit 27 are connected to one another via a bus 28. The terminal device 2 is, for example, a PC (Personal Computer), a tablet, a high-performance mobile phone, or the like.

CPU21は、端末装置2全体を制御する。ROM22は、CPU21が端末装置2全体を制御するために実行するプログラムを記憶する。RAM23は、フラグ等の各種データを一時的に記憶している。HDD24は、各種設定画面データ(図4参照)等を記憶している。操作部25は、各種キーやボタン等を備える。ユーザは、操作部25を介して、所望の指示等を入力可能である。表示部26は、例えば液晶表示装置等であり、各種の設定画面等(図4参照)を表示する。また、表示部26はタッチパネルを有してもよく、タッチパネルは操作部25として機能する。通信部27は、有線又は無線通信モジュール等を備え、印刷データ等を送信する。   The CPU 21 controls the entire terminal device 2. The ROM 22 stores a program that the CPU 21 executes to control the entire terminal device 2. The RAM 23 temporarily stores various data such as flags. The HDD 24 stores various setting screen data (see FIG. 4) and the like. The operation unit 25 includes various keys and buttons. The user can input a desired instruction or the like through the operation unit 25. The display unit 26 is, for example, a liquid crystal display device or the like, and displays various setting screens and the like (see FIG. 4). The display unit 26 may have a touch panel, and the touch panel functions as the operation unit 25. The communication unit 27 includes a wired or wireless communication module, and transmits print data and the like.

<変換モード設定処理>
図9、図10を参照して、変換モード設定処理の流れを説明する。変換モード設定処理は、端末装置2にインストールされている変換モード機能を含む印刷ソフトの起動をトリガとして、端末装置2により実行される。具体的には、CPU21は、ROM22から変換モード設定処理のプログラムを読み出して実行する。
<Conversion mode setting process>
The flow of conversion mode setting processing will be described with reference to FIGS. 9 and 10. The conversion mode setting process is executed by the terminal device 2 with the activation of printing software including the conversion mode function installed in the terminal device 2 as a trigger. Specifically, the CPU 21 reads a program for conversion mode setting processing from the ROM 22 and executes the program.

CPU21は、変換モード設定が、操作部25を介して、ユーザにより指定されたか判定する(S101)。CPU21は、変換モード設定が指定されていないと判定した場合(S101:NO)、指定された設定に従って印刷データを生成する(S103)。CPU21は、生成した印刷データを、通信部27を介して、印刷装置1Bに送信する(S105)。CPU21は、S101に戻る。   The CPU 21 determines whether the conversion mode setting is designated by the user via the operation unit 25 (S101). When it is determined that the conversion mode setting is not designated (S101: NO), the CPU 21 generates print data according to the designated setting (S103). The CPU 21 transmits the generated print data to the printing apparatus 1B via the communication unit 27 (S105). The CPU 21 returns to S101.

CPU21は、変換モード設定が指定されたと判定した場合(S101:YES)、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、変換モード131Mが指定されたか判定する(S107)。具体的には、CPU21は、ユーザによりOFFモードが指定された場合に、変換モード131Mが指定されていないと判定し、ユーザにより第一変換モード又は第二変換モードが指定された場合に、変換モード131Mが指定されたと判定する。   When the CPU 21 determines that the conversion mode setting is specified (S101: YES), it refers to the parameter information stored in the RAM 23 when setting the tube print setting screen 131, and determines whether the conversion mode 131M is specified (S107) . Specifically, the CPU 21 determines that the conversion mode 131M is not specified when the OFF mode is specified by the user, and the conversion is performed when the first conversion mode or the second conversion mode is specified by the user. It is determined that the mode 131M is designated.

CPU21は、変換モード131Mが指定されていないと判定した場合(S107:NO)、S103に進み、OFFモード時の印刷データを生成し(S103)、生成した印刷データを、通信部27を介して、印刷装置1Bに送信する(S105)。CPU21は、S101に戻る。CPU21は、変換モード131Mが指定されたと判定した場合(S107:YES)、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、第一変換モードが指定されたか判定する(S109)。CPU21は、第一変換モードが指定されたと判定した場合(S109:YES)、第一変換フラグを"1"に変更する(S110)。CPU21は、表示部26を制御して、所定のキャラクタを印刷内容設定画面132の所定の位置に表示させる(S111)。CPU21は、S115に進む。本第二実施形態では、図4(2)に示すように、"Cross"が印刷内容設定画面132の下側に表示される。   If the CPU 21 determines that the conversion mode 131M is not specified (S107: NO), the process proceeds to S103, generates print data in the OFF mode (S103), and generates the print data via the communication unit 27. And transmit to the printing apparatus 1B (S105). The CPU 21 returns to S101. When it is determined that the conversion mode 131M is specified (S107: YES), the CPU 21 refers to the parameter information stored in the RAM 23 when setting the tube print setting screen 131, and determines whether the first conversion mode is specified (S109) ). When it is determined that the first conversion mode is designated (S109: YES), the CPU 21 changes the first conversion flag to "1" (S110). The CPU 21 controls the display unit 26 to display a predetermined character at a predetermined position on the print content setting screen 132 (S111). The CPU 21 proceeds to step S115. In the second embodiment, as shown in FIG. 4 (2), “Cross” is displayed on the lower side of the print content setting screen 132.

CPU21は、第一変換モードが指定されていないと判定した場合(S109:NO)、第二変換フラグを"1"に変更する(S112)。CPU21は、表示部26を制御して、所定のキャラクタを180°回転させて、印刷内容設定画面132の所定の位置に表示させる(S113)。   When it is determined that the first conversion mode is not designated (S109: NO), the CPU 21 changes the second conversion flag to "1" (S112). The CPU 21 controls the display unit 26 to rotate a predetermined character by 180 ° and display the character at a predetermined position on the print content setting screen 132 (S113).

CPU21は、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、連番機能131Cが有効であるか判定する(S115)。具体的には、図4(2)に示すチューブ印刷設定画面131において、操作部25を介して、ユーザにより連番機能131CがONにされた場合に、CPU21は、連番機能131Cが有効であると判定し、ユーザにより連番機能131CがOFFされた場合に、連番機能131Cが有効でないと判定する。CPU21は、連番機能131Cが有効であると判定した場合(S115:YES)、カウンタCntの上限値として指定された連番の回数を設定する(S117)。CPU21は、S121に進む。CPU21は、連番機能131Cが有効でないと判定した場合(S115:NO)、カウンタCntの上限値として"1"を設定する(S119)。   The CPU 21 refers to the parameter information stored in the RAM 23 at the time of setting the tube printing setting screen 131, and determines whether the serial number function 131C is valid (S115). Specifically, when the serial number function 131C is turned ON by the user via the operation unit 25 on the tube print setting screen 131 shown in FIG. 4 (2), the CPU 21 has the serial number function 131C effective. When it is determined that there is a sequence number function 131C turned off by the user, it is determined that the sequence number function 131C is not valid. When it is determined that the serial number function 131C is valid (S115: YES), the CPU 21 sets the number of serial numbers designated as the upper limit value of the counter Cnt (S117). The CPU 21 proceeds to step S121. When it is determined that the serial number function 131C is not effective (S115: NO), the CPU 21 sets "1" as the upper limit value of the counter Cnt (S119).

CPU21は、操作部25を介して、ユーザにより入力された印刷内容132Aがあるか判定する(S123)。CPU21は、印刷内容132Aの入力がないと判定した場合(S123:NO)、S123に戻り、S123を繰り返す。CPU21は、印刷内容132Aの入力があると判定した場合(S123:YES)、入力された印刷内容132Aに基づき、第一印刷データを生成する(S125)。より具体的には、CPU21は、入力された印刷内容132Aに対応する第一印刷データを生成し、RAM23に記憶する。この際、CPU21は、第一印刷データに変換モード情報を含める。変換モード情報は、変換モード131Mでの印刷を指示する情報である。   The CPU 21 determines whether there is a print content 132A input by the user via the operation unit 25 (S123). If the CPU 21 determines that there is no input of the print content 132A (S123: NO), it returns to S123 and repeats S123. When it is determined that the print content 132A is input (S123: YES), the CPU 21 generates first print data based on the input print content 132A (S125). More specifically, the CPU 21 generates first print data corresponding to the input print content 132A, and stores the first print data in the RAM 23. At this time, the CPU 21 includes conversion mode information in the first print data. The conversion mode information is information for instructing printing in the conversion mode 131M.

CPU21は、RAM23に記憶されている第一変換フラグと第二変換フラグを参照し、第一変換モードが指定されているか判定する(S127)。より具体的には、CPU21は、第一変換フラグの値が"1"である場合、第一変換モードが指定されていると判定し、第二変換フラグの値が"1"である場合、第一変換モードが指定されていないと判定する。つまり、この場合、CPU21は、第二変換モードが指定されていると判定する。CPU21は、第一変換モードが指定されていると判定した場合(S127:YES)、第一印刷データ又は入力された印刷内容132Aに基づき、一方側印刷内容と他方側印刷内容を入れ替えた第二印刷データを生成する(S129)。より具体的には、例えば、入力された印刷内容132Aに基づき第二印刷データを生成する場合、CPU21は、入力された印刷内容132Aの一方側印刷内容と他方側印刷内容を入れ替えた第二印刷内容を生成する。そして、CPU21は、第二印刷内容に対応する第二印刷データを生成し、RAM23に記憶する。また、例えば、第一印刷データに基づき第二印刷データを生成する場合、CPU21は、第一印刷データの一方側データと他方側データとを入れ替えて第二印刷データを生成し、RAM23に記憶する。   The CPU 21 refers to the first conversion flag and the second conversion flag stored in the RAM 23 and determines whether the first conversion mode is designated (S127). More specifically, when the value of the first conversion flag is "1", the CPU 21 determines that the first conversion mode is designated, and the value of the second conversion flag is "1". It is determined that the first conversion mode is not specified. That is, in this case, the CPU 21 determines that the second conversion mode is designated. When it is determined that the first conversion mode is designated (S127: YES), the CPU 21 replaces the one-side print content with the other-side print content based on the first print data or the input print content 132A. Print data is generated (S129). More specifically, for example, when the second print data is generated based on the input print content 132A, the CPU 21 performs second printing in which the one-side print content and the other-side print content of the input print content 132A are interchanged. Generate content. Then, the CPU 21 generates second print data corresponding to the second print content, and stores the second print data in the RAM 23. For example, when generating the second print data based on the first print data, the CPU 21 interchanges the one-side data and the other-side data of the first print data to generate the second print data, and stores the second print data in the RAM 23 .

CPU21は、第一変換モードが指定されていないと判定した場合(S127:NO)、つまり、第二変換モードが指定されていると判定した場合、第一印刷データ又は入力された印刷内容132Aに基づき、入力された印刷内容132Aが一方側印刷内容と他方側印刷内容を入れ替え180°回転した第二印刷部分80Bとなる第二印刷データを生成する(S131)。より具体的には、例えば、入力された印刷内容132Aに基づき第二印刷データを生成する場合、CPU21は、入力された印刷内容132Aの一方側印刷内容と他方側印刷内容を入れ替え180°回転させた第二印刷内容を生成する。そして、CPU21は、第二印刷内容に対応する第二印刷データを生成し、RAM23に記憶する。また、例えば、第一印刷データに基づき第二印刷データを生成する場合、CPU21は、第一印刷データの一方側データと他方側データとを入れ替えて、一方側データと他方側データの印刷結果が180°回転した印刷結果となる一方側データと他方側データを夫々生成することで第二印刷データを生成し、RAM23に記憶する。   If the CPU 21 determines that the first conversion mode is not specified (S127: NO), that is, if it determines that the second conversion mode is specified, the first print data or the input print content 132A is selected. Based on the second print data, the second print portion 80B is formed by rotating the input print contents 132A by 180 ° by exchanging the one-side print contents and the other-side print contents (S131). More specifically, for example, when generating the second print data based on the input print content 132A, the CPU 21 interchanges the one-side print content and the other-side print content of the input print content 132A and rotates them 180 °. The second print content is generated. Then, the CPU 21 generates second print data corresponding to the second print content, and stores the second print data in the RAM 23. Also, for example, when generating the second print data based on the first print data, the CPU 21 interchanges the one side data and the other side data of the first print data, and the print result of the one side data and the other side data is The second print data is generated by generating the one-side data and the other-side data to be the printing result rotated by 180 °, and stored in the RAM 23.

CPU21は、第一印刷データに基づく第一印刷部分80Aと第二印刷データに基づく第二印刷部分80Bとの間でチューブ9を部分カットさせる為の制御命令である部分カット命令を生成する(S133)。CPU21は、通信部27を介して、第一印刷データ、第二印刷データ、部分カット命令を印刷装置1Bに送信する(S135)。CPU21は、カウンタCntをカウントアップする(S137)。   The CPU 21 generates a partial cut instruction which is a control instruction for partially cutting the tube 9 between the first print portion 80A based on the first print data and the second print portion 80B based on the second print data (S133) ). The CPU 21 transmits the first print data, the second print data, and the partial cut command to the printing apparatus 1B via the communication unit 27 (S135). The CPU 21 counts up the counter Cnt (S137).

CPU21は、カウントアップ後のカウンタCntの値が上限値を超えたか判定する(S139)。CPU21は、上限値を超えていないと判定した場合(S139:NO)、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、直前に送信した第一印刷データと繰り上げ指定又は繰り下げ指定と指定された個数Nとに基づき、次順の第一印刷データを生成する(S141)。   The CPU 21 determines whether the value of the counter Cnt after counting up exceeds the upper limit (S139). When the CPU 21 determines that the upper limit value is not exceeded (S139: NO), the CPU 21 refers to the parameter information stored in the RAM 23 at the time of setting the tube print setting screen 131 and designates the first print data transmitted immediately before and the carry designation or First print data in the next order is generated based on the carry-down designation and the designated number N (S141).

CPU21は、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、直前に送信した第二印刷データと繰り上げ指定又は繰り下げ指定と指定された個数Nとに基づき、次順の第二印刷データを生成する(S143)。CPU21は、S133に戻り、前述の処理を繰り返す。CPU21は、上限値を超えたと判定した場合(S139:YES)、第一変換フラグと第二変換フラグをリセットする(S145)。CPU21は、S101に戻る。   The CPU 21 refers to the parameter information stored in the RAM 23 at the time of setting the tube print setting screen 131, and based on the second print data transmitted immediately before and the number N designated to be carry forward or carry forward, 2. Generate print data (S143). The CPU 21 returns to S133 and repeats the above-described processing. When it is determined that the upper limit value is exceeded (S139: YES), the CPU 21 resets the first conversion flag and the second conversion flag (S145). The CPU 21 returns to S101.

<変換モード印刷処理>
図11を参照して、変換モード印刷処理の流れを説明する。本変換モード印刷処理は、電源が入力されたことをトリガとして印刷装置1Bにより実行される。具体的には、CPU41は、ROM42から変換モード印刷処理のプログラムを読み出して実行する。
<Conversion mode print processing>
The flow of the conversion mode printing process will be described with reference to FIG. The conversion mode printing process is executed by the printing apparatus 1B using a power source input as a trigger. Specifically, the CPU 41 reads out a program for conversion mode printing processing from the ROM 42 and executes the program.

CPU41は、通信部19を介して、印刷データを受信したか判定する(S201)。CPU41は、印刷データを受信していないと判定した場合(S201:NO)、S201に戻り、S201を繰り返す。CPU41は、印刷データを受信したと判定した場合(S201:YES)、受信した印刷データに変換モード情報が含まれているか判定する(S203)。CPU41は、変換モード情報が含まれていないと判定した場合(S203:NO)、受信した印刷データを印刷処理する(S205)。CPU41は、S201に戻る。   The CPU 41 determines whether print data has been received via the communication unit 19 (S201). If the CPU 41 determines that the print data has not been received (S201: NO), it returns to S201 and repeats S201. When the CPU 41 determines that the print data has been received (S201: YES), the CPU 41 determines whether conversion mode information is included in the received print data (S203). When it is determined that the conversion mode information is not included (S203: NO), the CPU 41 prints the received print data (S205). The CPU 41 returns to S201.

CPU41は、変換モード情報が含まれていると判定した場合(S203:YES)、搬送モータ98を駆動させ、チューブ9の搬送を開始させる(S207)。CPU41は、印刷ヘッド61等を制御し、第一印刷データに基づく印刷を実行し(S209)、第二印刷データに基づく印刷を実行する(S211)。CPU41は、印刷済みのチューブ9の所定位置(第一印刷データに基づく第一印刷部分80Aと第二印刷データに基づく第二印刷部分80Bとの間)がカッタ64に到達したか判定する(S213)。搬送モータ98は、上述したように、ステッピングモータなので、例えば、ステップ数に基づき所定位置がカッタ64に到達したか検出可能である。   When it is determined that the conversion mode information is included (S203: YES), the CPU 41 drives the conveyance motor 98 to start conveyance of the tube 9 (S207). The CPU 41 controls the print head 61 and the like, executes printing based on the first print data (S209), and executes printing based on the second print data (S211). The CPU 41 determines whether the predetermined position of the printed tube 9 (between the first print portion 80A based on the first print data and the second print portion 80B based on the second print data) has reached the cutter 64 (S213) ). As described above, the transport motor 98 is a stepping motor, so that it can be detected whether the predetermined position has reached the cutter 64 based on, for example, the number of steps.

CPU41は、印刷済みチューブ9の所定位置がカッタ64に到達してないと判定した場合には(S213:NO)、S213を繰り返す。CPU41は、印刷済みチューブ9の所定位置がカッタ64に到達したと判定した場合には(S213:YES)、部分カット命令に従って、カッタ64を制御し、所定位置で部分カットをさせる(S215)。CPU41は、S201に戻り、前述の処理を繰り返す。   When it is determined that the predetermined position of the printed tube 9 has not reached the cutter 64 (S213: NO), the CPU 41 repeats S213. When it is determined that the predetermined position of the printed tube 9 has reached the cutter 64 (S213: YES), the CPU 41 controls the cutter 64 in accordance with the partial cut command to make a partial cut at the predetermined position (S215). The CPU 41 returns to S201 and repeats the above-described processing.

<第二実施形態における主な作用と効果>
上記第二実施形態において、端末装置2は、ネットワーク3を介して、印刷装置1Bに接続されている。端末装置2は、チューブ9に印刷される第一印刷部分80Aの一方側印刷内容と他方側印刷内容を含む印刷内容132Aの入力を受け付ける操作部25を備える。端末装置2は、印刷内容132Aに基づき、一方側印刷内容を印刷する一方側データ及び他方側印刷内容を印刷する他方側データを含む第一印刷データを生成し、第一印刷データ又は印刷内容132Aに基づき、一方側データと他方側データとを入れ替えた第二印刷データを生成する。端末装置2は、印刷装置1Bの搬送モータ98を制御し、チューブ9を搬送させ、カッタ64を制御し、第一印刷部分80Aと第二印刷部分80Bとの間に、部分カットを実行させる部分カット命令を作成し、第一印刷データと、第二印刷データと、部分カット命令とを印刷装置1Bに送信する。
<Main actions and effects in the second embodiment>
In the second embodiment, the terminal device 2 is connected to the printing device 1 B via the network 3. The terminal device 2 includes the operation unit 25 that receives an input of the print content 132A including the one-side print content and the other-side print content of the first print portion 80A printed on the tube 9. The terminal device 2 generates, based on the print content 132A, first print data including the one-side data for printing the one-side print content and the other-side data for printing the other-side print content, the first print data or the print content 132A. And generates second print data in which the one-side data and the other-side data are interchanged. The terminal device 2 controls the transport motor 98 of the printing apparatus 1B, transports the tube 9, controls the cutter 64, and performs a partial cut between the first print portion 80A and the second print portion 80B. A cut command is created, and the first print data, the second print data, and the partial cut command are sent to the printing apparatus 1B.

端末装置2が、第一印刷データ、第二印刷データ、及び部分カット命令を送信することで、印刷装置1Bは、図14(1)に示すように、第一印刷データに基づく第一印刷部分80Aが印刷されたチューブ9の上流側に第二印刷データに基づく第二印刷部分80Bを印刷する。また、印刷装置1Bは、チューブ9を搬送させ、第一印刷部分80Aと第二印刷部分80Bの間(二点鎖線9A,9C,9E)を部分カットする。従って、印刷装置1Bは、図14(2)に示すように、例えば、部分カットで繋がった第一印刷部分80A(A11/B11)と第二印刷部分80B(B11/A11)から成る一組の印刷後のチューブ80を作成できる。次いで、図14(2),(3)に示すように、一組の印刷後のチューブ80を一度にケーブル85に挿し込む。次いで、図14(4)に示すように、挿し込み後に第一印刷部分80Aと第二印刷部分80Bとを切り離して、ケーブル85の両端に各々取り付けるので、ケーブル85の作成作業の工数を低減できる。また、間違った印刷後のチューブ9を挿入する可能性を低減できる。   As the terminal device 2 transmits the first print data, the second print data, and the partial cut command, the printing device 1B performs the first print portion based on the first print data as shown in FIG. 14 (1). The second print portion 80B based on the second print data is printed on the upstream side of the tube 9 on which the 80A is printed. In addition, the printing apparatus 1B transports the tube 9, and partially cuts between the first print portion 80A and the second print portion 80B (two-dot chain line 9A, 9C, 9E). Therefore, as shown in FIG. 14 (2), the printing apparatus 1B has, for example, a set of a first print portion 80A (A11 / B11) and a second print portion 80B (B11 / A11) connected by partial cutting. The tube 80 after printing can be created. Next, as shown in FIGS. 14 (2) and 14 (3), one set of printed tubes 80 is inserted into the cable 85 at one time. Next, as shown in FIG. 14 (4), the first print portion 80A and the second print portion 80B are separated after insertion and attached to both ends of the cable 85, so that the number of steps of the work of producing the cable 85 can be reduced. . Also, the possibility of inserting the tube 9 after incorrect printing can be reduced.

上記第二実施形態において、端末装置2は、第一印刷データに基づき、一方側データと他方側データが、一方側印刷内容と他方側印刷内容とを入れ替え180°回転した印刷状態になる第二印刷データを作成する。従って、第二印刷データを作成する為の入力の手間が省ける。また、第二印刷部分80Bは第一印刷部分80Aを上下反転させた状態で印刷される。従って、部分カットで繋がった第一印刷部分80Aと第二印刷部分80Bからなる一組の印刷後のチューブ80は、夫々、結線元の情報が常に結線元側になる。故に、取り付けミスの発生を抑制できる。   In the second embodiment, the terminal device 2 switches to a printing state in which the one-side data and the other-side data replace the one-side print content and the other-side print content based on the first print data and rotate 180 °. Create print data. Therefore, the trouble of the input for producing the second print data can be saved. In addition, the second print portion 80B is printed in a state where the first print portion 80A is turned upside down. Therefore, in each of the tubes 80 after printing of the pair of the first print portion 80A and the second print portion 80B connected by the partial cut, the connection source information is always on the connection source side. Therefore, the occurrence of mounting errors can be suppressed.

上記第二実施形態において、端末装置2は、第一印刷部分80Aに含まれる指定された連続記号を次順の連続記号に繰り上げ又は繰り下げた第一印刷データを生成し、第二印刷部分80Bの連続記号を次順の連続記号に繰り上げ又は繰り下げた第二印刷データを生成する。端末装置2は、連続記号の指定の順に従って、第一印刷データと第二印刷データとの組を生成し、印刷装置1Bに送信するので、入力の手間を省くことができる。故に、印刷装置1Bの生産性が向上する。   In the second embodiment, the terminal device 2 generates first print data in which the designated continuous symbol included in the first print portion 80A is carried up or down to the next sequential symbol, and the second print portion 80B is generated. A second print data is generated by raising or lowering the consecutive symbols to the next consecutive symbol. The terminal device 2 generates sets of the first print data and the second print data in accordance with the order of designation of the continuous symbols, and transmits the sets to the printing apparatus 1B, so that it is possible to save the trouble of input. Therefore, the productivity of the printing apparatus 1B is improved.

上記第二実施形態において、次順の連続記号は、指定された個数Nの連続記号を飛び越した連続記号である。印刷装置1Bは指定された個数Nの連続記号を飛び越えた連番印刷が可能となり、ユーザは印刷内容132Aの入力の手間が省けるので、ユーザの利便性が向上する。   In the second embodiment, the next consecutive symbol is a consecutive symbol which jumps over a designated number N of consecutive symbols. The printing apparatus 1B can perform serial number printing over the designated number N of continuous symbols, and the user can save time and effort of inputting the print content 132A, and the convenience of the user is improved.

上記第二実施形態において、端末装置2は、第一印刷データと印刷内容132Aに基づき、一方側データと他方側データとを入れ替えた第二印刷データを作成する第一変換モード、又は、第一印刷データ又は印刷内容132Aに基づき、一方側データと他方側データが、一方側印刷内容と他方側印刷内容とを入れ替え180°回転した印刷状態になる第二印刷データを作成する第二変換モードを設定できるチューブ印刷設定画面131を表示部26に表示する。従って、ユーザは、チューブ印刷設定画面131を介して、第一変換モード又は第二変換モードの設定ができるので、ユーザの利便性が向上する。   In the second embodiment, the terminal device 2 generates the second print data in which the one-side data and the other-side data are interchanged based on the first print data and the print content 132A, or the first conversion mode, or A second conversion mode for creating second print data in which the one side data and the other side data interchange the one side print contents and the other side print contents and rotate 180 ° based on the print data or print contents 132A The tube printing setting screen 131 which can be set is displayed on the display unit 26. Therefore, since the user can set the first conversion mode or the second conversion mode via the tube printing setting screen 131, the convenience of the user is improved.

上記第二実施形態において、端末装置2は、表示部26を備え、第一変換モードである場合、所定のキャラクタを表示部26に表示し、第二変換モードである場合、所定のキャラクタを、180°回転した表示を表示部26に表示する。第一変換モードの場合と、第二変換モードの場合とで、表示部26に表示される所定のキャラクタの表示態様が異なる。従って、ユーザの利便性が向上し、印刷を実行する前に、ユーザは誤りを発見できる。故に、印刷装置1Bの生産性が向上する。   In the second embodiment, the terminal device 2 includes the display unit 26. When the terminal device 2 is in the first conversion mode, the predetermined character is displayed on the display unit 26. When the terminal device 2 is in the second conversion mode, the predetermined character is The display rotated by 180 ° is displayed on the display unit 26. The display mode of the predetermined character displayed on the display unit 26 differs between the case of the first conversion mode and the case of the second conversion mode. Therefore, the convenience of the user is improved, and the user can find an error before printing. Therefore, the productivity of the printing apparatus 1B is improved.

<第三実施形態>
図12、図13を参照して、第三実施形態について説明する。第三実施形態における印刷装置1Bと端末装置2の構成は、第二実施形態の印刷装置1Bと端末装置2の構成と同じである。従って、第三実施形態において、第二実施形態の構成に対応する構成には同一の符号を付して、各構成の説明は省略する。
Third Embodiment
The third embodiment will be described with reference to FIGS. 12 and 13. The configurations of the printing device 1B and the terminal device 2 in the third embodiment are the same as the configurations of the printing device 1B and the terminal device 2 in the second embodiment. Therefore, in the third embodiment, the same reference numerals are given to the configurations corresponding to the configurations of the second embodiment, and the descriptions of the respective configurations will be omitted.

第三実施形態では、端末装置2側のCPU21が第一印刷データ、第二印刷データ、部分カット命令を生成し、通信部27を介して、印刷装置1Bに送信する。その際、CPU21は、変換モード情報の他に、連番機能131Cが有効の場合、連番情報を第一印刷データに含める。連番情報は、少なくともユーザにより指定された連番する記号、連番の回数、繰り上げ指定又は繰り下げ指定、個数N(飛越機能が有効の場合のみ)を含む。そして、印刷装置1B側のCPU41が、受信した第一印刷データに連番情報が含まれている場合、CPU41は、連番情報と受信した第一印刷データと第二印刷データとに基づき、順次、第一印刷データと第二印刷データを生成し、印刷処理と部分カットを実行させる。   In the third embodiment, the CPU 21 of the terminal device 2 generates the first print data, the second print data, and the partial cut instruction, and transmits the first print data, the second print data, and the partial cut instruction to the printing device 1B via the communication unit 27. At this time, the CPU 21 includes serial number information in the first print data, in addition to the conversion mode information, when the serial number function 131C is enabled. The serial number information includes at least a serial number symbol designated by the user, the number of serial numbers, carry designation or carry designation, and the number N (only when the skip function is valid). When the CPU 41 of the printing apparatus 1B includes serial number information in the received first print data, the CPU 41 sequentially executes the serial number information and the received first print data and second print data. , Generate first print data and second print data, and execute print processing and partial cutting.

<変換モード設定処理>
図12を参照して、変換モード設定処理の流れを説明する。変換モード設定処理は、端末装置2にインストールされている変換モード機能を含む印刷ソフトの起動をトリガとして、端末装置2により実行される。具体的には、CPU21は、ROM22から変換モード設定処理のプログラムを読み出して実行する。
<Conversion mode setting process>
The flow of conversion mode setting processing will be described with reference to FIG. The conversion mode setting process is executed by the terminal device 2 with the activation of printing software including the conversion mode function installed in the terminal device 2 as a trigger. Specifically, the CPU 21 reads a program for conversion mode setting processing from the ROM 22 and executes the program.

CPU21は、変換モード設定が、操作部25を介して、ユーザにより指定されたか判定する(S301)。CPU21は、変換モード設定が指定されていないと判定した場合(S301:NO)、CPU21は、指定された設定に従って印刷データを生成する(S303)。CPU21は、生成した印刷データを、通信部27を介して、印刷装置1Bに送信する(S305)。CPU21は、S301に戻る。   The CPU 21 determines whether the conversion mode setting is designated by the user via the operation unit 25 (S301). When the CPU 21 determines that the conversion mode setting is not designated (S301: NO), the CPU 21 generates print data according to the designated setting (S303). The CPU 21 transmits the generated print data to the printing apparatus 1B via the communication unit 27 (S305). The CPU 21 returns to S301.

CPU21は、変換モード設定が指定されたと判定した場合(S301:YES)、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、変換モード131Mが指定されたか判定する(S307)。具体的には、CPU21は、ユーザによりOFFモードが指定された場合に、変換モード131Mが指定されていないと判定し、ユーザにより第一変換モード又は第二変換モードが指定された場合に、変換モード131Mが指定されたと判定する。   When the CPU 21 determines that the conversion mode setting is specified (S301: YES), it refers to the parameter information stored in the RAM 23 when setting the tube print setting screen 131, and determines whether the conversion mode 131M is specified (S307) . Specifically, the CPU 21 determines that the conversion mode 131M is not specified when the OFF mode is specified by the user, and the conversion is performed when the first conversion mode or the second conversion mode is specified by the user. It is determined that the mode 131M is designated.

CPU21は、変換モード131Mが指定されていないと判定した場合(S307:NO)、S303に進み、OFFモード時の印刷データを生成し(S303)、生成した印刷データを、通信部27を介して、印刷装置1Bに送信する(S305)。CPU21は、S301に戻る。CPU21は、変換モード131Mが指定されたと判定した場合(S307:YES)、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、第一変換モードが指定されたか判定する(S309)。CPU21は、第一変換モードが指定されたと判定した場合(S309:YES)、第一変換フラグを"1"に変更する(S310)。CPU21は、表示部26を制御して、所定のキャラクタを印刷内容設定画面132の所定の位置に表示させる(S311)。CPU21は、S315に進む。本第三実施形態では、図4(2)に示すように、"Cross"が印刷内容設定画面132の下側に表示される。   If the CPU 21 determines that the conversion mode 131M is not specified (S307: NO), the process proceeds to S303, generates print data in the OFF mode (S303), and generates the print data via the communication unit 27. And transmit to the printing apparatus 1B (S305). The CPU 21 returns to S301. When it is determined that the conversion mode 131M is specified (S307: YES), the CPU 21 refers to the parameter information stored in the RAM 23 when setting the tube print setting screen 131, and determines whether the first conversion mode is specified (S309) ). When it is determined that the first conversion mode is designated (S309: YES), the CPU 21 changes the first conversion flag to "1" (S310). The CPU 21 controls the display unit 26 to display a predetermined character at a predetermined position on the print content setting screen 132 (S311). The CPU 21 proceeds to step S315. In the third embodiment, as shown in FIG. 4 (2), “Cross” is displayed on the lower side of the print content setting screen 132.

CPU21は、第一変換モードが指定されていないと判定した場合(S309:NO)、第二変換フラグを"1"に変更する(S312)。CPU21は、表示部26を制御して、所定のキャラクタを180°回転させて、印刷内容設定画面132の所定の位置に表示させる(S313)。   When it is determined that the first conversion mode is not designated (S309: NO), the CPU 21 changes the second conversion flag to "1" (S312). The CPU 21 controls the display unit 26 to rotate a predetermined character by 180 ° and display the character at a predetermined position on the print content setting screen 132 (S313).

CPU21は、操作部25を介して、ユーザにより入力された印刷内容132Aがあるか判定する(S315)。CPU21は、印刷内容132Aの入力がないと判定した場合(S315:NO)、S315に戻り、S315を繰り返す。CPU21は、印刷内容132Aの入力があると判定した場合(S315:YES)、入力された印刷内容132Aに基づき、第一印刷データを生成する(S317)。より具体的には、CPU21は、入力された印刷内容132Aに対応する第一印刷データを生成し、RAM23に記憶する。この際、CPU21は、第一印刷データに変換モード情報と、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、連番機能131Cが有効である場合、連番情報を含める。   The CPU 21 determines whether there is a print content 132A input by the user via the operation unit 25 (S315). If the CPU 21 determines that there is no input of the print content 132A (S315: NO), it returns to S315 and repeats S315. When it is determined that the print content 132A is input (S315: YES), the CPU 21 generates first print data based on the input print content 132A (S317). More specifically, the CPU 21 generates first print data corresponding to the input print content 132A, and stores the first print data in the RAM 23. At this time, the CPU 21 refers to conversion mode information and parameter information stored in the RAM 23 at the time of setting the tube print setting screen 131 in the first print data, and includes the serial number information when the serial number function 131C is valid. .

CPU21は、RAM23に記憶されている第一変換フラグと第二変換フラグを参照し、第一変換モードが指定されているか判定する(S319)。より具体的には、CPU21は、第一変換フラグの値が"1"である場合、第一変換モードが指定されていると判定し、第二変換フラグの値が"1"である場合、第一変換モードが指定されていないと判定する。つまり、この場合、CPU21は、第二変換モードが指定されていると判定する。CPU21は、第一変換モードが指定されていると判定した場合(S319:YES)、入力された印刷内容132Aに基づき、一方側印刷内容と他方側印刷内容を入れ替えた第二印刷データを生成する(S321)。より具体的には、例えば、入力された印刷内容132Aに基づき第二印刷データを生成する場合、CPU21は、入力された印刷内容132Aの一方側印刷内容と他方側印刷内容を入れ替えた第二印刷内容を生成する。そして、CPU21は、第二印刷内容に対応する第二印刷データを生成し、RAM23に記憶する。また、例えば、第一印刷データに基づき第二印刷データを生成する場合、CPU21は、第一印刷データの一方側データと他方側データとを入れ替えて第二印刷データを生成し、RAM23に記憶する。   The CPU 21 refers to the first conversion flag and the second conversion flag stored in the RAM 23 and determines whether the first conversion mode is designated (S319). More specifically, when the value of the first conversion flag is "1", the CPU 21 determines that the first conversion mode is designated, and the value of the second conversion flag is "1". It is determined that the first conversion mode is not specified. That is, in this case, the CPU 21 determines that the second conversion mode is designated. When it is determined that the first conversion mode is specified (S319: YES), the CPU 21 generates second print data in which the one-side print content and the other-side print content are interchanged based on the input print content 132A. (S321). More specifically, for example, when the second print data is generated based on the input print content 132A, the CPU 21 performs second printing in which the one-side print content and the other-side print content of the input print content 132A are interchanged. Generate content. Then, the CPU 21 generates second print data corresponding to the second print content, and stores the second print data in the RAM 23. For example, when generating the second print data based on the first print data, the CPU 21 interchanges the one-side data and the other-side data of the first print data to generate the second print data, and stores the second print data in the RAM 23 .

CPU21は、第一変換モードが指定されていないと判定した場合(S319:NO)、つまり、第二変換モードが指定されていると判定した場合、第一印刷データ又は入力された印刷内容132Aに基づき、入力された印刷内容132Aが一方側印刷内容と他方側印刷内容を入れ替え180°回転した第二印刷部分80Bとなる第二印刷データを生成する(S323)。より具体的には、例えば、入力された印刷内容132Aに基づき第二印刷データを生成する場合、CPU21は、入力された印刷内容132Aの一方側印刷内容と他方側印刷内容を入れ替え180°回転させた第二印刷内容を生成する。そして、CPU21は、第二印刷内容に対応する第二印刷データを生成し、RAM23に記憶する。また、例えば、第一印刷データに基づき第二印刷データを生成する場合、CPU21は、第一印刷データの一方側データと他方側データとを入れ替えて、一方側データと他方側データの印刷結果が180°回転した印刷結果となる一方側データと他方側データを夫々生成することで第二印刷データを生成し、RAM23に記憶する。   If the CPU 21 determines that the first conversion mode is not specified (S319: NO), that is, if it determines that the second conversion mode is specified, the first print data or the input print content 132A is selected. Based on the second print data, the input print content 132A turns the one-side print content and the other-side print content and rotates the image by 180 ° to generate the second print data 80B (S323). More specifically, for example, when generating the second print data based on the input print content 132A, the CPU 21 interchanges the one-side print content and the other-side print content of the input print content 132A and rotates them 180 °. The second print content is generated. Then, the CPU 21 generates second print data corresponding to the second print content, and stores the second print data in the RAM 23. Also, for example, when generating the second print data based on the first print data, the CPU 21 interchanges the one side data and the other side data of the first print data, and the print result of the one side data and the other side data is The second print data is generated by generating the one-side data and the other-side data to be the printing result rotated by 180 °, and stored in the RAM 23.

CPU21は、第一印刷データに基づく第一印刷部分80Aと第二印刷データに基づく第二印刷部分80Bとの間でチューブ9を部分カットさせる為の制御命令である部分カット命令を生成する(S325)。この際、CPU21は、第一印刷データに連番情報を含めた場合、チューブ印刷設定画面131の設定時にRAM23に記憶されたパラメータ情報を参照し、指定された連番の回数分、部分カット命令が有効となる部分カット命令を生成する。CPU21は、通信部27を介して、第一印刷データ、第二印刷データ、部分カット命令を印刷装置1Bに送信し(S327)、第一変換フラグと第二変換フラグをリセットする(S329)。CPU21は、S301に戻り、前述の処理を繰り返す。   The CPU 21 generates a partial cut instruction which is a control instruction for partially cutting the tube 9 between the first print portion 80A based on the first print data and the second print portion 80B based on the second print data (S325) ). At this time, when serial number information is included in the first print data, the CPU 21 refers to the parameter information stored in the RAM 23 at the time of setting the tube print setting screen 131, and performs partial cut instructions by the number of designated serial numbers. Generate a partial cut instruction that becomes valid. The CPU 21 transmits the first print data, the second print data, and the partial cut command to the printing apparatus 1B via the communication unit 27 (S327), and resets the first conversion flag and the second conversion flag (S329). The CPU 21 returns to S301 and repeats the above-described processing.

<変換モード印刷処理>
図13を参照して、変換モード印刷処理の流れを説明する。本変換モード印刷処理は、電源が入力されたことをトリガとして印刷装置1Bにより実行される。具体的には、CPU41は、ROM42から変換モード印刷処理のプログラムを読み出して実行する。
<Conversion mode print processing>
The flow of the conversion mode printing process will be described with reference to FIG. The conversion mode printing process is executed by the printing apparatus 1B using a power source input as a trigger. Specifically, the CPU 41 reads out a program for conversion mode printing processing from the ROM 42 and executes the program.

CPU41は、通信部19を介して、印刷データを受信したか判定する(S401)。CPU41は、印刷データを受信していないと判定した場合(S401:NO)、S401に戻り、S401を繰り返す。CPU41は、印刷データを受信したと判定した場合(S401:YES)、受信した印刷データに変換モード情報が含まれているか判定する(S403)。CPU41は、変換モード情報が含まれていないと判定した場合(S403:NO)、受信した印刷データを印刷処理する(S405)。CPU41は、S401に戻る。   The CPU 41 determines whether print data has been received via the communication unit 19 (S401). When the CPU 41 determines that the print data is not received (S401: NO), the process returns to S401 and repeats S401. When the CPU 41 determines that the print data has been received (S401: YES), the CPU 41 determines whether conversion mode information is included in the received print data (S403). When it is determined that the conversion mode information is not included (S403: NO), the CPU 41 prints the received print data (S405). The CPU 41 returns to S401.

CPU41は、変換モード情報が含まれていると判定した場合(S403:YES)、受信した印刷データに連番情報が含まれているか判定する(S407)。CPU41は、連番情報が含まれていないと判定した場合(S407:NO)、カウンタCntの上限値を"1"に設定する(S409)。CPU41は、連番情報が含まれていると判定した場合(S407:YES)、カウンタCntの上限値を指定された連番の回数に設定する(S411)。   If the CPU 41 determines that conversion mode information is included (S403: YES), it determines whether serial number information is included in the received print data (S407). When determining that serial number information is not included (S407: NO), the CPU 41 sets the upper limit value of the counter Cnt to "1" (S409). When it is determined that the serial number information is included (S407: YES), the CPU 41 sets the upper limit value of the counter Cnt to the specified number of serial numbers (S411).

CPU41は、カウンタCntをリセット(Cnt=1)する(S413)。CPU41は、搬送モータ98を駆動させ、チューブ9の搬送を開始させる(S415)。CPU41は、印刷ヘッド61等を制御し、第一印刷データに基づく印刷を実行し(S417)、第二印刷データに基づく印刷を実行する(S419)。CPU41は、印刷済みのチューブ9の所定位置(第一印刷データに基づく第一印刷部分80Aと第二印刷データに基づく第二印刷部分80Bとの間)がカッタ64に到達したか判定する(S421)。搬送モータ98は、上述したように、ステッピングモータなので、例えば、ステップ数に基づき所定位置がカッタ64に到達したか検出可能である。   The CPU 41 resets the counter Cnt (Cnt = 1) (S413). The CPU 41 drives the conveyance motor 98 to start conveyance of the tube 9 (S415). The CPU 41 controls the print head 61 and the like, executes printing based on the first print data (S417), and executes printing based on the second print data (S419). The CPU 41 determines whether the predetermined position of the printed tube 9 (between the first print portion 80A based on the first print data and the second print portion 80B based on the second print data) has reached the cutter 64 (S421) ). As described above, the transport motor 98 is a stepping motor, so that it can be detected whether the predetermined position has reached the cutter 64 based on, for example, the number of steps.

CPU41は、印刷済みチューブ9の所定位置がカッタ64に到達してないと判定した場合には(S421:NO)、S421を繰り返す。CPU41は、印刷済みチューブ9の所定位置がカッタ64に到達したと判定した場合には(S421:YES)、部分カット命令に従って、カッタ64を制御し、所定位置で部分カットをさせる(S423)。CPU41は、カウンタCntをカウントアップする(S425)。   When it is determined that the predetermined position of the printed tube 9 has not reached the cutter 64 (S421: NO), the CPU 41 repeats S421. When it is determined that the predetermined position of the printed tube 9 has reached the cutter 64 (S421: YES), the CPU 41 controls the cutter 64 in accordance with the partial cut command to make a partial cut at the predetermined position (S423). The CPU 41 counts up the counter Cnt (S425).

CPU41は、カウントアップ後のカウンタCntの値が上限値を超えたか判定する(S427)。CPU41は、上限値を超えたと判定した場合(S427:YES)、S401に戻り、前述の処理を繰り返す。CPU41は、上限値を超えていないと判定した場合(S427:NO)、連番情報を参照し、直前に処理した第一印刷データと繰り上げ指定又は繰り下げ指定と指定された個数Nとに基づき、次順の第一印刷データを生成する(S429)。   The CPU 41 determines whether the value of the counter Cnt after the count-up exceeds the upper limit (S427). If the CPU 41 determines that the value exceeds the upper limit (S427: YES), the process returns to S401 and repeats the above-described processing. When the CPU 41 determines that the upper limit value is not exceeded (S427: NO), the CPU 41 refers to the serial number information, and based on the first print data processed immediately before and the carry designation or the designation number N designated as the carry designation. First print data in the next order is generated (S429).

CPU41は、連番情報を参照し、直前に処理した第二印刷データと繰り上げ指定又は繰り下げ指定と指定された個数Nとに基づき、次順の第二印刷データを生成する(S431)。CPU41は、S415に戻り、前述の処理を繰り返す。   The CPU 41 refers to the serial number information and generates second print data in the next order based on the second print data processed immediately before and the carry designation or the designation number N designated as the carry designation (S431). The CPU 41 returns to S415 and repeats the above-described processing.

<第三実施形態における主な作用と効果>
上記第三実施形態において、印刷装置1Bは、チューブ9に印刷を行う印刷ヘッド61と、チューブ9を搬送する搬送モータ98と搬送ローラ65等と、チューブ9が搬送されるチューブ装着部40と、を備えている。また、印刷装置1Bは、チューブ9に対し部分カットを施すカッタ64と、接続されている端末装置2から送信された、第一印刷データと、一方側データと他方側データとを入れ替えた第二印刷データを受け付ける通信部19と、を備えている。印刷装置1Bは、第一印刷データに基づいて、第一印刷部分80Aの印刷を行い、第一印刷部分80Aが印刷されたチューブ9の上流側に、第二印刷データに基づいて、第二印刷部分80Bの印刷を行う。印刷装置1Bは、搬送モータ98を制御し、チューブ9を搬送させ、第一印刷部分80Aと第二印刷部分80Bとの間に、部分カットを施す。
<Main functions and effects in the third embodiment>
In the third embodiment, the printing apparatus 1B includes a print head 61 for printing on the tube 9, a transport motor 98 for transporting the tube 9, a transport roller 65, and the like, and a tube mounting unit 40 for transporting the tube 9. Is equipped. The printing apparatus 1B further includes a cutter 64 for performing a partial cut on the tube 9, and a second print data transmitted from the connected terminal device 2, the first print data, the second data, and the second data. And a communication unit 19 for receiving print data. The printing apparatus 1B prints the first print portion 80A based on the first print data, and on the upstream side of the tube 9 on which the first print portion 80A is printed, the second print based on the second print data. Print part 80B. The printing apparatus 1B controls the transport motor 98 to transport the tube 9, and performs partial cutting between the first print portion 80A and the second print portion 80B.

従って、印刷装置1Bは、図14(2)に示すように、例えば、部分カットで繋がった第一印刷部分80A(A11/B11)と第二印刷部分80B(B11/A11)から成る一組の印刷後のチューブ80を作成できる。次いで、図14(2),(3)に示すように、一組の印刷後のチューブ80を一度にケーブル85に挿し込む。次いで、図14(4)に示すように、挿し込み後に第一印刷部分80Aと第二印刷部分80Bとを切り離して、ケーブル85の両端に各々取り付けるので、ケーブル85の作成作業の工数を低減できる。また、間違った印刷後のチューブ9を挿入する可能性を低減できる。   Therefore, as shown in FIG. 14 (2), the printing apparatus 1B has, for example, a set of a first print portion 80A (A11 / B11) and a second print portion 80B (B11 / A11) connected by partial cutting. The tube 80 after printing can be created. Next, as shown in FIGS. 14 (2) and 14 (3), one set of printed tubes 80 is inserted into the cable 85 at one time. Next, as shown in FIG. 14 (4), the first print portion 80A and the second print portion 80B are separated after insertion and attached to both ends of the cable 85, so that the number of steps of the work of producing the cable 85 can be reduced. . Also, the possibility of inserting the tube 9 after incorrect printing can be reduced.

その他、上記第三実施形態の印刷装置1Bは、上記第一実施形態の印刷装置1Aと同様の効果を奏する。   In addition, the printing apparatus 1B of the third embodiment has the same effects as the printing apparatus 1A of the first embodiment.

<変形例>
上記実施形態に限定されず、種々の変更が可能である。例えば、第一実施形態〜第三実施形態において、印刷装置1A,1Bは、印刷済みのチューブ9を部分カットする。つまり、印刷ヘッド61より搬送方向の下流側に部分カットを施すカッタ64が配置されている。しかしながら、これに限定されることなく、印刷ヘッド61より搬送方向の上流側に部分カット専用のカッタを設け、変換モード131Mが指定されている場合、印刷前に該カッタによりチューブ9に部分カットを施してもよい。
<Modification>
The present invention is not limited to the above embodiment, and various modifications are possible. For example, in the first to third embodiments, the printing apparatuses 1A and 1B partially cut the printed tube 9. That is, the cutter 64 for performing partial cutting is disposed downstream of the print head 61 in the transport direction. However, without being limited thereto, a cutter dedicated to partial cutting is provided on the upstream side in the transport direction from the print head 61, and when the conversion mode 131M is designated, the cutter partially cuts the tube 9 before printing. It may be applied.

第一実施形態〜第三実施形態において、印刷内容132Aの一方側印刷内容と他方側印刷内容は"/"で区切られている。しかしながら、これに限定されることなく、例えば、":"等の他の記号であってもよい。   In the first to third embodiments, the one-side print content and the other-side print content of the print content 132A are separated by "/". However, the symbol is not limited to this, and may be another symbol such as ":".

端末装置2がネットワーク3を介して印刷装置1Bに接続されている場合、端末装置2は印刷データを生成して印刷装置1Bに送信するかわりに、入力された印刷内容132Aを示す情報とチューブ印刷設定画面131で設定された内容を示すパラメータ情報を印刷装置1Bに送ってもよい。印刷装置1Bは、受信した印刷内容132Aを示す情報とパラメータ情報とに基づき、第一印刷データと第二印刷データを生成し、印刷処理することが可能である。   When the terminal device 2 is connected to the printing device 1B via the network 3, instead of the terminal device 2 generating print data and transmitting it to the printing device 1B, tube printing and information indicating the input print content 132A Parameter information indicating the content set on the setting screen 131 may be sent to the printing apparatus 1B. The printing apparatus 1B can generate and print the first print data and the second print data based on the received information indicating the print content 132A and the parameter information.

ユーザにより変換モード131Mが指定された場合、第一印刷部分80Aと第二印刷部分80Bとの間は、部分カットを施す。しかしながら、その他の間、つまり、第二印刷部分80Bと第一印刷部分80Aとの間は、部分カットを施してもよいし、切断してもよいし、部分カットも切断もしなくてもよい。   When the conversion mode 131M is designated by the user, a partial cut is performed between the first print portion 80A and the second print portion 80B. However, during the other part, that is, between the second print portion 80B and the first print portion 80A, a partial cut may be applied, cut, or may not be cut.

各フローチャートの各ステップは、処理における矛盾が生じない限り、ステップの順番を入れ替え可能であり、ステップの追加又は削除をしてもよい。例えば、図6のS15及び図7のS51は無くてもよい。チューブ印刷設定画面131の設定時にRAM44に記憶されたパラメータ情報を参照することで、連番機能131Cが有効か判定できる。   Each step of each flowchart can change the order of steps as long as no contradiction occurs in processing, and steps may be added or deleted. For example, S15 of FIG. 6 and S51 of FIG. 7 may be omitted. By referring to the parameter information stored in the RAM 44 at the time of setting the tube printing setting screen 131, it can be determined whether the serial number function 131C is valid.

変換モード設定処理等を実行する為のプログラム等は、インターネット上のサーバ装置が有するディスク装置等に記憶し、印刷装置1A,1B、端末装置2は各種のプログラムをダウンロード等してもよい。   A program or the like for executing a conversion mode setting process or the like may be stored in a disk device or the like included in a server device on the Internet, and the printing devices 1A and 1B and the terminal device 2 may download various programs.

実施形態に応じて、印刷装置1A,1B、端末装置2は、ROM、RAM以外の他の種類の記憶装置を利用してもよい。例えば、印刷装置1A,1B、端末装置2は、CAM(Content Addressable Memory)、SRAM(Static Random Access Memory)、SDRAM(Synchronous Dynamic Random Access Memory)等の記憶装置を有してもよい。   Depending on the embodiment, the printing apparatuses 1A and 1B and the terminal apparatus 2 may use other types of storage devices other than the ROM and the RAM. For example, the printing apparatuses 1A and 1B and the terminal device 2 may have storage devices such as a content addressable memory (CAM), a static random access memory (SRAM), and a synchronous dynamic random access memory (SDRAM).

実施形態に応じて、印刷装置1A,1B、端末装置2の電気的構成は図3、図8と異なっていてもよく、図3、図8に例示した規格・種類以外のその他のハードウェアが印刷装置1A,1B、端末装置2に適用できる。   Depending on the embodiment, the electrical configurations of the printing devices 1A and 1B and the terminal device 2 may be different from those in FIG. 3 and FIG. 8, and other hardware other than the standards and types illustrated in FIG. The present invention can be applied to the printing devices 1A and 1B and the terminal device 2.

例えば、図3、図8に示す印刷装置1A,1B、端末装置2の各制御部は、ハードウェア回路で実現してもよい。具体的には、CPU41、CPU21の少なくとも一方の代わりに、FPGA(Field Programmable Gate Array)等のリコンフィギュラブル回路、又はASIC(Application Specific Integrated Circuit)等で、各制御部は実現してもよい。CPU41、CPU21の少なくとも一方とハードウェア回路の双方で、各制御部は実現してもよい。   For example, the control units of the printing apparatuses 1A and 1B and the terminal device 2 shown in FIGS. 3 and 8 may be realized by hardware circuits. Specifically, each control unit may be realized by a reconfigurable circuit such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC) instead of at least one of the CPU 41 and the CPU 21. Each control unit may be realized by both the CPU 41 and the CPU 21 and the hardware circuit.

<その他>
印刷ヘッド61は、本発明の「印刷部」の一例である。搬送モータ98、搬送ローラ65〜69は、本発明の「搬送部」の一例である。カッタ64は、本発明の「切断部」の一例である。入力部13Aは、本発明の「受付部」の一例である。CPU41は、本発明の「第一印刷データ生成手段」、「第二印刷データ生成手段」、「第一印刷制御手段」、「第二印刷制御手段」、「部分カット制御手段」、「変換モード設定手段」、「表示制御手段」の一例である。一方側印刷内容は、本発明の「一方側」の一例である。他方側印刷内容は、本発明の「他方側」の一例である。操作部25は、本発明の「受付部」の一例である。CPU41,21は、本発明の「コンピュータ」の一例である。図7に示すS43の処理、又は図9に示す変換モード設定処理のS125の処理は、本発明の「第一印刷データ生成手順」の一例である。図7に示すS47の処理、又は図9に示す変換モード設定処理のS129,S131の処理は、本発明の「第二印刷データ生成手順」の一例である。図7に示すS67の処理、又は図9に示す変換モード設定処理のS133の処理は、本発明の「部分カット命令作成手順」の一例である。図9に示す変換モード設定処理のS135の処理は、本発明の「送信手順」の一例である。図9に示す変換モード設定処理のS109の処理は、本発明の「変換モード設定手順」の一例である。図9に示す変換モード設定処理のS111,S113の処理は、本発明の「モード表示制御手順」の一例である。図7に示すS61の処理は、本発明の「第一印刷制御手順」の一例である。図7に示すS63の処理は、本発明の「第二印刷制御手順」の一例である。
<Others>
The print head 61 is an example of the “printing unit” in the present invention. The conveyance motor 98 and the conveyance rollers 65 to 69 are examples of the “conveying unit” in the present invention. The cutter 64 is an example of the “cutting part” in the present invention. The input unit 13A is an example of the "reception unit" in the present invention. The CPU 41 is a "first print data generation unit", a "second print data generation unit", a "first print control unit", a "second print control unit", a "partial cut control unit", and a "conversion mode" of the present invention. It is an example of "setting means" and "display control means". The one-side print content is an example of the “one-side” in the present invention. The other side print content is an example of the “other side” in the present invention. The operation unit 25 is an example of the “reception unit” in the present invention. The CPUs 41 and 21 are examples of the “computer” in the present invention. The process of S43 shown in FIG. 7 or the process of S125 of the conversion mode setting process shown in FIG. 9 is an example of the “first print data generation procedure” in the present invention. The processing of S47 shown in FIG. 7 or the processing of S129 and S131 of the conversion mode setting processing shown in FIG. 9 is an example of the “second print data generation procedure” in the present invention. The process of S67 shown in FIG. 7 or the process of S133 of the conversion mode setting process shown in FIG. 9 is an example of the “partial cut instruction creation procedure” in the present invention. The process of S135 of the conversion mode setting process shown in FIG. 9 is an example of the “transmission procedure” of the present invention. The process of S109 of the conversion mode setting process shown in FIG. 9 is an example of the “conversion mode setting procedure” of the present invention. The processes of S111 and S113 in the conversion mode setting process shown in FIG. 9 are an example of the “mode display control procedure” in the present invention. The process of S61 shown in FIG. 7 is an example of the “first print control procedure” in the present invention. The process of S63 shown in FIG. 7 is an example of the “second print control procedure” in the present invention.

1A,1B 印刷装置
2 端末装置
9 チューブ
9A〜9E 第一印刷部分と第二印刷部分との間
13A 入力部
13B,26 表示部
19,27 通信部
21,41 CPU
25 操作部
61 印刷ヘッド
64 カッタ
65〜69 搬送ローラ
80A 第一印刷部分
80B 第二印刷部分
98 搬送モータ
N 個数
1A, 1B Printing device 2 Terminal device 9 Tubes 9A to 9E Between first printing portion and second printing portion 13A Input unit 13B, 26 Display unit 19, 27 Communication unit 21, 41 CPU
25 operation part 61 print head 64 cutter 65-69 conveyance roller 80A first printing part 80B second printing part 98 conveyance motor N number

Claims (14)

チューブに印刷を行う印刷部と、
前記チューブを搬送する搬送部と、
前記チューブが搬送される搬送経路に設けられ、前記チューブの周方向の一部を残した切断である部分カットを実行する切断部と、
前記チューブに印刷される第一印刷部分の一方側と他方側を含む印刷内容の入力を受付ける受付部と、
備え、
前記受付部が受け付けた前記印刷内容に基づき、前記一方側を印刷する一方側データ及び前記他方側を印刷する他方側データを含む第一印刷データを生成する第一印刷データ生成手段と、
前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データとを入れ替えた第二印刷データを生成する第二印刷データ生成手段と、
前記第一印刷データに基づいて、前記印刷部を制御し、前記チューブに前記第一印刷部分の印刷を行わせる第一印刷制御手段と、
前記第一印刷部分が印刷された前記チューブの搬送方向の上流側に、前記第二印刷データに基づいて、前記印刷部を制御し、第二印刷部分の印刷を行わせる第二印刷制御手段と、
前記搬送部を制御し、前記チューブを搬送させ、前記切断部を制御し、前記第一印刷部分と前記第二印刷部分との間に、前記部分カットを実行させる部分カット制御手段と、
を備えたことを特徴とする印刷装置。
A printing unit for printing on a tube,
A transport unit for transporting the tube;
A cutting unit provided in a conveyance path along which the tube is conveyed, and performing a partial cut which is a cutting leaving a part in a circumferential direction of the tube;
A reception unit that receives an input of print content including one side and the other side of the first print portion printed on the tube;
Equipped
First print data generation means for generating first print data including one side data for printing the one side and the other side data for printing the other side based on the print content received by the reception unit;
A second print data generation unit that generates second print data in which the one-side data and the other-side data are interchanged based on the first print data or the print content;
First print control means for controlling the print unit based on the first print data to cause the tube to print the first print portion;
A second printing control unit configured to control the printing unit on the upstream side of the transport direction of the tube on which the first print portion is printed, based on the second print data, and print the second print portion; ,
Partial cut control means for controlling the conveying unit, conveying the tube, controlling the cutting unit, and performing the partial cut between the first print portion and the second print portion;
A printing apparatus comprising:
前記第二印刷データ生成手段は、
前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データが、前記一方側と前記他方側を入れ替え180°回転した印刷状態になる前記第二印刷データを作成すること
を特徴とする請求項1に記載の印刷装置。
The second print data generation unit
Based on the first print data or the print content, creating the second print data in a printing state in which the one side data and the other side data exchange the one side and the other side and rotate 180 °. The printing apparatus according to claim 1, wherein
前記第一印刷データ生成手段は、前記第一印刷部分に含まれる指定された連続する記号である連続記号を次順の連続記号に繰り上げ又は繰り下げた前記第一印刷データを生成し、
前記第二印刷データ生成手段は、前記第二印刷部分の前記連続記号を前記次順の連続記号に繰り上げ又は繰り下げた前記第二印刷データを生成し、
前記第一印刷データ生成手段と前記第二印刷データ生成手段は、それぞれ、指定された回数に到達するまで、前記連続記号の前記次順への繰り上げ又は繰り下げをした前記第一印刷データと前記第二印刷データを生成すること
を特徴とする請求項1又は2に記載の印刷装置。
The first print data generation means generates the first print data in which a continuous symbol which is a designated continuous symbol included in the first print portion is carried up or down to a next sequential symbol.
The second print data generation unit generates the second print data in which the continuous symbol of the second print portion is rounded up or down to the next sequential symbol.
The first print data generation means and the second print data generation means are each configured to raise or lower the consecutive symbols to the next order until the designated number of times is reached, and 2. The printing apparatus according to claim 1 or 2, wherein the printing data is generated.
前記次順の連続記号は、指定された個数の前記連続記号を飛び越した連続記号であること特徴とする請求項3に記載の印刷装置。   The printing apparatus according to claim 3, wherein the next sequential symbol is a sequential symbol obtained by skipping a designated number of the sequential symbols. 前記第一印刷データ又は前記印刷内容に基づいて、前記第二印刷データ生成手段は前記一方側データと前記他方側データとを入れ替えた前記第二印刷データを作成する第一変換モード、又は、
前記第一印刷データ又は前記印刷内容に基づいて、前記第二印刷データ生成手段は前記一方側データと前記他方側データが、前記一方側と前記他方側とを入れ替え180°回転した印刷状態になる前記第二印刷データを作成する第二変換モードを設定する変換モード設定手段を備えたこと
を特徴とする請求項1乃至4の何れか一に記載の印刷装置。
A first conversion mode in which the second print data generation unit generates the second print data in which the one-side data and the other-side data are switched based on the first print data or the print content, or
Based on the first print data or the print content, the second print data generation unit changes the one side data and the other side data between the one side and the other side, resulting in a printing state rotated 180 °. The printing apparatus according to any one of claims 1 to 4, further comprising conversion mode setting means for setting a second conversion mode for generating the second print data.
前記印刷装置は少なくとも機能を表示する表示部を備え、
前記第一変換モードである場合には、前記表示部を制御し、所定のキャラクタの表示を行わせ、前記第二変換モードである場合には、前記表示部に、前記所定のキャラクタを180°回転した表示を行わせる表示制御手段を備えたこと
を特徴とする請求項5に記載の印刷装置。
The printing apparatus includes a display unit that displays at least a function;
In the first conversion mode, the display unit is controlled to display a predetermined character, and in the second conversion mode, the display unit displays the predetermined character by 180 °. 6. The printing apparatus according to claim 5, further comprising display control means for causing a rotated display.
チューブに印刷を行う印刷部と、
前記チューブを搬送する搬送部と、
前記チューブが搬送される搬送経路に設けられ、前記チューブの周方向の一部を残した切断である部分カットを実行する切断部と、
接続されている端末装置から送信された、前記チューブにおいて、第一印刷部分の一方側に印刷される一方側データ及び前記第一印刷部分の他方側に印刷される他方側データを含む第一印刷データと、前記一方側データと前記他方側データとを入れ替えた第二印刷データを受け付ける通信部と、
を備え、
前記第一印刷データに基づいて、前記印刷部を制御し、前記チューブに前記第一印刷部分の印刷を行わせる第一印刷制御手段と、
前記第一印刷部分が印刷された前記チューブの上流側に、前記第二印刷データに基づいて、前記印刷部を制御し、第二印刷部分の印刷を行わせる第二印刷制御手段と、
前記搬送部を制御し、前記チューブを搬送させ、前記切断部を制御し、前記第一印刷部分と前記第二印刷部分との間に、前記部分カットを実行させる部分カット制御手段と、
を備えたことを特徴とする印刷装置。
A printing unit for printing on a tube,
A transport unit for transporting the tube;
A cutting unit provided in a conveyance path along which the tube is conveyed, and performing a partial cut which is a cutting leaving a part in a circumferential direction of the tube;
First printing including one side data printed on one side of the first print portion and the other side data printed on the other side of the first print portion, transmitted from the connected terminal device, in the tube A communication unit that receives data and second print data in which the one-side data and the other-side data are interchanged;
Equipped with
First print control means for controlling the print unit based on the first print data to cause the tube to print the first print portion;
A second print control unit configured to control the printing unit on the upstream side of the tube on which the first print portion is printed based on the second print data, and to print the second print portion;
Partial cut control means for controlling the conveying unit, conveying the tube, controlling the cutting unit, and performing the partial cut between the first print portion and the second print portion;
A printing apparatus comprising:
チューブに印刷を行う印刷部と、前記チューブを搬送する搬送部と、前記チューブが搬送される搬送経路に設けられ、前記チューブの周方向の一部を残した切断である部分カットを実行する切断部とを備えた印刷装置に接続され、前記チューブに印刷される第一印刷部分の一方側と他方側を含む印刷内容の入力を受付ける受付部と前記印刷装置との間で通信可能な第二通信部とを備える端末装置のコンピュータに、
前記受付部が受け付けた前記印刷内容に基づき、前記一方側を印刷する一方側データ及び前記他方側を印刷する他方側データを含む第一印刷データを生成する第一印刷データ生成手順と、
前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データとを入れ替えた第二印刷データを生成する第二印刷データ生成手順と、
前記搬送部を制御し、前記チューブを搬送させ、前記切断部を制御し、前記第一印刷部分と、前記第二印刷データに基づいて、前記印刷部により前記チューブに印刷される第二印刷部分との間に、前記部分カットを実行させる部分カット命令を作成する部分カット命令作成手順と
前記第一印刷データと、前記第二印刷データと、前記部分カット命令とを前記第二通信部から前記印刷装置に送信する送信手順と、
を実行させるためのプログラム。
A printing unit that performs printing on a tube, a transport unit that transports the tube, and a transport path that transports the tube are provided, and a cutting that performs partial cutting that is a cutting that leaves a part in the circumferential direction of the tube And a second printing apparatus, the second printing apparatus being capable of communicating between the printing apparatus and a receiving unit for receiving input of print contents including one side and the other side of the first print portion printed on the tube; A computer of a terminal device including a communication unit;
A first print data generation procedure for generating first print data including one side data for printing the one side and the other side data for printing the other side based on the print content received by the reception unit;
A second print data generation procedure for generating second print data in which the one-side data and the other-side data are switched based on the first print data or the print content;
The transport unit is controlled, the tube is transported, the cutting unit is controlled, and the second print portion is printed on the tube by the print unit based on the first print portion and the second print data. And a partial cut instruction creation procedure for generating a partial cut instruction to execute the partial cut, the first print data, the second print data, and the partial cut instruction from the second communication unit. A sending procedure to send to the printing device;
A program to run a program.
前記第二印刷データ生成手順にて、
前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データが、前記一方側と前記他方側とを入れ替え180°回転した印刷状態になる前記第二印刷データが作成されることを特徴とする請求項8に記載のプログラム。
In the second print data generation procedure,
Based on the first print data or the print content, the second print data in which the one-side data and the other-side data are switched between the one side and the other side and rotated 180 degrees is created. The program according to claim 8, characterized in that:
前記第一印刷データ生成手順にて、前記第一印刷部分に含まれる指定された連続する記号である連続記号を次順の連続記号に繰り上げ又は繰り下げた前記第一印刷データが生成され、
前記第二印刷データ生成手順にて、前記第二印刷部分の前記連続記号を前記次順の連続記号に繰り上げ又は繰り下げた前記第二印刷データが生成されること
を特徴とする請求項8又は9に記載のプログラム。
In the first print data generation procedure, the first print data is generated in which a continuous symbol which is a designated continuous symbol included in the first print portion is rounded up or down to a next sequential symbol.
10. The second print data generation method according to claim 8, wherein in the second print data generation procedure, the second print data is generated in which the continuous symbol of the second print portion is rounded up or down to the next consecutive symbol. The program described in.
前記次順の連続記号は、指定された個数の前記連続記号を飛び越した連続記号であることを特徴とする請求項10に記載のプログラム。   The program according to claim 10, wherein the next sequential symbol is a sequential symbol obtained by skipping a designated number of the consecutive symbols. 前記第一印刷データ又は前記印刷内容に基づいて、前記第二印刷データ生成手順にて前記一方側データと前記他方側データとを入れ替えた前記第二印刷データを作成する第一変換モード、又は、
前記第一印刷データ又は前記印刷内容に基づいて、前記第二印刷データ生成手順にて前記一方側データと前記他方側データが、前記一方側と前記他方側とを入れ替え180°回転した印刷状態になる前記第二印刷データを作成する第二変換モードを設定する変換モード設定手順を、前記コンピュータに実行させるための請求項8乃至11の何れか一に記載のプログラム。
A first conversion mode for creating the second print data in which the one side data and the other side data are interchanged in the second print data generation procedure based on the first print data or the print content, or
In the printing state where the one side data and the other side data interchange the one side and the other side in the second print data generation procedure based on the first print data or the print content and rotated 180 ° The program according to any one of claims 8 to 11, for causing the computer to execute a conversion mode setting procedure for setting a second conversion mode for generating the second print data.
前記端末装置は表示部を備え、
前記第一変換モードである場合には、前記表示部を制御し、所定のキャラクタの表示を行わせ、前記第二変換モードである場合には、前記表示部を制御し、前記所定のキャラクタを、180°回転した表示を行わせるモード表示制御手順を前記コンピュータに実行させるための請求項12に記載のプログラム。
The terminal device includes a display unit.
In the first conversion mode, the display unit is controlled to display a predetermined character, and in the second conversion mode, the display unit is controlled to display the predetermined character. The program according to claim 12, for causing the computer to execute a mode display control procedure for causing a display rotated 180 degrees.
チューブに印刷を行う印刷部と、前記チューブを搬送する搬送部と、前記チューブが搬送される搬送経路に設けられ、前記チューブの周方向の一部を残した切断である部分カットを実行する切断部と、前記チューブに印刷される第一印刷部分の一方側と他方側を含む印刷内容の入力を受付ける受付部と、備える印刷装置のコンピュータに、
前記受付部が受け付けた前記印刷内容に基づき、前記一方側を印刷する一方側データ及び前記他方側を印刷する他方側データを含む第一印刷データを生成する第一印刷データ生成手順と、
前記第一印刷データ又は前記印刷内容に基づいて、前記一方側データと前記他方側データとを入れ替えた第二印刷データを生成する第二印刷データ生成手順と、
前記第一印刷データに基づいて、前記印刷部を制御し、前記チューブに前記第一印刷部分の印刷を行わせる第一印刷制御手順と、
前記第一印刷部分が印刷された前記チューブの上流側に、前記第二印刷データに基づいて、前記印刷部を制御し、第二印刷部分の印刷を行わせる第二印刷制御手順と、
前記搬送部を制御し、前記チューブを搬送させ、前記切断部を制御し、前記第一印刷部分と前記第二印刷部分との間に、前記部分カットを実行させる部分カット制御手順と、
を実行させるためのプログラム。
A printing unit that performs printing on a tube, a transport unit that transports the tube, and a transport path that transports the tube are provided, and a cutting that performs partial cutting that is a cutting that leaves a part in the circumferential direction of the tube A computer of a printing apparatus, comprising: a printing unit, and a receiving unit for receiving input of print contents including one side and the other side of a first print portion to be printed on the tube;
A first print data generation procedure for generating first print data including one side data for printing the one side and the other side data for printing the other side based on the print content received by the reception unit;
A second print data generation procedure for generating second print data in which the one-side data and the other-side data are switched based on the first print data or the print content;
A first print control procedure for controlling the print unit based on the first print data to cause the tube to print the first print portion;
A second printing control procedure for controlling the printing unit on the upstream side of the tube on which the first printing portion is printed, based on the second printing data, to print the second printing portion;
A partial cut control procedure of controlling the conveying unit, conveying the tube, controlling the cutting unit, and performing the partial cut between the first print portion and the second print portion;
A program to run a program.
JP2017215319A 2017-11-08 2017-11-08 Printing equipment and programs Active JP6950472B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017215319A JP6950472B2 (en) 2017-11-08 2017-11-08 Printing equipment and programs
CN201811098641.XA CN109747274B (en) 2017-11-08 2018-09-20 Printing apparatus and non-transitory computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017215319A JP6950472B2 (en) 2017-11-08 2017-11-08 Printing equipment and programs

Publications (2)

Publication Number Publication Date
JP2019084765A true JP2019084765A (en) 2019-06-06
JP6950472B2 JP6950472B2 (en) 2021-10-13

Family

ID=66401889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017215319A Active JP6950472B2 (en) 2017-11-08 2017-11-08 Printing equipment and programs

Country Status (2)

Country Link
JP (1) JP6950472B2 (en)
CN (1) CN109747274B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH077943U (en) * 1993-07-09 1995-02-03 マックス株式会社 Printer device
JP2009214482A (en) * 2008-03-12 2009-09-24 Seiko Epson Corp Label producing device
JP2010006078A (en) * 2009-10-09 2010-01-14 Max Co Ltd Tape/tube printer
JP2016036914A (en) * 2014-08-05 2016-03-22 セイコーエプソン株式会社 Tape printer
JP2017047566A (en) * 2015-08-31 2017-03-09 ブラザー工業株式会社 Printer and tape
JP2017064925A (en) * 2015-09-28 2017-04-06 ブラザー工業株式会社 Printer
US20170210149A1 (en) * 2014-04-16 2017-07-27 Datalase Limited Linerless label imaging and cutting
JP2017177492A (en) * 2016-03-30 2017-10-05 ブラザー工業株式会社 Printed matter creation processing program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050067106A1 (en) * 2003-09-25 2005-03-31 Melges Suzanne K. Food labeling device for printing time and date information on adhesive labels to track freshness
JP4419737B2 (en) * 2004-07-21 2010-02-24 マックス株式会社 Tape / tube printer
JP5447145B2 (en) * 2010-04-26 2014-03-19 マックス株式会社 Cutting mechanism and printing device
JP5914983B2 (en) * 2011-04-27 2016-05-11 セイコーエプソン株式会社 Tape printing apparatus and display method in tape printing apparatus
JP6300108B2 (en) * 2015-01-30 2018-03-28 ブラザー工業株式会社 Printing tube creation device
EP3075499B1 (en) * 2015-03-31 2017-11-08 Brother Kogyo Kabushiki Kaisha Cutting device and printer
JP6287931B2 (en) * 2015-03-31 2018-03-07 ブラザー工業株式会社 Printing device
JP6458724B2 (en) * 2015-12-25 2019-01-30 ブラザー工業株式会社 Printing device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH077943U (en) * 1993-07-09 1995-02-03 マックス株式会社 Printer device
JP2009214482A (en) * 2008-03-12 2009-09-24 Seiko Epson Corp Label producing device
JP2010006078A (en) * 2009-10-09 2010-01-14 Max Co Ltd Tape/tube printer
US20170210149A1 (en) * 2014-04-16 2017-07-27 Datalase Limited Linerless label imaging and cutting
JP2016036914A (en) * 2014-08-05 2016-03-22 セイコーエプソン株式会社 Tape printer
JP2017047566A (en) * 2015-08-31 2017-03-09 ブラザー工業株式会社 Printer and tape
JP2017064925A (en) * 2015-09-28 2017-04-06 ブラザー工業株式会社 Printer
JP2017177492A (en) * 2016-03-30 2017-10-05 ブラザー工業株式会社 Printed matter creation processing program

Also Published As

Publication number Publication date
JP6950472B2 (en) 2021-10-13
CN109747274B (en) 2022-11-15
CN109747274A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
JP2004025563A (en) Tape printer and tape cassette
JPH06247431A (en) Device for making code label
CN1142861C (en) Paper tape printer and paper tape length setting method
US10773528B2 (en) Printing apparatus, printing control terminal, printing apparatus controlling method, printing control terminal controlling method, and recording media
JP3603539B2 (en) Image display device
US10245856B2 (en) Printing suspension control for a printer having multiple printing mechanisms
CN103241018A (en) Control device, print system, print device, print control method and program
JP2019084765A (en) Printer and program
JP2004351872A (en) Printing device, display method thereof, program and storage medium
JP2004291317A (en) Printer, method for notifying manual of printer, program and storage medium
JP6195224B2 (en) Print data editing program
JP2004216736A (en) Tape printer
JP6790862B2 (en) Printing equipment
US10406823B2 (en) Printing device, method of controlling printing device, and computer-readable storage medium
JP5810743B2 (en) Tape printer
JP7357118B2 (en) tube printer
JP2002254715A (en) Printer for tape-like printing medium
JP2018122491A (en) Printer
JP2004355510A (en) Printing system, display method therefor, and program and recording medium
JP2003226056A (en) Long medium printer
JP3455920B2 (en) Printing equipment
JP3347519B2 (en) Tape printing apparatus and print instruction method thereof
JP2024040791A (en) Electronic apparatus, operation method and program
JPH06155385A (en) Cutter
JP2001171190A (en) Tape cassette and tape-printing apparatus

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180620

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210309

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210608

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210709

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20210709

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20210727

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20210803

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210906

R150 Certificate of patent or registration of utility model

Ref document number: 6950472

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150