Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7238532B2 - Printing device and image editing program - Google Patents
[go: Go Back, main page]

JP7238532B2 - Printing device and image editing program - Google Patents

Printing device and image editing program Download PDF

Info

Publication number
JP7238532B2
JP7238532B2 JP2019059665A JP2019059665A JP7238532B2 JP 7238532 B2 JP7238532 B2 JP 7238532B2 JP 2019059665 A JP2019059665 A JP 2019059665A JP 2019059665 A JP2019059665 A JP 2019059665A JP 7238532 B2 JP7238532 B2 JP 7238532B2
Authority
JP
Japan
Prior art keywords
matching
object data
templates
template
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019059665A
Other languages
Japanese (ja)
Other versions
JP2020161990A (en
Inventor
直人 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2019059665A priority Critical patent/JP7238532B2/en
Publication of JP2020161990A publication Critical patent/JP2020161990A/en
Application granted granted Critical
Publication of JP7238532B2 publication Critical patent/JP7238532B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)
  • User Interface Of Digital Computer (AREA)
  • Record Information Processing For Printing (AREA)
  • Processing Or Creating Images (AREA)

Description

本発明は、印刷装置及び画像編集プログラムに関する。 The present invention relates to a printing device and an image editing program.

特許文献1は、印刷イメージを編集できる印刷装置を開示する。印刷装置は、複数のテンプレートを備える。複数のテンプレートは、複数のオブジェクトが各々配置され、各オブジェクトに表示されるテキスト等の位置、文字サイズ、及び表示領域等が定められている。ユーザは、表示部に表示されたテンプレートのオブジェクトを選択し、例えば、選択されたオブジェクトに表示されるテキスト等のオブジェクトデータを編集する。編集されたオブジェクトデータは、対応するテンプレートのオブジェクトに反映される。ユーザは、オブジェクトデータが反映された複数のテンプレートから、1つのテンプレートを印刷イメージとして選択する。 Japanese Patent Application Laid-Open No. 2003-200002 discloses a printing device that can edit a print image. A printing device includes a plurality of templates. A plurality of templates are each arranged with a plurality of objects, and the position, character size, display area, etc. of the text displayed on each object are determined. The user selects an object of the template displayed on the display unit, and edits object data such as text displayed in the selected object. The edited object data is reflected in the corresponding template object. A user selects one template as a print image from a plurality of templates reflecting object data.

特開2005-250944号公報JP 2005-250944 A

上記印刷装置は、複数のテンプレートが表示部に表示される場合に、印刷したい所望のオブジェクトのオブジェクト属性と対応するオブジェクトのみを備えた適切なテンプレートのみならず、所望のオブジェクトのオブジェクト属性と異なる属性のオブジェクトを備えたテンプレートが表示される場合がある。従って、印刷装置は、適切なテンプレートのみにオブジェクトデータを反映できない可能性がある。また、印刷装置は、所望のオブジェクト属性を有するオブジェクトのみからなるテンプレートとは異なるオブジェクト属性を有するオブジェクトを備えたテンプレートに、オブジェクトデータが反映されて表示されると、ユーザが所望のテンプレートを選択しにくくなるという可能性がある。 When a plurality of templates are displayed on the display unit, the above-described printing apparatus not only provides an appropriate template having only objects corresponding to the object attributes of the desired object to be printed, but also has attributes different from the object attributes of the desired object. You may see a template with objects of Therefore, the printing device may not be able to reflect the object data only in the appropriate template. Further, when object data is reflected and displayed in a template having objects having object attributes different from a template consisting only of objects having desired object attributes, the printing apparatus allows the user to select a desired template. It may become difficult.

本発明の目的は、適切なテンプレートのみにオブジェクトデータを反映し、且つユーザが所望のテンプレートを選択しやすい印刷装置及び画像編集プログラムを提供することである。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a printing apparatus and an image editing program that reflect object data only in appropriate templates and that allow users to easily select desired templates.

本発明の第一態様に係る印刷装置は、1以上のオブジェクトを備えた複数のテンプレートが記憶された記憶部と、1以上のオブジェクトデータを受け付ける受付手段と、前記受付手段により受け付けられた前記オブジェクトデータのオブジェクト属性を夫々特定する第一特定手段と、前記記憶部に記憶された前記複数のテンプレートから、前記第一特定手段により特定された全ての前記オブジェクト属性に夫々対応する1以上の適合オブジェクトのみを備えた1以上の適合テンプレートを取得する取得手段と、前記取得手段により取得された全ての前記適合テンプレートの夫々について、前記受付手段により受け付けられた全ての前記オブジェクトデータの夫々を、前記オブジェクトデータの前記オブジェクト属性に対応する前記適合オブジェクトに反映させる反映手段と、前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、少なくとも1つの前記適合テンプレートを表示部に表示する表示手段と、前記表示手段により表示された前記適合テンプレートのうち、何れかの前記適合テンプレートの選択を受け付ける選択手段と、前記選択手段により選択された前記適合テンプレートに基づき、印刷対象物に印刷を実行する印刷手段とを備えたことを特徴とする。 A printing apparatus according to a first aspect of the present invention includes a storage unit storing a plurality of templates having one or more objects, reception means for receiving one or more object data, and the object data received by the reception means. first identifying means for respectively identifying object attributes of data; and one or more matching objects respectively corresponding to all the object attributes identified by the first identifying means from the plurality of templates stored in the storage unit obtaining means for obtaining one or more matched templates each having only one of reflecting means for reflecting the object attribute of data on the matching object corresponding to the object attribute; display means for displaying at least one of the matching templates in which the object data is reflected on a display unit; selection means for receiving selection of one of the suitable templates displayed by the display means; and printing means for executing printing on a print target based on the suitable template selected by the selection means. characterized by comprising

上記第一態様に係る印刷装置によれば、印刷装置は、受け付けられたオブジェクトデータの全てのオブジェクト属性に夫々対応する1以上の適合オブジェクトのみを備えた1以上の適合テンプレートを取得する。印刷装置は、受け付けられた全てのオブジェクトデータを、取得された適合テンプレートに反映する。また、印刷装置は、受け付けられた全てのオブジェクトデータが反映された適合テンプレートを、表示部に表示する。故に、印刷装置は、適切なテンプレートのみにオブジェクトデータを反映し、且つユーザが所望のテンプレートを選択しやすい。 According to the printing device of the first aspect, the printing device acquires one or more matching templates that include only one or more matching objects respectively corresponding to all object attributes of received object data. The printing device reflects all received object data in the acquired matching template. In addition, the printing device displays on the display unit the conforming template in which all the accepted object data are reflected. Therefore, the printing device reflects the object data only on appropriate templates, and the user can easily select the desired template.

本発明の第二態様に係る画像編集プログラムは、印刷装置に印刷イメージの印刷を実行させる制御部を備えたコンピュータを、1以上のオブジェクトデータを受け付ける受付手段と、前記受付手段により受け付けられた前記オブジェクトデータのオブジェクト属性を特定する第一特定手段と、1以上のオブジェクトを備えた複数のテンプレートが記憶された記憶部から、前記第一特定手段により特定された全ての前記オブジェクト属性に夫々対応する1以上の適合オブジェクトのみを備えた1以上の適合テンプレートを取得する取得手段と、前記取得手段により取得された全ての前記適合テンプレートの夫々について、前記受付手段により受け付けられた全ての前記オブジェクトデータの夫々を、前記オブジェクトデータの前記オブジェクト属性に対応する前記適合オブジェクトに反映させる反映手段と、前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、少なくとも1つの前記適合テンプレートを表示部に表示する表示手段と、前記表示手段により表示された前記適合テンプレートのうち、何れかの前記適合テンプレートの選択を受け付ける選択手段と、前記選択手段により選択された前記適合テンプレートに基づき、前記印刷装置に印刷対象物への印刷を実行させる印刷手段として機能させることを特徴とする。 An image editing program according to a second aspect of the present invention comprises a computer having a control unit that causes a printing device to print a print image, receiving means for receiving one or more object data, and the object data received by the receiving means. a first specifying means for specifying object attributes of object data; and a plurality of templates having one or more objects stored in a storage unit corresponding to all the object attributes specified by the first specifying means. acquisition means for acquiring one or more matching templates having only one or more matching objects; Reflecting means for reflecting each of them on said matching object corresponding to said object attribute of said object data; and displaying at least one said matching template among all said matching templates reflecting said object data on a display unit. display means; selection means for receiving selection of one of the suitable templates from among the suitable templates displayed by the display means; It is characterized by functioning as printing means for executing printing on an object.

上記第二態様に係る画像編集プログラムによれば、画像編集プログラムは、コンピュータを上記手段として機能させることにより、第一態様の印刷装置と同じ効果を得ることができる。 According to the image editing program according to the second aspect, the image editing program can obtain the same effect as the printing apparatus of the first aspect by causing the computer to function as the means.

本発明の第三態様に係る印刷装置は、1以上のオブジェクトを備えた複数のテンプレートが記憶された記憶部と、1以上のオブジェクトデータを受け付ける受付手段と、前記受付手段により受け付けられた前記オブジェクトデータのオブジェクト数を特定する第一特定手段と、前記記憶部に記憶された前記複数のテンプレートから、前記第一特定手段により特定された前記オブジェクト数と同数の前記オブジェクトを備えた1以上の適合テンプレートを取得する取得手段と、前記取得手段により取得された全ての前記適合テンプレートの夫々について、前記受付手段により受け付けられた全ての前記オブジェクトデータの夫々を、前記オブジェクトデータに対応する前記オブジェクトに反映させる反映手段と、前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、少なくとも1つの前記適合テンプレートを表示部に表示する表示手段と、前記表示手段により表示された前記適合テンプレートのうち、何れかの前記適合テンプレートの選択を受け付ける選択手段と、前記選択手段により選択された前記適合テンプレートに基づき、印刷対象物に印刷を実行する印刷手段とを備えたことを特徴とする。 A printing apparatus according to a third aspect of the present invention includes a storage unit storing a plurality of templates having one or more objects, reception means for receiving one or more object data, and the object data received by the reception means. a first identification means for identifying the number of objects in data; and one or more adaptations comprising the same number of objects as the number of objects identified by the first identification means from the plurality of templates stored in the storage unit. obtaining means for obtaining a template; and for each of all the matching templates obtained by the obtaining means, reflecting all the object data received by the receiving means in the object corresponding to the object data. display means for displaying on a display unit at least one of all the matching templates in which the object data is reflected; and the matching template displayed by the display means. and a printing means for executing printing on a print target based on the matching template selected by the selecting means.

上記第三態様に係る印刷装置によれば、印刷装置は、受け付けられたオブジェクトデータのオブジェクト数と同数のオブジェクトを備えた1以上の適合テンプレートを取得する。印刷装置は、受け付けられた全てのオブジェクトデータを、適合テンプレートに反映する。また、印刷装置は、受け付けられた全てのオブジェクトデータが反映された適合テンプレートを、表示部に表示する。故に、印刷装置は、適切なテンプレートのみにオブジェクトデータを反映し、且つユーザが所望のテンプレートを選択しやすい。 According to the printing device of the third aspect, the printing device acquires one or more matching templates having the same number of objects as the number of objects in the received object data. The printing device reflects all received object data into the conforming template. In addition, the printing device displays on the display unit the conforming template in which all the accepted object data are reflected. Therefore, the printing device reflects the object data only on appropriate templates, and the user can easily select the desired template.

本発明の第四態様に係る画像編集プログラムは、印刷装置に印刷イメージの印刷を実行させる制御部を備えたコンピュータを、1以上のオブジェクトデータを受け付ける受付手段と、前記受付手段により受け付けられた前記オブジェクトデータのオブジェクト数を特定する第一特定手段と、1以上のオブジェクトを備えた複数のテンプレートが記憶された記憶部から、前記第一特定手段により特定された前記オブジェクト数と同数の前記オブジェクトを備えた1以上の適合テンプレートを取得する取得手段と、前記取得手段により取得された全ての前記適合テンプレートの夫々について、前記受付手段により受け付けられた全ての前記オブジェクトデータの夫々を、前記オブジェクトデータに対応する前記オブジェクトに反映させる反映手段と、前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、少なくとも1つの前記適合テンプレートを表示部に表示する表示手段と、前記表示手段により表示された前記適合テンプレートのうち、何れかの前記適合テンプレートの選択を受け付ける選択手段と、前記選択手段により選択された前記適合テンプレートに基づき、前記印刷装置に印刷対象物への印刷を実行させる印刷手段として機能させることを特徴とする。 An image editing program according to a fourth aspect of the present invention comprises a computer having a control unit that causes a printing device to print a print image, receiving means for receiving one or more object data, and the object data received by the receiving means. a first specifying means for specifying the number of objects in object data; acquiring means for acquiring one or more matching templates; reflecting means for reflecting on the corresponding object; display means for displaying at least one matching template out of all the matching templates reflecting the object data on a display unit; Selecting means for accepting selection of any one of the matching templates from among matching templates; Based on the matching template selected by the selecting means, the printing device functions as printing means for executing printing on a printing object. It is characterized by

上記第四態様に係る画像編集プログラムによれば、画像編集プログラムは、コンピュータを上記手段として機能させることにより、第三態様の印刷装置と同じ効果を得ることができる。 According to the image editing program according to the fourth aspect, the image editing program can obtain the same effect as the printing device of the third aspect by causing the computer to function as the means.

印刷装置18の電機的構成を示すブロック図である。2 is a block diagram showing the electrical configuration of the printing device 18; FIG. テンプレート111とテンプレート情報を示す図である。FIG. 4 is a diagram showing a template 111 and template information; テンプレート111のオブジェクト情報A~Cを示す図である。3 is a diagram showing object information A to C of a template 111; FIG. オブジェクトデータが反映されたテンプレート111を示す図である。FIG. 10 is a diagram showing a template 111 in which object data is reflected; 画像編集処理のフローチャートである。6 is a flowchart of image editing processing; テンプレート表示処理のフローチャートである。9 is a flowchart of template display processing; 表示パネル31に表示されたオブジェクトデータの入力画面33を示す図である。3 is a diagram showing an input screen 33 for object data displayed on a display panel 31. FIG. 表示パネル31に表示された候補画面65を示す図である。6 is a diagram showing a candidate screen 65 displayed on the display panel 31. FIG.

以下、本発明の一実施形態について、図面を参照して説明する。これらの図面は、本発明が採用しうる技術的特徴を説明するために用いられるものである。記載されている装置の構成、各種処理のフローチャート等は、それのみに限定する趣旨ではなく、単なる説明例である。 An embodiment of the present invention will be described below with reference to the drawings. These drawings are used to explain technical features that can be employed by the present invention. The configuration of the device, the flow charts of various processes, and the like described are not intended to be limited to them, but merely illustrative examples.

図1を参照して、印刷装置18の概要を説明する。印刷装置18は、長尺状の印刷媒体であるテープMにキャラクタ(文字、記号、図形など)を印刷して、貼り付け可能なラベルを作成する小型のラベルプリンタである。印刷装置18は、ラベルの印刷内容を示すラベル画像を編集する。 An overview of the printing device 18 will be described with reference to FIG. The printing device 18 is a small label printer that prints characters (characters, symbols, graphics, etc.) on a tape M, which is a long print medium, to create a stickable label. The printing device 18 edits the label image showing the printed contents of the label.

図1を参照して、印刷システム1の電気的構成を説明する。印刷装置18は、CPU21、ROM22、CGROM23、RAM24、及びフラッシュメモリ25を備える。ROM22、CGROM23、RAM24、及びフラッシュメモリ25は、夫々CPU21に電気的に接続されている。ROM22には、印刷装置18の制御上必要な各種のプログラム等が記憶されている。CPU21は、これらのプログラムに基づいて各種演算を行う。 The electrical configuration of the printing system 1 will be described with reference to FIG. The printing device 18 has a CPU 21 , a ROM 22 , a CGROM 23 , a RAM 24 and a flash memory 25 . ROM22, CGROM23, RAM24, and the flash memory 25 are electrically connected to CPU21, respectively. Various programs necessary for controlling the printer 18 are stored in the ROM 22 . The CPU 21 performs various calculations based on these programs.

CGROM23には、各種キャラクタを印刷するための印刷用ドットパターンデータが、書式及びサイズ毎に分類され、コードデータに対応させて記憶されている。RAM24には、テキストメモリ、及びプリントバッファ等、複数の記憶エリアが設けられている。テキストメモリには、後述のオブジェクトデータが属性名と対応付けて格納される。プリントバッファには、後述の候補画像111A~111D等の印刷用ドットパターンが格納される。その他記憶エリアには、各種演算データ等が記憶される。 In the CGROM 23, printing dot pattern data for printing various characters are classified by format and size and stored in association with code data. The RAM 24 is provided with a plurality of storage areas such as text memory and print buffer. Object data, which will be described later, is stored in the text memory in association with attribute names. The print buffer stores printing dot patterns such as candidate images 111A to 111D, which will be described later. Various calculation data and the like are stored in the other storage area.

フラッシュメモリ25は、印刷装置18に装着された印刷媒体の属性が定義されたテンプレート111を記憶する。テンプレート111には、例えば、後述のテンプレート情報のIDの各々に対応づけて、テープMの幅W、オブジェクト数等が定義されている。幅Wは、印刷媒体であるテープMの幅(長手方向に直交する方向の長さ)である。フラッシュメモリ25は、更に、オブジェクト115のオブジェクト情報が記憶されている。詳細は後述する。 The flash memory 25 stores a template 111 that defines the attributes of the printing medium loaded on the printing device 18 . In the template 111, for example, the width W of the tape M, the number of objects, etc. are defined in association with each ID of template information described later. The width W is the width (the length in the direction orthogonal to the longitudinal direction) of the tape M, which is the print medium. The flash memory 25 further stores object information of the object 115 . Details will be described later.

図1に示すように、印刷装置18は更に、検出部6、操作部7、表示パネル31、及び駆動回路12~15を備える。検出部6、操作部7、及び駆動回路12~15は各々、CPU21に電気的に接続されている。検出部6は、印刷装置18に装着されたテープMの種類を検出する公知のセンサである。操作部7は、印刷装置18(CPU21)に各種指示を入力するのに用いられる。操作部7は、例えば、タッチパネルである。操作部7は、ユーザがテキストデータ等のオブジェクトデータを入力する際に使用される。操作部7は、各種指示を入力できればよく、スイッチ、ダイヤル等の他の構成でもよい。 As shown in FIG. 1, the printing device 18 further includes a detection section 6, an operation section 7, a display panel 31, and drive circuits 12-15. The detection unit 6, the operation unit 7, and the drive circuits 12-15 are each electrically connected to the CPU21. The detection unit 6 is a known sensor that detects the type of tape M attached to the printer 18 . The operation unit 7 is used to input various instructions to the printing device 18 (CPU 21). The operation unit 7 is, for example, a touch panel. The operation unit 7 is used when the user inputs object data such as text data. The operation unit 7 only needs to be able to input various instructions, and may have other configurations such as switches and dials.

表示パネル31は、例えば、液晶ディスプレイ(LCD)である。表示パネル31は、後述の入力画面33(図7参照)、候補画面65(図8参照)を表示可能である。駆動回路12は、表示パネル31にキャラクタ等を出力するための電子回路である。駆動回路13は、テープMを搬送するテープ送りモータ9を駆動するための電子回路である。駆動回路14は、サーマルヘッド10を駆動するための電子回路である。駆動回路15は、移動刃(図示略)を動作させるカッターモータ11を駆動するための電子回路である。移動刃は、印刷装置18の外部に排出される印刷済みのテープMを切断する。 The display panel 31 is, for example, a liquid crystal display (LCD). The display panel 31 can display an input screen 33 (see FIG. 7) and a candidate screen 65 (see FIG. 8), which will be described later. The drive circuit 12 is an electronic circuit for outputting characters and the like to the display panel 31 . The drive circuit 13 is an electronic circuit for driving the tape feed motor 9 that transports the tape M. As shown in FIG. A drive circuit 14 is an electronic circuit for driving the thermal head 10 . The drive circuit 15 is an electronic circuit for driving the cutter motor 11 that operates a movable blade (not shown). The moving blade cuts the printed tape M discharged outside the printing device 18 .

図2(A)、(B)を参照して、一例として、ラベル画像を作成するためのテンプレート111について説明する。テンプレート111のテンプレート情報は、フラッシュメモリ25に記憶されている。図2(A)に示すように、テンプレート111は、オブジェクト115A、115B、115Cを備える。オブジェクト115Aは、ラベル画像のタイトルが表示される。オブジェクト115Bは、テキストが表示される。オブジェクト115Cは、テキストが表示される。なお、タイトル、テキスト等のオブジェクトデータの入力については、後述の入力画面33(図7参照)により入力される。 As an example, a template 111 for creating a label image will be described with reference to FIGS. Template information of the template 111 is stored in the flash memory 25 . As shown in FIG. 2A, template 111 includes objects 115A, 115B, and 115C. Object 115A displays the title of the label image. Object 115B displays text. Object 115C displays text. Object data such as titles and texts are input through an input screen 33 (see FIG. 7), which will be described later.

テンプレート111のサイズ、オブジェクト数は、テンプレート情報(図2(B))に基づき定義される。図2(B)に示すように、テンプレート情報は、ID、幅、長さ、オブジェクト数の情報を備える。テンプレート111のテンプレート情報のIDは、『1』である。テンプレート111の幅は、『36mm』であり、上記したテープMの幅Wと対応する。テンプレート111の長さは、『100mm』である。オブジェクト数は『3』である。すなわち、IDが『1』のテンプレート111は、36mm×100mmの大きさで、且つオブジェクト数が3で構成されている。なお、フラッシュメモリ25は、テンプレート111を複数記憶している。また、フラッシュメモリ25には、テンプレート111毎にテンプレート情報(図示略)が記憶されている。 The size of the template 111 and the number of objects are defined based on the template information (FIG. 2B). As shown in FIG. 2B, the template information includes ID, width, length, and number of objects information. The ID of the template information of the template 111 is "1". The width of the template 111 is "36 mm" and corresponds to the width W of the tape M described above. The length of the template 111 is "100 mm". The number of objects is "3". That is, the template 111 with an ID of "1" has a size of 36 mm×100 mm and is composed of three objects. Note that the flash memory 25 stores a plurality of templates 111 . Template information (not shown) is stored in the flash memory 25 for each template 111 .

図2(A)に示すオブジェクト115A~115Cの配置位置、大きさ等は、オブジェクト情報A~C(図3参照)で定義されている。オブジェクト情報A~Cは、テンプレート111(図2(A))及びテンプレート情報(図2(B))と関連付けてフラッシュメモリ25に記憶されている。 The arrangement positions, sizes, etc. of the objects 115A to 115C shown in FIG. 2A are defined by the object information A to C (see FIG. 3). The object information A to C are stored in the flash memory 25 in association with the template 111 (FIG. 2(A)) and the template information (FIG. 2(B)).

図示しないが、複数のテンプレート111のテンプレート情報には、オブジェクト数に『1』~『5』の何れかが夫々割り当てられている。例えば、IDが『1』のテンプレート111は、12mm×100mmの大きさで、且つオブジェクト数が1で構成されている。また、例えば、IDが『20』のテンプレート111は、36mm×150mmの大きさで、且つオブジェクト数が5で構成されている。また、本例では、IDが『9』~『12』のテンプレート111は、オブジェクト数が3で構成されているものとする。 Although not shown, template information of a plurality of templates 111 is assigned with the number of objects "1" to "5". For example, the template 111 with an ID of "1" has a size of 12 mm×100 mm and is composed of one object. Also, for example, the template 111 with an ID of “20” has a size of 36 mm×150 mm and is composed of five objects. In this example, it is assumed that the templates 111 with IDs "9" to "12" are composed of three objects.

図3を参照して、オブジェクト情報A、B、Cについて説明する。オブジェクト情報A、B、Cは、属性名、位置X、位置Y、縦サイズ、横サイズ、データタイプ、書式、レイアウト調整の情報が夫々記憶されている。なお、テンプレート111(図2(A)参照)のオブジェクト情報の数は、テンプレート情報のオブジェクト数の『3』と同数である。 Object information A, B, and C will be described with reference to FIG. The object information A, B, and C store attribute name, position X, position Y, vertical size, horizontal size, data type, format, and layout adjustment information, respectively. Note that the number of object information in the template 111 (see FIG. 2A) is the same as the number of objects in the template information (3).

オブジェクト情報Aは、テンプレート111のオブジェクト111Aと対応する情報である。属性名は、『Title1』である。属性名の『Title1』は、テンプレート111のオブジェクト115Aの属性名『Title1』と対応する。位置Xは、『25dot』であり、位置Yは、『25dot』である。位置Xと位置Yから、テンプレート111におけるオブジェクト115Aの中心位置が定義される。縦サイズは、『100dot』であり、横サイズは、『800dot』である。縦サイズと横サイズからオブジェクト115Aの表示領域が定義される。データタイプは、『テキスト』である。書式は、『ゴシック』、『20pt』、『太字』である。レイアウト調整は、『文字サイズ調整不可』、『改行不可』に設定されている。 Object information A is information corresponding to object 111A of template 111 . The attribute name is "Title1". The attribute name “Title1” corresponds to the attribute name “Title1” of the object 115A of the template 111 . The position X is "25 dots" and the position Y is "25 dots". From position X and position Y, the center position of object 115A on template 111 is defined. The vertical size is "100 dots" and the horizontal size is "800 dots". A display area of the object 115A is defined from the vertical size and the horizontal size. The data type is "text". The format is "Gothic", "20pt", and "bold". Layout adjustment is set to "character size adjustment disabled" and "line break disabled".

オブジェクト情報Bは、テンプレート111のオブジェクト111Bと対応する情報である。属性名は、『Text1』である。属性名の『Text1』は、テンプレート111のオブジェクト115Bの属性名『Text1』と対応する。位置Xは、『25dot』であり、位置Yは、『150dot』である。位置Xと位置Yから、テンプレート111におけるオブジェクト115Bの中心位置が定義される。縦サイズは、『200dot』であり、横サイズは、『500dot』である。縦サイズと横サイズからオブジェクト115Bの表示領域が定義される。データタイプは、『テキスト』である。書式は、『ゴシック』、『18pt』である。レイアウト調整は、『文字サイズ調整不可』、『改行可』に設定されている。 Object information B is information corresponding to object 111B of template 111 . The attribute name is "Text1". The attribute name “Text1” corresponds to the attribute name “Text1” of the object 115B of the template 111 . The position X is "25 dots" and the position Y is "150 dots". From position X and position Y, the center position of object 115B on template 111 is defined. The vertical size is "200 dots" and the horizontal size is "500 dots". A display area of the object 115B is defined from the vertical size and the horizontal size. The data type is "text". The format is "Gothic" and "18pt". Layout adjustment is set to "character size adjustment not possible" and "line break allowed".

オブジェクト情報Cは、テンプレート111のオブジェクト111Cと対応する情報である。属性名は、『Text2』である。属性名の『Text2』は、テンプレート111のオブジェクト115Cの属性名『Text2』と対応する。位置Xは、『550dot』であり、位置Yは、『150dot』である。位置Xと位置Yから、テンプレート111におけるオブジェクト115Cの中心位置が定義される。縦サイズは、『200dot』であり、横サイズは、『275dot』である。縦サイズと横サイズからオブジェクト115Cの表示領域が定義される。データタイプは、『テキスト』である。書式は、『ゴシック』、『20pt』である。レイアウト調整は、『文字サイズ調整可』、『改行不可』に設定されている。 Object information C is information corresponding to object 111C of template 111 . The attribute name is "Text2". The attribute name “Text2” corresponds to the attribute name “Text2” of the object 115C of the template 111 . The position X is "550 dots" and the position Y is "150 dots". From position X and position Y, the center position of object 115C on template 111 is defined. The vertical size is "200 dots" and the horizontal size is "275 dots". The display area of the object 115C is defined from the vertical size and horizontal size. The data type is "text". The format is "Gothic" and "20pt". Layout adjustment is set to "character size adjustable" and "line break disabled".

図4(A)、(B)を参照して、オブジェクト115A~115Cに対するオブジェクトデータ等の反映について説明する。ユーザは、後述で詳細する入力画面33でオブジェクトデータを入力する。オブジェクトデータは、『Template Label』、『Created by Brother』、『2019/01/31』が入力されたとする。なお、詳細は後述するが『Template Label』は、属性名が『Title1』であり、『Created by Brother』は、属性名が『Text1』であり、『2019/01/31』は、属性名が『Text2』に対応すると仮定する。 Reflection of object data and the like to the objects 115A to 115C will be described with reference to FIGS. 4A and 4B. The user inputs object data on an input screen 33, which will be detailed later. Assume that "Template Label", "Created by Brother", and "2019/01/31" are input as object data. Although the details will be described later, "Template Label" has an attribute name of "Title1", "Created by Brother" has an attribute name of "Text1", and "2019/01/31" has an attribute name of Assume that it corresponds to "Text2".

図4(A)に示すように、『Template Label』は、テンプレート111の対応する属性名『Title1』のオブジェクト115Aに反映される。『Created by Brother』は、対応する属性名『Text1』のオブジェクト115Bに反映される。『2019/01/31』は、対応する属性名『Text2』のオブジェクト115Cに反映される。 As shown in FIG. 4A, "Template Label" is reflected in the object 115A of the corresponding attribute name "Title1" of the template 111. As shown in FIG. "Created by Brother" is reflected in the object 115B with the corresponding attribute name "Text1". "2019/01/31" is reflected in the object 115C with the corresponding attribute name "Text2".

図4(A)を参照して、レイアウト調整について説明する。オブジェクトデータのデータサイズと、オブジェクト115A~115Cの夫々の表示領域のサイズの関係で、オブジェクトデータが表示領域に収まらない場合がある。この場合、対応する属性名のオブジェクト情報A~Cからレイアウト調整の欄を参照し、レイアウト調整可能か判断する。レイアウト調整が設定されている場合には、レイアウト調整が行われる。 Layout adjustment will be described with reference to FIG. Due to the relationship between the data size of the object data and the size of the display area of each of the objects 115A to 115C, the object data may not fit in the display area. In this case, the layout adjustment column is referenced from the object information A to C of the corresponding attribute name to determine whether the layout adjustment is possible. If layout adjustment is set, layout adjustment is performed.

図4(A)に示すように、『Template Label』のデータサイズは、オブジェクト情報Aで定義されるオブジェクト115Aの表示領域に収まるサイズである。このため、『Template Label』は、レイアウト調整なしの状態で、オブジェクト115Aに反映される(図4(A)参照)。 As shown in FIG. 4A, the data size of "Template Label" is a size that fits within the display area of the object 115A defined by the object information A. As shown in FIG. Therefore, "Template Label" is reflected in the object 115A without layout adjustment (see FIG. 4A).

図4(A)に示すように、『Created by Brother』のデータサイズは、オブジェクト情報Bで定義されるオブジェクト115Bの表示領域に収まらないサイズである。オブジェクト115Bのオブジェクト情報Bのレイアウト調整は、『文字サイズ調整不可』、『改行可』に設定されている。これにより、『Created by Brother』は、自動で改行された状態で、オブジェクト115Bに反映される。 As shown in FIG. 4A, the data size of "Created by Brother" is a size that does not fit in the display area of the object 115B defined by the object information B. FIG. The layout adjustment of the object information B of the object 115B is set to "character size adjustment not possible" and "line feed allowed". As a result, "Created by Brother" is reflected in the object 115B with an automatic line feed.

図4(A)に示すように、『2019/01/31』のデータサイズは、オブジェクト情報Cで定義されるオブジェクト115Cの表示領域に収まらないサイズである。オブジェクト115Cは、レイアウト調整が『文字サイズ調整可』、『改行不可』に設定されている。これにより、『2019/01/31』は、文字サイズが調整された状態で、オブジェクト115Cに反映される。 As shown in FIG. 4A, the data size of "2019/01/31" is a size that does not fit in the display area of the object 115C defined by the object information C. As shown in FIG. The layout adjustment of the object 115C is set to "character size adjustable" and "line feed not allowed". As a result, "2019/01/31" is reflected in the object 115C with the character size adjusted.

図4(B)のテンプレート111を参照して、強調表示について説明する。なお、説明の簡略化のため、テンプレート111のテンプレート情報は、図2(B)に示すものと同じとする。また、オブジェクト115A、115Bのオブジェクト情報は、図3に示すオブジェクト情報A、Bと同じとする。オブジェクト115Cのオブジェクト情報は、図3に示すオブジェクト情報Cとは、レイアウト調整の設定のみが異なるとする(図示略)。この場合、図示しないが、レイアウト調整は、『文字サイズ調整不可』、『改行不可』と設定されているとする。反映されるオブジェクトデータは、図4(A)の場合と同じである。 Highlighting will be described with reference to the template 111 in FIG. 4B. For simplification of explanation, the template information of the template 111 is assumed to be the same as that shown in FIG. 2B. Also, the object information of the objects 115A and 115B is assumed to be the same as the object information A and B shown in FIG. The object information of the object 115C differs from the object information C shown in FIG. 3 only in layout adjustment settings (not shown). In this case, although not shown, it is assumed that the layout adjustment is set to "character size adjustment disabled" and "line feed disabled". The reflected object data is the same as in FIG. 4A.

