JP4775155B2 - Print data editing apparatus and print data editing program - Google Patents
Print data editing apparatus and print data editing program Download PDFInfo
- 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
- 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
Links
- 238000011144 upstream manufacturing Methods 0.000 claims description 61
- 230000008859 change Effects 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 15
- 238000000034 method Methods 0.000 description 135
- 230000008569 process Effects 0.000 description 128
- 238000012217 deletion Methods 0.000 description 36
- 230000037430 deletion Effects 0.000 description 35
- 238000010586 diagram Methods 0.000 description 13
- 230000000694 effects Effects 0.000 description 8
- 238000013500 data storage Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
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に示すように、入力したデータを文字、図形、空白の属性判別後に、オブジェクト別に分離した後、あらかじめ設定された優先度に応じて、移動対象となるオブジェクトを縮小および移動し、生じた空白領域を削除して印刷レイアウトの自動変更を行うものが提案されている。このような印刷データ編集装置によれば、プリント時およびコピー時に用紙節約を行って、効率的に印刷出力させることができる。
しかしながら、特許文献1に記載の印刷データ編集装置は、規定用紙などの固定された範囲内において印刷レイアウトの自動変更を行うものであり、例えばテープなどのように印刷範囲が固定されないものについて、印刷レイアウトを調整して被印刷媒体を節約する技術は、これまで提案されていなかった。
However, the print data editing apparatus described in
テープなどのように印刷範囲が固定されない被印刷媒体については、作成されたレイアウトからテープ長を決定する場合があり、レイアウトの配置によっては、規定用紙に印刷する場合以上に被印刷媒体の無駄な消費が発生しやすい。また、テープなどは、規定用紙と比較して高価であるため、被印刷媒体の節約がいっそう求められていた。 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.
また、請求項4に係る発明の印刷データ編集装置は、請求項1乃至3のいずれかに記載の発明の構成に加え、前記オブジェクト情報記憶手段には、少なくともオブジェクトの位置を含むオブジェクト情報が記憶され、前記オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体と前記オブジェクトとを表示する表示手段と、前記オブジェクト情報記憶手段に記憶されているオブジェクトの位置に基づいて、前記被印刷媒体をカットする際のカット位置を算出するカット位置算出手段と、前記カット位置算出手段によって算出されたカット位置を、前記表示手段に表示するカット位置表示制御手段とを備えたことを特徴とする。
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
また、請求項5に係る発明の印刷データ編集装置は、請求項1乃至4のいずれかに記載の発明の構成に加え、前記オブジェクトを印刷するための印刷指示を行う印刷指示手段と、前記オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体と前記オブジェクトとを表示する表示手段と、前記印刷指示手段より、前記オブジェクトを印刷する旨の印刷指示を受けた場合に、必ず前記オブジェクトの印刷プレビューを前記表示手段に表示するプレビュー表示制御手段とを備えたことを特徴とする。 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.
また、請求項6に係る発明の印刷データ編集装置は、請求項1乃至5のいずれかに記載の発明の構成に加え、前記被印刷媒体の使用量を少なくする節約モードにするか否かを、使用者が選択する節約モード選択手段と、前記節約モード選択手段によって前記節約モードが選択されているか否かを記憶する節約モード記憶手段と、前記節約モード記憶手段に前記節約モードであると記憶されている場合に、節約モードであると判断する節約モード判断手段とを備え、前記節約モード判断手段により前記節約モードであると判断された場合に、前記印刷データ作成制御手段が動作することを特徴とする。
Further, the print data editing apparatus of the invention according to
また、請求項7に係る発明の印刷データ編集装置は、請求項6に記載の発明の構成に加え、前記オブジェクト情報記憶手段には、少なくともオブジェクトの大きさ、種類、および種類ごとの属性を含むオブジェクト情報が記憶され、前記オブジェクトの種類が文字の場合に、当該オブジェクトの領域内に、当該オブジェクトに入力された全ての文字列を前記オブジェクト情報に基づいて配置可能か否かを判断する配置可能判断手段と、前記配置可能判断手段により配置できないと判断された場合に前記オブジェクトの大きさを固定するか否かを記憶するオブジェクトサイズ変更選択記憶手段と、前記節約モード判断手段により前記節約モードであると判断された場合には、前記オブジェクトサイズ変更選択記憶手段に、前記オブジェクトの大きさを変更すると記憶されている場合であっても、前記オブジェクトの大きさの変更を行わないオブジェクトサイズ変更制御手段とを備えたことを特徴とする。 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.
また、請求項8に係る発明の印刷データ編集装置は、請求項1乃至7のいずれかに記載の発明の構成に加え、前記被印刷媒体のカット位置を前記印刷データに追加するカット位置指令手段と、前記被印刷媒体を前記印刷装置が自動でカットするためのオートカット設定がされているか否かを記憶するオートカット設定記憶手段と、前記オートカット設定記憶手段に前記オートカット設定がされていると記憶されている場合には、前記印刷データ中の前記搬送方向最上流のカット位置に対しては、カットを行わないようにする最上流カット制御手段とを備えたことを特徴とする。 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.
また、請求項9に係る発明の印刷データ編集プログラムは、請求項1乃至8のいずれかに記載の印刷データ編集装置の各種処理手段として、コンピュータを機能させる。 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.
また、請求項4に係る発明の印刷データ編集装置では、請求項1乃至3のいずれかに記載の発明の効果に加え、オブジェクト情報記憶手段は、少なくともオブジェクトの位置を含むオブジェクト情報を記憶し、表示手段は、オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、被印刷媒体と前記オブジェクトとを表示し、カット位置算出手段は、オブジェクト情報記憶手段に記憶されているオブジェクトの位置に基づいて、被印刷媒体をカットする際のカット位置を算出し、カット位置表示制御手段は、前記カット位置算出手段によって算出されたカット位置を、前記表示手段に表示する。そのため、使用者は、カット位置がどこに算出されたのか、すなわち被印刷媒体がどこでカットされるのかを、印刷前に視覚的に確認することができる。これにより、使用者は、被印刷媒体に情報が印字されない箇所が生じる場合にはあらかじめ知ることができ、使用者が気づかないまま被印刷媒体が無駄に消費されてしまうことを防止することができる。
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
また、請求項5に係る発明の印刷データ編集装置では、請求項1乃至4のいずれかに記載の発明の効果に加え、印刷指示手段は、オブジェクトを印刷するための印刷指示を行い、表示手段は、オブジェクト情報記憶手段に記憶されているオブジェクト情報に基づいて、前記被印刷媒体と前記オブジェクトとを表示し、プレビュー表示制御手段は、前記印刷指示手段より、前記オブジェクトを印刷する旨の印刷指示を受けた場合に、必ず前記オブジェクトの印刷プレビューを前記表示手段に表示する。このように、使用者は、被印刷媒体に印刷がされる場合には必ず印刷プレビューを見ることができることから、被印刷媒体の印刷状態を印刷前に視覚的に確認することができる。これにより、使用者は、被印刷媒体に情報が印字されない箇所が生じる場合にはあらかじめ知ることができ、使用者が気づかないまま被印刷媒体が無駄に消費されてしまうことを防止することができる。
In the print data editing apparatus of the invention according to
また、請求項6に係る発明の印刷データ編集装置によれば、請求項1乃至5のいずれかに記載の発明の効果に加え、節約モード選択手段によって、被印刷媒体の使用量を少なくする節約モードにするか否かを使用者が選択でき、節約モード記憶手段は、節約モード選択手段によって前記節約モードが選択されているか否かを記憶し、節約モード判断手段は、前記節約モード記憶手段に前記節約モードであると記憶されている場合に、節約モードであると判断し、前記節約モード判断手段により前記節約モードであると判断された場合に、前記印刷データ作成制御手段は動作する。これにより、被印刷媒体を節約するか否かを使用者が必要に応じて決定することができ、例えば、レイアウトを自由に配置したい使用者は、被印刷媒体を節約しない選択をすることもできる。このため、使用者の使い勝手を悪くすることがない。
Further, according to the print data editing apparatus of the invention according to
また、請求項7に係る発明の印刷データ編集装置によれば、請求項6に記載の発明の効果に加え、オブジェクト情報記憶手段は、少なくともオブジェクトの大きさ、種類、および種類ごとの属性を含むオブジェクト情報を記憶し、配置可能判断手段は、オブジェクトの種類が文字の場合に、オブジェクトの領域内に、オブジェクトに入力された全ての文字列をオブジェクト情報に基づいて配置可能か否かを判断し、オブジェクトサイズ変更選択記憶手段は、配置可能判断手段により配置できないと判断された場合にオブジェクトの大きさを固定するか否かを記憶し、オブジェクトサイズ変更制御手段は、節約モード判断手段により節約モードであると判断された場合には、オブジェクトサイズ変更選択記憶手段に、オブジェクトの大きさを変更すると記憶されている場合であっても、前記オブジェクトの大きさの変更を行わない。そのため、使用者が意図しないまま、オブジェクトの大きさが変更されてしまうことを防止して、被印刷媒体の消費量が増えてしまうことを防止することができる。
According to the print data editing apparatus of the invention of
また、請求項8に記載の印刷データ編集装置によれば、請求項1乃至7のいずれかに記載の発明の効果に加えて、カット位置指令手段は、被印刷媒体のカット位置を印刷データに追加し、オートカット設定記憶手段は、前記被印刷媒体を前記印刷装置が自動でカットするためのオートカット設定がされているか否かを記憶し、最上流カット制御手段は、前記オートカット設定記憶手段に前記オートカット設定がされていると記憶されている場合には、前記印刷データ中の前記搬送方向最上流のカット位置に対しては、カットを行わないようにすることができる。通常、印刷装置では、印刷用ヘッドとテープカッターとは、機械的構造上の理由から、所定距離離れて配置されている。そのため、従来の印刷データ編集装置をオートカット設定状態で用いた場合には、カット位置がテープカッター位置に到達するまで被印刷媒体を搬送した後で、テープカッターを動作させていた。この場合、次の印刷が行われる際には、テープカッターの位置が被印刷媒体の下流端となるとともに印刷用ヘッドの位置が印刷領域の下流端になることから、テープカッターと印刷用ヘッドとの間には、無駄な空白領域が生じてしまう。本発明の印刷データ編集装置では、最上流のカット位置に対してはカットを行わないため、最上流のオブジェクトを印刷した後、被印刷媒体をテープカッター位置まで無印刷のまま搬送する必要がない。そのため、被印刷媒体を無駄に使用することを防止することができる。 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.
また、請求項9に記載の印刷データ編集プログラムによれば、請求項1乃至8のいずれかに記載の印刷データ編集装置の各種処理手段として、コンピュータを機能させる。そのため、請求項1乃至8のいずれかに記載の発明の効果を奏することができる。
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
以下、本発明の実施の形態について、図面を参照して説明する。まず、印刷装置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
図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
また、図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
次に、図2を参照して、パーソナルコンピュータ2の電気的構成について説明する。図2に示すように、パーソナルコンピュータ2には、パーソナルコンピュータ2の制御を司るCPU50が設けられている。このCPU50には、CPU50が実行するBIOS等のプログラムを記憶したROM51と、データを一時的に記憶するRAM80と、データの記憶媒体であるCD−ROM54を挿入し、データの読み込みを行うCD−ROMドライブ53と、データの記憶装置であるHDD60とが、バス55を介して接続されている。
Next, the electrical configuration of the
さらに、CPU50には、バス55を介して、印刷装置1を含めた外部機器(デバイス)との通信を行うためのUSBインタフェース70と、利用者に操作画面を表示するためのモニタ31の画面表示処理を行う表示制御部30と、利用者が操作の入力を行うキーボード41やマウス42に接続され、それらの入力の検知を行う入力検知部40とが、接続されている。なお、パーソナルコンピュータ2には、図示外のフレキシブルディスクドライブ、音声等の入出力部、各種インタフェースなどが設けられていてもよい。
Further, the
また、CD−ROM54には、印刷データ編集プログラムや、印刷データ編集プログラ
ムの実行時に使用される設定やデータ等が記憶されており、導入時には、CD−ROM54からHDD60に設けられたプログラム記憶エリア610やプログラム関係情報記憶エリア620に記憶されるようになっている。尚、パーソナルコンピュータ2の印刷データ編集プログラム及びその使用データ等の取得方法はCD−ROM54によるものに限らず、フレキシブルディスクやMOといった他の記録媒体であってもよく、また、パーソナルコンピュータ2をネットワークに接続させ、ネットワーク上の他の端末から取得してもよい。
The CD-
次に、図3を参照して、HDD60に設けられている記憶エリアについて説明する。HDD60には、パーソナルコンピュータ2で実行される各種のプログラムを記憶するプログラム記憶エリア610とプログラムの実行に必要な情報を記憶したプログラム関係情報記憶エリア620とが設けられている。さらに、HDD60には、印刷装置1に関する情報を記憶した印刷装置情報記憶エリア630、後述するレイアウト編集画面(図5参照)で編集されるレイアウトに関する情報を記憶するレイアウト情報記憶エリア640、使用者が設定した設定情報を記憶する設定情報記憶エリア650が設けられている。
Next, a storage area provided in the
プログラム関係情報記憶エリア620には、少なくとも、レイアウトに配置される複数のオブジェクトの間隔の最小値である最小間隔値Sminを記憶する最小間隔値記憶エリア621が設けられる。なお、本実施形態の印刷装置1においては、最小間隔値Sminとして1mmが記憶されているものとする。
The program-related
また、印刷装置情報記憶エリア630には、印刷装置1ごとに定められているテープ搬送方向下流端から印刷可能領域の下流端までの距離である最小余白値Bminを記憶する最小余白値記憶エリア631少なくとも設けられる。なお、本実施形態の印刷装置1においては、最小余白値Bminとして1mmが記憶されているものとする。
The printing apparatus
さらに、設定情報記憶エリア650には、使用者が選択した印刷方法を記憶する印刷オプション情報記憶エリア651と、後述する節約モードに関する情報を記憶する節約モード情報記憶エリア652と、テキストの制御に関する情報を記憶するテキスト制御情報記憶エリア653とが設けられている。印刷オプション情報記憶エリア651には、印刷後のテープ17を自動カットするか否かを記憶するオートカットフラグ記憶エリア6511と、テープ搬送方向最上流のカット位置に対して実際にカットするか否かを記憶する、つなげて印刷フラグ記憶エリア6512とが設けられている。また、テキスト制御情報記憶エリア653には、テキストオブジェクトの枠サイズを固定するか否かを記憶する枠サイズ固定フラグ記憶エリア6531が設けられている。
Further, the setting
節約モード情報記憶エリア652には、後述する「メディア節約モード」を有効にする設定となっているか否かを記憶するメディア節約モード有効フラグ記憶エリア6521と、テープ17の余白値を最小にして印刷を行う設定となっているか否かを記憶する用紙余白最小化フラグ記憶エリア6522と、レイアウトに配置される複数のオブジェクトの間隔を最小にする設定となっているか否かを記憶するオブジェクト間隔値最小化フラグ記憶エリア6523とが設けられる。また、節約モード情報記憶エリア652には、オブジェクトの種類がテキストである場合にオブジェクト内の空白をなくす設定となっているか否かを記憶するテキストオブジェクト内空白領域削除フラグ記憶エリア6524と、オブジェクトの大きさを固定する設定となっているか否かを記憶する枠サイズ固定フラグ記憶エリア6525とが設けられている。節約モード情報記憶エリア652には、さらに、テープ17を印刷する際にはかならずプレビュー表示をする設定となっているか否かを記憶する印刷プレビュー表示フラグ記憶エリア6526と、レイアウト画面上にカット位置を表示させる設定となっているか否かを記憶するカット位置表示フラグ記憶エリア6527と、印刷後のテープ17を自動カットする設定となっている場合には、必ず最上流のカット位置に対してはカットを行わない設定となっているか否かを記憶する印刷オプション固定フラグ記憶エリア6528とが設けられている。
In the saving mode
次に、図4を参照して、RAM80に設けられている記憶エリアについて説明する。上述したHDD60の記憶エリアに記憶された情報は、電源を切っても消えない一方で、RAM80に設けられた記憶エリアに記憶された情報は、電源を切ると消えてしまう。そのため、RAM80の記憶エリアには、任意の入力を行う間、一時的に記憶していればよい情報が記憶される。
Next, the storage area provided in the
RAM80には、レイアウト編集画面(図5参照)で編集されるレイアウトに関する情報を一時的に記憶するレイアウト情報一時記憶エリア810、後述する節約モードに関する情報や、テキストの制御方法に関する情報を一時的に記憶する設定情報一時記憶エリア820、および印刷データに関する情報を記憶する印刷データ記憶エリア830が設けられている。
The
レイアウト情報一時記憶エリア810には、レイアウトに配置されるオブジェクトの情報を記憶するオブジェクト情報記憶エリア811が設けられる。また、設定情報一時記憶エリア820には、メディア節約モード設定画面300(図7参照)で設定される節約モードに関する情報を、設定処理の間だけ一時的に記憶する節約モード情報一時記憶エリア821が設けられる。この節約モード情報一時記憶エリア821に記憶された情報は、使用者が所定の指示を行うことにより、HDD60の「節約モード情報記憶エリア652」に記憶される。
The layout information
節約モード情報一時記憶エリア821には、後述するメディア節約モードを有効にする設定となっているか否かを記憶するメディア節約モード有効フラグ記憶エリア8211と、テープ17の余白値を最小にして印刷を行う設定となっているか否かを記憶する用紙余白最小化フラグ記憶エリア8212と、レイアウトに配置される複数のオブジェクトの間隔を最小にする設定となっているか否かを記憶するオブジェクト間隔値最小化フラグ記憶エリア8213とが設けられる。また、節約モード情報一時記憶エリア821には、オブジェクトの種類がテキストである場合にオブジェクト内の空白をなくす設定となっているか否かを記憶するテキストオブジェクト内空白領域削除フラグ記憶エリア8214と、オブジェクトの大きさを固定する設定となっているか否かを記憶する枠サイズ固定フラグ記憶エリア8215とが設けられている。さらに、節約モード情報一時記憶エリア821には、さらに、テープ17を印刷する際にはかならずプレビュー表示をする設定となっているか否かを記憶する印刷プレビュー表示フラグ記憶エリア8216と、レイアウト編集画面(図5参照)の作業領域150にカット位置145を表示させる設定となっているか否かを記憶するカット位置表示フラグ記憶エリア8217と、印刷オプションを固定する設定となっているか否かを記憶する印刷オプション固定フラグ記憶エリア8218とが設けられている。
In the saving mode information
また、設定情報一時記憶エリア820には、テキストの制御に関する情報を記憶するテキスト制御情報一時記憶エリア822が設けられている。このテキスト制御情報一時記憶エリア822には、テキストオブジェクトの枠サイズを固定するか否かを記憶する枠サイズ固定フラグ記憶エリア8221が設けられている。
The setting information
印刷データ記憶エリア830には、印刷用に加工したオブジェクト情報を記憶するための印刷用加工オブジェクト情報記憶エリア831が設けられている。そして、印刷用加工オブジェクト情報記憶エリア831には、オブジェクト種類が記憶されるオブジェクト種類欄8311、オブジェクト位置が記憶されるオブジェクト位置欄8312、オブジェクト内容が記憶されるオブジェクト内容欄8313、およびテキストオブジェクトについてのみオブジェクト属性に関する情報が記憶されるオブジェクト属性欄8314が設けられている。またオブジェクト属性欄8314には、属性としての文字位置が記憶される位置欄8315、文字サイズが記憶されるサイズ欄8316、文字のフォントが記憶されるフォント欄8317、および文字内容が記憶される内容欄8318が設けられている。
The print
次に、図5を参照して、パーソナルコンピュータ2で起動するエディタ100について説明する。図5は、印刷装置1に印刷する文字等を入力するためのエディタ100の説明図である。エディタ100は、印刷データ編集プログラムの動作により、パーソナルコンピュータ2のモニタ31に表示され、キーボード41やマウス42の操作によりデータ入力や指示が行われる。
Next, with reference to FIG. 5, the
図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
ここで、RAM80のオブジェクト情報記憶エリア811について、図6を参照して説明する。図6は、図5の作業領域150に表示されるオブジェクトの情報が記憶されるオブジェクト情報一時記憶エリアの構成を示す模式図である。オブジェクト情報記憶エリア811は、作業領域150においてレイアウト140の編集をする間、レイアウトに配置されるオブジェクトに関する情報を、記憶するエリアであり、図6に示すように、オブジェクト番号欄、種類情報欄、位置情報欄、内容情報欄、属性情報欄が設けられている。オブジェクト番号欄にはオブジェクトを識別する為の番号が記憶され、種類情報欄にはオブジェクトの種類が記憶されている。また、位置情報欄には用紙の左上からオブジェクトの上下左右までの距離が記憶され、内容情報欄にはオブジェクトが文字オブジェクトであれば表示される文字情報、イメージオブジェクトであれば画像データ等が記憶されている。さらに、属性情報欄には、オブジェクトの種類に応じた属性が記憶される。すなわち、オブジェクトがテキストオブジェクトであれば、オブジェクトの左上から文字列の上下左右の距離、文字サイズ、フォントなどの属性が記憶され、オブジェクトがイメージオブジェクトであれば、解像度などの属性が記憶される。
Here, the object
図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
このオブジェクト番号1のテキストオブジェクトが、作業領域150においてレイアウトに配置されると、図5のレイアウト140のテキストオブジェクト141のように表示される。ここで、テキストオブジェクト141がオブジェクト情報記憶エリアに記憶される位置情報として「Left値:30mm」を持つことより、図5に示すレイアウト140の上では、テキストオブジェクト141の左側に幅x1が30mmの空白領域161が存在することになる。
When the text object of
また、オブジェクト番号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
また、オブジェクト番号3のテキストオブジェクトは、用紙の左上からオブジェクト上端までの距離(Top値)が5mm、左端までの距離(Left値)が150mm、下端までの距離(Bottom値)が15mm、右端までの距離(Right値)が210mmの位置に配置され、「abc」という文字列が記憶されている。また、この「abc」という文字列は、用紙の左上から文字列の上端までの距離(Top値)が5mm、左端までの距離(Left値)が170mm、下端までの距離(Bottom値)が15mm、右端までの距離(Right値)が190mmの位置に配置されている。
The text object of
このオブジェクト番号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
さらに、イメージオブジェクト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
次に、図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
この「メディア節約モード」に関する設定の入力は、図7に示すメディア節約モード設定画面300により行われる。メディア節約モード設定画面300を表示するためには、以下の操作を行う。まず、図5におけるメニューバー110の「ツール」メニューの選択により表示されるメニューから「オプション」を選択すると、オプション画面が表示される。このオプション画面の中から「印刷」タブを選択することにより、図7に示すメディア節約モード設定画面300は表示される。
The setting regarding the “media saving mode” is input on the media saving
メディア節約モード設定画面300には、図7に示すように、設定可能な節約モードの説明文が記載されたチェックボックス311〜318が表示された詳細設定画面310が表示されている。また、詳細設定画面310の右下には、OKボタン320と、キャンセルボタン330とが表示されている。
As shown in FIG. 7, the media saving
詳細設定画面310には、「メディア節約モードを有効にする」との説明文の記載されたメディア節約モード有効チェックボックス311、「用紙余白を最小にする」との説明文の記載された用紙余白値最小化チェックボックス312、「印刷時にオブジェクトの間隔を自動調整する」との説明文の記載されたオブジェクト間隔値最小化チェックボックス313、「テキストオブジェクト内で用紙送り方向に空白が存在する場合はつめる」との説明文の記載されたテキストオブジェクト内空白削除チェックボックス314、「テキストオブジェクトの枠サイズを固定にする」との説明文の記載された枠サイズ固定チェックボックス315、「印刷時に必ずプレビューを表示する」との説明文の記載された印刷プレビュー表示チェックボックス316、「レイアウトにカット位置を表示する」との説明文の記載されたカット位置表示チェックボックス317、「「オートカットON」とした場合、必ず「つなげて印刷ON」にする」との説明文の記載された印刷オプション固定チェックボックス318とが設けられている。
The
これらのチェックボックス311〜318にチェックされると、図4に示すRAM80の節約モード情報一時記憶エリア821の中の各フラグ記憶エリア8211〜8218に「1」が記憶されて、各フラグが「ON」とされる。一方、チェックボックス311〜318のチェックがはずされると、各フラグ記憶エリア8211〜8218に「0」が記憶されて「メディア節約モード有効フラグが「OFF」」とされる。このようなメディア節約モード設定画面300への入力による具体的な処理の詳細は後述する。
When these
以下、メディア節約モード設定画面300上で入力される「メディア節約モード」について説明する。使用者は、まず、「テープを節約するか否か」、つまり「メディア節約モード」を有効にするか否かを、メディア節約モード有効チェックボックス311にチェックするか否かにより選択することができる。
The “media saving mode” input on the media saving
メディア節約モード有効フラグが「ON」の場合には、他のチェックボックス312〜318について入力可能となる。これにより、使用者は「テープをどのようにして節約するか」を、さらに選択できることになる。この場合には、「テープをどのようにして節約するか」が選択されやすいように、チェックボックス312〜318の右側に記載された説明文は黒色となる。
When the media saving mode valid flag is “ON”, the
一方、メディア節約モード有効フラグが「OFF」の場合には、チェックボックス312から318について入力不可能となる。この場合、使用者は「テープを節約しない」選択をしたことになり、チェックボックス312〜318の右側に記載された説明文は灰色となる。
On the other hand, when the media saving mode valid flag is “OFF”, the
なお、メディア節約モード有効フラグが「OFF」の状態で、図5に示すレイアウト140を印刷すると、レイアウト140が、左端から、図8に示すように、作業領域150に表示されているようにテープ17に印字されて出力される。つまり、テープ17の下流端とテキストオブジェクト141の下流端との距離(空白領域161の幅x1)と、テープ17の上流端とテキストオブジェクト143の上流端との距離が等しい位置に決定されるため、最上流のテキストオブジェクト143の上流側には、下流側の空白領域161と同じ面積の空白領域166が設けられる。つまり、空白領域161〜166については、テープ17は、情報が印字されない状態のまま搬送されていることになる。なお、本実施形態では、テープ17の上流端は、上流側の余白値と下流側の余白値とが等しくなるように決定されている。
If the
次に、メディア節約モード有効フラグが「ON」の状態の場合には、テープ17がどのように節約されるかを説明する。はじめに、メディア節約モード設定画面300の用紙余白最小化フラグが「ON」である場合に、テープ17がどのように節約されるかについて、図7、図8および図9を参照して説明する。図9は、用紙余白最小化フラグが「ON」の状態でレイアウト140を印刷した場合のテープ17である。ここでいう「用紙余白」とは、テープ搬送方向下流端から最下流側にあるオブジェクトの下流端までの距離、つまり、図8における空白領域161の幅であるx1のことをさす。
Next, how the
用紙余白最小化フラグが「ON」の状態で、図5に示すレイアウト140を印刷すると、図9に示すように、空白領域161の幅x1が、最小余白値Bminに変更された状態で印刷される。一方、用紙余白最小化フラグが「OFF」の状態で、図5に示すレイアウト140を印刷した場合、空白領域161の幅x1の値は変更されずそのままの値が維持される。
When the
次に、オブジェクト間隔値最小化フラグが「ON」である場合に、テープ17がどのように節約されるかについて、図7、図8および図10を参照して説明する。図10は、オブジェクト間隔値最小化フラグが「ON」の状態でレイアウト140を印刷した場合のテープ17である。ここでいう「オブジェクト間隔値」とは、テープ搬送方向上流側のオブジェクトの下流端から下流側のオブジェクトの上流端までの距離、つまり、図8における空白領域162および空白領域163の幅x2,x31のことをさす。
Next, how the
オブジェクト間隔値最小化フラグが「ON」の状態で、図5に示すレイアウト140を印刷すると、図10に示すように、空白領域162の幅であるx2および空白領域163の幅であるx31が、それぞれ最小間隔値Sminと等しい値に変更された状態で印刷される。一方、オブジェクト間隔値最小化フラグが「OFF」の状態で、図5に示すレイアウト140を印刷した場合、空白領域162,163の幅x2,x31の値は変更されずそのままの値が維持される。
When the
次に、テキストオブジェクト内空白削除フラグが「ON」である場合に、テープ17がどのように節約されるかについて、図7、図8および図11を参照して説明する。図11は、テキストオブジェクト内空白削除フラグが「ON」の状態でレイアウト140を印刷した場合のテープ17である。ここでいう「テキストオブジェクト内空白」とは、テキストオブジェクトの枠中に存在する空白領域、つまり、図8における空白領域164および空白領域165のことをさす。
Next, how the
テキストオブジェクト内空白削除フラグが「ON」の状態で、図5に示すレイアウト140を印刷すると、図11に示すように、空白領域164の幅x32および空白領域165の幅x4が、それぞれ削除された状態に加工されて印刷される。なお、このとき他の空白領域161,162,163の幅x1,x2,x31については、そのままの値が維持されている。一方、テキストオブジェクト内空白削除フラグが「OFF」の状態で、図5に示すレイアウト140を印刷した場合、空白領域162,163の幅x2,x31の値は変更されずそのままの値が維持される。
When the
以上、用紙余白最小化フラグ、オブジェクト間隔値最小化フラグ、テキストオブジェクト内空白削除フラグの各フラグが、それぞれ「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
用紙余白最小化フラグ、オブジェクト間隔値最小化フラグ、テキストオブジェクト内空白削除フラグの各フラグが、すべて「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
次に、枠サイズ固定フラグが「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
ここで、「枠サイズ固定」をふくむ文字の制御方法について説明する。使用者は、あらかじめ、文字の制御方法として、文字情報の量に基づいてオブジェクトの大きさを決定する「枠サイズフリー」制御か、文字情報の量によらず、オブジェクトの大きさを固定する「枠サイズ固定」制御かのいずれかを選択することができる。使用者が、文字の制御方法を入力するオプション画面で、「枠サイズ固定制御」の指示をすると、図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
次に、節約モード情報記憶エリア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
一方、節約モード情報記憶エリア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
次に、印刷プレビュー表示フラグが「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
印刷プレビュー表示フラグが「ON」の状態で、使用者が図5に示すエディタ100のツールバー120から、印刷ボタン121を選択すると、実際に印刷される前に、図15に示すように、レイアウト140をテープ17に印刷した状態の画面(プレビュー画面700)が表示される。一方、印刷プレビュー表示フラグが「OFF」の状態で、使用者が印刷ボタン121を選択すると、印刷プレビューが表示されることなく、テープ17にレイアウト140が印字される。
When the user selects the
次に、カット位置表示フラグが「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
カット位置表示フラグが「ON」の状態で、レイアウト140を編集するためのエディタ100を表示させると、レイアウト140の上には、実際に印刷した場合にカットされるカット位置145の画像が表示される。なお、本実施形態では、カット位置145は、上流側の余白値と下流側の余白値とが等しくなるように決定されている。一方、カット位置表示フラグが「OFF」の状態では、レイアウト140上にカット位置が表示されることはない。
When the
次に、印刷オプション固定フラグが「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
ここで、印刷オプション固定フラグが「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
「オートカット」とは、印刷する際に使用者が設定できるオプションのひとつである。使用者が、印刷オプション設定画面で、「オートカット」を行う入力をした場合、すなわち「オートカット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
また、「つなげて印刷」も、印刷する際に使用者が設定できるオプションのひとつである。使用者が「つなげて印刷」を行う入力、すなわち「つなげて印刷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
以下、あらかじめ、「オートカット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
一方、印刷オプション固定フラグが「OFF」である状態で、使用者がレイアウト140を2部印刷する指示を行うと、1部目のテープ17、2部目のテープともに、印字されたあとレイアウト140の上流端でカットされる。
On the other hand, when the user gives an instruction to print two copies of the
次に、図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
一方、「メディア節約モード」設定の指示がなされなかったと判断されると(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
また、レイアウト編集指示がなされなかったと判断された場合には(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
そして、印刷指示がなされなかったと判断された場合には(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
「メディア節約モード設定処理」では、まず、HDD60の節約モード情報記憶エリア652に記憶されている節約モードの情報が、RAM80の節約モード情報一時記憶エリア821に記憶され(S11)、図7に示すメディア節約モード設定画面300が表示される(S12)。
In the “media saving mode setting process”, first, saving mode information stored in the saving mode
メディア節約モード設定画面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
一方、S13において、メディア節約モード有効チェックボックス311にチェックがされていない場合には、「メディア節約モード」を有効にする指示がなされていないと判断され(S13:NO)、メディア節約モード有効フラグ記憶エリア8211に「0」が記憶されて、メディア節約モード有効フラグがOFFにされるとともに(S17)、メディア節約モード設定画面300における「メディア節約モード」の詳細設定の入力が無効とされる(S18)。この場合には、図7に示すチェックボックス312〜318の右側に記載された説明文は灰色とされ、チェックボックス312〜318は、入力不可能な表示状態とされる。
On the other hand, if the media saving mode
上記の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ボタン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
次に、メディア節約モードの詳細な設定処理を行う「メディア節約モード詳細設定処理」について、図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
用紙余白最小化フラグの設定が、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
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
テキストオブジェクト内空白削除フラグの設定が、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
枠サイズ固定フラグの設定が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
印刷プレビュー表示フラグの設定が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
カット位置表示フラグの設定が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
上述した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
一方、テキスト入力がされたと判断されると(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
そして、メディア節約モード有効フラグが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
具体的には、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
そして、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
一方、入力された文字列が現在のオブジェクト内に配置可能でない場合(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
具体的には、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
そして、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
この処理により、図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
なお、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
この処理により、図5のテキストオブジェクト143に文字列「defg」の情報を追加入力した場合には、図14に示すように、テキストオブジェクト143の幅yは、x5に変更される。
With this processing, when the information of the character string “defg” is additionally input to the
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
なお、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
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
次に、図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
つまり、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
一方、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
そして、用紙余白最小化フラグが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
そして、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
そして、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
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
一方、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
上述した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
そして、検出されたオブジェクトの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
そして、当該オブジェクトの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
次に、「印刷処理」の中で行われる「オブジェクト間隔値最小化処理」について、図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
そして、ソートされた結果の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
次に、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
つまり、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
これにより、図5の作業領域150では、レイアウト140上に、162の間隔で配置されていたテキストオブジェクト141とイメージオブジェクト142とは、印刷されると、図10に示すように、最小間隔値Sminの間隔で配置されていることになる。一方、「iのRight値」と「jのLeft値」との差が最小間隔値Smin以下であると判断されると(S114:NO)、印刷用加工オブジェクト情報記憶エリア831に記憶された情報の変更は行わない。
As a result, in the
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
最後に、図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
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
具体的には、図5に示すレイアウト140においては、S131で選択された任意のオブジェクトがテキストオブジェクト143である場合には、S133では種類がテキストであると判断される。そして、印刷用加工オブジェクト情報記憶エリア831に記憶されている情報が、図6のRAM80のオブジェクト情報記憶エリア811に記憶されている情報と同一である場合、S134では、オブジェクトのLeft値である150mmは、テキストのLeft値である170mmよりも小さいことが判断されて、S135では、文字列のLeft値として記憶されている値170mmが、オブジェクトのLeft値である150mmとして記憶される(S135)。
Specifically, in the
一方、オブジェクトの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
文字列の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
一方、オブジェクトの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
S134〜S137の処理により、図5のテキストオブジェクト143を印刷すると、図11に示すように、文字列「abc」の下流端がオブジェクトの下流端に移動されているとともに、オブジェクトの上流端が文字列「abc」の上流端に移動された状態となり、印刷される。
When the
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
以上説明したように、本実施形態のパーソナルコンピュータ2によれば、図7に示すメディア節約モード設定画面300においてチェックを入力するだけで、簡単にテープ17の節約ができるので、使用者は、レイアウト140上でわざわざオブジェクトを動かさなくても、簡単にテープ17の節約をすることができる。また、使用者は、メディア節約モード設定画面300においてテープを節約するか否かを決定できるために、レイアウトを自由に配置したい使用者にとっても、使い勝手を損ねることがない。
As described above, according to the
また、使用者がテープ17に存在する空白領域を削除する選択をした場合には、余白値、オブジェクト間隔値、テキストオブジェクト内空白領域のうち、どの空白領域を削除するかを使用者が選択できるために、レイアウト140の自由度を高めることができる。また、印刷データ上のみでオブジェクトの位置を変更するので、エディタ100上ではオブジェクトの位置は変更されず、オブジェクトを自由に配置したい使用者にとっても、使い勝手を損ねることがない。
When the user selects to delete a blank area existing on the
さらに、使用者がテキストオブジェクトの大きさをあらかじめ固定する選択をした場合、テープ17の使用量をあらかじめ固定することができる。これにより、使用者が意図しないところでのテープ17の無駄遣いを抑えることができる。また、テキストオブジェクトの大きさを固定するか否かは、使用者が決定できるために、レイアウト140の自由度を高めることができる。
Further, when the user selects to fix the size of the text object in advance, the usage amount of the
また、使用者が、実際に印刷する前に、あらかじめ印刷プレビューや、カット位置145をエディタ100上に表示する選択をした場合には、使用者は、イメージどおりに印刷できるか否かを視覚的に判断することができる。したがって、印刷ミスによるテープ17の無駄遣いを防ぐことができるとともに、テープ17に無駄な空白領域があるか否かを視覚的に判断することができる。
In addition, when the user selects in advance a print preview or a
さらに、使用者が印刷オプション固定化の入力をした場合には、印刷装置1の機械的構造によるテープ17の無駄遣いを防止することができる。また、印刷オプションの固定化を、図7に示す「メディア節約モード設定画面300」を利用して行う構成としたために、印刷装置1の機械的構造を熟知しない一般の使用者であっても、簡単にテープ17を節約することができる。
Furthermore, when the user inputs a fixed printing option, waste of the
なお、上記実施形態では、図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
また、HDD60の最小余白値記憶エリア641が「最小余白値記憶手段」に相当し、最小間隔値記憶エリア642が「オブジェクト最小間隔値記憶手段」に相当する。また、図26の用紙余白最小化処理におけるS101およびS102の処理を実行するCPU50が「印刷時余白値算出手段」に相当し、図27のオブジェクト間隔値最小化処理におけるS112〜S114の処理を実施するCPU50が「オブジェクト間隔値算出手段」に相当する。
Further, the minimum margin value storage area 641 of the
さらに、エディタ100が「表示手段」に相当し、図23に示すレイアウト編集処理におけるS71の処理を行うCPU50が「カット位置算出手段」に相当し、S72の処理を行うCPU50が「カット位置表示制御手段」に相当する。また、図25に示す印刷処理におけるS92の処理を行うCPU50が「プレビュー表示制御手段」に相当する。
Further, the
また、図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
また、図23に示すレイアウト編集画面におけるS65の処理をするCPU50が「配置可能判断手段」に相当し、S67およびS68の処理を行うCPU50が、「オブジェクトサイズ変更制御手段」に相当する。また、HDD60のテキスト制御情報記憶エリア653に設けられた枠サイズ固定フラグ記憶エリア6531と、RAM80のテキスト制御情報一時記憶エリア822に設けられた枠サイズ固定フラグ記憶エリア8221とが「オブジェクトサイズ変更選択記憶手段」に相当する。
Further, the
さらに、HDD60のオートカットフラグ記憶エリア6511が「オートカット設定記憶手段」に相当し、図25の印刷処理におけるS94の処理を行うCPU50が、「最上流カット制御手段」に相当する。
Further, the auto cut
尚、本発明の印刷データ編集装置及び印刷データ編集プログラムは、上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。上記実施の形態では、印刷装置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
また、上記実施の形態では、テープ17を節約する処理は、使用者がメディア節約モード設定画面300において、メディア節約モード有効チェックボックス311に入力をした場合のみ行ったが、使用者が設定した場合に限らなくてもよい。この場合には、使用者が節約モードとすることを忘れていたとしても、テープ17は必ず効率的に利用されるために、資源の有効利用を図ることができる。また、メディア節約モードの設定は、画面上で行われるものに限定されず、キーボード41上や印刷装置1上で行えるものとしても良い。
Further, in the above embodiment, the process of saving the
さらに、本実施形態では、図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
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
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
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乃至3のいずれかに記載の印刷データ編集装置。 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乃至4のいずれかに記載の印刷データ編集装置。 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乃至5のいずれかに記載の印刷データ編集装置。 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.
前記オブジェクトの種類が文字の場合に、当該オブジェクトの領域内に、当該オブジェクトに入力された全ての文字列を前記オブジェクト情報に基づいて配置可能か否かを判断する配置可能判断手段と、
前記配置可能判断手段により配置できないと判断された場合に前記オブジェクトの大きさを固定するか否かを記憶するオブジェクトサイズ変更選択記憶手段と、
前記節約モード判断手段により前記節約モードであると判断された場合には、前記オブジェクトサイズ変更選択記憶手段に、前記オブジェクトの大きさを変更すると記憶されている場合であっても、前記オブジェクトの大きさの変更を行わないオブジェクトサイズ変更制御手段と
を備えたことを特徴とする請求項6に記載の印刷データ編集装置。 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乃至7のいずれかに記載の印刷データ編集装置。 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.
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)
| 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)
| 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 |
-
2006
- 2006-07-25 JP JP2006202320A patent/JP4775155B2/en active Active
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 |