JPH0830593A - Image forming device - Google Patents
Image forming deviceInfo
- Publication number
- JPH0830593A JPH0830593A JP6168191A JP16819194A JPH0830593A JP H0830593 A JPH0830593 A JP H0830593A JP 6168191 A JP6168191 A JP 6168191A JP 16819194 A JP16819194 A JP 16819194A JP H0830593 A JPH0830593 A JP H0830593A
- Authority
- JP
- Japan
- Prior art keywords
- image
- broken line
- image forming
- key
- frame
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 abstract description 44
- 239000004973 liquid crystal related substance Substances 0.000 description 16
- 230000007246 mechanism Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000015572 biosynthetic process Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 多くの破線が重なりあっても直線のような画
像となるのを防止すること。
【構成】 横破線のイメージを発生させる際、枠のテー
プ印刷面上における左端位置に割り付けられたパターン
位置XXを算出し(S82)、このパターン位置XX
が、0≦XX≦NL −1(NL は破線画像のビット数)
に対応するビットのみ画像を形成し、NL ≦XX≦2N
L −1に対応するビットの画像を非形成とする(S84
〜S89)。この処理を右端位置まで繰り返す。このよ
うに、横破線を発生させる際、テープの印刷面上の座標
に応じてその点が着色部となるか非着色部となるか決定
しているので、多くの破線が重なりあって直線のような
画像になることがない。
(57) [Summary] [Purpose] To prevent the image from becoming a straight line even if many broken lines overlap. [Structure] When an image of a horizontal broken line is generated, a pattern position XX assigned to the left end position on the tape printing surface of the frame is calculated (S82), and this pattern position XX is calculated.
Is 0≤XX≤NL -1 (NL is the number of bits of the broken line image)
An image is formed only for the bits corresponding to, and NL ≤XX≤2N
The image of the bit corresponding to L-1 is not formed (S84).
~ S89). This process is repeated until the right end position. In this way, when the horizontal broken line is generated, it is determined whether the point is the colored part or the non-colored part according to the coordinates on the printing surface of the tape, and therefore many broken lines overlap each other to form a straight line. The image will not look like this.
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像形成面に破線を形
成可能な画像形成装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus capable of forming a broken line on an image forming surface.
【0002】[0002]
【従来の技術】従来より、画像の形成部と非形成部とを
交互に配列することにより、画像形成面に破線を形成す
る破線形成手段を備えた画像形成装置が考えられてい
る。この種の画像形成装置では、破線を形成する場合、
例えば、破線の開始位置から所定長さに渡って直線状の
画像の形成部を配設し、続いて、その形成部の端から上
記所定長さに渡って画像の非形成部を配設し、以後、画
像の形成部,非形成部を交互に配列している。2. Description of the Related Art Conventionally, there has been considered an image forming apparatus having a broken line forming means for forming a broken line on an image forming surface by alternately arranging image forming portions and non-forming portions. In this type of image forming apparatus, when forming a broken line,
For example, a linear image forming portion is arranged over a predetermined length from the start position of the broken line, and then an image non-forming portion is arranged over the predetermined length from the end of the forming portion. After that, image forming portions and image forming portions are alternately arranged.
【0003】[0003]
【発明が解決しようとする課題】ところが、この種の画
像形成装置では、破線を何本も重ねて形成した場合、そ
れらが重なりあって実線のような画像になってしまうこ
とがあった。例えば、図13は互いに重なりあって形成
された横方向の破線A,Bを例示する説明図である。破
線Aでは、開始位置A0 から右方向に所定長さLに渡っ
て、直線状の画像の形成部A1 が配設され、その形成部
A1 の右端から右方向に上記所定長さLに渡って、画像
の非形成部A2 が配設される。更にその右側には所定長
さL毎に形成部A3 ,非形成部A4 ,……と、形成部と
非形成部とが交互に配設される。However, in the image forming apparatus of this type, when a plurality of broken lines are formed so as to be overlapped with each other, they sometimes overlap each other to form an image like a solid line. For example, FIG. 13 is an explanatory diagram illustrating lateral broken lines A and B formed by overlapping each other. In the broken line A, a linear image forming portion A1 is arranged from the start position A0 to the right for a predetermined length L, and from the right end of the forming portion A1 to the right for the predetermined length L. , A non-image forming portion A2 is provided. Further, on the right side thereof, a forming portion A3, a non-forming portion A4, ... And a forming portion and a non-forming portion are alternately arranged for each predetermined length L.
【0004】この破線Aの上に、開始位置B0 が開始位
置A0 より左に上記所定長さLだけずれて配設された破
線Bが重畳した場合を考える。この破線Bの形成部をB
1 ,B3 ,B5 ,……とすると、図に示すように、形成
部B3 ,B5 ,……が破線Aの非形成部A2 ,A4 ,…
…に重畳する。このため、重なりあった2本の破線A,
Bが、あたかも一つの直線であるかのような画像となっ
てしまう。そこで、本発明は、どれだけ多くの破線が重
なりあっても直線のような画像となるのを良好に防止す
ることのできる画像形成装置を提供することを目的とし
てなされた。Consider a case where a broken line B, which is arranged such that the start position B0 is shifted to the left of the start position A0 by the predetermined length L, is superimposed on the broken line A. The part where this broken line B is formed is B
1, B3, B5, ... As shown in the figure, the forming portions B3, B5 ,.
Superimpose on ... Therefore, the two broken lines A, which overlap each other,
B becomes an image as if it were one straight line. Therefore, the present invention has been made for the purpose of providing an image forming apparatus capable of satisfactorily preventing the formation of an image like a straight line no matter how many broken lines overlap.
【0005】[0005]
【課題を解決するための手段】上記目的を達するために
なされた請求項1記載の発明は、図1に例示するよう
に、画像の形成部と非形成部とを交互に配列することに
より、画像形成面に破線を形成する破線形成手段を備え
た画像形成装置において、該破線形成手段が、上記画像
形成面上の座標に応じて、上記破線上の各点を上記画像
の形成部または非形成部とすることを特徴としている。In order to achieve the above object, the invention according to claim 1 is arranged by alternately arranging image forming portions and non-forming portions as shown in FIG. In an image forming apparatus provided with a broken line forming means for forming a broken line on the image forming surface, the broken line forming means sets each point on the broken line according to the coordinates on the image forming surface to the image forming part or the non-forming part. It is characterized in that it is a forming part.
【0006】また、請求項2記載の発明は、上記画像形
成面が印刷面であり、上記画像の形成部が着色部、上記
画像の非形成部が非着色部であることを特徴とする請求
項1記載の画像形成装置を要旨としている。更に、請求
項3記載の発明は、上記画像形成面が表示面であり、上
記画像の形成部が暗部、上記画像の非形成部が明部であ
ることを特徴とする請求項1記載の画像形成装置を要旨
としている。Further, the invention according to claim 2 is characterized in that the image forming surface is a printing surface, the image forming portion is a colored portion, and the image non-forming portion is a non-colored portion. The gist is the image forming apparatus according to item 1. Further, the invention according to claim 3 is characterized in that the image forming surface is a display surface, the image forming portion is a dark portion, and the image non-forming portion is a bright portion. The forming device is the main point.
【0007】[0007]
【作用】このように構成された請求項1記載の発明で
は、破線を形成する際、画像形成面上の座標に応じて、
各点を画像の形成部または非形成部とする。このため、
破線の開始位置に関わらず、各点の画像形成面上の座標
によってその点が形成部となるか非形成部となるかが決
定する。従って、どれだけ多くの破線が重なりあって
も、形成部と非形成部とが重畳することがない。In the invention according to claim 1 thus constructed, when the broken line is formed, according to the coordinates on the image forming surface,
Each point is defined as an image forming portion or a non-forming portion. For this reason,
Regardless of the start position of the broken line, the coordinates of each point on the image forming surface determine whether the point is a forming portion or a non-forming portion. Therefore, no matter how many broken lines overlap, the forming portion and the non-forming portion do not overlap.
【0008】請求項2記載の発明では、請求項1記載の
発明と同様に、各点の印刷面上の座標によってその点が
着色部となるか非着色部となるかが決定する。このた
め、どれだけ多くの破線が重なりあっても着色部と非着
色部とが重畳することがない。更に、請求項3記載の発
明では、請求項1記載の発明と同様に、各点の表示面上
の座標によってその点が明部となるか暗部となるかが決
定する。このため、どれだけ多くの破線が重なりあって
も明部と暗部とが重畳することがない。In the second aspect of the invention, similarly to the first aspect of the invention, the coordinates of each point on the printing surface determine whether the point is a colored portion or a non-colored portion. Therefore, no matter how many broken lines overlap, the colored portion and the non-colored portion do not overlap. Further, in the invention according to claim 3, as in the invention according to claim 1, whether the point is a bright part or a dark part is determined by the coordinates of each point on the display surface. Therefore, no matter how many broken lines overlap, the bright portion and the dark portion do not overlap.
【0009】[0009]
【実施例】次に、本発明の実施例を図面と共に説明す
る。図2は、実施例のテーププリンタ1の外観を表す斜
視図である。このテーププリンタ1は、図示しないテー
プカセットに巻回保持されたテープに、キー入力に応じ
た印刷を行う装置である。Embodiments of the present invention will now be described with reference to the drawings. FIG. 2 is a perspective view showing the appearance of the tape printer 1 of the embodiment. The tape printer 1 is a device that prints according to a key input on a tape wound and held in a tape cassette (not shown).
【0010】図に示すように、テーププリンタ1表面に
は、各種入力を実行するための多数のキースイッチ3、
および、入力された文書データなどを表示する液晶ディ
スプレイ5などが配設されている。また、キースイッチ
3は、印刷の実行を指示する印刷キー31、テープの切
断位置から切断位置までの長さ(テープ長)などの設定
を行う全体書式設定キー32、文字を囲む枠の種類(枠
種類)などの設定を行う行書式設定キー33、文書デー
タのテープへの印刷状態を液晶ディスプレイ5に概略的
に表示させるイメージキー34、液晶ディスプレイ5上
のカーソル,表示などを上下に移動させる一対の上下キ
ー35、カーソル,表示などを左右に移動させる一対の
左右キー36、各種データの確定などを行うリターンキ
ー37、五十音,アルファベットなどの入力を行う編集
キー38、および、入力したデータを取り消すキャンセ
ルキー39などから構成されている。なお、全体書式設
定キー32,行書式設定キー33,およびイメージキー
34は、編集キーとして五十音などの入力にも使用可能
に構成されている。As shown in the figure, on the surface of the tape printer 1, a large number of key switches 3 for executing various inputs,
A liquid crystal display 5 for displaying input document data and the like is provided. The key switch 3 includes a print key 31 for instructing printing, an entire format setting key 32 for setting the length (tape length) from the cutting position of the tape to the cutting position, and a type of frame surrounding characters ( A line format setting key 33 for setting the frame type, etc., an image key 34 for roughly displaying the printing state of the document data on the tape on the liquid crystal display 5, a cursor on the liquid crystal display 5, and the like for moving the display up and down. A pair of up and down keys 35, a pair of left and right keys 36 for moving the cursor and display left and right, a return key 37 for confirming various data, an edit key 38 for inputting Japanese syllabary, alphabets, etc. It is composed of a cancel key 39 for canceling data. The entire format setting key 32, the line format setting key 33, and the image key 34 are configured to be usable as input keys such as Japanese syllabary.
【0011】次に、図3に例示するように、各キースイ
ッチ3および液晶ディスプレイ5はテーププリンタ1に
内蔵された電子制御回路41に電気的に接続されてい
る。電子制御回路41は、CPU41a,ROM41
b,RAM41cを主要部とする周知のマイクロコンピ
ュータによって構成され、RAM41cには画像データ
を記憶するイメージバッファ41dも形成されている。
この電子制御回路41は、キースイッチ3からのキー入
力に応じて液晶ディスプレイ5を駆動する。また、テー
ププリンタ1には、テープに印刷を行うテープ印刷機構
43,上記テープカセットからテープ印刷機構43を介
してテーププリンタ1の外部にテープを送り出すテープ
送り機構45,および送り出されたテープを切断するテ
ープ切断機構47なども内蔵され、電子制御回路41は
これらの機構43〜47を駆動してテープに文書データ
の印刷を実行する。なお、これらの機構43〜47の構
成は周知であるので構成の詳細な説明は省略する。Next, as illustrated in FIG. 3, each key switch 3 and the liquid crystal display 5 are electrically connected to an electronic control circuit 41 built in the tape printer 1. The electronic control circuit 41 includes a CPU 41a and a ROM 41.
b, a well-known microcomputer having a RAM 41c as a main part, and an image buffer 41d for storing image data is also formed in the RAM 41c.
The electronic control circuit 41 drives the liquid crystal display 5 in response to a key input from the key switch 3. Further, the tape printer 1 has a tape printing mechanism 43 for printing on the tape, a tape feeding mechanism 45 for feeding the tape from the tape cassette to the outside of the tape printer 1 via the tape printing mechanism 43, and cutting the fed tape. The electronic control circuit 41 drives these mechanisms 43 to 47 to print the document data on the tape. Since the configurations of these mechanisms 43 to 47 are well known, detailed description of the configurations will be omitted.
【0012】続いて、この電子制御回路41の動作をフ
ローチャートに基づいて説明する。図4は、電子制御回
路41の処理のメインルーチンを表すフローチャートで
ある。電子制御回路41は、電源が投入されると同時に
この処理を開始する。処理を開始すると、S01にてR
AM41cなどの初期化処理を行う。続くS03ではキ
ースイッチ3によるキー入力の状態を読み込み、S05
では、それが後述のような有効なキー入力であるか否か
を判断する。S05で否定判断した場合は再びS03に
てキー入力を読み込む。有効なキー入力があり、S05
で肯定判断すると、S07にてそれが編集キー38また
は編集キーとしての全体書式設定キー32,行書式設定
キー33,イメージキー34による編集キー入力である
か否かを判断する。編集キー入力の場合はS09にて文
書データの追加などの周知の編集処理を実行しS03へ
移行する。Next, the operation of the electronic control circuit 41 will be described with reference to the flowchart. FIG. 4 is a flowchart showing a main routine of processing of the electronic control circuit 41. The electronic control circuit 41 starts this process at the same time when the power is turned on. When the process is started, R at S01
Initialization processing such as AM41c is performed. In the following S03, the state of key input by the key switch 3 is read, and S05
Then, it is determined whether or not it is a valid key input as described later. When a negative determination is made in S05, the key input is read again in S03. There is a valid key input, S05
If a positive determination is made in step S07, it is determined in step S07 whether or not it is an edit key input by the edit key 38 or the entire format setting key 32, the line format setting key 33, and the image key 34 as the edit key. In the case of editing key input, well-known editing processing such as addition of document data is executed in S09, and the process proceeds to S03.
【0013】上記有効なキー入力が編集キー入力でない
場合はS11へ移行して、それが印刷キー31によるキ
ー入力であるか否かを判断する。印刷キー31の入力で
ある場合はS13にて後述の印刷処理ルーチンを実行し
てS03へ移行する。また、有効なキー入力が印刷キー
31によるものでもない場合はS15へ移行して、枠設
定キー入力であるか否かを判断する。ここで、枠設定キ
ー入力とは、行書式設定キー33の操作を含む一連のキ
ー入力である。枠設定キー入力である場合はS17にて
後述の枠設定ルーチンを実行してS03へ移行する。更
に、上記有効なキー入力がそれ以外のキー入力である場
合は、S19にてそのキー入力に応じたその他の処理を
実行してS03へ移行する。例えば、イメージキー34
によるキー入力である場合は、文書データのテープへの
印刷状態を液晶ディスプレイ5に概略的に表示するイメ
ージ表示処理を実行してS03へ移行する。If the valid key input is not the edit key input, the process proceeds to S11 to determine whether or not the print key 31 is the key input. If the input is the print key 31, the print processing routine described below is executed in S13, and the process proceeds to S03. If the valid key input is not the print key 31, the process proceeds to S15 and it is determined whether or not the frame setting key is input. Here, the frame setting key input is a series of key inputs including the operation of the line format setting key 33. If it is a frame setting key input, a frame setting routine to be described later is executed in S17, and the process proceeds to S03. Further, if the valid key input is any other key input, other processing corresponding to the key input is executed in S19 and the process proceeds to S03. For example, the image key 34
If it is a key input by, the image display processing for roughly displaying the print state of the document data on the tape on the liquid crystal display 5 is executed, and the process proceeds to S03.
【0014】次に、図5はS17の枠設定ルーチンを表
すフローチャートであり、図6はそのときの液晶ディス
プレイ5の動作を表す説明図である。処理を開始する
と、先ずS21にて、図6(A)に例示する枠設定画面
を液晶ディスプレイ5に表示する。この枠設定画面で
は、左側からブロック番号51,行番号53,および枠
種類55が順次表示される。なお、図6(A)では、説
明の便宜上、ブロック番号51,行番号53,および枠
種類55の他の候補を液晶ディスプレイ5を表す枠の外
に記載したが、これらの候補は実際には表示されていな
い。また、ここでブロックとは、テープを長手方向に分
割してその中で文書データを連続的に配設可能にするも
ので、そのブロック内に一つまたは複数の行が設定され
る。図6(A)の例では、1番と2番との二つのブロッ
クが設定され、1番のブロックには一つの行が、2番の
ブロックには二つの行が、それぞれ設定されている。Next, FIG. 5 is a flow chart showing the frame setting routine of S17, and FIG. 6 is an explanatory view showing the operation of the liquid crystal display 5 at that time. When the processing is started, first, in S21, the frame setting screen illustrated in FIG. 6A is displayed on the liquid crystal display 5. In this frame setting screen, the block number 51, the line number 53, and the frame type 55 are sequentially displayed from the left side. Note that, in FIG. 6A, for convenience of explanation, other candidates of the block number 51, the line number 53, and the frame type 55 are shown outside the frame representing the liquid crystal display 5, but these candidates are actually Not displayed. Here, a block is a block in which the tape is divided in the longitudinal direction so that document data can be continuously arranged therein, and one or a plurality of lines are set in the block. In the example of FIG. 6A, two blocks, number 1 and number 2, are set, one row is set in the number 1 block, and two rows are set in the number 2 block. .
【0015】図5に戻って、続くS23,S25ではキ
ー入力を読み込み、有効なキー入力であればS27へ移
行する。S27では、そのキー入力が左右キー36によ
るものか否かを判断する。左右キー36によるものあれ
ばS29へ移行し、枠種類55の表示を次候補に変えて
S23へ移行する。上記有効なキー入力が左右キー36
によるものでない場合、S31へ移行して、そのキー入
力が上下キー35によるものか否かを判断する。上下キ
ー35によるものであればS33へ移行し、ブロック番
号51および行番号53の表示を次候補に変えてS23
へ移行する。Returning to FIG. 5, in subsequent S23 and S25, the key input is read, and if the key input is valid, the process proceeds to S27. In S27, it is determined whether or not the key input is the left / right key 36. If the left / right key 36 is used, the process proceeds to S29, the display of the frame type 55 is changed to the next candidate, and the process proceeds to S23. The valid key input is the left / right key 36
If not, the process proceeds to S31 to determine whether the key input is by the up / down key 35. If the up / down key 35 is used, the process proceeds to S33, the display of the block number 51 and the line number 53 is changed to the next candidate, and S23 is performed.
Move to.
【0016】上記有効なキー入力が上下キー35による
ものでもない場合、S35へ移行して、それがリターン
キー37によるものか否かを判断する。リターンキー3
7によるものであればS37へ移行し、設定した枠種類
55をブロック番号51および行番号53と組み合わせ
てRAM41cに保存した後S39へ移行する。また、
上記有効なキー入力がリターンキー37によるものでな
い場合、すなわち、本ルーチンの有効キーとして残った
キャンセルキー39によるものである場合、S35から
直接S39へ移行する。S39では、図6(B)に例示
する編集入力画面を液晶ディスプレイ5に表示してメイ
ンルーチンへ復帰する。なお、この編集入力画面は入力
中の文書データ57などを表示する周知のものである。If the valid key input is not the up / down key 35, the process proceeds to S35 to determine whether or not the return key 37 is used. Return key 3
If it is based on 7, the process proceeds to S37, and the set frame type 55 is combined with the block number 51 and the line number 53 and stored in the RAM 41c, and then the process proceeds to S39. Also,
If the valid key input is not the return key 37, that is, if the cancel key 39 remains as a valid key of this routine, the process directly proceeds from S35 to S39. In S39, the edit input screen illustrated in FIG. 6B is displayed on the liquid crystal display 5, and the process returns to the main routine. The edit / input screen is a well-known screen for displaying the document data 57 or the like being input.
【0017】次に、図7,図8はS13の印刷処理ルー
チンを表すフローチャートである。処理を開始すると、
先ず、S41にて、文書データとして記憶しているテキ
スト情報および枠情報を読み込む。ここで、テキスト情
報とは文字コード,属性,配置座標,高さ,横幅などの
情報を文字数分持ったデータ群であり、枠情報とは枠の
配置座標,枠種類などの情報を枠数分持ったデータ群で
ある。続いて、S43にて上記読み込んだ情報にエラー
があったか否かを判断し、エラーがなければ続くS45
へ移行する。Next, FIGS. 7 and 8 are flowcharts showing the print processing routine of S13. When you start the process,
First, in S41, text information and frame information stored as document data are read. Here, the text information is a data group having information such as a character code, attributes, arrangement coordinates, height, and width for the number of characters, and the frame information is information such as arrangement coordinates of the frame and frame type for the number of frames. It is a group of data that we have. Subsequently, in S43, it is determined whether or not there is an error in the read information, and if there is no error, the subsequent S45.
Move to.
【0018】S45では、ポインタをテキスト情報先頭
の文字にセットしてその情報を読み込む。続くS47で
は、全てのテキスト情報を処理し終わったか否かを判断
する。最初はここで否定判断してS48へ移行し、テキ
スト情報に基づき文字をイメージバッファ41dに描
く。続くS49では、ポインタを次の文字にセットして
S47へ移行する。以下このS47〜S49の処理を繰
り返し、テキスト情報の全ての文字をイメージバッファ
41dに描き終わると、S47にて肯定判断してS51
へ移行する。In S45, the pointer is set to the first character of the text information and the information is read. In subsequent S47, it is determined whether or not all text information has been processed. Initially, a negative determination is made here, and the flow shifts to S48, where a character is drawn in the image buffer 41d based on the text information. In the following S49, the pointer is set to the next character, and the process proceeds to S47. After this, the processes of S47 to S49 are repeated, and when all the characters of the text information have been drawn in the image buffer 41d, an affirmative decision is made in S47 and S51.
Move to.
【0019】S51では、ポインタを枠情報の先頭にセ
ットしてその情報を読み込む。次のS53では最初は否
定判断し、続くS55,S57では、枠種類を調べてそ
れが破線であるか否かを判断する。破線の場合はS59
へ移行し、後述の破線枠のイメージ発生ルーチンを実行
した後S63へ移行する。また、破線でない場合はS6
1へ移行し、枠情報の配置座標と枠種類に従ってイメー
ジバッファ41dにその枠を描いた後S63へ移行す
る。S63ではポインタを次の枠情報にセットしてS5
3へ移行する。以下このS53〜S63の処理を繰り返
し、枠情報の全ての枠を描き終わると、S53にて肯定
判断してS65へ移行する。In S51, the pointer is set at the beginning of the frame information and the information is read. In the next S53, a negative determination is first made, and in the following S55 and S57, the frame type is checked to determine whether or not it is a broken line. In case of broken line, S59
After executing the image generation routine of the below-described broken line frame, the process proceeds to S63. If it is not a broken line, S6
After shifting to 1, the frame is drawn in the image buffer 41d in accordance with the arrangement coordinates of the frame information and the frame type, and then proceeds to S63. In S63, the pointer is set to the next frame information and S5 is set.
Move to 3. After this, the processes of S53 to S63 are repeated, and when all the frames of the frame information have been drawn, an affirmative decision is made in S53 and the process moves to S65.
【0020】S65では、イメージバッファ41dの記
憶内容に基づき、テープ印刷機構43,テープ送り機構
45,テープ切断機構47を駆動して印刷を行った後メ
インルーチンへ復帰する。また、前述のS43にてテキ
スト情報,枠情報などにエラーを発見すると、S67で
液晶ディスプレイ5にエラーメッセージを数秒表示し、
S69で図6(B)の編集入力画面を表示した後メイン
ルーチンへ復帰する。In S65, the tape printing mechanism 43, the tape feeding mechanism 45, and the tape cutting mechanism 47 are driven based on the contents stored in the image buffer 41d to perform printing, and then the process returns to the main routine. If an error is found in the text information, frame information, etc. in S43, an error message is displayed on the liquid crystal display 5 for several seconds in S67,
After the edit input screen of FIG. 6B is displayed in S69, the process returns to the main routine.
【0021】次に、図9は、S59の破線枠のイメージ
発生ルーチンを表すフローチャートである。処理を開始
すると、先ずS71にて枠情報より座標(X1 ,Y2 )
(X2 ,Y2 )を読み取る。ここで、枠情報は次のよう
に構成されている。図12(A)に例示するように、枠
99の形状は長方形で定義され、テープの印刷面上にお
けるその左下端の座標が(X1 ,Y1 )、右上端の座標
が(X2 ,Y2 )とされる。そして、枠情報は、図12
(B)に例示するように、X1 ,Y1 ,X2 ,Y2 ,お
よび枠種類からなるデータ群を各枠毎に格納して構成さ
れている。Next, FIG. 9 is a flow chart showing the image generation routine of the broken line frame in S59. When the processing is started, the coordinates (X1, Y2) are first calculated from the frame information in S71.
Read (X2, Y2). Here, the frame information is configured as follows. As illustrated in FIG. 12A, the shape of the frame 99 is defined by a rectangle, and the coordinates of the lower left corner on the printing surface of the tape are (X1, Y1) and the coordinates of the upper right corner are (X2, Y2). To be done. The frame information is shown in FIG.
As illustrated in (B), a data group including X1, Y1, X2, Y2, and frame types is stored for each frame.
【0022】このため、S71にて読み取った座標(X
1 ,Y2 )(X2 ,Y2 )は、枠99の上辺99aの両
端座標となる。続くS72では、その座標(X1 ,Y2
)(X2 ,Y2 )に基づき、後述の横破線のイメージ
発生ルーチンにより上辺99aのイメージを発生してイ
メージバッファ41dに描く。続いて、S73,74へ
移行し、同様に枠99の下辺99bの両端座標(X1 ,
Y1 )(X2 ,Y1 )を読み取り、その下辺99bのイ
メージを発生する。Therefore, the coordinates (X
1, 1, Y2) (X2, Y2) are the coordinates of both ends of the upper side 99a of the frame 99. In subsequent S72, the coordinates (X1, Y2
) (X2, Y2), an image of the upper side 99a is generated by the image generation routine of a horizontal broken line described later and is drawn in the image buffer 41d. Then, the process proceeds to S73, 74, and similarly, both end coordinates (X1,
Y1) (X2, Y1) is read and an image of the lower side 99b thereof is generated.
【0023】続くS75では、枠情報より座標(X1 ,
Y1 )(X1 ,Y2 )を読み取る。これは枠99の左辺
99cの両端座標となる。更に、続くS76では、座標
(X1 ,Y1 )(X1 ,Y2 )に基づき後述の縦破線の
イメージ発生ルーチンにより左辺99cのイメージを発
生する。続いて、S77,78へ移行し、同様に枠99
の右辺99dの両端座標(X2 ,Y1 )(X2 ,Y2 )
を読み取り、その右辺99dのイメージを発生して印刷
処理ルーチンへ復帰する。In the following S75, the coordinates (X1,
Read Y1) (X1, Y2). This is the coordinates at both ends of the left side 99c of the frame 99. Further, in the subsequent S76, an image of the left side 99c is generated by an image generation routine of a vertical broken line described later based on the coordinates (X1, Y1) (X1, Y2). Then, the process proceeds to S77 and S78, and similarly the frame 99
Coordinates (X2, Y1) (X2, Y2) on both sides of the right side 99d of
Is read, an image of the right side 99d is generated, and the process returns to the print processing routine.
【0024】図10は横破線のイメージ発生ルーチンを
表すフローチャートである。なお、本ルーチンは、横方
向にNL ビットづつ連続して配設された点を交互に画像
の形成部または非形成部として横破線のイメージを発生
する処理である。処理を開始すると、先ず、S81にて
破線の開始位置(左端)にビットポインタをセットす
る。例えば、枠99の上辺99aを描く場合は、ビット
ポインタを座標(X1 ,Y2 )に対応する位置にセット
する。続くS82では、その開始位置の座標に割り付け
られたパターン位置XXを算出する。ここで、パターン
位置XXとは、テープの印刷面上の各座標に対して割り
付けられた変数で、座標が1ビット分右へ移行する毎に
1増加し、XX=2NL −1まで増加した後再び0にリ
セットされる変数である。このため、0≦XX≦NL −
1に対応するビットのみをON(画像の形成部)にし、
NL ≦XX≦2NL −1に対応するビットをOFF(画
像の非形成部)にすれば横破線の画像を形成することが
できる。FIG. 10 is a flow chart showing a horizontal broken line image generation routine. It should be noted that this routine is a process for generating an image of a horizontal broken line by alternately defining points continuously arranged in the horizontal direction by NL bits as image forming portions or non-forming portions. When the processing is started, first, in S81, the bit pointer is set at the start position (left end) of the broken line. For example, when drawing the upper side 99a of the frame 99, the bit pointer is set to the position corresponding to the coordinates (X1, Y2). In subsequent S82, the pattern position XX assigned to the coordinates of the start position is calculated. Here, the pattern position XX is a variable assigned to each coordinate on the print surface of the tape, and is incremented by 1 each time the coordinate shifts to the right by one bit, and after increasing to XX = 2NL −1. It is a variable that is reset to 0 again. Therefore, 0≤XX≤NL-
Only the bit corresponding to 1 is turned on (image forming part),
If the bit corresponding to NL ≤ XX ≤ 2NL -1 is turned off (image non-forming portion), the image of the horizontal broken line can be formed.
【0025】S82の次はS83へ移行し、破線を描き
終わったか否かを判断する。最初はここで否定判断して
S84へ移行する。S84ではNL ≦XXであるか否か
を判断し、否の場合はS85にてそのビットポインタ位
置のビットをONにした後、NL ≦XXの場合はそのま
ま、すなわちビットポインタ位置のビットを0FFに保
持したままS86へ移行する。S86では、ビットポイ
ンタを1ビット分右へ移動させる。続いて、パターン位
置XXをインクリメントし(S87)、そのパターン位
置XXが2NL 未満(S88:YES)であればそのま
ま、2NL 以上となれば(S88:NO)パターン位置
XXを0にリセットした後(S89)、S83へ移行す
る。以下、S83〜S89の処理を繰り返しながらビッ
トポインタを徐々に右へ移動させ、破線の右端に対する
処理を終了すると、S83にて肯定判断して破線枠のイ
メージ発生ルーチンへ復帰する。After S82, the process proceeds to S83, and it is determined whether or not the broken line has been drawn. First, a negative determination is made here, and the routine goes to S84. In S84, it is determined whether or not NL ≤ XX. If NO, the bit at the bit pointer position is turned ON in S85, and if NL ≤ XX, that is, the bit at the bit pointer position is set to 0FF. The process proceeds to S86 while holding. In S86, the bit pointer is moved to the right by one bit. Subsequently, the pattern position XX is incremented (S87), and if the pattern position XX is less than 2NL (S88: YES), if it is 2NL or more (S88: NO), the pattern position XX is reset to 0 ( The process proceeds to S89) and S83. Thereafter, the bit pointer is gradually moved to the right while repeating the processes of S83 to S89, and when the process for the right end of the broken line is completed, an affirmative decision is made in S83 and the process returns to the image generation routine of the broken line frame.
【0026】図11は縦破線のイメージ発生ルーチンを
表すフローチャートである。この処理も前述の横破線の
イメージ発生ルーチンとほぼ同様であり、縦方向にNL
ビットづつ連続して配設された点を交互に画像の形成部
または非形成部として破線のイメージを発生する処理で
ある。FIG. 11 is a flow chart showing a vertical broken line image generation routine. This processing is almost the same as the image generation routine of the horizontal broken line described above, and NL is set in the vertical direction.
This is a process of generating an image of a broken line by alternately defining points continuously arranged bit by bit as image forming portions or non-image forming portions.
【0027】すなわち、破線の開始位置(下端)にビッ
トポインタをセットした後(S91)、その開始座標の
パターン位置YYを算出する(S92)。ここで、パタ
ーン位置YYとは、テープの印刷面上の座標が1ビット
分上へ移行する毎に1増加し、YY=2NL −1まで増
加した後再び0にリセットされる変数である。That is, after setting the bit pointer at the start position (lower end) of the broken line (S91), the pattern position YY of the start coordinate is calculated (S92). Here, the pattern position YY is a variable that is incremented by 1 each time the coordinate on the printing surface of the tape moves upward by 1 bit, is incremented to YY = 2NL −1, and is reset to 0 again.
【0028】続いて、S93で肯定判断の後、YY≦N
L −1であればビットポインタ位置のビットをONに
し、NL ≦YYの場合はそのビットを0FFに保持する
(S94,S95)。更に、ビットポインタを1ビット
分上へ移動させた後(S96)、パターン位置YYをイ
ンクリメントし(S97)、2NL 以上となれば(S9
8:NO)パターン位置YYを0にリセットして(S9
9)、S93へ移行する。以下、S93〜S99の処理
を繰り返し、破線の上端に対する処理を終了すると(S
93:YES)破線枠のイメージ発生ルーチンへ復帰す
る。Then, after an affirmative judgment in S93, YY≤N
If it is L-1, the bit at the bit pointer position is turned on, and if NL≤YY, that bit is held at 0FF (S94, S95). Further, after the bit pointer is moved up by one bit (S96), the pattern position YY is incremented (S97), and if it becomes 2NL or more (S9).
8: NO) The pattern position YY is reset to 0 (S9
9) and proceeds to S93. After that, the processes of S93 to S99 are repeated, and when the process for the upper end of the broken line is completed (S
93: YES) The process returns to the image generation routine of the broken line frame.
【0029】この図10および図11の処理により、横
方向または縦方向にNL ビットづつ連続して配設された
点を交互に画像の形成部または非形成部として破線のイ
メージを発生することができる。すると、前述のS65
(図8)へ移行したとき、テープの印刷面の、ビットポ
インタがONとなっているビットに対応する位置を着色
部、OFFとなっているビットに対応する位置を非着色
部として、テープに破線枠を印刷することができる。By the processing of FIG. 10 and FIG. 11, it is possible to generate an image of a broken line by alternately defining points continuously arranged by NL bits in the horizontal direction or the vertical direction as image forming portions or non-forming portions. it can. Then, the above-mentioned S65
When shifting to (FIG. 8), the position on the print surface of the tape corresponding to the bit for which the bit pointer is ON is the colored portion, and the position corresponding to the bit for which the bit pointer is OFF is the non-colored portion on the tape. A dashed frame can be printed.
【0030】なお、図10,11の処理が破線形成手段
に相当する。また、本実施例では横方向,縦方向共にN
L ビット毎に形成部,非形成部を切り換えているが、横
方向と縦方向で切換周期を異ならせてもよい。このよう
な処理は、例えば、図11における定数NL を他の定数
ML と置換することによって実現することができる。The processing of FIGS. 10 and 11 corresponds to the broken line forming means. Further, in this embodiment, N in both the horizontal and vertical directions.
The forming section and the non-forming section are switched for each L bit, but the switching cycle may be different in the horizontal direction and the vertical direction. Such processing can be realized, for example, by replacing the constant NL in FIG. 11 with another constant ML.
【0031】このように、本実施例のテーププリンタ1
では、破線を形成する際、テープの印刷面上の座標に応
じて各点を着色部または非着色部としている。このた
め、各点の印刷面上の座標に応じてその点が着色部とな
るか非着色部となるかが決定し、どれだけ多くの破線が
重なりあっても着色部と非着色部とが重畳することがな
い。このため、破線が重なりあって直線のような画像と
なるのを良好に防止することができ、テープに破線枠を
良好に印刷することができる。As described above, the tape printer 1 of this embodiment
Then, when forming the broken line, each point is a colored portion or a non-colored portion according to the coordinates on the printing surface of the tape. Therefore, depending on the coordinates of each point on the printed surface, it is determined whether the point becomes a colored part or a non-colored part, and no matter how many broken lines overlap, the colored part and the non-colored part are It does not overlap. Therefore, it is possible to satisfactorily prevent the broken lines from overlapping and form an image like a straight line, and it is possible to satisfactorily print the broken line frame on the tape.
【0032】なお、上記実施例では印刷処理に関して説
明したが、前述のイメージ表示処理に本発明を適用する
こともできる。この場合、液晶ディスプレイ5の表示面
上の座標はテープの印刷面上の座標とほぼ対応してい
る。このため、イメージバッファ41dの記憶内容に基
づいて液晶ディスプレイ5に表示を行えば、各点の表示
面上の座標に応じてその点が明部となるか暗部となるか
が決定し、どれだけ多くの破線が重なりあっても明部と
暗部とが重畳することがない。従って、破線が重なりあ
って直線のような画像となるのを良好に防止して、液晶
ディスプレイ5に破線枠の画像を良好に表示することが
できる。Although the printing process has been described in the above embodiment, the present invention can be applied to the image display process described above. In this case, the coordinates on the display surface of the liquid crystal display 5 substantially correspond to the coordinates on the printing surface of the tape. Therefore, when the liquid crystal display 5 is displayed based on the stored contents of the image buffer 41d, it is determined whether the point is a bright part or a dark part according to the coordinates of each point on the display surface. Even if many broken lines overlap, the bright part and the dark part do not overlap. Therefore, it is possible to favorably prevent the image of a straight line by overlapping the dashed lines, and to favorably display the image of the dashed frame on the liquid crystal display 5.
【0033】[0033]
【発明の効果】以上詳述したように、請求項1記載の発
明では、画像形成面上の座標に応じて各点を画像の形成
部または非形成部とするので、どれだけ多くの破線が重
なりあっても形成部と非形成部とが重畳することがな
い。このため、破線が重なりあって直線のような画像と
なるのを良好に防止することができ、破線の画像を良好
に形成することができる。As described above in detail, in the invention according to the first aspect, since each point is the image forming portion or the image non-forming portion in accordance with the coordinates on the image forming surface, how many broken lines are formed. Even if they overlap, the forming portion and the non-forming portion do not overlap each other. For this reason, it is possible to favorably prevent overlapping of the broken lines to form an image like a straight line, and it is possible to favorably form the image of the broken line.
【0034】請求項2記載の発明では、どれだけ多くの
破線が重なりあっても着色部と非着色部とが重畳するこ
とがない。このため、破線を紙などの印刷面に良好に印
刷することができる。更に、請求項3記載の発明では、
どれだけ多くの破線が重なりあっても明部と暗部とが重
畳することがない。このため、破線をディスプレイなど
の表示面に良好に表示することができる。According to the second aspect of the present invention, the colored portion and the non-colored portion do not overlap each other no matter how many broken lines overlap. Therefore, the broken line can be satisfactorily printed on the printing surface such as paper. Further, in the invention according to claim 3,
No matter how many broken lines overlap, the bright and dark parts do not overlap. Therefore, the broken line can be satisfactorily displayed on the display surface such as a display.
【図1】本発明の構成例示図である。FIG. 1 is a diagram illustrating a configuration of the present invention.
【図2】実施例のテーププリンタの外観を表す斜視図で
ある。FIG. 2 is a perspective view illustrating an appearance of a tape printer according to an embodiment.
【図3】実施例のテーププリンタの制御回路の構成を表
すブロック図である。FIG. 3 is a block diagram showing a configuration of a control circuit of the tape printer of the embodiment.
【図4】実施例の処理のメインルーチンを表すフローチ
ャートである。FIG. 4 is a flowchart showing a main routine of processing of an embodiment.
【図5】実施例の処理の枠設定ルーチンを表すフローチ
ャートである。FIG. 5 is a flowchart showing a frame setting routine of processing of the embodiment.
【図6】その枠設定ルーチンにおける液晶ディスプレイ
の動作を表す説明図である。FIG. 6 is an explanatory diagram showing the operation of the liquid crystal display in the frame setting routine.
【図7】実施例の処理の印刷処理ルーチンを表すフロー
チャートである。FIG. 7 is a flowchart illustrating a print processing routine of processing according to the embodiment.
【図8】実施例の処理の印刷処理ルーチンを表すフロー
チャートである。FIG. 8 is a flowchart showing a print processing routine of processing of the embodiment.
【図9】実施例の処理の破線枠のイメージ発生ルーチン
を表すフローチャートである。FIG. 9 is a flowchart showing an image generation routine of a broken line frame in the processing of the embodiment.
【図10】実施例の処理の横破線のイメージ発生ルーチ
ンを表すフローチャートである。FIG. 10 is a flow chart showing a horizontal broken line image generation routine of the processing of the embodiment.
【図11】実施例の処理の縦破線のイメージ発生ルーチ
ンを表すフローチャートである。FIG. 11 is a flowchart showing a vertical broken line image generation routine of the processing of the embodiment.
【図12】実施例の処理における枠情報の構成を表す説
明図である。FIG. 12 is an explanatory diagram showing the configuration of frame information in the processing of the embodiment.
【図13】従来の互いに重なりあって形成された破線を
例示する説明図である。FIG. 13 is an explanatory diagram illustrating a conventional broken line formed by being overlapped with each other.
1…テーププリンタ 3…キースイッチ 5
…液晶ディスプレイ 41…電子制御回路 43…テープ印刷機構 4
5…テープ送り機構1 ... Tape printer 3 ... Key switch 5
Liquid crystal display 41 Electronic control circuit 43 Tape printing mechanism 4
5 ... Tape feeding mechanism
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/66 400 (72)発明者 大村 賢吾 愛知県名古屋市中区大須3−46−15 ブラ ザーシステムズ株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication location G06F 15/66 400 (72) Inventor Kengo Omura 3-46-15 Osu, Naka-ku, Nagoya-shi, Aichi Prefecture Within The Systems Co., Ltd.
Claims (3)
することにより、画像形成面に破線を形成する破線形成
手段を備えた画像形成装置において、 該破線形成手段が、上記画像形成面上の座標に応じて、
上記破線上の各点を上記画像の形成部または非形成部と
することを特徴とする画像形成装置。1. An image forming apparatus comprising a broken line forming means for forming a broken line on an image forming surface by alternately arranging image forming portions and non-forming portions, wherein the broken line forming means forms the image forming portion. Depending on the coordinates on the surface,
An image forming apparatus, wherein each point on the broken line is a forming portion or a non-forming portion of the image.
像の形成部が着色部、上記画像の非形成部が非着色部で
あることを特徴とする請求項1記載の画像形成装置。2. The image forming apparatus according to claim 1, wherein the image forming surface is a printing surface, the image forming portion is a colored portion, and the image non-forming portion is a non-colored portion.
像の形成部が暗部、上記画像の非形成部が明部であるこ
とを特徴とする請求項1記載の画像形成装置。3. The image forming apparatus according to claim 1, wherein the image forming surface is a display surface, the image forming portion is a dark portion, and the image non-forming portion is a bright portion.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6168191A JPH0830593A (en) | 1994-07-20 | 1994-07-20 | Image forming device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6168191A JPH0830593A (en) | 1994-07-20 | 1994-07-20 | Image forming device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0830593A true JPH0830593A (en) | 1996-02-02 |
Family
ID=15863477
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6168191A Pending JPH0830593A (en) | 1994-07-20 | 1994-07-20 | Image forming device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0830593A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7663627B2 (en) | 2006-03-07 | 2010-02-16 | Fujitsu Limited | Graphic drawing program, method, and apparatus |
-
1994
- 1994-07-20 JP JP6168191A patent/JPH0830593A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7663627B2 (en) | 2006-03-07 | 2010-02-16 | Fujitsu Limited | Graphic drawing program, method, and apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0809212B1 (en) | Printing apparatus | |
| JP3521302B2 (en) | Tape printer | |
| EP0488128B1 (en) | Printing apparatus | |
| JPH07114548A (en) | Label making device | |
| JPH0830593A (en) | Image forming device | |
| KR960001513B1 (en) | Operation-key registering system | |
| US5537525A (en) | Column layout information processing system | |
| EP0606768A2 (en) | Registration dot pattern data processor of a text processing apparatus | |
| JPH0830595A (en) | Tape printer | |
| JP3390534B2 (en) | Tape printer | |
| JP3632294B2 (en) | Bar code output device | |
| JPH06110891A (en) | Document creation device | |
| JPH0752496A (en) | Printer | |
| JPH0793448A (en) | Bar code label making system | |
| JPH05204919A (en) | Output control device | |
| JP3055492B2 (en) | Data output device | |
| JP2023149686A (en) | printing device | |
| JP3123376B2 (en) | Printing device | |
| JP2606586B2 (en) | Data output device | |
| JPH06115167A (en) | Gaiji registration method | |
| JPH0236482A (en) | information recording device | |
| JPH0661986B2 (en) | Electronic typewriter | |
| EP0631242A2 (en) | Text processing device with decorative character shading function | |
| JP2606588B2 (en) | Data output device | |
| JPH0768894A (en) | Data output device |