図4(B)のオブジェクト115A、115Bには、図4(A)と同様に、『Template Label』、『Created by Brother』が反映されている。図4(B)のオブジェクト115Cでは、『2019/01/31』は、オブジェクト情報で定義されるオブジェクト115Cの表示領域に収まらないサイズである。オブジェクト情報のレイアウト調整は、『文字サイズ調整不可』、『改行不可』と設定されている。従って、『2019/01/31』は、オブジェクト情報に従い、レイアウト調整なしでそのままオブジェクト115Cに表示される。この場合、『2019/01/31』のうち『/31』は、オブジェクト115Cの表示領域に表示されない(図4(B)参照)。この場合、オブジェクト115Cは、背景が黒色且つ文字の色が白で強調表示される。 Objects 115A and 115B in FIG. 4B reflect "Template Label" and "Created by Brother" as in FIG. 4A. In the object 115C of FIG. 4B, "2019/01/31" is a size that does not fit in the display area of the object 115C defined by the object information. Layout adjustment of object information is set to "character size adjustment disabled" and "line break disabled". Therefore, "2019/01/31" is displayed as it is in the object 115C without layout adjustment according to the object information. In this case, "/31" in "2019/01/31" is not displayed in the display area of the object 115C (see FIG. 4B). In this case, the object 115C is highlighted with a black background and white characters.

なお、オブジェクトが、上記のオブジェクト115A~115Cに限られない場合に、単に、オブジェクト115と称す場合がある。オブジェクト115のオブジェクト情報が、上記のオブジェクト情報A~Cに限られない場合に、単に、オブジェクト情報と称す場合がある。また、テンプレート111は、画像を表示可能なオブジェクト115を備えるものもある。この場合、オブジェクト情報の属性名が、例えば、[Image1]、[Image2]となる。 Incidentally, when the objects are not limited to the objects 115A to 115C described above, they may simply be referred to as the object 115 in some cases. When the object information of the object 115 is not limited to the above object information A to C, it may simply be referred to as object information. Some templates 111 also include an object 115 that can display an image. In this case, the attribute names of the object information are, for example, [Image1] and [Image2].

図5~図8を参照して、画像編集処理を説明する。画像編集処理(図5参照)は、印刷装置18の電源が投入されると、CPU21は、ROM22からプログラムを読み出して実行する。CPU21は、プログラムを実行することにより、画像編集処理を開始する。画像編集処理では、まず、CPU21は、オブジェクトデータの入力画面33(図7参照)を表示パネル31に表示する(S1)。 Image editing processing will be described with reference to FIGS. In the image editing process (see FIG. 5), when the printer 18 is powered on, the CPU 21 reads out a program from the ROM 22 and executes it. The CPU 21 starts image editing processing by executing the program. In the image editing process, first, the CPU 21 displays an object data input screen 33 (see FIG. 7) on the display panel 31 (S1).

図7を参照して、入力画面33について説明する。入力画面33は、入力部11A~11Eを備える。ユーザは、操作部7の操作により入力画面33の入力部11A~11Eを選択して、オブジェクトデータを入力する。なお、ユーザは、画像を印刷したい場合には、操作部7の操作により入力部11D又は11Eを選択して、例えば画像のオブジェクトデータを入力する。画像のオブジェクトデータは、例えば、『☆』である。 The input screen 33 will be described with reference to FIG. The input screen 33 includes input sections 11A to 11E. The user selects the input sections 11A to 11E of the input screen 33 by operating the operation section 7 to input object data. When the user wants to print an image, the user operates the operation unit 7 to select the input unit 11D or 11E, and inputs object data of the image, for example. The object data of the image is, for example, "☆".

入力部11A~11Eの左側にある[Title1]、[Text1]、[Text2]、[Image1]、[Image2]の表記は、オブジェクト情報の属性名に対応する。従って、入力部11Aに入力されたオブジェクトデータは、オブジェクト情報の属性名『Title1』と対応する。入力部11Bに入力されたオブジェクトデータは、オブジェクト情報の属性名『Text1』と対応する。入力部11Cに入力されたオブジェクトデータは、オブジェクト情報の属性名『Text2』と対応する。入力部11Dに入力されたオブジェクトデータは、オブジェクト情報の属性名『Image1』と対応する。入力部11Eに入力されたオブジェクトデータは、オブジェクト情報の属性名『Image2』と対応する。 [Title1], [Text1], [Text2], [Image1], and [Image2] on the left side of the input sections 11A to 11E correspond to the attribute names of the object information. Therefore, the object data input to the input section 11A corresponds to the attribute name "Title1" of the object information. The object data input to the input section 11B corresponds to the attribute name "Text1" of the object information. The object data input to the input section 11C corresponds to the attribute name "Text2" of the object information. The object data input to the input section 11D corresponds to the attribute name "Image1" of the object information. The object data input to the input unit 11E corresponds to the attribute name "Image2" of the object information.

本例では、ユーザは、操作部7を操作して、入力部11Aに対して、オブジェクトデータとして『Template Label』を入力する。次いで、ユーザは、操作部7を操作して、入力部11Bに対して、『Created by Brother』と入力する。更に、ユーザは、操作部7を操作して、入力部11Cに対して、『2019/01/31』と入力する。ユーザは、所望のオブジェクトデータの入力が完了すると、操作部7を操作して、実行ボタン5を選択する。 In this example, the user operates the operation unit 7 to input "Template Label" as object data to the input unit 11A. Next, the user operates the operation unit 7 to input "Created by Brother" to the input unit 11B. Further, the user operates the operation unit 7 to input "2019/01/31" to the input unit 11C. After completing input of desired object data, the user operates the operation unit 7 to select the execution button 5 .

CPU21は、オブジェクトデータの入力があったか否か判断する(S3)。CPU21は、入力画面33の実行ボタン5(図7参照)が選択された場合に、オブジェクトデータが入力されたと判断する。オブジェクトデータの入力がないと判断した場合(S3:NO)、CPU21は、処理をS3に戻して待機する。オブジェクトデータの入力があったと判断した場合(S3:YES)、CPU21は、入力画面33で入力されたオブジェクトデータを受け付ける(S5)。この場合、RAM24には、受け付けたオブジェクトデータと共に、入力されたオブジェクトデータの入力部11A~11Eの位置に応じた、属性名『Title1』、『Text1』、『Text2』、『Image1』、『Image2』の何れかの情報を、対応づけて記憶する(S5)。 The CPU 21 determines whether or not object data has been input (S3). The CPU 21 determines that object data has been input when the execution button 5 (see FIG. 7) on the input screen 33 is selected. When determining that there is no input of object data (S3: NO), the CPU 21 returns the process to S3 and waits. When determining that object data has been input (S3: YES), the CPU 21 accepts the object data input on the input screen 33 (S5). In this case, the RAM 24 stores the attribute names "Title1", "Text1", "Text2", "Image1", "Image2" corresponding to the positions of the input parts 11A to 11E of the input object data together with the received object data. ] are associated and stored (S5).

次いで、CPU21は、図6に示すテンプレート表示処理を行う(S7)。CPU21は、S5の処理で記憶された全てのオブジェクトデータの属性名を、RAM24を参照して特定する(S101)。本例では、CPU21は、入力部11A~11Cと対応する属性名の『Title1』、『Text1』、『Text2』を特定する。 Next, the CPU 21 performs template display processing shown in FIG. 6 (S7). The CPU 21 refers to the RAM 24 and identifies the attribute names of all the object data stored in the process of S5 (S101). In this example, the CPU 21 specifies "Title1", "Text1", and "Text2" of attribute names corresponding to the input sections 11A to 11C.

次いで、CPU21は、フラッシュメモリ25に記憶された全てのテンプレート111のうち、受け付けたオブジェクトデータの属性名と、同一の属性名のオブジェクト情報を備えたオブジェクト115のみで構成される全てのテンプレート111を特定する(S103)。 Next, the CPU 21 selects all the templates 111 which are composed only of the objects 115 having the attribute name of the received object data and the object information having the same attribute name among all the templates 111 stored in the flash memory 25. Identify (S103).

本例では、CPU21は、フラッシュメモリ25に記憶されたテンプレート111のうち、属性名が『Title1』、『Text1』、『Text2』のみで構成されるテンプレート111を全て取得する。以下、S103の処理で特定されたテンプレート111を総称して『適合テンプレート111』ともいう。また、適合テンプレート111が備えるオブジェクト115を、総称して「適合オブジェクト115」ともいう。 In this example, the CPU 21 acquires all the templates 111 having attribute names "Title1", "Text1", and "Text2" among the templates 111 stored in the flash memory 25. FIG. Hereinafter, the templates 111 specified in the process of S103 are also collectively referred to as "matching templates 111". Objects 115 included in matching template 111 are also collectively referred to as "matching objects 115".

本例では、4つの適合テンプレート111がフラッシュメモリ25に記憶されていたとする。4つの適合テンプレート111は、夫々、対応するテンプレート情報を備える。4つの適合テンプレート111は、属性名が『Title1』、『Text1』、『Text2』と対応する適合オブジェクト115A、115B、115Cを備える。適合オブジェクト115A、115B、115Cは、異なるオブジェクト情報を夫々備える。 In this example, it is assumed that four matching templates 111 are stored in flash memory 25 . Each of the four matching templates 111 has corresponding template information. The four matching templates 111 comprise matching objects 115A, 115B and 115C corresponding to attribute names "Title1", "Text1" and "Text2". Matching objects 115A, 115B, 115C each comprise different object information.

次いで、CPU21は、入力されたオブジェクトデータのうち、1のオブジェクトデータをRAM24から特定する(S105)。本例では、例えば、属性名が『Title1』のオブジェクトデータである『Template Label』が特定される。CPU21は、S103で取得された適合テンプレート111のうち、1の適合テンプレート111を特定する(S106)。本例では、例えば、適合テンプレート111A(図8参照)を特定する。 Next, the CPU 21 identifies one object data from the RAM 24 among the input object data (S105). In this example, for example, "Template Label", which is object data whose attribute name is "Title1", is specified. The CPU 21 identifies one matching template 111 among the matching templates 111 acquired in S103 (S106). In this example, for example, matching template 111A (see FIG. 8) is identified.

CPU21は、S105で特定された1のオブジェクトデータが、S106で特定された1の適合テンプレート111の適合オブジェクト115の表示領域に収まるか否かを判断する(S107)。CPU21は、オブジェクトデータのデータサイズと、適合オブジェクト115のオブジェクト情報の表示領域のサイズとの比較を行う。 The CPU 21 determines whether the one object data specified in S105 fits within the display area of the matching object 115 of the one matching template 111 specified in S106 (S107). The CPU 21 compares the data size of the object data with the size of the object information display area of the matching object 115 .

CPU21は、オブジェクトデータが表示領域に収まると判断された場合(S107:YES)、CPU21は、オブジェクトデータを、適合オブジェクト115のオブジェクト情報に従い、反映させる(S109)。本例では、例えば、図8に示すように、オブジェクトデータの『Tepmplate Label』が、レイアウト調整なしで、適合テンプレート111Aの適合オブジェクト115Aに反映される。 When the CPU 21 determines that the object data fits within the display area (S107: YES), the CPU 21 reflects the object data according to the object information of the matching object 115 (S109). In this example, for example, as shown in FIG. 8, the object data "Tempplate Label" is reflected in the matching object 115A of the matching template 111A without layout adjustment.

一方、オブジェクトデータが表示領域に収まらないと判断された場合(S107:NO)、CPU21は、参照したオブジェクト情報のレイアウト調整が可能な設定であるか否か判断する(S109)。この場合、CPU21はS106で特定された適合テンプレート111について、適合オブジェクト115のオブジェクト情報を参照する。適合オブジェクト115に対するオブジェクトデータのレイアウト調整が可能でないと判断された場合(S109:NO)、CPU21は、オブジェクトデータが適合オブジェクト115の表示領域に収まりきらないため、強調表示の対象とする(S110)。CPU21は、オブジェクトデータを、レイアウト調整なしで、そのまま適合オブジェクト115Aに反映させる(S117)。 On the other hand, when it is determined that the object data does not fit in the display area (S107: NO), the CPU 21 determines whether the setting allows layout adjustment of the referenced object information (S109). In this case, the CPU 21 refers to the object information of the matching object 115 for the matching template 111 specified in S106. When it is determined that the layout adjustment of the object data for the matching object 115 is not possible (S109: NO), the CPU 21 highlights the object data because it does not fit in the display area of the matching object 115 (S110). . The CPU 21 directly reflects the object data in the conforming object 115A without layout adjustment (S117).

本例では、例えば、S105で特定されたオブジェクトデータが『Created by Brother』であり、且つS106で適合テンプレート111D(図8参照)が特定された場合が想定される。図8に示す適合テンプレート111Dの適合オブジェクト115Bに『Created by Brother』がそのまま反映され、且つ強調表示される。 In this example, for example, it is assumed that the object data specified in S105 is "Created by Brother" and the matching template 111D (see FIG. 8) is specified in S106. "Created by Brother" is directly reflected and highlighted in the matching object 115B of the matching template 111D shown in FIG.

一方、レイアウト調整が可能であると判断された場合(S109:YES)、CPU21は、処理をS111に進める。オブジェクトデータのデータサイズによっては、レイアウト調整された場合でも、オブジェクトデータが適合オブジェクト115の表示領域に収まらない場合がある。従って、CPU21は、レイアウト調整の後に、適合オブジェクト115の表示領域に収まるか否かを判断する(S111)。 On the other hand, when it is determined that layout adjustment is possible (S109: YES), the CPU 21 advances the process to S111. Depending on the data size of the object data, the object data may not fit in the display area of the conforming object 115 even if the layout is adjusted. Therefore, after the layout adjustment, the CPU 21 determines whether or not it fits within the display area of the compatible object 115 (S111).

レイアウト調整された場合に、適合オブジェクト115の表示領域に収まると判断された場合(S111:YES)、CPU21は、レイアウト調整を行い(S113)、オブジェクトデータを適合テンプレート111の適合オブジェクト115に反映する(S117)。本例では、例えば、図8に示す適合テンプレート111Bの適合オブジェクト115Bに『Created by Brother』が改行されて表示される。 If it is determined that the display area of the compatible object 115 will fit when the layout is adjusted (S111: YES), the CPU 21 performs layout adjustment (S113) and reflects the object data in the compatible object 115 of the compatible template 111. (S117). In this example, for example, "Created by Brother" is displayed with a new line in the matching object 115B of the matching template 111B shown in FIG.

一方、S111の処理で、レイアウト調整された場合にも、オブジェクトデータが表示領域に収まらないと判断された場合(S111:NO)、CPU21は、強調表示の対象とする(S115)。CPU21は、処理をS117へ進めて、オブジェクトデータを適合テンプレート111のオブジェクト115にそのまま反映させる(S117)。本例では、例えば、図8に示す適合テンプレート111Dの適合オブジェクト115Bに『Created by Brother』が強調表示される場合が想定される。 On the other hand, in the process of S111, when it is determined that the object data does not fit in the display area even after the layout adjustment (S111: NO), the CPU 21 makes the object data to be highlighted (S115). The CPU 21 advances the process to S117 to reflect the object data as it is in the object 115 of the matching template 111 (S117). In this example, for example, it is assumed that "Created by Brother" is highlighted in the matching object 115B of the matching template 111D shown in FIG.

次いで、CPU21は、S103で取得した全ての適合テンプレート111に対して、S105で特定された1のオブジェクトデータが、反映されたかを判断する(S119)。特定された1のオブジェクトデータが、全ての適合テンプレート111に反映されていないと判断された場合(S119:NO)、CPU21は、処理をS106に戻す。CPU21は、未反映の1の適合テンプレート111を特定する(S106)。CPU21は、全ての適合テンプレート111に対して、S105で特定された1のオブジェクトデータが反映されるまでS106~S119の処理を繰り返す。 Next, the CPU 21 determines whether the one object data specified in S105 has been reflected in all the matching templates 111 acquired in S103 (S119). When it is determined that the specified one object data is not reflected in all the matching templates 111 (S119: NO), the CPU 21 returns the process to S106. The CPU 21 identifies one matching template 111 that has not yet been reflected (S106). The CPU 21 repeats the processes of S106 to S119 until the one object data identified in S105 is reflected in all the matching templates 111. FIG.

一方、特定された1のオブジェクトデータが、全ての適合テンプレート111に反映されたと判断された場合(S119:YES)、CPU21は、処理をS121に進める。CPU21は、S103の処理で取得された全ての適合テンプレート111に、S101で取得された全てのオブジェクトデータが反映されたか否かを判断する(S121)。全てのオブジェクトデータが全ての適合テンプレート111に反映されていないと判断された場合(S121:NO)、CPU21は、処理をS105へ戻して、未反映の1のオブジェクトデータを特定する。CPU21は、未反映のオブジェクトデータが全ての適合テンプレート111に反映されるまで、S105~S121の処理を繰り返す。 On the other hand, when it is determined that the specified one object data has been reflected in all the matching templates 111 (S119: YES), the CPU 21 advances the process to S121. The CPU 21 determines whether or not all the object data acquired in S101 have been reflected in all the compatible templates 111 acquired in the process of S103 (S121). When it is determined that all the object data have not been reflected in all the matching templates 111 (S121: NO), the CPU 21 returns the process to S105 and identifies one object data that has not been reflected. The CPU 21 repeats the processing of S105 to S121 until the unreflected object data are reflected in all the matching templates 111. FIG.

本例では、図8に示すように、全ての適合テンプレート111A~111Dの適合オブジェクト115Aに、『Template Label』が順次反映される。次いで、全ての適合テンプレート111A~111Dの適合オブジェクト115Bに、『Created by Brother』が順次反映される。次いで、全ての適合テンプレート111A~111Dの適合オブジェクト115Cに、『2019/01/31』が順次反映される。 In this example, as shown in FIG. 8, "Template Label" is sequentially reflected in matching objects 115A of all matching templates 111A to 111D. Then, "Created by Brother" is sequentially reflected in matching objects 115B of all matching templates 111A-111D. Next, "2019/01/31" is sequentially reflected in the matching objects 115C of all matching templates 111A to 111D.

CPU21は、全てのオブジェクトデータが、全ての適合テンプレート111に対して反映された場合(S121:YES)、CPU21は、強調表示の対象となる適合オブジェクト115を備えた適合テンプレート111を特定する(S123)。本例では、図8の適合テンプレート111Dが特定される。 When all object data have been reflected to all matching templates 111 (S121: YES), the CPU 21 identifies matching templates 111 having matching objects 115 to be highlighted (S123). ). In this example, matching template 111D of FIG. 8 is identified.

CPU21は、表示パネル31の候補画面65(図8参照)に、全てのオブジェクトデータが反映された適合テンプレート111を一覧表示させる(S125)。以下、表示パネル31の候補画面65に、一覧表示された適合テンプレート111A~111Dは、『候補画像111A~111D』ともいう。 The CPU 21 causes the candidate screen 65 (see FIG. 8) of the display panel 31 to display a list of compatible templates 111 reflecting all the object data (S125). The compatible templates 111A to 111D listed on the candidate screen 65 of the display panel 31 are hereinafter also referred to as "candidate images 111A to 111D".

図8を参照して、候補画像111A~111Dについて説明する。本例では、候補画像111A~111Dは、表示パネル31の候補画面65に対して、同時に4つまで表示される。本例では、適合テンプレート111の数は4つであるため、全て表示されるが、例えば、S103の処理で取得された適合テンプレート111が4よりも多い場合には、ユーザは切り替え部52を操作部7により選択することで、未表示の候補画像を一覧表示可能である。 The candidate images 111A to 111D will be described with reference to FIG. In this example, up to four candidate images 111A to 111D are displayed on the candidate screen 65 of the display panel 31 at the same time. In this example, since the number of matching templates 111 is four, all of them are displayed. A list of undisplayed candidate images can be displayed by selection by the unit 7 .

候補画像111Aは、表示パネル31の候補画面65の先頭(左上)に表示される。『Template Label』、『Created by Brother』、『2019/01/31』は、上から順に並んで配置される。夫々のオブジェクトデータは、レイアウト調整なしで、適合オブジェクト115A~115Cに対してそのまま反映されている。 The candidate image 111 A is displayed at the top (upper left) of the candidate screen 65 of the display panel 31 . "Template Label", "Created by Brother", and "2019/01/31" are arranged in order from the top. Each object data is directly reflected in the conforming objects 115A to 115C without layout adjustment.

候補画像111Bは、表示パネル31の候補画面65の右上に表示される。『Template Label』は、候補画像111Bの上側に配置される。『Created by Brother』は、候補画像111Bの左下に配置される。『2019/01/31』は、候補画像111Bの右下に配置される。『Template Label』は、レイアウト調整なしで、オブジェクト115Bに対してそのまま反映されている。『Created by brohter』は、レイアウト調整がなされ、改行されて適合オブジェクト115Bに反映されている。『2019/01/31』は、レイアウト調整がなされ、文字サイズ調整されて適合オブジェクト115Cに反映されている。 Candidate image 111B is displayed in the upper right of candidate screen 65 of display panel 31 . "Template Label" is arranged above the candidate image 111B. "Created by Brother" is arranged at the lower left of the candidate image 111B. "2019/01/31" is arranged at the bottom right of the candidate image 111B. "Template Label" is directly reflected on the object 115B without layout adjustment. "Created by brohter" has been adjusted in layout and is reflected in the conforming object 115B with a line break. "2019/01/31" is reflected in the matching object 115C after layout adjustment and character size adjustment.

候補画像111Cは、表示パネル31の候補画面65の左下に表示される。『Template Label』は、候補画像111Cの上側に配置される。『Created by Brother』は、候補画像111Cの右下に配置される。『2019/01/31』は、候補画像111Cの左下に配置される。『Template Label』は、レイアウト調整なしで、適合オブジェクト115Aに対してそのまま反映されている。『Created by brohter』は、レイアウト調整がなされ、文字サイズ調整且つ改行されて適合オブジェクト115Bに反映されている。『2019/01/31』は、レイアウト調整がなされ、改行されて適合オブジェクト115Cに反映されている。 Candidate image 111</b>C is displayed at the lower left of candidate screen 65 of display panel 31 . "Template Label" is arranged above the candidate image 111C. "Created by Brother" is placed in the lower right corner of the candidate image 111C. "2019/01/31" is arranged at the lower left of the candidate image 111C. "Template Label" is directly reflected in the conforming object 115A without layout adjustment. "Created by brohter" is reflected in the matching object 115B with layout adjustment, character size adjustment and line feed. "2019/01/31" is reflected in the conforming object 115C after the layout adjustment and line feed.

候補画像111Dは、表示パネル31の候補画面65の右下に表示される。『Template Label』は、候補画像111Dの左端に配置される。『Created by Brother』は、候補画像111Dの右上に配置される。『2019/01/31』は、候補画像111Dの右下に配置される。『Template Label』は、レイアウト調整され、文字サイズが調整されて適合オブジェクト115Aに反映されている。『Created by Brohter』は、レイアウト調整なしで、そのまま適合オブジェクト115Bに反映されている。『2019/01/31』は、レイアウト調整なしで、そのまま適合オブジェクト115Cに反映されている。なお、候補画像111Dは、『Created by Brother』が表示領域に収まっていないため、強調表示されている。表示パネル31の候補画面65の一覧表示において、強調表示されている適合オブジェクト115Bを有する候補画像111Dは、一覧表示の末尾、すなわち、右下に配置される。 Candidate image 111D is displayed at the lower right of candidate screen 65 of display panel 31 . "Template Label" is arranged at the left end of the candidate image 111D. "Created by Brother" is arranged on the upper right of the candidate image 111D. "2019/01/31" is arranged at the lower right of the candidate image 111D. The layout of "Template Label" is adjusted, the character size is adjusted, and the result is reflected in the conforming object 115A. "Created by Brohter" is directly reflected in the conforming object 115B without layout adjustment. "2019/01/31" is directly reflected in the conforming object 115C without layout adjustment. Note that the candidate image 111D is highlighted because "Created by Brother" does not fit within the display area. In the list display of the candidate screen 65 of the display panel 31, the candidate image 111D having the highlighted matching object 115B is arranged at the end of the list display, that is, at the bottom right.

次いで、CPU21は、テンプレート表示処理を終了して、処理を画像編集処理(図5参照)に戻し、S9の処理を実行する。CPU21は、所望のテンプレート111が受け付けられたか否か判断する(S9)。CPU21は、ユーザの操作部7の操作により、候補画像111A~111Dのうち所望のテンプレート111の選択を受け付けるまで待機する(S9:NO)。ユーザが印刷したい所望のテンプレート111、例えば、候補画像111Aを選択すると(S9:YES)、CPU21は、候補画像111Aに基づき、テープMに対して印刷処理を実行する(S11)。CPU21は処理を終了する。 Next, the CPU 21 ends the template display process, returns the process to the image editing process (see FIG. 5), and executes the process of S9. The CPU 21 determines whether or not the desired template 111 has been accepted (S9). The CPU 21 waits until a desired template 111 from among the candidate images 111A to 111D is selected by the user's operation of the operation unit 7 (S9: NO). When the user selects a desired template 111 to be printed, for example, the candidate image 111A (S9: YES), the CPU 21 executes print processing on the tape M based on the candidate image 111A (S11). The CPU 21 terminates the processing.

以上説明した実施形態によれば、印刷装置18は、受け付けられたオブジェクトデータの全ての属性名に基づき、適合テンプレート111A~111Dを取得する(S103)。印刷装置18は、受け付けられた全てのオブジェクトデータを、取得された適合テンプレート111A~111Dの適合オブジェクト115A~115Cに反映する(S117)。また、印刷装置18は、全てのオブジェクトデータが反映された候補画像111A~111Dを、表示パネル31の候補画面65に表示する(S125)。故に、印刷装置18は、適切なテンプレート111のみにオブジェクトデータを反映し、且つユーザが所望のテンプレート111を選択しやすい。 According to the embodiment described above, the printing device 18 acquires the matching templates 111A to 111D based on all attribute names of the received object data (S103). The printing device 18 reflects all the accepted object data in the matching objects 115A-115C of the matching templates 111A-111D obtained (S117). Further, the printing device 18 displays the candidate images 111A to 111D reflecting all the object data on the candidate screen 65 of the display panel 31 (S125). Therefore, the printing device 18 reflects the object data only on the appropriate template 111, and the user can easily select the desired template 111. FIG.

CPU21は、4つの候補画像111A~111Dを、表示パネル31の候補画面65に一覧表示させる(S125)。故に、ユーザは、所望のテンプレート111を選択しやすい。特に、表示パネル31の候補画面65が広い場合に有効である。 The CPU 21 displays a list of the four candidate images 111A to 111D on the candidate screen 65 of the display panel 31 (S125). Therefore, the user can easily select the desired template 111 . This is particularly effective when the candidate screen 65 of the display panel 31 is wide.

CPU21は、4つの候補画像111A~111Dを、表示パネル31の候補画面65に一覧表示させ、強調表示の対象となるオブジェクトを有する候補画像111Dを、表示パネル31の候補画面65の末尾(右下)に表示させる(S125)。故に、ユーザは、所望のテンプレート111を選択しやすい。 The CPU 21 displays a list of the four candidate images 111A to 111D on the candidate screen 65 of the display panel 31, and places the candidate image 111D having the object to be highlighted on the end (lower right) of the candidate screen 65 on the display panel 31. ) (S125). Therefore, the user can easily select the desired template 111 .

CPU21は、候補画像111A~111Dの適合オブジェクト115のうち、表示領域に収まらないと判断された候補画像111Dについて、強調表示する(S125)。故に、ユーザは、所望のテンプレート111を確認しやすい。 Of the matching objects 115 of the candidate images 111A to 111D, the CPU 21 highlights the candidate image 111D that is determined to be too large to fit in the display area (S125). Therefore, the user can easily confirm the desired template 111 .

オブジェクト情報は、オブジェクトデータが反映される適合オブジェクト115を特定する属性名を含む。CPU21は、受け付けられたオブジェクトデータの夫々の属性名を特定する(S101)。CPU21は、受け付けられた全てのオブジェクトデータを、適合テンプレート111の適合オブジェクト115のうち、特定された属性名と対応する適合オブジェクト115に夫々反映させる。故に、ユーザは、属性名に基づきオブジェクトデータが反映された適合テンプレート111を確認できるため、所望のテンプレート111を選択しやすい。 The object information includes attribute names that identify conforming objects 115 in which the object data is reflected. The CPU 21 identifies each attribute name of the received object data (S101). CPU 21 reflects all of the received object data in matching objects 115 corresponding to the identified attribute names among matching objects 115 of matching template 111 . Therefore, the user can easily select the desired template 111 because the user can confirm the matching template 111 in which the object data is reflected based on the attribute name.

本発明は、上記実施形態に限定されるものではなく、種々の変更が可能である。上記実施形態では、印刷装置18が印刷データを作成し、印刷処理を実行したがこれに限らない。画像編集処理(図5参照)が実行されるコンピュータは、印刷装置18に限定されず、ユーザインタフェイス機能を備えたコンピュータ(例えば、PCなど)であればよい。例えば、印刷装置18以外の外部端末がラベル画像を印刷するための印刷データを生成し、印刷装置18に対して印刷データが送信されてもよい。この場合、外部端末で、画像編集処理が実行されればよい。従って、ユーザは外部端末を操作することで、印刷装置18でラベルを作成することができる。画像編集処理で編集される画像は、ラベル画像に限定されず、ラベルとは異なる印刷物に使用される画像でもよいし、印刷以外の用途に使用される画像でもよい。 The present invention is not limited to the above embodiments, and various modifications are possible. In the above embodiment, the printing device 18 creates print data and executes print processing, but the present invention is not limited to this. The computer on which the image editing process (see FIG. 5) is executed is not limited to the printing device 18, and may be any computer (such as a PC) having a user interface function. For example, an external terminal other than the printing device 18 may generate print data for printing the label image, and the print data may be transmitted to the printing device 18 . In this case, the image editing process should be executed on the external terminal. Therefore, the user can create a label with the printer 18 by operating the external terminal. The image edited by the image editing process is not limited to the label image, and may be an image used for a printed material other than the label, or an image used for purposes other than printing.

上記実施形態では、CPU21は、属性名を特定して、対応するオブジェクト115に対して、オブジェクトデータを反映したがこれに限らない。例えば、CPU21は、属性名が『Text1』と『Text2』に対して、オブジェクトデータが入力されることがある(S3)。これらのオブジェクト情報B、Cのデータタイプは、テキストで同一である(図4参照)。この場合、CPU21は、同一のデータタイプのオブジェクト115のみを備えた適合テンプレート111を取得すればよい。CPU21は、取得された適合テンプレート111の適合オブジェクト115の何れかに対して、入力されたオブジェクトデータを反映させればよい。印刷装置18は、取得された適合テンプレート111の同一のデータタイプを有する適合オブジェクト115の何れかに対して、オブジェクトデータの何れかを反映できる。 In the above embodiment, the CPU 21 specified the attribute name and reflected the object data on the corresponding object 115, but the present invention is not limited to this. For example, the CPU 21 may receive object data for attribute names "Text1" and "Text2" (S3). The data types of these object information items B and C are text and the same (see FIG. 4). In this case, the CPU 21 only needs to obtain a matching template 111 that includes only objects 115 of the same data type. The CPU 21 may reflect the input object data on any of the matching objects 115 of the acquired matching template 111 . The printing device 18 can reflect any of the object data to any of the matching objects 115 having the same data type of the matching template 111 obtained.

上記実施形態では、入力画面33は、最大で5つのオブジェクトデータを入力可能であったが、最大で6以上又は4以下の数のオブジェクトデータを入力可能であってもよい。入力画面33は、同一のデータタイプのオブジェクトデータのみを対象としてもよい。この場合、例えば、テータタイプがテキストのみのオブジェクトデータが入力画面33で入力されることとなる。この場合、S103の処理では、オブジェクトデータと同数のオブジェクト115を備えたテンプレート111が適合テンプレート111として取得されてもよい。 In the above-described embodiment, the input screen 33 is capable of inputting up to five object data, but may be capable of inputting up to six or more or four or less object data. The input screen 33 may target only object data of the same data type. In this case, for example, object data whose data type is text only is input on the input screen 33 . In this case, in the process of S103, a template 111 having the same number of objects 115 as the object data may be acquired as the matching template 111. FIG.

上記実施形態では、表示パネル31の候補画面65は、4つの候補画像111A~115Dを表示したが、5以上の数の候補画像を一覧表示してもよいし、3以下の数の候補画像を一覧表示してもよい。例えば、CPU21は、候補画像111A~111Dのうち、1つのみを表した候補画面65を、表示パネル31の候補画面65に表示させてもよい。ユーザは、候補画面65から所望のテンプレート111を選択しやすい。特に、印刷装置18の表示パネル31が狭い場合に有効である。この場合、表示パネル31は、切り替え部52による所定の切替指示に応じて、表示パネル31の候補画面65に表示される候補画像111A~111Dの何れかを、他の候補画像に切り替えできる。故に、印刷装置18は、ユーザが所望のテンプレート111を選択しやすい。また、この場合、CPU21は、候補画像111A~111Dのうち、S123の処理で特定された適合テンプレート111のみを表した候補画面65を、後に、表示パネル31の候補画面65に表示させてもよい。これにより、ユーザは、S123の処理で特定された適合テンプレート111のみを表した候補画面65を、後に、確認することとなる。従って、ユーザは、所望のテンプレート111を選択しやすい。 In the above embodiment, the candidate screen 65 of the display panel 31 displays four candidate images 111A to 115D. A list may be displayed. For example, the CPU 21 may cause the candidate screen 65 of the display panel 31 to display a candidate screen 65 showing only one of the candidate images 111A to 111D. The user can easily select the desired template 111 from the candidate screen 65 . This is particularly effective when the display panel 31 of the printer 18 is narrow. In this case, the display panel 31 can switch any one of the candidate images 111A to 111D displayed on the candidate screen 65 of the display panel 31 to another candidate image in accordance with a predetermined switching instruction from the switching unit 52 . Therefore, the printing device 18 makes it easy for the user to select the desired template 111 . Further, in this case, the CPU 21 may later display the candidate screen 65 showing only the matching template 111 specified in the process of S123 among the candidate images 111A to 111D on the candidate screen 65 of the display panel 31. . As a result, the user later confirms the candidate screen 65 showing only the matching template 111 specified in the process of S123. Therefore, the user can easily select the desired template 111 .

