JP2014205250A - Printing device and content editing program - Google Patents
Printing device and content editing program Download PDFInfo
- Publication number
- JP2014205250A JP2014205250A JP2013082511A JP2013082511A JP2014205250A JP 2014205250 A JP2014205250 A JP 2014205250A JP 2013082511 A JP2013082511 A JP 2013082511A JP 2013082511 A JP2013082511 A JP 2013082511A JP 2014205250 A JP2014205250 A JP 2014205250A
- Authority
- JP
- Japan
- Prior art keywords
- common
- data
- content
- history data
- history
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、既存のコンテンツを用いて印刷可能な印刷装置、および、既存のコンテンツを編集可能なコンテンツ編集プログラムに関する。 The present invention relates to a printing apparatus capable of printing using existing content, and a content editing program capable of editing existing content.
従来、既存のファイルを用いて印刷可能な印刷装置が知られている(例えば、特許文献1参照)。例えば、特許文献1に開示の画像印刷装置は、外部記憶媒体から既存のファイルを直接取り込んで印刷を行う、いわゆるダイレクト印刷機能を有する。画像印刷装置は、一度実行されたダイレクト印刷時の印刷条件を印刷履歴情報として、内部メモリに記憶する。画像印刷装置のユーザは、内部メモリに記憶された印刷履歴情報を利用することで、過去の印刷条件のダイレクト印刷を再度実行できる。
Conventionally, a printing apparatus capable of printing using an existing file is known (for example, see Patent Document 1). For example, the image printing apparatus disclosed in
印刷装置のユーザは、外部記憶媒体または内部メモリに記憶されている既存のコンテンツ(例えば、テキスト)を編集し、編集済みのコンテンツを印刷する場合がある。さらにユーザは既存のコンテンツを編集して、コンテンツの一部が各々異なる複数のコンテンツを大量に作成および印刷する場合がある。この場合、一つのコンテンツを作成するごとに、ユーザは外部記憶媒体または内部メモリから既存のコンテンツを読み出して、読み出した既存のコンテンツを編集する必要がある。したがって、ユーザはコンテンツの一部が異なる複数のコンテンツを、簡易且つ迅速に作成することが困難な場合があった。 A user of a printing apparatus may edit existing content (for example, text) stored in an external storage medium or internal memory and print the edited content. In addition, the user may edit existing content and create and print a large number of pieces of content that are partly different from each other. In this case, every time one content is created, the user needs to read the existing content from the external storage medium or the internal memory and edit the read existing content. Therefore, it may be difficult for the user to easily and quickly create a plurality of contents having different contents.
本発明の目的は、コンテンツの一部が異なる複数のコンテンツを、ユーザが簡易且つ迅速に作成できる印刷装置およびコンテンツ編集プログラムを提供することである。 An object of the present invention is to provide a printing apparatus and a content editing program that allow a user to easily and quickly create a plurality of contents having different contents.
本発明の第一態様に係る印刷装置は、キャラクタを含むコンテンツを示すデータに基づいて、印刷媒体に前記コンテンツを印刷可能な印刷装置であって、あらかじめ作成された前記コンテンツを示す前記データである既存データを複数取得するデータ取得手段と、前記データ取得手段によって取得された複数の前記既存データが各々示す複数の前記コンテンツのうちで、共通の前記キャラクタが共通の位置に配置された部分である共通ブロックを、前記複数の既存データに基づいて特定する共通ブロック特定手段と、前記共通ブロック特定手段で特定された前記共通ブロックに基づいて、前記共通ブロックを含む前記コンテンツを示す前記データである共通履歴データを作成する共通履歴データ作成手段とを備える。 The printing apparatus according to the first aspect of the present invention is a printing apparatus capable of printing the content on a print medium based on data indicating content including a character, and is the data indicating the content created in advance. Among the plurality of contents respectively indicated by the plurality of existing data acquired by the data acquisition means and a data acquisition means for acquiring a plurality of existing data, the common character is a portion arranged at a common position. A common block specifying means for specifying a common block based on the plurality of existing data; and the data indicating the content including the common block based on the common block specified by the common block specifying means. Common history data creating means for creating history data.
本発明の第二態様に係るコンテンツ編集プログラムは、キャラクタを含むコンテンツを示すデータを編集可能なコンピュータに、あらかじめ作成された前記コンテンツを示す前記データである既存データを複数取得するステップと、取得された複数の前記既存データが各々示す複数の前記コンテンツのうちで、共通の前記キャラクタが共通の位置に配置された部分である共通ブロックを、前記複数の既存データに基づいて特定するステップと、特定された前記共通ブロックに基づいて、前記共通ブロックを含む前記コンテンツを示す前記データである共通履歴データを作成するステップとを実行させる。 The content editing program according to the second aspect of the present invention is obtained by acquiring, in a computer capable of editing data indicating content including a character, a plurality of existing data that is the data indicating the content created in advance. A step of specifying a common block, which is a portion in which the common character is arranged at a common position, among the plurality of contents each indicated by the plurality of existing data based on the plurality of existing data; And generating the common history data, which is the data indicating the content including the common block, based on the common block.
本発明の第一態様および第二態様によれば、あらかじめ作成されたコンテンツを示す既存データが複数取得される。取得された複数の既存データが各々示す複数のコンテンツのうちで、共通のキャラクタが共通の位置に配置された部分である共通ブロックが、複数の既存データに基づいて特定される。特定された共通ブロックに基づいて、共通ブロックを含むコンテンツを示す共通履歴データが作成される。ユーザは共通履歴データが示すコンテンツを編集することで、コンテンツの一部が異なる複数のコンテンツを簡易且つ迅速に作成できる。 According to the first aspect and the second aspect of the present invention, a plurality of existing data indicating content created in advance is acquired. Among a plurality of contents respectively indicated by the plurality of acquired existing data, a common block that is a portion where a common character is arranged at a common position is specified based on the plurality of existing data. Based on the identified common block, common history data indicating content including the common block is created. By editing the content indicated by the common history data, the user can easily and quickly create a plurality of contents having different contents.
本発明を具体化した実施の形態について、図面を参照して説明する。なお、参照する図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている装置の構成などは、それのみに限定する趣旨ではなく、単なる説明例である。 Embodiments of the present invention will be described with reference to the drawings. Note that the drawings to be referred to are used for explaining the technical features that can be adopted by the present invention, and the configuration of the described apparatus is not intended to be limited thereto, but is merely an illustrative example. is there.
図1および図2を参照して、テープ印字装置1の概略構成について説明する。以下の説明では、図1および図2の右上側、左下側、右下側、左上側、上側、下側を、それぞれ、テープ印字装置1の後側、前側、右側、左側、上側、下側とする。
A schematic configuration of the
図1に示すように、テープ印字装置1の上面には、キャラクタ(文字、記号、数字など)を入力するためのキーボード3が設けられている。キーボード3の後側(紙面右上側)には、電源スイッチ、用途キー、カーソルキー等の機能キー群4が設けられている。用途キーは、後述する印字キー、テキストキー、確定キー、Escキー、全消去キー、キャンセルキーなどを含む。以下の説明では、キーボード3と機能キー群4とを総称する場合、操作部2という。機能キー群4の後側には、ディスプレイ5が設けられている。テープ印字装置1の上面の後部には、開閉可能なカバー6が設けられている。テープ印字装置1の左後角には、後述するカット機構(図示外)によって切断された印字済テープを受けるテープトレイ7が設けられている。
As shown in FIG. 1, a
図2に示すように、ディスプレイ5の後側には、テープカセット30が着脱されるカセット装着部8が形成されている。本実施形態のテープカセット30は、略直方体状(箱型)の筐体であるカセットケースの内部に、キャラクタが印字されるテープや、テープの印字に使用されるインクリボンなどが収容されている。テープ印字装置1では、カセット装着部8に装着されたテープカセット30を用いて、キーボード3で入力されたキャラクタの印字が実行される。
As shown in FIG. 2, a
カセット装着部8には、テープを搬送するためのテープ駆動軸11、使用済みのインクリボンを巻き取るためのリボン巻取軸9、キャラクタを印字するサーマルヘッド10(図3参照)などが設けられている。本実施形態では、サーマルヘッド10が、搬送されるテープに未使用のインクリボンを用いて印字を行なう。後述するテープの搬送方向におけるサーマルヘッド10の下流側には、印字済テープを切断するカット機構(図示外)が設けられている。
The
図3を参照して、テープ印字装置1の電気的構成について説明する。図3に示すように、テープ印字装置1は、制御基板上に形成される制御回路部400を備えている。制御回路部400は、CPU401、ROM402、CGROM403、RAM404、フラッシュメモリ410、入出力インターフェース411などを備え、これらがデータバスを介して接続されている。
The electrical configuration of the
ROM402には、CPU401がテープ印字装置1を制御するために実行する各種プログラムが記憶されている。CGROM403には、キャラクタを印字するための印字用ドットパターンデータが記憶されている。RAM404には、テキストメモリ、印字バッファ等、複数の記憶領域が設けられている。RAM404には、後述する各種設定値(共通履歴数A、通常履歴数B、候補データ数C、処理番号n)が記憶される。
The
フラッシュメモリ410には、テープに印刷するコンテンツを示すファイルである履歴データが記憶されている。本実施形態の履歴データは、キャラクタで構成された文字列を含むコンテンツを示す。履歴データは、文字列を示すテキストデータと、文字列の表示態様を示す設定情報(例えば、サイズ、書式、レイアウト、装飾画像など)とを含む。文字列のレイアウトは、キャラクタが改行された順に並ぶ行と、キャラクタが改段落された順に並ぶ段落とで定義されている。
The
フラッシュメモリ410の履歴データには、各履歴データが共通履歴データおよび通常履歴データのいずれであるかを示す種別データが割り振られている。共通履歴データは、複数の履歴データが各々示すコンテンツの共通ブロックを、コンテンツとして示す履歴データである。共通ブロックは、複数の履歴データが各々示すコンテンツのうちで、共通のキャラクタが共通の位置に配置された部分である。通常履歴データは、ユーザが設定および印刷したコンテンツを示す履歴データである。フラッシュメモリ410では、複数の履歴データを識別するための番号(以下、データ番号)が、各履歴データに昇順の通し番号で割り振られている。後述の履歴データ呼出処理(図7参照)では、データ番号に従って、複数の履歴データをディスプレイ5に切替表示可能である。
The history data in the
フラッシュメモリ410には、共通履歴上限数Amaxおよび通常履歴上限数Bmaxが記憶されている。共通履歴上限数Amaxは、フラッシュメモリ410に保存可能な共通履歴データの最大個数を示す。通常履歴上限数Bmaxは、フラッシュメモリ410に保存可能な通常履歴データの最大個数を示す。共通履歴上限数Amaxおよび通常履歴上限数Bmaxは、ユーザまたは製造者が設定または変更可能である。
The
入出力インターフェース411には、操作部2、液晶駆動回路(LCDC)405、駆動回路406、407、408などが接続されている。液晶駆動回路(LCDC)405は、ディスプレイ5に表示データを出力するためのビデオRAM(図示外)を有する。駆動回路406は、サーマルヘッド10を駆動するための電子回路である。駆動回路407は、リボン巻取軸9およびテープ駆動軸11を回転させるテープ送りモータ24を駆動するための電子回路である。駆動回路408は、カット機構(図示外)を動作させるカッターモータ25を駆動するための電子回路である。
The input /
図4〜図7を参照して、本実施形態に係るテープ印字装置1のメイン処理を説明する。メイン処理(図4)は、テープ印字装置1が電源オンされたことを契機に、ROM402のプログラムに基づいてCPU401によって実行される。この場合、CPU401は、初期状態の編集画面100(図8参照)をディスプレイ5に表示する。編集画面100は、ユーザが印刷対象のコンテンツ(つまり、文字列および表示態様)を設定するための画面である。
A main process of the
図4に示すように、メイン処理では、まず共通履歴数Aおよび通常履歴数Bが「0」に初期化される(S1)。共通履歴数Aは、フラッシュメモリ410に記憶されている共通履歴データの数量を示す。通常履歴数Bは、フラッシュメモリ410に記憶されている通常履歴データの数量を示す。ステップS1の実行後、ユーザが操作部2を用いて操作した内容に応じて、以下の処理が実行される。なお、ステップS1は、テープ印字装置1が初めて電源オンされた場合に実行される。テープ印字装置1が次回以降に電源オンされた場合は、ステップS1がスキップされて、以下の処理が実行される。
As shown in FIG. 4, in the main process, first, the common history number A and the normal history number B are initialized to “0” (S1). The common history number A indicates the quantity of common history data stored in the
印刷実行を指示する操作が行われた場合、印刷を実行すると判断される(S3:YES)。この場合、編集画面100(図8参照)で設定されたコンテンツが印刷される(S5)。具体的には、編集画面100で設定されたコンテンツが、テープに印刷される。印字済テープが切断されることで、コンテンツが表記されたラベルが作成される。次いで、後述するように、フラッシュメモリ410に記憶されている履歴データを更新する履歴データ更新処理が実行される(S7)。
When an operation for instructing printing is performed, it is determined that printing is to be performed (S3: YES). In this case, the content set on the editing screen 100 (see FIG. 8) is printed (S5). Specifically, the content set on the
編集画面100でコンテンツを編集する操作が行われた場合、コンテンツ編集を実行すると判断される(S3:NO、S9:YES)。この場合、ユーザの操作内容に応じて、編集画面100でコンテンツが編集される(S11)。具体的には、編集画面100では、ユーザの操作に応じて、キャラクタの入力、削除、修正、改行、改段落等が実行されることで、文字列が設定される。さらにユーザの操作に応じて、文字列の表示態様(例えば、文字列のサイズ、書式、レイアウト、装飾態様など)が設定される。
When an operation for editing the content is performed on the
履歴データの呼び出しを指示する操作が行われた場合(S3:NO、S9:NO、S13:YES)、後述するように、フラッシュメモリ410に記憶されている履歴データを編集画面100に呼び出す履歴データ呼出処理が実行される(S15)。尚、印刷実行、コンテンツ編集、およびデータ呼出とは異なる操作が行われた場合(S3:NO、S9:NO、S13:NO)、その操作に応じた設定処理が実行される(S17)。ステップS7、S11、S15、S17のいずれかの実行後、処理はステップS3に戻る。
When an operation for instructing the call of history data is performed (S3: NO, S9: NO, S13: YES), the history data for calling the history data stored in the
図5に示すように、履歴データ更新処理(S7)では、まず候補データ数Cが「0」に初期化され、且つ、処理番号nが共通履歴数Aに「1」加算した値に設定される(S21)。候補データ数Cは、共通履歴データの作成元となる通常履歴データ(候補データ)の個数を示す。処理番号nは、処理対象となる履歴データを示す。後述するように、フラッシュメモリ410では、データ番号の昇順に沿って共通履歴データが先、通常履歴データが後となるように、複数の履歴データが記憶される。したがって、ステップS21で設定される処理番号nは、フラッシュメモリ410に記憶されている全ての通常履歴データのうちで、データ番号が最も小さい通常履歴データ(つまり、先頭の通常履歴データ)のページ番号を示す。
As shown in FIG. 5, in the history data update process (S7), the candidate data number C is first initialized to “0”, and the process number n is set to a value obtained by adding “1” to the common history number A. (S21). The number of candidate data C indicates the number of normal history data (candidate data) from which the common history data is created. Process number n indicates history data to be processed. As will be described later, the
次いで、処理番号nが共通履歴数Aと通常履歴数Bとの加算値よりも大であるか否かが判断される(S23)。つまり、処理番号nがフラッシュメモリ410に記憶されている履歴データの総数よりも大であるか否かが判断される。処理番号nが共通履歴数Aと通常履歴数Bとの加算値以下である場合(S23:NO)、印刷対象データとn番目の履歴データとが取得されて、RAM404に記憶される(S24)。n番目の履歴データは、フラッシュメモリ410に記憶されている履歴データのうち、処理番号nと同じデータ番号の通常履歴データである。印刷対象データは、直前に実行されたコンテンツ印刷(S5)で印刷されたコンテンツを示す。印刷対象データは、履歴データと同様に、テキストデータおよび設定情報を含む。
Next, it is determined whether or not the process number n is larger than the added value of the common history number A and the normal history number B (S23). That is, it is determined whether or not the process number n is larger than the total number of history data stored in the
ステップS24で取得された印刷対象データとn番目の履歴データとが比較される(S25)。ステップS25では、処理番号n(つまり、ページ番号がn)の通常履歴データおよび印刷対象データに各々含まれる設定情報に基づいて、各々のレイアウト(つまり、行および段落の順序)が比較される。さらに、処理番号nの通常履歴データおよび印刷対象データに各々含まれるテキストデータに基づいて、同一行且つ同一段落に含まれる各々の文字列が比較される。このとき、同一行において、行の先頭から共通のキャラクタが並ぶ範囲が、共通ブロックに特定される。これにより、処理番号nの通常履歴データおよび印刷対象データに基づいて、各々が示すコンテンツの共通ブロックが特定される。 The print target data acquired in step S24 is compared with the nth history data (S25). In step S25, the respective layouts (that is, the order of the lines and paragraphs) are compared based on the setting information included in the normal history data of the processing number n (that is, the page number is n) and the print target data. Further, the character strings included in the same line and the same paragraph are compared based on the normal history data of process number n and the text data included in the print target data. At this time, in the same line, a range where common characters are arranged from the top of the line is specified as a common block. Thereby, based on the normal history data of the processing number n and the print target data, the common block of the content indicated by each is specified.
ステップS25の比較結果に基づいて、印刷対象データのレイアウトとn番目の履歴データのレイアウトとが共通であるか否かが判断される(S27)。具体的には、印刷対象データとn番目の履歴データとで段落数が等しく、且つ各段落の行数が等しい場合、レイアウトが共通であると判断される(S27:YES)。この場合、ステップS25の比較結果に基づいて、印刷対象データの文字列とn番目の履歴データの文字列とが完全一致であるか否かが判断される(S29)。 Based on the comparison result in step S25, it is determined whether the layout of the print target data and the layout of the nth history data are common (S27). Specifically, when the number of paragraphs is the same in the print target data and the nth history data and the number of lines in each paragraph is the same, it is determined that the layout is common (S27: YES). In this case, based on the comparison result in step S25, it is determined whether or not the character string of the print target data and the character string of the nth history data match completely (S29).
文字列が完全一致する場合(S29:YES)、n番目の履歴データが通常履歴データの先頭に移動される(S31)。具体的には、n番目の履歴データのデータ番号が先頭の通常履歴データよりも一つ小さいデータ番号となるように、フラッシュメモリ410に記憶されている履歴データのデータ番号が昇順の通し番号で更新される。ステップS31の実行後、処理はメイン処理(図4)に戻る。
When the character strings completely match (S29: YES), the nth history data is moved to the head of the normal history data (S31). Specifically, the data number of the history data stored in the
文字列が完全一致しない場合(S29:NO)、ステップS25の比較結果に基づいて、印刷対象データの文字列とn番目の履歴データの文字列とが部分一致であるか否かが判断される(S33)。文字列が部分一致する場合(S33:YES)、候補データ数Cが「1」加算される(S35)。印刷対象データが、候補データ数Cと同じ順序(つまり、C番目)の候補データとして、RAM404に保存される(S37)。候補データは、印刷対象データとn番目の履歴データとで部分一致した文字列で構成された共通ブロックを、コンテンツとして示す。候補データは、少なくとも部分一致した文字列を示すテキストデータを含む。
If the character strings do not completely match (S29: NO), it is determined whether or not the character string of the print target data and the character string of the nth history data are partial matches based on the comparison result in step S25. (S33). If the character strings partially match (S33: YES), the candidate data number C is incremented by “1” (S35). The print target data is stored in the
次いで、処理番号nが「1」加算される(S39)。レイアウトが共通でない場合(S27:NO)、および、文字列が全く一致しない場合も(S33:NO)、処理番号nが「1」加算される(S39)。ステップS39の実行後、処理はステップS23に戻る。 Next, “1” is added to the process number n (S39). When the layout is not common (S27: NO) and when the character strings do not match at all (S33: NO), the process number n is incremented by “1” (S39). After execution of step S39, the process returns to step S23.
上記の処理では、フラッシュメモリ410に記憶されている通常履歴データが、印刷対象データと順次比較される(S25〜S39)。印刷対象データとレイアウトが共通し、且つ文字列が完全一致する通常履歴データ(完全一致データ)がある場合、完全一致データが先頭の通常履歴データに設定される(S29:YES、S31)。印刷対象データとレイアウトが共通し、且つ文字列が部分一致する通常履歴データ(部分一致データ)がある場合、部分一致データが候補データとして保存される(S33:YES、S37)。フラッシュメモリ410に複数の部分一致データがある場合、部分一致データと同数の候補データが保存される。
In the above processing, the normal history data stored in the
処理番号nが共通履歴数Aと通常履歴数Bとの加算値よりも大である場合(S23:YES)、印刷対象データが全ての通常履歴データと比較されたことを意味する。この場合、印刷対象データが通常履歴データの先頭に、新たな通常履歴データとして追加される(S41)。具体的には、印刷対象データが通常履歴データとして、フラッシュメモリ410に書き込まれる。書き込まれた通常履歴データのデータ番号が先頭の通常履歴データよりも一つ小さいデータ番号の通常履歴データとなるように、フラッシュメモリ410に記憶されている履歴データのデータ番号が昇順の通し番号で更新される。
If the process number n is larger than the added value of the common history number A and the normal history number B (S23: YES), it means that the print target data has been compared with all the normal history data. In this case, the print target data is added as new normal history data at the head of the normal history data (S41). Specifically, the print target data is written in the
ステップS41の実行後、通常履歴数Bが通常履歴上限数Bmax以上であるか否かが判断される(S43)。通常履歴数Bが通常履歴上限数Bmax未満である場合(S43:NO)、通常履歴数Bが「1」加算される(S45)。通常履歴数Bが通常履歴上限数Bmax以上である場合(S43:YES)、フラッシュメモリ410に記憶されている全ての通常履歴データのうちで、通常履歴数Bよりも大きいページ番号(つまり、B番目よりも後)の通常履歴データが、フラッシュメモリ410から削除される(S47)。これにより、印刷対象データが新たな通常履歴データとしてフラッシュメモリ410に追加された場合に、通常履歴データの個数が通常履歴上限数Bmaxを超えると、データ番号が最も大きい通常履歴データ(つまり、末尾の通常履歴データ)が削除される。
After execution of step S41, it is determined whether or not the normal history number B is equal to or greater than the normal history upper limit number Bmax (S43). When the normal history number B is less than the normal history upper limit number Bmax (S43: NO), the normal history number B is incremented by “1” (S45). When the normal history number B is equal to or larger than the normal history upper limit number Bmax (S43: YES), a page number larger than the normal history number B among all the normal history data stored in the flash memory 410 (that is, B The normal history data after (th) is deleted from the flash memory 410 (S47). As a result, when the print target data is added to the
ステップS45、S47のいずれかの実行後、後述するように、フラッシュメモリ410に記憶されている共通履歴データの順序を入れ替える順序入替処理が実行される(S49)。ステップS49の実行後、処理はメイン処理(図4)に戻る。
After execution of either step S45 or S47, as will be described later, an order change process for changing the order of the common history data stored in the
図6に示すように、順序入替処理(S49)では、まず候補データ数Cが「1」未満であるか否かが判断される(S51)。候補データ数Cが「1」以上である場合(S51:NO)、処理番号nが「1」に更新され、且つ、共通履歴数Aに候補データ数Cが加算される(S53)。RAM404に保存されている候補データが、フラッシュメモリ410に記憶されている全ての履歴データの先頭に、新たな共通履歴データとして追加される(S55)。具体的には、候補データが共通履歴データとして、フラッシュメモリ410に書き込まれる。書き込まれた共通履歴データのデータ番号が先頭の履歴データよりも小さいデータ番号となるように、フラッシュメモリ410に記憶されている履歴データのデータ番号が昇順の通し番号で更新される。先頭の履歴データは、フラッシュメモリ410に記憶されている全ての履歴データのうちで、最もデータ番号の小さい履歴データである。これにより、共通履歴データのほうが通常履歴データよりも小さなデータ番号が割り振られる。なお、ステップS55が実行されると、RAM404から候補データが削除される。
As shown in FIG. 6, in the order changing process (S49), it is first determined whether or not the number of candidate data C is less than “1” (S51). When the candidate data number C is “1” or more (S51: NO), the process number n is updated to “1”, and the candidate data number C is added to the common history number A (S53). Candidate data stored in the
次いで、フラッシュメモリ410に記憶されている共通履歴データが、包含関係順に並び替えられる(S57)。包含関係順は、共通ブロックが小さい共通履歴データほど(言い換えると、共通ブロックのキャラクタ数が少ない共通履歴データほど)、各共通履歴データを表示する優先度を示す順序の上流側に配置することを定める、共通履歴データの並び替え順序である。具体的には、ステップS57では、共通ブロックのキャラクタ数が少ない共通履歴データほどデータ番号が小さくなるように、フラッシュメモリ410に記憶されている共通履歴データのデータ番号が更新される。
Next, the common history data stored in the
次いで、処理番号nと同じ順番(つまり、n番目)の共通履歴データと同一の共通履歴データが、フラッシュメモリ410に記憶されているか否かが判断される(S59)。詳細には、フラッシュメモリ410に記憶されている全ての共通履歴データのうちで、n番目に記憶されている共通履歴データと同一の共通ブロックを示すものがある場合、n番目の共通履歴データと同一の共通履歴データがあると判断される(S59:YES)。この場合、n番目の共通履歴データと同一の共通履歴データが、フラッシュメモリ410から削除される(S61)。このとき、フラッシュメモリ410に記憶されている履歴データのデータ番号が昇順の通し番号で更新される。
Next, it is determined whether or not the common history data identical to the common history data in the same order as the process number n (that is, the nth) is stored in the flash memory 410 (S59). Specifically, if there is a piece of common history data stored in the
ステップS61の実行後、共通履歴数Aが「1」減算される(S63)。処理番号nが「1」加算される(S65)。n番目の共通履歴データと同一の共通履歴データがない場合も(S59:NO)、処理はステップS65に進む。ステップS65の実行後、処理番号nが共通履歴数Aより小であるか否かが判断される(S67)。処理番号nが共通履歴数Aより小である場合(S67:YES)、処理はステップS59に戻る。これにより、フラッシュメモリ410では、全ての共通履歴データのうちで、同一の共通ブロックを示す共通履歴データの重複が排除される。
After execution of step S61, “1” is subtracted from the common history number A (S63). The process number n is incremented by “1” (S65). Even when there is no common history data identical to the nth common history data (S59: NO), the process proceeds to step S65. After execution of step S65, it is determined whether or not the process number n is smaller than the common history number A (S67). When the process number n is smaller than the common history number A (S67: YES), the process returns to step S59. Thereby, in the
処理番号nが共通履歴数A以上である場合(S67:NO)、共通履歴数Aが共通履歴上限数Amax以上であるか否かが判断される(S69)。共通履歴数Aが共通履歴上限数Amaxより大である場合(S69:YES)、共通履歴上限数Amaxと同じ順番(つまり、Amax番目)以降の共通履歴データが、フラッシュメモリ410から削除される(S71)。具体的には、フラッシュメモリ410に記憶されている全ての共通履歴データのうちで、Amax番目よりもデータ番号が大きい共通履歴データが削除される。その後、フラッシュメモリ410に記憶されている履歴データのデータ番号が昇順の通し番号で更新される。ステップS71の実行後、および、共通履歴数Aが共通履歴上限数Amax以下である場合(S69:NO)、処理は履歴データ更新処理(図5)に戻る。候補データ数Cが「1」未満である場合も(S51:YES)、処理は履歴データ更新処理(図5)に戻る。
When the process number n is equal to or greater than the common history number A (S67: NO), it is determined whether or not the common history number A is equal to or greater than the common history upper limit number Amax (S69). When the common history number A is larger than the common history upper limit number Amax (S69: YES), the common history data after the same order as the common history upper limit number Amax (that is, Amax) is deleted from the flash memory 410 ( S71). Specifically, among all the common history data stored in the
図7に示すように、履歴データ呼出処理(S15)では、まず共通履歴数Aと通常履歴数Bとの加算値が、「0」より大であるか否かが判断される(S81)。共通履歴数Aと通常履歴数Bとの加算値が「0」以下である場合(S81:NO)、フラッシュメモリ410に履歴データが記憶されていないため、処理はメイン処理(図4)に戻る。共通履歴数Aと通常履歴数Bとの加算値が「0」より大である場合(S81:YES)、フラッシュメモリ410に少なくとも一つの履歴データが記憶されている。この場合、処理番号nが「1」に更新される(S83)。次いで、処理番号nと同じデータ番号(つまり、n番目)の履歴データに基づいて、コンテンツが編集画面100に表示される(S85)。ステップS85では、フラッシュメモリ410からn番目の履歴データが読み出され、履歴データに基づいてコンテンツが表示される。
As shown in FIG. 7, in the history data call process (S15), it is first determined whether or not the added value of the common history number A and the normal history number B is greater than “0” (S81). When the added value of the common history number A and the normal history number B is equal to or less than “0” (S81: NO), since no history data is stored in the
ステップS85の実行後、ユーザが操作部2を用いて操作した内容に応じて、以下の処理が実行される。履歴データを確定する操作が行われた場合(S87:YES)、編集画面100に表示されたコンテンツが、印刷対象のコンテンツとして設定される(S89)。具体的には、履歴データに含まれるテキストデータに基づいて、編集画面100に文字列が設定される。履歴データに含まれる設定情報に基づいて、編集画面100に文字列の表示態様が設定される。その後、処理はメイン処理(図4)に戻る。これにより、編集画面100に設定されたコンテンツを対象に、ユーザは印刷実行またはコンテンツ編集を実行できる。
After the execution of step S85, the following processing is executed according to the content operated by the user using the
履歴データを先に進める操作が行われた場合(S87:NO、S91:YES)、処理番号nが共通履歴数Aと通常履歴数Bとの加算値以上であるか否かが判断される(S93)。処理番号nが共通履歴数Aと通常履歴数Bとの加算値以上である場合(S93:YES)、表示中コンテンツの履歴データよりもデータ番号が大きい履歴データが、フラッシュメモリ410に存在しない。この場合、処理番号nが「1」に更新される(S95)。その後、処理はステップS85に戻る。これにより、編集画面100では、データ番号が最も大きい履歴データ(つまり、末尾の履歴データ)のコンテンツに代えて、データ番号が最も小さい履歴データ(つまり、先頭の履歴データ)のコンテンツが表示される。
When the operation of advancing history data is performed (S87: NO, S91: YES), it is determined whether or not the process number n is equal to or greater than the addition value of the common history number A and the normal history number B ( S93). When the process number n is equal to or greater than the added value of the common history number A and the normal history number B (S93: YES), history data having a data number larger than the history data of the content being displayed does not exist in the
処理番号nが共通履歴数Aと通常履歴数Bとの加算値未満である場合(S93:NO)、表示中コンテンツの履歴データよりもデータ番号が大きい履歴データが、フラッシュメモリ410に存在する。この場合、処理番号nが「1」加算される(S97)。その後、処理はステップS85に戻る。これにより、編集画面100では、表示中コンテンツに代えて、次にデータ番号が大きい履歴データのコンテンツが表示される。
When the process number n is less than the added value of the common history number A and the normal history number B (S93: NO), history data having a data number larger than the history data of the content being displayed exists in the
履歴データを前に戻す操作が行われた場合(S87:NO、S91:NO)、処理番号nが「1」以下であるか否かが判断される(S99)。処理番号nが「1」以下である場合(S99:YES)、表示中コンテンツの履歴データよりもデータ番号が小さい履歴データが、フラッシュメモリ410に存在しない。この場合、処理番号nが共通履歴数Aと通常履歴数Bとの加算値に更新される(S101)。その後、処理はステップS85に戻る。これにより、編集画面100では、先頭の履歴データのコンテンツに代えて、末尾の履歴データのコンテンツが表示される。
When the operation of returning the history data is performed (S87: NO, S91: NO), it is determined whether or not the process number n is “1” or less (S99). When the process number n is “1” or less (S99: YES), history data having a data number smaller than the history data of the content being displayed does not exist in the
処理番号nが「1」より大である場合(S99:NO)、表示中コンテンツの履歴データよりもデータ番号が小さい履歴データが、フラッシュメモリ410に存在する。この場合、処理番号nが「1」減算される(S103)。その後、処理はステップS85に戻る。これにより、編集画面100では、表示中コンテンツに代えて、次にデータ番号が小さい履歴データのコンテンツが表示される。
When the process number n is larger than “1” (S99: NO), history data having a data number smaller than the history data of the content being displayed exists in the
図8〜図12を参照して、図4に示すメイン処理の具体例を説明する。なお、以下の具体例は、フラッシュメモリ410に履歴データが記憶されていない状態で、メイン処理(図4)が開始された場合を例示する。
A specific example of the main process shown in FIG. 4 will be described with reference to FIGS. The following specific example illustrates a case where the main process (FIG. 4) is started in a state where no history data is stored in the
第一具体例を説明する。図8に示すように、ユーザが初期状態の編集画面100でコンテンツを編集する操作を行う(S11)。具体的には、ユーザは初期状態の編集画面100に、第一段落一行目の文字列「No.122aa」を入力する。ユーザは一行目の文字列の末尾に改行180を入力した後、第一段落二行目の文字列「Name:Suzuki」を入力する。改行180は、キャラクタの改行を示す記号である。複数の行は、キャラクタが改行された順(図8の例では、下方向)に並ぶ。さらにユーザは、文字列の表示態様(例えば、サイズ「オート」)を設定する。これにより、編集画面100では、コンテンツ110が設定される。その後、ユーザが印刷実行を指示する操作を行うと、コンテンツ110が表記されたラベル310が作成される(S5)。コンテンツ110を示す印刷対象データが、先頭の通常履歴データ(データ番号「1」の通常履歴データ)として、フラッシュメモリ410に保存される(S41)。
A first specific example will be described. As shown in FIG. 8, the user performs an operation of editing content on the
次に、ユーザが初期状態の編集画面100でコンテンツを編集する操作を行って、コンテンツ120を設定する(S11)。コンテンツ120は、第一段落一行目の文字列「Happy Birthday!」と、文字列の表示態様(例えば、サイズ「24pt」および装飾画像「リボン」)とを含む。その後、ユーザが印刷実行を指示する操作を行うと、コンテンツ120が表記されたラベル320が作成される(S5)。コンテンツ110のレイアウトは一段落二行であるのに対し、コンテンツ120のレイアウトは一段落一行である。コンテンツ110、120はレイアウトが共通しないので(S27:NO)、コンテンツ120を示す印刷対象データが、先頭の通常履歴データとしてフラッシュメモリ410に保存される(S41)。このとき、コンテンツ110の通常履歴データのデータ番号は、「2」に更新される。
Next, the user performs an operation for editing the content on the
次に、ユーザが初期状態の編集画面100でコンテンツを編集する操作を行って、コンテンツ130を設定する(S11)。コンテンツ130は、第一段落一行目の文字列「No.122bb」および第一段落二行目の文字列「Name:Ito」と、文字列の表示態様(例えば、サイズ「オート」)とを含む。その後、ユーザが印刷実行を指示する操作を行うと、コンテンツ130が表記されたラベル330が作成される(S5)。
Next, the user performs an operation for editing the content on the
図9に示すように、コンテンツ110、130はいずれも一段落二行であるため、レイアウトが共通する(S27:YES)。コンテンツ110、130は、第一段落一行目の文字列のうちで「No.122」が部分一致し、第一段落二行目の文字列のうちで「Name:」が部分一致する(S33:YES)。したがって、第一段落一行目の文字列「No.122」と第一段落二行目の文字列「Name:」とで構成される共通ブロックを示すコンテンツ210の候補データが、RAM404に保存される(S37)。次いで、コンテンツ130を示す印刷対象データが、先頭の通常履歴データとしてフラッシュメモリ410に保存される(S41)。このとき、コンテンツ110、120の通常履歴データのデータ番号は、それぞれ「3」および「2」に更新される。
As shown in FIG. 9, since the
さらに、RAM404に保存されたコンテンツ210の候補データが、フラッシュメモリ410に記憶されている履歴データの先頭に、共通履歴データとして保存される(S55)。このとき、コンテンツ110〜130の通常履歴データのデータ番号は、それぞれ「4」、「3」、「2」に更新される。これにより、フラッシュメモリ410では、コンテンツ210の共通履歴データ、コンテンツ130の通常履歴データ、コンテンツ120の通常履歴データ、コンテンツ110の通常履歴データの順に、四つの履歴データが記憶される。
Further, the candidate data of the
その後、図10に示すように、ユーザが履歴データの呼び出しを指示する操作を行うと、まずデータ番号「1」の履歴データに基づいて、コンテンツ210が表示される(S83、S85)。ユーザが履歴データを先に進める操作を行う毎に、コンテンツ130、120、110が順に切替表示される(S91:YES、S93:NO、S97)。さらにユーザが履歴データを先に進める操作を行うと、再びコンテンツ210が切替表示される(S91:YES、S93:YES、S95)。
After that, as shown in FIG. 10, when the user performs an operation for instructing to call history data, the
第二具体例を説明する。ユーザは第一具体例と同様に、コンテンツ110〜130の設定および印刷を行う。これにより、フラッシュメモリ410には、先述のようにコンテンツ210、130、120、110の順に、四つの履歴データが保存される。さらにユーザは、コンテンツ140を設定および印刷する(S11、S5)。図11に示すように、コンテンツ140は、第一段落一行目の文字列「No.56412」および第一段落二行目の文字列「Name:Tanaka」と、文字列の表示態様(例えば、サイズ「オート」)とを含む。
A second specific example will be described. The user sets and prints the
この場合、コンテンツ140は、コンテンツ130とレイアウトが共通する(S27:YES)。第一段落一行目の文字列のうちで「No.」が部分一致し、第一段落二行目の文字列のうちで「Name:」が部分一致する(S33:YES)。第一段落一行目の文字列「No.」と第一段落二行目の文字列「Name:」とで構成される共通ブロックを示すコンテンツ220の候補データが、RAM404に保存される(S37)。同様に、コンテンツ140がコンテンツ110と比較された場合も、コンテンツ220の候補データが保存される(S37)。そのため、二つのコンテンツ220の候補データが、RAM404に保存される。次いで、コンテンツ140を示す印刷対象データが、先頭の通常履歴データとしてフラッシュメモリ410に保存される(S41)。
In this case, the
さらに、RAM404に保存された二つのコンテンツ220の候補データが、フラッシュメモリ410に記憶されている履歴データの先頭に、共通履歴データとして保存される(S55)。コンテンツ220はコンテンツ210よりも、キャラクタ数が少ない。そのため、二つのコンテンツ220の共通履歴データが先、コンテンツ210の共通履歴データが後となるように、共通履歴データが並び替えられる(S57)。二つのコンテンツ220は同一の共通ブロックを示すため、一つのコンテンツ220の共通履歴データが削除される(S59〜S67)。
Further, the candidate data of the two
これにより、フラッシュメモリ410では、コンテンツ220の共通履歴データ、コンテンツ210の共通履歴データ、コンテンツ140の通常履歴データ、コンテンツ130の通常履歴データ、コンテンツ120の通常履歴データ、コンテンツ110の通常履歴データの順に、六つの履歴データが記憶される。その後、ユーザが履歴データの呼び出しを指示する操作を行うと、まずコンテンツ220が表示される(S83、S85)。ユーザが履歴データを先に進める操作を行う毎に、コンテンツ210、140、130、120、110が順に切替表示される。
Thus, in the
第三具体例を説明する。図12に示すように、ユーザが初期状態の編集画面100でコンテンツを編集する操作を行う(S11)。具体的には、ユーザは初期状態の編集画面100に、第一段落一行目の文字列「No.122aa」を入力する。ユーザは第一段落一行目の文字列の末尾に改段落190を入力した後、第二段落一行目の文字列「Name:Suzuki」を入力する。改段落190は、キャラクタの改段落を示す記号である。複数の段落は、キャラクタが改段落された順(図12の例では、右方向)に並ぶ。さらにユーザは、文字列の表示態様(例えば、サイズ「オート」)を設定する。これにより、編集画面100では、コンテンツ150が設定される。その後、ユーザが印刷実行を指示する操作を行うと、コンテンツ150が表記されたラベル350が作成される(S5)。コンテンツ150を示す印刷対象データが、先頭の通常履歴データとしてフラッシュメモリ410に保存される(S41)。
A third specific example will be described. As shown in FIG. 12, the user performs an operation of editing content on the
次に、ユーザが初期状態の編集画面100でコンテンツを編集する操作を行って、コンテンツ160を設定する(S11)。コンテンツ160は、第一段落一行目の文字列「No.122bb」および第二段落一行目の文字列「Name:Ito」と、文字列の表示態様(例えば、サイズ「オート」)とを含む。その後、ユーザが印刷実行を指示する操作を行うと、コンテンツ160が表記されたラベル360が作成される(S5)。コンテンツ150、160はいずれも二段落一行であるため、レイアウトが共通する(S27:YES)。コンテンツ150、160は、第一段落一行目の文字列のうちで「No.122」が部分一致し、第二段落一行目の文字列のうちで「Name:」が部分一致する(S33:YES)。
Next, the user performs an operation for editing the content on the
したがって、第一段落一行目の文字列「No.122」と第二段落一行目の文字列「Name:」とで構成される共通ブロックを含むコンテンツ230の候補データが、RAM404に保存される(S37)。次いで、コンテンツ160を示す印刷対象データが、先頭の通常履歴データとしてフラッシュメモリ410に保存される(S41)。さらに、RAM404に保存されたコンテンツ230の候補データが、フラッシュメモリ410に記憶されている履歴データの先頭に、共通履歴データとして保存される(S55)。
Therefore, the candidate data of the
これにより、フラッシュメモリ410では、コンテンツ230の共通履歴データ、コンテンツ160の通常履歴データ、コンテンツ150の通常履歴データの順に、三つの履歴データが記憶される。その後、ユーザが履歴データの呼び出しを指示する操作を行うと、コンテンツ230が表示される(S83、S85)。ユーザが履歴データを先に進める操作を行う毎に、コンテンツ160、150が順に切替表示される。
Thereby, in the
第一〜第三具体例に示すように、ユーザが編集画面100でコンテンツを設定および印刷するごとに(S5)、印刷対象データが通常履歴データとして保存されるのみならず、共通履歴データが自動的に生成および保存される(S7)。ユーザは共通履歴データを呼び出して(S15)、共通履歴データのコンテンツを編集することで(S11)、共通ブロックを構成するキャラクタを再入力することなく、共通ブロックを含む新たなコンテンツを作成できる。つまり、ユーザは共通ブロック以外の部分が異なる複数のコンテンツを、簡易且つ迅速に作成できる。 As shown in the first to third specific examples, every time the user sets and prints content on the editing screen 100 (S5), not only the print target data is saved as normal history data but also the common history data is automatically Generated and stored (S7). The user calls the common history data (S15) and edits the content of the common history data (S11), so that new content including the common block can be created without re-inputting the characters constituting the common block. That is, the user can easily and quickly create a plurality of contents having different parts other than the common block.
本実施形態では、ステップS11で共通履歴データのコンテンツを編集する場合、共通ブロックを構成するキャラクタの選択および編集は禁止される。例えば、図9に示すコンテンツ210を呼び出して編集する場合、第一段落一行目の文字列「No.122」および第一段落二行目の文字列「Name:」に対して、カーソルの位置合わせ、キャラクタの変更および削除等が禁止される。これにより、ユーザは共通ブロック以外の部分が異なる複数のコンテンツを、より正確に作成できる。
In the present embodiment, when editing the content of the common history data in step S11, selection and editing of characters constituting the common block is prohibited. For example, when editing the
図10および図11に示すように、フラッシュメモリ410に記憶されている通常履歴データと共通履歴データとが、所定の順序で選択可能に表示される(S15)。これにより、ユーザは通常履歴データと共通履歴データとを必要に応じて選択的に使用できるため、コンテンツ編集の自由度が高まる。また、共通履歴データは通常履歴データよりも所定の順序(本実施形態では、データ番号の昇順)における上流側に表示されるため、共通履歴データのコンテンツは通常履歴データのコンテンツよりも先に表示される。これにより、ユーザは共通ブロック以外の部分が異なる複数のコンテンツを、より少ない操作回数で作成できる。さらに、共通ブロックが小さい共通履歴データから順に、複数の共通履歴データのコンテンツが表示される。これにより、ユーザによって使用される確率が高い共通ブロックを優先的に表示して、コンテンツ編集時の利便性を高めることができる。
As shown in FIGS. 10 and 11, the normal history data and the common history data stored in the
図9および図12に示すように、行および段落の順序が等しい複数のコンテンツ(言い換えると、段落数が等しく、且つ各段落の行数が等しい複数コンテンツ)のうちで、共通の行において行の先頭から共通のキャラクタが並ぶ範囲が、共通ブロックに特定される(S25)。したがって、複数のコンテンツから、共通ブロックを正確且つ迅速に特定することができる。 As shown in FIGS. 9 and 12, among a plurality of contents having the same line and paragraph order (in other words, a plurality of contents having the same number of paragraphs and the same number of lines in each paragraph), A range in which common characters are arranged from the top is specified as a common block (S25). Therefore, a common block can be specified accurately and quickly from a plurality of contents.
以上説明したように、本実施形態によれば、あらかじめ作成されたコンテンツを示す複数の既存データとして、印刷対象データと通常履歴データとが取得される(S24)。取得された印刷対象データと通常履歴データとが各々示す複数のコンテンツのうちで、共通のキャラクタが共通の位置に配置された部分である共通ブロックが特定される(S25)。特定された共通ブロックに基づいて、共通ブロックを含むコンテンツを示す共通履歴データが作成される(S7)。ユーザは共通履歴データが示すコンテンツを編集することで(S11)、コンテンツの一部が異なる複数のコンテンツを簡易且つ迅速に作成できる。 As described above, according to the present embodiment, the print target data and the normal history data are acquired as a plurality of existing data indicating the content created in advance (S24). Of the plurality of contents respectively indicated by the acquired print target data and the normal history data, a common block that is a portion where a common character is arranged at a common position is specified (S25). Based on the identified common block, common history data indicating content including the common block is created (S7). By editing the content indicated by the common history data (S11), the user can easily and quickly create a plurality of contents with different contents.
上記実施形態において、テープ印字装置1が、本発明の「印刷装置」に相当する。テープが、本発明の「印刷媒体」に相当する。印刷対象データおよび通常履歴データが、本発明の「既存データ」に相当する。ステップS24を実行するCPU401が、本発明の「データ取得手段」に相当する。ステップS25を実行するCPU401が、本発明の「共通ブロック特定手段」に相当する。ステップS7を実行するCPU401が、本発明の「共通履歴データ作成手段」に相当する。ステップS55を実行するCPU401が、本発明の「記憶制御手段」に相当する。フラッシュメモリ410が、本発明の「第一記憶手段」および「第二記憶手段」に相当する。ステップS15を実行するCPU401が、本発明の「表示制御手段」に相当する。
In the above embodiment, the
なお、本発明は上記実施形態に限定されるものではなく、種々の変更が可能である。例えば、コンテンツに含まれるキャラクタは、数字およびアルファベットに限定されない。メイン処理(図4)は、テープ印字装置1で実行される態様に限定されず、キャラクタを含むコンテンツを示すデータを編集可能な装置およびプログラムに適用できる。例えば、コンテンツを編集するためのプログラムであるエディタに基づいて、パソコンでメイン処理(図4)が実行されてもよい。履歴データ更新処理(図5)の実行タイミングは、コンテンツ印刷の実行後に限定されない。例えば、編集画面100でコンテンツの編集を完了する指示が入力された場合に、履歴データ更新処理(図5)が実行されてもよい。履歴データ更新処理(図5)では、印刷対象データと通常履歴データとを比較するのに代えて、ユーザが指定した通常履歴データと他の通常履歴データとを比較することで、共通履歴データを作成してもよい。
In addition, this invention is not limited to the said embodiment, A various change is possible. For example, the characters included in the content are not limited to numbers and alphabets. The main process (FIG. 4) is not limited to the mode executed by the
1 テープ印字装置
2 操作部
5 ディスプレイ
10 サーマルヘッド
110、120、130、140、150、160、210、220、230 コンテンツ
401 CPU
402 ROM
404 RAM
410 フラッシュメモリ
DESCRIPTION OF
402 ROM
404 RAM
410 flash memory
Claims (7)
あらかじめ作成された前記コンテンツを示す前記データである既存データを複数取得するデータ取得手段と、
前記データ取得手段によって取得された複数の前記既存データが各々示す複数の前記コンテンツのうちで、共通の前記キャラクタが共通の位置に配置された部分である共通ブロックを、前記複数の既存データに基づいて特定する共通ブロック特定手段と、
前記共通ブロック特定手段で特定された前記共通ブロックに基づいて、前記共通ブロックを含む前記コンテンツを示す前記データである共通履歴データを作成する共通履歴データ作成手段と
を備えたことを特徴とする印刷装置。 A printing apparatus capable of printing the content on a print medium based on data indicating content including a character,
Data acquisition means for acquiring a plurality of existing data that is the data indicating the content created in advance;
Based on the plurality of existing data, a common block that is a portion where the common character is arranged at a common position among the plurality of contents respectively indicated by the plurality of existing data acquired by the data acquisition unit. Common block identification means to identify,
And a common history data creating means for creating common history data, which is the data indicating the content including the common block, based on the common block identified by the common block identifying means. apparatus.
前記コンテンツ編集手段は、前記共通履歴データが示す前記コンテンツを編集する場合、前記コンテンツのうちで前記共通ブロックに対するユーザ操作を禁止することを特徴とする請求項1に記載の印刷装置。 Content editing means for editing the content in response to a user operation on the content indicated by the existing data or the common history data;
The printing apparatus according to claim 1, wherein when editing the content indicated by the common history data, the content editing unit prohibits a user operation on the common block in the content.
前記共通履歴データ作成手段によって作成された前記共通履歴データを、第二記憶手段に記憶させる記憶制御手段と、
前記第一記憶手段に記憶されている前記既存データが示す前記コンテンツと、前記第二記憶手段に記憶されている前記共通履歴データが示す前記コンテンツとを、所定の順序で選択可能に表示する表示制御手段と
を備えたことを特徴とする請求項1または2に記載の印刷装置。 The data acquisition means acquires at least one of the existing data from a first storage means for storing the existing data,
Storage control means for storing the common history data created by the common history data creation means in a second storage means;
Display for selectively displaying the content indicated by the existing data stored in the first storage means and the content indicated by the common history data stored in the second storage means in a predetermined order The printing apparatus according to claim 1, further comprising: a control unit.
前記共通ブロック特定手段は、前記行および前記段落の順序が等しい複数の前記コンテンツのうちで、共通の前記行において前記行の先頭から共通の前記キャラクタが並ぶ範囲を、前記共通ブロックに特定することを特徴とする請求項1から5のいずれかに記載の印刷装置。 The content is composed of a line in which the characters are arranged in a line-breaking order and a paragraph in which the characters are arranged in a line-breaking order,
The common block specifying means specifies, in the common block, a range in which the common characters are arranged from the beginning of the line in the common line among the plurality of contents having the same order of the line and the paragraph. The printing apparatus according to claim 1, wherein:
あらかじめ作成された前記コンテンツを示す前記データである既存データを複数取得するステップと、
取得された複数の前記既存データが各々示す複数の前記コンテンツのうちで、共通の前記キャラクタが共通の位置に配置された部分である共通ブロックを、前記複数の既存データに基づいて特定するステップと、
特定された前記共通ブロックに基づいて、前記共通ブロックを含む前記コンテンツを示す前記データである共通履歴データを作成するステップと
を実行させることを特徴とするコンテンツ編集プログラム。 To a computer that can edit data indicating content including characters,
Obtaining a plurality of existing data that is the data indicating the content created in advance;
A step of identifying a common block that is a portion where the common character is arranged at a common position among the plurality of contents respectively indicated by the plurality of existing data acquired based on the plurality of existing data; ,
Creating a common history data, which is the data indicating the content including the common block, based on the identified common block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013082511A JP6175872B2 (en) | 2013-04-10 | 2013-04-10 | Printing apparatus and content editing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013082511A JP6175872B2 (en) | 2013-04-10 | 2013-04-10 | Printing apparatus and content editing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014205250A true JP2014205250A (en) | 2014-10-30 |
JP6175872B2 JP6175872B2 (en) | 2017-08-09 |
Family
ID=52119243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013082511A Active JP6175872B2 (en) | 2013-04-10 | 2013-04-10 | Printing apparatus and content editing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6175872B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0916791A (en) * | 1995-06-26 | 1997-01-17 | Toppan Printing Co Ltd | Method and system for editing/outputting layout |
US20050157339A1 (en) * | 2004-01-20 | 2005-07-21 | Sang-Kil Ahn | Image forming apparatus and method |
JP2006203429A (en) * | 2005-01-19 | 2006-08-03 | Fuji Xerox Co Ltd | Image data processor |
JP2006237825A (en) * | 2005-02-23 | 2006-09-07 | Konica Minolta Business Technologies Inc | Image processing device, image processing method and image processing program |
JP2013041539A (en) * | 2011-08-19 | 2013-02-28 | Kyocera Document Solutions Inc | Information extraction device |
-
2013
- 2013-04-10 JP JP2013082511A patent/JP6175872B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0916791A (en) * | 1995-06-26 | 1997-01-17 | Toppan Printing Co Ltd | Method and system for editing/outputting layout |
US20050157339A1 (en) * | 2004-01-20 | 2005-07-21 | Sang-Kil Ahn | Image forming apparatus and method |
JP2006203429A (en) * | 2005-01-19 | 2006-08-03 | Fuji Xerox Co Ltd | Image data processor |
JP2006237825A (en) * | 2005-02-23 | 2006-09-07 | Konica Minolta Business Technologies Inc | Image processing device, image processing method and image processing program |
JP2013041539A (en) * | 2011-08-19 | 2013-02-28 | Kyocera Document Solutions Inc | Information extraction device |
Also Published As
Publication number | Publication date |
---|---|
JP6175872B2 (en) | 2017-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20020093859A1 (en) | Character processing method and apparatus and storage medium | |
US8934128B2 (en) | Control device, print system, print device, print control method and program | |
JP5548992B2 (en) | Printing device, printing method, printing control program | |
JP6136493B2 (en) | Data creation device and data creation program | |
JP2012228840A (en) | Tape printing apparatus, and display method in the tape printing apparatus | |
JP6175872B2 (en) | Printing apparatus and content editing program | |
JP5447398B2 (en) | Printing device, control program, and editing program | |
JP2016221940A (en) | Label creating device, label creating method and label creating program | |
JP2016221940A5 (en) | ||
JP6528632B2 (en) | Editing device, printing device, and control program | |
JP5228897B2 (en) | Image processing method, program thereof, and image processing apparatus | |
JP6376147B2 (en) | Printing apparatus and control program | |
US20020178189A1 (en) | Text control method and apparatus | |
US10643656B2 (en) | Printing apparatus, method of controlling printing apparatus, and non-transitory recording medium containing computer-readable instructions therefor | |
JP5817455B2 (en) | Display device and display control program | |
JP2017030185A (en) | Printing setting method of printer and printer | |
JP2008195024A (en) | Image forming apparatus | |
JP2014205251A (en) | Data preparation device and data preparation program | |
JP6380317B2 (en) | Data creation device and data creation program | |
JP6245067B2 (en) | Editing device and printing device | |
JP2005138443A (en) | Apparatus, method and program for forming small printed material | |
JP5907386B2 (en) | Printing apparatus, printing method and program by printing apparatus | |
JP2005271541A (en) | Printer | |
JP2015219558A (en) | Printing device | |
JP6011113B2 (en) | Print control apparatus and print control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160316 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170113 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170124 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170220 |
|
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: 20170613 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170626 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6175872 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |