JPH07210138A - Document processor - Google Patents

Document processor

Info

Publication number
JPH07210138A
JPH07210138A JP6019967A JP1996794A JPH07210138A JP H07210138 A JPH07210138 A JP H07210138A JP 6019967 A JP6019967 A JP 6019967A JP 1996794 A JP1996794 A JP 1996794A JP H07210138 A JPH07210138 A JP H07210138A
Authority
JP
Japan
Prior art keywords
display
cursor
data
displayed
character
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
JP6019967A
Other languages
Japanese (ja)
Other versions
JP3377277B2 (en
Inventor
Kazuhisa Hirono
和久 広野
Seiji Mori
政治 森
Shoji Sakuragi
章二 桜木
Mikako Bitou
美香子 尾藤
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 JP01996794A priority Critical patent/JP3377277B2/en
Publication of JPH07210138A publication Critical patent/JPH07210138A/en
Application granted granted Critical
Publication of JP3377277B2 publication Critical patent/JP3377277B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To provide a tape printer capable of displaying the whole of a long pattern by divided display even when the whole long pattern can not be displayed on a screen of a display. CONSTITUTION:If a cursor left moving key is depressed once when the end part of a bar code is displayed on a display and a cursor K is displayed on the right,end of the bar code, dividing width BW, the number '5' of divisions and divided positions 'BP1 to BP4' are found out from pattern size CW and display enabled width size DW and a value corresponding to the 1st divided position BP1 is set up on a new cursor absolute position pointer value KPA. Thereby left scrolling processing control is executed, a display screen is scrolled left, a 2nd bar code part counted from the back of the bar code is displayed and the cursor K is displayed on a prescribed left scrolling position LSP so that the divided position BP1 is displayed on a position indicated by the position LSP.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入力文書を印刷イメー
ジでディスプレイに表示可能な文書処理装置に関し、特
に印刷イメージで表示された文書の左右方向への画面ス
クロールを改良するようにしたものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus capable of displaying an input document as a print image on a display, and more particularly to an apparatus for improving the horizontal scrolling of a document displayed as a print image. .

【0002】[0002]

【従来の技術】従来、本願出願人は、特開平5─177
898号公報に記載のように、キーボードやディスプレ
イや印刷機構を備え、この印刷機構によりテープカセッ
トに収納された印刷媒体としてのテープ(例えば、12
mm、18mmのテープ幅)に文字や記号を印刷できる上、
これら文字や記号に加えてバーコードを混在させて印刷
できるテープ印刷装置を提案した。このテープ印刷装置
は、ファイルのタイトル名などをラベル印刷し、ファイ
ルや各種の収納ケースなどに貼着するテープを作成する
のに好適のものである。
2. Description of the Related Art Conventionally, the applicant of the present invention has disclosed in Japanese Patent Laid-Open No. 5-177
As described in Japanese Patent Publication No. 898, a keyboard, a display, and a printing mechanism are provided, and a tape (for example, 12
mm and 18 mm tape width) can print letters and symbols,
In addition to these characters and symbols, we have proposed a tape printer that can print mixed barcodes. This tape printing device is suitable for printing a label such as a title of a file and creating a tape to be attached to a file or various storage cases.

【0003】ところで、本願の発明者達は、キーボード
から入力した文書を、予め設定された印刷フォーマット
情報(書式情報)に基いて、印刷テープに印刷した文字
配列状態、つまり印刷イメージでディスプレイに表示す
ることに着想した。即ち、複数の印刷文字サイズに対応
する複数の表示文字サイズ分の表示用ドットパターンデ
ータを制御装置内に設けたフォントROMに記憶する一
方、キーボードから入力された文書のデータは、印刷文
字サイズに対応する表示文字サイズの表示用ドットパタ
ーンデータにより印刷イメージでディスプレイに表示さ
れるとともに、入力されたバーコードのデータについて
は、バーコード規格のモジュールデータ(白バーや黒バ
ーのデータ)に変換し、これら白バーや黒バーを表示文
字サイズに応じた高さで表示される。
By the way, the inventors of the present application display a document input from a keyboard on a display in a character arrangement state, that is, a print image, printed on a printing tape based on preset print format information (format information). I was inspired to do it. That is, the display dot pattern data for a plurality of display character sizes corresponding to a plurality of print character sizes is stored in the font ROM provided in the control device, while the document data input from the keyboard is set to the print character size. Displayed as a print image on the display with dot pattern data for display of the corresponding display character size, and the input barcode data is converted to barcode standard module data (white bar or black bar data). , The white bar and the black bar are displayed with the height according to the display character size.

【0004】ここで、文書の入力位置や編集位置を指示
するカーソルの移動については、通常のワードプロセッ
サの移動制御と同様に、カーソルの左右移動キー操作に
よるカーソル右移動指令やカーソル左移動指令に基い
て、現在の表示行における移動方向に隣接するキャラク
タ毎に移動して表示するように構成した。ところで、横
拡大された記号や多数行の数字や記号からなるバーコー
ドの印刷イメージにおいて、1単位の表示パターンがデ
ィスプレイの表示行方向の長さよりも長い長寸パターン
がある。従って、このような1画面に全体を表示不能な
長寸パターンを含む文書を印刷イメージでディスプレイ
に表示しているときに、カーソル左移動キーやカーソル
右移動キーを操作したときには、カーソルはその1単位
の表示パターン毎に、その先頭位置から末尾位置に、又
は逆にその末尾位置から先頭位置に一気に移動するとと
もに、その移動先の位置にカーソルが表示できるように
画面スクロールが行なわれるようになっている。
Here, the movement of the cursor indicating the input position or the editing position of the document is based on the cursor right movement command or the cursor left movement command by the cursor left / right movement key operation, similarly to the movement control of a normal word processor. In addition, it is configured to move and display each character that is adjacent to the moving direction in the current display line. By the way, in a printed image of a bar code including laterally enlarged symbols and numbers or symbols in multiple lines, there is a long pattern in which the display pattern of one unit is longer than the length of the display in the display line direction. Therefore, when the cursor left movement key or the cursor right movement key is operated while a document including a long pattern that cannot be entirely displayed on one screen is displayed on the display as a print image, the cursor is For each display pattern of the unit, the screen is scrolled so that the cursor can be displayed at the position where the cursor moves from the beginning position to the ending position or vice versa. ing.

【0005】[0005]

【発明が解決しようとする課題】前述したように、入力
文書を印刷イメージで表示可能なテープ印刷装置におい
ては、1画面に表示不能な長寸パターンについては、カ
ーソル左右移動キーの操作時には、カーソルはその長寸
パターンの先頭位置から末尾位置に、又はその末尾位置
から先頭位置に一気に移動し且つ画面スクロールが行な
われて、その先頭部分又はその末尾部分とともにカーソ
ルが表示されることから、長寸パターンの中央部分が表
示されない場合が発生して、その中央部分をディスプレ
イ上で確認することができないという問題がある。
As described above, in a tape printer capable of displaying an input document as a print image, for a long pattern which cannot be displayed on one screen, the cursor can be moved when the cursor left / right key is operated. Moves from the start position to the end position of the long pattern or from the end position to the start position all at once and the screen is scrolled, and the cursor is displayed together with the start part or the end part of the long pattern. There is a problem that the central part of the pattern is not displayed, and the central part cannot be confirmed on the display.

【0006】本発明の目的は、ディスプレイの1画面に
全体を表示不能な長寸パターンでも、分割表示によりそ
の長寸パターン全体を表示し得るような文書処理装置を
提供することにある。
It is an object of the present invention to provide a document processing apparatus capable of displaying the entire long pattern by divisional display even if the long pattern cannot be entirely displayed on one screen of the display.

【0007】[0007]

【課題を解決するための手段】請求項1に係る文書処理
装置は、図1の機能ブロック図に示すように、文字や記
号等のキャラクタ、バーコード等のパターン、及び種々
の指令を入力したり指定したりする為の入力手段と、文
字や記号等の入力データを記憶するデータ記憶手段と、
カーソルを表示可能なディスプレイを含み文字や記号等
を表示可能な表示手段と、データ記憶手段のデータを受
けてキャラクタやパターンの表示データを作成する表示
データ作成手段と、表示データを記憶する表示データバ
ッファと、表示データバッファにおける1画面分の表示
データの表示先頭位置を記憶する先頭位置メモリと、表
示先頭位置から1画面分の表示データを表示データバッ
ファから受けて表示するように表示手段を制御する表示
制御手段と、左方又は右方へのカーソル移動指令を受け
て、表示データバッファにおけるカーソルの現在位置を
記憶するカーソル位置メモリとを備えた文書処理装置に
おいて、表示データバッファの表示データに基いて、デ
ィスプレイの表示行方向に長すぎるために1画面に全体
を表示不能な長寸パターンの表示データが、1単位の表
示データとして格納されているか否か判別するパターン
判別手段と、パターン判別手段により判別された長寸パ
ターンを、1画面長以下の長さに複数に分割する、表示
データバッファにおける1又は複数の分割位置を演算し
て記憶する分割位置決定手段と、カーソル位置メモリに
記憶されたカーソルの現在位置と、先頭位置メモリに記
憶された表示先頭位置とに基いて、カーソルがディスプ
レイ上の所定の移動許容領域内にあるか否かを判定する
カーソル判定手段と、左方又は右方へのカーソル移動指
令の入力時、カーソル判定手段によりカーソルが移動許
容領域から外れると判定され且つ長寸パターンがディス
プレイに表示されるときには、カーソル及び分割位置決
定手段で決定された分割位置がディスプレイ上の移動許
容領域の少なくとも右半部分に設定された所定のカーソ
ル復帰位置に位置するように、表示先頭位置を決定して
先頭位置メモリに出力する先頭位置決定手段とを備えた
ものである。
As shown in the functional block diagram of FIG. 1, a document processing apparatus according to claim 1 inputs characters such as characters and symbols, patterns such as bar codes, and various commands. Input means for specifying and specifying, and a data storage means for storing input data such as characters and symbols,
Display means including a display capable of displaying a cursor and capable of displaying characters and symbols, display data creating means for receiving display data of the data storage means and creating display data of characters and patterns, and display data for storing display data The buffer, the head position memory for storing the display start position of the display data for one screen in the display data buffer, and the display means for receiving and displaying the display data for one screen from the display start position from the display data buffer And a cursor position memory for storing the current position of the cursor in the display data buffer in response to a cursor movement command to the left or the right, in the display data of the display data buffer. Based on this, it is too long in the direction of the display line so that the whole screen cannot be displayed on one screen. A pattern discriminating means for discriminating whether or not the display data of the turn is stored as one unit of display data, and the long pattern discriminated by the pattern discriminating means is divided into a plurality of lengths equal to or less than one screen length. Based on the division position determining means for calculating and storing one or a plurality of division positions in the display data buffer, the current position of the cursor stored in the cursor position memory, and the display start position stored in the start position memory, Cursor determining means for determining whether or not the cursor is within a predetermined movement permitting area on the display; and when the cursor determining means moves the cursor out of the movement permitting area when inputting a cursor movement command to the left or right. When it is determined and the long pattern is displayed on the display, the division position determined by the cursor and the division position determining means is displayed. A head position deciding means for deciding a display head position and outputting it to a head position memory is provided so as to be positioned at a predetermined cursor return position set in at least the right half portion of the movement allowable area on play. .

【0008】[0008]

【作用】請求項1に係る文書処理装置においては、文字
や記号等の入力データはデータ記憶手段に記憶されると
ともに、表示データ作成手段は、データ記憶手段からの
入力データを受けてキャラクタやパターンの表示データ
を作成し、その表示データは表示データバッファに記憶
される。また、カーソル位置メモリは、文字データの入
力時或いはカーソル移動キーの操作時に、左方又は右方
へのカーソル移動指令を受けて、表示データバッファに
おけるカーソルの現在位置を記憶する。ところで、パタ
ーン判別手段は、表示データバッファの表示データに基
いて、ディスプレイの表示行方向に長すぎるために1画
面に全体を表示不能な長寸パターンの表示データが、1
単位の表示データとして格納されているか否か判別する
ので、分割位置決定手段は、パターン判別手段により判
別された長寸パターンを、1画面長以下の長さに複数に
分割する、表示データバッファにおける1又は複数の分
割位置を演算して記憶する。
In the document processing apparatus according to the first aspect, the input data such as characters and symbols are stored in the data storing means, and the display data creating means receives the input data from the data storing means and the characters and patterns are received. Display data is created and the display data is stored in the display data buffer. Further, the cursor position memory stores the current position of the cursor in the display data buffer in response to a cursor movement command to the left or right when inputting character data or operating the cursor movement key. By the way, the pattern discriminating means determines, based on the display data in the display data buffer, that the display data of a long pattern that cannot be entirely displayed on one screen is 1 because it is too long in the display row direction of the display.
In the display data buffer, the division position determining means divides the long pattern determined by the pattern determining means into a plurality of lengths equal to or less than one screen length, since the division position determining means determines whether or not the data is stored as a unit of display data. One or a plurality of division positions are calculated and stored.

【0009】一方、カーソル判定手段は、カーソル位置
メモリに記憶されたカーソルの現在位置と、先頭位置メ
モリに記憶された表示データバッファにおける1画面分
の表示先頭位置とに基いて、カーソルがディスプレイ上
の所定の移動許容領域内にあるか否かを判定するので、
先頭位置決定手段は、左方又は右方へのカーソル移動指
令の入力時、カーソル判定手段によりカーソルが移動許
容領域から外れると判定され且つ長寸パターンがディス
プレイに表示されるときには、カーソル及び分割位置決
定手段で決定された分割位置がディスプレイ上の移動許
容領域の少なくとも右半部分に設定された所定のカーソ
ル復帰位置に位置するように、右スクロール又は左スク
ロールした表示先頭位置を決定して先頭位置メモリに出
力する。その結果、表示制御手段は、その表示先頭位置
から1画面分の表示データを表示データバッファから受
けて表示手段のディスプレイに表示制御するとともに、
その所定のカーソル復帰位置にカーソルを表示制御す
る。
On the other hand, the cursor determining means determines the cursor on the display based on the current position of the cursor stored in the cursor position memory and the display start position of one screen in the display data buffer stored in the start position memory. Since it is determined whether or not it is within the predetermined movement allowable area of
When the cursor movement command is input to the left or right and the cursor determination means determines that the cursor is out of the movement allowable area and the long pattern is displayed on the display, the head position determination means determines the cursor and the division position. The display start position after scrolling right or left is determined so that the division position determined by the determining means is located at a predetermined cursor return position set in at least the right half portion of the movement allowable area on the display. Output to memory. As a result, the display control means receives the display data for one screen from the display start position from the display data buffer and controls the display on the display of the display means.
The cursor is displayed and controlled at the predetermined cursor return position.

【0010】このように、1画面より長い長寸パターン
については、1画面長以下の長さとする1又は複数の分
割位置が演算で求められ、左方又は右方へのカーソル移
動指令が入力された結果、カーソルがディスプレイ上の
所定の移動許容領域から外れたときには、カーソル及び
その分割位置がディスプレイ上の移動許容領域の少なく
とも右半部分に設定された所定のカーソル復帰位置に位
置するように、右スクロール又は左スクロールした表示
先頭位置が決定され、この表示先頭位置から1画面分の
表示データが表示されるとともに、カーソルがその移動
許容領域のカーソル復帰位置に表示されることになり、
分割表示によりその長寸パターン全体を表示することが
できる。
As described above, for a long pattern longer than one screen, one or a plurality of division positions having a length equal to or less than one screen length are calculated, and a cursor movement command to the left or right is input. As a result, when the cursor deviates from the predetermined movement-allowed area on the display, the cursor and its divided position are located at the predetermined cursor return position set in at least the right half of the movement-allowed area on the display. The display start position of the right scroll or the left scroll is determined, the display data for one screen is displayed from this display start position, and the cursor is displayed at the cursor return position of the movement allowable area.
By the divided display, the entire long pattern can be displayed.

【0011】[0011]

【実施例】以下、本発明の実施例について図面に基いて
説明する。本実施例は、アルファベット文字や記号など
の多数のキャラクタを印刷テープに印刷可能なテープ印
刷装置に本発明を適用した場合のものである。図2に示
すように、テープ印刷装置1の本体フレーム2の前部に
はキーボード3が配設され、キーボード3の後方で本体
フレーム2内には印刷機構PMが配設され、またキーボ
ード3の直ぐ後側には、入力した文字や記号を印刷イメ
ージで表示可能な液晶ディスプレイ22が設けられてい
る。このディスプレイ22には、縦方向に32ドット、
横方向に121ドットで構成される表示画面を有してい
る。ここで、符号4は、印刷機構PMに装着するテープ
カセットCSを着脱するときに、カバーフレーム6を開
放する為のリリースボタンである。
Embodiments of the present invention will be described below with reference to the drawings. This embodiment is a case where the present invention is applied to a tape printing apparatus capable of printing a large number of characters such as alphabetic characters and symbols on a printing tape. As shown in FIG. 2, a keyboard 3 is arranged in the front part of the main body frame 2 of the tape printing apparatus 1, a printing mechanism PM is arranged in the main body frame 2 behind the keyboard 3, and the keyboard 3 is arranged. Immediately behind it, a liquid crystal display 22 is provided which can display input characters and symbols as a print image. This display 22 has 32 dots in the vertical direction,
It has a display screen composed of 121 dots in the horizontal direction. Here, reference numeral 4 is a release button for opening the cover frame 6 when the tape cassette CS attached to the printing mechanism PM is attached or detached.

【0012】キーボード(入力手段に相当する)3に
は、アルファベット文字や数字や記号を入力する為の文
字キー、スペースキー、改行キー、カーソルKを上下左
右方向に移動させる為のカーソル移動キー、印刷文字サ
イズや書体番号などを含む書式情報を変更設定する書式
設定キー、バーコードのデータを入力するバーコードキ
ー、各種の設定処理を終了する実行キー、印刷を指令す
る印刷キー、電源をON・OFFする為の電源キーなど
が設けられている。
The keyboard (corresponding to the input means) 3 is a character key for inputting alphabetic characters, numbers and symbols, a space key, a line feed key, a cursor movement key for moving the cursor K vertically and horizontally, Formatting key to change and set format information such as print character size and font number, barcode key to input barcode data, execution key to finish various setting processing, print key to instruct printing, power on・ A power key for turning it off is provided.

【0013】次に、印刷機構PMについて、図3に基い
て簡単に説明すると、印刷機構PMに着脱自在に矩形状
のテープカセットCSが装着されており、このテープカ
セットCSには、ラミネートフィルムテープ7が巻装さ
れたテープスプール8と、印字リボン9が巻装されたリ
ボン供給スプール10と、この印字リボン9を巻取る巻
取りスプール11と、ラミネートフィルムテープ7と同
一幅を有する両面テープ12が剥離紙を外側にして巻装
された供給スプール13と、これらラミネートフィルム
テープ7と両面テープ12とを接合させる接合ローラ1
4とが回転自在に設けられている。
Next, the printing mechanism PM will be briefly described with reference to FIG. 3. A rectangular tape cassette CS is detachably attached to the printing mechanism PM. The tape cassette CS has a laminated film tape. 7, a tape spool 8 on which the print ribbon 9 is wound, a ribbon supply spool 10 on which a print ribbon 9 is wound, a take-up spool 11 for winding the print ribbon 9, and a double-sided tape 12 having the same width as the laminate film tape 7. And a supply roller 13 wound with the release paper on the outside, and a joining roller 1 for joining the laminated film tape 7 and the double-sided tape 12 together.
4 and 4 are rotatably provided.

【0014】前記ラミネートフィルムテープ7と印字リ
ボン9とが重なる位置には、サーマルヘッド15が立設
され、これらラミネートフィルムテープ7と印字リボン
9とをサーマルヘッド15に押圧するプラテンローラ1
6と、ラミネートフィルムテープ7と両面テープ12と
を接合ローラ14に押圧して印刷テープ19を作成する
送りローラ17とは、本体フレーム2に回動自在に枢着
された支持体18に回転可能に枢支されている。このサ
ーマルヘッド15には、128個の発熱素子からなる発
熱素子群が上下方向に列設されている。
A thermal head 15 is erected at a position where the laminated film tape 7 and the print ribbon 9 overlap each other, and the platen roller 1 for pressing the laminated film tape 7 and the print ribbon 9 against the thermal head 15.
6 and a feed roller 17 that presses the laminated film tape 7 and the double-sided tape 12 against the joining roller 14 to create the printing tape 19 are rotatable on a support 18 pivotally attached to the body frame 2. Is pivoted to. In the thermal head 15, a heating element group composed of 128 heating elements is vertically arranged.

【0015】従って、テープ送りモータ45(図4参
照)の所定回転方向への駆動により、接合ローラ14と
巻取りスプール11とが所定回転方向に夫々同期して駆
動されながら、サーマルヘッド15の発熱素子群に通電
されたとき、ラミネートフィルムテープ7上には複数の
ドット列により文字やバーコードが印字され、しかもラ
ミネートフィルムテープ7は両面テープ12を接合した
状態で印刷テープ19としてテープ送り方向Aにテープ
送りされ、図2・図3に示すように、本体フレーム2の
外部に繰出される。尚、印刷機構PMの詳細について
は、特開平2─106555号公報を参照。
Therefore, by driving the tape feed motor 45 (see FIG. 4) in the predetermined rotation direction, the joining roller 14 and the take-up spool 11 are driven in synchronization with each other in the predetermined rotation direction, and the heat of the thermal head 15 is generated. When the elements are energized, characters or bar codes are printed on the laminated film tape 7 by a plurality of dot rows, and the laminated film tape 7 is used as the printing tape 19 with the double-sided tape 12 bonded to the tape feeding direction A. 2 is fed to the outside of the main body frame 2 as shown in FIGS. For details of the printing mechanism PM, refer to Japanese Patent Laid-Open No. 2-106555.

【0016】次に、この印刷テープ19を自動的に切断
する切断装置30について、図3に基いて簡単に説明す
ると、前記テープカセットCSの左側に対応する本体フ
レーム2の直ぐ内側には、板状の補助フレーム31が立
設され、この補助フレーム31に固定刃32が上向きに
固着されている。補助フレーム31に固着された左右方
向向きの枢支軸33には、前後方向に延びる操作レバー
34の前端近傍部が回動可能に枢支され、その操作レバ
ー34の枢支軸33より前側に対応する部位において、
可動刃35が前記固定刃32と対向して取付けられてい
る。また、操作レバー34の後端部は、切断用モータ4
6(図4参照)に連結された揺動駆動機構(図示略)に
より上下揺動可能に構成され、常には、可動刃35が固
定刃32から離間した状態で保持されている。
Next, the cutting device 30 for automatically cutting the printing tape 19 will be briefly described with reference to FIG. 3. A cutting device 30 will be provided on the inner side of the main body frame 2 corresponding to the left side of the tape cassette CS. -Shaped auxiliary frame 31 is erected, and fixed blade 32 is fixed to this auxiliary frame 31 upward. A pivot shaft 33 in the left-right direction fixed to the auxiliary frame 31 rotatably pivots a portion near the front end of an operation lever 34 extending in the front-rear direction, and the pivot lever 33 extends forward of the pivot shaft 33 of the operation lever 34. In the corresponding part,
The movable blade 35 is attached so as to face the fixed blade 32. Further, the rear end portion of the operation lever 34 is provided with the cutting motor 4
6 (see FIG. 4) is configured to be swingable up and down by a swing drive mechanism (not shown), and the movable blade 35 is always held in a state of being separated from the fixed blade 32.

【0017】そして、サーマルヘッド15により印刷さ
れた印刷テープ19は、テープカセットCSから固定刃
32と可動刃35との間を通って本体フレーム2外に延
びているので、切断信号により駆動された切断用モータ
46により、揺動駆動機構を介して操作レバー34の後
端部が上下揺動され、可動刃35が固定刃32に接近し
て、これら両刃32・35で印刷テープ19が切断され
る。
Since the printing tape 19 printed by the thermal head 15 extends from the tape cassette CS to the outside of the main body frame 2 through the space between the fixed blade 32 and the movable blade 35, it is driven by the cutting signal. The cutting motor 46 vertically swings the rear end portion of the operation lever 34 via the swing drive mechanism, the movable blade 35 approaches the fixed blade 32, and the printing tape 19 is cut by these both blades 32, 35. It

【0018】ところで、前記テープカセットCSから繰
出される印刷テープ19として、テープ幅を6mm、9m
m、12mm、18mm、24mmとする5種類が準備されて
おり、これらテープカセットCSの底壁部には、これら
5種類のテープ幅の何れかを検知する為に、4つの突出
爪の有無を組合せた突出片20が設けられている。そし
て、このテープカセットCSの下側を支持する本体フレ
ーム2には、この突出片20の突出爪の組合せからテー
プ幅を検知するカセットセンサ42(図4参照)が取付
けられている。即ち、このカセットセンサ42は、突出
片20を構成する突出爪の組合せにより、例えば、テー
プ幅が24mmのときには「0100」のカセット信号を
出力し、またテープ幅が12mmのときには「1100」
のカセット信号を出力するとともに、テープカセットC
Sが装着されていないときには、「0000」のカセッ
ト信号を出力する。
By the way, as the printing tape 19 fed from the tape cassette CS, tape widths are 6 mm and 9 m.
Five types, m, 12 mm, 18 mm, and 24 mm are prepared. The bottom wall of these tape cassettes CS has four protruding claws in order to detect any of these five types of tape widths. A combined protruding piece 20 is provided. A cassette sensor 42 (see FIG. 4) that detects the tape width from the combination of the protruding claws of the protruding piece 20 is attached to the main body frame 2 that supports the lower side of the tape cassette CS. That is, the cassette sensor 42 outputs a cassette signal of "0100" when the tape width is 24 mm, or "1100" when the tape width is 12 mm, depending on the combination of the protruding claws that form the protruding piece 20.
Output the cassette signal of the tape cassette C
When S is not attached, a cassette signal of "0000" is output.

【0019】次に、テープ印刷装置1の制御系は、図4
のブロック図に示すように構成されている。制御装置C
の入出力インターフェース50には、キーボード3と、
カセットセンサ42と、液晶ディスプレイ(LCD)2
2に表示データを出力する為のビデオRAM24を有す
るディスプレイコントローラ(LCDC)23と、警告
用ブザー43の為の駆動回路44と、サーマルヘッド1
5を駆動する為の駆動回路47と、テープ送りモータ4
5を駆動する為の駆動回路48と、切断用モータ46を
駆動する為の駆動回路49とが夫々接続されている。
Next, the control system of the tape printer 1 is shown in FIG.
The block diagram of FIG. Control device C
The input / output interface 50 of the
Cassette sensor 42 and liquid crystal display (LCD) 2
2, a display controller (LCDC) 23 having a video RAM 24 for outputting display data, a drive circuit 44 for a warning buzzer 43, and the thermal head 1.
Drive circuit 47 for driving 5, and tape feed motor 4
A drive circuit 48 for driving the motor 5 and a drive circuit 49 for driving the cutting motor 46 are connected to each other.

【0020】制御装置Cは、CPU52と、このCPU
52にデータバスなどのバス51を介して接続された入
出力インターフェース50、表示用CG(キャラクタジ
ェネレータ)ROM53、印刷用CG(キャラクタジェ
ネレータ)ROM54、ROM55及びRAM60とか
ら構成されている。表示用CGROM53には、アルフ
ァベット文字や記号などの多数のキャラクタの各々に関
して、表示用ドットパターンデータが、各書体(ゴシッ
ク系書体、明朝系書体など)毎に6種類(7、10、1
6、21、32、32BIG ドット)の表示文字サイズ
分、コードデータに対応させて格納されている。ここ
で、32BIG ドットの表示文字サイズは、アルファベッ
トの大文字のようにベースラインの下側にはみ出さない
文字列のときに、32ドット文字サイズより大きく表示
できる表示文字サイズである。
The controller C includes a CPU 52 and this CPU
An input / output interface 50, a display CG (character generator) ROM 53, a printing CG (character generator) ROM 54, a ROM 55, and a RAM 60, which are connected to 52 via a bus 51 such as a data bus. The display CGROM 53 has six types of display dot pattern data (7, 10, 1) for each typeface (Gothic typeface, Mincho typeface, etc.) for each of a large number of characters such as alphabetic characters and symbols.
6, 21, 32, and 32 BIG dots) are stored in association with the code data corresponding to the display character size. Here, the display character size of 32 BIG dots is a display character size that can be displayed larger than the 32 dot character size in the case of a character string that does not extend to the lower side of the baseline like an uppercase letter of the alphabet.