上記実施形態において、フラッシュメモリ25は、本発明の「記憶部」に相当する。属性名は、本発明の「オブジェクト属性」、「特定情報」に相当する。候補画面65は、本発明の「一画面」に相当する。S3を実行するCPU21が、本発明の「受付手段」に相当する。S101を実行するCPU21が、本発明の「第一特定手段」に相当する。S103を実行するCPU21が、本発明の「取得手段」に相当する。S117を実行するCPU21が、本発明の「反映手段」に相当する。S125を実行するCPU21が、本発明の「表示手段」に相当する。S9を実行するCPU21が、本発明の「選択手段」に相当する。S11を実行するCPU21が、本発明の「印刷手段」に相当する。S107を実行するCPU21が、本発明の「第一判断手段」に相当する。S113を実行するCPU21が本発明の「レイアウト調整手段」に相当する。S111を実行するCPU21が本発明の「第二判断手段」に相当する。S123を実行するCPU21が本発明の「第二特定手段」に相当する。 In the above embodiments, the flash memory 25 corresponds to the "storage section" of the present invention. The attribute name corresponds to the "object attribute" and "specific information" of the present invention. The candidate screen 65 corresponds to "one screen" of the present invention. The CPU 21 that executes S3 corresponds to the "accepting means" of the present invention. CPU21 which performs S101 corresponds for the "1st specific means" of this invention. CPU21 which performs S103 corresponds to the "acquisition means" of this invention. CPU21 which performs S117 corresponds for the "reflection means" of this invention. CPU21 which performs S125 corresponds for the "display means" of this invention. CPU21 which performs S9 is equivalent to the "selection means" of this invention. CPU21 which performs S11 corresponds for the "printing means" of this invention. CPU21 which performs S107 corresponds for the "1st judgment means" of this invention. The CPU 21 executing S113 corresponds to the "layout adjusting means" of the present invention. CPU21 which performs S111 corresponds for the "2nd judgment means" of this invention. CPU21 which performs S123 corresponds for the "2nd specification means" of this invention.

18 印刷装置
21 CPU
25 フラッシュメモリ
31 表示パネル
33 入力画面
65 候補画面
111 適合テンプレート
111A、111B、111C、111D 候補画像
115A、115B、115C 適合オブジェクト
18 printer 21 CPU
25 flash memory 31 display panel 33 input screen 65 candidate screen 111 matching template 111A, 111B, 111C, 111D candidate image 115A, 115B, 115C matching object

Claims (9)

