JP6844567B2 - Editing method, editing program and editing device - Google Patents
Editing method, editing program and editing device Download PDFInfo
- Publication number
- JP6844567B2 JP6844567B2 JP2018057352A JP2018057352A JP6844567B2 JP 6844567 B2 JP6844567 B2 JP 6844567B2 JP 2018057352 A JP2018057352 A JP 2018057352A JP 2018057352 A JP2018057352 A JP 2018057352A JP 6844567 B2 JP6844567 B2 JP 6844567B2
- Authority
- JP
- Japan
- Prior art keywords
- text
- label
- lines
- attached
- width
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 68
- 238000000926 separation method Methods 0.000 claims description 71
- 238000012937 correction Methods 0.000 claims description 24
- 238000007639 printing Methods 0.000 description 54
- 230000008569 process Effects 0.000 description 49
- 238000012545 processing Methods 0.000 description 33
- 238000004891 communication Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 239000000853 adhesive Substances 0.000 description 1
- 230000001070 adhesive effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Record Information Processing For Printing (AREA)
Description
本発明は、印刷装置に作成させるラベルにおける文字等の配置を編集するための編集方法、編集プログラム及び編集装置に関する。 The present invention relates to an editing method, an editing program, and an editing device for editing the arrangement of characters and the like on a label created by a printing device.
長尺状の印刷テープに印刷を行い、ラベルを作成する印刷装置が知られている。ラベルは、円柱状のパイプ等、様々な径による曲面を有する貼付対象物に貼付されうる。特許文献1は、曲面を有する表示パネルの表示技術を開示する。上記の表示技術は、平面上での表示を条件として準備された画像データに対して、所定の補正を行った補正画像データに基づく表示を行うことで、ユーザに違和感を与えない画像表示を行う。このようなデータの補正を適切に行うには、ラベルの貼付対象物の立体的な特徴の取得が必要である。特許文献2は、測定対象物の点群データに基づいて、測定対象物の輪郭線を算出する技術を開示する。
A printing device that prints on a long printing tape to create a label is known. The label can be attached to an object to be attached having a curved surface having various diameters, such as a columnar pipe.
上記の算出技術に基づいてラベルの貼付対象物の立体的特徴を取得するためには、多くのデータ処理が必要であるので、例えば、機能の限られた印刷装置を用いる場合等、上記の算出技術を搭載するのに適さない場合があるといった問題がある。 Since a lot of data processing is required to acquire the three-dimensional characteristics of the object to be labeled based on the above calculation technique, the above calculation is performed, for example, when a printing device having limited functions is used. There is a problem that it may not be suitable for mounting the technology.
本発明は、複雑な処理を必要としないで、ラベルの印刷内容の視認性を向上できる編集方法、編集プログラム及び編集装置を提供することを目的とする。 An object of the present invention is to provide an editing method, an editing program, and an editing device capable of improving the visibility of printed contents of a label without requiring complicated processing.
本発明の第一態様に係る編集方法は、様々な径を有する円柱状の貼付対象物の側面に貼付するためのラベルの印刷内容の編集方法であって、前記貼付対象物の径、前記ラベルの幅、前記ラベルに印刷される一行以上の行からなるテキストを示すテキスト情報、前記テキストが前記ラベルに印刷されるサイズであるテキストサイズ及び前記テキストの行が前記ラベルの幅の延びる方向に並ぶテキストの行の数を示すテキスト行数を含む第一情報を取得する取得ステップと、前記テキストの行のそれぞれを、前記ラベルの幅が前記貼付対象物の周方向に平行に延びるようにして前記ラベルが前記貼付対象物に貼付された場合において前記ラベルのうち前記貼付対象物の前記側面のうち正面の位置に対応する正面領域、又は、前記正面の位置よりも前記貼付対象物の背面側に離間した位置に対応する離間領域のいずれに配置するかを、前記第一情報のうち、前記ラベルの幅、前記テキストサイズ及び前記テキスト行数の少なくともいずれかと、前記貼付対象物の径とに基づいて決定する決定ステップと、前記決定ステップにおいて前記離間領域に配置することが決定された前記テキストの行を構成する前記テキストの形状を補正する補正ステップと、前記ラベルの前記正面領域に配置される前記テキスト及び前記ラベルの前記離間領域に配置され、前記補正ステップにおいて形状が補正された前記テキストを含む前記ラベルの印刷イメージを、情報を表示する表示部に表示する表示ステップとを備える。 The editing method according to the first aspect of the present invention is a method for editing the printed content of a label to be attached to the side surface of a columnar object to be attached having various diameters, the diameter of the object to be attached, and the label. Width, text information indicating text consisting of one or more lines printed on the label, text size at which the text is printed on the label, and lines of the text lined up in the extending direction of the width of the label. The acquisition step for acquiring the first information including the number of lines of text indicating the number of lines of text and each of the lines of text are described so that the width of the label extends parallel to the circumferential direction of the object to be attached. When the label is affixed to the affixed object, the front area of the label corresponding to the front position of the side surface of the affixed object, or the back side of the affixed object with respect to the front position. Which of the separated areas corresponding to the separated positions is to be arranged is based on at least one of the width of the label, the text size and the number of lines of the text, and the diameter of the object to be attached, among the first information. A determination step for determining the shape of the text, a correction step for correcting the shape of the text constituting the line of the text determined to be arranged in the separation region in the determination step, and an arrangement in the front region of the label. It includes a display step for displaying a print image of the label including the text, which is arranged in the separation region of the text and the label and whose shape has been corrected in the correction step, on a display unit for displaying information.
本発明の第一態様に係る編集方法は、取得ステップにおいて取得する第一情報に基づいて、ラベルに印刷されるテキストの行のそれぞれを、ラベルの正面領域及び離間領域のいずれに配置するかを決定する。補正ステップにおいて、ラベルの離間領域に配置されるテキストの行を構成するテキストの形状が補正される。このため、ラベルが貼付された貼付対象物を正面から見た場合、ラベルの正面領域に配置されるテキストの視認性だけでなく、ラベルの離間領域に配置されるテキストの視認性も十分に高いものとなる。したがって、本発明の第一態様に係る編集方法は、複雑な処理を必要としないで、ラベルの印刷内容の視認性を向上できる。 The editing method according to the first aspect of the present invention determines whether each of the lines of text printed on the label is arranged in the front area or the separation area of the label based on the first information acquired in the acquisition step. decide. In the correction step, the shape of the text constituting the line of text arranged in the separated area of the label is corrected. Therefore, when the object to be affixed with the label is viewed from the front, not only the visibility of the text arranged in the front area of the label but also the visibility of the text arranged in the separated area of the label is sufficiently high. It becomes a thing. Therefore, the editing method according to the first aspect of the present invention can improve the visibility of the printed content of the label without requiring complicated processing.
本発明の第二態様に係る編集プログラムは、様々な径を有する円柱状の貼付対象物の側面に貼付するためのラベルの印刷内容を編集するための編集プログラムであって、前記貼付対象物の径、前記ラベルの幅、前記ラベルに印刷される一行以上の行からなるテキストを示すテキスト情報、前記テキストが前記ラベルに印刷されるサイズであるテキストサイズ及び前記テキストの行が前記ラベルの幅の延びる方向に並ぶテキストの行の数を示すテキスト行数を含む第一情報を取得する取得ステップと、前記テキストの行のそれぞれを、前記ラベルの幅が前記貼付対象物の周方向に平行に延びるようにして前記ラベルが前記貼付対象物に貼付された場合において前記ラベルのうち前記貼付対象物の前記側面のうち正面の位置に対応する正面領域、又は、前記正面の位置よりも前記貼付対象物の背面側に離間した位置に対応する離間領域のいずれに配置するかを、前記第一情報のうち、前記ラベルの幅、前記テキストサイズ及び前記テキスト行数の少なくともいずれかと、前記貼付対象物の径とに基づいて決定する決定ステップと、前記決定ステップにおいて前記離間領域に配置することが決定された前記テキストの行を構成する前記テキストの形状を補正する補正ステップと、前記ラベルの前記正面領域に配置される前記テキスト及び前記ラベルの前記離間領域に配置され、前記補正ステップにおいて形状が補正された前記テキストを含む前記ラベルの印刷イメージを、情報を表示する表示部に表示する表示ステップとを、コンピュータに実行させる。 The editing program according to the second aspect of the present invention is an editing program for editing the printed content of a label to be attached to the side surface of a columnar object to be attached having various diameters, and is an editing program for editing the printed content of the object to be attached. The diameter, the width of the label, the text information indicating the text consisting of one or more lines printed on the label, the text size in which the text is printed on the label, and the line of the text is the width of the label. The width of the label extends parallel to the circumferential direction of the sticking object in each of the acquisition step for acquiring the first information including the number of text lines indicating the number of lines of text arranged in the extending direction and the lines of the text. When the label is affixed to the affixed object in this way, the front area of the label corresponding to the front position of the side surface of the affixed object, or the affixed object rather than the front position. Of the first information, at least one of the width of the label, the text size, and the number of lines of the text, and the object to be attached are determined in which of the separation regions correspond to the positions separated on the back side of the label. A determination step determined based on the diameter, a correction step for correcting the shape of the text constituting the line of the text determined to be arranged in the separation region in the determination step, and the front region of the label. A display step for displaying a print image of the label including the text arranged in the text and the text arranged in the separation region of the label and having the shape corrected in the correction step on a display unit displaying information. , Let the computer do it.
本発明の第二態様に係る編集プログラムがコンピュータによって実行されることで、複雑な処理を必要としないで、ラベルの印刷内容の視認性が向上する。 By executing the editing program according to the second aspect of the present invention by a computer, the visibility of the printed content of the label is improved without requiring complicated processing.
本発明の第三態様に係る編集装置は、様々な径を有する円柱状の貼付対象物の側面に貼付するためのラベルの印刷内容を編集する編集装置であって、前記貼付対象物の径、前記ラベルの幅、前記ラベルに印刷される一行以上の行からなるテキストを示すテキスト情報、前記テキストが前記ラベルに印刷されるサイズであるテキストサイズ及び前記テキストの行が前記ラベルの幅の延びる方向に並ぶテキストの行の数を示すテキスト行数を含む第一情報を取得する取得手段と、前記テキストの行のそれぞれを、前記ラベルの幅が前記貼付対象物の周方向に平行に延びるようにして前記ラベルが前記貼付対象物に貼付された場合において前記ラベルのうち前記貼付対象物の前記側面のうち正面の位置に対応する正面領域、又は、前記正面の位置よりも前記貼付対象物の背面側に離間した位置に対応する離間領域のいずれに配置するかを、前記第一情報のうち、前記ラベルの幅、前記テキストサイズ及び前記テキスト行数の少なくともいずれかと、前記貼付対象物の径とに基づいて決定する決定手段と、前記決定手段によって前記離間領域に配置することが決定された前記テキストの行を構成する前記テキストの形状を補正する補正手段と、前記ラベルの前記離間領域に配置される前記テキスト及び前記ラベルの前記正面領域に配置され、前記補正手段によって形状が補正された前記テキストを含む前記ラベルの印刷イメージを、情報を表示する表示部に表示する表示手段とを備える。 The editing device according to the third aspect of the present invention is an editing device that edits the printed content of a label to be attached to the side surface of a columnar object to be attached having various diameters, and has the diameter of the object to be attached. The width of the label, text information indicating text consisting of one or more lines printed on the label, the text size at which the text is printed on the label, and the direction in which the lines of the text extend the width of the label. The acquisition means for acquiring the first information including the number of lines of text indicating the number of lines of text lined up in, and each of the lines of text so that the width of the label extends parallel to the circumferential direction of the object to be attached. When the label is affixed to the affixed object, the front area of the label corresponding to the front position of the side surface of the affixed object, or the back surface of the affixed object rather than the front position. In the first information, at least one of the width of the label, the text size, and the number of lines of text, and the diameter of the object to be attached are determined as to which of the separation regions corresponds to the positions separated on the side. A determination means determined based on the above, a correction means for correcting the shape of the text constituting the line of the text determined to be arranged in the separation region by the determination means, and an arrangement in the separation region of the label. It is provided with a display means for displaying a print image of the label including the text and the text which is arranged in the front area of the label and whose shape is corrected by the correction means on a display unit for displaying information.
本発明の第三態様に係る編集装置によってラベルの印刷内容が編集されることによって、複雑な処理を必要としないで、ラベルの印刷内容の視認性が向上する。 By editing the printed content of the label by the editing device according to the third aspect of the present invention, the visibility of the printed content of the label is improved without requiring complicated processing.
本発明の第一実施形態について、図面を参照して説明する。図1を参照し、印刷システム1の概要について説明する。印刷システム1は、印刷装置4及びPC5を備える。印刷装置4は、印刷媒体であるテープに対して印刷を行うテーププリンタである。テープは長尺状を有し、粘着剤によって感熱紙が剥離紙に貼付されている。印刷装置4には、テープが巻回されたロールが装着される。印刷装置4は、装着されたロールからテープを繰り出し、サーマルヘッド48により複数のドットをテープに形成させて印刷を実行する。また、印刷装置4は、印刷されたテープを切断部50によって切断する。これによって、印刷装置4は、文字及び記号等(以下、「テキスト」という。)がテープに印刷されたラベルを作成できる。以下、ラベルに印刷するためのテキストを、「印刷テキスト」という。PC5は、汎用のパーソナルコンピュータである。印刷装置4及びPC5は、ケーブル3を介して接続され、互いに通信を行うことができる。
The first embodiment of the present invention will be described with reference to the drawings. The outline of the
PC5は、後述の編集/表示プログラムを実行可能である。編集/表示プログラムが実行された場合、PC5は、印刷テキストの編集を行うことができる。また、PC5は、編集結果に基づいて印刷装置4により作成されるラベルの印刷イメージ67(図4参照)を、表示部57の表示画面に表示する。さらにPC5は、印刷装置4に印刷を実行させるための印刷データを作成し、ケーブル3を介して印刷装置4に送信できる。印刷装置4は、PC5から送信される印刷データに基づいて印刷を実行することによって、印刷イメージ67に対応するラベルを作成する。
The PC 5 can execute the editing / displaying program described later. When the edit / display program is executed, the PC5 can edit the print text. Further, the PC 5 displays a print image 67 (see FIG. 4) of the label created by the
印刷装置4の電気的構成について説明する。印刷装置4は、CPU41、RAM42、フラッシュメモリ43、EEPROM44、通信部45、入力部46、表示部47、サーマルヘッド48、ローラ49、切断部50を備える。CPU41は、印刷装置4の制御を行う。CPU41は、RAM42、フラッシュメモリ43、EEPROM44、通信部45、入力部46、表示部47、サーマルヘッド48、ローラ49、切断部50と電気的に接続する。RAM42は、種々の一時データを記憶する。フラッシュメモリ43には、CPU41が印刷装置4を制御するために実行するプログラム及びPC5から受信した印刷データが記憶される。EEPROM44には、印刷テキストを印刷するための印刷用ドットパターンデータが、書体やサイズ毎に分類されて記憶される。通信部45は、PC5と通信を実行するためのコントローラである。入力部46はキーボードである。表示部47はLCDである。サーマルヘッド48は、CPU41からの信号に応じて発熱し、テープに印刷を行う。ローラ49は、テープを送るテープ送りローラである。
The electrical configuration of the
切断部50は、移動可能なカッタホルダに設けられたカッタを備え、印刷テキストが印刷されたテープをカッタによって切断する。切断部50は、カッタホルダに対するカッタの突出量を調整することで、テープを完全に分断するフルカット、又はテープのうち感熱紙を分断し、剥離紙の一部又は全部に切れ込みを入れず分断しないハーフカットのいずれかの方式でテープを切断する。
The cutting
PC5の電気的構成について説明する。PC5は、CPU51、RAM52、ROM53、HDD54、通信部55、入力部56、表示部57、ドライブ装置58を備える。CPU51は、PC5の制御を行う。CPU51は、RAM52、ROM53、HDD54、通信部55、入力部56、表示部57、ドライブ装置58と電気的に接続する。RAM52は、種々の一時データを記憶する。ROM53は、BIOS等を記憶する。HDD54には、CPU51がPC5を制御するために実行する編集/表示プログラム、後述の定義テーブル80(図5参照)及びOSが記憶される。通信部55は、印刷装置4と通信を実行するためのコントローラである。入力部56は、詳しく図示しないが、キーボード、及びマウスやタッチパッドなどのポインティングデバイスを含む。表示部57は、LCDである。ドライブ装置58は、半導体メモリや光ディスク等のコンピュータが読み取り可能な記憶媒体58Aに記憶された情報を読み出すことができる。CPU51は、記憶媒体58Aに記憶された編集/表示プログラム及び定義テーブル80をドライブ装置58によって読み出し、HDD54に記憶できる。
The electrical configuration of the
図2から図4を参照し、PC5(図1参照)によって実行される編集/表示アプリケーションの概要について説明する。編集/表示アプリケーションは、印刷テキストの編集を開始するための指示が、入力部56(図1参照)を介して入力された場合、HDD54(図1参照)に記憶された編集/表示プログラムをCPU51(図1参照)が実行することによって開始される。図2は、編集/表示アプリケーションが起動した場合において、表示部57(図1参照)の表示画面に表示されるウィンドウ6Aを示す。ウィンドウ6Aは、領域61,62,63,64を有する。
An outline of the editing / displaying application executed by the PC 5 (see FIG. 1) will be described with reference to FIGS. 2 to 4. When an instruction to start editing the print text is input via the input unit 56 (see FIG. 1), the edit / display application uses the
領域61は、印刷装置及び作成するラベルに関する設定を行うための領域である。領域61には、選択欄61A、61B、61C等が設けられる。選択欄61Aは、PC5に接続された印刷装置4(図1参照)の種別の選択が可能である。選択欄61Bは、作成するラベルのラベル幅とラベル長の選択が可能である。ラベル長は、テープの長尺方向の長さに対応する。ラベル幅は、テープの長尺方向に直交する直交方向の長さに対応する。例えば、ラベル幅は印刷装置4に装着されたテープの幅と同じ寸法を選択し、ラベル長は印刷テキストの長さに合わせて選択すればよい。選択欄61Cは、印刷装置4に装着されたテープの幅などの情報を、印刷装置4から取得する場合に選択される。
The
領域62は、パイプ等の円柱状の貼付対象物に貼付するためのラベルを作成する場合に、貼付対象物の径を入力するための領域である。領域62には、入力欄62Aが設けられる。入力欄62Aは、貼付対象物の直径の入力が可能である。
The
領域63は、ラベルにおける印刷テキストのレイアウトを編集するための領域である。領域63には、ラベルの外形を示すラベルイメージ63Aが表示される。ラベルイメージ63Aには、編集領域枠63Bが配置される。編集領域枠63Bには、入力部56を介して編集領域枠63Bに印刷テキストが挿入される。印刷装置4は、編集領域枠63Bに挿入された印刷テキストをテープに印刷することによって、ラベルを作成する。
The
編集領域枠63Bには、ラベル長に沿って左右方向に横書きで並ぶ印刷テキストを、ラベル幅のうち一方側(ラベルの上側)から他方側(ラベルの下側)に複数行に並べて配置できる。以下では、ラベル幅において並ぶ印刷テキストの行のそれぞれを「テキスト行」といい、ラベル幅において並ぶテキスト行の数を「テキスト行数」という。テキスト行は、ラベル幅の中央位置に寄せて(中央寄せで)配置される。なお、本実施形態では、印刷テキストが印刷されたラベルを円柱状の貼付対象物の側面に貼付する場合、貼付対象物の側面に対して、貼付対象物の延伸方向に沿ってラベル長を配置し、貼付対象物の周方向に沿ってラベル幅を配置することを想定している。このため、ラベルが貼付対象物の側面に貼付された状態で、印刷テキストが貼付対象物の延伸方向に延びて配置され、テキスト行が貼付対象物の周方向に並んで配置される。また、編集領域枠63Bにおいて、ラベルに印刷される印刷テキストの文字や記号等の大きさであるテキストサイズを、複数通り(本実施形態では、「大」、「中」、「小」の三通り)のうちから任意に指定できる。テキストサイズ「大」は、例えば11ポイント以上のフォントサイズである。テキストサイズ「中」は、例えば5ポイントよりも大きく11ポイントよりも小さいフォントサイズである。テキストサイズ「小」は、例えば5ポイント以下のフォントサイズである。 In the editing area frame 63B, print text arranged horizontally in the left-right direction along the label length can be arranged in a plurality of lines from one side (upper side of the label) to the other side (lower side of the label) of the label width. In the following, each line of printed text lined up in the label width is referred to as "text line", and the number of text lines lined up in the label width is referred to as "number of text lines". The lines of text are centered (centered) in the label width. In the present embodiment, when the label on which the printed text is printed is attached to the side surface of the columnar object to be attached, the label length is arranged along the extending direction of the object to be attached with respect to the side surface of the object to be attached. However, it is assumed that the label width is arranged along the circumferential direction of the object to be attached. Therefore, with the label attached to the side surface of the object to be attached, the printed text is arranged so as to extend in the extending direction of the object to be attached, and the text lines are arranged side by side in the circumferential direction of the object to be attached. Further, in the editing area frame 63B, there are a plurality of text sizes, which are the sizes of characters and symbols of the printed text printed on the label (in the present embodiment, "large", "medium", and "small". You can specify any of the streets). The text size "large" is, for example, a font size of 11 points or more. The text size "medium" is, for example, a font size larger than 5 points and smaller than 11 points. The text size "small" is, for example, a font size of 5 points or less.
領域64には、ウィンドウ6Aに関する各種指示を行うための複数の操作ボタンが表示される。複数の操作ボタンには、印刷装置4による印刷の開始を指示する場合に選択される印刷ボタン64Aが含まれる。
In the
図3は、ウィンドウ6Aにおいて印刷ボタン64Aが選択された場合に表示画面に表示されるサブウィンドウ6Bを示す。サブウィンドウ6Bは、領域65,66を有する。領域65には、印刷装置4によって印刷が実行される場合の設定情報を設定することが可能な設定欄65A〜65Cが表示される。設定欄65A〜65Cはそれぞれ、印刷部数(設定欄65A)、カット設定(ハーフカット)(設定欄65B)、カット設定(フルカット)(設定欄65C)の各設定項目に対応する。設定欄65A(印刷部数)は、印刷装置4によって作成されるラベルの部数を規定する。設定欄65B(ハーフカット)は、ラベルの作成時においてラベル毎にテープをハーフカットで切断するか否かを規定する。設定欄65C(フルカット)は、作成されたラベルをテープから切り離すためにフルカットで切断するか否かを規定する。
FIG. 3 shows a sub-window 6B displayed on the display screen when the
領域66には、サブウィンドウ6Bに関する各種指示を行なうための複数の操作ボタンが表示される。複数の表示ボタンには、印刷プレビューの表示を指示する場合に選択されるプレビューボタン66A、及び印刷装置4による印刷の開始を指示する場合に選択される印刷ボタン66Bが含まれる。
In the
図4は、サブウィンドウ6Bにおいてプレビューボタン66A(図3参照)が選択された場合に、サブウィンドウ6Bの代わりに表示画面に表示されるプレビューウィンドウ6Cを示す。プレビューウィンドウ6Cでは、ラベルの印刷イメージ67を表示することによって、印刷装置4によりテープに印刷テキストがどのように印刷されてラベルが作成されるかを、ユーザに認識させる。印刷イメージ67は、ウィンドウ6A(図2参照)においてラベルイメージ63A(図2参照)の編集領域枠63B(図2参照)に挿入された印刷テキストに基づいて特定される。印刷イメージ67は、矩形形状を有する枠線F1を含む。枠線F1の大きさは、ウィンドウ6A(図2参照)の選択欄61Bで選択されたラベル幅とラベル長に応じて決定される。プレビューウィンドウ6Cには、表示を終了させる場合に選択されるOKボタン70がさらに含まれる。
FIG. 4 shows a preview window 6C displayed on the display screen instead of the sub window 6B when the
図5を参照し、PC5のHDD54に記憶される定義テーブル80について説明する。定義テーブル80は、入力情報のパターンとテキスト行配置情報とを、複数通り対応付けて定義するデータテーブルである。入力情報は、対象物直径、ラベル幅、テキストサイズ、テキスト行数を含む。対象物直径は、作成するラベルの貼付対象物の直径であり、編集/表示アプリケーションの領域62における入力欄62Aを介してPC5に入力される。ラベル幅、テキストサイズ、テキスト行数は、編集/表示アプリケーションの領域63における編集領域枠63Bを介してPC5に入力される。定義テーブル80は、入力情報のパターンとして、対象物直径が「24mm」、ラベル幅が「24mm」、テキストサイズが「大」、テキスト行数が「3行」であるパターンP1を定義する。また、定義テーブル80は、対象物直径が「24mm」、ラベル幅が「24mm」、テキストサイズが「小」、テキスト行数が「3行」であるパターンP2を定義する。また、定義テーブル80は、対象物直径が「24mm」、ラベル幅が「24mm」、テキストサイズが「中」、テキスト行数が「4行」であるパターンP3を定義する。なお、図示しないが、定義テーブル80は、パターンP1,P2,P3以外の複数の入力情報のパターンにも、対応するテキスト行配置情報を定義しているとする。
The definition table 80 stored in the
テキスト行配置情報は、印刷テキストのテキスト行のそれぞれを、ラベルのいずれの領域に配置するかを示す情報である。円柱状の貼付対象物の側面が、貼付対象物にラベルを貼付する作業者等に向けて延伸された状態で、貼付対象物の位置が固定されていることがある。この場合、固定された貼付対象物の側面のうち、作業者に最も近接し、作業者の正面に対向配置する位置である正面位置と、正面位置に対して貼付対象物の背面側に作業者から離間して配置され、作業者に対して正面位置から貼付対象物の背面側に向けて湾曲して配置する位置である離間位置とが生ずる。本実施形態では、作業者が、貼付対象物の側面のうち正面位置にラベル幅の中央部を配置し、ラベル幅の上下の端部のそれぞれを離間位置に配置して、ラベルを貼付対象物の側面に貼付することを想定している。 The text line arrangement information is information indicating in which area of the label each of the text lines of the printed text is arranged. The position of the object to be attached may be fixed in a state where the side surface of the columnar object to be attached is stretched toward an operator or the like who attaches the label to the object to be attached. In this case, among the fixed side surfaces of the object to be attached, the worker is located on the front position, which is the position closest to the operator and facing the front of the operator, and on the back side of the object to be attached with respect to the front position. There is a separated position, which is a position where the worker is arranged so as to be separated from the above and curved from the front position toward the back side of the object to be attached. In the present embodiment, the operator arranges the central portion of the label width at the front position on the side surface of the object to be affixed, arranges the upper and lower end portions of the label width at separate positions, and attaches the label to the object to be affixed. It is supposed to be attached to the side of.
図6に示すように、編集/表示アプリケーションは、ラベルのうちラベル幅の中央部においてラベルの長尺方向に沿って延びる領域を、ラベルの「正面領域671」と定義する。また、編集/表示アプリケーションは、正面領域671よりもラベル幅の上下の端部側において延びる領域を、ラベルの「離間領域672,673」と定義する。すなわち、ラベルの正面領域671は、ラベルのうち貼付対象物の正面位置に対応して貼付される領域である。ラベルの離間領域672,673は、ラベルのうち貼付対象物の離間位置に対応して貼付される領域である。離間領域672、正面領域671及び離間領域673のそれぞれは、この順で、ラベル幅の上側から下側に向けて、ラベル内の領域を略三等分するように配置される。
As shown in FIG. 6, the editing / displaying application defines a region of the label extending along the longitudinal direction of the label at the center of the label width as the "
定義テーブル80は、テキスト行配置情報において、印刷テキストのテキスト行のそれぞれを、正面領域671に配置するか、離間領域672,673に配置するかを定義する。具体的には、パターンP1の入力情報に対応付けられているテキスト行配置情報は、正面領域671に「2」行目のテキスト行を、離間領域672に「1」行目のテキスト行を、離間領域673に「3」行目のテキスト行を配置することを定義している。なお、パターンP1に対応するテキスト行配置情報において、離間領域672,673に配置するテキスト行を「1,3」と定義している。これは、「,」を境にして、数字の小さい方の「1」行目のテキスト行を上側の離間領域672に配置し、数字の大きい方の「3」行目のテキスト行を下側の離間領域673に配置することを意味する。図6(A)は、印刷イメージ67のうちパターンP1の場合のラベルの印刷イメージ67Aを示す。
The definition table 80 defines in the text line arrangement information whether each of the text lines of the printed text is arranged in the
定義テーブル80において、パターンP2の入力情報に対応付けられているテキスト行配置情報は、正面領域671に1行目から3行目の全てのテキスト行を配置し、離間領域672,673にテキスト行を配置しない(「−」で示す)ことを定義している。図6(B)は、印刷イメージ67のうちパターンP2の場合のラベルの印刷イメージ67Bを示す。パターンP3の入力情報に対応付けられているテキスト行配置情報は、正面領域671に「2」行目と「3」行目のテキスト行を、離間領域672に「1」行目のテキスト行を、離間領域673に「4」行目のテキスト行を配置することを定義している。図6(C)は、印刷イメージ67のうちパターンP3の場合のラベルの印刷イメージ67Cを示す。
In the definition table 80, the text line arrangement information associated with the input information of the pattern P2 is such that all the text lines of the first to third lines are arranged in the
正面領域671に配置される印刷テキストは、貼付対象物の正面位置に配置されるので、ラベルが貼付対象物に貼付された状態において印刷テキストの文字等の視認性が低下し難い。一方、離間領域672,673に配置される印刷テキストは、ラベルが貼付対象物に貼付された状態で、貼付対象物の離間位置に配置される。貼付対象物に貼付されたラベルを貼付対象物の正面位置から見たときに、離間領域672,673に配置される印刷テキストは、正面位置から貼付対象物の背面側に向けて湾曲して歪み、その視認性が低下する可能性がある。具体的には、離間領域672,673に配置される印刷テキストは、ラベルを貼付対象物の正面位置から見たときに縮んだように見える。編集/表示アプリケーションは、離間領域672,673に配置する印刷テキストを構成するテキストの形状を補正することで、離間領域672,673における印刷テキストの視認性の低下を抑制する。本実施形態では、離間領域672,673に配置する印刷テキストにおけるテキストの形状を、オリジナルの形状からラベル幅に平行な方向(テープの直交方向)に、所定量伸長した形状に変更する補正を行う(図6(A),(C)参照)。
Since the printed text arranged in the
図7及び図8を参照し、PC5のCPU51によって実行されるメイン処理について説明する。メイン処理は、サブウィンドウ6B(図3参照)が表示部57の表示画面に表示された状態でプレビューボタン66A(図3参照)が選択された場合、HDD54に記憶された編集/表示プログラムをCPU51が実行することによって開始される。
The main process executed by the
図7に示すように、メイン処理が開始されると、CPU51は、入力情報を取得する(S11)。具体的には、CPU51は、ウィンドウ6A(図2参照)の領域61(図2参照)において、選択欄61B(図2参照)に設定されたラベル幅を取得する。また、CPU51は、ウィンドウ6Aの領域62(図2参照)において、入力欄62A(図2参照)に入力された対象物直径を取得する。また、CPU51は、ウィンドウ6Aの領域63(図2参照)において編集領域枠63B(図2参照)に挿入された印刷テキストに基づいて、テキスト情報、テキストサイズ、テキスト行数を取得する。テキスト情報は、印刷テキストを構成するテキストがいずれの文字又は記号等であるかを示す情報である。
As shown in FIG. 7, when the main process is started, the
CPU51は、配置決定処理を行う(S12)。配置決定処理は、ラベルにおけるテキスト行の配置を決定するための処理である。図8を参照し、配置決定処理の詳細について説明する。CPU51は、入力情報に基づいて、テキスト行数が2よりも多いか(テキスト行が2行よりも多いか)を判断する(S21)。CPU51は、テキスト行数が2よりも多い場合(S21:YES)、定義テーブル80を参照する(S22)。CPU51は、入力情報に含まれる対象物直径、ラベル幅、テキストサイズ、テキスト行数の組合せに該当する入力情報のパターンが、定義テーブル80にあるかを判断する(S23)。CPU51は、対象物直径、ラベル幅、テキストサイズ、テキスト行数の組合せに該当する入力情報のパターンが定義テーブル80にある場合(S23:YES)、該当する入力情報のパターンに対応付けられているテキスト行配置情報を取得する(S25)。CPU51は、処理をメイン処理(図7参照)に戻す。
The
一方、CPU51は、テキスト行数が2以下の場合(S21:NO)、入力情報の示すテキストサイズ及びテキスト行数に応じて、テキスト情報に基づく印刷テキストをラベルに配置する(S26)。このとき、CPU51は、ラベルの正面領域671及び離間領域672,673に関わらず、印刷テキストを中央寄せで均等に配置する。また、CPU51は、入力情報に含まれる対象物直径、ラベル幅、テキストサイズ、テキスト行数の組合せに該当する入力情報のパターンが定義テーブル80にない場合(S23:NO)にも、S26の処理を行う。CPU51は、処理をS16(図7参照)に移行する。定義テーブル80は、テキストの形状の補正が必要な場合を特定して定めておくことで、テキストの形状の補正が不要な場合についての、後述のS13、S15(図7参照)の処理を削減し、CPU51の処理負担を軽減している。
On the other hand, when the number of text lines is 2 or less (S21: NO), the
図7の説明に戻る。CPU51は、配置決定処理(S12)において離間領域672,673に配置することが決定されたテキスト行があるかを判断する(S13)。例えば、S11で取得された入力情報のパターンが、定義テーブル80(図5参照)に定義されるパターンP2に該当する場合には、離間領域672,673に配置することが決定されたテキスト行がないことになる。CPU51は、離間領域672,673に配置することが決定されたテキスト行がない場合(S13:NO)、処理をS16に移行する。
Returning to the description of FIG. The
一方、例えば、S11で取得された入力情報のパターンが、定義テーブル80に定義されるパターンP1又はパターンP3に該当する場合には、離間領域672,673に配置することが決定されたテキスト行があることになる。CPU51は、離間領域672,673に配置することが決定されたテキスト行がある場合(S13:YES)、離間領域672,673に配置されるテキスト行を構成するテキストの形状を補正する処理を行う(S15)。この処理において、CPU51は、離間領域672,673に配置されるテキスト行を構成するテキストの形状を、オリジナルの形状からラベル幅に平行な方向(テープの直交方向)に、所定量伸長した形状に変更する。CPU51は、処理をS16に移行する。
On the other hand, for example, when the pattern of the input information acquired in S11 corresponds to the pattern P1 or the pattern P3 defined in the definition table 80, the text line determined to be arranged in the
CPU51は、印刷テキストがラベルに印刷された場合の印刷イメージ67(図4参照)を、表示部57の表示画面におけるプレビューウィンドウ6C(図4参照)に表示する(S16)。CPU51は、配置決定処理(S12)によって離間領域672,673に配置されることが決定されたテキスト行について、S15の処理によってテキストの形状の補正処理が行われている場合、補正処理後の印刷イメージ67をプレビューウィンドウ6Cに表示する。CPU51は、プレビューウィンドウ6Cに表示されている印刷イメージ67に、ラベルの幅方向における中央位置を示すマーク67M(図8参照)を付加する(S18)。CPU51は、メイン処理を終了する。
The
図6を参照し、S11で取得された入力情報のパターンが、定義テーブル80に定義されるパターンP1〜P3に該当する場合に、S16及びS18によってプレビューウィンドウ6Cに表示される印刷イメージ67A,67B,67Cの詳細について説明する。
With reference to FIG. 6, when the pattern of the input information acquired in S11 corresponds to the patterns P1 to P3 defined in the definition table 80, the
図6(A)は、S11で取得された入力情報のパターンが、パターンP1に該当する場合のラベルの印刷イメージ67Aを示す。パターンP1では、印刷テキストのうち1行目のテキスト行が離間領域672に、2行目のテキスト行が正面領域671に、3行目のテキスト行が離間領域673に、それぞれ配置される。正面領域671に配置される2行目のテキスト行については、貼付対象物にラベルが貼付された場合に、貼付対象物の正面位置に配置されるので、テキストの形状がオリジナルの形状のままにされ、テキスト形状の補正が行われない。離間領域672に配置される1行目のテキスト行及び離間領域673に配置される3行目のテキスト行については、S15によってテキストの形状が所定量伸長される。これにより、正面領域671及び離間領域672,673に配置されるテキスト行のそれぞれの視認性が担保された印刷イメージ67Aが示される。テキストの形状が伸長される度合いは、貼付対象物にラベルが貼付された状態で離間領域672,673に配置されたテキストの視認性に応じて、適宜、予め設定されてよい。印刷イメージ67Aは、離間領域672,673に配置されたテキストの形状が補正された後のラベルのイメージを示すので、印刷装置4によって作成されるラベルのイメージをユーザに認識させることができる。
FIG. 6A shows a
印刷イメージ67Aには、ラベルの幅方向における中央位置を示すマーク67Mが付加される。このため、印刷イメージ67Aは、ラベルのいずれの位置を貼付対象物の正面位置に合わせて貼付すべきかを、ラベルを貼付する作業者に明確に示すことができる。マーク67Mは、印刷イメージ67A〜67Cを含むいずれの印刷イメージ67にも付加される。
A
図6(B)は、S11で取得された入力情報のパターンが、パターンP2に該当する場合のラベルの印刷イメージ67Bを示す。パターンP2では、テキストサイズが「小」であるので、3行のテキスト行の全てをラベルの正面領域671に並べて配置することができる。このような場合には、テキスト行を離間領域672,673に配置することなく、印刷テキストの視認性が担保される。よって、パターンP2に対応するテキスト行配置情報は、正面領域671に1行目から3行目の全てのテキスト行を配置し、離間領域672,673にテキスト行を配置しないことを定義している。したがって、3行のテキスト行の全てをラベルの正面領域671に並べて配置することで、印刷テキストの視認性を良好に保たれた印刷イメージ67Bが示される。
FIG. 6B shows a print image 67B of the label when the pattern of the input information acquired in S11 corresponds to the pattern P2. In the pattern P2, since the text size is "small", all three lines of text can be arranged side by side in the
図6(C)は、S11で取得された入力情報のパターンが、パターンP3に該当する場合のラベルの印刷イメージ67Cを示す。パターンP3では、テキストサイズが「中」であるので、正面領域671に2行のテキスト行を配置することができる。このため、パターンP3に対応するテキスト行配置情報は、正面領域671に2行目及び3行目のテキスト行を配置し、離間領域672に1行目のテキスト行を、離間領域673に4行目のテキスト行を、それぞれ配置することを定義する。離間領域672に配置される1行目のテキスト行及び離間領域673に配置される4行目のテキスト行を構成するテキストの形状は補正され、正面領域671に配置されるテキスト行については補正が行われない。これにより、正面領域671及び離間領域672,673に配置されるいずれのテキスト行の視認性も担保された印刷イメージ67Cが示される。
FIG. 6C shows a
例えば、対象物直径よりもラベルのラベル幅が大幅に小さい場合、作業者は、ラベルの全体を貼付対象物の正面位置に貼付することができる。このような場合には、ラベルに印刷される印刷テキストのテキスト行の全てをラベルに均等に配置しても、印刷テキスト全体の視認性が低下しない。このため、定義テーブル80は、対象物直径よりもラベルのラベル幅が大幅に小さい場合については、入力情報のパターンを定義しない。また、例えば、対象物直径よりもラベルのラベル幅が大幅に大きく、且つ、テキスト行数が非常に多い場合には、貼付対象物に貼付されたラベルにおいて、ラベル幅の上下の端部に寄った位置に配置されるテキスト行が、貼付対象物の離間位置に回り込んで配置される。この場合、貼付対象物の正面位置からラベルを見たときに印刷テキストの全体が視認されないので、テキスト行の配置が工夫されたとしても、印刷テキスト全体の視認性が向上し難い。このため、定義テーブル80は、対象物直径よりもラベルのラベル幅が大幅に大きく、且つ、テキスト行数が非常に多い場合については、入力情報のパターンを定義しない。このように、編集/表示アプリケーションは、離間領域672,673へテキスト行を配置する必要のない入力情報のパターンについては、定義テーブル80に定義しないことで、CPU51の処理負担を軽減している。
For example, if the label width of the label is significantly smaller than the object diameter, the operator can attach the entire label to the front position of the object to be attached. In such a case, even if all the text lines of the printed text printed on the label are evenly arranged on the label, the visibility of the entire printed text is not deteriorated. Therefore, the definition table 80 does not define the input information pattern when the label width of the label is significantly smaller than the object diameter. Further, for example, when the label width of the label is significantly larger than the diameter of the object and the number of text lines is very large, the label attached to the object to be attached is closer to the upper and lower ends of the label width. The text line placed at the above position wraps around the distance position of the object to be attached. In this case, since the entire printed text is not visible when the label is viewed from the front position of the object to be attached, it is difficult to improve the visibility of the entire printed text even if the arrangement of the text lines is devised. Therefore, the definition table 80 does not define the input information pattern when the label width of the label is significantly larger than the object diameter and the number of text lines is very large. As described above, the editing / display application reduces the processing load of the
以上説明したように、PC5の編集/表示アプリケーションは、パイプ等の円柱状の貼付対象物の側面に貼付するためのラベルを作成するために、ラベルに印刷される印刷テキストの編集を行う。CPU51は、S11の処理で取得された入力情報に基づいて、ラベルの正面領域671及び離間領域672,673のいずれにテキスト行を配置するかを決定する、配置決定処理を行う(S12)。入力情報は、対象物直径、ラベル幅、テキストサイズ、テキスト行数を含む。CPU51は、離間領域672,673に配置されることが決定されたテキスト行を構成するテキストの形状を、オリジナルの形状から所定量伸長した形状に変更する補正処理を行う(S15)。これにより、離間領域672、673に配置された印刷テキストの形状が、貼付対象物の正面位置から見たときに縮んだように見えることが抑制され、離間領域672、673に配置された印刷テキストの視認性が保たれる。したがって、CPU51は、ラベルの貼付対象物の立体的特徴を取得するための複雑な処理を必要としないで、パイプ等の円柱状の貼付対象物に貼付するためのラベルに印刷される印刷テキストの視認性を向上できる。
As described above, the editing / displaying application of the
CPU51は、テキスト行をラベル幅の中央位置に寄せて(中央寄せで)配置する。このため、ラベルが貼付された貼付対象物を正面位置から見た場合における印刷テキストの視認性が保たれる。
The
CPU51は、配置決定処理において定義テーブル80を参照し、入力情報に含まれる対象物直径、ラベル幅、テキストサイズ、テキスト行数の組合せに該当する入力情報のパターンが、定義テーブル80にあるかを判断する(S23)。CPU51は、入力情報のパターンが定義テーブル80にある場合(S23:YES)、該当する入力情報のパターンに対応付けられているテキスト行配置情報を取得する(S25)。CPU51は、取得したテキスト行配置情報に基づいて、テキスト行をラベルの正面領域671及び離間領域672,673のいずれに配置するかを決定するので、テキスト行の配置に関する処理を迅速に行うことができる。
The
CPU51は、プレビューウィンドウ6Cに表示されている印刷イメージ67に、ラベルの幅方向における中央位置を示すマーク67Mを付加する(S18)。このため、印刷イメージ67Aは、ラベルのいずれの位置を貼付対象物の正面位置に合わせて貼付すべきかを、ラベルを貼付する作業者に明確に示すことができる。
The
上記の編集方法がCPU51によって実行されることで、複雑な処理を必要としないで、パイプ等の円柱状の貼付対象物に貼付するためのラベルに印刷される印刷テキストの視認性が向上する。
By executing the above editing method by the
PC5は、上記の処理を実行することで、複雑な処理を必要としないで、パイプ等の円柱状の貼付対象物に貼付するためのラベルに印刷される印刷テキストの視認性を向上できる。
By executing the above process, the
入力情報は、本発明の「第一情報」の一例である。S11の処理は、本発明の「取得ステップ」の一例である。S12の処理は、本発明の「決定ステップ」の一例である。S15の処理は、本発明の「補正ステップ」の一例である。S16の処理は、本発明の「表示ステップ」の一例である。定義テーブル80は、本発明の「テーブル」の一例である。S18の処理は、本発明の「付加ステップ」の一例である。 The input information is an example of the "first information" of the present invention. The process of S11 is an example of the "acquisition step" of the present invention. The process of S12 is an example of the "determination step" of the present invention. The process of S15 is an example of the "correction step" of the present invention. The process of S16 is an example of the "display step" of the present invention. The definition table 80 is an example of the "table" of the present invention. The process of S18 is an example of the "additional step" of the present invention.
PC5は、本発明の「編集装置」の一例である。S11の処理を行うCPU51は、本発明の「取得手段」の一例である。S12の処理を行うCPU51は、本発明の「決定手段」の一例である。S15の処理を行うCPU51は、本発明の「補正手段」の一例である。S16の処理を行うCPU51は、本発明の「表示手段」の一例である。
PC5 is an example of the "editing device" of the present invention. The
本発明の第二実施形態について説明する。第二実施形態では、メイン処理の配置決定処理(S12、図7参照)において、定義テーブル80を用いずに印刷テキストのテキスト行の配置が決定される。配置決定処理において、第一実施形態と第二実施形態との間で同様の処理を行うものについては、同一のステップ番号を付し、詳細な説明を省略する。 A second embodiment of the present invention will be described. In the second embodiment, in the arrangement determination process (S12, see FIG. 7) of the main process, the arrangement of the text lines of the print text is determined without using the definition table 80. In the arrangement determination process, the same step numbers are assigned to those that perform the same process between the first embodiment and the second embodiment, and detailed description thereof will be omitted.
図9を参照し、第二実施形態の配置決定処理の詳細について説明する。CPU51は、入力情報に基づいて、テキスト行数が2よりも多いか(テキスト行が2行よりも多いか)を判断する(S21)。CPU51は、テキスト行数が2以下の場合(S21:NO)、入力情報の示すテキストサイズ及びテキスト行数に応じて、テキスト情報に基づく印刷テキストをラベルに配置する(S26)。このとき、CPU51は、ラベルの正面領域671及び離間領域672,673に関わらず、印刷テキストを中央寄せで均等に配置する。CPU51は、処理をS16(図7参照)に移行する。
The details of the arrangement determination process of the second embodiment will be described with reference to FIG. The
CPU51は、テキスト行数が2よりも多い場合(S21:YES)、対象物直径の長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さよりも短いかを判断する(S32)。テキストサイズの上下方向の長さは、1ポイントのフォントサイズの上下方向の長さが約0.35mmであることを目安として求められる。第二実施形態では第一実施形態と同様に、テキストサイズ「大」が11ポイント以上のフォントサイズであるので、テキストサイズの上下方向の長さは3.85mm以上となる。テキストサイズ「中」のフォントサイズは5ポイントより大きく11ポイントよりも小さいので、テキストサイズの上下方向の長さは1.75mmよりも大きく3.85mmよりも小さい。テキストサイズ「小」が5ポイント以下であるので、テキストサイズの上下方向の長さは1.75mm以下となる。
When the number of text lines is more than 2 (S21: YES), the
CPU51は、対象物直径の長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さよりも短い場合(S32:YES)、S26の処理を行った後、処理をS16(図7参照)に移行する。対象物直径の長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さよりも短い場合、ラベルにおいてラベル幅の方向にテキスト行が重畳して配置される領域の占める範囲の長さが、対象物直径よりも長くなる。このような場合、貼付対象物に貼付されたラベルにおいて、ラベル幅の上下の端部に寄った位置(離間領域672,673、図6参照)に配置されるテキスト行が、貼付対象物の離間位置に回り込んで配置される。よって、貼付対象物の正面位置からラベルを見たときに印刷テキストの全体が視認されないので、テキスト行の配置を工夫したとしても、印刷テキスト全体の視認性の向上を図りにくい。このため、CPU51は、テキスト行を正面領域671及び離間領域672,673のいずれに配置するかを決定する処理(後述のS35)、また、離間領域672,673に配置されたテキストの形状を補正する処理(S15、図7参照)を行わない。これにより、CPU51は、CPU51の処理負担を軽減する。
When the length of the object diameter is shorter than the length obtained by multiplying the vertical length of the text size and the number of text lines (S32: YES), the
CPU51は、対象物直径の長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さ以上である場合(S32:NO)、対象物直径の長さに所定の値を乗じて得られる長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さよりも短いかを判断する(S33)。所定の値は、0よりも大きく且つ1未満の値であり、第二実施形態における所定の値は「0.7」である。所定の値は、対象物直径の長さに所定の値を乗じて得られる長さが、貼付対象物の側面のうち正面位置の上下方向の長さと同様の長さになるように設けられる。貼付対象物の正面位置の上下方向の長さは、貼付対象物の正面位置にラベル幅の中央部を合わせてラベルが貼付された場合に、テキストの形状の補正が行われなくてもテキストの視認性が保たれる範囲(正面領域671の範囲)に相当する。
When the length of the object diameter is equal to or greater than the length obtained by multiplying the vertical length of the text size by the number of text lines (S32: NO), the
CPU51は、対象物直径の長さに所定の値を乗じて得られる長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さ以上である場合(S33:NO)、S26の処理を行った後、処理をS16(図7参照)に移行する。対象物直径の長さに所定の値を乗じて得られる長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さ以上である場合、ラベルにおいてラベル幅の方向にテキスト行が重畳して配置される領域の占める範囲の長さが、貼付対象物の側面のうち正面位置と特定できる範囲の長さに比べて短くなる。このような場合、図6(B)に示すように、印刷テキストの全てを、そのまま、ラベル幅の中央位置に寄せた中央寄せで配置することで、テキストの視認性が担保される。このため、CPU51は、後述のS35及びS15(図7参照)の処理を行わないこととし、CPU51の処理負担を軽減する。
The
CPU51は、対象物直径の長さに所定の値を乗じて得られる長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さよりも短い場合(S33:YES)、テキスト行を正面領域671及び離間領域672、673のいずれに配置するかを決定する(S35)。例えば、CPU51は、テキストサイズが「大」の場合には、正面領域671に1行のテキスト行を配置することとする。CPU51は、テキストサイズが「中」の場合には、正面領域671に2行のテキスト行を配置することとする。CPU51は、テキストサイズが「小」の場合には、正面領域671に3行のテキスト行を配置することとする。CPU51は、正面領域671に配置するテキスト行以外のテキスト行を、離間領域672,673のそれぞれに均等になるように配分する。このようにして、CPU51は、テキスト行のそれぞれを、正面領域671及び離間領域672、673に配分する。その後、CPU51は、処理をS16(図7参照)に移行する。
When the length obtained by multiplying the length of the object diameter by a predetermined value is shorter than the length obtained by multiplying the vertical length of the text size and the number of text lines (S33: YES), the
図7に示すように、以降のメイン処理においてCPU51は、配置決定処理において離間領域672,673に配置することが決定されたテキスト行がある場合(S13:YES)、離間領域672,673に配置されるテキスト行のテキストの形状を補正する(S15)。CPU51は、印刷イメージ67(図4参照)を、表示部57の表示画面におけるプレビューウィンドウ6C(図4参照)に表示する(S16)。このとき、CPU51は、S15の処理によって離間領域672,673のテキストの形状が補正されている場合には、補正内容を反映した印刷イメージ67をプレビューウィンドウ6Cに表示する。また、CPU51は、印刷イメージ67に、ラベルの幅方向における中央位置を示すマーク67M(図8参照)を付加し(S18)、メイン処理を終了する。
As shown in FIG. 7, in the subsequent main processing, when there is a text line determined to be arranged in the separation area 672,673 in the arrangement determination processing (S13: YES), the
以上説明したように、対象物直径の長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さよりも短い場合、ラベルにおいてラベル幅の方向にテキスト行が並んで配置される領域の占める範囲の長さが、対象物直径よりも長くなる。このような場合、貼付対象物に貼付されたラベルにおいて、印刷テキストのうちラベル幅の上下の端部に寄った位置(離間領域672,673、図6参照)に配置されるテキスト行が、貼付対象物の離間位置に回り込んで配置される。このとき、貼付対象物の正面位置からラベルを見たときに印刷テキストの全体が視認されず、テキスト行の配置を工夫したとしても、印刷テキスト全体の視認性の向上を図りにくい。このため、第二実施形態の配置決定処理(S12)において、CPU51は、対象物直径の長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さよりも短い場合(S32:YES)、S35及びS15の処理を行わない。よって、CPU51の処理負担が軽減される。
As described above, when the length of the object diameter is shorter than the length obtained by multiplying the vertical length of the text size by the number of text lines, the text lines are arranged side by side in the label width direction on the label. The length of the area occupied by the area is longer than the diameter of the object. In such a case, in the label attached to the object to be attached, the text line arranged at the position closer to the upper and lower ends of the label width (
貼付対象物の正面位置の上下方向の長さは、貼付対象物の正面位置にラベル幅の中央部を合わせてラベルが貼付された場合に、テキストの形状の補正が行われなくてもテキストの視認性が保たれる範囲(正面領域671の範囲)に相当する。CPU51は、正面領域671の上下方向の長さの目安である、対象物直径の長さに所定の値を乗じて得られる長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さよりも短いかを判断する(S33)。これにより、CPU51は、テキスト行を離間領域672,673に配置するか否かを、簡便に決定できる。
The vertical length of the front position of the object to be attached is the length of the text even if the shape of the text is not corrected when the label is attached with the center of the label width aligned with the front position of the object to be attached. It corresponds to the range in which visibility is maintained (the range of the front area 671). In the
対象物直径の長さに所定の値を乗じて得られる長さが、テキストサイズの上下方向の長さとテキスト行数とを乗じて得られる長さ以上である場合、ラベル幅の方向にテキスト行が並んで配置される領域の占める範囲の長さが、貼付対象物の正面位置と特定できる範囲の長さに比べて短くなる。このような場合には、テキスト行の全てをラベル幅において中央寄せで配置することで、テキストの視認性が保たれるので、離間領域672,673にテキスト行を配置する必要がない。CPU51は、このような場合に(S33:NO)、S35及びS15の処理を行わない。よって、CPU51の処理負担が軽減される。
If the length obtained by multiplying the length of the object diameter by a predetermined value is greater than or equal to the length obtained by multiplying the vertical length of the text size by the number of text lines, the text line in the direction of the label width. The length of the range occupied by the areas in which the labels are arranged side by side is shorter than the length of the range that can be identified as the front position of the object to be attached. In such a case, it is not necessary to arrange the text lines in the separated
なお、本発明は上記の第一実施形態及び第二実施形態に限定されるものではなく、種々の変更が可能である。ラベルの貼付対象物の外形は、完全な円柱状である場合だけでなく、実質的に円柱状である場合を包含する。例えば、楕円柱状、画数が比較的多い多角形柱状の貼付対象物に対して貼付するラベルの作成においても、本発明を適用できる。 The present invention is not limited to the above-mentioned first embodiment and second embodiment, and various modifications can be made. The outer shape of the object to which the label is attached includes not only the case where it is completely cylindrical but also the case where it is substantially cylindrical. For example, the present invention can also be applied to the creation of a label to be attached to an object to be attached having an elliptical columnar shape or a polygonal columnar shape having a relatively large number of strokes.
第一実施形態において、定義テーブル80は、入力情報のパターンP2に、テキスト行の全てを正面領域671に配置し、離間領域672,673にいずれのテキスト行も配置しないテキスト行配置情報を対応付けている。定義テーブル80は、離間領域672,673にテキスト行を配置するテキスト行配置情報のみを、入力情報のパターンに対応付けて定義してもよい。
In the first embodiment, the definition table 80 associates the input information pattern P2 with the text line arrangement information in which all the text lines are arranged in the
入力情報のうちラベル幅は、ウィンドウ6Aの領域61(図2参照)を介さず、印刷装置4から取得されてもよい。具体的には、印刷装置4が、印刷装置4に装着されているテープの直交方向の幅を特定可能に設けられており、CPU51は、印刷装置4によって特定されるテープの直交方向の幅を印刷装置4から取得することによって、ラベル幅を取得してもよい。
Of the input information, the label width may be acquired from the
正面領域671及び離間領域672,673のそれぞれの上下方向の長さは、ラベル幅を略三等分した長さとしているが、例えば、正面領域671の上下方向の長さが離間領域672,673の上下方向の長さよりも長く、又は短くなるように設定されていてもよい。
The vertical lengths of the
印刷装置の仕様によっては、テープに印刷されるテキストサイズが一通りであることもある。このような場合には、CPU51は、ラベル幅及びテキスト行数のうち少なくともいずれかと、対象物直径とに基づいて、テキスト行を正面領域671又は離間領域672,673のいずれに配置するかを決定してもよい。
Depending on the specifications of the printing device, the text size printed on the tape may be the same. In such a case, the
第二実施形態において、CPU51は、S32の判断に代えて、対象物直径の長さがラベル幅の長さよりも短いか否かを判断する処理を行ってもよい。対象物直径の長さがラベル幅の長さよりも短い場合、ラベル幅の方向に複数のテキスト行が重畳して配置されたときに、ラベル幅の上下の端部に寄った位置に配置されるテキスト行が貼付対象物の背面側に回り込み、貼付対象物の正面位置から印刷テキストの全体が視認されない可能性が高い。CPU51は、対象物直径の長さがラベル幅の長さよりも短い場合、S35の処理及びS15の処理を行わないこととしてもよい。また、CPU51は、対象物直径の長さがラベル幅の長さ以上である場合、S35の処理によってテキスト行を正面領域671又は離間領域672,673のいずれに配置するかを決定してもよい。このように、CPU51は、テキストサイズ及びテキスト行数によらず、ラベル幅に基づいて、S35の処理及びS15の処理を行うか否かを判断してもよい。
In the second embodiment, the
離間領域672,673のうち、正面領域671に近接する側の領域と、正面領域671から離間し、ラベル幅の上端又は下端に近接する側の領域とで、テキストの形状を伸長する度合いが異なってもよい。CPU51は、離間領域672,673のうち、正面領域671に近接する側の領域に対して、正面領域671から離間しラベル幅の上端又は下端に近接する側の領域よりも優先してテキスト行を配置することで、テキスト行の中央寄せを行ってもよい。すなわち、CPU51は、離間領域672,673の内部をさらに細分化して、テキスト行の配置及びテキストの形状の補正を行ってもよい。
Of the separated
CPU51によって実行される各処理は、複数の電子機器によって分散処理されてもよい。CPU51によって実行される処理は、例えば、印刷装置4のCPU41によって実行されてもよいし、印刷装置4の通信部45、PC5の通信部55等を介してネットワークに接続した他のサーバで実行されてもよい。
Each process executed by the
1 印刷システム
4 印刷装置
5 PC
51 CPU
80 定義テーブル
671 正面領域
672,673 離間領域
1
51 CPU
80 Definition table 671 Front area 672,673 Separation area
Claims (9)
前記貼付対象物の径、前記ラベルの幅、前記ラベルに印刷される一行以上の行からなるテキストを示すテキスト情報、前記テキストが前記ラベルに印刷されるサイズであるテキストサイズ及び前記テキストの行が前記ラベルの幅の延びる方向に並ぶテキストの行の数を示すテキスト行数を含む第一情報を取得する取得ステップと、
前記テキストの行のそれぞれを、前記ラベルの幅が前記貼付対象物の周方向に平行に延びるようにして前記ラベルが前記貼付対象物に貼付された場合において前記ラベルのうち前記貼付対象物の前記側面のうち正面の位置に対応する正面領域、又は、前記正面の位置よりも前記貼付対象物の背面側に離間した位置に対応する離間領域のいずれに配置するかを、前記第一情報のうち、前記ラベルの幅、前記テキストサイズ及び前記テキスト行数の少なくともいずれかと、前記貼付対象物の径とに基づいて決定する決定ステップと、
前記決定ステップにおいて前記離間領域に配置することが決定された前記テキストの行を構成する前記テキストの形状を補正する補正ステップと、
前記ラベルの前記正面領域に配置される前記テキスト及び前記ラベルの前記離間領域に配置され、前記補正ステップにおいて形状が補正された前記テキストを含む前記ラベルの印刷イメージを、情報を表示する表示部に表示する表示ステップと
を備えたことを特徴とする編集方法。 It is a method of editing the printed content of a label to be attached to the side surface of a columnar object to be attached having various diameters.
The diameter of the object to be attached, the width of the label, text information indicating a text consisting of one or more lines printed on the label, the text size in which the text is printed on the label, and the line of the text. The acquisition step of acquiring the first information including the number of text lines indicating the number of lines of text arranged in the extending direction of the label width, and the acquisition step.
When the label is attached to the affixed object so that the width of each of the lines of the text extends parallel to the circumferential direction of the affixed object, the affixed object of the label is said to have the same label. In the first information, whether to arrange in the front area corresponding to the front position of the side surface or the separation area corresponding to the position separated from the front position to the back side of the sticking object is determined. , A determination step determined based on at least one of the label width, the text size and the number of lines of text, and the diameter of the object to be affixed.
A correction step for correcting the shape of the text constituting the line of the text determined to be arranged in the separation region in the determination step, and a correction step.
A print image of the text arranged in the front area of the label and the label including the text arranged in the separation area of the label and whose shape has been corrected in the correction step is displayed on a display unit for displaying information. An editing method characterized by having a display step to display.
前記貼付対象物の径、前記ラベルの幅、前記ラベルに印刷される一行以上の行からなるテキストを示すテキスト情報、前記テキストが前記ラベルに印刷されるサイズであるテキストサイズ及び前記テキストの行が前記ラベルの幅の延びる方向に並ぶテキストの行の数を示すテキスト行数を含む第一情報を取得する取得ステップと、
前記テキストの行のそれぞれを、前記ラベルの幅が前記貼付対象物の周方向に平行に延びるようにして前記ラベルが前記貼付対象物に貼付された場合において前記ラベルのうち前記貼付対象物の前記側面のうち正面の位置に対応する正面領域、又は、前記正面の位置よりも前記貼付対象物の背面側に離間した位置に対応する離間領域のいずれに配置するかを、前記第一情報のうち、前記ラベルの幅、前記テキストサイズ及び前記テキスト行数の少なくともいずれかと、前記貼付対象物の径とに基づいて決定する決定ステップと、
前記決定ステップにおいて前記離間領域に配置することが決定された前記テキストの行を構成する前記テキストの形状を補正する補正ステップと、
前記ラベルの前記正面領域に配置される前記テキスト及び前記ラベルの前記離間領域に配置され、前記補正ステップにおいて形状が補正された前記テキストを含む前記ラベルの印刷イメージを、情報を表示する表示部に表示する表示ステップと
を、コンピュータに実行させるための編集プログラム。 An editing program for editing the printed content of a label to be attached to the side surface of a columnar object to be attached having various diameters.
The diameter of the object to be attached, the width of the label, text information indicating a text consisting of one or more lines printed on the label, the text size in which the text is printed on the label, and the line of the text. The acquisition step of acquiring the first information including the number of text lines indicating the number of lines of text arranged in the extending direction of the label width, and the acquisition step.
When the label is attached to the affixed object so that the width of each of the lines of the text extends parallel to the circumferential direction of the affixed object, the affixed object of the label is said to have the same label. In the first information, whether to arrange in the front area corresponding to the front position of the side surface or the separation area corresponding to the position separated from the front position to the back side of the sticking object is determined. , A determination step determined based on at least one of the label width, the text size and the number of lines of text, and the diameter of the object to be affixed.
A correction step for correcting the shape of the text constituting the line of the text determined to be arranged in the separation region in the determination step, and a correction step.
A print image of the text arranged in the front area of the label and the label including the text arranged in the separation area of the label and whose shape has been corrected in the correction step is displayed on a display unit for displaying information. An editing program that lets your computer perform the display steps you want to display.
前記貼付対象物の径、前記ラベルの幅、前記ラベルに印刷される一行以上の行からなるテキストを示すテキスト情報、前記テキストが前記ラベルに印刷されるサイズであるテキストサイズ及び前記テキストの行が前記ラベルの幅の延びる方向に並ぶテキストの行の数を示すテキスト行数を含む第一情報を取得する取得手段と、
前記テキストの行のそれぞれを、前記ラベルの幅が前記貼付対象物の周方向に平行に延びるようにして前記ラベルが前記貼付対象物に貼付された場合において前記ラベルのうち前記貼付対象物の前記側面のうち正面の位置に対応する正面領域、又は、前記正面の位置よりも前記貼付対象物の背面側に離間した位置に対応する離間領域のいずれに配置するかを、前記第一情報のうち、前記ラベルの幅、前記テキストサイズ及び前記テキスト行数の少なくともいずれかと、前記貼付対象物の径とに基づいて決定する決定手段と、
前記決定手段によって前記離間領域に配置することが決定された前記テキストの行を構成する前記テキストの形状を補正する補正手段と、
前記ラベルの前記正面領域に配置される前記テキスト及び前記ラベルの前記離間領域に配置され、前記補正手段によって形状が補正された前記テキストを含む前記ラベルの印刷イメージを、情報を表示する表示部に表示する表示手段と
を備えたことを特徴とする編集装置。 An editing device that edits the printed content of a label to be attached to the side surface of a columnar object to be attached having various diameters.
The diameter of the object to be attached, the width of the label, text information indicating a text consisting of one or more lines printed on the label, the text size in which the text is printed on the label, and the line of the text. An acquisition means for acquiring the first information including the number of text lines indicating the number of lines of text arranged in the extending direction of the label width, and
When the label is attached to the affixed object so that the width of each of the lines of the text extends parallel to the circumferential direction of the affixed object, the affixed object of the label is said to have the same label. In the first information, whether to arrange in the front area corresponding to the front position of the side surface or the separation area corresponding to the position separated from the front position to the back side of the sticking object is determined. A determination means for determining based on at least one of the width of the label, the text size, and the number of lines of text, and the diameter of the object to be attached.
A correction means for correcting the shape of the text constituting the line of the text determined to be arranged in the separation region by the determination means.
A print image of the label including the text arranged in the front area of the label and the text arranged in the separation area of the label and whose shape has been corrected by the correction means is displayed on a display unit for displaying information. An editing device characterized by having a display means for displaying.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018057352A JP6844567B2 (en) | 2018-03-26 | 2018-03-26 | Editing method, editing program and editing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018057352A JP6844567B2 (en) | 2018-03-26 | 2018-03-26 | Editing method, editing program and editing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019169014A JP2019169014A (en) | 2019-10-03 |
| JP6844567B2 true JP6844567B2 (en) | 2021-03-17 |
Family
ID=68107426
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018057352A Active JP6844567B2 (en) | 2018-03-26 | 2018-03-26 | Editing method, editing program and editing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6844567B2 (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4100132B2 (en) * | 2002-10-31 | 2008-06-11 | ブラザー工業株式会社 | Tape printing control apparatus and program |
| JP4808559B2 (en) * | 2006-07-14 | 2011-11-02 | 株式会社キングジム | Tape printing apparatus and tape printing program |
| JP5953979B2 (en) * | 2012-06-27 | 2016-07-20 | ブラザー工業株式会社 | Printing device |
| JP6679832B2 (en) * | 2015-03-20 | 2020-04-15 | カシオ計算機株式会社 | Printing device, printing method, and program |
| JP2017054407A (en) * | 2015-09-11 | 2017-03-16 | セイコーエプソン株式会社 | Information processing apparatus, tape printing apparatus, and display control method for information processing apparatus |
-
2018
- 2018-03-26 JP JP2018057352A patent/JP6844567B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2019169014A (en) | 2019-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5387275B2 (en) | Image forming apparatus, printing apparatus, and program | |
| JP5592161B2 (en) | Image editing apparatus, image editing method and program | |
| US10956103B2 (en) | Control apparatus, control method, and storage medium | |
| JP2022132347A (en) | Control device, control method, and program | |
| JP6844474B2 (en) | Printer driver and information processing device | |
| WO2010143621A1 (en) | Image processing apparatus, image processing method and storage medium | |
| CN112148237B (en) | Control apparatus, control method, and storage medium | |
| US9785869B2 (en) | Image forming system and apparatus for printing image block sequence using continuous printing sheet | |
| US20080079997A1 (en) | Print processing apparatus | |
| JP6844567B2 (en) | Editing method, editing program and editing device | |
| JP2020161990A (en) | Printer and image edition program | |
| JP2008186292A (en) | Image processor and program | |
| JP4244742B2 (en) | Document processing device | |
| JP2014017661A (en) | Image processing device, image processing method, and program | |
| US10708453B2 (en) | Display apparatus, non-transitory storage medium storing instructions readable by the display apparatus, method of displaying print image on display of the display apparatus | |
| US11182653B2 (en) | Editing device, printing system and editing method | |
| JP7413814B2 (en) | Programs and information processing equipment | |
| JP2000233395A (en) | Area cutting device and storage medium | |
| JP2018006937A (en) | Image forming apparatus | |
| JP2016117256A (en) | Data processor, printer and data processing program | |
| JP7172614B2 (en) | Print file processing unit, print file processing method, and print file processing program | |
| JP7119576B2 (en) | Application program and printer control module | |
| JP4581899B2 (en) | Printer driver and control device | |
| JP6447559B2 (en) | Printing apparatus, printing method, and printing program | |
| JP2024126387A (en) | Label creation device, printer, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200310 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201215 |
|
| 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: 20210126 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210208 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6844567 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |