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
JP4775155B2 - Print data editing apparatus and print data editing program - Google Patents
[go: Go Back, main page]

JP4775155B2 - Print data editing apparatus and print data editing program - Google Patents

Print data editing apparatus and print data editing program Download PDF

Info

Publication number
JP4775155B2
JP4775155B2 JP2006202320A JP2006202320A JP4775155B2 JP 4775155 B2 JP4775155 B2 JP 4775155B2 JP 2006202320 A JP2006202320 A JP 2006202320A JP 2006202320 A JP2006202320 A JP 2006202320A JP 4775155 B2 JP4775155 B2 JP 4775155B2
Authority
JP
Japan
Prior art keywords
print data
saving mode
print
printing
stored
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
JP2006202320A
Other languages
Japanese (ja)
Other versions
JP2008027378A (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 JP2006202320A priority Critical patent/JP4775155B2/en
Publication of JP2008027378A publication Critical patent/JP2008027378A/en
Application granted granted Critical
Publication of JP4775155B2 publication Critical patent/JP4775155B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

本発明は、印刷データ編集装置及び印刷データ編集プログラムに関するものである。   The present invention relates to a print data editing apparatus and a print data editing program.

一般に、文字や図形を入力し、所望の印刷結果を得るためのワードプロセッサ等の印刷データ編集装置においては、印刷した文字や図形のデータを適宜配置することが行われている。このような印刷データ編集装置では、資源およびコスト削減の観点から、被印刷媒体の節約を行い、効率的に印刷出力することが求められる。   In general, in a print data editing apparatus such as a word processor for inputting a character or a figure and obtaining a desired print result, data of the printed character or figure is appropriately arranged. In such a print data editing apparatus, from the viewpoint of resource and cost reduction, it is required to save printing media and efficiently print out.

そこで、例えば特許文献1に示すように、入力したデータを文字、図形、空白の属性判別後に、オブジェクト別に分離した後、あらかじめ設定された優先度に応じて、移動対象となるオブジェクトを縮小および移動し、生じた空白領域を削除して印刷レイアウトの自動変更を行うものが提案されている。このような印刷データ編集装置によれば、プリント時およびコピー時に用紙節約を行って、効率的に印刷出力させることができる。
特開2006−48520号公報
Therefore, as shown in, for example, Patent Document 1, after the input data is discriminated for each object after the character, figure, and blank attributes are determined, the object to be moved is reduced and moved according to a preset priority. However, there has been proposed one that automatically deletes the generated blank area and automatically changes the print layout. According to such a print data editing apparatus, paper can be saved at the time of printing and copying, and printed out efficiently.
JP 2006-48520 A

しかしながら、特許文献1に記載の印刷データ編集装置は、規定用紙などの固定された範囲内において印刷レイアウトの自動変更を行うものであり、例えばテープなどのように印刷範囲が固定されないものについて、印刷レイアウトを調整して被印刷媒体を節約する技術は、これまで提案されていなかった。   However, the print data editing apparatus described in Patent Document 1 automatically changes the print layout within a fixed range such as a specified sheet. For example, a print data editing device that does not fix the print range such as a tape is printed. A technique for adjusting the layout to save the print medium has not been proposed so far.

テープなどのように印刷範囲が固定されない被印刷媒体については、作成されたレイアウトからテープ長を決定する場合があり、レイアウトの配置によっては、規定用紙に印刷する場合以上に被印刷媒体の無駄な消費が発生しやすい。また、テープなどは、規定用紙と比較して高価であるため、被印刷媒体の節約がいっそう求められていた。   For a printing medium whose printing range is not fixed, such as a tape, the tape length may be determined from the created layout, and depending on the layout arrangement, the printing medium is more wasted than when printing on a prescribed sheet. Consumption is likely to occur. Further, since tapes and the like are more expensive than prescribed papers, there has been a further demand for saving print media.

本発明は前記課題を解決するためになされたものであり、テープなどの被印刷媒体を、使用者が意図しないところで無駄に消費することを防止する印刷データ編集装置及び印刷データ編集プログラムを提供することを目的とする。   The present invention has been made in order to solve the above-described problems, and provides a print data editing apparatus and a print data editing program that prevent a medium to be printed such as a tape from being unnecessarily consumed where the user does not intend. For the purpose.

前記課題を解決するために、請求項1に係る発明の印刷データ編集装置は、印刷装置で被印刷媒体に印刷を行うための印刷データを編集する印刷データ編集装置であって、印刷対象であるオブジェクトに関する位置、大きさ、内容、種類および種類ごとの属性のいずれかを少なくとも含むオブジェクト情報を記憶するオブジェクト情報記憶手段と、前記オブジェクト情報記憶手段に記憶されている前記オブジェクト情報に基づいて、前記被印刷媒体中のどこに空白領域があるかを判定する空白領域判定手段と、前記オブジェクト情報記憶手段に記憶されている前記オブジェクト情報に基づいて、前記印刷データを作成する印刷データ作成手段と、前記空白領域判定手段により判定された前記空白領域がなくなるように、前記オブジェクト情報記憶手段に記憶されている前記オブジェクト情報を加工した印刷データを、前記印刷データ作成手段に作成させる印刷データ作成制御手段とを備え、前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置、大きさ、種類を含むオブジェクト情報が記憶されるとともに、前記オブジェクトの種類が文字の場合には当該オブジェクトの属性としてのオブジェクト内の文字の位置と大きさとを含むオブジェクト情報が記憶され、前記空白領域判定手段は、前記オブジェクト情報記憶手段に記憶されているオブジェクトの種類が文字である場合に、当該オブジェクトの位置と大きさ、及び当該オブジェクト内の文字の位置と大きさに基づいて、当該オブジェクト内のどこに文字列の存在しない空白領域があるかを判定し、前記印刷データ作成制御手段は、前記空白領域判定手段により、前記文字列よりも前記搬送方向の下流側に前記空白領域があると判定された場合には、当該空白領域の最下流に前記文字列を移動させて、前記印刷データ作成手段に印刷データを作成させるとともに、前記空白領域判定手段により、前記文字列よりも前記搬送方向の上流側に前記空白領域があると判定された場合には、当該オブジェクトの上流端を、前記文字列の上流端に移動させて、前記印刷データ作成手段に印刷データを作成させることを特徴とする。 In order to solve the above problems, a print data editing apparatus according to a first aspect of the present invention is a print data editing apparatus for editing print data for printing on a printing medium by a printing apparatus, and is a printing target. Based on the object information stored in the object information storage means, object information storage means for storing object information including at least any of the position, size, content, type and attribute for each type of object, Blank area determination means for determining where a blank area exists in the print medium; print data creation means for creating the print data based on the object information stored in the object information storage means; The object information so that the blank area determined by the blank area determination unit is eliminated. The print data processing the object information stored in憶unit, and a print data generation control means for creating the print data creating means, the said object information storage unit, at least the position of an object, size, Object information including the type is stored, and when the type of the object is a character, object information including the position and size of the character in the object as an attribute of the object is stored, and the blank area determination unit When the type of the object stored in the object information storage means is a character, where the character is located in the object based on the position and size of the object and the position and size of the character in the object. It is determined whether there is a blank area where no column exists, and the print data The creation control unit moves the character string to the most downstream side of the blank area when the blank area determination unit determines that the blank area is downstream of the character string in the transport direction. When the print data creating unit creates the print data and the blank area determining unit determines that the blank area is upstream of the character string in the transport direction, an upstream end, is moved to the upstream end of the string, and wherein the Rukoto to create the print data to the print data creating means.

また、請求項2に係る発明の印刷データ編集装置は、請求項1に記載の発明の構成に加え、前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置を含むオブジェクト情報が記憶され、前記被印刷媒体の搬送方向下流端から、印刷可能領域の前記搬送方向下流端までのあらかじめ定められた距離である最小余白値を記憶する最小余白値記憶手段と、前記オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体に前記印刷データを印刷した際の、前記被印刷媒体の搬送方向下流端から前記オブジェクトの前記搬送方向下流端までの距離である印刷時余白値を算出する印刷時余白値算出手段とを備え、前記空白領域判定手段は、前記印刷時余白値算出手段により算出された印刷時余白値が前記最小余白値記憶手段に記憶されている最小余白値よりも大きい場合に、前記オブジェクトの搬送方向下流側に空白領域があると判定し、前記印刷データ作成制御手段は、前記空白領域判定手段により前記空白領域があると判定された場合には、前記印刷データ作成手段に、前記オブジェクトを移動させて、前記印刷時余白値を前記最小余白値とした印刷データを作成させることを特徴とする。   According to a second aspect of the present invention, in the print data editing apparatus of the invention, in addition to the configuration of the first aspect of the invention, the object information storage means stores object information including at least the position of the object, Minimum margin value storage means for storing a minimum margin value that is a predetermined distance from the downstream end in the transport direction of the medium to the downstream end in the transport direction of the printable area; and the object stored in the object information storage means Printing that calculates a printing margin value that is a distance from the downstream end in the transport direction of the print medium to the downstream end in the transport direction of the object when the print data is printed on the print medium based on the information A blank margin value calculating means, wherein the blank area determining means has a minimum print margin value calculated by the blank margin value calculating means. When the blank value is larger than the minimum margin value stored in the white value storage means, it is determined that there is a blank area downstream in the conveyance direction of the object, and the print data creation control means uses the blank area determination means to determine the blank area. When it is determined that there is an area, the print data creation unit moves the object to create print data with the print margin value as the minimum margin value.

また、請求項3に係る発明の印刷データ編集装置は、請求項1または2に記載の発明の構成に加え、前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置を含むオブジェクト情報が複数のオブジェクトに対し記憶され、前記搬送方向上流側のオブジェクトの下流端と、該搬送方向下流側のオブジェクトの上流端との間の、該搬送方向における間隔のあらかじめ設定された最小値であるオブジェクトの最小間隔値を記憶するオブジェクト最小間隔値記憶手段と、前記オブジェクト情報記憶手段に記憶されている複数のオブジェクトの位置に基づいて、前記搬送方向上流側のオブジェクトの下流端と、該搬送方向下流側のオブジェクトの上流端との間の、該搬送方向における間隔であるオブジェクトの間隔値を算出するオブジェクト間隔値算出手段とを備え、前記空白領域判定手段は、前記オブジェクト間隔値算出手段により算出されたオブジェクトの間隔値が、前記オブジェクト最小間隔値記憶手段に記憶されているオブジェクトの最小間隔値よりも大きい場合に、前記搬送方向上流側のオブジェクトの下流端と、前記搬送方向下流側のオブジェクトの上流端との間に空白領域があると判定し、前記印刷データ作成制御手段は、前記空白領域判定手段により前記空白領域があると判定された場合には、前記印刷データ作成手段に、前記オブジェクトを移動させて、前記オブジェクトの間隔値を前記オブジェクトの最小間隔値とした印刷データを作成させることを特徴とする。   According to a third aspect of the present invention, in addition to the configuration of the first or second aspect of the invention, the object information storage means includes object information including at least the position of the object in a plurality of objects. The minimum interval value of the object that is stored and is a preset minimum value of the interval in the transport direction between the downstream end of the object upstream in the transport direction and the upstream end of the object downstream in the transport direction Based on the positions of the plurality of objects stored in the object information storage means, the downstream end of the object upstream in the transport direction, and the downstream object in the transport direction An object that calculates the distance value of the object that is the distance in the transport direction from the upstream end An interval value calculating means, wherein the blank area determining means is configured such that the object interval value calculated by the object interval value calculating means is greater than the object minimum interval value stored in the object minimum interval value storage means. If it is larger, it is determined that there is a blank area between the downstream end of the object upstream in the transport direction and the upstream end of the object downstream in the transport direction, and the print data creation control unit determines the blank area determination If it is determined by the means that the blank area exists, the print data creation means moves the object to create print data with the object interval value as the minimum interval value of the object. Features.

また、請求項に係る発明の印刷データ編集装置は、請求項1乃至のいずれかに記載の発明の構成に加え、前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置を含むオブジェクト情報が記憶され、前記オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体と前記オブジェクトとを表示する表示手段と、前記オブジェクト情報記憶手段に記憶されているオブジェクトの位置に基づいて、前記被印刷媒体をカットする際のカット位置を算出するカット位置算出手段と、前記カット位置算出手段によって算出されたカット位置を、前記表示手段に表示するカット位置表示制御手段とを備えたことを特徴とする。 The print data editing apparatus of the invention according to claim 4, in addition to the configuration of the invention according to any one of claims 1 to 3, wherein the object information storage unit, the object information including the position of at least the object storage And based on the object information stored in the object information storage means, based on the position of the object stored in the object information storage means, the display means for displaying the printing medium and the object, A cutting position calculation unit that calculates a cutting position when cutting the print medium; and a cutting position display control unit that displays the cutting position calculated by the cutting position calculation unit on the display unit. Features.

また、請求項に係る発明の印刷データ編集装置は、請求項1乃至のいずれかに記載の発明の構成に加え、前記オブジェクトを印刷するための印刷指示を行う印刷指示手段と、前記オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体と前記オブジェクトとを表示する表示手段と、前記印刷指示手段より、前記オブジェクトを印刷する旨の印刷指示を受けた場合に、必ず前記オブジェクトの印刷プレビューを前記表示手段に表示するプレビュー表示制御手段とを備えたことを特徴とする。 According to a fifth aspect of the present invention, there is provided a print data editing apparatus according to any one of the first to fourth aspects, in addition to a print instruction means for issuing a print instruction for printing the object, and the object. Based on the object information stored in the information storage means, when receiving a print instruction for printing the object from the display means for displaying the print medium and the object, and the print instruction means, And a preview display control unit that always displays a print preview of the object on the display unit.

また、請求項に係る発明の印刷データ編集装置は、請求項1乃至のいずれかに記載の発明の構成に加え、前記被印刷媒体の使用量を少なくする節約モードにするか否かを、使用者が選択する節約モード選択手段と、前記節約モード選択手段によって前記節約モードが選択されているか否かを記憶する節約モード記憶手段と、前記節約モード記憶手段に前記節約モードであると記憶されている場合に、節約モードであると判断する節約モード判断手段とを備え、前記節約モード判断手段により前記節約モードであると判断された場合に、前記印刷データ作成制御手段が動作することを特徴とする。 Further, the print data editing apparatus of the invention according to claim 6, in addition to the configuration of the invention according to any one of claims 1 to 5, whether to save mode to reduce the amount of the printing medium Saving mode selection means selected by the user, saving mode storage means for storing whether or not the saving mode is selected by the saving mode selection means, and storing the saving mode in the saving mode storage means. A saving mode determination unit that determines that the saving mode is selected, and the printing data creation control unit operates when the saving mode determination unit determines that the saving mode is selected. Features.

また、請求項に係る発明の印刷データ編集装置は、請求項に記載の発明の構成に加え、前記オブジェクト情報記憶手段には、少なくともオブジェクトの大きさ、種類、および種類ごとの属性を含むオブジェクト情報が記憶され、前記オブジェクトの種類が文字の場合に、当該オブジェクトの領域内に、当該オブジェクトに入力された全ての文字列を前記オブジェクト情報に基づいて配置可能か否かを判断する配置可能判断手段と、前記配置可能判断手段により配置できないと判断された場合に前記オブジェクトの大きさを固定するか否かを記憶するオブジェクトサイズ変更選択記憶手段と、前記節約モード判断手段により前記節約モードであると判断された場合には、前記オブジェクトサイズ変更選択記憶手段に、前記オブジェクトの大きさを変更すると記憶されている場合であっても、前記オブジェクトの大きさの変更を行わないオブジェクトサイズ変更制御手段とを備えたことを特徴とする。 According to a seventh aspect of the present invention, in addition to the configuration of the sixth aspect of the invention, the object information storage means includes at least an object size, a type, and an attribute for each type. When object information is stored and the type of the object is a character, it is possible to arrange whether or not all character strings input to the object can be arranged in the object area based on the object information A determination means; an object size change selection storage means for storing whether or not to fix the size of the object when it is determined that the object cannot be placed by the placement enable judgment means; and the saving mode judgment means in the saving mode. If it is determined that there is a large object, it is stored in the object size change selection storage means. In a case where stored to change the is also characterized by comprising a object size change control means does not change the size of the object.

また、請求項に係る発明の印刷データ編集装置は、請求項1乃至のいずれかに記載の発明の構成に加え、前記被印刷媒体のカット位置を前記印刷データに追加するカット位置指令手段と、前記被印刷媒体を前記印刷装置が自動でカットするためのオートカット設定がされているか否かを記憶するオートカット設定記憶手段と、前記オートカット設定記憶手段に前記オートカット設定がされていると記憶されている場合には、前記印刷データ中の前記搬送方向最上流のカット位置に対しては、カットを行わないようにする最上流カット制御手段とを備えたことを特徴とする。 According to an eighth aspect of the present invention, there is provided a print data editing apparatus according to any one of the first to seventh aspects, wherein the cut position command means adds a cut position of the printing medium to the print data. Auto cut setting storage means for storing whether or not the printing apparatus automatically cuts the printing medium, and the auto cut setting storage means has the auto cut setting. If it is stored in the print data, the most upstream cut control means for not cutting the cut position at the most upstream in the transport direction in the print data is provided.

また、請求項に係る発明の印刷データ編集プログラムは、請求項1乃至のいずれかに記載の印刷データ編集装置の各種処理手段として、コンピュータを機能させる。 A print data editing program according to a ninth aspect of the invention causes a computer to function as various processing means of the print data editing apparatus according to any one of the first to eighth aspects.

請求項1に係る発明の印刷データ編集装置では、オブジェクト情報記憶手段は、印刷対象であるオブジェクトに関する位置、大きさ、内容、種類および種類ごとのいずれかを少なくとも含むオブジェクト情報を記憶し、空白領域判定手段は、オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、被印刷媒体中のどこに空白領域があるかを判定し、印刷データ作成手段は、オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、印刷データを作成し、印刷データ作成制御手段は、空白領域判定手段により判定された空白領域がなくなるように、オブジェクト情報記憶手段に記憶されているオブジェクト情報を加工した印刷データを、印刷データ作成手段に作成させる。したがって、情報の印字されない領域が無駄に被印刷媒体上に発生することを防止することにより、被印刷媒体の無駄な使用を防止することができる。
また、この印刷データ編集装置では、オブジェクト情報記憶手段は、少なくともオブジェクトの位置、大きさ、種類を含むオブジェクト情報を記憶するとともに、オブジェクトの種類が文字の場合にはオブジェクトの属性としてのオブジェクト内の文字の位置と大きさとを含むオブジェクト情報を記憶し、空白領域判定手段は、オブジェクト情報記憶手段に記憶されているオブジェクトの種類が文字である場合に、オブジェクトの位置と大きさ、及びオブジェクト内の文字の位置と大きさに基づいて、当該オブジェクト内のどこに文字列の存在しない空白領域があるかを判定し、印刷データ作成制御手段は、空白領域判定手段により、文字列よりも搬送方向の下流側に空白領域があると判定された場合には、空白領域の最下流に文字列を移動させて、印刷データ作成手段に印刷データを作成させるとともに、空白領域判定手段により、文字列よりも前記搬送方向の上流側に空白領域があると判定された場合には、オブジェクトの上流端を、文字列の上流端に移動させて、前記印刷データ作成手段に印刷データを作成させることができる。そのため、オブジェクト内に文字列の存在しない無駄な空白領域のある印刷データを被印刷媒体に印字してしまうことがない。これにより、被印刷媒体を効率的に使用して、被印刷媒体の節約をすることができる。
In the print data editing apparatus according to the first aspect of the invention, the object information storage means stores object information including at least one of position, size, content, type, and type for the object to be printed, and a blank area The determining means determines where in the print medium there is a blank area based on the object information stored in the object information storing means, and the print data creating means is the object stored in the object information storing means. Print data is created based on the information, and the print data creation control means generates print data obtained by processing the object information stored in the object information storage means so that the blank area determined by the blank area determination means disappears. Then, the print data creation means is made to create. Therefore, it is possible to prevent useless use of the printing medium by preventing an area where information is not printed from being generated on the printing medium.
In this print data editing apparatus, the object information storage means stores object information including at least the position, size, and type of the object. When the object type is a character, the object information storage means stores the object information in the object as an attribute of the object. The object information including the position and size of the character is stored, and the blank area determination unit, when the type of the object stored in the object information storage unit is a character, the position and size of the object, and in the object Based on the position and size of the character, it is determined where in the object there is a blank area where no character string exists, and the print data creation control means uses the blank area judgment means to move downstream of the character string in the transport direction. If it is determined that there is a blank area on the side, move the character string to the most downstream of the blank area The print data creating means creates the print data, and if the blank area judging means determines that there is a blank area upstream in the transport direction from the character string, the upstream end of the object is By moving to the upstream end of the character string, the print data creation means can create print data. Therefore, print data having a useless blank area in which no character string exists in the object is not printed on the printing medium. Thereby, the printing medium can be efficiently used and the printing medium can be saved.

また、請求項2に係る発明の印刷データ編集装置では、請求項1に記載の発明の効果に加え、オブジェクト情報記憶手段は、少なくともオブジェクトの位置を含むオブジェクト情報を記憶し、最小余白値記憶手段は、被印刷媒体の搬送方向下流端から、印刷可能領域の搬送方向下流端までのあらかじめ定められた距離である最小余白値を記憶し、印刷時余白値算出手段は、オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、被印刷媒体に前記印刷データを印刷した際の、被印刷媒体の搬送方向下流端からオブジェクトの前記搬送方向下流端までの距離である印刷時余白値を算出し、空白領域判定手段は、印刷時余白値算出手段により算出された印刷時余白値が最小余白値記憶手段に記憶されている最小余白値よりも大きい場合に、前記オブジェクトの搬送方向下流側に空白領域があると判定し、印刷データ作成制御手段は、前記空白領域判定手段により前記空白領域があると判定された場合には、印刷データ作成手段に、オブジェクトを移動させて、前記印刷時余白値を前記最小余白値とした印刷データを作成させる。このように、作成された印刷データの印刷時余白値が最小余白値と等しくなるなるため、被印刷媒体の搬送方向下流側の印刷時余白値を無駄に大きくとってしまうことを防止することができる。これにより、被印刷媒体を効率的に使用して、被印刷媒体の節約をすることができる。   In the print data editing apparatus according to the second aspect, in addition to the effect of the first aspect, the object information storage means stores object information including at least the position of the object, and the minimum margin value storage means. Stores a minimum margin value, which is a predetermined distance from the downstream end in the transport direction of the print medium to the downstream end in the transport direction of the printable area, and the print margin value calculation means stores in the object information storage means Based on the object information that has been printed, a printing margin value that is the distance from the downstream end in the transport direction of the print medium to the downstream end in the transport direction of the object when the print data is printed on the print medium is calculated. The blank area determination means has a printing margin value calculated by the printing margin value calculation means greater than the minimum margin value stored in the minimum margin value storage means. The print data creation control means determines that there is a blank area on the downstream side in the conveyance direction of the object, and the print data creation control means determines that the blank area is present by the blank area judgment means. Then, the object is moved to create print data with the printing margin value as the minimum margin value. As described above, since the printing margin value of the created print data becomes equal to the minimum margin value, it is possible to prevent the printing margin value on the downstream side in the transport direction of the printing medium from being unnecessarily increased. it can. Thereby, the printing medium can be efficiently used and the printing medium can be saved.

また、請求項3に係る発明の印刷データ編集装置では、請求項1または2に記載の発明の効果に加え、前記オブジェクト情報記憶手段は、少なくともオブジェクトの位置を含むオブジェクト情報を複数のオブジェクトに対し記憶し、オブジェクト最小間隔値記憶手段は、搬送方向上流側のオブジェクトの下流端と、該搬送方向下流側のオブジェクトの上流端との間の、該搬送方向における間隔のあらかじめ設定された最小値であるオブジェクトの最小間隔値を記憶し、オブジェクト間隔値算出手段は、オブジェクト情報記憶手段に記憶されている複数のオブジェクトの位置に基づいて、搬送方向上流側のオブジェクトの下流端と、搬送方向下流側のオブジェクトの上流端との間の、該搬送方向における間隔であるオブジェクトの間隔値を算出し、空白領域判定手段は、オブジェクト間隔値算出手段により算出されたオブジェクトの間隔値が、オブジェクト最小間隔値記憶手段に記憶されているオブジェクトの最小間隔値よりも大きい場合に、前記搬送方向上流側のオブジェクトの下流端と、前記搬送方向下流側のオブジェクトの上流端との間に空白領域があると判定し、印刷データ作成制御手段は、前記空白領域判定手段により前記空白領域があると判定された場合には、前記印刷データ作成手段に、前記オブジェクトを移動させて、オブジェクトの間隔値を前記オブジェクトの最小間隔値とした印刷データを作成させる。このように、作成された印刷データにおいて、オブジェクトの間隔値が最小間隔値となるので、オブジェクトの間隔値を無駄に広くとってしまうことを防止することができる。これにより、被印刷媒体を効率的に使用して、被印刷媒体の節約をすることができる。 According to a third aspect of the print data editing apparatus of the present invention, in addition to the effect of the first or second aspect of the invention, the object information storage means stores object information including at least the position of the object for a plurality of objects. The object minimum interval value storage means stores a preset minimum value of the interval in the transport direction between the downstream end of the object upstream in the transport direction and the upstream end of the object downstream in the transport direction. The minimum interval value of a certain object is stored, and the object interval value calculating unit is configured to determine the downstream end of the object on the upstream side in the transport direction and the downstream side in the transport direction based on the positions of the plurality of objects stored in the object information storage unit. The distance value of the object, which is the distance between the upstream end of the object and the transport direction, is calculated. The blank area determination unit is arranged on the upstream side in the transport direction when the object interval value calculated by the object interval value calculation unit is larger than the minimum object interval value stored in the object minimum interval value storage unit. It is determined that there is a blank area between the downstream end of the object and the upstream end of the object downstream in the transport direction, and the print data creation control unit determines that the blank area exists by the blank area determination unit. In this case, the print data creation means moves the object to create print data having the object interval value as the minimum interval value of the object. In this way, since the object interval value becomes the minimum interval value in the generated print data, it is possible to prevent the object interval value from being unnecessarily widened. Thereby, the printing medium can be efficiently used and the printing medium can be saved.

また、請求項に係る発明の印刷データ編集装置では、請求項1乃至のいずれかに記載の発明の効果に加え、オブジェクト情報記憶手段は、少なくともオブジェクトの位置を含むオブジェクト情報を記憶し、表示手段は、オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、被印刷媒体と前記オブジェクトとを表示し、カット位置算出手段は、オブジェクト情報記憶手段に記憶されているオブジェクトの位置に基づいて、被印刷媒体をカットする際のカット位置を算出し、カット位置表示制御手段は、前記カット位置算出手段によって算出されたカット位置を、前記表示手段に表示する。そのため、使用者は、カット位置がどこに算出されたのか、すなわち被印刷媒体がどこでカットされるのかを、印刷前に視覚的に確認することができる。これにより、使用者は、被印刷媒体に情報が印字されない箇所が生じる場合にはあらかじめ知ることができ、使用者が気づかないまま被印刷媒体が無駄に消費されてしまうことを防止することができる。 Further, in the print data editing apparatus according to the invention according to claim 4 , in addition to the effect of the invention according to any one of claims 1 to 3 , the object information storage means stores object information including at least the position of the object, The display means displays the printing medium and the object based on the object information stored in the object information storage means, and the cut position calculation means is based on the position of the object stored in the object information storage means. Then, the cut position for cutting the printing medium is calculated, and the cut position display control means displays the cut position calculated by the cut position calculation means on the display means. Therefore, the user can visually confirm where the cut position is calculated, that is, where the print medium is cut, before printing. As a result, the user can know in advance if there is a portion where information is not printed on the printing medium, and can prevent the printing medium from being consumed unnecessarily without the user's knowledge. .

また、請求項に係る発明の印刷データ編集装置では、請求項1乃至のいずれかに記載の発明の効果に加え、印刷指示手段は、オブジェクトを印刷するための印刷指示を行い、表示手段は、オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体と前記オブジェクトとを表示し、プレビュー表示制御手段は、前記印刷指示手段より、前記オブジェクトを印刷する旨の印刷指示を受けた場合に、必ず前記オブジェクトの印刷プレビューを前記表示手段に表示する。このように、使用者は、被印刷媒体に印刷がされる場合には必ず印刷プレビューを見ることができることから、被印刷媒体の印刷状態を印刷前に視覚的に確認することができる。これにより、使用者は、被印刷媒体に情報が印字されない箇所が生じる場合にはあらかじめ知ることができ、使用者が気づかないまま被印刷媒体が無駄に消費されてしまうことを防止することができる。 In the print data editing apparatus of the invention according to claim 5 , in addition to the effect of the invention according to any one of claims 1 to 4 , the print instruction means issues a print instruction for printing the object, and the display means Displays the medium to be printed and the object based on the object information stored in the object information storage unit, and the preview display control unit prints the print instruction from the print instruction unit to print the object. When the image is received, a print preview of the object is always displayed on the display means. As described above, since the user can always see the print preview when printing is performed on the printing medium, the printing state of the printing medium can be visually confirmed before printing. As a result, the user can know in advance if there is a portion where information is not printed on the printing medium, and can prevent the printing medium from being consumed unnecessarily without the user's knowledge. .

また、請求項に係る発明の印刷データ編集装置によれば、請求項1乃至のいずれかに記載の発明の効果に加え、節約モード選択手段によって、被印刷媒体の使用量を少なくする節約モードにするか否かを使用者が選択でき、節約モード記憶手段は、節約モード選択手段によって前記節約モードが選択されているか否かを記憶し、節約モード判断手段は、前記節約モード記憶手段に前記節約モードであると記憶されている場合に、節約モードであると判断し、前記節約モード判断手段により前記節約モードであると判断された場合に、前記印刷データ作成制御手段は動作する。これにより、被印刷媒体を節約するか否かを使用者が必要に応じて決定することができ、例えば、レイアウトを自由に配置したい使用者は、被印刷媒体を節約しない選択をすることもできる。このため、使用者の使い勝手を悪くすることがない。 Further, according to the print data editing apparatus of the invention according to claim 6 , in addition to the effect of the invention of any one of claims 1 to 5 , the save mode selection means saves to reduce the usage amount of the printing medium. The user can select whether or not to enter the mode, the saving mode storage means stores whether or not the saving mode is selected by the saving mode selection means, and the saving mode determination means stores the saving mode storage means in the saving mode storage means When the saving mode is stored, it is determined that the saving mode is selected, and when the saving mode determination unit determines that the saving mode is selected, the print data creation control unit operates. Accordingly, the user can determine whether or not to save the printing medium as necessary. For example, the user who wants to freely arrange the layout can make a selection not to save the printing medium. . For this reason, user convenience is not deteriorated.

また、請求項に係る発明の印刷データ編集装置によれば、請求項に記載の発明の効果に加え、オブジェクト情報記憶手段は、少なくともオブジェクトの大きさ、種類、および種類ごとの属性を含むオブジェクト情報を記憶し、配置可能判断手段は、オブジェクトの種類が文字の場合に、オブジェクトの領域内に、オブジェクトに入力された全ての文字列をオブジェクト情報に基づいて配置可能か否かを判断し、オブジェクトサイズ変更選択記憶手段は、配置可能判断手段により配置できないと判断された場合にオブジェクトの大きさを固定するか否かを記憶し、オブジェクトサイズ変更制御手段は、節約モード判断手段により節約モードであると判断された場合には、オブジェクトサイズ変更選択記憶手段に、オブジェクトの大きさを変更すると記憶されている場合であっても、前記オブジェクトの大きさの変更を行わない。そのため、使用者が意図しないまま、オブジェクトの大きさが変更されてしまうことを防止して、被印刷媒体の消費量が増えてしまうことを防止することができる。 According to the print data editing apparatus of the invention of claim 7 , in addition to the effect of the invention of claim 6 , the object information storage means includes at least the size, type, and attribute of each type of object. The object information is stored, and when the type of the object is a character, the arrangement possibility determining means determines whether all the character strings input to the object can be arranged in the object area based on the object information. The object size change selection storage means stores whether or not to fix the size of the object when it is determined that the object cannot be arranged by the arrangement possibility determination means, and the object size change control means uses the saving mode determination means to save the saving mode. If the object size is determined, the object size is changed in the object size change selection storage means. Then even when stored, it does not change the size of the object. Therefore, it is possible to prevent the size of the object from being changed without the intention of the user, and to prevent the consumption amount of the printing medium from increasing.

また、請求項に記載の印刷データ編集装置によれば、請求項1乃至のいずれかに記載の発明の効果に加えて、カット位置指令手段は、被印刷媒体のカット位置を印刷データに追加し、オートカット設定記憶手段は、前記被印刷媒体を前記印刷装置が自動でカットするためのオートカット設定がされているか否かを記憶し、最上流カット制御手段は、前記オートカット設定記憶手段に前記オートカット設定がされていると記憶されている場合には、前記印刷データ中の前記搬送方向最上流のカット位置に対しては、カットを行わないようにすることができる。通常、印刷装置では、印刷用ヘッドとテープカッターとは、機械的構造上の理由から、所定距離離れて配置されている。そのため、従来の印刷データ編集装置をオートカット設定状態で用いた場合には、カット位置がテープカッター位置に到達するまで被印刷媒体を搬送した後で、テープカッターを動作させていた。この場合、次の印刷が行われる際には、テープカッターの位置が被印刷媒体の下流端となるとともに印刷用ヘッドの位置が印刷領域の下流端になることから、テープカッターと印刷用ヘッドとの間には、無駄な空白領域が生じてしまう。本発明の印刷データ編集装置では、最上流のカット位置に対してはカットを行わないため、最上流のオブジェクトを印刷した後、被印刷媒体をテープカッター位置まで無印刷のまま搬送する必要がない。そのため、被印刷媒体を無駄に使用することを防止することができる。 According to the print data editing apparatus of the eighth aspect , in addition to the effect of the invention of any one of the first to seventh aspects, the cut position command means converts the cut position of the printing medium into the print data. In addition, the auto cut setting storage means stores whether or not the printing apparatus automatically cuts the printing medium, and the most upstream cut control means stores the auto cut setting storage. When it is stored in the means that the auto-cut setting has been made, it is possible not to perform cutting at the cut position at the most upstream in the transport direction in the print data. Usually, in a printing apparatus, the printing head and the tape cutter are arranged at a predetermined distance apart for reasons of mechanical structure. Therefore, when the conventional print data editing apparatus is used in the auto cut setting state, the tape cutter is operated after the printing medium is conveyed until the cut position reaches the tape cutter position. In this case, when the next printing is performed, the position of the tape cutter becomes the downstream end of the printing medium and the position of the printing head becomes the downstream end of the printing area. In the meantime, a useless blank area is generated. In the print data editing apparatus according to the present invention, the cut is not performed at the most upstream cut position, and therefore it is not necessary to transport the printing medium without printing to the tape cutter position after printing the most upstream object. . Therefore, it is possible to prevent wasteful use of the printing medium.

また、請求項に記載の印刷データ編集プログラムによれば、請求項1乃至のいずれかに記載の印刷データ編集装置の各種処理手段として、コンピュータを機能させる。そのため、請求項1乃至のいずれかに記載の発明の効果を奏することができる。 According to the print data editing program described in claim 9 , the computer is caused to function as various processing means of the print data editing apparatus according to any one of claims 1 to 8 . Therefore, the effect of the invention according to any one of claims 1 to 8 can be achieved.

以下、本発明の実施の形態について、図面を参照して説明する。まず、印刷装置1および本発明に係る「印刷データ編集プログラム」が搭載されているパーソナルコンピュータ2について、図1乃至図4を参照して説明する。図1は、印刷装置1及びパーソナルコンピュータ2の概略を示す外観斜視図であり、図2は、パーソナルコンピュータ2の電気的構成を示すブロック図である。また、図3は、HDD60の構成を示す模式図であり、図4は、RAM80の構成を示す模式図である。なお、パーソナルコンピュータ2が、本発明に係る「印刷データ編集装置」に相当する。   Embodiments of the present invention will be described below with reference to the drawings. First, a personal computer 2 on which the printing apparatus 1 and the “print data editing program” according to the present invention are installed will be described with reference to FIGS. FIG. 1 is an external perspective view schematically showing the printing apparatus 1 and the personal computer 2, and FIG. 2 is a block diagram showing the electrical configuration of the personal computer 2. FIG. 3 is a schematic diagram showing a configuration of the HDD 60, and FIG. 4 is a schematic diagram showing a configuration of the RAM 80. The personal computer 2 corresponds to a “print data editing apparatus” according to the present invention.

図1に示すように、パーソナルコンピュータ2と印刷装置1とは、例えばUSB等の規格に基づくUSBケーブル10により接続されており、USBケーブル10を介してデータの授受を行っている。パーソナルコンピュータ2は、周知のパーソナルコンピュータであり、図1に示すように、CPU50等(図2参照)を備えた本体21と、モニタ31と、キーボード41、マウス42とを備えており、モニタ31、キーボード41、マウス42はそれぞれ本体21に接続ケーブルによって接続されている。そして、パーソナルコンピュータ2は、本発明に係る印刷データ編集プログラムが組み込まれたアプリケーションで作成された画像データに基づいて印刷データを作成し、作成された印刷データを印刷装置1へ送信する。   As shown in FIG. 1, the personal computer 2 and the printing apparatus 1 are connected by a USB cable 10 based on a standard such as USB, for example, and exchange data via the USB cable 10. The personal computer 2 is a well-known personal computer, and as shown in FIG. 1, includes a main body 21 having a CPU 50 and the like (see FIG. 2), a monitor 31, a keyboard 41, and a mouse 42. The keyboard 41 and the mouse 42 are connected to the main body 21 by connection cables. The personal computer 2 creates print data based on image data created by an application in which the print data editing program according to the present invention is incorporated, and transmits the created print data to the printing apparatus 1.

また、図1に示すように、印刷装置1としてのテーププリンタは略直方体形状の筐体12でケーシングされており、その前面(図1における右手前方向の面)にはテープ17を排出するための排出口13が設けられている。また、筐体12の左側面の内部にはテープカセット収納部14が設けられており、筐体12の左側面に設けられたカバー15を開放してテープカセット(図示外)を着脱可能に装着することができる。このテープカセットには、テープ17が収容されている。また、テープカセット収納部14には、複数の発熱素子を有するサーマルヘッドとそのサーマルヘッドに当接されるプラテンローラとの間にテープ17を走行させてそのテープ17に印字する印刷機構が設けられており、装着されたテープカセットのテープ17は、印刷機構で印刷され、印刷機構のテープカッターによりカットされて、排出口13から排出される。なお、パーソナルコンピュータ2に接続する印刷装置1は、このような形状のテーププリンタに限らず、他の形状のテーププリンタや、インクジェットプリンタやレーザプリンタやドットプリンタであってもよい。   Further, as shown in FIG. 1, the tape printer as the printing apparatus 1 is casing in a substantially rectangular parallelepiped housing 12, and the tape 17 is discharged to the front surface (the surface in the right front direction in FIG. 1). A discharge port 13 is provided. In addition, a tape cassette housing portion 14 is provided inside the left side surface of the housing 12, and a cover 15 provided on the left side surface of the housing 12 is opened to detachably mount a tape cassette (not shown). can do. Tape 17 is accommodated in this tape cassette. The tape cassette housing section 14 is provided with a printing mechanism for printing the tape 17 by running the tape 17 between a thermal head having a plurality of heating elements and a platen roller in contact with the thermal head. The tape 17 of the mounted tape cassette is printed by the printing mechanism, cut by the tape cutter of the printing mechanism, and discharged from the discharge port 13. The printing apparatus 1 connected to the personal computer 2 is not limited to the tape printer having such a shape, but may be a tape printer having another shape, an ink jet printer, a laser printer, or a dot printer.

次に、図2を参照して、パーソナルコンピュータ2の電気的構成について説明する。図2に示すように、パーソナルコンピュータ2には、パーソナルコンピュータ2の制御を司るCPU50が設けられている。このCPU50には、CPU50が実行するBIOS等のプログラムを記憶したROM51と、データを一時的に記憶するRAM80と、データの記憶媒体であるCD−ROM54を挿入し、データの読み込みを行うCD−ROMドライブ53と、データの記憶装置であるHDD60とが、バス55を介して接続されている。   Next, the electrical configuration of the personal computer 2 will be described with reference to FIG. As shown in FIG. 2, the personal computer 2 is provided with a CPU 50 that controls the personal computer 2. The CPU 50 includes a ROM 51 that stores a program such as a BIOS executed by the CPU 50, a RAM 80 that temporarily stores data, and a CD-ROM 54 that is a data storage medium, and a CD-ROM that reads data. A drive 53 and an HDD 60 that is a data storage device are connected via a bus 55.

さらに、CPU50には、バス55を介して、印刷装置1を含めた外部機器(デバイス)との通信を行うためのUSBインタフェース70と、利用者に操作画面を表示するためのモニタ31の画面表示処理を行う表示制御部30と、利用者が操作の入力を行うキーボード41やマウス42に接続され、それらの入力の検知を行う入力検知部40とが、接続されている。なお、パーソナルコンピュータ2には、図示外のフレキシブルディスクドライブ、音声等の入出力部、各種インタフェースなどが設けられていてもよい。   Further, the CPU 50 displays the screen of the USB interface 70 for communicating with external devices (devices) including the printing apparatus 1 via the bus 55 and the monitor 31 for displaying an operation screen to the user. A display control unit 30 that performs processing, and an input detection unit 40 that is connected to a keyboard 41 and a mouse 42 on which a user inputs operations and detects those inputs are connected. The personal computer 2 may be provided with a flexible disk drive (not shown), an input / output unit for voice, various interfaces, and the like.

また、CD−ROM54には、印刷データ編集プログラムや、印刷データ編集プログラ
ムの実行時に使用される設定やデータ等が記憶されており、導入時には、CD−ROM54からHDD60に設けられたプログラム記憶エリア610やプログラム関係情報記憶エリア620に記憶されるようになっている。尚、パーソナルコンピュータ2の印刷データ編集プログラム及びその使用データ等の取得方法はCD−ROM54によるものに限らず、フレキシブルディスクやMOといった他の記録媒体であってもよく、また、パーソナルコンピュータ2をネットワークに接続させ、ネットワーク上の他の端末から取得してもよい。
The CD-ROM 54 stores a print data editing program, settings and data used when the print data editing program is executed, and a program storage area 610 provided in the HDD 60 from the CD-ROM 54 at the time of introduction. And the program-related information storage area 620. The print data editing program of the personal computer 2 and the method for acquiring the use data are not limited to those using the CD-ROM 54, but may be another recording medium such as a flexible disk or MO. May be acquired from another terminal on the network.

次に、図3を参照して、HDD60に設けられている記憶エリアについて説明する。HDD60には、パーソナルコンピュータ2で実行される各種のプログラムを記憶するプログラム記憶エリア610とプログラムの実行に必要な情報を記憶したプログラム関係情報記憶エリア620とが設けられている。さらに、HDD60には、印刷装置1に関する情報を記憶した印刷装置情報記憶エリア630、後述するレイアウト編集画面(図5参照)で編集されるレイアウトに関する情報を記憶するレイアウト情報記憶エリア640、使用者が設定した設定情報を記憶する設定情報記憶エリア650が設けられている。   Next, a storage area provided in the HDD 60 will be described with reference to FIG. The HDD 60 is provided with a program storage area 610 for storing various programs executed by the personal computer 2 and a program related information storage area 620 for storing information necessary for executing the programs. Further, the HDD 60 includes a printing apparatus information storage area 630 that stores information related to the printing apparatus 1, a layout information storage area 640 that stores information related to a layout edited on a layout editing screen (see FIG. 5) described later, and a user A setting information storage area 650 for storing the set setting information is provided.

プログラム関係情報記憶エリア620には、少なくとも、レイアウトに配置される複数のオブジェクトの間隔の最小値である最小間隔値Sminを記憶する最小間隔値記憶エリア621が設けられる。なお、本実施形態の印刷装置1においては、最小間隔値Sminとして1mmが記憶されているものとする。   The program-related information storage area 620 is provided with at least a minimum interval value storage area 621 for storing a minimum interval value Smin that is the minimum value of intervals between a plurality of objects arranged in the layout. In the printing apparatus 1 of the present embodiment, 1 mm is stored as the minimum interval value Smin.

また、印刷装置情報記憶エリア630には、印刷装置1ごとに定められているテープ搬送方向下流端から印刷可能領域の下流端までの距離である最小余白値Bminを記憶する最小余白値記憶エリア631少なくとも設けられる。なお、本実施形態の印刷装置1においては、最小余白値Bminとして1mmが記憶されているものとする。   The printing apparatus information storage area 630 stores a minimum margin value storage area 631 that stores a minimum margin value Bmin that is a distance from the downstream end in the tape transport direction determined for each printing apparatus 1 to the downstream end of the printable area. At least provided. In the printing apparatus 1 of the present embodiment, 1 mm is stored as the minimum margin value Bmin.

さらに、設定情報記憶エリア650には、使用者が選択した印刷方法を記憶する印刷オプション情報記憶エリア651と、後述する節約モードに関する情報を記憶する節約モード情報記憶エリア652と、テキストの制御に関する情報を記憶するテキスト制御情報記憶エリア653とが設けられている。印刷オプション情報記憶エリア651には、印刷後のテープ17を自動カットするか否かを記憶するオートカットフラグ記憶エリア6511と、テープ搬送方向最上流のカット位置に対して実際にカットするか否かを記憶する、つなげて印刷フラグ記憶エリア6512とが設けられている。また、テキスト制御情報記憶エリア653には、テキストオブジェクトの枠サイズを固定するか否かを記憶する枠サイズ固定フラグ記憶エリア6531が設けられている。   Further, the setting information storage area 650 includes a print option information storage area 651 for storing a printing method selected by the user, a saving mode information storage area 652 for storing information related to a saving mode, which will be described later, and information relating to text control. And a text control information storage area 653 for storing. The print option information storage area 651 includes an auto cut flag storage area 6511 for storing whether or not the tape 17 after printing is automatically cut, and whether or not the cut is actually performed with respect to the cut position at the most upstream in the tape transport direction. And a print flag storage area 6512 is provided. The text control information storage area 653 is provided with a frame size fixing flag storage area 6531 for storing whether or not the frame size of the text object is fixed.

節約モード情報記憶エリア652には、後述する「メディア節約モード」を有効にする設定となっているか否かを記憶するメディア節約モード有効フラグ記憶エリア6521と、テープ17の余白値を最小にして印刷を行う設定となっているか否かを記憶する用紙余白最小化フラグ記憶エリア6522と、レイアウトに配置される複数のオブジェクトの間隔を最小にする設定となっているか否かを記憶するオブジェクト間隔値最小化フラグ記憶エリア6523とが設けられる。また、節約モード情報記憶エリア652には、オブジェクトの種類がテキストである場合にオブジェクト内の空白をなくす設定となっているか否かを記憶するテキストオブジェクト内空白領域削除フラグ記憶エリア6524と、オブジェクトの大きさを固定する設定となっているか否かを記憶する枠サイズ固定フラグ記憶エリア6525とが設けられている。節約モード情報記憶エリア652には、さらに、テープ17を印刷する際にはかならずプレビュー表示をする設定となっているか否かを記憶する印刷プレビュー表示フラグ記憶エリア6526と、レイアウト画面上にカット位置を表示させる設定となっているか否かを記憶するカット位置表示フラグ記憶エリア6527と、印刷後のテープ17を自動カットする設定となっている場合には、必ず最上流のカット位置に対してはカットを行わない設定となっているか否かを記憶する印刷オプション固定フラグ記憶エリア6528とが設けられている。   In the saving mode information storage area 652, a medium saving mode valid flag storage area 6521 for storing whether or not “media saving mode” described later is set to be valid, and printing with the margin value of the tape 17 minimized. Paper margin minimization flag storage area 6522 for storing whether or not the setting is performed, and the minimum object interval value for storing whether or not the setting is set to minimize the interval between a plurality of objects arranged in the layout. And an enable flag storage area 6523 are provided. Further, the saving mode information storage area 652 includes a text object blank area deletion flag storage area 6524 for storing whether or not a blank is set in the object when the object type is text, A frame size fixing flag storage area 6525 for storing whether or not the size is set is provided. The saving mode information storage area 652 further includes a print preview display flag storage area 6526 for storing whether or not preview display is always set when the tape 17 is printed, and a cut position on the layout screen. When the cut position display flag storage area 6527 for storing whether or not it is set to be displayed and the setting for automatically cutting the tape 17 after printing, the cut is always made at the most upstream cut position. A print option fixed flag storage area 6528 for storing whether or not the setting is made so as not to be performed.

次に、図4を参照して、RAM80に設けられている記憶エリアについて説明する。上述したHDD60の記憶エリアに記憶された情報は、電源を切っても消えない一方で、RAM80に設けられた記憶エリアに記憶された情報は、電源を切ると消えてしまう。そのため、RAM80の記憶エリアには、任意の入力を行う間、一時的に記憶していればよい情報が記憶される。   Next, the storage area provided in the RAM 80 will be described with reference to FIG. The information stored in the storage area of the HDD 60 described above does not disappear even when the power is turned off, while the information stored in the storage area provided in the RAM 80 disappears when the power is turned off. For this reason, the storage area of the RAM 80 stores information that only needs to be temporarily stored while any input is performed.

RAM80には、レイアウト編集画面(図5参照)で編集されるレイアウトに関する情報を一時的に記憶するレイアウト情報一時記憶エリア810、後述する節約モードに関する情報や、テキストの制御方法に関する情報を一時的に記憶する設定情報一時記憶エリア820、および印刷データに関する情報を記憶する印刷データ記憶エリア830が設けられている。   The RAM 80 temporarily stores a layout information temporary storage area 810 for temporarily storing information relating to a layout edited on the layout editing screen (see FIG. 5), information relating to a saving mode described later, and information relating to a text control method. A setting information temporary storage area 820 to be stored and a print data storage area 830 to store information related to print data are provided.

レイアウト情報一時記憶エリア810には、レイアウトに配置されるオブジェクトの情報を記憶するオブジェクト情報記憶エリア811が設けられる。また、設定情報一時記憶エリア820には、メディア節約モード設定画面300(図7参照)で設定される節約モードに関する情報を、設定処理の間だけ一時的に記憶する節約モード情報一時記憶エリア821が設けられる。この節約モード情報一時記憶エリア821に記憶された情報は、使用者が所定の指示を行うことにより、HDD60の「節約モード情報記憶エリア652」に記憶される。   The layout information temporary storage area 810 is provided with an object information storage area 811 for storing information of objects arranged in the layout. The setting information temporary storage area 820 includes a saving mode information temporary storage area 821 for temporarily storing information related to the saving mode set on the media saving mode setting screen 300 (see FIG. 7) only during the setting process. Provided. The information stored in the saving mode information temporary storage area 821 is stored in the “saving mode information storage area 652” of the HDD 60 when the user gives a predetermined instruction.

節約モード情報一時記憶エリア821には、後述するメディア節約モードを有効にする設定となっているか否かを記憶するメディア節約モード有効フラグ記憶エリア8211と、テープ17の余白値を最小にして印刷を行う設定となっているか否かを記憶する用紙余白最小化フラグ記憶エリア8212と、レイアウトに配置される複数のオブジェクトの間隔を最小にする設定となっているか否かを記憶するオブジェクト間隔値最小化フラグ記憶エリア8213とが設けられる。また、節約モード情報一時記憶エリア821には、オブジェクトの種類がテキストである場合にオブジェクト内の空白をなくす設定となっているか否かを記憶するテキストオブジェクト内空白領域削除フラグ記憶エリア8214と、オブジェクトの大きさを固定する設定となっているか否かを記憶する枠サイズ固定フラグ記憶エリア8215とが設けられている。さらに、節約モード情報一時記憶エリア821には、さらに、テープ17を印刷する際にはかならずプレビュー表示をする設定となっているか否かを記憶する印刷プレビュー表示フラグ記憶エリア8216と、レイアウト編集画面(図5参照)の作業領域150にカット位置145を表示させる設定となっているか否かを記憶するカット位置表示フラグ記憶エリア8217と、印刷オプションを固定する設定となっているか否かを記憶する印刷オプション固定フラグ記憶エリア8218とが設けられている。   In the saving mode information temporary storage area 821, a medium saving mode valid flag storage area 8211 for storing whether or not a setting for enabling a medium saving mode to be described later is set, and printing with the margin value of the tape 17 minimized. Paper margin minimization flag storage area 8212 for storing whether or not the setting is to be performed, and object interval value minimization for storing whether or not the setting is to minimize the interval between a plurality of objects arranged in the layout A flag storage area 8213 is provided. Further, the saving mode information temporary storage area 821 has a text object blank area deletion flag storage area 8214 for storing whether or not a blank in the object is set when the object type is text, and an object A frame size fixing flag storage area 8215 for storing whether or not the setting is fixed is provided. Further, the saving mode information temporary storage area 821 further includes a print preview display flag storage area 8216 for storing whether or not the preview display is always set when the tape 17 is printed, and a layout editing screen ( The cut position display flag storage area 8217 for storing whether or not it is set to display the cut position 145 in the work area 150 of FIG. 5) and the print for storing whether or not the setting is to fix the print option. An option fixed flag storage area 8218 is provided.

また、設定情報一時記憶エリア820には、テキストの制御に関する情報を記憶するテキスト制御情報一時記憶エリア822が設けられている。このテキスト制御情報一時記憶エリア822には、テキストオブジェクトの枠サイズを固定するか否かを記憶する枠サイズ固定フラグ記憶エリア8221が設けられている。   The setting information temporary storage area 820 is provided with a text control information temporary storage area 822 for storing information related to text control. The text control information temporary storage area 822 is provided with a frame size fixing flag storage area 8221 for storing whether or not the frame size of the text object is fixed.

印刷データ記憶エリア830には、印刷用に加工したオブジェクト情報を記憶するための印刷用加工オブジェクト情報記憶エリア831が設けられている。そして、印刷用加工オブジェクト情報記憶エリア831には、オブジェクト種類が記憶されるオブジェクト種類欄8311、オブジェクト位置が記憶されるオブジェクト位置欄8312、オブジェクト内容が記憶されるオブジェクト内容欄8313、およびテキストオブジェクトについてのみオブジェクト属性に関する情報が記憶されるオブジェクト属性欄8314が設けられている。またオブジェクト属性欄8314には、属性としての文字位置が記憶される位置欄8315、文字サイズが記憶されるサイズ欄8316、文字のフォントが記憶されるフォント欄8317、および文字内容が記憶される内容欄8318が設けられている。   The print data storage area 830 is provided with a print processed object information storage area 831 for storing object information processed for printing. Then, in the processed object information storage area 831 for printing, an object type field 8311 for storing object types, an object position field 8312 for storing object positions, an object content field 8313 for storing object contents, and text objects Only an object attribute column 8314 is provided for storing information related to object attributes. In the object attribute column 8314, a position column 8315 for storing character positions as attributes, a size column 8316 for storing character sizes, a font column 8317 for storing character fonts, and contents for storing character contents. A column 8318 is provided.

次に、図5を参照して、パーソナルコンピュータ2で起動するエディタ100について説明する。図5は、印刷装置1に印刷する文字等を入力するためのエディタ100の説明図である。エディタ100は、印刷データ編集プログラムの動作により、パーソナルコンピュータ2のモニタ31に表示され、キーボード41やマウス42の操作によりデータ入力や指示が行われる。   Next, with reference to FIG. 5, the editor 100 that is activated on the personal computer 2 will be described. FIG. 5 is an explanatory diagram of the editor 100 for inputting characters to be printed on the printing apparatus 1. The editor 100 is displayed on the monitor 31 of the personal computer 2 by the operation of the print data editing program, and data input and instructions are performed by operating the keyboard 41 and the mouse 42.

図5に示すように、エディタ100の上部には、操作指示を行うためのメニューバー110及びツールバー120が設けられている。ツールバー120には、使用者が印刷指示を行うための印刷ボタン121が設けられている。また、エディタ100の下半分には、印刷装置1で印刷する文字等を編集するための作業領域150が設けられており、作業領域150には、オブジェクトの画像(テキストオブジェクト141,143,イメージオブジェクト142)と用紙の形状の画像(用紙画像149)からなるレイアウト140が表示されている。なお、作業領域150内の矢印は、マウスカーソル155である。そして、作業領域150の左には、作業領域150で入力するツールの種類(文字、線、四角、曲線等)を指定する(入力モードの選択)ためのツールボックス132が設けられている。このようなエディタ100をキーボード41やマウス42で操作することにより、印刷装置1で印刷する情報を編集することができる。   As shown in FIG. 5, a menu bar 110 and a tool bar 120 for performing operation instructions are provided at the top of the editor 100. The toolbar 120 is provided with a print button 121 for the user to issue a print instruction. A work area 150 for editing characters and the like to be printed by the printing apparatus 1 is provided in the lower half of the editor 100. The work area 150 includes object images (text objects 141, 143, image objects). 142) and a paper shape image (paper image 149). The arrow in the work area 150 is a mouse cursor 155. On the left side of the work area 150, a tool box 132 for designating (selecting an input mode) the type of tool (character, line, square, curve, etc.) input in the work area 150 is provided. By operating such an editor 100 with the keyboard 41 and the mouse 42, information to be printed by the printing apparatus 1 can be edited.

ここで、RAM80のオブジェクト情報記憶エリア811について、図6を参照して説明する。図6は、図5の作業領域150に表示されるオブジェクトの情報が記憶されるオブジェクト情報一時記憶エリアの構成を示す模式図である。オブジェクト情報記憶エリア811は、作業領域150においてレイアウト140の編集をする間、レイアウトに配置されるオブジェクトに関する情報を、記憶するエリアであり、図6に示すように、オブジェクト番号欄、種類情報欄、位置情報欄、内容情報欄、属性情報欄が設けられている。オブジェクト番号欄にはオブジェクトを識別する為の番号が記憶され、種類情報欄にはオブジェクトの種類が記憶されている。また、位置情報欄には用紙の左上からオブジェクトの上下左右までの距離が記憶され、内容情報欄にはオブジェクトが文字オブジェクトであれば表示される文字情報、イメージオブジェクトであれば画像データ等が記憶されている。さらに、属性情報欄には、オブジェクトの種類に応じた属性が記憶される。すなわち、オブジェクトがテキストオブジェクトであれば、オブジェクトの左上から文字列の上下左右の距離、文字サイズ、フォントなどの属性が記憶され、オブジェクトがイメージオブジェクトであれば、解像度などの属性が記憶される。   Here, the object information storage area 811 of the RAM 80 will be described with reference to FIG. FIG. 6 is a schematic diagram showing a configuration of an object information temporary storage area in which object information displayed in the work area 150 of FIG. 5 is stored. The object information storage area 811 is an area for storing information related to objects arranged in the layout while the layout 140 is edited in the work area 150. As shown in FIG. 6, the object number field, the type information field, A position information column, a content information column, and an attribute information column are provided. A number for identifying the object is stored in the object number column, and the type of the object is stored in the type information column. In the position information column, the distance from the upper left of the sheet to the top, bottom, left and right of the object is stored. In the content information column, character information to be displayed is stored if the object is a character object, and image data is stored if the object is an image object. Has been. Furthermore, an attribute corresponding to the type of object is stored in the attribute information column. That is, if the object is a text object, attributes such as the vertical and horizontal distances, character size, and font from the upper left of the object are stored, and if the object is an image object, attributes such as resolution are stored.