1以上のオブジェクトを備えた複数のテンプレートが記憶された記憶部と、
1以上のオブジェクトデータを受け付ける受付手段と、
前記受付手段により受け付けられた前記オブジェクトデータのオブジェクト属性を夫々特定する第一特定手段と、
前記記憶部に記憶された前記複数のテンプレートから、前記第一特定手段により特定された全ての前記オブジェクト属性に夫々対応する1以上の適合オブジェクトのみを備えた1以上の適合テンプレートを取得する取得手段と、
前記取得手段により取得された全ての前記適合テンプレートの夫々について、前記受付手段により受け付けられた全ての前記オブジェクトデータの夫々を、前記オブジェクトデータの前記オブジェクト属性に対応する前記適合オブジェクトに反映させる反映手段と、
前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、少なくとも1つの前記適合テンプレートを表示部に表示する表示手段と、
前記表示手段により表示された前記適合テンプレートのうち、何れかの前記適合テンプレートの選択を受け付ける選択手段と、
前記選択手段により選択された前記適合テンプレートに基づき、印刷対象物に印刷を実行する印刷手段と
を備え
前記適合テンプレートの夫々の前記オブジェクトは、前記オブジェクトデータが表示される予め定められた大きさの表示領域を夫々備え、
受け付けられた全ての前記オブジェクトデータが、取得された全ての前記適合テンプレートの夫々の前記適合オブジェクトに反映される場合に、受け付けられた前記オブジェクトデータが前記適合オブジェクトの前記表示領域に収まるか否かを、全ての前記適合オブジェクト毎に判断する第一判断手段と、
前記第一判断手段により前記表示領域に収まらないと判断された前記適合オブジェクト毎に、受け付けられた前記オブジェクトデータの前記表示領域へのレイアウト調整を夫々行うレイアウト調整手段と、
前記レイアウト調整手段により前記レイアウト調整された場合に、前記レイアウト調整された前記オブジェクトデータが前記表示領域に収まるか否かを、前記レイアウト調整された前記適合オブジェクト毎に判断する第二判断手段と
を備え、
前記表示手段は、前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトを有する前記適合テンプレートと前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトを有さない前記適合テンプレートとを区別して、前記表示部に表示させることを特徴とする印刷装置。
a storage unit storing a plurality of templates having one or more objects;
receiving means for receiving one or more object data;
a first identifying means for respectively identifying object attributes of the object data received by the receiving means;
Acquisition means for acquiring, from the plurality of templates stored in the storage unit, one or more matching templates having only one or more matching objects respectively corresponding to all the object attributes specified by the first specifying means. and,
Reflecting means for reflecting all of the object data received by the receiving means for each of the matching templates obtained by the obtaining means in the matching object corresponding to the object attribute of the object data. and,
display means for displaying, on a display unit, at least one of the matching templates reflecting the object data;
selection means for receiving selection of any one of the matching templates displayed by the display means;
printing means for executing printing on a print target based on the matching template selected by the selection means ;
each of the objects of the matching template each having a display area of a predetermined size in which the object data is displayed;
whether or not the received object data fits in the display area of the matching object when all the received object data are reflected in the matching objects of all the matching templates obtained; for each of the matching objects; and
layout adjustment means for adjusting the layout of the received object data to the display area for each of the conforming objects determined by the first determination means to be out of the display area;
a second determination means for determining, for each of the layout-adjusted conforming objects, whether or not the layout-adjusted object data can be accommodated in the display area when the layout adjustment is performed by the layout adjustment means;
with
The display means displays the matching template having the matching object determined by the second determination means as not fitting in the display area and the matching object determined by the second determination means as not fitting in the display area. A printing apparatus characterized in that the matching template that does not have the template is distinguished from the matching template and displayed on the display unit .
前記表示部は、複数の前記適合テンプレートを一画面に表示可能であり、
前記表示手段は、前記反映手段により前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、前記複数の前記適合テンプレートを、前記表示部の前記一画面に一覧表示させ
前記表示手段は、前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトを有する前記適合テンプレートを、前記表示部の前記一画面の末尾に表示させ
ことを特徴とする請求項1に記載の印刷装置。
The display unit is capable of displaying a plurality of the matching templates on one screen,
The display means displays, on the one screen of the display unit, a list of the plurality of the matching templates among all the matching templates to which the object data are reflected by the reflecting means ,
The display means displays the matching template having the matching object determined by the second determination means as being too large to fit in the display area at the end of the one screen of the display unit. Item 1. The printing apparatus according to item 1.
前記表示手段は、前記反映手段により全ての前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、1つの前記適合テンプレートのみを表した候補画面を、前記表示部に表示させ
所定の切替指示に応じて、前記表示手段により前記表示部に表示される前記候補画面を、前記全ての前記適合テンプレートが夫々表示された複数の前記候補画面の何れかに切り替え可能な切り替え部を備え、
前記表示手段は、前記反映手段により全ての前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトを有さない前記適合テンプレートを表した前記候補画面を前記表示部に表示した後、前記所定の切替指示に応じて、前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトを有する前記適合テンプレートを表した前記候補画面を、前記表示部に表示させる
ことを特徴とする請求項1に記載の印刷装置。
The display means causes the display unit to display a candidate screen showing only one of the matching templates among all the matching templates to which all the object data are reflected by the reflecting means ,
a switching unit capable of switching the candidate screen displayed on the display unit by the display means to any one of the plurality of candidate screens on which all the matching templates are displayed, in response to a predetermined switching instruction; prepared,
The display means does not have the matching object determined by the second determination means as not fitting in the display area, among all the matching templates in which all the object data are reflected by the reflecting means. After the candidate screen representing the matching template is displayed on the display unit, the matching template having the matching object determined by the second determining means to be out of the display area in response to the predetermined switching instruction. causing the display unit to display the candidate screen representing
2. The printing apparatus according to claim 1, wherein:
記表示手段は、前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトを有する前記適合テンプレートを前記表示部に表示する際に、前記適合オブジェクトのうち、前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトについて、強調表示する
ことを特徴とする請求項1~の何れか一つに記載の印刷装置。
The display means, when displaying on the display section the matching template having the matching object determined by the second determining means to be too large to fit in the display area, selects the matching object from the matching object according to the second determination. 4. The printing apparatus according to any one of claims 1 to 3 , wherein the matching object determined by the means to be out of the display area is highlighted.
前記第一特定手段は、特定された前記オブジェクト属性のうち、同一の前記オブジェクト属性を特定し、
前記反映手段は、取得された前記適合テンプレートの前記同一の前記オブジェクト属性を有する前記適合オブジェクトの何れかに対して、特定された前記同一の前記オブジェクト属性を有する前記オブジェクトデータの何れかを反映させる
ことを特徴とする請求項1~4の何れか一つに記載の印刷装置。
The first identifying means identifies the same object attribute among the identified object attributes,
The reflecting means reflects any of the specified object data having the same object attribute on any of the matching objects having the same object attribute of the acquired matching template. The printing apparatus according to any one of claims 1 to 4, characterized in that:
前記オブジェクト属性は、前記オブジェクトデータが反映される前記オブジェクトを特定する特定情報を含み、
前記第一特定手段は、受け付けられた前記オブジェクトデータの夫々の前記オブジェクト属性に含まれる前記特定情報を夫々特定し、
前記反映手段は、受け付けられた全ての前記オブジェクトデータを、取得された前記適合テンプレートの前記適合オブジェクトのうち、特定された前記特定情報と対応する前記適合オブジェクトに夫々反映させる
ことを特徴とする請求項1~4の何れか一つに記載の印刷装置。
the object attribute includes specific information that identifies the object on which the object data is reflected;
The first identifying means respectively identifies the specific information included in the object attribute of each of the received object data,
The reflecting means reflects all of the received object data on the matching objects corresponding to the specified specific information among the matching objects of the acquired matching template. Item 5. The printing apparatus according to any one of items 1 to 4 .
印刷装置に印刷イメージの印刷を実行させる制御部を備えたコンピュータを、
1以上のオブジェクトデータを受け付ける受付手段と、
前記受付手段により受け付けられた前記オブジェクトデータのオブジェクト属性を特定する第一特定手段と、
1以上のオブジェクトを備えた複数のテンプレートが記憶された記憶部から、前記第一特定手段により特定された全ての前記オブジェクト属性に夫々対応する1以上の適合オブジェクトのみを備えた1以上の適合テンプレートを取得する取得手段と、
前記取得手段により取得された全ての前記適合テンプレートの夫々について、前記受付手段により受け付けられた全ての前記オブジェクトデータの夫々を、前記オブジェクトデータの前記オブジェクト属性に対応する前記適合オブジェクトに反映させる反映手段と、
前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、少なくとも1つの前記適合テンプレートを表示部に表示する表示手段と、
前記表示手段により表示された前記適合テンプレートのうち、何れかの前記適合テンプレートの選択を受け付ける選択手段と、
前記選択手段により選択された前記適合テンプレートに基づき、前記印刷装置に印刷対象物への印刷を実行させる印刷手段
として機能させ、
前記適合テンプレートの夫々の前記オブジェクトは、前記オブジェクトデータが表示される予め定められた大きさの表示領域を夫々備え、
前記コンピュータを、さらに、
受け付けられた全ての前記オブジェクトデータが、取得された全ての前記適合テンプレートの夫々の前記適合オブジェクトに反映される場合に、受け付けられた前記オブジェクトデータが前記適合オブジェクトの前記表示領域に収まるか否かを、全ての前記適合オブジェクト毎に判断する第一判断手段と、
前記第一判断手段により前記表示領域に収まらないと判断された前記適合オブジェクト毎に、受け付けられた前記オブジェクトデータの前記表示領域へのレイアウト調整を夫々行うレイアウト調整手段と、
前記レイアウト調整手段により前記レイアウト調整された場合に、前記レイアウト調整された前記オブジェクトデータが前記表示領域に収まるか否かを、前記レイアウト調整された前記適合オブジェクト毎に判断する第二判断手段
として機能させ、
前記表示手段は、前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトを有する前記適合テンプレートと前記第二判断手段により前記表示領域に収まらないと判断された前記適合オブジェクトを有しない前記適合テンプレートとを区別して、前記表示部に表示させることを特徴とする画像編集プログラム。
a computer having a control unit that causes a printing device to print a print image;
receiving means for receiving one or more object data;
a first identifying means for identifying an object attribute of the object data received by the receiving means;
one or more matching templates having only one or more matching objects respectively corresponding to all the object attributes specified by the first specifying means, from a storage unit storing a plurality of templates having one or more objects; an acquisition means for acquiring
Reflecting means for reflecting all of the object data received by the receiving means for each of the matching templates obtained by the obtaining means in the matching object corresponding to the object attribute of the object data. and,
display means for displaying, on a display unit, at least one of the matching templates reflecting the object data;
selection means for receiving selection of any one of the matching templates displayed by the display means;
Based on the matching template selected by the selection means, functioning as printing means for causing the printing device to print on a print target,
each of the objects of the matching template each having a display area of a predetermined size in which the object data is displayed;
the computer further comprising:
whether or not the received object data fits in the display area of the matching object when all the received object data are reflected in the matching objects of all the matching templates obtained; for each of the matching objects; and
layout adjustment means for adjusting the layout of the received object data to the display area for each of the conforming objects determined by the first determination means to be out of the display area;
second determining means for determining, for each of the layout-adjusted conforming objects, whether or not the layout-adjusted object data can be accommodated in the display area when the layout is adjusted by the layout adjusting means;
function as
The display means displays the matching template having the matching object determined by the second determination means as not fitting in the display area and the matching object determined by the second determination means as not fitting in the display area. An image editing program characterized in that the image editing program distinguishes from the matching template that does not have the matching template and displays it on the display unit .
1以上のオブジェクトを備えた複数のテンプレートが記憶された記憶部と、
1以上のオブジェクトデータを受け付ける受付手段と、
前記受付手段により受け付けられた前記オブジェクトデータのオブジェクト属性を夫々特定する第一特定手段と、
前記記憶部に記憶された前記複数のテンプレートから、前記第一特定手段により特定された全ての前記オブジェクト属性に夫々対応する1以上の適合オブジェクトのみを備えた1以上の適合テンプレートを取得する取得手段と、
前記取得手段により取得された全ての前記適合テンプレートの夫々について、前記受付手段により受け付けられた全ての前記オブジェクトデータの夫々を、前記オブジェクトデータの前記オブジェクト属性に対応する前記適合オブジェクトに反映させる反映手段と、
前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、少なくとも1つの前記適合テンプレートを表示部に表示する表示手段と、
前記表示手段により表示された前記適合テンプレートのうち、何れかの前記適合テンプレートの選択を受け付ける選択手段と、
前記選択手段により選択された前記適合テンプレートに基づき、印刷対象物に印刷を実行する印刷手段と
を備え
前記第一特定手段は、特定された前記オブジェクト属性のうち、同一の前記オブジェクト属性を特定し、
前記反映手段は、取得された前記適合テンプレートの前記同一の前記オブジェクト属性を有する前記適合オブジェクトの何れかに対して、特定された前記同一の前記オブジェクト属性を有する前記オブジェクトデータの何れかを反映させる
ことを特徴とする印刷装置。
a storage unit storing a plurality of templates having one or more objects;
receiving means for receiving one or more object data;
a first identifying means for respectively identifying object attributes of the object data received by the receiving means;
Acquisition means for acquiring, from the plurality of templates stored in the storage unit, one or more matching templates having only one or more matching objects respectively corresponding to all the object attributes specified by the first specifying means. and,
Reflecting means for reflecting all of the object data received by the receiving means for each of the matching templates obtained by the obtaining means in the matching object corresponding to the object attribute of the object data. and,
display means for displaying, on a display unit, at least one of the matching templates reflecting the object data;
selection means for receiving selection of any one of the matching templates displayed by the display means;
printing means for executing printing on a print target based on the matching template selected by the selection means ;
The first identifying means identifies the same object attribute among the identified object attributes,
The reflecting means reflects any of the specified object data having the same object attribute on any of the matching objects having the same object attribute of the acquired matching template.
A printing device characterized by:
1以上のオブジェクトを備えた複数のテンプレートが記憶された記憶部と、
1以上のオブジェクトデータを受け付ける受付手段と、
前記受付手段により受け付けられた前記オブジェクトデータのオブジェクト属性を夫々特定する第一特定手段と、
前記記憶部に記憶された前記複数のテンプレートから、前記第一特定手段により特定された全ての前記オブジェクト属性に夫々対応する1以上の適合オブジェクトのみを備えた1以上の適合テンプレートを取得する取得手段と、
前記取得手段により取得された全ての前記適合テンプレートの夫々について、前記受付手段により受け付けられた全ての前記オブジェクトデータの夫々を、前記オブジェクトデータの前記オブジェクト属性に対応する前記適合オブジェクトに反映させる反映手段と、
前記オブジェクトデータが反映された全ての前記適合テンプレートのうち、少なくとも1つの前記適合テンプレートを表示部に表示する表示手段と、
前記表示手段により表示された前記適合テンプレートのうち、何れかの前記適合テンプレートの選択を受け付ける選択手段と、
前記選択手段により選択された前記適合テンプレートに基づき、印刷対象物に印刷を実行する印刷手段と
を備え
前記オブジェクト属性は、前記オブジェクトデータが反映される前記オブジェクトを特定する特定情報を含み、
前記第一特定手段は、受け付けられた前記オブジェクトデータの夫々の前記オブジェクト属性に含まれる前記特定情報を夫々特定し、
前記反映手段は、受け付けられた全ての前記オブジェクトデータを、取得された前記適合テンプレートの前記適合オブジェクトのうち、特定された前記特定情報と対応する前記適合オブジェクトに夫々反映させる
ことを特徴とする印刷装置。
a storage unit storing a plurality of templates having one or more objects;
receiving means for receiving one or more object data;
a first identifying means for respectively identifying object attributes of the object data received by the receiving means;
Acquisition means for acquiring, from the plurality of templates stored in the storage unit, one or more matching templates having only one or more matching objects respectively corresponding to all the object attributes specified by the first specifying means. and,
Reflecting means for reflecting all of the object data received by the receiving means for each of the matching templates obtained by the obtaining means in the matching object corresponding to the object attribute of the object data. and,
display means for displaying, on a display unit, at least one of the matching templates reflecting the object data;
selection means for receiving selection of any one of the matching templates displayed by the display means;
printing means for executing printing on a print target based on the matching template selected by the selection means ;
the object attribute includes specific information that identifies the object on which the object data is reflected;
The first identifying means respectively identifies the specific information included in the object attribute of each of the received object data,
The reflecting means reflects all of the received object data on the matching objects corresponding to the specified specific information among the matching objects of the acquired matching template.
A printing device characterized by:
JP2019059665A 2019-03-27 2019-03-27 Printing device and image editing program Active JP7238532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019059665A JP7238532B2 (en) 2019-03-27 2019-03-27 Printing device and image editing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019059665A JP7238532B2 (en) 2019-03-27 2019-03-27 Printing device and image editing program

Publications (2)

Publication Number Publication Date
JP2020161990A JP2020161990A (en) 2020-10-01
JP7238532B2 true JP7238532B2 (en) 2023-03-14

Family

ID=72643729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019059665A Active JP7238532B2 (en) 2019-03-27 2019-03-27 Printing device and image editing program

Country Status (1)

Country Link
JP (1) JP7238532B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7786273B2 (en) 2022-03-18 2025-12-16 ブラザー工業株式会社 Computer program for a terminal device, terminal device, and method executed by a terminal device
JP2023149686A (en) 2022-03-31 2023-10-13 ブラザー工業株式会社 printing device
JP2024008297A (en) 2022-07-07 2024-01-19 ブラザー工業株式会社 printing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017204209A (en) 2016-05-13 2017-11-16 ブラザー工業株式会社 Selection program and selection apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017204209A (en) 2016-05-13 2017-11-16 ブラザー工業株式会社 Selection program and selection apparatus

Also Published As

Publication number Publication date
JP2020161990A (en) 2020-10-01

Similar Documents

Publication Publication Date Title
JP5212526B2 (en) Interactive processing system
JP2008080588A (en) Two-dimensional code printing device
JP7238532B2 (en) Printing device and image editing program
JP4924566B2 (en) Label data creation device, program, and recording medium
US6247860B1 (en) Image-printing method and device
JP2022049797A (en) Printing equipment, printed matter production methods and programs
US9715643B2 (en) Label creation apparatus, label creation method, and label creation program
US8947754B2 (en) Image processing device displaying a preview image and image processing method and program displaying a preview image
JP6536231B2 (en) Label producing apparatus, label producing method, and label producing program
JP2016221940A5 (en)
JPH10157255A (en) Image creation device
JP3876550B2 (en) Interactive processing system, image printing system, and recording medium
US7649651B2 (en) Print data editing apparatus and print data editing program stored in computer readable medium
JP7243484B2 (en) Control program and information processing device
JP4406100B2 (en) Interactive processing system
JP2021082930A (en) Program, and information processing device
JP3736126B2 (en) Image creation device
JPH06143690A (en) Tape printing apparatus
US11875076B2 (en) Printing apparatus that performs printing by selecting, from plurality of templates stored in advance, a template to allocate a print data object
JP7760949B2 (en) Editing program and editing device
JP7735836B2 (en) Information processing device, control method and program for information processing device
US20260075150A1 (en) Information processing device, control method for information processing device, and non-transitory computer-readable storage medium storing program
US6829744B1 (en) Document processing apparatus, method, and memory medium
US20240086127A1 (en) Printer
JP3034339B2 (en) Document editing and printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230213

R150 Certificate of patent or registration of utility model

Ref document number: 7238532

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150