【0021】印刷用CGROM54には、アルファベッ
ト文字や記号などの多数のキャラクタの各々に関して、
印刷用ドットパターンデータが、各書体毎に7種類(6
ポイント:16ドット、10ポイント:24ドット、1
3ポイント:32ドット、19ポイント:48ドット、
26ポイント:64ドット、38ポイント:96ドッ
ト、44ポイント:96BIG ドット)の印刷文字サイズ
分、コードデータに対応させて格納されている。ここ
で、96BIG ドットの印刷文字サイズは、アルファベッ
トの大文字のようにベースラインの下側にはみ出さない
文字列のときに、96ドット文字サイズより大きく印刷
できる文字サイズである。
The printing CGROM 54 stores, for each of a large number of characters such as alphabetic characters and symbols,
There are 7 types of dot pattern data for printing (6
Points: 16 dots, 10 points: 24 dots, 1
3 points: 32 dots, 19 points: 48 dots,
26 points: 64 dots, 38 points: 96 dots, 44 points: 96 BIG dots) are stored in correspondence with the print character size corresponding to the code data. Here, the print character size of 96 BIG dots is a character size that can be printed larger than the 96 dot character size in the case of a character string that does not extend to the lower side of the baseline like an uppercase letter of the alphabet.

【0022】ROM55には、キーボード3から入力さ
れた文字や数字や記号などのキャラクタのコードデータ
に対応させてディスプレイコントローラ23を制御する
表示駆動制御プログラム、印刷データバッファ69のデ
ータを順次読出してサーマルヘッド15やテープ送りモ
ータ45を駆動する印刷駆動制御プログラム、本願特有
の後述のテープ印刷制御の制御プログラムなどが格納さ
れている。尚、前記テープ印刷制御プログラムには、バ
ーコードバッファ63に格納された有効文字列からなる
データキャラクタのデータに基いて、バーコードのモジ
ュールデータに変換するバーコードデータ変換処理制御
のサブルーチンが格納されている。そのバーコードデー
タ変換処理制御においては、EAN−13(Europe Art
icle Number-13)、CODE−39などのバーコードの
規格に基いてバーコードのモジュールデータに変換処理
される。
In the ROM 55, a display drive control program for controlling the display controller 23 in accordance with code data of characters such as characters, numbers and symbols input from the keyboard 3, and data in the print data buffer 69 are sequentially read out to perform thermal processing. A print drive control program for driving the head 15 and the tape feed motor 45, a control program for tape print control, which will be described later and is unique to the present application, are stored. Note that the tape printing control program stores a subroutine of bar code data conversion processing control for converting the data of the data character consisting of the effective character string stored in the bar code buffer 63 into the module data of the bar code. ing. In the bar code data conversion processing control, EAN-13 (Europe Art
icle number-13), CODE-39, etc., and converted into bar code module data.