図6に示す例では、オブジェクト情報記憶エリアには、テキストオブジェクト2つ、イメージオブジェクト1つについての情報が記憶されている。オブジェクト番号1のテキストオブジェクトは、用紙の左上からオブジェクト上端までの距離(Top値)が5mm、左端までの距離(Left値)が30mm、下端までの距離(Bottom値)が28mm、右端までの距離(Right値)が70mmの位置に配置されている。この、Top値とBottom値との差である23mmがオブジェクト番号1のテキストオブジェクトの高さを表し、Left値とRight値との差である40mmが幅を表す。また、オブジェクト番号1のテキストオブジェクトには、「ABC」という文字列が記憶され、この「ABC」という文字列は、用紙の左上から文字列の上端までの距離(Top値)が5mm、左端までの距離(Left値)が30mm、下端までの距離(Bottom値)が28mm、右端までの距離(Right値)が70mmの位置に配置されている。ここで、オブジェクトの有する位置情報と、文字列の有する位置情報が一致することから、このオブジェクト番号1のテキストオブジェクトにおいては、オブジェクト枠と文字列「ABC」との間には、情報の表示されていない空白領域は存在していないことになる。   In the example shown in FIG. 6, information about two text objects and one image object is stored in the object information storage area. The text object with object number 1 has a distance (Top value) from the top left of the paper to the top of the object of 5 mm, a distance to the left end (Left value) of 30 mm, a distance to the bottom (Bottom value) of 28 mm, and a distance to the right end. (Right value) is arranged at a position of 70 mm. The difference between the Top value and the Bottom value is 23 mm, which represents the height of the text object with the object number 1, and the difference between the Left value and the Right value is 40 mm. In addition, a text string “ABC” is stored in the text object of object number 1, and this text string “ABC” has a distance (Top value) from the upper left of the paper to the upper end of the text string of 5 mm to the left end. Distance (Left value) is 30 mm, the distance to the lower end (Bottom value) is 28 mm, and the distance to the right end (Right value) is 70 mm. Here, since the position information of the object matches the position information of the character string, in the text object with the object number 1, information is displayed between the object frame and the character string “ABC”. There is no blank area that does not exist.

このオブジェクト番号1のテキストオブジェクトが、作業領域150においてレイアウトに配置されると、図5のレイアウト140のテキストオブジェクト141のように表示される。ここで、テキストオブジェクト141がオブジェクト情報記憶エリアに記憶される位置情報として「Left値:30mm」を持つことより、図5に示すレイアウト140の上では、テキストオブジェクト141の左側に幅x1が30mmの空白領域161が存在することになる。   When the text object of object number 1 is arranged in the layout in the work area 150, it is displayed like the text object 141 of the layout 140 in FIG. Here, since the text object 141 has “Left value: 30 mm” as the position information stored in the object information storage area, the width x1 is 30 mm on the left side of the text object 141 on the layout 140 shown in FIG. A blank area 161 exists.

また、オブジェクト番号2のイメージオブジェクトは、用紙の左上からオブジェクト上端までの距離(Top値)が15mm、左端までの距離(Left値)が100mm、下端までの距離(Bottom値)が32mm、右端までの距離(Right値)が110mmの位置に配置され、花型のイメージが記憶されている。このイメージオブジェクトがオブジェクトの存在していないレイアウトに配置されると、図5のレイアウト140のイメージオブジェクト142のように表示される。ここで、テキストオブジェクト141の有する「Right値:70」とイメージオブジェクト142有する「Left値:100」との間には、30mmの差がある。つまり、図5に示すレイアウト140の上では、テキストオブジェクト141の右端とイメージオブジェクト142の左端との間に幅x2が30mmの空白領域162が存在することになる。   Further, the image object of object number 2 has a distance (Top value) from the upper left of the paper to the upper end of the object of 15 mm, a distance to the left end (Left value) of 100 mm, a distance to the lower end (Bottom value) of 32 mm, and to the right end. The distance (Right value) is 110 mm, and a flower-shaped image is stored. When this image object is arranged in a layout in which no object exists, it is displayed like an image object 142 in the layout 140 of FIG. Here, there is a difference of 30 mm between “Right value: 70” of the text object 141 and “Left value: 100” of the image object 142. That is, on the layout 140 shown in FIG. 5, a blank area 162 having a width x2 of 30 mm exists between the right end of the text object 141 and the left end of the image object 142.

また、オブジェクト番号3のテキストオブジェクトは、用紙の左上からオブジェクト上端までの距離(Top値)が5mm、左端までの距離(Left値)が150mm、下端までの距離(Bottom値)が15mm、右端までの距離(Right値)が210mmの位置に配置され、「abc」という文字列が記憶されている。また、この「abc」という文字列は、用紙の左上から文字列の上端までの距離(Top値)が5mm、左端までの距離(Left値)が170mm、下端までの距離(Bottom値)が15mm、右端までの距離(Right値)が190mmの位置に配置されている。   The text object of object number 3 has a distance (Top value) from the upper left of the paper to the upper end of the object of 5 mm, a distance to the left end (Left value) of 150 mm, a distance to the lower end (Bottom value) of 15 mm, and to the right end. Distance (Right value) is arranged at a position of 210 mm, and a character string “abc” is stored. The character string “abc” has a distance (Top value) from the upper left of the paper to the upper end of the character string of 5 mm, a distance to the left end (Left value) of 170 mm, and a distance to the lower end (Bottom value) of 15 mm. The distance to the right end (Right value) is disposed at a position of 190 mm.

このオブジェクト番号3のテキストオブジェクトが、作業領域150においてレイアウトに配置されると、図5のレイアウト140のテキストオブジェクト143のように表示される。ここで、テキストオブジェクト143の有するLeft値:150mmとテキストオブジェクト143の文字列「abc」の有するLeft値:170mmとの間には、20mmの差があることから、レイアウト140の上では、テキストオブジェクト143の左端と文字列abcの左端との間に幅x32が20mmの空白領域164が存在することになる。また、テキストオブジェクト143の有するRight値:210mmとテキストオブジェクト143の文字列「abc」の有するRight値:190mmとの間には、20mmの差があることから、レイアウト140の上では、テキストオブジェクト143の左端と文字列abcの左端との間に幅x4が20mmの空白領域165が存在することになる。   When the text object of object number 3 is arranged in the layout in the work area 150, it is displayed like the text object 143 of the layout 140 in FIG. Here, since there is a difference of 20 mm between the Left value of the text object 143: 150 mm and the Left value of the text string “abc” of the text object 143: 170 mm, the text object is displayed on the layout 140. A blank area 164 having a width x32 of 20 mm exists between the left end of 143 and the left end of the character string abc. Further, since there is a difference of 20 mm between the Right value of the text object 143: 210 mm and the Right value of the text string “abc” of the text object 143: 190 mm, the text object 143 is displayed on the layout 140. A blank area 165 having a width x4 of 20 mm exists between the left end of the character string abc and the left end of the character string abc.

さらに、イメージオブジェクト142の有するRight値:110と、テキストオブジェクト143の有するLeft値:150との間には40mmの差があることから、図5に示すレイアウト140の上では、イメージオブジェクト142の右端とテキストオブジェクト143の左端との間に幅x31が40mmの空白領域163が存在することになる。これらにより、レイアウト140の上では、イメージオブジェクト142の右端とテキストオブジェクト143内の文字列「abc」の左端との間には、つまり、幅x31+x32が(40mm+20mm=60mm)の空白領域163,164が存在することになる。   Further, since there is a difference of 40 mm between the Right value 110 that the image object 142 has and the Left value 150 that the text object 143 has, on the layout 140 shown in FIG. And a blank area 163 having a width x31 of 40 mm exists between the text object 143 and the left end of the text object 143. As a result, on the layout 140, between the right end of the image object 142 and the left end of the character string “abc” in the text object 143, that is, blank areas 163 and 164 having a width x31 + x32 (40 mm + 20 mm = 60 mm). Will exist.

次に、図5、図7および図8を参照して、本発明の要部である「メディア節約モード」の概略および「メディア節約モード」に関する設定の入力を行うメディア節約モード設定画面300について説明する。図7は、「メディア節約モード」を設定するためのメディア節約モード設定画面300であり、図8は、メディア節約モードが有効でない状態で、レイアウト140を印刷した場合のテープ17の説明図である。「メディア節約モード」とは、使用者が意図しないところでテープ17が無駄に消費されることを防止するためのモードであり、ここでは、図5に示すレイアウト140を印刷する場合を例に挙げて説明する。   Next, with reference to FIGS. 5, 7, and 8, an outline of the “media saving mode” that is a main part of the present invention and a media saving mode setting screen 300 for inputting settings relating to the “media saving mode” will be described. To do. FIG. 7 is a media saving mode setting screen 300 for setting the “media saving mode”, and FIG. 8 is an explanatory diagram of the tape 17 when the layout 140 is printed in a state where the media saving mode is not valid. . The “media saving mode” is a mode for preventing the tape 17 from being consumed in an unintended manner by the user. Here, a case where the layout 140 shown in FIG. 5 is printed is taken as an example. explain.

この「メディア節約モード」に関する設定の入力は、図7に示すメディア節約モード設定画面300により行われる。メディア節約モード設定画面300を表示するためには、以下の操作を行う。まず、図5におけるメニューバー110の「ツール」メニューの選択により表示されるメニューから「オプション」を選択すると、オプション画面が表示される。このオプション画面の中から「印刷」タブを選択することにより、図7に示すメディア節約モード設定画面300は表示される。   The setting regarding the “media saving mode” is input on the media saving mode setting screen 300 shown in FIG. In order to display the media saving mode setting screen 300, the following operation is performed. First, when “Option” is selected from the menu displayed by selecting the “Tool” menu on the menu bar 110 in FIG. 5, an option screen is displayed. By selecting the “Print” tab from the option screen, the media saving mode setting screen 300 shown in FIG. 7 is displayed.

メディア節約モード設定画面300には、図7に示すように、設定可能な節約モードの説明文が記載されたチェックボックス311〜318が表示された詳細設定画面310が表示されている。また、詳細設定画面310の右下には、OKボタン320と、キャンセルボタン330とが表示されている。   As shown in FIG. 7, the media saving mode setting screen 300 displays a detailed setting screen 310 in which check boxes 311 to 318 in which explanatory texts of settable saving modes are described are displayed. Further, an OK button 320 and a cancel button 330 are displayed at the lower right of the detailed setting screen 310.

詳細設定画面310には、「メディア節約モードを有効にする」との説明文の記載されたメディア節約モード有効チェックボックス311、「用紙余白を最小にする」との説明文の記載された用紙余白値最小化チェックボックス312、「印刷時にオブジェクトの間隔を自動調整する」との説明文の記載されたオブジェクト間隔値最小化チェックボックス313、「テキストオブジェクト内で用紙送り方向に空白が存在する場合はつめる」との説明文の記載されたテキストオブジェクト内空白削除チェックボックス314、「テキストオブジェクトの枠サイズを固定にする」との説明文の記載された枠サイズ固定チェックボックス315、「印刷時に必ずプレビューを表示する」との説明文の記載された印刷プレビュー表示チェックボックス316、「レイアウトにカット位置を表示する」との説明文の記載されたカット位置表示チェックボックス317、「「オートカットON」とした場合、必ず「つなげて印刷ON」にする」との説明文の記載された印刷オプション固定チェックボックス318とが設けられている。   The detailed setting screen 310 has a media saving mode enable check box 311 with an explanation “Enable media saving mode” and a paper margin with an explanation “Minimize paper margin”. Value minimization check box 312, object interval value minimization check box 313 with the description “automatically adjust object spacing during printing”, “fill if there is a blank in the paper feed direction in the text object "In-text-object-space-blank-deletion check box 314 with description" and "Fix frame size of text object" with frame size fixing check box 315 with description, "Be sure to preview when printing" Print preview display check box with the description "Display" 16. A cut position display check box 317 with an explanatory statement “Display cut position on layout”, “When“ Auto cut ON ”is selected,“ Connect and print ON ”always” And a print option fixing check box 318 described in FIG.

これらのチェックボックス311〜318にチェックされると、図4に示すRAM80の節約モード情報一時記憶エリア821の中の各フラグ記憶エリア8211〜8218に「1」が記憶されて、各フラグが「ON」とされる。一方、チェックボックス311〜318のチェックがはずされると、各フラグ記憶エリア8211〜8218に「0」が記憶されて「メディア節約モード有効フラグが「OFF」」とされる。このようなメディア節約モード設定画面300への入力による具体的な処理の詳細は後述する。   When these check boxes 311 to 318 are checked, “1” is stored in each flag storage area 8211 to 8218 in the saving mode information temporary storage area 821 of the RAM 80 shown in FIG. " On the other hand, when the check boxes 311 to 318 are unchecked, “0” is stored in the flag storage areas 8211 to 8218, and the “media saving mode valid flag is set to“ OFF ”. Details of specific processing by inputting to the media saving mode setting screen 300 will be described later.

以下、メディア節約モード設定画面300上で入力される「メディア節約モード」について説明する。使用者は、まず、「テープを節約するか否か」、つまり「メディア節約モード」を有効にするか否かを、メディア節約モード有効チェックボックス311にチェックするか否かにより選択することができる。   The “media saving mode” input on the media saving mode setting screen 300 will be described below. The user can first select “whether or not to save the tape”, that is, whether or not to enable the “media saving mode” depending on whether or not the media saving mode enable check box 311 is checked. .

