JP2017132208A - Printer and control program - Google Patents

Printer and control program Download PDF

Info

Publication number
JP2017132208A
JP2017132208A JP2016016253A JP2016016253A JP2017132208A JP 2017132208 A JP2017132208 A JP 2017132208A JP 2016016253 A JP2016016253 A JP 2016016253A JP 2016016253 A JP2016016253 A JP 2016016253A JP 2017132208 A JP2017132208 A JP 2017132208A
Authority
JP
Japan
Prior art keywords
block
blocks
display area
displayed
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016016253A
Other languages
Japanese (ja)
Other versions
JP6376147B2 (en
Inventor
敬之 中
Noriyuki Naka
敬之 中
潤也 河合
Junya Kawai
潤也 河合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016016253A priority Critical patent/JP6376147B2/en
Publication of JP2017132208A publication Critical patent/JP2017132208A/en
Application granted granted Critical
Publication of JP6376147B2 publication Critical patent/JP6376147B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Printers Characterized By Their Purpose (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer and a control program which allow a user to easily grasp the separation of blocks when a preview image in a case where the blocks are printed is displayed on a display part.SOLUTION: A printer includes a display. A medium image is displayed on a display area. When there are blocks input via an operation part, the medium image indicates the outer shape of a printing medium on which at least a portion of the blocks is printed. At least a portion of the blocks is displayed on the display area in the substantially-same mode as a case where the blocks are printed on the printing medium on the basis of a character code and setting information set to each of the blocks. A block range image indicating each range of at least one block including the block being an edition object of at least a portion of the blocks is displayed on the display area (S11, S19, S21, S27, and S29).SELECTED DRAWING: Figure 4

Description

本発明は、表示部を備える印刷装置及び制御プログラムに関する。   The present invention relates to a printing apparatus including a display unit and a control program.

表示部を備える印刷装置が知られている(例えば、特許文献1参照)。また、少なくとも1つのキャラクタを含むブロックを表示部に表示可能な印刷装置が公知である。この印刷装置では、キャラクタを示す文字コードに、ブロック単位で、キャラクタのサイズ及びフォント等を設定できる。印刷装置では、複数のブロックが印刷媒体に印刷される場合の、複数のブロックと印刷媒体の外形とを示す画像であるプレビュー画像を表示できる。   A printing apparatus including a display unit is known (for example, see Patent Document 1). Also known is a printing apparatus capable of displaying a block including at least one character on a display unit. In this printing apparatus, the character size, font, and the like can be set for each character block indicating a character in units of blocks. The printing apparatus can display a preview image that is an image showing the plurality of blocks and the outer shape of the print medium when the plurality of blocks are printed on the print medium.

特開平7−205482号公報JP-A-7-205482

上記印刷装置では、複数のブロックが印刷される場合のプレビュー画像が表示部に表示された場合、ユーザは、複数のブロックの区切りを把握し辛い可能性がある。   In the printing apparatus, when a preview image when a plurality of blocks is printed is displayed on the display unit, the user may have difficulty grasping the break between the plurality of blocks.

本発明の目的は、複数のブロックが印刷される場合のプレビュー画像が表示部に表示された場合に、ユーザが複数のブロックの区切りを容易に把握することを可能にする印刷装置及び制御プログラムを提供することである。   An object of the present invention is to provide a printing apparatus and a control program that enable a user to easily grasp a break between a plurality of blocks when a preview image when a plurality of blocks is printed is displayed on a display unit. Is to provide.

本発明の第一態様に係る印刷装置は、画像を表示することが可能な表示部と、入力部の操作に応じて入力された、文字コードによって表現される少なくとも一つのキャラクタを含むブロックが複数ある場合に、第一方向に並ぶ複数のブロックの少なくとも一部が印刷される印刷媒体の外形を示す媒体画像を、前記表示部の表示領域に表示させる第一表示制御手段と、前記複数のブロックの少なくとも一部を、前記文字コードと前記複数のブロックの夫々に設定された設定情報とに基づき、前記複数のブロックが前記印刷媒体に印刷される場合と略同じ態様で、前記表示領域に表示させる第二表示制御手段と、前記媒体画像と前記複数のブロックの少なくとも一部とが前記表示領域に表示された状態で、前記複数のブロックの少なくとも一部のうち、編集対象のブロックを含む少なくとも一つのブロックの夫々の範囲を示すブロック範囲画像を、前記表示領域に表示させる第三表示制御手段とを備える。   The printing apparatus according to the first aspect of the present invention includes a display unit capable of displaying an image, and a plurality of blocks including at least one character expressed by a character code input in accordance with an operation of the input unit. In some cases, a first display control means for displaying a media image indicating an outer shape of a printing medium on which at least a part of a plurality of blocks arranged in the first direction is printed in a display area of the display unit, and the plurality of blocks Is displayed in the display area in substantially the same manner as when the plurality of blocks are printed on the print medium based on the character code and setting information set for each of the plurality of blocks. Second display control means for causing the medium image and at least a part of the plurality of blocks to be displayed in the display area, and at least a part of the plurality of blocks. Chi, the block range image showing at least one block ranges of each of the containing block to be edited, and a third display control means for displaying on the display area.

第一態様によれば、複数のブロックが印刷される場合の、複数のブロックの少なくとも一部と印刷媒体の外形とを示すプレビュー画像が、ブロック範囲画像と共に表示領域に表示される。ユーザは、プレビュー画像とブロック範囲画像とを見ることにより、複数のブロックの区切りを容易に把握できる。   According to the first aspect, when a plurality of blocks are printed, a preview image showing at least a part of the plurality of blocks and the outer shape of the print medium is displayed in the display area together with the block range image. The user can easily grasp the separation of a plurality of blocks by looking at the preview image and the block range image.

本発明の第二態様に係る制御プログラムは、画像を表示することが可能な表示部を備えた印刷装置のコンピュータに、入力部の操作に応じて入力された、文字コードによって表現される少なくとも一つのキャラクタを含むブロックが複数ある場合に、第一方向に並ぶ複数のブロックの少なくとも一部が印刷される印刷媒体の外形を示す媒体画像を、前記表示部の表示領域に表示させる第一表示制御ステップと、前記複数のブロックの少なくとも一部を、前記文字コードと前記複数のブロックの夫々に設定された設定情報とに基づき、前記複数のブロックが前記印刷媒体に印刷される場合と略同じ態様で、前記表示領域に表示させる第二表示制御ステップと、前記媒体画像と前記複数のブロックの少なくとも一部とが前記表示領域に表示された状態で、前記複数のブロックの少なくとも一部のうち、編集対象のブロックを含む少なくとも一つのブロックの夫々の範囲を示すブロック範囲画像を、前記表示領域に表示させる第三表示制御ステップとを実行させる。第二態様によれば、第一態様と同様の効果を奏することができる。   The control program according to the second aspect of the present invention is at least one expressed by a character code input to a computer of a printing apparatus having a display unit capable of displaying an image in accordance with an operation of the input unit. First display control for displaying, in a display area of the display unit, a medium image showing an outer shape of a print medium on which at least a part of the plurality of blocks arranged in the first direction is printed when there are a plurality of blocks including one character Substantially the same mode as when the plurality of blocks are printed on the print medium based on the step and at least a part of the plurality of blocks based on the character code and setting information set in each of the plurality of blocks. Then, the second display control step to display in the display area, the medium image and at least a part of the plurality of blocks are displayed in the display area. And executing a third display control step of displaying a block range image indicating each range of at least one block including the block to be edited among at least some of the plurality of blocks in the display area. . According to the 2nd aspect, there can exist an effect similar to a 1st aspect.

カバー6が閉じられた状態にある印刷装置1の斜視図である。FIG. 2 is a perspective view of the printing apparatus 1 in a state where a cover 6 is closed. カバー6が開かれた状態にある印刷装置1及びテープカセット30の斜視図である。FIG. 3 is a perspective view of the printing apparatus 1 and the tape cassette 30 in a state where a cover 6 is opened. 印刷装置1の電気的構成を示すブロック図である。FIG. 2 is a block diagram illustrating an electrical configuration of the printing apparatus 1. メイン処理のフローチャートである。It is a flowchart of a main process. 表示領域100に表示される表示例101〜108を示す図である。10 is a diagram showing display examples 101 to 108 displayed in a display area 100. FIG. 表示領域100に表示される表示例201を示す図である。6 is a diagram showing a display example 201 displayed in a display area 100. FIG. 表示領域100に表示される表示例301を示す図である。5 is a diagram showing a display example 301 displayed in a display area 100. FIG.

本発明の実施形態を、図面を参照して説明する。図1及び図2を参照して、印刷装置1の概略構成について説明する。以下の説明では、図1及び図2の右上側、左下側、右下側、左上側、上側、下側を、夫々、印刷装置1の後側、前側、右側、左側、上側、下側とする。   Embodiments of the present invention will be described with reference to the drawings. A schematic configuration of the printing apparatus 1 will be described with reference to FIGS. 1 and 2. In the following description, the upper right side, lower left side, lower right side, upper left side, upper side, and lower side of FIGS. 1 and 2 are respectively the rear side, the front side, the right side, the left side, the upper side, and the lower side of the printing apparatus 1. To do.

図1に示すように、印刷装置1の上面には、キーボード3が設けられている。キーボード3は、キャラクタキー、削除キー、確定キー等を含む。キャラクタキーは、キャラクタを入力するために用いられる。キャラクタは、文字コードによって表現可能な、文字、数字、記号、空白、タブ等を含む。キーボード3の後側(紙面右上側)には、電源スイッチ、カーソルキー、用途キー等の機能キー群4が設けられている。カーソルキーは、左キー、右キー、上キー、下キーを含む。用途キーは、リアルタイムプレビューキー、印刷キー、キャンセルキー等を含む。以下の説明では、キーボード3と機能キー群4とを総称する場合、操作部2という。機能キー群4の後側には、ディスプレイ5が設けられている。印刷装置1の上面の後部には、開閉可能なカバー6が設けられている。印刷装置1の左後角には、後述するカット機構(図示略)によって切断された印刷済の印刷媒体を受けるトレイ7が設けられている。   As shown in FIG. 1, a keyboard 3 is provided on the upper surface of the printing apparatus 1. The keyboard 3 includes a character key, a delete key, a confirmation key, and the like. The character key is used to input a character. Characters include letters, numbers, symbols, spaces, tabs, and the like that can be expressed by character codes. On the rear side of the keyboard 3 (upper right side of the drawing), a function key group 4 such as a power switch, a cursor key, and an application key is provided. The cursor keys include a left key, a right key, an up key, and a down key. Application keys include a real-time preview key, a print key, a cancel key, and the like. In the following description, the keyboard 3 and the function key group 4 are collectively referred to as the operation unit 2. A display 5 is provided behind the function key group 4. A cover 6 that can be opened and closed is provided at the rear of the upper surface of the printing apparatus 1. A tray 7 is provided at the left rear corner of the printing apparatus 1 to receive a printed print medium cut by a cutting mechanism (not shown) described later.

図2に示すように、ディスプレイ5の後側には、テープカセット30が着脱されるカセット装着部8が形成されている。本実施形態のテープカセット30は、略直方体状(箱型)の筐体であるカセットケースを備える。カセットケースの内部には、テープ状の印刷媒体や、印刷に使用されるインクリボンなどが収容されている。テープカセット30の種類は、例えば、ラミネートタイプ、レセプタタイプ、チューブタイプ等である。印刷装置1では、カセット装着部8に装着されたテープカセット30を用いて、印刷媒体に印刷が行われる。   As shown in FIG. 2, a cassette mounting portion 8 to which the tape cassette 30 is attached and detached is formed on the rear side of the display 5. The tape cassette 30 of this embodiment includes a cassette case that is a substantially rectangular parallelepiped (box-shaped) housing. Inside the cassette case, a tape-shaped print medium, an ink ribbon used for printing, and the like are accommodated. The types of the tape cassette 30 are, for example, a laminate type, a receptor type, and a tube type. In the printing apparatus 1, printing is performed on a print medium using the tape cassette 30 mounted on the cassette mounting unit 8.

カセット装着部8には、駆動軸11、巻取軸9、サーマルヘッド10(図3参照)などが設けられている。駆動軸11は、印刷媒体を搬送するために用いられる。巻取軸9は、使用済みのインクリボンを巻き取るために用いられる。サーマルヘッド10は、印刷媒体に印刷を行う。本実施形態では、サーマルヘッド10が、搬送される印刷媒体に未使用のインクリボンを用いて印刷を行う。印刷媒体の搬送方向におけるサーマルヘッド10の下流側には、カット機構(図示略)が設けられている。カット機構は、印刷済みの印刷媒体を切断する。   The cassette mounting portion 8 is provided with a drive shaft 11, a winding shaft 9, a thermal head 10 (see FIG. 3), and the like. The drive shaft 11 is used for transporting a print medium. The take-up shaft 9 is used for taking up a used ink ribbon. The thermal head 10 performs printing on a print medium. In the present embodiment, the thermal head 10 performs printing using an unused ink ribbon on the transported print medium. A cut mechanism (not shown) is provided on the downstream side of the thermal head 10 in the print medium conveyance direction. The cutting mechanism cuts the printed print medium.

図3を参照して、印刷装置1の電気的構成について説明する。図3に示すように、印刷装置1は、制御基板上に形成される制御回路部400を備える。制御回路部400は、CPU401、ROM402、RAM404、フラッシュメモリ410、入出力インターフェース411などを備え、これらがデータバスを介して接続されている。   The electrical configuration of the printing apparatus 1 will be described with reference to FIG. As shown in FIG. 3, the printing apparatus 1 includes a control circuit unit 400 formed on a control board. The control circuit unit 400 includes a CPU 401, a ROM 402, a RAM 404, a flash memory 410, an input / output interface 411, and the like, which are connected via a data bus.

ROM402には、CPU401が印刷装置1を制御するために実行する各種プログラムが記憶されている。RAM404は、一時的なデータを記憶する。RAM404には、テキストバッファ、表示バッファ、印刷バッファ等、複数の記憶領域が設けられている。テキストバッファには、テキストデータが記憶される。テキストデータは、キャラクタキーを介して入力された少なくとも一つのキャラクタを含むテキストを示す。テキストデータは、キャラクタを示すキャラクタデータを含む。表示バッファには、ディスプレイ5にキャラクタを表示するためのデータが記憶される。印刷バッファには、印刷対象の印刷データが記憶される。他の記憶領域には、各種演算データ等が記憶される。   The ROM 402 stores various programs that the CPU 401 executes to control the printing apparatus 1. The RAM 404 stores temporary data. The RAM 404 is provided with a plurality of storage areas such as a text buffer, a display buffer, and a print buffer. Text data is stored in the text buffer. The text data indicates text including at least one character input via a character key. The text data includes character data indicating a character. Data for displaying a character on the display 5 is stored in the display buffer. Print data to be printed is stored in the print buffer. Various calculation data and the like are stored in other storage areas.

フラッシュメモリ410には、各々のキャラクタのキャラクタデータ、設定情報(後述)、各種設定値等が記憶されている。   The flash memory 410 stores character data of each character, setting information (described later), various setting values, and the like.

入出力インターフェース411には、操作部2、液晶駆動回路(LCDC)405、駆動回路406、407、408などが接続されている。LCDC405は、ディスプレイ5に表示データを出力するためのビデオRAM(図示略)を有する。駆動回路406は、サーマルヘッド10を駆動するための電子回路である。駆動回路407は、巻取軸9及び駆動軸11を回転させるテープ送りモータ24を駆動するための電子回路である。駆動回路408は、カット機構(図示略)を動作させるカッターモータ25を駆動するための電子回路である。   The input / output interface 411 is connected to the operation unit 2, a liquid crystal drive circuit (LCDC) 405, drive circuits 406, 407, 408, and the like. The LCDC 405 has a video RAM (not shown) for outputting display data to the display 5. The drive circuit 406 is an electronic circuit for driving the thermal head 10. The drive circuit 407 is an electronic circuit for driving the tape feed motor 24 that rotates the winding shaft 9 and the drive shaft 11. The drive circuit 408 is an electronic circuit for driving the cutter motor 25 that operates a cutting mechanism (not shown).

図4及び図5を参照して、本実施形態に係るメイン処理を説明する。図5の右側、左側、上側、下側を、夫々、表示例101〜108の右側、左側、上側、下側とする。   The main process according to the present embodiment will be described with reference to FIGS. The right side, left side, upper side, and lower side in FIG. 5 are the right side, left side, upper side, and lower side of display examples 101 to 108, respectively.

本実施形態の印刷装置1は、テープ状の印刷媒体において、キャラクタを印刷媒体の搬送方向に並べて印刷できる。ユーザは、操作部2を介して、少なくとも一つのキャラクタを一つのブロックとして、ブロックを印刷装置1に入力できる。操作部2を介してブロックが入力されると、入力されたブロックのテキストデータはテキストバッファに記憶される。また、ユーザは、操作部2を介して、ブロックの設定情報を設定できる。ブロックが複数ある場合、ユーザは、各々のブロックの設定情報を設定できる。設定情報は、ブロックが印刷される場合の、ブロックに含まれるキャラクタの態様を示す情報を含む。設定情報は、例えば、キャラクタのフォント、サイズ、文字装飾(太字、斜体等)等を含む。   The printing apparatus 1 according to the present embodiment can print characters in a tape-shaped print medium by arranging characters in the transport direction of the print medium. The user can input a block to the printing apparatus 1 via the operation unit 2 with at least one character as one block. When a block is input via the operation unit 2, the text data of the input block is stored in the text buffer. Further, the user can set block setting information via the operation unit 2. When there are a plurality of blocks, the user can set the setting information of each block. The setting information includes information indicating a character mode included in the block when the block is printed. The setting information includes, for example, the font, size, character decoration (bold, italic, etc.) of the character.

また、印刷装置1は、少なくとも一つのキャラクタを一つのブロックとして、複数のブロックを搬送方向に並べて印刷できる。メイン処理では、操作部を介して複数のブロックが入力されている場合に、CPU401は、ディスプレイ5の表示領域100(図5参照)において、複数のブロックを第一方向に並べて表示できる。本実施形態では、図5における左右方向が、表示領域100の第一方向である。詳細には、CPU401は、複数のブロックを、表示領域100において第一方向(左右方向)に、先頭(左端)から並べて表示できる。表示領域100の第一方向において、キャラクタを表示可能な領域は限られている。   Further, the printing apparatus 1 can print by arranging a plurality of blocks in the transport direction with at least one character as one block. In the main process, when a plurality of blocks are input via the operation unit, the CPU 401 can display the plurality of blocks side by side in the first direction in the display area 100 (see FIG. 5) of the display 5. In the present embodiment, the left-right direction in FIG. 5 is the first direction of the display area 100. Specifically, the CPU 401 can display a plurality of blocks side by side in the first direction (left-right direction) from the top (left end) in the display area 100. In the first direction of the display area 100, the area where the character can be displayed is limited.

テキストバッファにブロックのテキストデータが入力されている状態で、リアルタイムプレビューモード移行の指示を受け付けると、CPU401は、図4に示すメイン処理を開始する。CPU401は、ROM402に記憶されたプログラムを実行することで、メイン処理を開始する。本実施形態では、リアルタイムプレビューキーが押された場合に、CPU401は、リアルタイムプレビューモード移行の指示を受け付けたと判断する。リアルプレビューモードでは、文字コードと、ブロックに設定された設定情報とに基づき、ブロックが、印刷媒体に印刷される場合と略同じ態様で、表示領域100に表示される。   When an instruction to shift to the real-time preview mode is received with the block text data being input to the text buffer, the CPU 401 starts the main process shown in FIG. The CPU 401 starts a main process by executing a program stored in the ROM 402. In the present embodiment, when the real-time preview key is pressed, the CPU 401 determines that an instruction for shifting to the real-time preview mode has been received. In the real preview mode, based on the character code and the setting information set for the block, the block is displayed in the display area 100 in substantially the same manner as when printed on a print medium.

メイン処理が開始されると、CPU401は、テキストバッファに記憶されているテキストデータから、先頭のキャラクタから、表示領域100に表示可能な数のキャラクタのキャラクタデータを取得し、表示バッファに記憶する。CPU401は、取得したキャラクタデータに基づき、少なくとも一つのブロックの少なくとも一部を、表示領域100に表示させる(S11)。ここで、少なくとも一つのブロックの少なくとも一部は、キャラクタデータに対応する文字コードとブロックに設定された設定情報とに基づき、印刷媒体に印刷される場合と略同じ態様で、表示領域100に表示される。S11では更に、CPU401は、媒体画像及びブロック範囲画像を、表示領域100に表示させる。更にCPU401は、カーソル、第一マーク、及び第二マークを、表示領域100に表示させる。   When the main process is started, the CPU 401 acquires character data of the number of characters that can be displayed in the display area 100 from the head character from the text data stored in the text buffer, and stores the character data in the display buffer. The CPU 401 displays at least a part of at least one block on the display area 100 based on the acquired character data (S11). Here, at least a part of at least one block is displayed in the display area 100 in substantially the same manner as when printed on a print medium based on the character code corresponding to the character data and the setting information set in the block. Is done. In S <b> 11, the CPU 401 further displays the medium image and the block range image on the display area 100. Further, the CPU 401 displays the cursor, the first mark, and the second mark on the display area 100.

例えば、図5に示す表示例101〜108では、表示領域100には、11個のキャラクタを表示可能である。従って、ブロックが一つで、ブロックに含まれるキャラクタの数が11を超える場合、ブロックの一部が表示領域100に表示される。ブロックが複数あり、複数のブロックに含まれるキャラクタの数の合計が11を超える場合、複数のブロックの一部が表示領域100に表示される。表示領域100に表示されるブロックが、文字、数字、記号等、表示されるキャラクタを含まず、空白、タブ等、表示されないキャラクタを含む場合がある。この場合、表示領域100には、キャラクタは表示されない。   For example, in the display examples 101 to 108 illustrated in FIG. 5, eleven characters can be displayed in the display area 100. Therefore, when there is one block and the number of characters included in the block exceeds 11, a part of the block is displayed in the display area 100. When there are a plurality of blocks and the total number of characters included in the plurality of blocks exceeds 11, a part of the plurality of blocks is displayed in the display area 100. The block displayed in the display area 100 may not include characters to be displayed such as letters, numbers, symbols, and may include characters that are not displayed such as blanks and tabs. In this case, no character is displayed in the display area 100.

媒体画像は、少なくとも一つのブロックの少なくとも一部が印刷される印刷媒体の外形を示す。本実施形態では、媒体画像の第一方向における長さは、表示されるブロックに含まれるキャラクタの数に応じて、変更される。本実施形態では、少なくとも一つのブロックの少なくとも一部と媒体画像とが、印刷媒体に印刷される場合と略同じ縮尺で、表示領域100に表示される。また、印刷媒体の搬送方向と直交する方向の長さに関わらず、媒体画像は、第一方向と直交する第二方向において、固定の長さで表示される。本実施形態では、図5における上下方向が、表示領域100の第二方向である。   The medium image shows the outline of the print medium on which at least a part of at least one block is printed. In the present embodiment, the length of the medium image in the first direction is changed according to the number of characters included in the displayed block. In the present embodiment, at least a part of at least one block and the medium image are displayed in the display area 100 at substantially the same scale as when printed on a print medium. Regardless of the length in the direction orthogonal to the print medium conveyance direction, the medium image is displayed in a fixed length in the second direction orthogonal to the first direction. In the present embodiment, the vertical direction in FIG. 5 is the second direction of the display region 100.

ブロック範囲画像は、編集対象のブロックを含む少なくとも一つのブロックの夫々の範囲を示す。本実施形態では、ブロック範囲画像は、編集対象のブロックの第一方向における範囲を示す。例えば、図5に例示するブロック範囲画像131〜136のように、ブロック範囲画像は、第一方向に延びる線を含む。第一方向に延びる線が、編集対象のブロックの第一方向における範囲(長さ)を示す。本実施形態では、ブロック範囲画像は、表示領域100において媒体画像の外側に表示される。媒体画像及びブロック範囲画像は、第二方向に並んで表示される。例えば、図5に例示するブロック範囲画像131〜136のように、ブロック範囲画像は媒体画像の上に表示される。   The block range image indicates each range of at least one block including the block to be edited. In the present embodiment, the block range image indicates a range in the first direction of the block to be edited. For example, like the block range images 131 to 136 illustrated in FIG. 5, the block range image includes a line extending in the first direction. A line extending in the first direction indicates a range (length) in the first direction of the block to be edited. In the present embodiment, the block range image is displayed outside the medium image in the display area 100. The medium image and the block range image are displayed side by side in the second direction. For example, like the block range images 131 to 136 illustrated in FIG. 5, the block range image is displayed on the medium image.

カーソルは、操作部2の操作に応じてキャラクタを入力可能な位置である編集位置を示すマークである。本実施形態では、図5に例示するカーソル141のように、カーソルは第二方向に延びる棒状である。   The cursor is a mark indicating an editing position that is a position where a character can be input in accordance with an operation of the operation unit 2. In the present embodiment, like the cursor 141 illustrated in FIG. 5, the cursor has a bar shape extending in the second direction.

第一マークは、編集対象のブロックの、第一方向において一端側に隣接するブロックを編集対象とする指示を示すマークである。本実施形態では、第一マークは、編集対象のブロックの左端側に隣接するブロックを編集対象とする指示を示す。本実施形態では、図5に例示する第一マーク151のように、第一マークは上矢印である。第二マークは、編集対象のブロックの、第一方向において他端側に隣接するブロックを編集対象とする指示を示すマークである。本実施形態では、第二マークは、編集対象のブロックの右端側に隣接するブロックを編集対象とする指示を示す。本実施形態では、図5に例示する第二マーク152のように、第二マークは下矢印である。   The first mark is a mark indicating an instruction to edit a block adjacent to one end side in the first direction of the block to be edited. In the present embodiment, the first mark indicates an instruction to edit a block adjacent to the left end side of the block to be edited. In this embodiment, like the first mark 151 illustrated in FIG. 5, the first mark is an up arrow. The second mark is a mark indicating an instruction to edit a block adjacent to the other end side in the first direction of the block to be edited. In the present embodiment, the second mark indicates an instruction to edit a block adjacent to the right end side of the block to be edited. In this embodiment, like the second mark 152 illustrated in FIG. 5, the second mark is a down arrow.

S11では、例えば、先頭(左端)のブロックが編集対象とされ、先頭のブロックのブロック範囲画像が表示される。先頭(左端)のブロックの先頭、つまり、先頭のキャラクタの左側に、カーソルが表示される。第一マークは、ブロック範囲画像の左端に近接する位置に表示される。第二マークは、ブロック範囲画像の右端に近接する位置に表示される。   In S11, for example, the first (leftmost) block is set as an editing target, and the block range image of the first block is displayed. A cursor is displayed at the beginning of the first (leftmost) block, that is, on the left side of the first character. The first mark is displayed at a position close to the left end of the block range image. The second mark is displayed at a position close to the right end of the block range image.

S11を実行後、CPU401は、キー入力が行われたか否かを判断する(S13)。CPU401は、操作部2の操作を検出した場合、キー入力が行われたと判断する。キー入力が行われていない場合(S13:NO)、CPU401はS13を繰り返す。キー入力が行われた場合(S13:YES)、CPU401は、ブロック変更指示が入力されたか否かを判断する(S15)。   After executing S11, the CPU 401 determines whether or not a key input has been performed (S13). When the CPU 401 detects an operation of the operation unit 2, the CPU 401 determines that a key input has been performed. When no key input is performed (S13: NO), the CPU 401 repeats S13. When the key input is performed (S13: YES), the CPU 401 determines whether or not a block change instruction is input (S15).

ブロック変更指示は、編集対象のブロックを変更する指示である。CPU401は、操作されたキーが上キー又は下キーである場合に、ブロック変更指示が入力されたと判断する。上キーが操作された場合、CPU401は、編集対象のブロックを、現在編集対象のブロックの左隣のブロックに変更する指示を受け付けたと判断する。下キーが操作された場合、CPU401は、編集対象のブロックを、現在編集対象のブロックの右隣のブロックに変更する指示を受け付けたと判断する。なお、上キーが操作されたが、テキストバッファを参照して、現在編集対象のブロックの左隣にブロックがないと判断される場合がある。また、下キーが操作されたが、テキストバッファを参照して、現在編集対象のブロックの右隣にブロックがないと判断される場合がある。これらの場合、CPU401は、ブロック変更指示は入力されていないと判断し、S31では処理を実行せず、S13の処理に戻る(S15:NO、S23:NO、S31、S13)。   The block change instruction is an instruction to change the block to be edited. The CPU 401 determines that a block change instruction has been input when the operated key is the up key or the down key. When the up key is operated, the CPU 401 determines that an instruction to change the block to be edited to a block adjacent to the left of the current block to be edited has been received. When the down key is operated, the CPU 401 determines that an instruction to change the block to be edited to the block immediately to the right of the current block to be edited has been received. Although the up key has been operated, it may be determined that there is no block on the left side of the block to be edited with reference to the text buffer. In addition, although the down key is operated, it may be determined by referring to the text buffer that there is no block right next to the block to be edited. In these cases, the CPU 401 determines that no block change instruction has been input, does not execute the process in S31, and returns to the process of S13 (S15: NO, S23: NO, S31, S13).

ブロック変更指示が入力された場合(S15:YES)、CPU401は、表示バッファを参照し、変更後の編集対象のブロックの全体が、表示領域100内にあるか否かを判断する(S17)。表示領域100に表示されているブロックに、変更後の編集対象のブロックの少なくとも一部が含まれていない場合、変更後の編集対象のブロックの少なくとも一部が、表示領域100外にある(S17:NO)。この場合、CPU401はブロックの表示を更新する(S19)。   When a block change instruction is input (S15: YES), the CPU 401 refers to the display buffer and determines whether the entire block to be edited after the change is within the display area 100 (S17). When the block displayed in the display area 100 does not include at least a part of the block to be edited after the change, at least a part of the block to be edited after the change is outside the display area 100 (S17). : NO). In this case, the CPU 401 updates the display of the block (S19).

S19では、CPU401は、テキストバッファに記憶されているテキストデータから、変更後の編集対象のブロックの先頭のキャラクタから、表示領域100に表示可能な数のキャラクタのキャラクタデータを取得し、表示バッファに記憶する。CPU401は、少なくとも一つのブロックの少なくとも一部を、取得したキャラクタデータに対応する文字コードとブロックに設定された設定情報に基づき、表示領域100に表示させる。この場合、変更後の編集対象のブロックの先頭(左端)は、表示領域100の左端に配置される。S19では更に、CPU401は、ブロック範囲画像及びカーソルの表示を更新する。CPU401は、変更後の編集対象のブロックの第一方向における範囲を示すブロック範囲画像を、表示領域100に表示させる。CPU401は、先頭(左端)のブロックの先頭、つまり、先頭のキャラクタの左側に、カーソルを表示させる。   In S19, the CPU 401 obtains character data of the number of characters that can be displayed in the display area 100 from the first character of the block to be edited after the change from the text data stored in the text buffer, and stores it in the display buffer. Remember. The CPU 401 displays at least a part of at least one block in the display area 100 based on the character code corresponding to the acquired character data and the setting information set in the block. In this case, the beginning (left end) of the block to be edited after the change is arranged at the left end of the display area 100. In S19, the CPU 401 further updates the display of the block range image and the cursor. The CPU 401 causes the display area 100 to display a block range image indicating the range in the first direction of the block to be edited after the change. The CPU 401 displays a cursor on the top of the top (left end) block, that is, on the left side of the top character.

更にCPU401は、第一マーク及び第二マークの表示を更新する。CPU401は、ブロック範囲画像の左端に近接する位置に、第一マークを表示させる。CPU401は、ブロック範囲画像の右端に近接する位置に、第二マークを表示させる。表示領域100に表示されるブロックに含まれるキャラクタの数が変更された場合、CPU401は、媒体画像の表示を更新する。本実施形態では、媒体画像の第一方向の長さが、表示されるブロックに含まれるキャラクタの数に応じて、変更される。   Further, the CPU 401 updates the display of the first mark and the second mark. The CPU 401 displays a first mark at a position close to the left end of the block range image. The CPU 401 displays a second mark at a position close to the right end of the block range image. When the number of characters included in the block displayed in the display area 100 is changed, the CPU 401 updates the display of the medium image. In the present embodiment, the length of the medium image in the first direction is changed according to the number of characters included in the displayed block.

S17において、表示領域100に表示されているブロックに、変更後の編集対象のブロックの全体が含まれる場合、変更後の編集対象のブロックの全体が、表示領域100内にある(S17:YES)。この場合、CPU401は、ブロックの表示を更新しない。CPU401は、ブロック範囲画像及びカーソルの表示を更新する(S21)。CPU401は、変更後の編集対象のブロックの第一方向における範囲を示すブロック範囲画像を、表示領域100に表示させる。CPU401は、編集対象のブロックの先頭、つまり、編集対象のブロックにおける先頭のキャラクタの左側に、カーソルを表示させる。更にCPU401は、第一マーク及び第二マークの表示を更新する。CPU401は、ブロック範囲画像の左端に近接する位置に、第一マークを表示させる。CPU401は、ブロック範囲画像の右端に近接する位置に、第二マークを表示させる。   In S17, when the block displayed in the display area 100 includes the entire block to be edited after the change, the entire block to be edited after the change is in the display area 100 (S17: YES). . In this case, the CPU 401 does not update the block display. The CPU 401 updates the display of the block range image and the cursor (S21). The CPU 401 causes the display area 100 to display a block range image indicating the range in the first direction of the block to be edited after the change. The CPU 401 displays a cursor on the head of the block to be edited, that is, on the left side of the head character in the block to be edited. Further, the CPU 401 updates the display of the first mark and the second mark. The CPU 401 displays a first mark at a position close to the left end of the block range image. The CPU 401 displays a second mark at a position close to the right end of the block range image.

S19又はS21を実行後、CPU401は処理をS13に戻す。キー入力が行われ(S13:YES)、ブロック変更指示が入力されていない場合(S15:NO)、CPU401は、カーソル移動指示が入力されたか否かを判断する(S23)。カーソル移動指示は、編集位置を変更する指示である。つまり、カーソル移動指示は、カーソルの位置を移動する指示である。CPU401は、操作されたキーが左キー又は右キーである場合に、カーソル移動指示が入力されたと判断する。左キーが操作された場合、編集位置を左に移動する指示を受け付けたと判断する。右キーが操作された場合、CPU401は、編集位置を右に変更する指示を受け付けたと判断する。   After executing S19 or S21, the CPU 401 returns the process to S13. When key input is performed (S13: YES) and a block change instruction is not input (S15: NO), the CPU 401 determines whether a cursor movement instruction is input (S23). The cursor movement instruction is an instruction to change the editing position. That is, the cursor movement instruction is an instruction to move the position of the cursor. The CPU 401 determines that a cursor movement instruction has been input when the operated key is the left key or the right key. When the left key is operated, it is determined that an instruction to move the editing position to the left is received. When the right key is operated, the CPU 401 determines that an instruction to change the editing position to the right has been received.

なお、左キーが操作されたが、テキストバッファを参照して、現在の編集位置の左側にキャラクタがないと判断される場合がある。また、右キーが操作されたが、テキストバッファを参照して、現在の編集位置の右側にキャラクタがないと判断される場合がある。これらの場合、CPU401は、カーソル移動指示は入力されていないと判断し、S31では処理を実行せず、S13の処理に戻る(S23:NO、S31、S13)。   Although the left key is operated, it may be determined that there is no character on the left side of the current editing position with reference to the text buffer. Further, although the right key is operated, it may be determined with reference to the text buffer that there is no character on the right side of the current editing position. In these cases, the CPU 401 determines that no cursor movement instruction has been input, does not execute the process in S31, and returns to the process in S13 (S23: NO, S31, S13).

カーソル移動指示が入力された場合(S23:YES)、CPU401は、編集位置が、現在のブロックに隣接するブロックに移動されたか否かを判断する(S25)。詳細には、CPU401は、現在の編集位置を含むブロックと変更後の編集位置を含むブロックとが異なるか否かを判断する。現在の編集位置を含むブロックと変更後の編集位置を含むブロックとが異なる場合、CPU401は、編集位置が、現在のブロックに隣接するブロックに移動されたと判断する(S25:YES)。この場合、CPU401は、ブロック範囲画像の表示を更新する(S27)。   When a cursor movement instruction is input (S23: YES), the CPU 401 determines whether or not the editing position has been moved to a block adjacent to the current block (S25). Specifically, the CPU 401 determines whether or not the block including the current editing position is different from the block including the changed editing position. When the block including the current editing position is different from the block including the edited editing position, the CPU 401 determines that the editing position has been moved to a block adjacent to the current block (S25: YES). In this case, the CPU 401 updates the display of the block range image (S27).

CPU401は、変更後の編集位置を含むブロックのうち、表示領域100内のブロックの範囲を示すブロック範囲画像を、表示領域100に表示させる。S27では更に、CPU401は、変更後の編集位置にカーソルを表示させる。更にCPU401は、第一マーク及び第二マークの表示を更新する。CPU401は、ブロック範囲画像の左端に近接する位置に、第一マークを表示させる。CPU401は、ブロック範囲画像の右端に近接する位置に、第二マークを表示させる。   The CPU 401 causes the display area 100 to display a block range image indicating the range of the block in the display area 100 among the blocks including the changed editing position. In S27, the CPU 401 further displays a cursor at the edited editing position. Further, the CPU 401 updates the display of the first mark and the second mark. The CPU 401 displays a first mark at a position close to the left end of the block range image. The CPU 401 displays a second mark at a position close to the right end of the block range image.

S25において、現在の編集位置を含むブロックと変更後の編集位置を含むブロックとが同一である場合、CPU401は、編集位置が、現在のブロックに隣接するブロックに移動していないと判断する(S25:NO)。編集位置が、現在のブロックに隣接するブロックに移動していない場合(S25:NO)、CPU401は、カーソルの表示を更新する(S29)。CPU401は、変更後の編集位置にカーソルを表示させる。   If the block including the current editing position is the same as the block including the edited editing position in S25, the CPU 401 determines that the editing position has not moved to a block adjacent to the current block (S25). : NO). When the editing position has not moved to the block adjacent to the current block (S25: NO), the CPU 401 updates the display of the cursor (S29). The CPU 401 displays a cursor at the edited editing position.