【0023】また、このROM55には、図5に示すよ
うに、印刷文字サイズSZとそのサイズで印刷するとき
の表示文字サイズとを対応させた文字サイズ変換テーブ
ルTB1が格納されている。更に、ROM55には、図
示しないが、7種類の印刷文字サイズと各印刷文字サイ
ズに関する一連の文字や記号のドットパターンデータが
格納されている印刷用CGROM54の先頭アドレス
(印刷用インデックスアドレス)とを対応させた印刷文
字サーチテーブルと、この印刷用インデックスアドレス
と各文字や記号の印刷用CGROM54における格納先
頭アドレスとを対応させた印刷文字インデックステーブ
ルとが格納されている。
As shown in FIG. 5, the ROM 55 also stores a character size conversion table TB1 in which the print character size SZ is associated with the display character size when printing with that size. Further, although not shown, the ROM 55 has seven types of print character sizes and a start address (print index address) of the print CGROM 54 storing dot pattern data of a series of characters and symbols related to each print character size. A corresponding print character search table and a print character index table in which this print index address is associated with the storage start address in the print CGROM 54 of each character or symbol are stored.

【0024】更に、ROM55には、図示しないが、6
種類の表示文字サイズと各表示文字サイズに関する一連
の文字や記号のドットパターンデータが格納されている
表示用CGROM53の先頭アドレス(表示用インデッ
クスアドレス)とを対応させた表示文字サーチテーブル
と、この表示用インデックスアドレスと各文字や記号の
表示用CGROM53における格納先頭アドレスとを対
応させた表示文字インデックステーブルとが格納されて
いる。
Further, in the ROM 55, although not shown, 6
A display character search table that associates the display character size of each type with the start address (display index address) of the display CGROM 53 that stores the dot pattern data of a series of characters and symbols related to each display character size, and this display There is stored a display character index table in which the display index address and the storage start address in the display CGROM 53 for each character or symbol are associated with each other.

【0025】RAM60のテキストメモリ(データ記憶
手段に相当する)61には、キーボード3から入力され
た文書データが格納される。パラメータメモリ62に
は、テキストメモリ61の先頭アドレスを指示する先頭
アドレスポインタのポインタ値SPと、その末尾アドレ
スを指示する末尾アドレスポインタのポインタ値EP
と、データカウント値DC、印刷文字サイズSZのデー
タが格納される。バーコードバッファ63には、バーコ
ードの為の文字や数字からなる有効文字列のデータが格
納される。表示文字サイズメモリ64には、求められた
表示文字サイズのデータが格納される。配置位置情報メ
モリ65には、表示するキャラクタの各々について、表
示データバッファ66における表示文字位置が格納され
る。表示データバッファ66には、入力された複数のキ
ャラクタの表示用ドットパターンデータが合成して格納
される。ディスプレイバッファ67には、ビデオRAM
24を介して入力文書をディスプレイ22に表示する為
の1画面分の表示データが格納される。
A text memory (corresponding to data storage means) 61 of the RAM 60 stores document data input from the keyboard 3. In the parameter memory 62, a pointer value SP of a start address pointer that indicates the start address of the text memory 61 and a pointer value EP of an end address pointer that indicates the end address thereof
Then, the data of the data count value DC and the print character size SZ are stored. The bar code buffer 63 stores data of a valid character string including characters and numbers for a bar code. The display character size memory 64 stores data of the obtained display character size. The arrangement position information memory 65 stores the display character position in the display data buffer 66 for each character to be displayed. In the display data buffer 66, display dot pattern data of a plurality of input characters are combined and stored. The display buffer 67 has a video RAM
Display data for one screen for displaying the input document on the display 22 via 24 is stored.

【0026】表示パラメータメモリ68(先頭位置メモ
リに相当する)には、表示データバッファ66における
先頭位置に対するカーソルKの現在位置(絶対位置)を
指示するカーソル絶対位置ポインタ値(カーソル位置メ
モリに相当する)KPA 、ディスプレイバッファ67に出
力する表示データバッファ66における1画面分の表示
データの表示先頭位置を指示する表示先頭位置ポインタ
値TDP 、ディスプレイバッファ67における先頭位置に
対するカーソルKの表示位置を指示するカーソル表示位
置ポインタ値DKP 、ディスプレイ22の左端部に設定さ
れた左移動不許可領域LMの終端を指示するディスプレイ
バッファ67におけるレフトマージンポインタ値LMP 及
びその右端部に設定された右移動不許可領域RMの始端を
指示するディスプレイバッファ67におけるライトマー
ジンポインタ値RMP 、カーソルKの現在位置をテキスト
メモリ61のアドレスに対応させて指示するカーソルポ
インタ値KPが夫々格納される。
The display parameter memory 68 (corresponding to the head position memory) has a cursor absolute position pointer value (corresponding to the cursor position memory) which indicates the current position (absolute position) of the cursor K with respect to the head position in the display data buffer 66. ) KPA, a display start position pointer value TDP indicating the display start position of the display data for one screen in the display data buffer 66 to be output to the display buffer 67, a cursor indicating the display position of the cursor K with respect to the start position in the display buffer 67 The display position pointer value DKP, the left margin pointer value LMP in the display buffer 67 that indicates the end of the left movement prohibited area LM set at the left end of the display 22, and the right movement prohibited area RM set at the right end thereof. Display bar that indicates the starting point Right margin pointer value in file 67 RMP, the current position cursor pointer value KP instructing to correspond to the address of the text memory 61 of the cursor K are respectively stored.

【0027】印刷データバッファ69には、印刷に供す
る複数のキャラクタやバーコードの印刷用ドットパター
ンデータが合成して印刷用ドットイメージデータとして
格納される。フラグメモリ70には、後述する分割位置
演算処理が初回のときにセット(データが「1」)され
る初回フラグ1Fのフラグデータ、文字や記号やバーコ
ードがディスプレイ22の表示行方向に長すぎるため
に、1画面に全体を表示不能な長寸パターンの画面スク
ロール開始時におけるカーソルKの表示位置が、その長
寸パターンの先頭側のときにセットされる先頭側フラグ
TFのフラグデータが格納される。
In the print data buffer 69, print dot pattern data for a plurality of characters and barcodes to be printed are combined and stored as print dot image data. In the flag memory 70, the flag data of the initial flag 1F, which is set (the data is “1”) when the division position calculation process described later is the first time, the characters, the symbols, and the barcode are too long in the display row direction of the display 22. For this reason, the flag data of the head side flag TF set when the display position of the cursor K at the start of screen scrolling of a long pattern that cannot be displayed entirely on one screen is stored. It

【0028】次に、テープ印刷装置1の制御装置Cで行
なわれるテープ印刷制御のルーチンについて、図7〜図
17のフローチャートに基いて説明する。尚、図中符号
Si(i=10、11、12・・・・)は各ステップで
ある。ここで、ディスプレイ22には、図6に示すよう
に、その左端部に所定ドット数分(例えば、16ドット
分)の左移動不許可領域(レフトマージンゾーンLM)が
設定されるとともに、その右端部に所定ドット数分(例
えば、16ドット分)の右移動不許可領域(ライトマー
ジンゾーンRM)が設定され、更にこれら両移動不許可領
域の内側には移動許容領域が設定され、カーソルKはこ
の移動許容領域内で移動可能になっている。従って、レ
フトマージンポインタ値LMP は、ディスプレイバッファ
67における左移動不許可領域LMの終端に対応する所定
値であり、また、ライトマージンポインタ値RMP は、右
移動不許可領域RMの始端に対応する所定値である。但
し、図21以降の各図においては、ディスプレイバッフ
ァ67の表示データがディスプレイ22に表示されるも
のとする。
Next, the tape print control routine executed by the controller C of the tape printer 1 will be described with reference to the flow charts of FIGS. In the figure, reference numeral Si (i = 10, 11, 12, ...) Indicates each step. Here, on the display 22, as shown in FIG. 6, a left movement prohibited area (left margin zone LM) of a predetermined number of dots (for example, 16 dots) is set at the left end and the right end thereof is set. A right movement prohibited area (write margin zone RM) of a predetermined number of dots (for example, 16 dots) is set in the area, and a movement permitted area is set inside both of these movement prohibited areas. It is possible to move within this movement allowable area. Therefore, the left margin pointer value LMP is a predetermined value corresponding to the end of the left movement prohibited area LM in the display buffer 67, and the right margin pointer value RMP is a predetermined value corresponding to the start edge of the right movement prohibited area RM. It is a value. However, in each of the drawings after FIG. 21, it is assumed that the display data of the display buffer 67 is displayed on the display 22.

【0029】キーボード3上の電源キーにより電源が投
入されるとこの制御が開始され、先ずRAM60の各メ
モリ61〜70をクリアし、特にパラメータメモリ62
のカーソル絶対位置ポインタ値KPA 、カーソル表示位置
ポインタ値DKP 、表示先頭位置ポインタ値TDP 及びカー
ソルポインタ値KPの各々に初期値「0」がセットされる
とともに、印刷機構PMを初期化する初期設定処理が実
行される(S10)。次に、テキストメモリ61の先頭の
2バイトに、標準の書式情報データが格納され、ディス
プレイ22に文書入力画面が表示されるとともに、この
入力画面には、標準書式情報の印刷文字サイズに対応す
る表示文字サイズの大きさを有する棒状のカーソルKが
表示される(S11)。例えば、図18に示すように、テ
キストメモリ61の先頭の2バイトには、文字修飾とし
て「修飾なし」、書体番号として「明朝書体」、印刷文
字サイズとして「44pt(ポイント)」・・を含む標
準書式情報が格納される。
When the power is turned on by the power key on the keyboard 3, this control is started, and the memories 61 to 70 of the RAM 60 are cleared first, and the parameter memory 62 in particular is cleared.
Initial setting processing for initializing the printing mechanism PM, while initial value "0" is set in each of the cursor absolute position pointer value KPA, the cursor display position pointer value DKP, the display start position pointer value TDP and the cursor pointer value KP. Is executed (S10). Next, standard format information data is stored in the first 2 bytes of the text memory 61, a document input screen is displayed on the display 22, and this input screen corresponds to the print character size of the standard format information. A rod-shaped cursor K having the size of the displayed character is displayed (S11). For example, as shown in FIG. 18, in the first 2 bytes of the text memory 61, "no modification" is used as the character decoration, "Mincho typeface" is used as the font number, and "44pt (points)" is used as the print character size. Standard format information including is stored.