メディア節約モード有効フラグが「ON」の場合には、他のチェックボックス312〜318について入力可能となる。これにより、使用者は「テープをどのようにして節約するか」を、さらに選択できることになる。この場合には、「テープをどのようにして節約するか」が選択されやすいように、チェックボックス312〜318の右側に記載された説明文は黒色となる。   When the media saving mode valid flag is “ON”, the other check boxes 312 to 318 can be input. Thus, the user can further select “how to save the tape”. In this case, the explanatory text described on the right side of the check boxes 312 to 318 is black so that “how to save the tape” is easily selected.

一方、メディア節約モード有効フラグが「OFF」の場合には、チェックボックス312から318について入力不可能となる。この場合、使用者は「テープを節約しない」選択をしたことになり、チェックボックス312〜318の右側に記載された説明文は灰色となる。   On the other hand, when the media saving mode valid flag is “OFF”, the check boxes 312 to 318 cannot be input. In this case, the user has selected “Do not save the tape”, and the explanatory texts on the right side of the check boxes 312 to 318 are gray.

なお、メディア節約モード有効フラグが「OFF」の状態で、図5に示すレイアウト140を印刷すると、レイアウト140が、左端から、図8に示すように、作業領域150に表示されているようにテープ17に印字されて出力される。つまり、テープ17の下流端とテキストオブジェクト141の下流端との距離(空白領域161の幅x1)と、テープ17の上流端とテキストオブジェクト143の上流端との距離が等しい位置に決定されるため、最上流のテキストオブジェクト143の上流側には、下流側の空白領域161と同じ面積の空白領域166が設けられる。つまり、空白領域161〜166については、テープ17は、情報が印字されない状態のまま搬送されていることになる。なお、本実施形態では、テープ17の上流端は、上流側の余白値と下流側の余白値とが等しくなるように決定されている。   If the layout 140 shown in FIG. 5 is printed in a state where the media saving mode valid flag is “OFF”, the layout 140 is displayed from the left end as shown in the work area 150 as shown in FIG. 17 is printed and output. That is, the distance between the downstream end of the tape 17 and the downstream end of the text object 141 (the width x1 of the blank area 161) and the distance between the upstream end of the tape 17 and the upstream end of the text object 143 are determined to be equal positions. On the upstream side of the most upstream text object 143, a blank area 166 having the same area as the blank area 161 on the downstream side is provided. That is, in the blank areas 161 to 166, the tape 17 is conveyed in a state where information is not printed. In the present embodiment, the upstream end of the tape 17 is determined so that the upstream margin value is equal to the downstream margin value.

次に、メディア節約モード有効フラグが「ON」の状態の場合には、テープ17がどのように節約されるかを説明する。はじめに、メディア節約モード設定画面300の用紙余白最小化フラグが「ON」である場合に、テープ17がどのように節約されるかについて、図7、図8および図9を参照して説明する。図9は、用紙余白最小化フラグが「ON」の状態でレイアウト140を印刷した場合のテープ17である。ここでいう「用紙余白」とは、テープ搬送方向下流端から最下流側にあるオブジェクトの下流端までの距離、つまり、図8における空白領域161の幅であるx1のことをさす。   Next, how the tape 17 is saved when the media saving mode valid flag is in the “ON” state will be described. First, how the tape 17 is saved when the paper margin minimization flag of the media saving mode setting screen 300 is “ON” will be described with reference to FIGS. 7, 8, and 9. FIG. 9 shows the tape 17 when the layout 140 is printed with the paper margin minimization flag set to “ON”. The “paper margin” here refers to the distance from the downstream end in the tape transport direction to the downstream end of the object on the most downstream side, that is, x1 which is the width of the blank area 161 in FIG.

用紙余白最小化フラグが「ON」の状態で、図5に示すレイアウト140を印刷すると、図9に示すように、空白領域161の幅x1が、最小余白値Bminに変更された状態で印刷される。一方、用紙余白最小化フラグが「OFF」の状態で、図5に示すレイアウト140を印刷した場合、空白領域161の幅x1の値は変更されずそのままの値が維持される。   When the layout 140 shown in FIG. 5 is printed in a state where the paper margin minimization flag is “ON”, as shown in FIG. 9, the width x1 of the blank area 161 is printed with the minimum margin value Bmin changed. The On the other hand, when the layout 140 shown in FIG. 5 is printed in a state where the paper margin minimization flag is “OFF”, the value of the width x1 of the blank area 161 is not changed and is maintained as it is.

次に、オブジェクト間隔値最小化フラグが「ON」である場合に、テープ17がどのように節約されるかについて、図7、図8および図10を参照して説明する。図10は、オブジェクト間隔値最小化フラグが「ON」の状態でレイアウト140を印刷した場合のテープ17である。ここでいう「オブジェクト間隔値」とは、テープ搬送方向上流側のオブジェクトの下流端から下流側のオブジェクトの上流端までの距離、つまり、図8における空白領域162および空白領域163の幅x2,x31のことをさす。   Next, how the tape 17 is saved when the object interval value minimization flag is “ON” will be described with reference to FIGS. 7, 8, and 10. FIG. 10 shows the tape 17 when the layout 140 is printed with the object interval value minimizing flag set to “ON”. The “object interval value” here is the distance from the downstream end of the upstream object in the tape transport direction to the upstream end of the downstream object, that is, the widths x2 and x31 of the blank area 162 and the blank area 163 in FIG. I point to.

オブジェクト間隔値最小化フラグが「ON」の状態で、図5に示すレイアウト140を印刷すると、図10に示すように、空白領域162の幅であるx2および空白領域163の幅であるx31が、それぞれ最小間隔値Sminと等しい値に変更された状態で印刷される。一方、オブジェクト間隔値最小化フラグが「OFF」の状態で、図5に示すレイアウト140を印刷した場合、空白領域162,163の幅x2,x31の値は変更されずそのままの値が維持される。   When the layout 140 shown in FIG. 5 is printed in a state where the object interval value minimization flag is “ON”, as shown in FIG. 10, x2 which is the width of the blank area 162 and x31 which is the width of the blank area 163 are Printing is performed in a state where each is changed to a value equal to the minimum interval value Smin. On the other hand, when the layout 140 shown in FIG. 5 is printed while the object interval value minimization flag is “OFF”, the values of the widths x2 and x31 of the blank areas 162 and 163 are not changed and are maintained as they are. .

次に、テキストオブジェクト内空白削除フラグが「ON」である場合に、テープ17がどのように節約されるかについて、図7、図8および図11を参照して説明する。図11は、テキストオブジェクト内空白削除フラグが「ON」の状態でレイアウト140を印刷した場合のテープ17である。ここでいう「テキストオブジェクト内空白」とは、テキストオブジェクトの枠中に存在する空白領域、つまり、図8における空白領域164および空白領域165のことをさす。   Next, how the tape 17 is saved when the blank deletion flag in the text object is “ON” will be described with reference to FIGS. 7, 8, and 11. FIG. 11 shows the tape 17 when the layout 140 is printed with the blank deletion flag in the text object set to “ON”. The “blank in text object” here refers to a blank area existing in the frame of the text object, that is, a blank area 164 and a blank area 165 in FIG.

テキストオブジェクト内空白削除フラグが「ON」の状態で、図5に示すレイアウト140を印刷すると、図11に示すように、空白領域164の幅x32および空白領域165の幅x4が、それぞれ削除された状態に加工されて印刷される。なお、このとき他の空白領域161,162,163の幅x1,x2,x31については、そのままの値が維持されている。一方、テキストオブジェクト内空白削除フラグが「OFF」の状態で、図5に示すレイアウト140を印刷した場合、空白領域162,163の幅x2,x31の値は変更されずそのままの値が維持される。   When the layout 140 shown in FIG. 5 is printed while the blank deletion flag in the text object is “ON”, the width x32 of the blank area 164 and the width x4 of the blank area 165 are respectively deleted as shown in FIG. Processed into a state and printed. At this time, the values of the widths x1, x2, and x31 of the other blank areas 161, 162, and 163 are maintained as they are. On the other hand, when the layout 140 shown in FIG. 5 is printed with the blank deletion flag in the text object set to “OFF”, the values of the widths x2 and x31 of the blank areas 162 and 163 are not changed and are maintained as they are. .

以上、用紙余白最小化フラグ、オブジェクト間隔値最小化フラグ、テキストオブジェクト内空白削除フラグの各フラグが、それぞれ「ON」である場合の説明をしたが、ここで、これらのフラグのすべてが「ONである場合についての説明を、図5および図12を参照して行う。図12は、用紙余白最小化フラグ、オブジェクト間隔値最小化フラグ、テキストオブジェクト内空白削除フラグの各フラグが、すべて「ON」の状態でレイアウト140を印刷した場合のテープ17である。   In the above, the case where each of the paper margin minimization flag, the object interval value minimization flag, and the text object blank deletion flag is “ON” has been described, but here, all of these flags are “ON”. 5 will be described with reference to Fig. 5 and Fig. 12. In Fig. 12, all of the paper margin minimization flag, the object interval value minimization flag, and the text object blank space deletion flag are all "ON". Is the tape 17 when the layout 140 is printed in the state of "."

用紙余白最小化フラグ、オブジェクト間隔値最小化フラグ、テキストオブジェクト内空白削除フラグの各フラグが、すべて「ON」の状態で、図5に示すレイアウト140を印刷すると、図12に示すように、空白領域161の幅x1は最小余白値Bminとなり、空白領域162および空白領域163の幅x2,x3はそれぞれ最小間隔値Sminとなり、空白領域164,165の幅x32,x4はそれぞれ削除された状態に加工されて印刷される。   When the paper margin minimization flag, the object interval value minimization flag, and the text object blank deletion flag are all “ON” and the layout 140 shown in FIG. 5 is printed, a blank is obtained as shown in FIG. The width 161 of the area 161 is the minimum margin value Bmin, the widths x2 and x3 of the blank area 162 and the blank area 163 are the minimum interval values Smin, and the widths x32 and x4 of the blank areas 164 and 165 are processed to be deleted. And printed.

次に、枠サイズ固定フラグが「ON」である場合についての説明を、図13および図14を参照して行う。図13は、枠サイズ固定フラグが「ON」である状態でテキストオブジェクト143に文字情報を追加した場合のエディタ100である。また、図14は、枠サイズ固定フラグが「OFF」である状態でテキストオブジェクト143に文字情報を追加した場合のエディタ100である。   Next, the case where the frame size fixing flag is “ON” will be described with reference to FIGS. 13 and 14. FIG. 13 shows the editor 100 when character information is added to the text object 143 in a state where the frame size fixing flag is “ON”. FIG. 14 shows the editor 100 when character information is added to the text object 143 in a state where the frame size fixing flag is “OFF”.

ここで、「枠サイズ固定」をふくむ文字の制御方法について説明する。使用者は、あらかじめ、文字の制御方法として、文字情報の量に基づいてオブジェクトの大きさを決定する「枠サイズフリー」制御か、文字情報の量によらず、オブジェクトの大きさを固定する「枠サイズ固定」制御かのいずれかを選択することができる。使用者が、文字の制御方法を入力するオプション画面で、「枠サイズ固定制御」の指示をすると、図3に示すテキスト制御情報記憶エリア653の枠サイズ固定フラグ記憶エリア6531に「1」が記憶されて、「テキスト制御情報記憶エリア653の枠サイズ固定フラグが「ON」」とされる。一方、入力が行われないと、「テキスト制御情報記憶エリア653の枠サイズ固定フラグが「OFF」」とされる。   Here, a method for controlling characters including “frame size fixed” will be described. The user can use a “frame size free” control that determines the size of an object based on the amount of character information as a character control method in advance, or can fix the size of an object regardless of the amount of character information. Either “fix frame size” control can be selected. When the user instructs “frame size fixing control” on the option screen for inputting the character control method, “1” is stored in the frame size fixing flag storage area 6531 of the text control information storage area 653 shown in FIG. Then, “the frame size fixing flag of the text control information storage area 653 is set to“ ON ””. On the other hand, if no input is made, “the frame size fixing flag of the text control information storage area 653 is set to“ OFF ””.

次に、節約モード情報記憶エリア652の枠サイズ固定フラグが「ON」である状態の説明をする。この状態で、図5に示すテキストオブジェクト143に「defg」の文字情報を追加すると、「de」の文字情報を入力した段階では、文字情報は空白領域164、165を利用して配置される。つまり、テキストオブジェクト143の大きさは変化しない状態のまま、「de」の文字が「abc」と同じサイズで追加入力される。そしてその後、「fg」を追加すると、図13に示すように、テキストオブジェクト143の大きさは変化せず、追加された「fg」を含む「abcdef」の文字が、テキストオブジェクト143の領域内に縮小して配置される。つまり、テキストオブジェクト143の幅yは変化していない。   Next, a state where the frame size fixing flag in the saving mode information storage area 652 is “ON” will be described. In this state, when the character information “defg” is added to the text object 143 shown in FIG. 5, the character information is arranged using the blank areas 164 and 165 when the character information “de” is input. That is, while the size of the text object 143 remains unchanged, the character “de” is additionally input with the same size as “abc”. After that, when “fg” is added, the size of the text object 143 does not change as shown in FIG. 13, and the characters “abcdef” including the added “fg” are within the area of the text object 143. Reduced placement. That is, the width y of the text object 143 has not changed.

一方、節約モード情報記憶エリア652の枠サイズ固定フラグが「OFF」」の場合には、テキストオブジェクト143の幅yは固定されない。例えば、「テキスト制御情報記憶エリア653の枠サイズ固定フラグが「OFF」」の状態で、図5に示すテキストオブジェクト143に「defg」の文字情報を追加すると、文字列「abc」と同じサイズで追加入力されるとともに、テキストオブジェクト143の幅はが「fg」の文字情報に使用する領域の分だけ左右に広がりx5となる。   On the other hand, when the frame size fixing flag in the saving mode information storage area 652 is “OFF”, the width y of the text object 143 is not fixed. For example, when “defg” character information is added to the text object 143 shown in FIG. 5 in a state where the frame size fixing flag of the text control information storage area 653 is “OFF”, the character string “abc” has the same size. In addition to being input, the width of the text object 143 extends to the left and right by the area used for the character information of “fg” and becomes x5.

次に、印刷プレビュー表示フラグが「ON」である場合についての説明を、図15を参照して行う。図15は、印刷プレビュー表示フラグが「ON」である状態で使用者が印刷指示を行った場合のプレビュー画面700である。   Next, a case where the print preview display flag is “ON” will be described with reference to FIG. FIG. 15 shows a preview screen 700 when the user issues a print instruction in a state where the print preview display flag is “ON”.

印刷プレビュー表示フラグが「ON」の状態で、使用者が図5に示すエディタ100のツールバー120から、印刷ボタン121を選択すると、実際に印刷される前に、図15に示すように、レイアウト140をテープ17に印刷した状態の画面(プレビュー画面700)が表示される。一方、印刷プレビュー表示フラグが「OFF」の状態で、使用者が印刷ボタン121を選択すると、印刷プレビューが表示されることなく、テープ17にレイアウト140が印字される。   When the user selects the print button 121 from the toolbar 120 of the editor 100 shown in FIG. 5 in a state where the print preview display flag is “ON”, as shown in FIG. Is displayed on the tape 17 (preview screen 700). On the other hand, when the user selects the print button 121 while the print preview display flag is “OFF”, the layout 140 is printed on the tape 17 without displaying the print preview.

次に、カット位置表示フラグが「ON」である場合についての説明を、図16を参照して行う。図16は、カット位置表示フラグが「ON」である状態で、使用者が印刷指示を行った場合のプレビュー画面700である。   Next, the case where the cut position display flag is “ON” will be described with reference to FIG. FIG. 16 shows a preview screen 700 when the user issues a print instruction in a state where the cut position display flag is “ON”.

カット位置表示フラグが「ON」の状態で、レイアウト140を編集するためのエディタ100を表示させると、レイアウト140の上には、実際に印刷した場合にカットされるカット位置145の画像が表示される。なお、本実施形態では、カット位置145は、上流側の余白値と下流側の余白値とが等しくなるように決定されている。一方、カット位置表示フラグが「OFF」の状態では、レイアウト140上にカット位置が表示されることはない。   When the editor 100 for editing the layout 140 is displayed with the cut position display flag set to “ON”, an image of the cut position 145 that is cut when actually printed is displayed on the layout 140. The In the present embodiment, the cut position 145 is determined so that the upstream margin value is equal to the downstream margin value. On the other hand, when the cut position display flag is “OFF”, the cut position is not displayed on the layout 140.

次に、印刷オプション固定フラグが「ON」である場合についての説明を、図17および図18を参照して行う。図17は、印刷オプション固定フラグが「ON」の状態で、図5に示すレイアウト140を2部印刷した場合のテープ17である。また、図18は、印刷オプション固定フラグが「OFF」の状態で、図5に示すレイアウト140を2部印刷した場合のテープ17である。   Next, a case where the print option fixing flag is “ON” will be described with reference to FIGS. 17 and 18. FIG. 17 shows the tape 17 when two copies of the layout 140 shown in FIG. 5 are printed in a state where the print option fixing flag is “ON”. FIG. 18 shows the tape 17 when two copies of the layout 140 shown in FIG. 5 are printed in a state where the print option fixing flag is “OFF”.

ここで、印刷オプション固定フラグが「ON」である場合についての説明を行う前に、図7の印刷オプション固定チェックボックス318の右に記載されている説明文「「オートカットON」とした場合、必ず「つなげて印刷ON」にする」の「オートカットON」と「つなげて印刷ON」について説明する。   Here, before explaining the case where the print option fixing flag is “ON”, when the explanation sentence ““ Auto Cut ON ”is set to the right of the print option fixing check box 318 in FIG. “Auto cut ON” and “Connect and print ON” in “Connect and print ON” will be described.

「オートカット」とは、印刷する際に使用者が設定できるオプションのひとつである。使用者が、印刷オプション設定画面で、「オートカット」を行う入力をした場合、すなわち「オートカットON」の入力をした場合、印刷装置1はテープ17を複数枚印刷する場合には、それぞれの印刷を行った後、所定位置でテープ17をカットする。この所定位置は、使用者が任意に設定することもできるし、設定されていない場合には、上述したように、上流側の余白値と下流側の余白値とが等しくなるように決定される。   “Auto cut” is one of options that can be set by the user when printing. When the user inputs “auto cut” on the print option setting screen, that is, when “auto cut ON” is input, the printing apparatus 1 prints a plurality of tapes 17 when each of the tapes 17 is printed. After printing, the tape 17 is cut at a predetermined position. The predetermined position can be arbitrarily set by the user, and if it is not set, as described above, the upstream margin value and the downstream margin value are determined to be equal. .

また、「つなげて印刷」も、印刷する際に使用者が設定できるオプションのひとつである。使用者が「つなげて印刷」を行う入力、すなわち「つなげて印刷ON」の入力をした場合、印刷装置1はテープ17の搬送方向最上流にあるカット位置に対しては、カットを行わない。   “Connect and print” is one of options that can be set by the user when printing. When the user inputs “connect and print”, that is, inputs “connect and print ON”, the printing apparatus 1 does not cut the cut position at the most upstream in the transport direction of the tape 17.

以下、あらかじめ、「オートカットON」の入力がされているとともに、「つなげて印刷ON」の入力がされていない条件を前提に、印刷オプション固定フラグが「ON」である場合の説明を行う。   Hereinafter, a description will be given of a case where the print option fixing flag is “ON” on the assumption that “auto cut ON” is input in advance and “connect and print ON” is not input.

印刷オプション固定フラグが「ON」である状態で、使用者がレイアウト140を2部印刷する指示を行うと、1部目のテープ17については、印字されたあとレイアウト140の上流端でカットされる。一方、2部目のテープ17については、レイアウト140が印字された後、搬送されずに印刷装置1の中にとどまっている。そして、次の印刷動作(例えば、レイアウト140をさらに印字する場合や、別のレイアウトを印字する場合など)によりテープ17が搬送され、レイアウト140の上流端がテープカッター18の下方に来たときに、テープカッター18が動作する。   When the user gives an instruction to print two copies of the layout 140 in a state where the print option fixing flag is “ON”, the first tape 17 is cut at the upstream end of the layout 140 after being printed. . On the other hand, the second tape 17 remains in the printing apparatus 1 without being conveyed after the layout 140 is printed. Then, when the tape 17 is conveyed by the next printing operation (for example, when the layout 140 is further printed or when another layout is printed), the upstream end of the layout 140 comes below the tape cutter 18. The tape cutter 18 operates.

一方、印刷オプション固定フラグが「OFF」である状態で、使用者がレイアウト140を2部印刷する指示を行うと、1部目のテープ17、2部目のテープともに、印字されたあとレイアウト140の上流端でカットされる。   On the other hand, when the user gives an instruction to print two copies of the layout 140 in a state where the print option fixing flag is “OFF”, both the first tape 17 and the second tape are printed and then the layout 140 is printed. Is cut at the upstream end.

次に、図19乃至図28のフローチャートを参照して、本実施の形態の印刷データ編集装置及び印刷データ編集プログラムの主な処理について説明する。図19は、メイン処理のフローチャートであり、図20は、メイン処理の中で実施される「メディア節約モード設定処理」のフローチャートである。また、図21および図22は、「メディア節約モード設定処理」の中で実施される「メディア節約モード詳細設定処理」のフローチャートである。また、図23は、メイン処理の中で実施される「レイアウト編集処理」のフローチャートであり、図24および図25は、メイン処理の中で実施される「印刷処理」のフローチャートである。また、図26は、「印刷処理」の中で実施される「用紙余白最小化処理」のフローチャートであり、図27は、「印刷処理」の中で実施される「オブジェクト間隔値最小化処理」のフローチャートである。また図28は、「印刷処理」の中で実施される「テキストオブジェクト内空白領域削除処理」のフローチャートである。   Next, main processes of the print data editing apparatus and the print data editing program of this embodiment will be described with reference to the flowcharts of FIGS. FIG. 19 is a flowchart of the main process, and FIG. 20 is a flowchart of the “media saving mode setting process” performed in the main process. FIGS. 21 and 22 are flowcharts of the “media saving mode detailed setting process” performed in the “media saving mode setting process”. FIG. 23 is a flowchart of the “layout editing process” performed in the main process, and FIGS. 24 and 25 are flowcharts of the “print process” performed in the main process. FIG. 26 is a flowchart of “paper margin minimization processing” performed in “print processing”, and FIG. 27 is “object interval value minimization processing” performed in “print processing”. It is a flowchart of. FIG. 28 is a flowchart of a “text object blank area deletion process” performed in the “printing process”.

はじめに、メイン処理について説明をする。メイン処理は、印刷データ編集装置において、印刷データ編集プログラムの起動の指示が行われると開始される。メイン処理では、図19に示すように、まず、RAM80の各記憶エリア等の初期化が行われる(S1)。そして、「メディア節約モード」設定の指示(図5におけるメニューバー110の「ツール」メニューの選択により表示されるメニューから「オプション」が選択され、さらに、「オプション」画面の中から「印刷」タブが選択)がされたか否かが判断され(S2)、「メディア節約モード」設定の指示がなされたと判断されると(S2:YES)、図20を参照して後述する「メディア節約モード設定処理」が行われる(S3)。そして、S3が終了すると、終了指示がなされたか否かが判断される(S9)。   First, the main process will be described. The main process is started when the print data editing apparatus is instructed to start the print data editing program. In the main process, as shown in FIG. 19, first, each storage area of the RAM 80 is initialized (S1). Then, “media saving mode” setting instruction (“option” is selected from the menu displayed by selecting the “tool” menu in the menu bar 110 in FIG. 5, and the “print” tab is selected from the “option” screen Is selected (S2). If it is determined that an instruction for setting the “media saving mode” is made (S2: YES), “media saving mode setting process” described later with reference to FIG. Is performed (S3). When S3 ends, it is determined whether an end instruction has been issued (S9).

一方、「メディア節約モード」設定の指示がなされなかったと判断されると(S2:NO)、レイアウト編集指示(図5におけるレイアウト140におけるオブジェクトの移動、削除など)がなされたか否が判断される(S4)。そして、レイアウト編集指示がなされたと判断された場合には(S4:YES)、図23を参照して後述する「レイアウト編集処理」が行われ(S5)、終了指示がなされたか否かが判断される(S9)。   On the other hand, if it is determined that an instruction for setting the “media saving mode” has not been made (S2: NO), it is determined whether or not a layout editing instruction (such as moving or deleting an object in the layout 140 in FIG. 5) has been made ( S4). If it is determined that a layout editing instruction has been issued (S4: YES), a “layout editing process” described later with reference to FIG. 23 is performed (S5), and it is determined whether or not an end instruction has been issued. (S9).

また、レイアウト編集指示がなされなかったと判断された場合には(S4:NO)、印刷指示(図5におけるメニューバー110の「ファイル」が選択され、さらに、メニューボックスから「印刷」が選択)がなされたか否かが判断される(S6)。そして、印刷指示がなされたと判断された場合には(S6:YES)、図24および図25を参照して後述する「印刷処理」が行われ(S7)、終了指示がなされたか否かが判断される(S9)。   If it is determined that no layout editing instruction has been issued (S4: NO), a printing instruction ("File" in the menu bar 110 in FIG. 5 is selected and "Print" is selected from the menu box) is issued. It is determined whether or not it has been made (S6). If it is determined that a print instruction has been issued (S6: YES), “print processing” described later with reference to FIGS. 24 and 25 is performed (S7), and it is determined whether an end instruction has been issued. (S9).

そして、印刷指示がなされなかったと判断された場合には(S6:NO)、その他の印刷データ編集の処理が行われ(S8)、終了指示がなされたか否かが判断される(S9)。そして、終了指示がなされた場合には(S9:YES)、メイン処理は終了する。一方、終了指示がなされなかった場合には(S9:NO)、S2に戻り、再度「メディア節約モード」設定の指示がなされたか否かが判断される。なお、終了指示がなされる(S9:YES)までは、S2〜S9までの処理が繰り返し実行されて、使用者の指示に応じた処理が行われる。   If it is determined that no print instruction has been issued (S6: NO), other print data editing processing is performed (S8), and it is determined whether an end instruction has been issued (S9). Then, when an end instruction is given (S9: YES), the main process ends. On the other hand, if the end instruction has not been issued (S9: NO), the process returns to S2, and it is determined again whether or not the “media saving mode” setting instruction has been issued. Until the end instruction is given (S9: YES), the processes from S2 to S9 are repeatedly executed, and the process according to the user's instruction is performed.

次に、図20を参照して、メイン処理のS3で実行される「メディア節約モード設定処理」について、CPU50の行う処理を説明する。   Next, with reference to FIG. 20, the process performed by the CPU 50 for the “media saving mode setting process” executed in S3 of the main process will be described.

「メディア節約モード設定処理」では、まず、HDD60の節約モード情報記憶エリア652に記憶されている節約モードの情報が、RAM80の節約モード情報一時記憶エリア821に記憶され(S11)、図7に示すメディア節約モード設定画面300が表示される(S12)。   In the “media saving mode setting process”, first, saving mode information stored in the saving mode information storage area 652 of the HDD 60 is stored in the saving mode information temporary storage area 821 of the RAM 80 (S11), as shown in FIG. The media saving mode setting screen 300 is displayed (S12).

メディア節約モード設定画面300が開かれると(S12)、メディア節約モード設定画面300において「メディア節約モード」を有効にする指示がされているか否か、つまり、図7において、メディア節約モード有効チェックボックス311にチェックがされているか否かの判断が行われる(S13)。そして、メディア節約モード有効チェックボックス311に、チェックがされている場合には、「メディア節約モード」を有効にする指示がなされていると判断され(S13:YES)、RAM80の節約モード情報一時記憶エリア821の中のメディア節約モード有効フラグ記憶エリア8211に「1」が記憶されて、「メディア節約モード有効フラグが「ON」」とされる(S14)。「メディア節約モード有効フラグが「ON」」とされると、メディア節約モード設定画面300における「メディア節約モード」の詳細設定の受付が可能とされる(S15)。この場合には、他のチェックボックス312〜318の入力が可能とされるとともに、チェックボックス312〜318の右側に記載された説明文は黒色とされ、使用者が「テープをどのようにして節約するか」を、さらに選択できる表示状態とされる。そして、その後、メディア節約モードの詳細な設定を行う「メディア節約モード詳細設定処理」が行われる(S16)(図21および図22参照)。   When the media saving mode setting screen 300 is opened (S12), whether or not an instruction to enable the “media saving mode” is given on the media saving mode setting screen 300, that is, in FIG. It is determined whether or not 311 is checked (S13). If the media saving mode valid check box 311 is checked, it is determined that an instruction to validate the “media saving mode” is given (S13: YES), and the saving mode information temporary storage in the RAM 80 is performed. “1” is stored in the medium saving mode valid flag storage area 8211 in the area 821, and the “media saving mode valid flag is set to“ ON ”(S14). When the “media saving mode valid flag is set to“ ON ”, the detailed setting of“ media saving mode ”on the media saving mode setting screen 300 can be accepted (S15). In this case, the other check boxes 312 to 318 can be input, and the explanatory text written on the right side of the check boxes 312 to 318 is black, and the user can select “How to save tape. "Do you do?" Is displayed. Thereafter, a “media saving mode detailed setting process” for performing detailed setting of the media saving mode is performed (S16) (see FIGS. 21 and 22).

一方、S13において、メディア節約モード有効チェックボックス311にチェックがされていない場合には、「メディア節約モード」を有効にする指示がなされていないと判断され(S13:NO)、メディア節約モード有効フラグ記憶エリア8211に「0」が記憶されて、メディア節約モード有効フラグがOFFにされるとともに(S17)、メディア節約モード設定画面300における「メディア節約モード」の詳細設定の入力が無効とされる(S18)。この場合には、図7に示すチェックボックス312〜318の右側に記載された説明文は灰色とされ、チェックボックス312〜318は、入力不可能な表示状態とされる。   On the other hand, if the media saving mode valid check box 311 is not checked in S13, it is determined that an instruction to validate the “media saving mode” has not been made (S13: NO), and the media saving mode valid flag is set. “0” is stored in the storage area 8211, the media saving mode valid flag is turned OFF (S17), and the input of the detailed setting of “media saving mode” in the media saving mode setting screen 300 is invalidated (S17). S18). In this case, the explanatory text written on the right side of the check boxes 312 to 318 shown in FIG. 7 is gray, and the check boxes 312 to 318 are in a display state incapable of input.

上記のS11〜S18までの処理が終了すると、図7におけるOKボタン320が選択されたか否かが判断される(S19)。そして、OKボタン320が選択されたと判断されると(S19:YES)、RAM80の節約モード情報一時記憶エリア821に記憶された節約モードの情報を、HDD60の節約モード情報記憶エリア652に記憶させることにより、設定内容が反映され(S20)、「メディア節約モード設定処理」は終了されメイン処理(図19)へ戻る。   When the processes from S11 to S18 are completed, it is determined whether or not the OK button 320 in FIG. 7 has been selected (S19). If it is determined that the OK button 320 is selected (S19: YES), the saving mode information stored in the saving mode information temporary storage area 821 of the RAM 80 is stored in the saving mode information storage area 652 of the HDD 60. Thus, the setting contents are reflected (S20), the “media saving mode setting process” is terminated, and the process returns to the main process (FIG. 19).

一方、OKボタン320が選択されなかったと判断されると(S19:NO)、キャンセルボタン330が選択されたか否かが判断される(S21)。そして、キャンセルボタン330が選択されたと判断された場合には(S21:YES)、RAM80の節約モード情報一時記憶エリア821に記憶された節約モードの情報を、HDD60の節約モード情報記憶エリア652に記憶させることなく、「メディア節約モード設定処理」を終了してメイン処理(図19)に戻る。この場合には、節約モード情報一時記憶エリア821に記憶された情報は、保存されることなく破棄される。また、キャンセルボタン330が選択されていないと判断された場合には(S21:NO)、S13に戻り、OKボタン320またはキャンセルボタン330のいずれかが選択されるまで、S13〜S21までが繰り返される。   On the other hand, if it is determined that the OK button 320 has not been selected (S19: NO), it is determined whether or not the cancel button 330 has been selected (S21). If it is determined that the cancel button 330 has been selected (S21: YES), the saving mode information stored in the saving mode information temporary storage area 821 of the RAM 80 is stored in the saving mode information storage area 652 of the HDD 60. Without doing so, the “media saving mode setting process” is terminated and the process returns to the main process (FIG. 19). In this case, the information stored in the saving mode information temporary storage area 821 is discarded without being saved. If it is determined that the cancel button 330 is not selected (S21: NO), the process returns to S13, and S13 to S21 are repeated until either the OK button 320 or the cancel button 330 is selected. .

次に、メディア節約モードの詳細な設定処理を行う「メディア節約モード詳細設定処理」について、図21および図22を参照して説明を行う。「メディア節約モード詳細設定処理」は、図20に示す「メディア節約モード設定処理」において、メディア節約モード詳細設定の入力が有効にされた後(S15)に開始される。   Next, the “media saving mode detailed setting process” for performing the detailed setting process of the media saving mode will be described with reference to FIGS. 21 and 22. The “media saving mode detailed setting process” is started after the input of the media saving mode detailed setting is validated in the “media saving mode setting process” shown in FIG. 20 (S15).

「メディア節約モード詳細設定処理」では、まず、用紙余白を最小にする指示がなされているか否か、つまり、図7のメディア節約モード設定画面300において用紙余白値最小化チェックボックス312にチェックがされているか否かの判断が行われる(S31)。そして、用紙余白値最小化チェックボックス312にチェックが入っている場合には、用紙余白を最小にする指示がなされていると判断され(S31:YES)、RAM80の節約モード情報一時記憶エリア821の中の用紙余白最小化フラグ記憶エリア8212に「1」が記憶されて「用紙余白最小化フラグが「ON」」とされる(S32)。一方、S31において、用紙余白を最小にする指示がされていないと判断された場合には(S31:NO)、用紙余白最小化フラグ記憶エリア8212に「0」が記憶されて、用紙余白最小化フラグがOFFにされる(S33)。   In the “media saving mode detailed setting process”, first, whether or not an instruction to minimize the paper margin is issued, that is, the paper margin value minimizing check box 312 is checked in the media saving mode setting screen 300 of FIG. A determination is made as to whether or not (S31). If the paper margin value minimization check box 312 is checked, it is determined that an instruction to minimize the paper margin is made (S31: YES), and the saving mode information temporary storage area 821 of the RAM 80 is determined. “1” is stored in the middle paper margin minimization flag storage area 8212, and the “paper margin minimization flag is set to“ ON ”” (S32). On the other hand, if it is determined in S31 that there is no instruction to minimize the paper margin (S31: NO), “0” is stored in the paper margin minimization flag storage area 8212 to minimize the paper margin. The flag is turned off (S33).

用紙余白最小化フラグの設定が、S32またはS33において行われると、次に、印刷時にオブジェクトの間隔を自動調整する指示がされているか否か、つまり、図7におけるオブジェクト間隔値最小化チェックボックス313にチェックがされているか否かの判断が行われる(S34)。そして、オブジェクト間隔値最小化チェックボックス313にチェックが入っている場合には、印刷時にオブジェクトの間隔を自動調整する指示がなされていると判断され(S34:YES)、オブジェクト間隔値最小化フラグ記憶エリア8213に「1」が記憶されて、オブジェクト間隔値最小化フラグがONにされる(S35)。一方、S34において、オブジェクト間隔を自動調整する指示がされていないと判断された場合には(S34:NO)、オブジェクト間隔値最小化フラグ記憶エリア8213に「0」が記憶されて、オブジェクト間隔値最小化フラグがOFFにされる(S36)。   If the paper margin minimization flag is set in S32 or S33, it is next determined whether or not an instruction for automatically adjusting the object interval at the time of printing is given, that is, the object interval value minimization check box 313 in FIG. It is determined whether or not the check box is checked (S34). If the object interval value minimization check box 313 is checked, it is determined that an instruction to automatically adjust the object interval at the time of printing is given (S34: YES), and the object interval value minimization flag is stored. “1” is stored in the area 8213, and the object interval value minimization flag is turned ON (S35). On the other hand, if it is determined in S34 that there is no instruction to automatically adjust the object interval (S34: NO), “0” is stored in the object interval value minimization flag storage area 8213, and the object interval value is set. The minimization flag is turned off (S36).

S35またはS36においてオブジェクト間隔値最小化フラグの設定が行われると、次に、テキスト内で用紙送り方向に空白が存在する場合は詰める指示がされているか否か、つまり、メディア節約モード設定画面300において、テキストオブジェクト内空白削除チェックボックス314にチェックがされているか否かの判断が行われる(S37)。そして、テキストオブジェクト内空白削除チェックボックス314にチェックがされている場合には、印刷時にテキスト内の空白領域をなくす指示がなされていると判断され(S37:YES)、テキストオブジェクト内空白領域削除フラグ記憶エリア8214に「1」が記憶されて、テキスト内空白領域削除フラグがONにされる(S38)。一方、S37において、テキスト内の空白領域をなくす指示がされていないと判断された場合には(S37:NO)、テキストオブジェクト内空白領域削除フラグ記憶エリア8214に「0」が記憶されて、テキスト内空白領域削除フラグがOFFにされる(S39)。   When the object interval value minimization flag is set in S35 or S36, whether or not there is an instruction for closing if there is a blank in the paper feed direction in the text, that is, in the media saving mode setting screen 300 Then, it is determined whether or not the delete in text object blank check box 314 is checked (S37). If the check box 314 for deleting the blank area in the text object is checked, it is determined that an instruction to eliminate the blank area in the text is given at the time of printing (S37: YES), and the blank area deletion flag in the text object is set. “1” is stored in the storage area 8214, and the blank area deletion flag in the text is turned ON (S38). On the other hand, if it is determined in S37 that there is no instruction to eliminate the blank area in the text (S37: NO), “0” is stored in the blank area deletion flag storage area 8214 in the text object, and the text The inner blank area deletion flag is turned OFF (S39).

テキストオブジェクト内空白削除フラグの設定が、S38またはS39において行われると、次に、テキストの枠サイズを固定する指示がされているか否か、つまり、メディア節約モード設定画面300における枠サイズ固定チェックボックス315にチェックがされているか否かの判断が行われる(S40)。そして、枠サイズ固定チェックボックス315にチェックが入っている場合には、テキストの枠サイズを固定する指示がなされていると判断され(S40:YES)、枠サイズ固定フラグ記憶エリア8215に「1」が記憶されて、枠サイズ固定フラグがONにされる(S41)。一方、S40において、枠サイズ固定チェックボックスにチェックがされていないと判断された場合には(S40:NO)、枠サイズ固定フラグ記憶エリア8215に「0」が記憶されて、枠サイズ固定フラグがOFFにされる(S42)。   If the blank deletion flag in the text object is set in S38 or S39, it is next determined whether or not an instruction to fix the frame size of the text is issued, that is, the frame size fixing check box in the media saving mode setting screen 300 A determination is made as to whether or not a check is made at 315 (S40). If the frame size fixing check box 315 is checked, it is determined that an instruction to fix the frame size of the text has been issued (S40: YES), and “1” is stored in the frame size fixing flag storage area 8215. Is stored and the frame size fixing flag is turned ON (S41). On the other hand, if it is determined in S40 that the frame size fixing check box is not checked (S40: NO), “0” is stored in the frame size fixing flag storage area 8215, and the frame size fixing flag is set. It is turned off (S42).

枠サイズ固定フラグの設定がS44またはS45において行われると、次に、印刷時に必ずプレビュー表示をする指示がされているか否か、つまり、メディア節約モード設定画面300における印刷プレビュー表示チェックボックス316にチェックが入っているか否かの判断が行われる(S43)。そして、印刷プレビュー表示チェックボックス316にチェックがされている場合には、印刷時に必ずプレビュー表示をする指示がなされていると判断され(S43:YES)、印刷プレビュー表示フラグ記憶エリア8216に「1」が記憶されて、印刷プレビュー表示フラグがONにされる(S44)。一方、S43において、印刷プレビュー表示チェックボックス316にチェックがされていないと判断された場合には(S43:NO)、印刷プレビュー表示フラグ記憶エリア8216に「0」が記憶されて、印刷プレビュー表示フラグがOFFにされる(S45)。   When the frame size fixed flag is set in S44 or S45, next, it is checked whether or not an instruction to always display a preview is given at the time of printing, that is, the print preview display check box 316 in the media saving mode setting screen 300 is checked. It is determined whether or not there is (S43). If the print preview display check box 316 is checked, it is determined that an instruction to display a preview is always given during printing (S43: YES), and “1” is displayed in the print preview display flag storage area 8216. Is stored and the print preview display flag is turned ON (S44). On the other hand, if it is determined in S43 that the print preview display check box 316 is not checked (S43: NO), “0” is stored in the print preview display flag storage area 8216, and the print preview display flag is displayed. Is turned off (S45).

印刷プレビュー表示フラグの設定がS44またはS45において行われると、次に、レイアウトにカット位置を表示する指示がされているか否か、つまり、メディア節約モード設定画面300におけるカット位置表示チェックボックス317にチェックが入っているか否かの判断が行われる(S46)。そして、カット位置表示チェックボックス317にチェックが入っている場合には、レイアウトにカット位置を表示する指示がなされていると判断され(S46:YES)、カット位置表示フラグ記憶エリア8217に「1」が記憶されて、カット位置表示フラグがONにされる(S47)。一方、S46において、レイアウトにカット位置を表示する指示がされていないと判断された場合には(S46:NO)、カット位置表示フラグ記憶エリア8217に「0」が記憶されて、カット位置表示フラグがOFFにされる(S48)。   When the print preview display flag is set in S44 or S45, next, whether or not an instruction to display the cut position in the layout is instructed, that is, the cut position display check box 317 in the media saving mode setting screen 300 is checked. A determination is made as to whether or not there is (S46). If the cut position display check box 317 is checked, it is determined that an instruction to display the cut position in the layout is given (S46: YES), and “1” is stored in the cut position display flag storage area 8217. Is stored and the cut position display flag is turned ON (S47). On the other hand, if it is determined in S46 that there is no instruction to display the cut position on the layout (S46: NO), “0” is stored in the cut position display flag storage area 8217, and the cut position display flag is displayed. Is turned off (S48).

カット位置表示フラグの設定がS47またはS48において行われると、次に、印刷オプションとして「オートカット」がON入力されている際には必ず「つなげて印刷」もON入力された状態に固定する指示がされているか否か、つまり、メディア節約モード設定画面300における印刷オプション固定チェックボックス318にチェックが入っているか否かの判断が行われる(S49)。そして、印刷オプション固定チェックボックス318にチェックが入っている場合には、印刷オプションとしてオートカットONが設定されている際には、必ずつなげて印刷ONとして、印刷オプションを固定する指示がなされていると判断され(S49:YES)、印刷オプション固定フラグ記憶エリア8218に「1」が記憶されて、印刷オプション固定フラグがONにされる(S50)。一方、S49において、レイアウトにカット位置を表示する指示がされていないと判断された場合には(S49:NO)、印刷オプション固定フラグ記憶エリア8218に「0」が記憶されて、印刷オプション固定フラグがOFFにされる(S51)。   When the cut position display flag is set in S47 or S48, next, when “Auto Cut” is input to ON as a print option, an instruction to always fix “Connect and print” to ON is input. Is determined, that is, whether or not the fixed print option check box 318 in the media saving mode setting screen 300 is checked (S49). When the print option fixing check box 318 is checked, when auto cut ON is set as the print option, an instruction to fix the print option is made by always connecting and setting the print ON. (S49: YES), “1” is stored in the print option fixed flag storage area 8218, and the print option fixed flag is turned ON (S50). On the other hand, if it is determined in S49 that there is no instruction to display the cut position in the layout (S49: NO), “0” is stored in the print option fixed flag storage area 8218, and the print option fixed flag is displayed. Is turned off (S51).

上述したS31〜S51までの処理が終了すると、「メディア節約モード詳細設定処理」は終了して、「メディア節約モード設定処理」に戻る。   When the processes from S31 to S51 described above are completed, the “media saving mode detailed setting process” ends and the process returns to the “media saving mode setting process”.

次に、図23を参照して、「メイン処理」のS5で実行される「レイアウト編集処理」の説明をする。「レイアウト編集処理」では、まず、テキストの入力がされたか否かが判断される(S61)。そして、テキスト入力がされていないと判断されると(S61:NO)、テキスト入力以外のレイアウト編集がなされる(S62)。具体的には、図5において、イメージオブジェクト142が配置された場合には、S61でテキスト入力がされていないと判断されて、S62において、イメージオブジェクト142の編集がなされる。   Next, the “layout editing process” executed in S5 of the “main process” will be described with reference to FIG. In the “layout editing process”, it is first determined whether or not text has been input (S61). If it is determined that no text is input (S61: NO), layout editing other than text input is performed (S62). Specifically, in FIG. 5, when the image object 142 is arranged, it is determined in S61 that no text is input, and the image object 142 is edited in S62.

一方、テキスト入力がされたと判断されると(S61:YES)、まず、メディア節約モード有効フラグ記憶エリア8211を参照して、メディア節約モード有効フラグがONか否かが判断される(S63)。そして、メディア節約モード有効フラグがONであると判断されると(S63:YES)、枠サイズ固定フラグ記憶エリア8215を参照して、枠サイズ固定フラグがONか否かが判断される(S64)。具体的には、図5に示すテキストオブジェクト143の編集がなされた場合には、S61でテキスト入力がなされたと判断され、S63、S64の処理が行われる。   On the other hand, if it is determined that the text has been input (S61: YES), it is first determined with reference to the media saving mode valid flag storage area 8211 whether or not the media saving mode valid flag is ON (S63). If it is determined that the media saving mode valid flag is ON (S63: YES), it is determined whether or not the frame size fixing flag is ON with reference to the frame size fixing flag storage area 8215 (S64). . Specifically, when the text object 143 shown in FIG. 5 has been edited, it is determined in S61 that text has been input, and the processing in S63 and S64 is performed.

そして、メディア節約モード有効フラグがONであり(S63:YES)、かつ、枠サイズ固定フラグがONであると判断されると(S64:YES)、さらに、入力された文字列が、現在レイアウト上に配置されているオブジェクト領域内に配置可能か否かが判断される(S65)。そして、入力された文字列が現在選択中のオブジェクト領域内に配置可能であると判断されると(S65:YES)、入力された文字列についての情報を、RAM80のオブジェクト情報記憶エリア811に追加で記憶させる(S66)。   If it is determined that the media saving mode valid flag is ON (S63: YES) and the frame size fixing flag is ON (S64: YES), the input character string is further displayed on the current layout. It is determined whether or not it can be arranged in the object area arranged at (S65). If it is determined that the input character string can be placed in the currently selected object area (S65: YES), information about the input character string is added to the object information storage area 811 of the RAM 80. (S66).

具体的には、S63でメディア節約モード有効フラグがONであると判断され、S64で枠サイズ固定フラグがONであると判断された状態で、図5のテキストオブジェクト143に使用者が文字列「de」を追加した場合には以下の処理を行う。まず、S65において、オブジェクト情報記憶エリア811に記憶されたオブジェクト位置情報および属性としての文字位置情報から、テキストオブジェクト143の領域内に、文字列「de」を含む文字列「abcde」が配置可能であるか否かが判断される。   Specifically, in a state where it is determined in S63 that the media saving mode valid flag is ON, and in S64 that the frame size fixing flag is determined to be ON, the user sets the character string “ When “de” is added, the following processing is performed. First, in S65, the character string “abcde” including the character string “de” can be arranged in the area of the text object 143 from the object position information stored in the object information storage area 811 and the character position information as an attribute. It is determined whether or not there is.

そして、S65で、例えば図5の空白領域164,165を利用することにより、入力された文字列「de」を含む文字列「abcde」が、テキストオブジェクト143の領域の幅yに配置可能であると判断されると、S66において、図6に示すオブジェクト番号3の内容情報には、文字列「de」が追加されて文字列「abcde」として記憶される。この際、属性情報としての文字サイズなどは、変更されない。   In S65, the character string “abcde” including the input character string “de” can be arranged in the width y of the area of the text object 143 by using, for example, the blank areas 164 and 165 in FIG. In S66, the character string “de” is added to the content information of the object number 3 shown in FIG. 6 and stored as the character string “abcde” in S66. At this time, the character size as the attribute information is not changed.

一方、入力された文字列が現在のオブジェクト内に配置可能でない場合(S65:NO)、入力された文字列をオブジェクト領域内に配置するための最大文字サイズが算出される(S67)。そして、入力された文字列を含む文字列についての情報が、文字サイズを算出した文字サイズに変更した状態で、RAM80のオブジェクト情報記憶エリア811に追加で記憶される(S68)。   On the other hand, when the input character string cannot be arranged in the current object (S65: NO), the maximum character size for arranging the inputted character string in the object area is calculated (S67). Then, information about the character string including the input character string is additionally stored in the object information storage area 811 of the RAM 80 in a state where the character size is changed to the calculated character size (S68).

具体的には、S63でメディア節約モード有効フラグがONであると判断され、S64で枠サイズ固定フラグがONであると判断された状態で、図5のテキストオブジェクト143に使用者が文字列「defg」を追加した場合には以下の処理を行う。まず、S65において、オブジェクト情報記憶エリア811に記憶されたオブジェクト位置情報および属性としての文字位置情報から、テキストオブジェクト143の領域内に、文字列「defg」を含む文字列「abcdefg」が配置可能であるか否かが判断される。   Specifically, in a state where it is determined in S63 that the media saving mode valid flag is ON, and in S64 that the frame size fixing flag is determined to be ON, the user sets the character string “ When “defg” is added, the following processing is performed. First, in S65, the character string “abcdefg” including the character string “defg” can be arranged in the area of the text object 143 from the object position information stored in the object information storage area 811 and the character position information as an attribute. It is determined whether or not there is.

そして、S65で、入力された文字列「defg」を含む文字列「abcdefg」が、テキストオブジェクト143の領域の幅yに配置可能できない判断されると、以下の処理が行われる。まず、S67において、オブジェクト情報記憶エリア811に記憶されたオブジェクト位置情報から、文字列「defg」を含む文字列「abcdefg」がオブジェクト領域の幅y(図13参照)に配置可能となる最大文字サイズが算出される。そして、S68において、図6に示すオブジェクト情報記憶エリア811のオブジェクト番号3の内容情報には、「abcdefg」が記憶されるとともに、属性情報としての文字サイズには、算出された値の文字サイズが記憶される。   When it is determined in S65 that the character string “abcdefg” including the input character string “defg” cannot be arranged in the width y of the area of the text object 143, the following processing is performed. First, in S67, from the object position information stored in the object information storage area 811, the maximum character size that allows the character string “abcdefg” including the character string “defg” to be arranged in the width y (see FIG. 13) of the object area. Is calculated. In S68, “abcdefg” is stored in the content information of the object number 3 in the object information storage area 811 shown in FIG. 6, and the character size of the calculated value is included in the character size as the attribute information. Remembered.

この処理により、図5のテキストオブジェクト143に文字列「defg」の情報を追加入力した場合には、図13に示すように、テキストオブジェクト143の幅yは固定されたまま、文字列「defg」を含む文字列「abcdefg」が、テキストオブジェクト143の領域内に、縮小して配置される。   As a result of this processing, when the information of the character string “defg” is additionally input to the text object 143 of FIG. 5, as shown in FIG. 13, the character string “defg” A character string “abcdefg” including “is reduced and arranged in the area of the text object 143.

なお、S63やS64において、メディア節約モード有効フラグがONでないと判断された場合(S63:NO)や、枠サイズ固定フラグがONでないと判断された場合(S64:NO)には、S65〜S68までの処理は行われず、S65の処理へと進む。   If it is determined in S63 or S64 that the media saving mode valid flag is not ON (S63: NO), or if it is determined that the frame size fixing flag is not ON (S64: NO), S65 to S68. The process up to is not performed, and the process proceeds to S65.

具体的には、「テキスト制御情報記憶エリア653の枠サイズ固定フラグが「OFF」」の状態で、S63において、メディア節約モード有効フラグがONでないと判断された場合や、S64において枠サイズ固定フラグがONでないと判断された場合に、テキストオブジェクト143に文字列「defg」を追加で入力すると、図6のオブジェクト情報記憶エリア811には、属性としての文字サイズは変更されないまま、内容情報として、「abcdefg」が記憶されて、位置情報として、文字列「abcdefg」が配列できる大きさが記憶される。   Specifically, when the frame size fixing flag of the text control information storage area 653 is “OFF” and it is determined in S63 that the media saving mode valid flag is not ON, or the frame size fixing flag is determined in S64. If the character string “defg” is additionally input to the text object 143 when it is determined that is not ON, the object information storage area 811 in FIG. “Abcdefg” is stored, and the size at which the character string “abcdefg” can be arranged is stored as position information.

この処理により、図5のテキストオブジェクト143に文字列「defg」の情報を追加入力した場合には、図14に示すように、テキストオブジェクト143の幅yは、x5に変更される。   With this processing, when the information of the character string “defg” is additionally input to the text object 143 in FIG. 5, the width y of the text object 143 is changed to x5 as shown in FIG.

S61〜S68までの処理が終了すると、再度、メディア節約モード有効フラグ記憶エリア8211を参照して、メディア節約モード有効フラグがONか否かが判断される(S69)。そして、メディア節約モード有効フラグがONであると判断されると(S69:YES)、さらに、カット位置表示フラグ記憶エリア8217を参照して、カット位置表示フラグがONであるか否かが判断される(S70)。そして、カット位置表示フラグがONであると判断された場合には(S70:YES)、印刷時のカット位置が算出される(S71)。   When the processing from S61 to S68 is completed, it is determined again whether or not the media saving mode valid flag is ON by referring to the media saving mode valid flag storage area 8211 (S69). If it is determined that the media saving mode valid flag is ON (S69: YES), it is further determined with reference to the cut position display flag storage area 8217 whether or not the cut position display flag is ON. (S70). If it is determined that the cut position display flag is ON (S70: YES), the cut position at the time of printing is calculated (S71).

なお、S71におけるカット位置の算出方法は、以下のとおりである。まず、RAM80のオブジェクト情報記憶エリア811に記憶されたオブジェクト情報から、最下流側に配置されるオブジェクト(ここでは、オブジェクト番号1)を選択し、位置情報のうち「Left値」を読み込む。そして、最上流側に配置されるオブジェクト(ここでは、オブジェクト番号3)を選択し、位置情報のうちの「Right値」に、最下流側オブジェクトの「Left値」を足す。この、最下流側オブジェクトの「Left値」と最上流側オブジェクトの「Right値」とを足した値が、カット位置のテープ搬送方向下流端からの距離となる。   In addition, the calculation method of the cut position in S71 is as follows. First, from the object information stored in the object information storage area 811 of the RAM 80, an object (here, object number 1) arranged on the most downstream side is selected, and the “Left value” is read from the position information. Then, an object (here, object number 3) arranged on the most upstream side is selected, and the “Left value” of the most downstream object is added to the “Right value” in the position information. The value obtained by adding the “Left value” of the most downstream object and the “Right value” of the most upstream object is the distance from the downstream end of the cutting position in the tape transport direction.

S71でカット位置が算出されると、図16に示すように、作業領域150に表示され
たレイアウト140にカット位置145が表示される(S72)。なお、S69において、メディア節約モード有効フラグがONでないと判断された場合(S69:NO)や、S70において、カット位置表示フラグがONでないと判断された場合(S70:NO)には、カット位置の算出や、カット位置の表示は行われない。また、S61〜S72までの処理が終了すると、「レイアウト編集処理」は終了し、メイン処理へ戻る。
When the cut position is calculated in S71, the cut position 145 is displayed on the layout 140 displayed in the work area 150 as shown in FIG. 16 (S72). If it is determined in S69 that the media saving mode valid flag is not ON (S69: NO), or if it is determined in S70 that the cut position display flag is not ON (S70: NO), the cut position No calculation or display of the cut position is performed. When the processes from S61 to S72 are finished, the “layout editing process” is finished and the process returns to the main process.

次に、図24および図25を参照して、図19の「メイン処理」において実行される「印刷処理」についての説明を行う。「印刷処理」では、まず、RAM80のオブジェクト情報記憶エリア811に記憶されているオブジェクト情報が、印刷用加工オブジェクト情報記憶エリア831に記憶される(S81)。そして、メディア節約モード有効フラグ記憶エリア8211を参照して、メディア節約モード有効フラグがONか否かが判断され(S82)、メディア節約モード有効フラグがONでないと判断されると(S82:NO)、印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクト情報をもとに、印刷データが作成されて(S83)、印刷装置1に印刷データが送信される(S95)。   Next, with reference to FIGS. 24 and 25, the “printing process” executed in the “main process” of FIG. 19 will be described. In the “printing process”, first, the object information stored in the object information storage area 811 of the RAM 80 is stored in the printing processed object information storage area 831 (S81). Then, referring to the media saving mode valid flag storage area 8211, it is determined whether or not the media saving mode valid flag is ON (S82), and if it is determined that the media saving mode valid flag is not ON (S82: NO). Then, print data is created based on the object information stored in the printing processed object information storage area 831 (S83), and the print data is transmitted to the printing apparatus 1 (S95).

つまり、S82で、メディア節約モード有効フラグがONでないと判断された場合、印刷用加工オブジェクト情報記憶エリア831に記憶された情報の編集は行われず、図6に示すオブジェクト情報記憶エリア811に記憶されている情報が、そのまま印刷データを作成する際の情報として利用される。   That is, if it is determined in S82 that the media saving mode valid flag is not ON, the information stored in the printing processed object information storage area 831 is not edited and stored in the object information storage area 811 shown in FIG. This information is used as it is when creating print data.

一方、S82において、メディア節約モード有効フラグがONであると判断された場合には(S82:YES)、さらに、用紙余白最小化フラグ記憶エリア8212を参照して、用紙余白最小化フラグがONか否かが判断される(S84)。   On the other hand, if it is determined in S82 that the media saving mode valid flag is ON (S82: YES), the paper margin minimization flag storage area 8212 is referred to and the paper margin minimization flag is ON. It is determined whether or not (S84).

そして、用紙余白最小化フラグがONであると判断された場合には(S84:YES)、図26を参照して後述する用紙余白最小化処理が行われ(S85)、さらに、テキストオブジェクト内空白領域削除フラグ記憶エリア8214を参照してテキストオブジェクト内空白削除フラグがONか否かが判断される(S86)。なお、S84で用紙余白最小化フラグがONでないと判断された場合には(S84:NO)、用紙余白最小化処理は行われずに、テキストオブジェクト内空白削除フラグがONか否かが判断される(S86)。   If it is determined that the paper margin minimization flag is ON (S84: YES), a paper margin minimization process, which will be described later with reference to FIG. 26, is performed (S85). It is determined by referring to the area deletion flag storage area 8214 whether or not the blank deletion flag in the text object is ON (S86). If it is determined in S84 that the paper margin minimization flag is not ON (S84: NO), it is determined whether the blank deletion flag in the text object is ON without performing the paper margin minimization process. (S86).

そして、S86において、テキストオブジェクト内空白削除フラグがONであると判断されると(S86:YES)、図28を参照して後述するテキストオブジェクト内空白領域削除処理が行われ(S87)、さらに、オブジェクト間隔値最小化フラグ記憶エリア8213を参照してオブジェクト間隔値最小化フラグがONか否かが判断される(S88)。一方、テキストオブジェクト内空白削除フラグがONでないと判断されると(S86:NO)、テキストオブジェクト内空白領域削除処理は行われずに、オブジェクト間隔値最小化フラグがONか否かが判断される(S88)。   When it is determined in S86 that the text object blank space deletion flag is ON (S86: YES), the text object blank space deletion process described later with reference to FIG. 28 is performed (S87). It is determined whether or not the object interval value minimization flag is ON with reference to the object interval value minimization flag storage area 8213 (S88). On the other hand, if it is determined that the text object blank space deletion flag is not ON (S86: NO), the text object blank space deletion process is not performed, and it is determined whether the object interval value minimization flag is ON or not ( S88).

そして、S88において、オブジェクト間隔値最小化フラグがONであると判断されると(S88:YES)、図27を参照して後述するオブジェクト間隔値最小化処理が行われ(S89)、さらに、印刷データ作成処理が行われる(S90)。一方、オブジェクト間隔値最小化フラグがONでないと判断されると(S88:NO)、オブジェクト間隔値最小化処理は行われずに、印刷データ作成処理へと進む(S90)。   If it is determined in S88 that the object interval value minimization flag is ON (S88: YES), an object interval value minimization process which will be described later with reference to FIG. 27 is performed (S89), and further printing is performed. Data creation processing is performed (S90). On the other hand, if it is determined that the object interval value minimization flag is not ON (S88: NO), the object interval value minimization process is not performed, and the process proceeds to the print data creation process (S90).

S84〜S87までの処理が終了すると、RAM80の印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクト情報に基づいて、印刷データが作成される(S90)。そして、印刷プレビュー表示フラグ記憶エリア8216を参照して、印刷プレビュー表示フラグがONか否かが判断され(S91)、印刷プレビュー表示フラグがONであれば(S91:YES)、図15に示すように印刷プレビューを表示した後に(S94)、印刷オプション固定フラグ記憶エリア8218を参照して、印刷オプション固定フラグがONか否かが判断される(S93)。一方、S91において、印刷プレビュー表示フラグがONでないと判断されると(S91:NO)、印刷プレビューは表示されずに、S93の処理に進む。   When the processes from S84 to S87 are completed, print data is created based on the object information stored in the print processed object information storage area 831 of the RAM 80 (S90). Then, referring to the print preview display flag storage area 8216, it is determined whether or not the print preview display flag is ON (S91). If the print preview display flag is ON (S91: YES), as shown in FIG. After the print preview is displayed (S94), it is determined whether or not the print option fixed flag is ON with reference to the print option fixed flag storage area 8218 (S93). On the other hand, if it is determined in S91 that the print preview display flag is not ON (S91: NO), the print preview is not displayed and the process proceeds to S93.

そして、S93において、印刷オプション固定フラグがONであると判断されると(S93:YES)、印刷オプションを固定する処理が行われる(S94)。具体的には、図3に示す、印刷オプション情報記憶エリア651のオートカットフラグ記憶エリアに「1」が記憶されている場合、すなわち「オートカットフラグが「ON」」であると判断された場合には、つなげて印刷フラグ記憶エリアに「1」が記憶される。つまり、「オートカットフラグが「ON」」であると判断された場合には、強制的に「つなげて印刷フラグが「ON」」とされる。   If it is determined in S93 that the print option fixing flag is ON (S93: YES), processing for fixing the print option is performed (S94). Specifically, when “1” is stored in the auto cut flag storage area of the print option information storage area 651 shown in FIG. 3, that is, when it is determined that the “auto cut flag is“ ON ””. Are connected and “1” is stored in the print flag storage area. In other words, when it is determined that the “auto cut flag is“ ON ””, the “forcibly connect and print flag is set to“ ON ””.

S94で、印刷オプションを固定する処理が行われた後に、使用者がレイアウト140を2部印刷する指示を行うと、図17に示すように、1部目のテープ17については、印字されたあとレイアウト140の上流端でカットされる。一方、2部目のテープ17については、レイアウト140が印字された後、搬送されずに印刷装置1の中にとどまっている。そして、次の印刷動作(例えば、レイアウト140をさらに印字する場合や、別のレイアウトを印字する場合など)によりテープ17が搬送され、レイアウト140の上流端がテープカッター18の下方に来たときに、テープカッター18が動作する。   When the user gives an instruction to print two copies of the layout 140 after the processing for fixing the print options is performed in S94, as shown in FIG. 17, the first tape 17 is printed after printing. Cut at the upstream end of the layout 140. On the other hand, the second tape 17 remains in the printing apparatus 1 without being conveyed after the layout 140 is printed. Then, when the tape 17 is conveyed by the next printing operation (for example, when the layout 140 is further printed or when another layout is printed), the upstream end of the layout 140 comes below the tape cutter 18. The tape cutter 18 operates.

一方、S93において、印刷オプション固定フラグがOFFであると判断されると(S93:NO)、図5に示すレイアウト140について2部印刷した場合、印刷装置1の排出口13からは、レイアウト140が2部印刷され、それぞれレイアウト140の上流端でテープカッター18によりカットされる。この際、テープ17は、最上流の文字が印字された後、テープカッター18を通過するまで無印刷のままx7だけ搬送されている。そのため、次に印刷を行うときには、印刷インク用ヘッド19よりもテープ17の下流側に幅x7の余白が生じてしまうことになる。   On the other hand, if it is determined in S93 that the print option fixing flag is OFF (S93: NO), when two copies of the layout 140 shown in FIG. 5 are printed, the layout 140 is displayed from the discharge port 13 of the printing apparatus 1. Two copies are printed and each cut by the tape cutter 18 at the upstream end of the layout 140. At this time, after the uppermost character is printed, the tape 17 is conveyed by x7 without printing until it passes through the tape cutter 18. Therefore, when printing is performed next time, a margin of width x 7 is generated on the downstream side of the tape 17 from the printing ink head 19.

上述したS81〜S94の処理が終了すると、印刷用加工オブジェクト情報記憶されたオブジェクト情報に基づいた印刷データが印刷装置に送信される。そして、「印刷処理」を終了してメイン処理へ戻る。   When the processes of S81 to S94 described above are completed, print data based on the object information stored in the print processing object information is transmitted to the printing apparatus. Then, the “printing process” is terminated and the process returns to the main process.

次に、「印刷処理」の中で行われる「用紙余白最小化処理」について、図26を参照して説明を行う。用紙余白最小化処理は、「印刷処理」において、用紙余白最小化フラグがONであると判断された場合に開始される。この用紙余白最小化処理では、まず、印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクト位置欄8312に基づいて、Left値が最小のオブジェクトが検出される(S101)。すなわち、レイアウトにおいて、テープ搬送方向最下流に配置されているオブジェクトが検出されており、図5に示すレイアウト140では、テキストオブジェクト141が相当する。   Next, the “paper margin minimization process” performed in the “print process” will be described with reference to FIG. The paper margin minimization process is started when it is determined in the “printing process” that the paper margin minimization flag is ON. In this paper margin minimization process, first, an object having the smallest Left value is detected based on the object position field 8312 stored in the printing processed object information storage area 831 (S101). That is, in the layout, an object arranged at the most downstream side in the tape transport direction is detected, and the text object 141 corresponds to the layout 140 shown in FIG.

そして、検出されたオブジェクトのLeft値が、HDD60の最小余白値記憶エリア641に記憶された最小余白値Bminよりも大きいか否かが判断される(S102)。具体的には、印刷用加工オブジェクト情報記憶エリア831に記憶されている情報が、図6のRAM80のオブジェクト情報記憶エリア811に記憶されている情報と同一である場合、図5のレイアウト140においては、テキストオブジェクト141のLeft値である30mmが、HDD60の印刷装置情報記憶エリア630に記憶された最小余白値Bminである1mmよりも大きいか否かが判断されている。   Then, it is determined whether the Left value of the detected object is larger than the minimum margin value Bmin stored in the minimum margin value storage area 641 of the HDD 60 (S102). Specifically, when the information stored in the printing processed object information storage area 831 is the same as the information stored in the object information storage area 811 of the RAM 80 in FIG. 6, in the layout 140 in FIG. It is determined whether the left value 30 mm of the text object 141 is larger than 1 mm, which is the minimum margin value Bmin stored in the printing apparatus information storage area 630 of the HDD 60.

そして、当該オブジェクトのLeft値が、最小余白値Bminよりも大きいと判断された場合には(S102:YES)、印刷用加工オブジェクト情報記憶エリア831の当該オブジェクトのLeft値が、最小余白値Bminと等しい値として記憶され(S103)、「用紙余白最小化処理」を終了する。すなわち、具体的には、印刷用加工オブジェクト情報記憶エリア831に記憶されたテキストオブジェクト141のLeft値は、1mmとして記憶される。これにより、図5の作業領域150上では、幅x1が30mmである空白領域161を有するレイアウト140を印刷すると、図8に示すように、空白領域161の幅がBminと等しい1mmと変更されて出力される。一方、当該オブジェクトのLeft値が、最小余白値Bminよりも大きくないと判断されると(S102:NO)、オブジェクト情報は変更されずに、「用紙余白最小化処理」は終了する。   If it is determined that the Left value of the object is larger than the minimum margin value Bmin (S102: YES), the Left value of the object in the printing processed object information storage area 831 is the minimum margin value Bmin. They are stored as equal values (S103), and the “paper margin minimization process” is terminated. Specifically, the Left value of the text object 141 stored in the printing processed object information storage area 831 is stored as 1 mm. As a result, when the layout 140 having the blank area 161 whose width x1 is 30 mm is printed on the work area 150 in FIG. 5, the width of the blank area 161 is changed to 1 mm equal to Bmin as shown in FIG. Is output. On the other hand, if it is determined that the Left value of the object is not larger than the minimum margin value Bmin (S102: NO), the object information is not changed, and the “paper margin minimization process” ends.

次に、「印刷処理」の中で行われる「オブジェクト間隔値最小化処理」について、図27を参照して説明を行う。「オブジェクト間隔値最小化処理」は、「印刷処理」において、オブジェクト間隔値最小化フラグがONであると判断された場合に開始される。「オブジェクト間隔値最小化処理」は、テープ搬送方向下流側に配置されているオブジェクトから順番に2つずつ選択し、当該2つのオブジェクト間隔値をそれぞれ最小値にしていく処理である。   Next, the “object interval value minimizing process” performed in the “printing process” will be described with reference to FIG. The “object interval value minimizing process” is started when it is determined in the “printing process” that the object interval value minimizing flag is ON. The “object interval value minimizing process” is a process of selecting two objects in order from the objects arranged on the downstream side in the tape transport direction and setting the two object interval values to the minimum values.

この処理を行うために、「オブジェクト間隔値最小化処理」では、まず印刷用加工オブジェクト情報記憶エリア831に記憶された各オブジェクト情報が、テープ搬送方向下流側に配置されている順に並び替えられる。ここでは、印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクト位置欄8312に基づいて、各オブジェクトがLeft値の小さい順にソートされる(S111)。   In order to perform this processing, in the “object interval value minimization processing”, each object information stored in the printing processed object information storage area 831 is first rearranged in the order in which it is arranged on the downstream side in the tape transport direction. Here, based on the object position column 8312 stored in the printing processed object information storage area 831, the objects are sorted in ascending order of the Left value (S 111).

そして、ソートされた結果の1番目のオブジェクトをi=1とし、2番目のオブジェクトをj=2とする(S112)。これにより、テープ搬送方向最下流に配置されたオブジェクトと、最下流側から2番目に配置されたオブジェクトが選択されていることになる。すなわち、図5に示すレイアウト140では、テキストオブジェクト141とイメージオブジェクト142とが選択されている。   Then, the first object of the sorted result is set as i = 1, and the second object is set as j = 2 (S112). As a result, the object arranged at the most downstream side in the tape transport direction and the object arranged second from the most downstream side are selected. That is, in the layout 140 shown in FIG. 5, the text object 141 and the image object 142 are selected.

次に、jがオブジェクト情報記憶エリアに記憶されているオブジェクトの数よりも大きいか否かについて判断され(S113)、jが記憶されているオブジェクトの数よりも大きいと判断されると(S113:YES)、「オブジェクト間隔値最小化処理」は終了する。   Next, it is determined whether or not j is larger than the number of objects stored in the object information storage area (S113). If j is determined to be larger than the number of stored objects (S113: YES), the “object interval value minimization process” ends.

一方、jが記憶されているオブジェクトの数以下であると判断されると(S113)、「iのRight値」と「jのLeft値」との差が最小間隔値記憶エリアに記憶された最小間隔値Sminよりも大きいか否かが判断される(S114)。そして、「iのRight値」と「jのLeft値」との差が最小間隔値記憶エリアに記憶された最小間隔値Sminよりも大きいと判断されると(S114:YES)、印刷用加工オブジェクト情報記憶エリア831に記憶された「jのLeft値」が変更されて、「iのRight値」と「最小間隔値Smin」とを足した値とされる(S115)   On the other hand, if it is determined that j is less than or equal to the number of stored objects (S113), the difference between “Right value of i” and “Left value of j” is the minimum stored in the minimum interval value storage area. It is determined whether or not it is larger than the interval value Smin (S114). If it is determined that the difference between the “Right value of i” and the “Left value of j” is larger than the minimum interval value Smin stored in the minimum interval value storage area (S114: YES), the print processing object The “j Left value” stored in the information storage area 831 is changed to a value obtained by adding the “Right value of i” and the “minimum interval value Smin” (S115).

つまり、S114では、図5のレイアウト140におけるテキストオブジェクト141とイメージオブジェクト142との間の空白領域162の幅x2が、最小間隔値Sminよりも大きいかが否かを判断されていることになる。具体的には、印刷用加工オブジェクト情報記憶エリア831に記憶されている情報が、図6のRAM80のオブジェクト情報記憶エリア811に記憶されている情報と同一である場合、S114において、「テキストオブジェクト141のRight値70mm」と、「イメージオブジェクト142のLeft値100mm」との差30mmは、最小間隔値Sminの1mmよりも大きいと判断される。そして、S115において、イメージオブジェクト142のLeft値である100mmが、テキストオブジェクト141のRight値である70mmと最小間隔値である1mmを足した値71mmに変更される。   That is, in S114, it is determined whether or not the width x2 of the blank area 162 between the text object 141 and the image object 142 in the layout 140 of FIG. 5 is larger than the minimum interval value Smin. Specifically, when the information stored in the printing processed object information storage area 831 is the same as the information stored in the object information storage area 811 of the RAM 80 in FIG. The difference of 30 mm between the “Right value of 70 mm” and the “Left value of 100 mm of the image object 142” is determined to be larger than 1 mm of the minimum interval value Smin. In S115, the left value 100 mm of the image object 142 is changed to a value 71 mm obtained by adding 70 mm which is the right value of the text object 141 and 1 mm which is the minimum interval value.

これにより、図5の作業領域150では、レイアウト140上に、162の間隔で配置されていたテキストオブジェクト141とイメージオブジェクト142とは、印刷されると、図10に示すように、最小間隔値Sminの間隔で配置されていることになる。一方、「iのRight値」と「jのLeft値」との差が最小間隔値Smin以下であると判断されると(S114:NO)、印刷用加工オブジェクト情報記憶エリア831に記憶された情報の変更は行わない。   As a result, in the work area 150 of FIG. 5, when the text object 141 and the image object 142 arranged on the layout 140 at intervals of 162 are printed, as shown in FIG. It will be arranged at intervals of. On the other hand, if it is determined that the difference between the “Right value of i” and the “Left value of j” is equal to or smaller than the minimum interval value Smin (S114: NO), the information stored in the printing processed object information storage area 831 is stored. No changes are made.

S113〜S115の処理が終了すると、2番目にソートされたオブジェクトがi=i+1に設定しなおされるとともに、3番目にソートされたオブジェクトがj=j+1に設定しなおされる(S116)。これにより、最下流側から2番目に配置されたオブジェクトと3番目に配置されたオブジェクトとが選択されたことになる。すなわち、レイアウト140では、イメージオブジェクト142とテキストオブジェクト143とが選択されたことになる。そして、S113に戻り、jが記憶されているオブジェクト数よりも大きくなるまで(S113:YES)、S113〜S115までが繰り返される。   When the processes of S113 to S115 are completed, the second sorted object is reset to i = i + 1, and the third sorted object is reset to j = j + 1 (S116). As a result, the object arranged second from the most downstream side and the object arranged third are selected. That is, in the layout 140, the image object 142 and the text object 143 are selected. Then, the process returns to S113, and S113 to S115 are repeated until j becomes larger than the number of stored objects (S113: YES).

最後に、図28を参照して、「印刷処理」の中で行う「テキストオブジェクト内空白領域削除処理」について説明を行う。「テキストオブジェクト内空白領域削除処理」は、「印刷処理」の中で、テキストオブジェクト内空白削除フラグがONであると判断された場合に開始される。この「テキストオブジェクト内空白領域削除処理」では、まず、印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクト情報から、任意のオブジェクトがi=1として設定される(S131)。そして、iが印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクトの数よりも大きいか否かが判断され(S132)、大きいと判断された場合には(S132:YES)、テキストオブジェクト内空白領域削除処理を終了して、「印刷処理」に戻る。一方、iが印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクトの数以下であると判断された場合には(S132:NO)、選択したオブジェクトの種類がテキストであるか否かが判断される(S133)。   Finally, with reference to FIG. 28, the “blank area deletion process in text object” performed in the “printing process” will be described. The “text object blank area deletion process” is started when it is determined in the “print process” that the text object blank area deletion flag is ON. In this “blank area deletion process in text object”, first, an arbitrary object is set as i = 1 from the object information stored in the processed object information storage area 831 for printing (S131). Then, it is determined whether i is larger than the number of objects stored in the printing processed object information storage area 831 (S132). If it is determined that i is larger (S132: YES), the text object blank is determined. The area deletion process is terminated, and the process returns to the “print process”. On the other hand, when it is determined that i is equal to or less than the number of objects stored in the print processed object information storage area 831 (S132: NO), it is determined whether or not the type of the selected object is text. (S133).

S133において、オブジェクトの種類がテキストであると判断されると(S133:YES)、印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクト位置欄8312と、オブジェクト属性としての位置欄8315とから、オブジェクトのLeft値が文字列のLeft値よりも小さいか否かが判断される(S134)。そして、オブジェクトのLeft値が文字列のLeft値よりも小さいと判断されると(S134:YES)、文字列のLeft値として記憶されている値が、オブジェクトのLeft値と等しい値に変更して記憶される(S135)。   If it is determined in S133 that the object type is text (S133: YES), the object position field 8312 stored in the printing processed object information storage area 831 and the position field 8315 as the object attribute are used to determine the object. It is determined whether or not the Left value is smaller than the Left value of the character string (S134). If it is determined that the Left value of the object is smaller than the Left value of the character string (S134: YES), the value stored as the Left value of the character string is changed to a value equal to the Left value of the object. Stored (S135).

具体的には、図5に示すレイアウト140においては、S131で選択された任意のオブジェクトがテキストオブジェクト143である場合には、S133では種類がテキストであると判断される。そして、印刷用加工オブジェクト情報記憶エリア831に記憶されている情報が、図6のRAM80のオブジェクト情報記憶エリア811に記憶されている情報と同一である場合、S134では、オブジェクトのLeft値である150mmは、テキストのLeft値である170mmよりも小さいことが判断されて、S135では、文字列のLeft値として記憶されている値170mmが、オブジェクトのLeft値である150mmとして記憶される(S135)。   Specifically, in the layout 140 shown in FIG. 5, when the arbitrary object selected in S131 is the text object 143, it is determined in S133 that the type is text. If the information stored in the printing processed object information storage area 831 is the same as the information stored in the object information storage area 811 of the RAM 80 in FIG. 6, in S134, the Left value of the object is 150 mm. Is smaller than 170 mm which is the Left value of the text, and in S135, the value 170 mm stored as the Left value of the character string is stored as 150 mm which is the Left value of the object (S135).

一方、オブジェクトのLeft値が文字列のLeft値以上であると判断された場合には(S134:NO)、印刷用加工オブジェクト情報記憶エリア831に記憶された情報は、そのまま編集されずに次のステップに進む。具体的には、図5のテキストオブジェクト141においては、S134で、オブジェクトのLeft値である30mmと文字列「ABC」のLeft値である30mmとが等しいと判断されて、印刷用加工オブジェクト情報記憶エリア831に記憶された情報は変更されない。すなわち、図11に示すように、レイアウト140がテープ17に印刷された場合にも、テキストオブジェクト141の配置については変更されていない。   On the other hand, if it is determined that the Left value of the object is greater than or equal to the Left value of the character string (S134: NO), the information stored in the printing processed object information storage area 831 is not edited as it is and the next Proceed to step. Specifically, in the text object 141 of FIG. 5, it is determined in S134 that the object left value of 30 mm is equal to the character string “ABC” left value of 30 mm, and the processed object information for printing is stored. Information stored in area 831 is not changed. That is, as shown in FIG. 11, even when the layout 140 is printed on the tape 17, the arrangement of the text objects 141 is not changed.

文字列のLeft値について編集がなされると(S135)、次にオブジェクトのRight値が文字列のRight値よりも大きいか否かが判断される(S136)。そして、オブジェクトのRight値が文字列のRight値よりも大きいと判断されると(S136:YES)、オブジェクトのRight値として記憶されている値を、文字列のRight値と等しい値に変更して記憶させる(S137)。   If the Left value of the character string is edited (S135), it is next determined whether or not the Right value of the object is larger than the Right value of the character string (S136). If it is determined that the right value of the object is larger than the right value of the character string (S136: YES), the value stored as the right value of the object is changed to a value equal to the right value of the character string. Store (S137).

具体的には、図5のテキストオブジェクト143においては、S136で、オブジェクトのRight値である210mmが、文字列「abc」のRight値である190mmよりも大きいことが判断されて、S137において、オブジェクトのRight値として記憶されている値210mmを、文字列のRight値である190mmとして記憶させる。   Specifically, in the text object 143 of FIG. 5, it is determined in S136 that the Right value of 210 mm of the object is larger than 190 mm that is the Right value of the character string “abc”. The value 210 mm stored as the right value is stored as 190 mm which is the right value of the character string.

一方、オブジェクトのRight値が文字列のRight値以下であると判断された場合には(S136:NO)、印刷用加工オブジェクト情報記憶エリア831に記憶された情報は、そのまま編集されずに次のステップに進む。つまり、図5のテキストオブジェクト141においては、オブジェクトの上流端と文字列「ABC」の上流端とが等しい位置にあるため、図11に示すように、レイアウト140がテープ17に印刷された場合にも、テキストオブジェクト141の配置については変更されていない。   On the other hand, when it is determined that the right value of the object is equal to or lower than the right value of the character string (S136: NO), the information stored in the printing processed object information storage area 831 is not edited as it is, but the next Proceed to step. That is, in the text object 141 in FIG. 5, the upstream end of the object and the upstream end of the character string “ABC” are at the same position, so that the layout 140 is printed on the tape 17 as shown in FIG. However, the arrangement of the text object 141 is not changed.

S134〜S137の処理により、図5のテキストオブジェクト143を印刷すると、図11に示すように、文字列「abc」の下流端がオブジェクトの下流端に移動されているとともに、オブジェクトの上流端が文字列「abc」の上流端に移動された状態となり、印刷される。   When the text object 143 of FIG. 5 is printed by the processing of S134 to S137, the downstream end of the character string “abc” is moved to the downstream end of the object and the upstream end of the object is the character as shown in FIG. The state moved to the upstream end of the column “abc” is printed.

S134〜S137の処理が終了すると、S131で選択したオブジェクト以外のオブジェクトが、さらに選択される(S138)。なお、S131において選択したオブジェクトが、S133においてテキストオブジェクトでないと判断されると、S134〜S137の処理については行われずに、S138の処理が行われる。そして、印刷用加工オブジェクト情報記憶エリア831に記憶されたすべてのオブジェクトについて、S132〜S137の処理が繰り返される。   When the processes of S134 to S137 are completed, objects other than the object selected in S131 are further selected (S138). If it is determined that the object selected in S131 is not a text object in S133, the processing in S138 is performed without performing the processing in S134 to S137. And the process of S132-S137 is repeated about all the objects memorize | stored in the process object information storage area 831 for printing.

以上説明したように、本実施形態のパーソナルコンピュータ2によれば、図7に示すメディア節約モード設定画面300においてチェックを入力するだけで、簡単にテープ17の節約ができるので、使用者は、レイアウト140上でわざわざオブジェクトを動かさなくても、簡単にテープ17の節約をすることができる。また、使用者は、メディア節約モード設定画面300においてテープを節約するか否かを決定できるために、レイアウトを自由に配置したい使用者にとっても、使い勝手を損ねることがない。   As described above, according to the personal computer 2 of this embodiment, the user can easily save the tape 17 by simply inputting a check on the media saving mode setting screen 300 shown in FIG. Even if the object is not moved on 140, the tape 17 can be saved easily. In addition, since the user can determine whether or not to save the tape on the media saving mode setting screen 300, even the user who wants to freely arrange the layout does not impair usability.

また、使用者がテープ17に存在する空白領域を削除する選択をした場合には、余白値、オブジェクト間隔値、テキストオブジェクト内空白領域のうち、どの空白領域を削除するかを使用者が選択できるために、レイアウト140の自由度を高めることができる。また、印刷データ上のみでオブジェクトの位置を変更するので、エディタ100上ではオブジェクトの位置は変更されず、オブジェクトを自由に配置したい使用者にとっても、使い勝手を損ねることがない。   When the user selects to delete a blank area existing on the tape 17, the user can select which blank area to delete among the margin value, the object interval value, and the blank area in the text object. Therefore, the degree of freedom of the layout 140 can be increased. Further, since the position of the object is changed only on the print data, the position of the object is not changed on the editor 100, and the usability for the user who wants to freely arrange the object is not impaired.

さらに、使用者がテキストオブジェクトの大きさをあらかじめ固定する選択をした場合、テープ17の使用量をあらかじめ固定することができる。これにより、使用者が意図しないところでのテープ17の無駄遣いを抑えることができる。また、テキストオブジェクトの大きさを固定するか否かは、使用者が決定できるために、レイアウト140の自由度を高めることができる。   Further, when the user selects to fix the size of the text object in advance, the usage amount of the tape 17 can be fixed in advance. Thereby, wasteful use of the tape 17 where the user does not intend can be suppressed. In addition, since the user can determine whether or not to fix the size of the text object, the degree of freedom of the layout 140 can be increased.

また、使用者が、実際に印刷する前に、あらかじめ印刷プレビューや、カット位置145をエディタ100上に表示する選択をした場合には、使用者は、イメージどおりに印刷できるか否かを視覚的に判断することができる。したがって、印刷ミスによるテープ17の無駄遣いを防ぐことができるとともに、テープ17に無駄な空白領域があるか否かを視覚的に判断することができる。   In addition, when the user selects in advance a print preview or a cut position 145 to be displayed on the editor 100 before actually printing, the user visually determines whether or not the image can be printed according to the image. Can be judged. Therefore, wasteful use of the tape 17 due to a printing mistake can be prevented, and it can be visually determined whether or not there is a useless blank area on the tape 17.

さらに、使用者が印刷オプション固定化の入力をした場合には、印刷装置1の機械的構造によるテープ17の無駄遣いを防止することができる。また、印刷オプションの固定化を、図7に示す「メディア節約モード設定画面300」を利用して行う構成としたために、印刷装置1の機械的構造を熟知しない一般の使用者であっても、簡単にテープ17を節約することができる。   Furthermore, when the user inputs a fixed printing option, waste of the tape 17 due to the mechanical structure of the printing apparatus 1 can be prevented. Further, since the printing option is fixed using the “media saving mode setting screen 300” shown in FIG. 7, even a general user who is not familiar with the mechanical structure of the printing apparatus 1 The tape 17 can be saved easily.

なお、上記実施形態では、図4のRAM80に設けられたオブジェクト情報記憶エリア811が、「オブジェクト情報記憶手段」に相当する。また、図26の用紙余白最小化処理におけるS102の処理、図27のオブジェクト間隔値最小化処理におけるS114の処理および図28のテキストオブジェクト内空白領域削除処理におけるS134とS136との処理を実施するCPU50が「空白領域判定手段」に相当する。また、図24の印刷処理においてS83およびS90の処理を行うCPU50が「印刷データ作成手段」に相当する。また、図26の用紙余白最小化処理におけるS103の処理、図27のオブジェクト間隔値最小化処理におけるS115の処理、および図28のテキストオブジェクト内空白領域削除処理におけるS135とS137との処理を実施するCPU50が「印刷データ作成制御手段」に相当する。   In the above embodiment, the object information storage area 811 provided in the RAM 80 of FIG. 4 corresponds to “object information storage means”. The CPU 50 performs the processing of S102 in the paper margin minimization processing of FIG. 26, the processing of S114 in the object interval value minimization processing of FIG. 27, and the processing of S134 and S136 in the text object blank area deletion processing of FIG. Corresponds to “blank area determination means”. In addition, the CPU 50 that performs the processes of S83 and S90 in the printing process of FIG. 24 corresponds to the “print data creating unit”. Also, the process of S103 in the paper margin minimization process of FIG. 26, the process of S115 in the object interval value minimization process of FIG. 27, and the processes of S135 and S137 in the text object blank area deletion process of FIG. The CPU 50 corresponds to “print data creation control means”.

また、HDD60の最小余白値記憶エリア641が「最小余白値記憶手段」に相当し、最小間隔値記憶エリア642が「オブジェクト最小間隔値記憶手段」に相当する。また、図26の用紙余白最小化処理におけるS101およびS102の処理を実行するCPU50が「印刷時余白値算出手段」に相当し、図27のオブジェクト間隔値最小化処理におけるS112〜S114の処理を実施するCPU50が「オブジェクト間隔値算出手段」に相当する。   Further, the minimum margin value storage area 641 of the HDD 60 corresponds to “minimum margin value storage means”, and the minimum interval value storage area 642 corresponds to “object minimum interval value storage means”. Also, the CPU 50 that executes the processing of S101 and S102 in the paper margin minimization processing of FIG. 26 corresponds to “printing margin value calculation means”, and performs the processing of S112 to S114 in the object interval value minimization processing of FIG. The CPU 50 that corresponds to the “object interval value calculation means”.

さらに、エディタ100が「表示手段」に相当し、図23に示すレイアウト編集処理におけるS71の処理を行うCPU50が「カット位置算出手段」に相当し、S72の処理を行うCPU50が「カット位置表示制御手段」に相当する。また、図25に示す印刷処理におけるS92の処理を行うCPU50が「プレビュー表示制御手段」に相当する。   Further, the editor 100 corresponds to “display means”, the CPU 50 that performs the process of S71 in the layout editing process shown in FIG. 23 corresponds to “cut position calculation means”, and the CPU 50 that performs the process of S72 performs “cut position display control”. It corresponds to “means”. Further, the CPU 50 that performs the process of S92 in the printing process shown in FIG. 25 corresponds to a “preview display control unit”.

また、図7に示すメディア節約モード設定画面300が「節約モード選択手段」に相当し、HDD60の節約モード情報記憶エリア652と、RAM80の節約モード情報一時記憶エリア821とが「節約モード記憶手段」に相当する。また、図23のレイアウト編集処理におけるS63,S64,S69およびS70の処理をするCPU50と、図24および図25の印刷処理におけるS82,S84,S86,S88,S91およびS93の処理を行うCPU50とが、「節約モード判断手段」に相当する。   Further, the media saving mode setting screen 300 shown in FIG. 7 corresponds to “saving mode selection means”, and the saving mode information storage area 652 of the HDD 60 and the saving mode information temporary storage area 821 of the RAM 80 are “saving mode storage means”. It corresponds to. Further, the CPU 50 that performs the processes of S63, S64, S69, and S70 in the layout editing process of FIG. 23, and the CPU 50 that performs the processes of S82, S84, S86, S88, S91, and S93 in the print processes of FIGS. This corresponds to “saving mode determination means”.

また、図23に示すレイアウト編集画面におけるS65の処理をするCPU50が「配置可能判断手段」に相当し、S67およびS68の処理を行うCPU50が、「オブジェクトサイズ変更制御手段」に相当する。また、HDD60のテキスト制御情報記憶エリア653に設けられた枠サイズ固定フラグ記憶エリア6531と、RAM80のテキスト制御情報一時記憶エリア822に設けられた枠サイズ固定フラグ記憶エリア8221とが「オブジェクトサイズ変更選択記憶手段」に相当する。   Further, the CPU 50 that performs the processing of S65 on the layout editing screen shown in FIG. 23 corresponds to “placement determining means”, and the CPU 50 that performs the processing of S67 and S68 corresponds to “object size change control means”. The frame size fixed flag storage area 6531 provided in the text control information storage area 653 of the HDD 60 and the frame size fixed flag storage area 8221 provided in the text control information temporary storage area 822 of the RAM 80 are “object size change selection”. It corresponds to “memory means”.

さらに、HDD60のオートカットフラグ記憶エリア6511が「オートカット設定記憶手段」に相当し、図25の印刷処理におけるS94の処理を行うCPU50が、「最上流カット制御手段」に相当する。   Further, the auto cut flag storage area 6511 of the HDD 60 corresponds to “auto cut setting storage means”, and the CPU 50 that performs the processing of S94 in the print processing of FIG. 25 corresponds to “upstream cut control means”.

尚、本発明の印刷データ編集装置及び印刷データ編集プログラムは、上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。上記実施の形態では、印刷装置1としてテープを印刷する印刷装置を例にあげ、被印刷媒体であるメディアとしてテープを例にあげたが、被印刷媒体はテープでなく、カット紙、連続用紙、ダイカットシールの貼付されているテープであってもよく、印刷装置1も他の種類のメディアを印刷するレーザプリンタ、インクジェットプリンタ、熱転写プリンタ、ドットプリンタ等であってもよいことはいうまでもない。   Note that the print data editing apparatus and print data editing program of the present invention are not limited to the above-described embodiments, and it goes without saying that various changes can be made without departing from the scope of the present invention. In the above embodiment, a printing apparatus that prints a tape as the printing apparatus 1 is taken as an example, and a tape is taken as an example of a medium that is a printing medium. However, the printing medium is not a tape, but a cut sheet, Needless to say, a tape with a die-cut seal may be used, and the printing apparatus 1 may be a laser printer, an ink jet printer, a thermal transfer printer, a dot printer, or the like that prints other types of media.

また、上記実施の形態では、テープ17を節約する処理は、使用者がメディア節約モード設定画面300において、メディア節約モード有効チェックボックス311に入力をした場合のみ行ったが、使用者が設定した場合に限らなくてもよい。この場合には、使用者が節約モードとすることを忘れていたとしても、テープ17は必ず効率的に利用されるために、資源の有効利用を図ることができる。また、メディア節約モードの設定は、画面上で行われるものに限定されず、キーボード41上や印刷装置1上で行えるものとしても良い。   Further, in the above embodiment, the process of saving the tape 17 is performed only when the user inputs the media saving mode valid check box 311 on the media saving mode setting screen 300, but when the user sets it. It does not need to be limited to. In this case, even if the user forgets to enter the saving mode, the tape 17 is always used efficiently, so that resources can be effectively used. The setting of the media saving mode is not limited to that performed on the screen, and may be performed on the keyboard 41 or the printing apparatus 1.

さらに、本実施形態では、図24に示すように、RAM80の印刷用加工オブジェクト情報記憶エリア831に記憶されたオブジェクト情報8311〜8318は、印刷データの作成のみに利用され、作業領域150に表示されるレイアウト140には反映されていないが、反映させる構成としても良い。例えば、エディタ100上に、節約されたテープ17の状態を作業領域150に表示されたレイアウト140に反映させるためのボタンを設けて、使用者がボタンを選択した際には、印刷用加工オブジェクト情報記憶エリア831に記憶された情報を、RAM80のオブジェクト情報記憶エリア811に記憶させるようにしてもよい。この場合には、使用者は、節約されたテープ17の状態を視覚的に確認することができ、いっそう使い勝手を向上させることができる。   Further, in the present embodiment, as shown in FIG. 24, the object information 83111-8318 stored in the printing processed object information storage area 831 of the RAM 80 is used only for creating print data and displayed in the work area 150. Although not reflected in the layout 140, the configuration may be reflected. For example, when a button for reflecting the saved state of the tape 17 in the layout 140 displayed in the work area 150 is provided on the editor 100 and the user selects the button, the processing object information for printing is displayed. The information stored in the storage area 831 may be stored in the object information storage area 811 of the RAM 80. In this case, the user can visually confirm the state of the saved tape 17, and the usability can be further improved.

印刷装置1及びパーソナルコンピュータ2の概略を示す外観斜視図である。1 is an external perspective view showing an outline of a printing apparatus 1 and a personal computer 2. FIG. パーソナルコンピュータ2の電気的構成を示すブロック図である。2 is a block diagram showing an electrical configuration of a personal computer 2. FIG. HDD60の構成を示す模式図である。2 is a schematic diagram showing a configuration of an HDD 60. FIG. RAM80の構成を示す模式図である。3 is a schematic diagram showing a configuration of a RAM 80. FIG. 印刷装置1に印刷する文字等を入力するためのエディタ100の説明図である。3 is an explanatory diagram of an editor 100 for inputting characters to be printed on the printing apparatus 1. FIG. 図5の作業領域150に表示されるオブジェクトの情報が記憶されるオブジェクト情報記憶エリアの構成を示す模式図である。It is a schematic diagram which shows the structure of the object information storage area in which the information of the object displayed on the work area 150 of FIG. 5 is memorize | stored. メディア節約モード設定画面300である。It is a media saving mode setting screen 300. メディア節約モード有効チェックボックス311にチェックがされていない状態で、レイアウト140を印刷した場合のテープ17である。This is the tape 17 when the layout 140 is printed in a state where the media saving mode valid check box 311 is not checked. 用紙余白値最小化チェックボックス312にチェックがされている状態でレイアウト140を印刷した場合のテープ17である。This is the tape 17 when the layout 140 is printed in a state where the paper margin value minimization check box 312 is checked. オブジェクト間隔値最小化チェックボックス313に、チェックがされている状態でレイアウト140を印刷した場合のテープ17である。This is the tape 17 when the layout 140 is printed with the object interval value minimizing check box 313 checked. は、テキストオブジェクト内空白削除チェックボックス314に、チェックがされている状態でレイアウト140を印刷した場合のテープ17である。Is the tape 17 when the layout 140 is printed in a state where the blank deletion check box 314 in the text object is checked. 用紙余白値最小化チェックボックス312、オブジェクト間隔値最小化チェックボックス313およびテキストオブジェクト内空白削除チェックボックス314のすべてにチェックがされている状態で、レイアウト140を印刷した場合のテープ17である。This is the tape 17 when the layout 140 is printed in a state where all of the paper margin value minimization check box 312, the object interval value minimization check box 313 and the text object blank space deletion check box 314 are checked. 枠サイズ固定チェックボックス315にチェックが入力された状態で、テキストオブジェクト143に文字情報を追加した場合のレイアウトを示す図である。FIG. 11 is a diagram showing a layout when character information is added to a text object 143 in a state where a check is input to a frame size fixing check box 315. 枠サイズ固定チェックボックス315にチェックがされていない状態で、テキストオブジェクト143に文字情報を追加した場合のレイアウトを示す図である。FIG. 11 is a diagram showing a layout when character information is added to a text object 143 in a state where a frame size fixing check box 315 is not checked. 印刷プレビュー表示チェックボックス316にチェックが入力された状態で使用者が印刷指示を行った場合のプレビュー画面700である。This is a preview screen 700 when the user issues a print instruction in a state where a check is input in the print preview display check box 316. カット位置表示チェックボックス317にチェックが入力された状態でのレイアウト編集画面900である。This is a layout editing screen 900 in a state where a check is input to the cut position display check box 317. 印刷オプション固定チェックボックス318にチェックが入力された状態で、レイアウト140を2部印刷した場合のテープ17である。This is the tape 17 when two copies of the layout 140 are printed in a state where a check is entered in the print option fixing check box 318. 印刷オプション固定チェックボックス318にチェックがされていない状態で、レイアウト140を2部印刷した場合のテープ17である。This is the tape 17 when two copies of the layout 140 are printed in a state where the print option fixing check box 318 is not checked. メイン処理のフローチャートである。It is a flowchart of a main process. メイン処理の中で実施される「メディア節約モード設定処理」のフローチャートである。It is a flowchart of "media saving mode setting process" implemented in the main process. 「メディア節約モード設定処理」の中で実施される「メディア節約モード詳細設定処理」のフローチャートである。It is a flowchart of a “media saving mode detailed setting process” performed in the “media saving mode setting process”. 「メディア節約モード設定処理」の中で実施される「メディア節約モード詳細設定処理」のフローチャートである。It is a flowchart of a “media saving mode detailed setting process” performed in the “media saving mode setting process”. メイン処理の中で実施される「レイアウト編集処理」のフローチャートである。It is a flowchart of a “layout editing process” performed in the main process. メイン処理の中で実施される「印刷処理」のフローチャートである。It is a flowchart of a “print process” performed in the main process. メイン処理の中で実施される「印刷処理」のフローチャートである。It is a flowchart of a “print process” performed in the main process. 「印刷処理」の中で実施される「用紙余白最小化処理」のフローチャートである。10 is a flowchart of “paper margin minimization processing” performed in “print processing”. 「印刷処理」の中で実施される「オブジェクト間隔値最小化処理」のフローチャートである。10 is a flowchart of “object interval value minimization processing” performed in “print processing”. 「印刷処理」の中で実施される「テキストオブジェクト内空白領域削除処理」のフローチャートである。12 is a flowchart of “text object blank area deletion processing” performed in “print processing”.

1 印刷装置
2 パーソナルコンピュータ(印刷データ編集装置
17 テープ(被印刷媒体)
50 CPU
60 HDD
100 エディタ
121 印刷ボタン
140 レイアウト
145 カット位置
149 用紙イメージ
150 作業領域
161 空白領域
162 空白領域
163 空白領域
164 空白領域
165 空白領域
166 空白領域
300 メディア節約モード設定画面
310 詳細設定画面
311 メディア節約モード有効チェックボックス
312 用紙余白値最小化チェックボックス
313 オブジェクト間隔値最小化チェックボックス
314 テキストオブジェクト内空白削除チェックボックス
315 枠サイズ固定チェックボックス
316 印刷プレビュー表示チェックボックス
317 カット位置表示チェックボックス
318 印刷オプション固定チェックボックス
630 レイアウト情報記憶エリア
631 オブジェクト情報記憶エリア
640 印刷装置情報記憶エリア
641 最小余白値記憶エリア
642 最小間隔値記憶エリア
650 設定情報記憶エリア
651 印刷オプション情報記憶エリア
652 節約モード情報記憶エリア
700 プレビュー画面
810 レイアウト情報一時記憶エリア
811 オブジェクト情報一時記憶エリア
820 設定情報一時記憶エリア
821 節約モード情報一時記憶エリア
830 印刷データ記憶エリア
831 印刷用加工オブジェクト情報記憶エリア
6511 オートカットフラグ記憶エリア
6512 印刷フラグ記憶エリア
6521 メディア節約モード有効フラグ記憶エリア
6522 用紙余白最小化フラグ記憶エリア
6523 オブジェクト間隔値最小化フラグ記憶エリア
6524 テキストオブジェクト内空白領域削除フラグ記憶エリア
6525 枠サイズ固定フラグ記憶エリア
6526 印刷プレビュー表示フラグ記憶エリア
6527 カット位置表示フラグ記憶エリア
6528 印刷オプション固定フラグ記憶エリア
8211 メディア節約モード有効フラグ記憶エリア
8212 用紙余白最小化フラグ記憶エリア-
8213 オブジェクト間隔値最小化フラグ記憶エリア
8214 テキストオブジェクト内空白領域削除フラグ記憶エリア
8215 枠サイズ固定フラグ記憶エリア
8216 印刷プレビュー表示フラグ記憶エリア
8217 カット位置表示フラグ記憶エリア
8218 印刷オプション固定フラグ記憶エリア
1 Printing Device 2 Personal Computer (Print Data Editing Device 17 Tape (Printed Medium)
50 CPU
60 HDD
100 Editor 121 Print button 140 Layout 145 Cut position 149 Paper image 150 Work area 161 Blank area 162 Blank area 163 Blank area 164 Blank area 165 Blank area 166 Blank area 300 Media saving mode setting screen 310 Detailed setting screen 311 Media saving mode valid check Box 312 Paper margin value minimization check box 313 Object interval value minimization check box 314 Blank deletion in text object check box 315 Frame size fixing check box 316 Print preview display check box 317 Cut position display check box 318 Print option fixing check box 630 Layout information storage area 631 Object information storage area 640 Printing device information storage area 6 41 Minimum margin value storage area 642 Minimum interval value storage area 650 Setting information storage area 651 Print option information storage area 652 Saving mode information storage area 700 Preview screen 810 Layout information temporary storage area 811 Object information temporary storage area 820 Setting information temporary storage area 821 Saving mode information temporary storage area 830 Print data storage area 831 Print processing object information storage area 6511 Auto cut flag storage area 6512 Print flag storage area 6521 Media saving mode valid flag storage area 6522 Paper margin minimization flag storage area 6523 Object interval Value minimization flag storage area 6524 Text object blank area deletion flag storage area 6525 Frame size fixed flag storage area 652 6 Print preview display flag storage area 6527 Cut position display flag storage area 6528 Print option fixed flag storage area 8211 Media saving mode valid flag storage area 8212 Paper margin minimization flag storage area −
8213 Object interval value minimization flag storage area 8214 Text object blank area deletion flag storage area 8215 Frame size fixed flag storage area 8216 Print preview display flag storage area 8217 Cut position display flag storage area 8218 Print option fixed flag storage area

Claims (9)

印刷装置で被印刷媒体に印刷を行うための印刷データを編集する印刷データ編集装置であって、
印刷対象であるオブジェクトに関する位置、大きさ、内容、種類および種類ごとの属性のいずれかを少なくとも含むオブジェクト情報を記憶するオブジェクト情報記憶手段と、
前記オブジェクト情報記憶手段に記憶されている前記オブジェクト情報に基づいて、前記被印刷媒体中のどこに空白領域があるかを判定する空白領域判定手段と、
前記オブジェクト情報記憶手段に記憶されている前記オブジェクト情報に基づいて、前記印刷データを作成する印刷データ作成手段と、
前記空白領域判定手段により判定された前記空白領域がなくなるように、前記オブジェクト情報記憶手段に記憶されている前記オブジェクト情報を加工した印刷データを、前記印刷データ作成手段に作成させる印刷データ作成制御手段と
を備え
前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置、大きさ、種類を含むオブジェクト情報が記憶されるとともに、
前記オブジェクトの種類が文字の場合には当該オブジェクトの属性としてのオブジェクト内の文字の位置と大きさとを含むオブジェクト情報が記憶され、
前記空白領域判定手段は、前記オブジェクト情報記憶手段に記憶されているオブジェクトの種類が文字である場合に、当該オブジェクトの位置と大きさ、及び当該オブジェクト内の文字の位置と大きさに基づいて、当該オブジェクト内のどこに文字列の存在しない空白領域があるかを判定し、
前記印刷データ作成制御手段は、前記空白領域判定手段により、前記文字列よりも前記搬送方向の下流側に前記空白領域があると判定された場合には、当該空白領域の最下流に前記文字列を移動させて、前記印刷データ作成手段に印刷データを作成させるとともに、前記空白領域判定手段により、前記文字列よりも前記搬送方向の上流側に前記空白領域があると判定された場合には、当該オブジェクトの上流端を、前記文字列の上流端に移動させて、前記印刷データ作成手段に印刷データを作成させることを特徴とする印刷データ編集装置。
A print data editing device for editing print data for printing on a printing medium with a printing device,
Object information storage means for storing object information including at least any of the position, size, content, type, and attribute for each type related to the object to be printed;
A blank area determination unit that determines where in the print medium a blank area is based on the object information stored in the object information storage unit;
Print data creation means for creating the print data based on the object information stored in the object information storage means;
Print data creation control means for causing the print data creation means to create print data obtained by processing the object information stored in the object information storage means so that the blank area determined by the blank area determination means disappears It equipped with a door,
The object information storage means stores object information including at least the position, size, and type of the object,
When the type of the object is a character, object information including the position and size of the character in the object as an attribute of the object is stored,
When the type of the object stored in the object information storage unit is a character, the blank area determination unit, based on the position and size of the object, and the position and size of the character in the object, Determine where in the object there is a blank area where no string exists,
The print data creation control unit, when the blank area determination unit determines that the blank area is downstream of the character string in the transport direction, the character string at the most downstream of the blank area. When the print data creating means creates print data and the blank area judging means determines that the blank area is upstream in the transport direction from the character string, the upstream end of the object, the move to the upstream end of the string, the print data editing apparatus according to claim Rukoto to create the print data to the print data creating means.
前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置を含むオブジェクト情報が記憶され、
前記被印刷媒体の搬送方向下流端から、印刷可能領域の前記搬送方向下流端までのあらかじめ定められた距離である最小余白値を記憶する最小余白値記憶手段と、
前記オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体に前記印刷データを印刷した際の、前記被印刷媒体の搬送方向下流端から前記オブジェクトの前記搬送方向下流端までの距離である印刷時余白値を算出する印刷時余白値算出手段と
を備え、
前記空白領域判定手段は、前記印刷時余白値算出手段により算出された印刷時余白値が前記最小余白値記憶手段に記憶されている最小余白値よりも大きい場合に、前記オブジェクトの搬送方向下流側に空白領域があると判定し、
前記印刷データ作成制御手段は、前記空白領域判定手段により前記空白領域があると判定された場合には、前記印刷データ作成手段に、前記オブジェクトを移動させて、前記印刷時余白値を前記最小余白値とした印刷データを作成させることを特徴とする請求項1に記載の印刷データ編集装置。
The object information storage means stores object information including at least the position of the object,
Minimum margin value storage means for storing a minimum margin value that is a predetermined distance from the downstream end in the transport direction of the printing medium to the downstream end in the transport direction of the printable area;
Based on the object information stored in the object information storage means, from the downstream end in the transport direction of the print medium to the downstream end in the transport direction of the object when the print data is printed on the print medium Printing margin value calculating means for calculating a printing margin value which is a distance, and
The blank area determination unit is arranged on the downstream side in the transport direction of the object when the printing margin value calculated by the printing margin value calculation unit is larger than the minimum margin value stored in the minimum margin value storage unit. Is determined to have a blank area,
The print data creation control means moves the object to the print data creation means when the blank area judgment means determines that the blank area exists, and sets the print margin value to the minimum margin. The print data editing apparatus according to claim 1, wherein print data is generated as a value.
前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置を含むオブジェクト情報が複数のオブジェクトに対し記憶され、
前記搬送方向上流側のオブジェクトの下流端と、該搬送方向下流側のオブジェクトの上流端との間の、該搬送方向における間隔のあらかじめ設定された最小値であるオブジェクトの最小間隔値を記憶するオブジェクト最小間隔値記憶手段と、
前記オブジェクト情報記憶手段に記憶されている複数のオブジェクトの位置に基づいて、前記搬送方向上流側のオブジェクトの下流端と、該搬送方向下流側のオブジェクトの上流端との間の、該搬送方向における間隔であるオブジェクトの間隔値を算出するオブジェクト間隔値算出手段と
を備え、
前記空白領域判定手段は、前記オブジェクト間隔値算出手段により算出されたオブジェクトの間隔値が、前記オブジェクト最小間隔値記憶手段に記憶されているオブジェクトの最小間隔値よりも大きい場合に、前記搬送方向上流側のオブジェクトの下流端と、前記搬送方向下流側のオブジェクトの上流端との間に空白領域があると判定し、
前記印刷データ作成制御手段は、前記空白領域判定手段により前記空白領域があると判定された場合には、前記印刷データ作成手段に、前記オブジェクトを移動させて、前記オブジェクトの間隔値を前記オブジェクトの最小間隔値とした印刷データを作成させることを特徴とする請求項1または2に記載の印刷データ編集装置。
In the object information storage means, object information including at least the position of the object is stored for a plurality of objects,
An object that stores a minimum interval value of an object that is a preset minimum value of an interval in the conveyance direction between the downstream end of the object upstream in the conveyance direction and the upstream end of the object downstream in the conveyance direction A minimum interval value storage means;
Based on the positions of the plurality of objects stored in the object information storage means, the downstream end of the object upstream in the transport direction and the upstream end of the object downstream in the transport direction in the transport direction An object interval value calculating means for calculating an interval value of an object that is an interval, and
The blank area determination unit is configured to perform upstream of the conveyance direction when the object interval value calculated by the object interval value calculation unit is larger than the minimum object interval value stored in the object minimum interval value storage unit. It is determined that there is a blank area between the downstream end of the object on the side and the upstream end of the object on the downstream side in the transport direction,
The print data creation control means moves the object to the print data creation means and determines the interval value of the object when the blank area judgment means judges that the blank area exists. The print data editing apparatus according to claim 1, wherein print data having a minimum interval value is created.
前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置を含むオブジェクト情報が記憶され、
前記オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体と前記オブジェクトとを表示する表示手段と、
前記オブジェクト情報記憶手段に記憶されているオブジェクトの位置に基づいて、前記被印刷媒体をカットする際のカット位置を算出するカット位置算出手段と、
前記カット位置算出手段によって算出されたカット位置を、前記表示手段に表示するカット位置表示制御手段と
を備えたことを特徴とする請求項1乃至のいずれかに記載の印刷データ編集装置。
The object information storage means stores object information including at least the position of the object,
Display means for displaying the printing medium and the object based on the object information stored in the object information storage means;
Cut position calculating means for calculating a cut position when cutting the print medium based on the position of the object stored in the object information storage means;
The print data editing apparatus according to any one of claims 1 to 3 , further comprising: a cut position display control unit that displays the cut position calculated by the cut position calculation unit on the display unit.
前記オブジェクトを印刷するための印刷指示を行う印刷指示手段と、
前記オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体と前記オブジェクトとを表示する表示手段と、
前記印刷指示手段より、前記オブジェクトを印刷する旨の印刷指示を受けた場合に、必ず前記オブジェクトの印刷プレビューを前記表示手段に表示するプレビュー表示制御手段と
を備えたことを特徴とする請求項1乃至のいずれかに記載の印刷データ編集装置。
Print instruction means for issuing a print instruction for printing the object;
Display means for displaying the printing medium and the object based on the object information stored in the object information storage means;
2. A preview display control means for always displaying a print preview of the object on the display means when a print instruction for printing the object is received from the print instruction means. 5. The print data editing apparatus according to any one of 4 to 4 .
前記被印刷媒体の使用量を少なくする節約モードにするか否かを、使用者が選択する節約モード選択手段と、
前記節約モード選択手段によって前記節約モードが選択されているか否かを記憶する節約モード記憶手段と、
前記節約モード記憶手段に前記節約モードであると記憶されている場合に、節約モードであると判断する節約モード判断手段と
を備え、
前記節約モード判断手段により前記節約モードであると判断された場合に、前記印刷データ作成制御手段が動作することを特徴とする請求項1乃至のいずれかに記載の印刷データ編集装置。
A saving mode selection means for the user to select whether or not to enter a saving mode for reducing the amount of print medium used;
Saving mode storage means for storing whether or not the saving mode is selected by the saving mode selection means;
A saving mode determining means for determining that the saving mode is stored when the saving mode storage means stores the saving mode;
Wherein when it is determined that the saving mode by saving mode determining means, the print data editing apparatus according to any one of claims 1 to 5 wherein the print data generation control means is characterized in that work.
前記オブジェクト情報記憶手段には、少なくともオブジェクトの大きさ、種類、および種類ごとの属性を含むオブジェクト情報が記憶され、
前記オブジェクトの種類が文字の場合に、当該オブジェクトの領域内に、当該オブジェクトに入力された全ての文字列を前記オブジェクト情報に基づいて配置可能か否かを判断する配置可能判断手段と、
前記配置可能判断手段により配置できないと判断された場合に前記オブジェクトの大きさを固定するか否かを記憶するオブジェクトサイズ変更選択記憶手段と、
前記節約モード判断手段により前記節約モードであると判断された場合には、前記オブジェクトサイズ変更選択記憶手段に、前記オブジェクトの大きさを変更すると記憶されている場合であっても、前記オブジェクトの大きさの変更を行わないオブジェクトサイズ変更制御手段と
を備えたことを特徴とする請求項に記載の印刷データ編集装置。
The object information storage means stores at least object size, type, and object information including attributes for each type,
When the type of the object is a character, an arrangement possibility determination unit that determines whether or not all the character strings input to the object can be arranged in the area of the object based on the object information;
Object size change selection storage means for storing whether or not the size of the object is fixed when it is determined by the arrangement possibility determination means that the object cannot be arranged;
When the saving mode determination unit determines that the saving mode is selected, the object size change selection storage unit stores the size of the object even if the object size is changed and stored. The print data editing apparatus according to claim 6 , further comprising: an object size change control unit that does not change the size.
前記被印刷媒体のカット位置を前記印刷データに追加するカット位置指令手段と、
前記被印刷媒体を前記印刷装置が自動でカットするためのオートカット設定がされているか否かを記憶するオートカット設定記憶手段と、
前記オートカット設定記憶手段に前記オートカット設定がされていると記憶されている場合には、前記印刷データ中の前記搬送方向最上流のカット位置に対しては、カットを行わないようにする最上流カット制御手段と
を備えたことを特徴とする請求項1乃至のいずれかに記載の印刷データ編集装置。
A cut position command means for adding a cut position of the printing medium to the print data;
Auto-cut setting storage means for storing whether or not auto-cut setting for automatically cutting the printing medium by the printing apparatus is performed;
If it is stored in the auto cut setting storage means that the auto cut setting has been made, the cut position at the most upstream cut position in the transport direction in the print data is not to be cut. print data editing apparatus according to any one of claims 1 to 7, characterized in that it comprises an upstream cutting control means.
請求項1乃至のいずれかに記載の印刷データ編集装置の各種処理手段として、コンピュータを機能させるための印刷データ編集プログラム。 As various processing means of the print data editing apparatus according to any one of claims 1 to 8, the print data editing program for causing a computer to function.
JP2006202320A 2006-07-25 2006-07-25 Print data editing apparatus and print data editing program Active JP4775155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006202320A JP4775155B2 (en) 2006-07-25 2006-07-25 Print data editing apparatus and print data editing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006202320A JP4775155B2 (en) 2006-07-25 2006-07-25 Print data editing apparatus and print data editing program

Publications (2)

Publication Number Publication Date
JP2008027378A JP2008027378A (en) 2008-02-07
JP4775155B2 true JP4775155B2 (en) 2011-09-21

Family

ID=39117918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006202320A Active JP4775155B2 (en) 2006-07-25 2006-07-25 Print data editing apparatus and print data editing program

Country Status (1)

Country Link
JP (1) JP4775155B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4924566B2 (en) * 2008-08-08 2012-04-25 ブラザー工業株式会社 Label data creation device, program, and recording medium
JP4675410B2 (en) * 2008-12-16 2011-04-20 シャープ株式会社 Image transmitting apparatus and preview display method
JP4677483B2 (en) * 2008-12-16 2011-04-27 シャープ株式会社 Image forming apparatus and preview display method
JP5054828B2 (en) * 2011-01-24 2012-10-24 シャープ株式会社 Image transmitting apparatus and preview display method
JP5054829B2 (en) * 2011-01-28 2012-10-24 シャープ株式会社 Image forming apparatus and preview display method
JP6035827B2 (en) * 2012-04-12 2016-11-30 セイコーエプソン株式会社 Image forming apparatus and image forming method
JP6413483B2 (en) * 2014-08-25 2018-10-31 セイコーエプソン株式会社 Printing apparatus, control method, and program
JP7301353B2 (en) * 2019-07-02 2023-07-03 株式会社寺岡精工 printer
JP7304005B2 (en) 2019-09-30 2023-07-06 ブラザー工業株式会社 printer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004128664A (en) * 2002-09-30 2004-04-22 Canon Inc Image processing apparatus and method
JP2005047137A (en) * 2003-07-28 2005-02-24 Fuji Photo Film Co Ltd Image arrangement method, image arrangement device, and image arrangement program
JP2005094413A (en) * 2003-09-18 2005-04-07 Ricoh Co Ltd Image forming apparatus
JP4402540B2 (en) * 2004-08-06 2010-01-20 キヤノン株式会社 Image processing system, control method therefor, and program

Also Published As

Publication number Publication date
JP2008027378A (en) 2008-02-07

Similar Documents

Publication Publication Date Title
JP4900058B2 (en) Label data creation device, program, and recording medium
US10261738B2 (en) Plug-in software program, function extension method, and function extension device
US11558519B2 (en) Method of controlling an image processing apparatus, an image processing apparatus, and a non-transitory storage medium that print a predetermined image and a predetermined mark in a printing area on a recording medium
JP4775155B2 (en) Print data editing apparatus and print data editing program
EP1818800B1 (en) Print data-editing apparatus and print data-editing program stored in computer readable medium
US8878874B2 (en) Image overlaying device and image overlaying program
JP5040543B2 (en) Image processing apparatus, image forming system, image processing method, and image processing program
JP4808559B2 (en) Tape printing apparatus and tape printing program
US7588380B2 (en) Label data creating apparatus, label data creating method, and computer program product
CN116483291A (en) Editing method, recording medium and information processing device
JP7243484B2 (en) Control program and information processing device
US7303343B2 (en) Printing system, method for processing data in printing system, program, and storage medium
JP2009083382A (en) Image forming apparatus and image processing program
JP7250605B2 (en) PRINTING METHOD, PRINTING SYSTEM AND PRINTING APPARATUS
JP2008009598A (en) Print controller, print control program, and print control method
JP4862637B2 (en) Image forming apparatus, image forming method, and image forming program
JP3969307B2 (en) Network printer and printer system
JP7293974B2 (en) Control program and information processing device
JP2007004676A (en) Print data editing apparatus and print data editing program
KR101279068B1 (en) Method and apparatus for resizing a watermark having a size out of a printable area of a paper
US8131167B2 (en) Image processing apparatus and image processing method
JP3034339B2 (en) Document editing and printing system
JP5098697B2 (en) Label data creation device, program, and recording medium
JP2007312077A (en) Image forming apparatus, image forming method, image forming program, and recording medium
JP2024043423A (en) Program, information processing device control method, and information processing device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080223

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090217

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110408

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110613

R150 Certificate of patent or registration of utility model

Ref document number: 4775155

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 3