なお、変更後の編集位置が、表示領域100に表示されているキャラクタの左端に位置し、且つ、テキストバッファに記憶されているテキストデータにおいて、変更後の編集位置の左側にキャラクタがある場合がある。この場合、S27及びS29において、CPU401は、テキストデータから、変更後の編集位置の左側のキャラクタから、表示領域100に表示可能な数のキャラクタのキャラクタデータを取得し、表示バッファに記憶する。CPU401は、取得したキャラクタデータに対応する文字コードと、ブロックに設定された設定情報とに基づき、少なくとも一つのブロックの少なくとも一部を、表示領域100に表示させる。   In addition, there is a case where the edited editing position is located at the left end of the character displayed in the display area 100 and the text data stored in the text buffer has a character on the left side of the edited editing position. is there. In this case, in S27 and S29, the CPU 401 obtains the character data of the number of characters that can be displayed in the display area 100 from the text data and the character on the left side of the edited editing position, and stores it in the display buffer. The CPU 401 displays at least a part of at least one block on the display area 100 based on the character code corresponding to the acquired character data and the setting information set for the block.

また、変更後の編集位置が、表示領域100に表示されているキャラクタの右端に位置し、且つ、テキストバッファに記憶されているテキストデータにおいて、変更後の編集位置の右側にキャラクタがある場合がある。この場合、S27及びS29において、CPU401は、テキストデータから、変更後の編集位置の右側のキャラクタまで、表示領域100に表示可能な数のキャラクタのキャラクタデータを取得し、表示バッファに記憶する。CPU401は、取得したキャラクタデータに対応する文字コードと、ブロックに設定された設定情報とに基づき、少なくとも一つのブロックの少なくとも一部を、表示領域100に表示させる。   In addition, there is a case where the edited editing position is located at the right end of the character displayed in the display area 100 and the text data stored in the text buffer has a character on the right side of the edited editing position. is there. In this case, in S27 and S29, the CPU 401 acquires character data of the number of characters that can be displayed in the display area 100 from the text data to the character on the right side of the edited editing position, and stores it in the display buffer. The CPU 401 displays at least a part of at least one block on the display area 100 based on the character code corresponding to the acquired character data and the setting information set for the block.

S27又はS29を実行後、CPU401は処理をS13に戻す。   After executing S27 or S29, the CPU 401 returns the process to S13.

キー入力が行われ(S13:YES)、ブロック変更指示及びカーソル移動指示の何れも入力されていない場合(S15:NO、S23:NO)、操作されたキーは、操作部2のキーのうち、上キー、下キー、左キー、及び右キー以外のキーである。この場合、CPU401は、操作されたキーに応じた処理を実行する(S31)。S31を実行後、CPU401は処理をS13に戻す。   When a key input is performed (S13: YES) and neither a block change instruction or a cursor movement instruction is input (S15: NO, S23: NO), the operated key is the key of the operation unit 2, Keys other than the up key, down key, left key, and right key. In this case, the CPU 401 executes processing corresponding to the operated key (S31). After executing S31, the CPU 401 returns the process to S13.

CPU401は、リアルプレビューモード以外のモードへの移行の指示を受け付けた場合、メイン処理を終了する。例えば、印刷キーが押された場合に、CPU401は、印刷モード移行の指示を受け付けたと判断する。この場合、CPU401はメイン処理を終了する。また、印刷装置1の電源がオフされると、CPU401はメイン処理を終了する。   When the CPU 401 receives an instruction to shift to a mode other than the real preview mode, the CPU 401 ends the main process. For example, when the print key is pressed, the CPU 401 determines that an instruction to shift to the print mode has been received. In this case, the CPU 401 ends the main process. When the power of the printing apparatus 1 is turned off, the CPU 401 ends the main process.

図5を参照して、メイン処理(図4参照)が実行された場合に表示される表示例101〜108を説明する。表示例101〜108において、ブロック121〜123は、操作部2を介して入力されたブロックである。ブロック121はキャラクタ「AA:」を含む。ブロック122はキャラクタ「BBBB」を含む。ブロック123はキャラクタ「(CCCC)」を含む。ブロック121とブロック122には、同一のフォントが、設定情報として設定されている。ブロック123には、ブロック121とブロック122とは異なるフォントが、設定情報として設定されている。   Display examples 101 to 108 displayed when the main process (see FIG. 4) is executed will be described with reference to FIG. In display examples 101 to 108, blocks 121 to 123 are blocks input via the operation unit 2. Block 121 includes the character “AA:”. Block 122 includes the character “BBBB”. Block 123 includes the character “(CCCC)”. In the blocks 121 and 122, the same font is set as setting information. In the block 123, a font different from the block 121 and the block 122 is set as setting information.

メイン処理が開始されて、表示例101に示すように、ブロック121、ブロック122、ブロック123の一部、ブロック範囲画像131、カーソル141、第一マーク151、第二マーク152、及び媒体画像161が表示されたとする(S11)。表示例101では、先頭のブロック121に含まれる先頭のキャラクタ「A」から、11個のキャラクタが表示されている。カーソル141は、先頭のキャラクタの左側に表示されている。編集対象のブロックは、先頭のブロック121である。ブロック範囲画像131は、ブロック121の上に表示されている。ブロック範囲画像131は、ブロック121の第一方向(左右方向)における範囲を示す。第一マーク151は、ブロック範囲画像131の左側に表示されている。第二マーク152は、ブロック範囲画像131の右側に表示されている。   As shown in display example 101, the main process is started, and block 121, block 122, part of block 123, block range image 131, cursor 141, first mark 151, second mark 152, and medium image 161 are displayed. It is assumed that it is displayed (S11). In the display example 101, eleven characters are displayed from the first character “A” included in the first block 121. The cursor 141 is displayed on the left side of the first character. The block to be edited is the first block 121. The block range image 131 is displayed on the block 121. The block range image 131 shows a range of the block 121 in the first direction (left-right direction). The first mark 151 is displayed on the left side of the block range image 131. The second mark 152 is displayed on the right side of the block range image 131.

媒体画像161は、ブロック121、ブロック122、ブロック123の一部を囲む線である。ただし、表示例101では、媒体画像161の右端において、線が表示されていない。これにより、ユーザは、表示されているブロック123の一部の末尾(右端)の「C」の右側に、入力されているキャラクタがあることを把握できる。   The medium image 161 is a line surrounding a part of the block 121, the block 122, and the block 123. However, in the display example 101, no line is displayed at the right end of the medium image 161. Thereby, the user can grasp that there is an input character on the right side of “C” at the end (right end) of a part of the displayed block 123.

表示例101に示す状態で、下キーが押されたとする(S13:YES、S15:YES)。この場合、表示例102に示すように、ブロック121の右隣のブロック122の上に、ブロック範囲画像132が表示される。第一マーク151はブロック範囲画像132の左側に、第二マーク152はブロック範囲画像132の右側に表示される。カーソル141は、ブロック122における先頭(左端)のキャラクタの左側に表示される(S17:YES、S21)。   Assume that the down key is pressed in the state shown in display example 101 (S13: YES, S15: YES). In this case, as shown in the display example 102, the block range image 132 is displayed on the block 122 on the right side of the block 121. The first mark 151 is displayed on the left side of the block range image 132, and the second mark 152 is displayed on the right side of the block range image 132. The cursor 141 is displayed on the left side of the first (leftmost) character in the block 122 (S17: YES, S21).

表示例102に示す状態で、下キーが押されたとする(S13:YES、S15:YES)。この場合、表示例103に示すように、ブロック122の右隣のブロック123の先頭(左端)が、表示領域100の左端に配置される。カーソル141は、ブロック123における先頭(左端)のキャラクタの左側に表示される。ブロック123の上に、ブロック範囲画像134が表示される。第一マーク151はブロック範囲画像133の左側に、第二マーク152はブロック範囲画像133の右側に表示される(17:NO、S19)。なお、表示例103では、媒体画像161の右端において、第二方向(上下方向)に延びる線が表示されている。これにより、ユーザは、表示されているブロック123の末尾(右端)の「)」の右側に、入力されているキャラクタがないことを把握できる。   Assume that the down key is pressed in the state shown in the display example 102 (S13: YES, S15: YES). In this case, as shown in the display example 103, the top (left end) of the block 123 adjacent to the right of the block 122 is arranged at the left end of the display area 100. The cursor 141 is displayed on the left side of the head (left end) character in the block 123. A block range image 134 is displayed on the block 123. The first mark 151 is displayed on the left side of the block range image 133, and the second mark 152 is displayed on the right side of the block range image 133 (17: NO, S19). In the display example 103, a line extending in the second direction (vertical direction) is displayed at the right end of the medium image 161. As a result, the user can grasp that there is no input character on the right side of “)” at the end (right end) of the displayed block 123.

表示例103に示す状態で、上キーが押されたとする(S13:YES、S15:YES)。この場合、表示例104に示すように、ブロック123の左隣のブロック122の先頭(左端)が、表示領域100の左端に配置される。カーソル141は、ブロック122における先頭(左端)のキャラクタの左側に表示される。ブロック122の上に、ブロック範囲画像134が表示される。第一マーク151はブロック範囲画像134の左側に、第二マーク152はブロック範囲画像134の右側に表示される(17:NO、S19)。   Assume that the up key is pressed in the state shown in display example 103 (S13: YES, S15: YES). In this case, as shown in the display example 104, the head (left end) of the block 122 adjacent to the left of the block 123 is arranged at the left end of the display area 100. The cursor 141 is displayed on the left side of the head (left end) character in the block 122. A block range image 134 is displayed on the block 122. The first mark 151 is displayed on the left side of the block range image 134, and the second mark 152 is displayed on the right side of the block range image 134 (17: NO, S19).

表示例101に示す状態で、右キーが押されたとする(S13:YES、S15:NO、S23:YES)。この場合、表示例105に示すように、カーソル141は右に移動され、ブロック121の先頭のキャラクタ「A」とブロック121の2番目のキャラクタ「A」の間に表示される(S25:NO、S29)。   Assume that the right key is pressed in the state shown in display example 101 (S13: YES, S15: NO, S23: YES). In this case, as shown in the display example 105, the cursor 141 is moved to the right and displayed between the first character “A” of the block 121 and the second character “A” of the block 121 (S25: NO, S29).

表示例105に示す状態で、右キーが2回押されたとする(S13:YES、S15:NO、S23:YES)。この場合、表示例106に示すように、カーソル141は右に移動され、ブロック121の末尾(右端)のキャラクタ「:」とブロック122の先頭のキャラクタ「B」の間に表示される。カーソル141は、ブロック121の右隣のブロック122に移動している(S25:YES)。従って、この場合、表示例106に示すように、ブロック121の右隣のブロック122の上に、ブロック範囲画像132が表示される。第一マーク151はブロック範囲画像132の左側に、第二マーク152はブロック範囲画像132の右側に表示される。(S27)。   Assume that the right key is pressed twice in the state shown in display example 105 (S13: YES, S15: NO, S23: YES). In this case, as shown in the display example 106, the cursor 141 is moved to the right and displayed between the character “:” at the end (right end) of the block 121 and the character “B” at the top of the block 122. The cursor 141 has moved to the block 122 on the right side of the block 121 (S25: YES). Accordingly, in this case, as shown in the display example 106, the block range image 132 is displayed on the block 122 on the right side of the block 121. The first mark 151 is displayed on the left side of the block range image 132, and the second mark 152 is displayed on the right side of the block range image 132. (S27).

表示例106に示す状態で、右キーが4回押されたとする(S13:YES、S15:NO、S23:YES)。この場合、表示例107に示すように、カーソル141は右に移動され、ブロック122の末尾(右端)のキャラクタ「B」とブロック123の先頭のキャラクタ「(」の間に表示される。カーソル141は、ブロック122の右隣のブロック123に移動している(S25:YES)。従って、この場合、表示例107に示すように、ブロック123が表示されている部分の上に、ブロック範囲画像135が表示される。第一マーク151は、ブロック範囲画像132の左側に表示される。ブロック123の右端は表示されていないため、第二マーク152は表示されない(S27)。   Assume that the right key is pressed four times in the state shown in display example 106 (S13: YES, S15: NO, S23: YES). In this case, as shown in the display example 107, the cursor 141 is moved to the right, and is displayed between the character “B” at the end (right end) of the block 122 and the character “(” at the top of the block 123. Has moved to the block 123 on the right side of the block 122 (S25: YES) Therefore, in this case, as shown in the display example 107, the block range image 135 is placed on the portion where the block 123 is displayed. The first mark 151 is displayed on the left side of the block range image 132. Since the right end of the block 123 is not displayed, the second mark 152 is not displayed (S27).

表示例107に示す状態で、右キーが4回押されたとする(S13:YES、S15:NO、S23:YES)。この場合、表示例108に示すように、表示されているブロック121〜123が1キャラクタ分左にスクロールされる。カーソル141は右に移動され、ブロック123の4番目のキャラクタ「C」と5番目のキャラクタ「C」の間に表示される(S25:NO、S29)。更に、ブロック123が表示されている部分の上に、ブロック範囲画像136が表示される。第一マーク151は、ブロック範囲画像136の左側に表示される。ブロック123の右端は表示されていないため、第二マーク152は表示されない(S29)。   Assume that the right key is pressed four times in the state shown in display example 107 (S13: YES, S15: NO, S23: YES). In this case, as shown in the display example 108, the displayed blocks 121 to 123 are scrolled to the left by one character. The cursor 141 is moved to the right and displayed between the fourth character “C” and the fifth character “C” of the block 123 (S25: NO, S29). Further, the block range image 136 is displayed on the portion where the block 123 is displayed. The first mark 151 is displayed on the left side of the block range image 136. Since the right end of the block 123 is not displayed, the second mark 152 is not displayed (S29).

以上説明したように、本実施形態によれば、メイン処理(図4参照)において、媒体画像が、表示領域100に表示される。操作部2を介して入力されたブロックが複数ある場合、媒体画像は、第一方向に並ぶ複数のブロックの少なくとも一部が印刷される印刷媒体の外形を示す。ブロックは、文字コードによって表現される少なくとも一つのキャラクタを含む。複数のブロックの少なくとも一部は、キャラクタに対応する文字コードと複数のブロックの夫々に設定された設定情報とに基づき、複数のブロックが印刷媒体に印刷される場合と略同じ態様で、表示領域100に表示される。また、媒体画像と複数のブロックの少なくとも一部とが表示領域100に表示された状態で、ブロック範囲画像が表示領域100に表示される。ブロック範囲画像は、複数のブロックの少なくとも一部のうち、編集対象のブロックを含む少なくとも一つのブロックの夫々の範囲を示す。   As described above, according to the present embodiment, the medium image is displayed in the display area 100 in the main process (see FIG. 4). When there are a plurality of blocks input via the operation unit 2, the medium image indicates the outer shape of the print medium on which at least a part of the plurality of blocks arranged in the first direction is printed. The block includes at least one character represented by a character code. At least some of the plurality of blocks are displayed in the display area in substantially the same manner as when the plurality of blocks are printed on a print medium based on the character code corresponding to the character and the setting information set for each of the plurality of blocks. 100. Further, the block range image is displayed in the display area 100 in a state where the medium image and at least a part of the plurality of blocks are displayed in the display area 100. The block range image indicates each range of at least one block including a block to be edited among at least some of the plurality of blocks.

従って、印刷装置1では、複数のブロックが印刷される場合の、複数のブロックの少なくとも一部と印刷媒体の外形とを示すプレビュー画像が、ブロック範囲画像と共に表示領域100に表示される。ユーザは、プレビュー画像とブロック範囲画像とを見ることにより、複数のブロックの区切りを容易に把握できる。   Therefore, in the printing apparatus 1, when a plurality of blocks are printed, a preview image indicating at least a part of the plurality of blocks and the outer shape of the print medium is displayed in the display area 100 together with the block range image. The user can easily grasp the separation of a plurality of blocks by looking at the preview image and the block range image.

操作部2を介して入力された複数のブロックがある場合、複数のブロックの少なくとも一部と媒体画像とが、複数のブロックが印刷媒体に印刷される場合と略同じ縮尺となるように、複数のブロックの少なくとも一部が表示領域100に表示される。設定情報は、複数のブロックが印刷される場合の、複数のブロックの夫々に含まれるキャラクタの態様を示す情報を含む。ユーザは、プレビュー画像とブロック範囲画像とを見ることにより、印刷時のキャラクタの態様と印刷媒体に対するキャラクタの配置とを把握し、且つ、複数のブロックの区切りを容易に把握できる。   When there are a plurality of blocks input via the operation unit 2, the plurality of blocks are set so that at least a part of the plurality of blocks and the medium image have substantially the same scale as when the plurality of blocks are printed on the print medium. At least a part of these blocks is displayed in the display area 100. The setting information includes information indicating an aspect of a character included in each of the plurality of blocks when the plurality of blocks are printed. By viewing the preview image and the block range image, the user can grasp the character mode at the time of printing and the arrangement of the characters with respect to the print medium, and can easily grasp the break of the plurality of blocks.

表示領域100において、ブロック範囲画像は媒体画像の外側に表示される。媒体画像及びブロック範囲画像は、前記第一方向と直交する第二方向に並んで表示される。ブロック範囲画像は、編集対象のブロックを含む少なくとも一つのブロックの夫々の範囲を示す。ユーザは、プレビュー画像とブロック範囲画像とを見ることにより、少なくとも一つのブロックの夫々の第一方向における範囲を容易に把握できる。本実施形態では、詳細には、ブロック範囲画像は、編集対象のブロックの第一方向における範囲を示す。従って、ユーザは、プレビュー画像とブロック範囲画像とを見ることにより、編集対象のブロックを容易に把握できる。   In the display area 100, the block range image is displayed outside the medium image. The medium image and the block range image are displayed side by side in a second direction orthogonal to the first direction. The block range image indicates each range of at least one block including the block to be edited. The user can easily grasp the range in the first direction of each of at least one block by looking at the preview image and the block range image. In the present embodiment, specifically, the block range image indicates the range in the first direction of the block to be edited. Therefore, the user can easily grasp the block to be edited by looking at the preview image and the block range image.

メイン処理において、キー入力が行われた場合に、ブロック変更指示が入力されたか否かが判断される(S13:YES、S15)。ブロック変更指示が入力された場合、変更後の編集対象のブロックの全体が表示領域100内にあるか否かが判断される(S15:YES、S17)。操作部2を介して入力された複数のブロックが複数ある場合、この判断は、表示領域100に表示されている複数のブロックの少なくとも一部に、変更後の編集対象のブロックの全体が含まれているか否かに基づき、行われる。変更後の編集対象のブロックの少なくとも一部が表示領域100外にあると判断された場合、変更後の編集対象のブロックの少なくとも一部が、第一方向における一端(左端)から、前記表示領域に表示される(S17:NO、S19)。従って、ユーザは、編集対象のブロックを変更した場合に、変更後の編集対象のブロックの少なくとも一部を容易に視認できる。   In the main process, when a key input is performed, it is determined whether or not a block change instruction is input (S13: YES, S15). When the block change instruction is input, it is determined whether or not the entire block to be edited after the change is in the display area 100 (S15: YES, S17). When there are a plurality of blocks input via the operation unit 2, this determination includes at least a part of the plurality of blocks displayed in the display area 100 including the entire block to be edited after the change. It is done based on whether or not. When it is determined that at least a part of the block to be edited after the change is outside the display area 100, at least a part of the block to be edited after the change is from the one end (left end) in the first direction to the display area (S17: NO, S19). Therefore, when the user changes the block to be edited, the user can easily visually recognize at least a part of the block to be edited after the change.

メイン処理において、カーソルも表示領域100に表示される。カーソルは、操作部2の操作に応じてキャラクタを入力可能な位置である編集位置を示すマークである。カーソル移動指示が入力された場合、変更前の編集位置を含むブロックと、変更後の編集位置を含むブロックとが異なるか否かが判断される(S23:YES、S25)。変更前の編集位置を含むブロックと、変更後の編集位置を含むブロックとが異なると判断された場合(S25:YES)、変更後の編集位置を含むブロックのうち、表示領域100内のブロックの範囲を示すブロック範囲画像が、表示領域100に表示される(S27)。
編集位置が変更されて、編集位置を含むブロックが変更された場合、変更後の編集位置を含むブロックが、編集対象のブロックとなる。編集位置が移動されて、編集対象のブロックが変更された場合でも、ユーザは、プレビュー画像とブロック範囲画像とを見ることにより、変更後の編集対象のブロックを容易に視認できる。
In the main process, a cursor is also displayed in the display area 100. The cursor is a mark indicating an editing position that is a position where a character can be input in accordance with an operation of the operation unit 2. When the cursor movement instruction is input, it is determined whether or not the block including the editing position before the change and the block including the editing position after the change are different (S23: YES, S25). When it is determined that the block including the edit position before the change and the block including the edit position after the change are different (S25: YES), among the blocks including the edit position after the change, the block in the display area 100 A block range image indicating the range is displayed in the display area 100 (S27).
When the editing position is changed and the block including the editing position is changed, the block including the edited editing position becomes the block to be edited. Even when the editing position is moved and the block to be edited is changed, the user can easily visually recognize the changed block to be edited by looking at the preview image and the block range image.

表示領域100において、媒体画像の外側において、ブロック範囲画像の左端に近接する位置に、第一マークが表示される。第一マークは、編集対象のブロックの左端側に隣接するブロックを編集対象とする指示を示す。表示領域100において、媒体画像の外側において、ブロック範囲画像の右端に近接する位置に、第二マークが表示される。第二マークは、編集対象のブロックの右端側に隣接するブロックを編集対象とする指示を示す。ユーザは、第一マーク及び第二マークを見ることにより、編集対象とするブロックを隣接するブロックに変更する方法を容易に把握できる。   In the display area 100, the first mark is displayed at a position close to the left end of the block range image outside the medium image. The first mark indicates an instruction to edit a block adjacent to the left end side of the block to be edited. In the display area 100, a second mark is displayed outside the medium image at a position close to the right end of the block range image. The second mark indicates an instruction to edit the block adjacent to the right end side of the block to be edited. By viewing the first mark and the second mark, the user can easily grasp the method of changing the block to be edited to an adjacent block.

本発明は上記実施形態に限定されるものではなく、種々の変更が可能である。上記実施形態において、第一マーク及び第二マークの少なくとも一方は、表示領域100に表示されなくてもよい。表示領域100に表示されているブロックのうち、編集対象のブロックを含む全てのブロックについて、ブロック範囲画像が表示領域100に表示されてもよい。例えば、図6に示す表示例201のように、ブロック121のブロック範囲画像137、ブロック122のブロック範囲画像138、及びブロック123の表示領域100に表示されている部分のブロック範囲画像139が表示されてもよい。この場合、ユーザは、表示領域100に表示されている全てのブロックについて、ブロックの区切りを容易に把握できる。   The present invention is not limited to the above embodiment, and various modifications can be made. In the above embodiment, at least one of the first mark and the second mark may not be displayed in the display area 100. Of the blocks displayed in the display area 100, the block range image may be displayed in the display area 100 for all blocks including the block to be edited. For example, a block range image 137 of the block 121, a block range image 138 of the block 122, and a block range image 139 of the portion displayed in the display area 100 of the block 123 are displayed as in the display example 201 shown in FIG. May be. In this case, the user can easily grasp the block breaks for all the blocks displayed in the display area 100.

ブロック範囲画像は、表示領域100において前記媒体画像の内側に表示されてもよい。編集対象のブロックとブロック範囲画像とが重なるように、表示されればよい。例えば、図7に示す表示例301のように、ブロック範囲画像171は、編集対象のブロック121と重ねて表示される、矩形領域の画像であってもよい。この場合、ブロック範囲画像171は、媒体画像の内側の領域と異なる表示態様で表示されればよい。例えば、ブロック範囲画像171は、媒体画像の内側の領域と異なる色(例えば、灰色)で表示されればよい。この場合でも、ユーザは、プレビュー画像とブロック範囲画像とを見ることにより、編集対象のブロックを容易に把握できる。なお、ブロック範囲画像171は点滅してもよい。カーソル141は点滅してもよい。ブロック範囲画像171とカーソル141が、同じタイミングで点滅してもよい。   The block range image may be displayed inside the medium image in the display area 100. It is only necessary to display the block to be edited and the block range image so as to overlap each other. For example, like the display example 301 shown in FIG. 7, the block range image 171 may be an image of a rectangular area displayed so as to overlap with the block 121 to be edited. In this case, the block range image 171 may be displayed in a display mode different from the area inside the medium image. For example, the block range image 171 may be displayed in a color (for example, gray) different from the area inside the medium image. Even in this case, the user can easily grasp the block to be edited by looking at the preview image and the block range image. The block range image 171 may blink. The cursor 141 may blink. The block range image 171 and the cursor 141 may blink at the same timing.

上記の通り、設定情報は、例えば、キャラクタのフォント、サイズ、文字装飾(太字、斜体等)等を含む。ブロック内のキャラクタは、文字コードとブロックに設定された設定情報とに基づき、表示領域100に表示される。ブロック内のキャラクタの大きさは、設定情報によって異なる場合がある。例えば、設定情報が太字である場合、キャラクタの第一方向の長さが大きくなる場合がある。このような場合、メイン処理において、設定情報に基づきキャラクタの大きさ(第一方向の長さ)が補正されて、キャラクタが表示されればよい。ブロック範囲画像の大きさは、補正後のキャラクタの大きさに応じて補正されればよい。   As described above, the setting information includes, for example, the character font, size, character decoration (bold, italic, etc.). The characters in the block are displayed in the display area 100 based on the character code and the setting information set in the block. The size of the character in the block may vary depending on the setting information. For example, when the setting information is bold, the length of the character in the first direction may increase. In such a case, in the main process, the character size (length in the first direction) may be corrected based on the setting information, and the character may be displayed. The size of the block range image may be corrected according to the corrected character size.

媒体画像の第二方向における長さは、印刷媒体の搬送方向と直交する方向の長さに応じて、変更されてもよい。   The length of the medium image in the second direction may be changed according to the length in the direction orthogonal to the print medium conveyance direction.

メイン処理において、カーソルは表示されなくてもよい。この場合、S23、S25、S27、及びS29の処理は、実行されなくてよい。S15において、ブロック変更指示が入力されていないと判断された場合(S15:NO)、CPU401はS31の処理を実行すればよい。ブロック変更指示が入力されていない場合に、CPU401はS31の処理を実行せず、処理をS13に戻してもよい。   In the main process, the cursor may not be displayed. In this case, the processes of S23, S25, S27, and S29 do not have to be executed. If it is determined in S15 that a block change instruction has not been input (S15: NO), the CPU 401 may execute the process of S31. When the block change instruction has not been input, the CPU 401 may return the process to S13 without executing the process of S31.

メイン処理は、CPU401以外の電子部品(例えば、ASIC)によって実行されてもよい。メイン処理は、複数の電子機器(つまり、複数のCPU)によって分散処理されてもよい。   The main process may be executed by an electronic component (for example, ASIC) other than the CPU 401. The main process may be distributed by a plurality of electronic devices (that is, a plurality of CPUs).

上記実施形態において、ディスプレイ5が、本発明の「表示部」に相当する。操作部2が、本発明の「入力部」に相当する。カーソルが、本発明の「第一マーク」に相当する。左端が、本発明の「第一方向における一端」に相当する。ブロック範囲画像の左端が、本発明の「第一端」に相当する。第一マークが、本発明の「第二マーク」に相当する。ブロック範囲画像の右端が、本発明の「第二端」に相当する。第二マークが、本発明の「第三マーク」に相当する。   In the above embodiment, the display 5 corresponds to the “display unit” of the present invention. The operation unit 2 corresponds to the “input unit” of the present invention. The cursor corresponds to the “first mark” of the present invention. The left end corresponds to “one end in the first direction” of the present invention. The left end of the block range image corresponds to the “first end” of the present invention. The first mark corresponds to the “second mark” of the present invention. The right end of the block range image corresponds to the “second end” of the present invention. The second mark corresponds to the “third mark” of the present invention.

図4に示すメイン処理のS11、S19、S21、S27、S29において、媒体画像を表示させるCPU401が、本発明の「第一表示制御手段」に相当する。S11、S19、S21、S27、S29においてブロックを表示させるCPU401が、本発明の「第二表示制御手段」に相当する。S11、S19、S21、S27、S29においてブロック範囲画像を表示させるCPU401が、本発明の「第三表示制御手段」に相当する。S15を実行するCPU401が、本発明の「第一受付手段」に相当する。S17を実行するCPU401が、本発明の「第一判断手段」に相当する。S11、S19、S21、S27、S29においてカーソルを表示させるCPU401が、本発明の「第四表示制御手段」に相当する。S23を実行するCPU401が、本発明の「第二受付手段」に相当する。S25を実行するCPU401が、本発明の「第二判断手段」に相当する。   In S11, S19, S21, S27, and S29 of the main process shown in FIG. 4, the CPU 401 that displays the medium image corresponds to the “first display control means” of the present invention. The CPU 401 that displays blocks in S11, S19, S21, S27, and S29 corresponds to the “second display control means” of the present invention. The CPU 401 that displays the block range image in S11, S19, S21, S27, and S29 corresponds to the “third display control unit” of the present invention. The CPU 401 that executes S15 corresponds to the “first receiving unit” of the present invention. The CPU 401 that executes S17 corresponds to the “first determination unit” of the present invention. The CPU 401 that displays the cursor in S11, S19, S21, S27, and S29 corresponds to the “fourth display control unit” of the present invention. The CPU 401 that executes S23 corresponds to the “second receiving unit” of the present invention. The CPU 401 that executes S25 corresponds to the “second determination unit” of the present invention.

図4に示すメイン処理のS11、S19、S21、S27、S29において、媒体画像を表示させる処理が、本発明の「第一表示制御ステップ」に相当する。S11、S19、S21、S27、S29においてブロックを表示させる処理が、本発明の「第二表示制御ステップ」に相当する。S11、S19、S21、S27、S29においてブロック範囲画像を表示させる処理が、本発明の「第三表示制御ステップ」に相当する。   In S11, S19, S21, S27, and S29 of the main process shown in FIG. 4, the process of displaying the medium image corresponds to the “first display control step” of the present invention. The process of displaying the blocks in S11, S19, S21, S27, and S29 corresponds to the “second display control step” of the present invention. The process of displaying the block range image in S11, S19, S21, S27, and S29 corresponds to the “third display control step” of the present invention.

1 印刷装置
2 操作部
5 ディスプレイ
100 表示領域
101 テキスト
121 ブロック
122 ブロック
123 ブロック
131 ブロック範囲画像
132 ブロック範囲画像
133 ブロック範囲画像
134 ブロック範囲画像
135 ブロック範囲画像
136 ブロック範囲画像
137 ブロック範囲画像
138 ブロック範囲画像
139 ブロック範囲画像
141 カーソル
151 第一マーク
152 第二マーク
161 媒体画像
171 ブロック範囲画像
401 CPU
DESCRIPTION OF SYMBOLS 1 Printing apparatus 2 Operation part 5 Display 100 Display area 101 Text 121 Block 122 Block 123 Block 131 Block range image 132 Block range image 133 Block range image 134 Block range image 135 Block range image 136 Block range image 137 Block range image 138 Block range Image 139 Block range image 141 Cursor 151 First mark 152 Second mark 161 Media image 171 Block range image 401 CPU

Claims (9)

画像を表示することが可能な表示部と、
入力部の操作に応じて入力された、文字コードによって表現される少なくとも一つのキャラクタを含むブロックが複数ある場合に、第一方向に並ぶ複数のブロックの少なくとも一部が印刷される印刷媒体の外形を示す媒体画像を、前記表示部の表示領域に表示させる第一表示制御手段と、
前記複数のブロックの少なくとも一部を、前記文字コードと前記複数のブロックの夫々に設定された設定情報とに基づき、前記複数のブロックが前記印刷媒体に印刷される場合と略同じ態様で、前記表示領域に表示させる第二表示制御手段と、
前記媒体画像と前記複数のブロックの少なくとも一部とが前記表示領域に表示された状態で、前記複数のブロックの少なくとも一部のうち、編集対象のブロックを含む少なくとも一つのブロックの夫々の範囲を示すブロック範囲画像を、前記表示領域に表示させる第三表示制御手段と
を備えたことを特徴とする印刷装置。
A display unit capable of displaying an image;
Outline of the print medium on which at least a part of the plurality of blocks arranged in the first direction is printed when there are a plurality of blocks including at least one character represented by the character code input according to the operation of the input unit A first display control means for displaying a medium image indicating the above in a display area of the display unit;
In at least a part of the plurality of blocks, based on the character code and setting information set in each of the plurality of blocks, in substantially the same manner as when the plurality of blocks are printed on the print medium, Second display control means for displaying in the display area;
In a state where the medium image and at least a part of the plurality of blocks are displayed in the display area, each range of at least one block including a block to be edited is included in at least a part of the plurality of blocks. And a third display control means for displaying a block range image to be displayed in the display area.
前記第二表示制御手段は、前記複数のブロックの少なくとも一部と前記媒体画像とが、前記複数のブロックが前記印刷媒体に印刷される場合と略同じ縮尺になるように、前記複数のブロックの少なくとも一部を前記表示領域に表示させ、
前記設定情報は、前記複数のブロックが印刷される場合の、前記複数のブロックの夫々に含まれるキャラクタの態様を示す情報を含むことを特徴とする請求項1に記載の印刷装置。
The second display control means is configured so that at least some of the plurality of blocks and the medium image have substantially the same scale as when the plurality of blocks are printed on the print medium. Displaying at least part of the display area;
The printing apparatus according to claim 1, wherein the setting information includes information indicating an aspect of a character included in each of the plurality of blocks when the plurality of blocks are printed.
前記第三表示制御手段は、前記媒体画像と前記ブロック範囲画像とが、前記第一方向と直交する第二方向に並ぶように、前記表示領域において前記媒体画像の外側に、前記ブロック範囲画像を表示させ、
前記ブロック範囲画像は、前記少なくとも一つのブロックの夫々の前記第一方向における範囲を示すことを特徴とする請求項1又は2に記載の印刷装置。
The third display control means places the block range image outside the medium image in the display area so that the medium image and the block range image are aligned in a second direction orthogonal to the first direction. Display
The printing apparatus according to claim 1, wherein the block range image indicates a range in the first direction of each of the at least one block.
前記ブロック範囲画像は、前記編集対象のブロックの前記第一方向における範囲を示すことを特徴とする請求項3に記載の印刷装置。   The printing apparatus according to claim 3, wherein the block range image indicates a range in the first direction of the block to be edited. 前記ブロック範囲画像は、前記編集対象のブロックの範囲を示し、
前記第三表示制御手段は、前記編集対象のブロックと前記ブロック範囲画像とが重なるように、前記表示領域において前記媒体画像の内側に、前記ブロック範囲画像を表示させることを特徴とする請求項1又は2に記載の印刷装置。
The block range image indicates a range of the block to be edited,
The third display control means causes the block range image to be displayed inside the medium image in the display region so that the block to be edited and the block range image overlap each other. Or the printing apparatus of 2.
前記入力部に対する操作に応じて、前記編集対象のブロックを変更する第一指示を受け付ける第一受付手段と、
前記第一受付手段によって、前記第一指示を受け付けたことに応じて、前記第二表示制御手段によって前記表示領域に表示されている前記複数のブロックの少なくとも一部に、変更後の編集対象のブロックの全体が含まれているか否かに基づき、前記変更後の編集対象のブロックの全体が前記表示領域内にあるか否かを判断する第一判断手段とを更に備え、
前記第二表示制御手段は、前記第一判断手段によって、前記変更後の編集対象のブロックの少なくとも一部が前記表示領域外にあると判断されたことに応じて、前記変更後の編集対象のブロックの少なくとも一部を、前記第一方向における一端から、前記表示領域に表示させることを特徴とする請求項1から5の何れかに記載の印刷装置。
First receiving means for receiving a first instruction to change the block to be edited in response to an operation on the input unit;
In response to receiving the first instruction by the first receiving means, at least a part of the plurality of blocks displayed in the display area by the second display control means Based on whether or not the entire block is included, further comprising first determination means for determining whether or not the entire block to be edited after the change is in the display area,
The second display control unit is configured to change the edit target after the change when the first determination unit determines that at least a part of the block to be edited is outside the display area. The printing apparatus according to claim 1, wherein at least a part of the block is displayed in the display area from one end in the first direction.
前記入力部の操作に応じてキャラクタを入力可能な位置である編集位置を示す第一マークを、前記表示領域に表示させる第四表示制御手段と、
前記入力部に対する操作に応じて、前記編集位置を変更する第二指示を受け付ける第二受付手段と、
前記第二受付手段によって、前記第二指示を受け付けたことに応じて、変更前の編集位置を含むブロックと、変更後の編集位置を含むブロックとが異なるか否かを判断する第二判断手段とを更に備え、
前記第三表示制御手段は、前記第二判断手段によって、前記変更前の編集位置を含むブロックと、前記変更後の編集位置を含むブロックとが異なると判断されたことに応じて、前記変更後の編集位置を含むブロックのうち、前記表示領域内のブロックの範囲を示すブロック範囲画像を、前記表示領域に表示させることを特徴とする請求項4又は5に記載の印刷装置。
A fourth display control means for displaying a first mark indicating an editing position, which is a position where a character can be input in accordance with an operation of the input unit, on the display area;
Second receiving means for receiving a second instruction to change the editing position in response to an operation on the input unit;
Second determination means for determining whether the block including the editing position before the change and the block including the editing position after the change are different in response to the second instruction being received by the second reception means. And further comprising
The third display control means, when the second determination means determines that the block including the edit position before the change and the block including the edit position after the change are different, 6. The printing apparatus according to claim 4, wherein a block range image indicating a range of the block in the display area among the blocks including the edit position is displayed on the display area.
前記第三表示制御手段は更に、
前記表示領域における前記媒体画像の外側において、前記編集対象のブロックを示すブロック範囲画像の、前記第一方向における一端である第一端に近接する位置に、前記編集対象のブロックの前記第一端側に隣接するブロックを編集対象とする指示を示す第二マークを表示させ、
前記表示領域における前記媒体画像の外側において、前記編集対象のブロックを示す前記ブロック範囲画像の、前記第一方向における他端である第二端に近接する位置に、前記編集対象のブロックの前記第二端側に隣接するブロックを編集対象とする指示を示す第三マークを表示させることを特徴とする請求項1から7の何れかに記載の印刷装置。
The third display control means further includes
The first end of the block to be edited is positioned outside the medium image in the display area at a position close to a first end that is one end in the first direction of a block range image indicating the block to be edited. Display a second mark indicating an instruction to edit the block adjacent to the side,
Outside the medium image in the display area, the block range image indicating the block to be edited is positioned close to a second end, which is the other end in the first direction, of the block to be edited. The printing apparatus according to claim 1, wherein a third mark indicating an instruction to edit a block adjacent to the two ends is displayed.
画像を表示することが可能な表示部を備えた印刷装置のコンピュータに、
入力部の操作に応じて入力された、文字コードによって表現される少なくとも一つのキャラクタを含むブロックが複数ある場合に、第一方向に並ぶ複数のブロックの少なくとも一部が印刷される印刷媒体の外形を示す媒体画像を、前記表示部の表示領域に表示させる第一表示制御ステップと、
前記複数のブロックの少なくとも一部を、前記文字コードと前記複数のブロックの夫々に設定された設定情報とに基づき、前記複数のブロックが前記印刷媒体に印刷される場合と略同じ態様で、前記表示領域に表示させる第二表示制御ステップと、
前記媒体画像と前記複数のブロックの少なくとも一部とが前記表示領域に表示された状態で、前記複数のブロックの少なくとも一部のうち、編集対象のブロックを含む少なくとも一つのブロックの夫々の範囲を示すブロック範囲画像を、前記表示領域に表示させる第三表示制御ステップと
を実行させるための制御プログラム。
In a computer of a printing apparatus having a display unit capable of displaying an image,
Outline of the print medium on which at least a part of the plurality of blocks arranged in the first direction is printed when there are a plurality of blocks including at least one character represented by the character code input according to the operation of the input unit A first display control step of displaying a medium image indicating the above in a display area of the display unit;
In at least a part of the plurality of blocks, based on the character code and setting information set in each of the plurality of blocks, in substantially the same manner as when the plurality of blocks are printed on the print medium, A second display control step for displaying in the display area;
In a state where the medium image and at least a part of the plurality of blocks are displayed in the display area, each range of at least one block including a block to be edited is included in at least a part of the plurality of blocks. A control program for executing a third display control step of displaying a block range image to be displayed in the display area.
JP2016016253A 2016-01-29 2016-01-29 Printing apparatus and control program Active JP6376147B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016016253A JP6376147B2 (en) 2016-01-29 2016-01-29 Printing apparatus and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016016253A JP6376147B2 (en) 2016-01-29 2016-01-29 Printing apparatus and control program

Publications (2)

Publication Number Publication Date
JP2017132208A true JP2017132208A (en) 2017-08-03
JP6376147B2 JP6376147B2 (en) 2018-08-22

Family

ID=59502052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016016253A Active JP6376147B2 (en) 2016-01-29 2016-01-29 Printing apparatus and control program

Country Status (1)

Country Link
JP (1) JP6376147B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020152032A (en) * 2019-03-22 2020-09-24 カシオ計算機株式会社 Electronic equipment, image display method, program
JP2021066097A (en) * 2019-10-24 2021-04-30 キヤノンファインテックニスカ株式会社 Printing apparatus

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06227052A (en) * 1993-02-04 1994-08-16 Seiko Epson Corp Tape printer
JP2006099261A (en) * 2004-09-28 2006-04-13 Brother Ind Ltd Label creation device, program and recording medium
JP2009039893A (en) * 2007-08-07 2009-02-26 Seiko Epson Corp Tape printer and program thereof
JP2010017880A (en) * 2008-07-08 2010-01-28 Seiko Epson Corp Label preparing apparatus
JP2013058041A (en) * 2011-09-07 2013-03-28 Seiko Epson Corp Document creation device, tape printing device and document creation method
JP2014065195A (en) * 2012-09-25 2014-04-17 Brother Ind Ltd Printer
JP2014156028A (en) * 2013-02-14 2014-08-28 Brother Ind Ltd Printing device
JP2015020394A (en) * 2013-07-22 2015-02-02 ブラザー工業株式会社 Printed matter preparation processing program and printing device
JP2015026203A (en) * 2013-07-25 2015-02-05 ブラザー工業株式会社 Electronic apparatus
EP2857955A1 (en) * 2013-10-01 2015-04-08 OCE-Technologies B.V. Method for planning digital images to be printed on a roll of media

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06227052A (en) * 1993-02-04 1994-08-16 Seiko Epson Corp Tape printer
JP2006099261A (en) * 2004-09-28 2006-04-13 Brother Ind Ltd Label creation device, program and recording medium
JP2009039893A (en) * 2007-08-07 2009-02-26 Seiko Epson Corp Tape printer and program thereof
JP2010017880A (en) * 2008-07-08 2010-01-28 Seiko Epson Corp Label preparing apparatus
JP2013058041A (en) * 2011-09-07 2013-03-28 Seiko Epson Corp Document creation device, tape printing device and document creation method
JP2014065195A (en) * 2012-09-25 2014-04-17 Brother Ind Ltd Printer
JP2014156028A (en) * 2013-02-14 2014-08-28 Brother Ind Ltd Printing device
JP2015020394A (en) * 2013-07-22 2015-02-02 ブラザー工業株式会社 Printed matter preparation processing program and printing device
JP2015026203A (en) * 2013-07-25 2015-02-05 ブラザー工業株式会社 Electronic apparatus
EP2857955A1 (en) * 2013-10-01 2015-04-08 OCE-Technologies B.V. Method for planning digital images to be printed on a roll of media

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020152032A (en) * 2019-03-22 2020-09-24 カシオ計算機株式会社 Electronic equipment, image display method, program
JP7243351B2 (en) 2019-03-22 2023-03-22 カシオ計算機株式会社 ELECTRONIC DEVICE, PRINTED IMAGE DISPLAY METHOD, PROGRAM
JP2021066097A (en) * 2019-10-24 2021-04-30 キヤノンファインテックニスカ株式会社 Printing apparatus

Also Published As

Publication number Publication date
JP6376147B2 (en) 2018-08-22

Similar Documents

Publication Publication Date Title
US10296572B2 (en) Editing apparatus
JP6376147B2 (en) Printing apparatus and control program
US8797582B2 (en) Tape printing apparatus, and display method in the tape printing apparatus
JP5954078B2 (en) Printing device
US10444688B2 (en) Editing apparatus, non-transitory storage medium, and printing apparatus
JP6136493B2 (en) Data creation device and data creation program
JP6528632B2 (en) Editing device, printing device, and control program
JP6264277B2 (en) Data processing apparatus, printing apparatus, and data processing program
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
JP4506230B2 (en) Tape printer
JP6245067B2 (en) Editing device and printing device
JP6447559B2 (en) Printing apparatus, printing method, and printing program
JP6265042B2 (en) Printing device
JP2008023713A (en) Image forming apparatus
JP5811810B2 (en) Printing device
JP6269416B2 (en) Printing device
JP4572552B2 (en) Printing device
JP2011140236A (en) Print image forming method, print image forming apparatus, program, and printer
JP6245113B2 (en) Editing device and printing device
JP2014197729A (en) Label printing apparatus and label printing method
JP6175872B2 (en) Printing apparatus and content editing program
JP6314650B2 (en) Display device and printing device
JP2017052190A (en) Printer, control method and control program
JP2013111861A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170908

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180620

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180626

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180709

R150 Certificate of patent or registration of utility model

Ref document number: 6376147

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150