【0030】次に、テキストメモリ61に格納されたキ
ャラクタを印刷イメージで表示する為に、印刷イメージ
作成処理が実行され(S12)、更に印刷イメージ表示処
理が実行される(S13)。この印刷イメージ表示処理に
ついては説明の都合上、後述することにする。そして、
書式設定キーが操作されたときには(S14・S15:Yes
)、書式情報設定処理制御が実行され(S20)、S12
・S13を経てS14に移行する。この書式情報設定処理制
御においては、文字修飾の種類名や印刷文字サイズや書
体名などの書式設定内容を一括して設定可能な書式設定
画面がディスプレイ22に表示されるので、カーソル移
動キーを操作して、設定項目「文字修飾の種類名」や
「印刷文字サイズ名」や「書体名」にカーソルKを移動
し、所望の設定内容に対応する数字キーを入力した後実
行キーを操作すると、数字で設定された文字修飾番号や
印刷文字サイズのデータを含む書式情報がテキストメモ
リ61に変更書式情報として格納される。
Next, in order to display the character stored in the text memory 61 as a print image, a print image creating process is executed (S12), and a print image displaying process is further executed (S13). This print image display processing will be described later for convenience of description. And
When the format key is operated (S14 / S15: Yes
), Format information setting processing control is executed (S20), S12
・ Go to S14 via S13. In this format information setting process control, a format setting screen in which the format setting contents such as character decoration type name, print character size and typeface name can be collectively set is displayed on the display 22. Therefore, the cursor movement key is operated. Then, when the cursor K is moved to the setting item "character modification type name", "print character size name" or "typeface name", the number key corresponding to the desired setting content is input, and the execute key is operated. Format information including the data of the character modification number and the print character size set by numbers is stored in the text memory 61 as the modified format information.

【0031】次に、アルファベット文字キーや記号キー
や数字キーなどの印刷可能キーが操作されたときには
(S14:Yes 、S15:No、S16:Yes )、操作された印
刷可能キーのコードデータを文書データとしてテキスト
メモリ61に格納する文書データ格納処理が実行され
(S21)、各キャラクタは2バイト構成なので、カーソ
ルポインタKPは2バイト分インクリメントされ(S2
2)、S12・S13を経てS14に移行する。例えば、文字
列「ABC」が入力されたときには、図18に示すよう
に、文字コードA、B、Cが順次格納される。
Next, when a printable key such as an alphabetic character key, a symbol key, or a numeric key is operated (S14: Yes, S15: No, S16: Yes), the code data of the operated printable key is written. Document data storage processing for storing the data in the text memory 61 as data is executed (S21). Since each character has 2 bytes, the cursor pointer KP is incremented by 2 bytes (S2).
2) Go to S14 via S12 and S13. For example, when the character string "ABC" is input, the character codes A, B and C are sequentially stored as shown in FIG.

【0032】次に、バーコードのデータを入力する為に
バーコードキーが操作されたときには(S14:Yes 、S
15・S16:No、S17:Yes )、バーコードデータ入力処
理制御が実行され(S23)、カーソルポインタKPは2バ
イト分インクリメントされ(S22)、S12・S13を経て
S14に移行する。このバーコードデータ入力処理制御に
おいては、例えば、図示外のバーコード規格設定処理制
御により、規格「CODE−39」が選択され、バーコ
ードのデータとして、数字列「12345678901
234567」を入力したときには、バーコードバッフ
ァ63には、図19に示すように、規格名データとチェ
ックデジットのデータと有効桁数データとを含むバーコ
ードパラメータデータBCPD、チェックデジットの有無の
情報データCDI 、先頭コード、開始コード及びスタート
コードSAC (*)、数字列、ストップコードSOC
(*)、終了コード及び末尾コードが格納されるととも
に、テキストメモリ61には、図18に示すように、バ
ーコードのデータが入力されたことを指示するバーコー
ド指示コードBCZ が格納される。
Next, when the bar code key is operated to input the bar code data (S14: Yes, S
15.S16: No, S17: Yes), the bar code data input process control is executed (S23), the cursor pointer KP is incremented by 2 bytes (S22), and the process proceeds to S14 via S12 and S13. In this bar code data input process control, for example, the standard "CODE-39" is selected by a bar code standard setting process control (not shown), and the numeric string "12345678901" is selected as the bar code data.
234567 ”, the bar code buffer 63, as shown in FIG. 19, includes bar code parameter data BCPD including standard name data, check digit data, and effective digit number data, and check digit presence / absence information data. CDI, start code, start code and start code SAC (*), number string, stop code SOC
(*), The end code and the end code are stored, and in the text memory 61, as shown in FIG. 18, a bar code instruction code BCZ for instructing the input of the bar code data is stored.

【0033】次に、S12の印刷イメージ作成処理制御
(図8参照)について説明する。ここで、テキストメモ
リ61には、図18に示すように、文書データとして文
字列「ABC」とバーコードのデータとが格納されてい
るものとする。このときには、図20に示すように、こ
れら文字列「ABC」とバーコードのデータに関する印
刷用ドットパターンデータは印刷データバッファ69に
順次展開され、またそれら文字列及びバーコードに関す
る表示用ドットパターンデータは表示データバッファ6
6に順次展開される。ここで、印刷終了位置 PEGA は文
字「A」の印刷用ドットパターンデータの展開終了位
置、印刷終了位置 PEGB は文字「B」の印刷用ドットパ
ターンデータの展開終了位置、・・印刷終了位置 PEGZ
はバーコードの印刷用ドットパターンデータの展開終了
位置であり、また表示カーソル位置 DKGA は文字「A」
の表示用ドットパターンデータの展開終了位置に対応す
る表示カーソル位置、表示カーソル位置 DKGB は文字
「B」の表示用ドットパターンデータの展開終了位置に
対応する表示カーソル位置、・・表示カーソル位置 DKG
Zはバーコードの表示用ドットパターンデータの展開終
了位置に対応する表示カーソル位置である。尚、印刷終
了位置 PEG0 は印刷データバッファ69の先頭アドレス
であり、また表示カーソル位置 DKG0 は表示データバッ
ファ66の先頭アドレスである。
Next, the print image creation processing control of S12 (see FIG. 8) will be described. Here, it is assumed that the text memory 61 stores a character string "ABC" and barcode data as document data, as shown in FIG. At this time, as shown in FIG. 20, the print dot pattern data relating to the character string "ABC" and the barcode data is sequentially expanded in the print data buffer 69, and the display dot pattern data relating to the character string and the barcode is displayed. Is the display data buffer 6
6 will be developed in sequence. Here, the print end position PEG A is the expansion end position of the printing dot pattern data of the character “A”, the print end position PEG B is the expansion end position of the printing dot pattern data of the character “B”, ... PEG Z
Is the expansion end position of the dot pattern data for printing the barcode, and the display cursor position DKG A is the character "A".
Display cursor position and display cursor position DKG corresponding to the expansion end position of the display dot pattern data for display B is the display cursor position corresponding to the expansion end position of the display dot pattern data for the character "B", ... Display cursor position DKG
Z is the display cursor position corresponding to the expansion end position of the dot pattern data for displaying the barcode. The print end position PEG 0 is the start address of the print data buffer 69, and the display cursor position DKG 0 is the start address of the display data buffer 66.

【0034】この制御が開始されると、先ずテキストメ
モリ61内のデータが先頭アドレスから順次検索され、
書式情報やキャラクタコードや改行コードに基いて、表
示するキャラクタの各々に関して、表示用ドットパター
ンデータを表示データバッファ66に展開する為の配置
位置情報が求められ、その配置位置情報が表示文字位置
DMGとして配置位置情報メモリ65に格納される(S3
0)。即ち、この表示文字位置情報は、例えば、書式情
報やキャラクタコードや改行コードと印刷用ドットパタ
ーンデータとから、各印刷行における文字幅を順次加算
して各キャラクタ毎の印刷時の印刷文字位置が求めら
れ、本実施例では、印刷文字と表示文字の文字幅の比が
3:1であるため、その印刷文字位置の座標値を1/3
倍して、表示文字位置が求められる。
When this control is started, first the data in the text memory 61 is sequentially searched from the head address,
Based on the format information, the character code, and the line feed code, the arrangement position information for expanding the display dot pattern data into the display data buffer 66 is obtained for each character to be displayed, and the arrangement position information is the display character position.
It is stored in the arrangement position information memory 65 as DMG (S3
0). That is, the display character position information is obtained by, for example, sequentially adding the character widths in each print line from the format information, the character code, the line feed code, and the dot pattern data for printing to obtain the print character position at the time of printing for each character. In the present embodiment, since the ratio of the character width of the print character and the display character is 3: 1, the coordinate value of the print character position is 1/3.
The display character position is calculated by multiplying.

【0035】次に、パラメータメモリ62における印刷
処理に関するパラメータ情報を初期化する初期化処理が
実行される(S31)。即ち、パラメータメモリ62にお
いて、先頭アドレスポインタ値SPにはテキストメモリ
61の先頭アドレスがセット(図18参照)され、末尾
アドレスポインタ値EPにはテキストメモリ61の末尾
アドレスの次のアドレスがセット(図18参照)され、
データカウント値DCとして初期値「0」がセットさ
れ、印刷文字サイズSZとして「44pt」がセットさ
れ、更に印刷終了位置 PEGとして初期値「0」がセット
される。
Next, an initialization process for initializing the parameter information relating to the printing process in the parameter memory 62 is executed (S31). That is, in the parameter memory 62, the start address pointer value SP is set to the start address of the text memory 61 (see FIG. 18), and the end address pointer value EP is set to the address next to the end address of the text memory 61 (see FIG. 18). 18),
An initial value "0" is set as the data count value DC, "44pt" is set as the print character size SZ, and an initial value "0" is set as the print end position PEG.

【0036】次に、初回フラグ1Fがリセットされてい
るとき、つまりカーソルKで指示する1単位の表示デー
タが1画面内に収まっているときに(S32:Yes )、書
式情報のデータやキャラクタコードは夫々2バイト構成
であり、先頭アドレスに、データカウント値DCを2倍
したアドレス分を加算した検索アドレスとカーソルポイ
ンタ値KPとが合致しないときには(S33:No)、S35に
移行するが、検索アドレスとカーソルポインタ値KPとが
合致したときには(S33:Yes )、カーソル絶対位置ポ
インタ値KPA には、印刷終了位置 PEGの1/3倍である
表示カーソル位置 DKGの値がセットされる(S34)。
尚、初回フラグ1Fがセットされているとき、つまりカ
ーソル移動キーの操作によるカーソルKの移動時に、カ
ーソルKで指示する1単位の表示データが1画面内に収
まらないときには、実際のカーソル表示位置とカーソル
ポインタ値KPとが合致しないことから(S32:No)、S
33〜S34をスキップしてS35へ移行する。
Next, when the initial flag 1F is reset, that is, when one unit of display data designated by the cursor K is contained within one screen (S32: Yes), the format information data and the character code are set. Each have a 2-byte structure, and when the search address obtained by adding the address obtained by doubling the data count value DC to the start address and the cursor pointer value KP do not match (S33: No), the process proceeds to S35. When the address matches the cursor pointer value KP (S33: Yes), the value of the display cursor position DKG which is 1/3 times the print end position PEG is set in the cursor absolute position pointer value KPA (S34). .
When the first flag 1F is set, that is, when the cursor K is moved by operating the cursor movement key and one unit of display data indicated by the cursor K does not fit within one screen, the actual cursor display position Since the cursor pointer value KP does not match (S32: No), S
Steps 33 to S34 are skipped and the process proceeds to S35.

【0037】次に、その検索アドレスのデータが読込ま
れ(S35)、そのデータが書式情報のデータのときには
(S36:Yes )、その書式情報の印刷文字サイズなどを
パラメータメモリ62に変更して格納する書式情報変更
処理制御が実行される(S38)。次に、データカウント
値DCが1つインクリメントされ(S40)、先頭アドレ
スポインタ値(先頭アドレス)SPに、データカウント
値DCを2倍したアドレス分を加算した検索アドレスと
末尾アドレスポインタ値EPで指示するアドレスとが合
致せず、表示に供するデータがまだテキストメモリ61
に存在するときには(S41:No)、S32以降が繰り返し
て実行される。そして、検索アドレスのデータが、キャ
ラクタやバーコードなどの印刷可能なコードデータのと
きには(S36:No、S37:Yes )、表示用イメージ発生
処理制御(図9参照)が実行される(S39)。
Next, when the data at the search address is read (S35) and the data is format information data (S36: Yes), the print character size of the format information is changed and stored in the parameter memory 62. Format information change processing control is executed (S38). Next, the data count value DC is incremented by 1 (S40), and the start address pointer value (start address) SP is added with the search address obtained by adding the address obtained by doubling the data count value DC and the end address pointer value EP. The address to be displayed does not match and the data to be displayed is still in the text memory 61.
If it exists in (1) (S41: No), S32 and subsequent steps are repeatedly executed. Then, when the data of the search address is printable code data such as characters and bar codes (S36: No, S37: Yes), the display image generation processing control (see FIG. 9) is executed (S39).

【0038】この制御が開始されると、先ず文字サイズ
変換テーブルTB1に基いて、パラメータメモリ62内
の印刷文字サイズに対応する表示文字サイズが読込まれ
(S50)、印刷可能なコードデータがバーコード指示デ
ータBCZ でなく、文字や記号のコードデータときには
(S51:No)、この表示文字サイズと表示文字サーチテ
ーブルとに基いて、その表示文字サイズの一連の文字や
記号のドットパターンデータが格納されている表示用C
GROM53のインデックスアドレスが読込まれ(S5
2)、更にそのインデックスアドレスと表示文字インデ
ックステーブルとコードデータとに基いて、そのコード
データの表示用CGROM53における格納先頭アドレ
スつまりフォント記憶アドレスが読込まれ(S53)、そ
のフォント記憶アドレスに格納されている表示用ドット
パターンデータが表示用CGROM53から読出され、
表示データバッファ66において、印刷文字位置に対応
する表示文字位置に格納される(S54)。しかし、印刷
可能なコードデータがバーコード指示データBCZ のとき
には(S51:Yes )、バーコード規格に基いて、バーコ
ードのモジュールデータが作成され(S56)、S54〜S
55が実行される。
When this control is started, first, the display character size corresponding to the print character size in the parameter memory 62 is read based on the character size conversion table TB1 (S50), and the printable code data is the barcode. If not character data BCZ, but character or symbol code data (S51: No), a series of character and symbol dot pattern data of that display character size is stored based on this display character size and display character search table. C for display
The index address of GROM 53 is read (S5
2) Further, based on the index address, the display character index table and the code data, the storage start address of the code data in the display CGROM 53, that is, the font storage address is read (S53) and stored in the font storage address. The display dot pattern data is read from the display CGROM 53,
In the display data buffer 66, it is stored in the display character position corresponding to the print character position (S54). However, when the printable code data is the bar code designation data BCZ (S51: Yes), the bar code module data is created based on the bar code standard (S56), and S54 to S54.
55 is executed.

【0039】次に、印刷終了位置 PEGには、その文字や
記号などのキャラクタの文字幅Pが加算された値が格納
され(S55)、この制御を終了して、印刷イメージ作成
処理制御のS40にリターンする。次に、印刷イメージ作
成処理制御において、S40を実行後、先頭アドレスSP
に、データカウント値DCを2倍したアドレス分を加算
した検索アドレスと末尾アドレスポインタ値EPで指示
するアドレスとが合致したときには(S41:Yes)、こ
の制御を終了して、テープ印刷制御のS13にリターンす
る。
Next, a value obtained by adding the character width P of the character such as the character or the symbol is stored in the print end position PEG (S55), and this control is ended, and the print image creation processing control of S40 is ended. Return to. Next, in the print image creation processing control, after executing S40, the start address SP
When the search address obtained by adding the address obtained by doubling the data count value DC and the address designated by the end address pointer value EP match (S41: Yes), this control is ended and S13 of the tape printing control is performed. Return to.

【0040】次に、S13の印刷イメージ表示処理制御
(図10参照)について説明する。先ず、テキストメモ
リ61に何れのキャラクタコードが格納されていないと
きについて説明すると、カーソル絶対位置ポインタ値KP
A 、表示先頭位置ポインタ値TDP 、カーソルポインタ値
KP、カーソル表示位置ポインタ値DKP 及び印刷終了位置
PEGの何れも「0」であることから、S60〜S61におい
て何れもNoと判定され且つS62でYes と判定されて、左
スクロール処理制御(図12参照)が実行される(S6
5)。
Next, the print image display processing control of S13 (see FIG. 10) will be described. First, a case where no character code is stored in the text memory 61 will be described. The cursor absolute position pointer value KP
A, display start position pointer value TDP, cursor pointer value
KP, cursor display position Pointer value DKP and print end position
Since all of the PEGs are “0”, it is determined as No in S60 to S61 and Yes in S62, and the left scroll processing control (see FIG. 12) is executed (S6).
Five).

【0041】この制御が開始されたときに、カーソル絶
対位置ポインタ値KPA はライトマージンポインタ値RMP
よりも小さいので(S75:Yes )、表示先頭位置ポイン
タ値TDP には「0」がセットされるとともに、カーソル
表示位置ポインタ値DKP にはカーソル絶対位置ポインタ
値KPA (=0)がセットされ(S77)、この制御を終了
して、印刷イメージ表示処理制御のS67にリターンし、
表示データバッファ66における表示先頭位置ポインタ
値TDP で指示するアドレスから1画面分の表示用ドット
イメージデータが読出されてディスプレイバッファ67
に出力される(S67)。その結果、このディスプレイバ
ッファ67のデータがビデオRAM24を介してディス
プレイ22に何れのキャラクタも表示されない。次に、
ディスプレイバッファ67のカーソル表示位置ポインタ
値DKP で指示するアドレスにカーソルKのイメージデー
タが出力され(S68)、この制御を終了して、テープ印
刷制御のS14にリターンする。その結果、図21に示す
ように、ディスプレイバッファ67の開始位置に2点鎖
線で示すカーソルKのイメージデータが出力されて、デ
ィスプレイ22の左端にカーソルKが表示される。
When this control is started, the cursor absolute position pointer value KPA is equal to the write margin pointer value RMP.
Since this is smaller than (S75: Yes), "0" is set to the display start position pointer value TDP, and the cursor absolute position pointer value KPA (= 0) is set to the cursor display position pointer value DKP (S77). ), Terminates this control, and returns to S67 of the print image display processing control,
The display dot image data for one screen is read from the address designated by the display start position pointer value TDP in the display data buffer 66, and the display buffer 67
Is output to (S67). As a result, no data is displayed in the display buffer 67 on the display 22 via the video RAM 24. next,
The image data of the cursor K is output to the address designated by the cursor display position pointer value DKP of the display buffer 67 (S68), this control is ended, and the process returns to S14 of tape printing control. As a result, as shown in FIG. 21, the image data of the cursor K indicated by the chain double-dashed line is output at the start position of the display buffer 67, and the cursor K is displayed at the left end of the display 22.

【0042】次に、文字「A」が入力されたときには、
カーソルポインタ値KPがインクリメント(S21)される
ので(図18においてKP1 で図示)、印刷終了位置 PEG
はその文字の文字幅P分が加算され(S55)、それに応
じてカーソル絶対位置ポインタ値KPA が変更される(S
34)。その結果、印刷イメージ表示処理制御において、
図21に示すように、カーソル絶対位置ポインタ値KPA
よりも表示先頭位置ポインタ値TDP が小さく(S60:N
o)、これらポイタ値KPA とTDP との差がライトマージ
ンポインタ値RMP よりも小さく(S61:No)、更にこれ
らポイタ値KPA とTDP との差がレフトマージンポインタ
値LMP よりも大きいので(S62:No)、表示画面内カー
ソル移動処理制御(図13参照)が実行される(S6
6)。
Next, when the character "A" is input,
Since the cursor pointer value KP is incremented (S21) (indicated by KP1 in FIG. 18), the print end position PEG
Is added by the character width P of that character (S55), and the cursor absolute position pointer value KPA is changed accordingly (S55).
34). As a result, in the print image display processing control,
As shown in FIG. 21, the cursor absolute position pointer value KPA
The display start position pointer value TDP is smaller than that (S60: N
o), the difference between these pointer values KPA and TDP is smaller than the right margin pointer value RMP (S61: No), and the difference between these pointer values KPA and TDP is larger than the left margin pointer value LMP (S62: No), the cursor movement processing control in the display screen (see FIG. 13) is executed (S6
6).

【0043】この制御が開始されたときに、カーソル絶
対位置ポインタ値KPA よりライトマージンポインタ値RM
P が大きいので(S80:Yes )、表示先頭位置ポインタ
値TDP に「0」がセットされ且つカーソル表示位置ポイ
ンタ値DKP にはカーソル絶対位置ポインタ値KPA がセッ
トされ(S82)、この制御を終了して、印刷イメージ表
示処理制御のS67〜S68が実行される。尚、カーソル絶
対位置ポインタ値KPAがライトマージンポインタ値RMP
以上のときには(S80:No)、カーソル表示位置ポイン
タ値DKP には、カーソル絶対位置ポインタ値KPA から表
示先頭位置ポインタ値TDP を差し引いた値がセットされ
(S81)、この制御を終了する。これにより、図21に
示すように、ディスプレイ22には、その左端部に文字
「A」が表示されるとともに、カーソル表示位置ポイン
タ値DKP で指示する位置にカーソルKが表示される。
When this control is started, the write margin pointer value RM is calculated from the cursor absolute position pointer value KPA.
Since P is large (S80: Yes), "0" is set to the display start position pointer value TDP and the cursor absolute position pointer value KPA is set to the cursor display position pointer value DKP (S82), and this control ends. Then, S67 to S68 of the print image display processing control are executed. The cursor absolute position pointer value KPA is the write margin pointer value RMP.
In the above case (S80: No), the cursor display position pointer value DKP is set to a value obtained by subtracting the display start position pointer value TDP from the cursor absolute position pointer value KPA (S81), and this control is ended. As a result, as shown in FIG. 21, the character "A" is displayed on the left end of the display 22 and the cursor K is displayed at the position designated by the cursor display position pointer value DKP.

【0044】ところで、図22に示すように、入力され
た文字列「AB」がディスプレイ22に表示されるとと
もに、カーソルKが文字「B」の右側に表示されている
ときに、文字「C」が新規に入力されたときには、同様
にして、カーソルポインタ値KPがインクリメントされる
ので(図18においてKP2 で図示)、印刷終了位置 PEG
にはその文字の文字幅P分が加算され(図20に PEGC
で図示) 、それに応じてカーソル絶対位置ポインタ値KP
A が変更される。その結果、印刷イメージ表示処理制御
において、図22に示すように、カーソル絶対位置ポイ
ンタ値KPA よりも表示先頭位置ポインタ値TDP が小さい
が(S60:No)、これらポイタ値KPA とTDP との差がラ
イトマージンポインタ値RMP よりも大きいので(S61:
Yes )、右スクロール処理制御(図11参照)が実行さ
れる(S64)。
By the way, as shown in FIG. 22, when the input character string "AB" is displayed on the display 22 and the cursor K is displayed on the right side of the character "B", the character "C" is displayed. Is newly input, the cursor pointer value KP is similarly incremented (indicated by KP2 in FIG. 18).
Is added with the character width P of the character (see PEG C
), And the corresponding cursor absolute position pointer value KP
A is changed. As a result, in the print image display processing control, as shown in FIG. 22, the display start position pointer value TDP is smaller than the cursor absolute position pointer value KPA (S60: No), but the difference between these pointer values KPA and TDP is Since it is larger than the write margin pointer value RMP (S61:
Yes), right scroll processing control (see FIG. 11) is executed (S64).

【0045】この制御が開始され、表示先頭位置ポイン
タ値TDP には、カーソル絶対位置ポインタ値KPA から右
スクロール所定位置(カーソル復帰位置に相当し、例え
ば、移動許容領域の右端)RSP を差し引いた値がセット
され、またカーソル表示位置ポインタ値DKP には、カー
ソル絶対位置ポインタ値KPA から表示先頭位置ポインタ
値TDP を差し引いた値がセットされ(S70)、この制御
を終了して、印刷イメージ表示処理制御のS67〜S68が
実行される。これにより、図23に示すように、表示画
面が右スクロールされて、ディスプレイ22には、その
右端部に文字「C」が表示されるとともに、右スクロー
ル所定位置RSP で指示する位置にカーソルKが表示され
る。
When this control is started, the display head position pointer value TDP is a value obtained by subtracting the right scroll predetermined position (corresponding to the cursor return position, for example, the right end of the movement allowable area) RSP from the cursor absolute position pointer value KPA. Is set, and the cursor display position pointer value DKP is set to a value obtained by subtracting the display start position pointer value TDP from the cursor absolute position pointer value KPA (S70), and this control is ended to control the print image display processing. S67 to S68 are executed. As a result, as shown in FIG. 23, the display screen is scrolled to the right, the character "C" is displayed at the right end of the display 22, and the cursor K is moved to the position designated by the right scroll predetermined position RSP. Is displayed.

【0046】ところで、文字列「ABC」に加えてバー
コードのデータが入力されたときには(図18のバーコ
ード指示データBCZ 及びカーソルポインタ値KP2 参
照)、同様にして、図24に示すように、表示データバ
ッファ66に展開されたバーコードの表示用イメージデ
ータのうちの末尾部分がディスプレイ22に表示される
とともに、カーソルKがそのバーコードの右端に表示さ
れる。ここで、テープ印刷制御の実行中に、カーソル左
移動キーが1回操作されたときには(S14:Yes 、S15
〜S17:No、S18:Yes )、カーソル絶対位置演算処理
制御(図14参照)が実行される(S24)。この制御が
開始されたときに、この演算処理の実行が最初であり、
初回フラグ1Fがリセットされているときには(S90:
Yes )、表示分割位置演算処理制御(図15参照)が実
行される(S91)。
By the way, when bar code data is input in addition to the character string "ABC" (see bar code designation data BCZ and cursor pointer value KP2 in FIG. 18), similarly, as shown in FIG. The end portion of the bar code display image data expanded in the display data buffer 66 is displayed on the display 22, and the cursor K is displayed at the right end of the bar code. Here, when the cursor left movement key is operated once during execution of the tape print control (S14: Yes, S15
Up to S17: No, S18: Yes), cursor absolute position calculation processing control (see FIG. 14) is executed (S24). When this control is started, the execution of this arithmetic processing is the first,
When the initial flag 1F is reset (S90:
Yes), display division position calculation processing control (see FIG. 15) is executed (S91).

【0047】この制御が開始されると、先ず表示データ
バッファ66において、カーソル移動キーの種類に基づ
くカーソル移動方向(この場合は左方向)の1単位の表
示用イメージデータの表示行方向のパターン寸法CW(図
24参照)が演算される(S97)。次に、このパターン
寸法CWがディスプレイ22の移動許容領域に対応する表
示可能幅寸法DW(図6参照)よりも大きいとき、つまり
そのパターンが、1画面に全体を表示不能な長寸パター
ンのときには(S98:No)、パターン寸法CWを表示可能
幅寸法DWで割り算し、その商Uと余りVとが求められ
(S99)、その余りVが「0」でないときに限って(S
100 :No)、その商Uに「1」が加算される(S101
)。即ち、Uは分割数に相当する。
When this control is started, first, in the display data buffer 66, the pattern size in the display row direction of one unit of display image data in the cursor movement direction (left direction in this case) based on the type of cursor movement key. CW (see FIG. 24) is calculated (S97). Next, when the pattern dimension CW is larger than the displayable width dimension DW (see FIG. 6) corresponding to the movement allowable area of the display 22, that is, when the pattern is a long pattern that cannot be entirely displayed on one screen. (S98: No), the pattern dimension CW is divided by the displayable width dimension DW to obtain the quotient U and the remainder V (S99), and only when the remainder V is not "0" (S98).
100: No), "1" is added to the quotient U (S101
). That is, U corresponds to the number of divisions.

【0048】次に、パターン寸法CWをその分割数Uで割
り算して、表示に供する1回分の分割幅BW、即ちこの分
割幅BW毎の複数の分割位置BPが求められ、その分割幅デ
ータBWがRAM60のワークメモリに格納される(S10
2 )。ところで、パターン寸法CWが表示可能幅寸法DW以
下のときには(S98:Yes )、分割幅BWとしてパターン
寸法CWがセットされ(S103 )、分割数Uに「1」がセ
ットされ(S104 )、S15に移行する。次に、回数カウ
ンタのカウント値Iとして初期値「0」がセットされ、
初回フラグ1Fがセットされる(S105 )。次に、カー
ソル移動キーの種類と、その長寸パターンとカーソルK
との位置関係とに基いて、カーソルKがその長寸パター
ンの先頭側に位置するときには(S106 :Yes )、先頭
側フラグTFがセットされ(S107 )、又はカーソルK
がその長寸パターンの末尾側に位置するときには(S10
6 :No)、先頭側フラグTFがリセットされ(S108
)、この制御を終了して、カーソル絶対位置演算処理
制御のS92にリターンする。
Next, the pattern size CW is divided by the number of divisions U to obtain a division width BW for one display, that is, a plurality of division positions BP for each division width BW, and the division width data BW. Is stored in the work memory of the RAM 60 (S10
2). By the way, when the pattern dimension CW is equal to or smaller than the displayable width dimension DW (S98: Yes), the pattern dimension CW is set as the division width BW (S103), the division number U is set to "1" (S104), and S15 is set. Transition. Next, the initial value “0” is set as the count value I of the number of times counter,
The first flag 1F is set (S105). Next, the type of cursor movement key, its long pattern and cursor K
When the cursor K is located on the head side of the long pattern (S106: Yes), the head side flag TF is set (S107) or the cursor K
Is located at the end of the long pattern (S10
6: No), the head side flag TF is reset (S108
), And terminates this control, and returns to S92 of cursor absolute position calculation processing control.

【0049】そして、そのカーソル絶対位置演算処理制
御において、カーソル左移動キーが操作されたときには
(S92:No)、左方カーソル絶対位置更新処理制御(図
16参照)が実行される(S93)。この制御が開始され
ると、先ずカーソル絶対位置ポインタ値KPA には、カー
ソル絶対位置ポインタ値KPA から分割幅BWを差し引いた
第1分割位置BP(図24にBP1 で図示)がセットされ、
更にカウント値Iが1つデクリメントされる(S110
)。次に、先頭側フラグTFがリセットされていると
きに(S111 :No)、カウント値Iと分割数Uの符号を
反転した値−Uとが合致しないとき(S116 :No)、或
いは先頭側フラグTFがセットされていても(S111 :
Yes )、カーソル右移動キーやカーソル左移動キーの組
合せ操作の結果、カウント値Iが「−1」でないとき
(S112 :No)、つまり長寸パターンの画面スクロール
による全体表示が完了していないときには、この制御及
びカーソル絶対位置演算処理制御を終了して、テープ印
刷制御のS12にリターンする。
In the cursor absolute position calculation processing control, when the cursor left movement key is operated (S92: No), the left cursor absolute position update processing control (see FIG. 16) is executed (S93). When this control is started, first, the cursor absolute position pointer value KPA is set to the first division position BP (illustrated by BP1 in FIG. 24) obtained by subtracting the division width BW from the cursor absolute position pointer value KPA,
Further, the count value I is decremented by 1 (S110.
). Next, when the head side flag TF is reset (S111: No), when the count value I and the value −U obtained by inverting the sign of the division number U do not match (S116: No), or the head side flag Even if TF is set (S111:
Yes), when the count value I is not "-1" as a result of the combination operation of the cursor right movement key and the cursor left movement key (S112: No), that is, when the whole display by the screen scroll of the long pattern is not completed. The control and the cursor absolute position calculation processing control are ended, and the process returns to S12 of the tape printing control.

【0050】しかし、先頭側フラグTFがリセットされ
ているときに(S111 :No)、カウント値Iと分割数の
符号を反転した値−Uとが合致したとき(S116 :Yes
)、或いは先頭側フラグTFがセットされていても
(S111 :Yes )、カウント値Iが「−1」のとき(S
112 :Yes )、つまり長寸パターンの画面スクロールに
よる全体表示が完了したときに、カーソルポインタ値KP
が先頭アドレスポインタ値SPに合致しないときには
(S113 :No)、カーソルポインタ値KPが2つデクリメ
ントされ(S114 )、更に初回フラグ1Fがリセットさ
れ(S115 )、この制御を終了して、同様に前記テープ
印刷制御のS12にリターンする。
However, when the head side flag TF is reset (S111: No), when the count value I and the value -U obtained by inverting the sign of the division number match (S116: Yes).
), Or even if the head side flag TF is set (S111: Yes), when the count value I is "-1" (S111: Yes).
112: Yes), that is, when the entire display by scrolling the long pattern screen is completed, the cursor pointer value KP
Does not match the head address pointer value SP (S113: No), the cursor pointer value KP is decremented by two (S114), the first flag 1F is further reset (S115), and this control is terminated, and the same as above. The process returns to S12 of tape print control.

【0051】そして、前述したように、印刷イメージ作
成処理(S12)と印刷イメージ表示処理(S13)とが実
行される。即ち、図24に示すように、表示データバッ
ファ66に展開されたバーコードの表示用イメージデー
タのうちの末尾部分がディスプレイ22に表示されると
ともに、カーソルKがそのバーコードの右端に表示され
ているときに、カーソル左移動キーが1回操作されたと
きには、バーコードの表示用イメージデータが長寸パタ
ーンであることから、このパターン寸法CWと表示可能幅
寸法DWとから、分割幅BWと分割数U「5」と分割位置
「BP1 〜BP4 」が求められ、新規のカーソル絶対位置ポ
インタ値KPA には、第1分割位置BP1 に対応する〔KPA
〕で指示する値がセットされる。その結果、印刷イメ
ージ作成処理制御のS32においてNoと判定されて、S33
〜S34がスキップされ、印刷イメージ表示処理制御にお
いて、S60・S61でNoと判定され且つS62でYes と判定
され、左スクロール処理制御が実行される(S65)。
Then, as described above, the print image creation process (S12) and the print image display process (S13) are executed. That is, as shown in FIG. 24, the end portion of the bar code display image data expanded in the display data buffer 66 is displayed on the display 22, and the cursor K is displayed on the right end of the bar code. While the cursor left move key is operated once, the display image data of the bar code is a long pattern. Therefore, the pattern width CW and the displayable width dimension DW are divided into the division width BW and the division width BW. The number U "5" and the division positions "BP1 to BP4" are obtained, and the new cursor absolute position pointer value KPA corresponds to the first division position BP1 [KPA
] The value indicated by is set. As a result, it is determined No in S32 of the print image creation processing control, and S33
Steps S34 to S34 are skipped, and in the print image display processing control, it is determined No in S60 and S61 and Yes in S62, and the left scroll processing control is executed (S65).

【0052】この制御が開始されたときに、カーソル絶
対位置ポインタ値KPA はライトマージンポインタ値RMP
よりも大きいので(S75:No)、表示先頭位置ポインタ
値TDP には、カーソル絶対位置ポインタ値KPA から左ス
クロール所定位置LSP (例えば、移動許容領域の右端)
を差し引いた値がセットされ、またカーソル表示位置ポ
インタ値DKP には、カーソル絶対位置ポインタ値KPA か
ら表示先頭位置ポインタ値TDP を差し引いた値がセット
され(S76)、この制御を終了して、印刷イメージ表示
処理制御のS67〜S68が実行される。これにより、図2
5に示すように、表示画面が左スクロールされて、ディ
スプレイ22には、その分割位置BP1 が左スクロール所
定位置LSP で指示する位置となるようにバーコードの後
ろから2画面目のバーコード部分が表示されるととも
に、その左スクロール所定位置LSPにカーソルKが表示
される。
When this control is started, the cursor absolute position pointer value KPA is equal to the write margin pointer value RMP.
(S75: No), the display start position pointer value TDP has a left scroll predetermined position LSP from the cursor absolute position pointer value KPA (for example, the right end of the movement allowable area).
Is set, and the cursor display position pointer value DKP is set to the value obtained by subtracting the display start position pointer value TDP from the cursor absolute position pointer value KPA (S76). S67 to S68 of the image display processing control are executed. As a result, FIG.
As shown in FIG. 5, the display screen is scrolled to the left, and the bar code portion of the second screen from the back of the bar code is displayed on the display 22 so that the divided position BP1 is the position designated by the left scroll predetermined position LSP. While being displayed, the cursor K is displayed at the left scroll predetermined position LSP.

【0053】そして、左カーソル移動キーが更に操作さ
れたときには、同様にして、図25に示すように、新規
のカーソル絶対位置ポインタ値KPA には、第2分割位置
BP2に対応する〔KPA 〕で指示する値がセットされ、印
刷イメージ表示処理制御において、左スクロール処理制
御が再度実行される。その結果、図26に示すように、
表示画面が左スクロールされて、ディスプレイ22に
は、その分割位置BP2 が左スクロール所定位置LSP で指
示する位置となるようにバーコードの後ろから3画面目
のバーコード部分が表示されるとともに、その左スクロ
ール所定位置LSPにカーソルKが表示される。
Then, when the left cursor movement key is further operated, similarly, as shown in FIG. 25, the new cursor absolute position pointer value KPA is set to the second division position.
The value designated by [KPA] corresponding to BP2 is set, and the left scroll processing control is executed again in the print image display processing control. As a result, as shown in FIG.
The display screen is scrolled to the left and the bar code portion of the third screen from the back of the bar code is displayed on the display 22 so that the divided position BP2 is the position designated by the left scroll predetermined position LSP. The cursor K is displayed at the left scroll predetermined position LSP.

【0054】更に、左カーソル移動キーが更に操作され
たときには、同様にして、図26に示すように、新規の
カーソル絶対位置ポインタ値KPA には、第3分割位置BP
3 に対応する〔KPA 〕で指示する値がセットされ、印刷
イメージ表示処理制御において、左スクロール処理制御
が再度実行される。その結果、図27に示すように、表
示画面が左スクロールされて、ディスプレイ22には、
その分割位置BP3 が左スクロール所定位置LSP で指示す
る位置となるようにバーコードの後ろから4画面目のバ
ーコード部分が表示されるとともに、その左スクロール
所定位置LSP にカーソルKが表示される。
Further, when the left cursor movement key is further operated, similarly, as shown in FIG. 26, the new cursor absolute position pointer value KPA is set to the third division position BP.
The value designated by [KPA] corresponding to 3 is set, and in the print image display processing control, the left scroll processing control is executed again. As a result, the display screen is scrolled to the left as shown in FIG.
The bar code portion of the fourth screen from the back of the bar code is displayed so that the divided position BP3 becomes the position designated by the left scroll predetermined position LSP, and the cursor K is displayed at the left scroll predetermined position LSP.

【0055】更に、左カーソル移動キーが更に操作され
たときには、同様にして、図27に示すように、新規の
カーソル絶対位置ポインタ値KPA には、第4分割位置BP
4 に対応する〔KPA 〕で指示する値がセットされ、印刷
イメージ表示処理制御において、左スクロール処理制御
が再度実行される。その結果、図28に示すように、表
示画面が左スクロールされて、ディスプレイ22には、
その分割位置BP4 が左スクロール所定位置LSP で指示す
る位置となるようにバーコードの後ろから5画面目つま
り先頭のバーコード部分が表示されるとともに、その左
スクロール所定位置LSP にカーソルKが表示される。
Further, when the left cursor movement key is further operated, similarly, as shown in FIG. 27, the new cursor absolute position pointer value KPA is set to the fourth division position BP.
The value designated by [KPA] corresponding to 4 is set, and in the print image display processing control, the left scroll processing control is executed again. As a result, the display screen is scrolled to the left as shown in FIG.
The fifth screen from the back of the bar code, that is, the first bar code portion is displayed so that the divided position BP4 is the position designated by the left scroll predetermined position LSP, and the cursor K is displayed at the left scroll predetermined position LSP. It

【0056】更に、左カーソル移動キーが更に操作され
たときには、同様にして、図28に示すように、新規の
カーソル絶対位置ポインタ値KPA には、バーコードの先
頭位置に対応する〔KPA 〕で指示する値がセットされ、
印刷イメージ表示処理制御において、左スクロール処理
制御が再度実行される。その結果、図29に示すよう
に、表示画面が左スクロールされて、ディスプレイ22
には、バーコードよりも前側の文字列が表示されるとと
もに、左スクロール所定位置LSP にカーソルKが表示さ
れる。
Further, when the left cursor moving key is further operated, similarly, as shown in FIG. 28, the new cursor absolute position pointer value KPA is [KPA] corresponding to the head position of the bar code. The indicated value is set,
In the print image display processing control, the left scroll processing control is executed again. As a result, the display screen is scrolled to the left as shown in FIG.
Displays a character string on the front side of the bar code and also displays a cursor K at the left scroll predetermined position LSP.

【0057】ところで、テープ印刷制御の実行中に、デ
ィスプレイ22には、図29に図示のように表示されて
いるときに、カーソル右移動キーが1回操作されたとき
には(S14:Yes 、S15〜S17:No、S18:Yes )、カ
ーソル絶対位置演算処理制御が実行される(S24)。こ
の制御が開始されたときに、この演算処理の実行が最初
であり、初回フラグ1Fがリセットされているときには
(S90:Yes )、表示分割位置演算処理制御が実行され
る(S91)。そして、カーソル右移動キーが操作された
ときには(S92:Yes )、右方カーソル絶対位置更新処
理制御(図17参照)が実行される(S94)。
By the way, while the tape print control is being executed, when the cursor right move key is operated once while the display 22 is displayed as shown in FIG. 29 (S14: Yes, S15 ... (S17: No, S18: Yes), the cursor absolute position calculation processing control is executed (S24). When this control is started, this arithmetic processing is executed first, and when the initial flag 1F is reset (S90: Yes), the display division position arithmetic processing control is executed (S91). Then, when the cursor right movement key is operated (S92: Yes), the right cursor absolute position update processing control (see FIG. 17) is executed (S94).

【0058】この制御が開始されると、先ずカーソル絶
対位置ポインタ値KPA には、カーソル絶対位置ポインタ
値KPA に分割幅BWを加算した第1分割位置BP(図29に
BP4で図示)がセットされ、更にカウント値Iが1つイ
ンクリメントされる(S120)。次に、先頭側フラグT
Fがリセットされているときに(S121 :No)、カウン
ト値Iが「1」でないとき(S126 :No)、或いは先頭
側フラグTFがセットされていても(S121 :Yes )、
カーソル右移動キーやカーソル左移動キーの組合せ操作
の結果、カウント値Iが分割数Uに合致しないとき(S
122 :No)、つまり長寸パターンの画面スクロールによ
る全体表示が完了していないときには、この制御及びカ
ーソル絶対位置演算処理制御を終了して、テープ印刷制
御のS12にリターンする。
When this control is started, the cursor absolute position pointer value KPA is first divided position BP obtained by adding the cursor absolute position pointer value KPA to the division width BW (see FIG. 29).
(Indicated by BP4) is set, and the count value I is further incremented by 1 (S120). Next, the head side flag T
When F is reset (S121: No), when the count value I is not "1" (S126: No), or even when the head side flag TF is set (S121: Yes),
When the count value I does not match the division number U as a result of the combination operation of the cursor right movement key and the cursor left movement key (S
122: No), that is, when the entire display by scrolling the long pattern screen is not completed, this control and the cursor absolute position calculation processing control are ended, and the process returns to S12 of the tape printing control.

【0059】しかし、先頭側フラグTFがリセットされ
ているときに(S121 :No)、カウント値Iが「1」の
とき(S126 :Yes )、或いは先頭側フラグTFがセッ
トされていても(S121 :Yes )、カウント値Iが分割
数Uに合致したとき(S122:Yes )、つまり長寸パタ
ーンの画面スクロールによる全体表示が完了したとき
に、カーソルポインタ値KPが末尾アドレスポインタ値E
Pに合致しないときには(S123 :No)、カーソルポイ
ンタ値KPが2つインクリメントされ(S124 )、更に初
回フラグ1Fがリセットされ(S125 )、この制御を終
了して、同様に前記テープ印刷制御のS12にリターンす
る。
However, when the leading side flag TF is reset (S121: No), when the count value I is "1" (S126: Yes), or even when the leading side flag TF is set (S121: No). : Yes), when the count value I matches the number of divisions U (S122: Yes), that is, when the entire display by scrolling the long pattern screen is completed, the cursor pointer value KP is set to the end address pointer value E.
When it does not match P (S123: No), the cursor pointer value KP is incremented by two (S124), the first flag 1F is further reset (S125), this control is ended, and similarly, S12 of the tape printing control is performed. Return to.

【0060】そして、前述したように、印刷イメージ作
成処理(S12)と印刷イメージ表示処理(S13)とが実
行される。即ち、図29に示すように、カーソルKがそ
のバーコードの先頭に位置して表示されているときに、
カーソル右移動キーが1回操作されたときには、バーコ
ードの表示用イメージデータが長寸パターンであること
から、このパターン寸法CWと表示可能幅寸法DWとから、
分割幅BWと分割数U「5」と分割位置「BP1 〜BP4」が
求められ、新規のカーソル絶対位置ポインタ値KPA に
は、第4分割位置BP4に対応する〔KPA 〕で指示する値
がセットされる。その結果、印刷イメージ作成処理制御
のS32においてNoと判定されて、S33〜S34がスキップ
され、印刷イメージ表示処理制御において、S60でNoと
判定され且つS61でYes と判定され、右スクロール処理
制御が実行される(S64)。
Then, as described above, the print image creation process (S12) and the print image display process (S13) are executed. That is, as shown in FIG. 29, when the cursor K is displayed at the beginning of the bar code,
When the cursor right move key is operated once, since the image data for displaying the barcode is a long pattern, from this pattern dimension CW and the displayable width dimension DW,
The division width BW, the division number U "5", and the division positions "BP1 to BP4" are obtained, and the new cursor absolute position pointer value KPA is set to the value designated by [KPA] corresponding to the fourth division position BP4. To be done. As a result, it is determined No in S32 of the print image creation processing control, S33 to S34 are skipped, and in the print image display processing control, No is determined in S60 and Yes in S61, and the right scroll processing control is performed. It is executed (S64).

【0061】これにより、図28に示すように、表示画
面が右スクロールされて、ディスプレイ22には、その
分割位置BP4 が右スクロール所定位置RSP で指示する位
置となるようにバーコードの前ろから1画面目のバーコ
ード部分が表示されるとともに、その右スクロール所定
位置RSP にカーソルKが表示される。以下同様にして、
カーソル右移動キーが操作される毎に、図28→図27
→図26→図25→図24と順次表示画面が右スクロー
ルされて、バーコードが分割表示によりその全体が表示
される。
As a result, as shown in FIG. 28, the display screen is scrolled to the right, and the display 22 is moved from the front of the bar code so that the divided position BP4 becomes the position designated by the right scroll predetermined position RSP. The bar code portion of the first screen is displayed, and the cursor K is displayed at the right scroll predetermined position RSP. And so on
Each time the cursor right move key is operated, FIG. 28 → FIG. 27
→ FIG. 26 → FIG. 25 → FIG. 24 The display screen is sequentially scrolled to the right, and the entire bar code is displayed in a divided display.

【0062】一方、図30に示すように、バーコードに
代えて長寸の記号「手」がディスプレイ22に表示され
ているときに、カーソル左移動キーが操作されると、同
様にして、分割幅BWと分割数U「3」とが求められ、そ
の後、カーソル左移動キーの操作毎に、図31→図32
に示すように、分割位置BP1 、BP2 に基いて順次表示画
面が左スクロールされて、記号「手」が分割表示により
その全体が表示される。
On the other hand, as shown in FIG. 30, when the cursor left move key is operated while the long symbol "hand" is displayed on the display 22 instead of the bar code, the same division is performed. The width BW and the number of divisions U “3” are obtained, and thereafter, each time the cursor left movement key is operated, FIG.
As shown in, the display screen is sequentially scrolled to the left based on the division positions BP1 and BP2, and the symbol "hand" is entirely displayed in the division display.

【0063】次に、テープ印刷制御において、印刷キー
が操作されたときには(S14:Yes、S15〜S18:No、
S19:Yes )、印刷処理制御が実行され(S25)、S12
・S13を経てS14に戻る。この印刷処理制御は通常の印
刷処理と同様なので簡単に説明すると、テキストメモリ
61から書式情報やキャラクタコードが順次読出され、
印刷文字サーチテーブルと印刷文字インデックステーブ
ルとに基いて、その文字コードの印刷用CGROM54
における印刷用ドットパターンデータが読出されて印刷
データバッファ69に展開して合成格納され、この印刷
データバッファ69の印刷用ドットイメージデータが印
刷機構PMに出力され、印刷テープ19に印刷される。
ところで、書式設定キー、印刷可能キー、バーコードキ
ー、カーソル右・左移動キー及び印刷キー以外のキーが
操作されたときには(S14:Yes 、S15〜S19:No)、
その操作されたキーに対応する処理が実行され(S2
6)、S12・S13を経てS14に戻る。
Next, in the tape print control, when the print key is operated (S14: Yes, S15 to S18: No,
S19: Yes), print processing control is executed (S25), S12
・ Return to S14 via S13. Since this print processing control is similar to the normal print processing, a brief description will be given. Format information and character codes are sequentially read from the text memory 61.
Based on the print character search table and the print character index table, the CGROM 54 for printing the character code
The dot pattern data for printing is read out, expanded in the print data buffer 69, and combined and stored. The dot image data for printing in the print data buffer 69 is output to the printing mechanism PM and printed on the print tape 19.
By the way, when a key other than the format setting key, the printable key, the bar code key, the cursor right / left movement key, and the print key is operated (S14: Yes, S15 to S19: No),
The process corresponding to the operated key is executed (S2
6) Go through S12 and S13 and return to S14.

【0064】以上説明したように、入力された記号やバ
ーコードなどのうち1画面(表示可能幅寸法DW)より長
い長寸パターンについては、表示可能幅寸法DW以下の長
さとする1又は複数の分割位置BPが演算で求められ、左
方又は右方へのカーソル移動指令が入力された結果、カ
ーソルKがディスプレイ22上の移動許容領域から外れ
たときには、カーソルK及びその分割位置BPがディスプ
レイ22上の移動許容領域の右スクロール所定位置RSP
又は左スクロール所定位置LSP のカーソル復帰位置に位
置するように、右スクロール又は左スクロールした表示
先頭位置が決定され、この表示先頭位置から1画面分の
表示データが表示されるとともに、カーソルKがその移
動許容領域のカーソル復帰位置に表示されることにな
り、分割表示によりその長寸パターン全体を表示するこ
とができる。
As described above, for a long pattern which is longer than one screen (displayable width dimension DW) among the inputted symbols or bar codes, one or a plurality of lengths which are equal to or less than the displayable width dimension DW are set. When the cursor K is out of the movement allowable area on the display 22 as a result of the calculation of the division position BP and the input of the cursor movement command to the left or right, the cursor K and the division position BP are displayed on the display 22. Right scroll of upper movement allowable area RSP
Alternatively, the display start position of the right scroll or the left scroll is determined so as to be positioned at the cursor return position of the left scroll predetermined position LSP, and the display data for one screen is displayed from this display start position, and the cursor K moves to that position. Since it is displayed at the cursor return position in the movement allowable area, the entire long pattern can be displayed by the divided display.

【0065】ここで、特許請求の範囲に記載した各手段
と、上記実施例中の構成との対応関係について説明する
と、パターン判別手段に相当するものは、表示分割位置
演算処理制御の特にS97〜S98であり、分割位置決定手
段に相当するものは、表示分割位置演算処理制御の特に
S99〜S102 であり、カーソル判定手段に相当するもの
は、印刷イメージ表示処理制御の特にS60〜S62であ
り、先頭位置決定手段に相当するものは、印刷イメージ
表示処理制御の特にS64〜S68である。
Here, the correspondence between each means described in the claims and the configuration in the above-mentioned embodiment will be explained. The means corresponding to the pattern discriminating means is the display division position arithmetic processing control, particularly S97-. S98, which corresponds to the dividing position determining means, particularly S99 to S102 of the display dividing position calculation processing control, and that which corresponds to the cursor determining means, especially S60 to S62 of the print image display processing control, The head position determination means corresponds to the print image display processing control, particularly S64 to S68.

【0066】尚、長寸パターンか否かを判定する表示可
能幅寸法DWは、ディスプレイ22の表示幅寸法でも良
く、また任意の幅寸法であってもよい。尚、右スクロー
ル所定位置RSP や左スクロール所定位置LSP を移動許容
領域の右半部の任意の位置に夫々設定してもよい。尚、
本発明の技術的思想の範囲内において、前記実施例の制
御に関し、既存の技術や当業者に自明の技術に基いて種
々の変更を加えることもあり得る。尚、キーボードやデ
ィスプレイを備えたワードプロセッサなどの種々の文書
処理装置に本発明を適用し得ることは勿論である。
The displayable width dimension DW for determining whether or not the pattern is a long pattern may be the display width dimension of the display 22 or may be any width dimension. The right scroll predetermined position RSP and the left scroll predetermined position LSP may be set to arbitrary positions in the right half portion of the movement allowance region. still,
Within the scope of the technical idea of the present invention, various modifications may be made to the control of the embodiment based on the existing technology or the technology obvious to those skilled in the art. It is needless to say that the present invention can be applied to various document processing devices such as a word processor equipped with a keyboard and a display.

【0067】[0067]

【発明の効果】請求項1に係る文書処理装置によれば、
パターン判別手段と、分割位置決定手段と、カーソル判
定手段と、先頭位置決定手段とを設け、入力された1画
面の長さより長い長寸パターンについては、1画面長以
下の長さとする1又は複数の分割位置が演算で求めら
れ、左方又は右方へのカーソル移動指令が入力された結
果、カーソルがディスプレイ上の所定の移動許容領域か
ら外れたときには、カーソル及びその分割位置がディス
プレイ上の移動許容領域の少なくとも右半部分に設定さ
れた所定のカーソル復帰位置に位置するように、右スク
ロール又は左スクロールした表示先頭位置が決定され、
この表示先頭位置から1画面分の表示データが表示され
るとともに、カーソルがその移動許容領域のカーソル復
帰位置に表示されることになり、分割表示によりその長
寸パターン全体を表示することができる。
According to the document processing apparatus of the first aspect,
A pattern determining means, a division position determining means, a cursor determining means, and a head position determining means are provided, and a long pattern longer than the input length of one screen has a length of one screen or less. When the cursor is out of the specified movement allowable area on the display as a result of the cursor moving command to the left or right being input, the cursor and its dividing position are moved on the display. The display start position after scrolling right or left is determined so as to be located at a predetermined cursor return position set in at least the right half portion of the allowable area,
Display data for one screen is displayed from this display start position, and the cursor is displayed at the cursor return position in the movement allowable area, and the entire long pattern can be displayed by the split display.

【図面の簡単な説明】[Brief description of drawings]

【図1】請求項1の構成を示す機能ブロック図である。FIG. 1 is a functional block diagram showing the configuration of claim 1.

【図2】テープ印刷装置の斜視図である。FIG. 2 is a perspective view of a tape printer.

【図3】テープカセットを装着した印刷機構の概略平面
図である。
FIG. 3 is a schematic plan view of a printing mechanism equipped with a tape cassette.

【図4】テープ印刷装置の制御系のブロック図である。FIG. 4 is a block diagram of a control system of the tape printer.

【図5】文字サイズ変換テーブルの設定内容を説明する
図表である。
FIG. 5 is a diagram illustrating setting contents of a character size conversion table.

【図6】ディスプレイ上に設定された移動許容領域を説
明する説明図である。
FIG. 6 is an explanatory diagram illustrating a movement allowable area set on a display.

【図7】テープ印刷制御のルーチンの概略フローチャー
トである。
FIG. 7 is a schematic flowchart of a tape printing control routine.

【図8】印刷イメージ作成処理制御のルーチンの概略フ
ローチャートである。
FIG. 8 is a schematic flowchart of a print image creation process control routine.

【図9】表示用イメージ発生処理制御のルーチンの概略
フローチャートである。
FIG. 9 is a schematic flowchart of a routine of display image generation processing control.

【図10】印刷イメージ表示処理制御のルーチンの概略
フローチャートである。
FIG. 10 is a schematic flowchart of a print image display processing control routine.

【図11】右スクロール処理制御のルーチンの概略フロ
ーチャートである。
FIG. 11 is a schematic flowchart of a right scroll process control routine.

【図12】左スクロール処理制御のルーチンの概略フロ
ーチャートである。
FIG. 12 is a schematic flowchart of a routine for left scroll processing control.

【図13】表示画面内カーソル移動処理制御のルーチン
の概略フローチャートである。
FIG. 13 is a schematic flowchart of a routine for controlling cursor movement processing within a display screen.

【図14】カーソル絶対位置演算処理制御のルーチンの
概略フローチャートである。
FIG. 14 is a schematic flowchart of a routine of cursor absolute position calculation processing control.

【図15】表示分割位置演算処理制御のルーチンの概略
フローチャートである。
FIG. 15 is a schematic flowchart of a routine for display division position calculation processing control.

【図16】左方カーソル絶対位置更新処理制御のルーチ
ンの概略フローチャートである。
FIG. 16 is a schematic flowchart of a routine for processing for updating the left cursor absolute position.

【図17】右方カーソル絶対位置更新処理制御のルーチ
ンの概略フローチャートである。
FIG. 17 is a schematic flowchart of a right cursor absolute position update processing control routine.

【図18】標準書式情報や文字列コードが格納されたテ
キストメモリの説明図である。
FIG. 18 is an explanatory diagram of a text memory in which standard format information and character string codes are stored.

【図19】バーコードデータが格納されたバーコードバ
ッファの説明図である。
FIG. 19 is an explanatory diagram of a barcode buffer in which barcode data is stored.

【図20】印刷データバッファと表示データバッファの
ドットパターンデータの格納状態を対応づけて説明する
説明図である。
FIG. 20 is an explanatory diagram illustrating the storage states of dot pattern data in the print data buffer and the display data buffer in association with each other.

【図21】文字「A」を入力したときの表示データバッ
ファ及びディスプレイバッファの位置関係を説明する説
明図である。
FIG. 21 is an explanatory diagram illustrating a positional relationship between the display data buffer and the display buffer when the character “A” is input.

【図22】文字列「A〜C」を入力したときの図21相
当図である。
22 is a diagram corresponding to FIG. 21 when the character strings “A to C” are input.

【図23】文字「C」の入力に伴う右スクロールを説明
する図21相当図である。
FIG. 23 is a diagram corresponding to FIG. 21, illustrating right scrolling accompanying the input of the character “C”.

【図24】文字列「A〜C」及びバーコードを入力した
ときの図21相当図である。
FIG. 24 is a view corresponding to FIG. 21 when the character strings “A to C” and the barcode are input.

【図25】長寸パターン(バーコード)の表示に関し、
分割位置に基づく1回目の左画面スクロール時の各パラ
メータ値の説明図である。
FIG. 25 shows a long pattern (bar code) display.
It is explanatory drawing of each parameter value at the time of the 1st time left screen scrolling based on a division position.

【図26】分割位置に基づく2回目の左画面スクロール
時の図25相当図である。
FIG. 26 is a diagram corresponding to FIG. 25 when the second left screen scroll is performed based on the division position.

【図27】分割位置に基づく3回目の左画面スクロール
時の図25相当図である。
FIG. 27 is a view corresponding to FIG. 25 when scrolling the left screen for the third time based on the division position.

【図28】分割位置に基づく4回目の左画面スクロール
時の図25相当図である。
28 is a diagram corresponding to FIG. 25 at the time of the fourth scroll of the left screen based on the division position.

【図29】カーソルが長寸パターンの先頭位置に表示さ
れたときの図25相当図である。
FIG. 29 is a diagram corresponding to FIG. 25 when the cursor is displayed at the head position of the long pattern.

【図30】長寸パターン(手の記号)の表示に関する図
25相当図である。
FIG. 30 is a view corresponding to FIG. 25 regarding display of a long pattern (hand symbol).

【図31】分割位置に基づく1回目の左画面スクロール
時の図30相当図である。
FIG. 31 is a diagram corresponding to FIG. 30 at the time of the first scrolling of the left screen based on the division position.

【図32】分割位置に基づく2回目の左画面スクロール
時の図30相当図である。
FIG. 32 is a view corresponding to FIG. 30 at the time of the second left screen scroll based on the division position.

【符号の説明】[Explanation of symbols]

1 テープ印刷装置 3 キーボード 22 液晶ディスプレイ 52 CPU 55 ROM 60 RAM 61 テキストメモリ 66 表示データバッファ 67 ディスプレイバッファ 68 表示パラメータメモリ C 制御装置 1 Tape Printing Device 3 Keyboard 22 Liquid Crystal Display 52 CPU 55 ROM 60 RAM 61 Text Memory 66 Display Data Buffer 67 Display Buffer 68 Display Parameter Memory C Controller

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 3/12 V 17/21 (72)発明者 尾藤 美香子 名古屋市瑞穂区苗代町15番1号 ブラザー 工業株式会社内─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 6 Identification number Internal reference number FI Technical indication location G06F 3/12 V 17/21 (72) Inventor Mikako Bito 15-1 Naeshiro-cho, Mizuho-ku, Nagoya-shi Brother Industries, Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字や記号等のキャラクタ、バーコード
等のパターン、及び種々の指令を入力したり指定したり
する為の入力手段と、文字や記号等の入力データを記憶
するデータ記憶手段と、カーソルを表示可能なディスプ
レイを含み文字や記号等を表示可能な表示手段と、デー
タ記憶手段のデータを受けてキャラクタやパターンの表
示データを作成する表示データ作成手段と、表示データ
を記憶する表示データバッファと、表示データバッファ
における1画面分の表示データの表示先頭位置を記憶す
る先頭位置メモリと、表示先頭位置から1画面分の表示
データを表示データバッファから受けて表示するように
表示手段を制御する表示制御手段と、左方又は右方への
カーソル移動指令を受けて、表示データバッファにおけ
るカーソルの現在位置を記憶するカーソル位置メモリと
を備えた文書処理装置において、 前記表示データバッファの表示データに基いて、ディス
プレイの表示行方向に長すぎるために1画面に全体を表
示不能な長寸パターンの表示データが、1単位の表示デ
ータとして格納されているか否か判別するパターン判別
手段と、 前記パターン判別手段により判別された長寸パターン
を、1画面長以下の長さに複数に分割する、表示データ
バッファにおける1又は複数の分割位置を演算して記憶
する分割位置決定手段と、 前記カーソル位置メモリに記憶されたカーソルの現在位
置と、先頭位置メモリに記憶された表示先頭位置とに基
いて、カーソルがディスプレイ上の所定の移動許容領域
内にあるか否かを判定するカーソル判定手段と、 左方又は右方へのカーソル移動指令の入力時、カーソル
判定手段によりカーソルが移動許容領域から外れると判
定され且つ長寸パターンがディスプレイに表示されると
きには、カーソル及び前記分割位置決定手段で決定され
た分割位置がディスプレイ上の移動許容領域の少なくと
も右半部分に設定された所定のカーソル復帰位置に位置
するように、前記表示先頭位置を決定して先頭位置メモ
リに出力する先頭位置決定手段と、 を備えたことを特徴とする文書処理装置。
1. Input means for inputting and designating characters such as characters and symbols, patterns such as bar codes, and various commands, and data storage means for storing input data such as characters and symbols. Display means for displaying characters and symbols including a display capable of displaying a cursor, display data creating means for creating display data of characters and patterns by receiving data from the data storage means, and display for storing display data A data buffer, a head position memory for storing a display head position of display data for one screen in the display data buffer, and a display means for receiving display data for one screen from the display head position from the display data buffer and displaying the display data. In response to the display control means to control and the cursor movement command to the left or right, the current position of the cursor in the display data buffer is received. In a document processing apparatus having a cursor position memory for storing a position, a long pattern which cannot be entirely displayed on one screen based on the display data in the display data buffer is too long in the display line direction of the display. Display data for dividing a pattern determining means for determining whether or not the data is stored as one unit of display data, and dividing the long pattern determined by the pattern determining means into a length of one screen length or less A division position determining means for calculating and storing one or a plurality of division positions in the buffer, a cursor based on the current position of the cursor stored in the cursor position memory, and a display start position stored in the start position memory. Cursor determining means for determining whether or not the cursor is within a predetermined movement allowable area on the display, and moving the cursor to the left or right At the time of inputting a command, when the cursor determination means determines that the cursor is out of the movement permitting area and the long pattern is displayed on the display, the cursor and the division position determined by the division position determining means are permitted to move on the display. A document comprising: a head position determining means for determining the display head position and outputting the display head position to a head position memory so as to be positioned at a predetermined cursor return position set in at least the right half part of the area. Processing equipment.
JP01996794A 1994-01-19 1994-01-19 Document processing device Expired - Fee Related JP3377277B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01996794A JP3377277B2 (en) 1994-01-19 1994-01-19 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01996794A JP3377277B2 (en) 1994-01-19 1994-01-19 Document processing device

Publications (2)

Publication Number Publication Date
JPH07210138A true JPH07210138A (en) 1995-08-11
JP3377277B2 JP3377277B2 (en) 2003-02-17

Family

ID=12013969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01996794A Expired - Fee Related JP3377277B2 (en) 1994-01-19 1994-01-19 Document processing device

Country Status (1)

Country Link
JP (1) JP3377277B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085163A (en) * 2001-09-07 2003-03-20 Brother Ind Ltd Character string editing device and character string editing program
JP2005212196A (en) * 2004-01-28 2005-08-11 Brother Ind Ltd Tape printing device
JP2006289796A (en) * 2005-04-11 2006-10-26 Seiko Epson Corp Data display method of data display device, data display device, data generating apparatus equipped therewith, and sheet processor
JP2007334448A (en) * 2006-06-12 2007-12-27 Brother Ind Ltd Tag label preparing apparatus
JP2009089178A (en) * 2007-10-01 2009-04-23 Canon Inc Information processor and control method thereof, information processing system, and program
JP2009246601A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Bar code ornamentation apparatus and bar code ornamentation program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085163A (en) * 2001-09-07 2003-03-20 Brother Ind Ltd Character string editing device and character string editing program
WO2003023648A1 (en) * 2001-09-07 2003-03-20 Brother Kogyo Kabushiki Kaisha Character string edition apparatus and character string edition program
JP2005212196A (en) * 2004-01-28 2005-08-11 Brother Ind Ltd Tape printing device
JP2006289796A (en) * 2005-04-11 2006-10-26 Seiko Epson Corp Data display method of data display device, data display device, data generating apparatus equipped therewith, and sheet processor
JP4635691B2 (en) * 2005-04-11 2011-02-23 セイコーエプソン株式会社 Data display method for data display device, data display device, data generation device provided with the same, and sheet processing device
JP2007334448A (en) * 2006-06-12 2007-12-27 Brother Ind Ltd Tag label preparing apparatus
JP2009089178A (en) * 2007-10-01 2009-04-23 Canon Inc Information processor and control method thereof, information processing system, and program
JP2009246601A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Bar code ornamentation apparatus and bar code ornamentation program

Also Published As

Publication number Publication date
JP3377277B2 (en) 2003-02-17

Similar Documents

Publication Publication Date Title
JP3111442B2 (en) Document processing device
JP2621741B2 (en) Recording device
JP3377277B2 (en) Document processing device
JP3258486B2 (en) Tape printer
JP3131962B2 (en) Barcode creation device
JP3189925B2 (en) Tape printer
JPH07214860A (en) Document processing equipment
JP2827879B2 (en) Tape printer
JP2988141B2 (en) Barcode printing device
JP3254653B2 (en) Tape printer
JP3189924B2 (en) Tape printer
JPH06110891A (en) Documentation device
JPH0872321A (en) Tapelike label forming apparatus
JP2002029099A (en) Tape-like label forming machine
JP3464205B2 (en) Tape printer
JP2914473B2 (en) Document processing device
JP3209236B2 (en) Document processing apparatus and document processing method
JP3521310B2 (en) Barcode creation device
JPH07199888A (en) Document processor
JP3213154B2 (en) Tape printer
JP3237979B2 (en) Tape printer
JP3445661B2 (en) Tape-shaped label making device
JPH0825710A (en) Apparatus for preparation of tapelike label
JPH07200241A (en) Document processor
JPH07200557A (en) Document processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071206

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081206

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081206

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091206

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091206

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101206

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111206

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111206

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121206

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131206

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees