JPH049156B2 - - Google Patents

Info

Publication number
JPH049156B2
JPH049156B2 JP60083898A JP8389885A JPH049156B2 JP H049156 B2 JPH049156 B2 JP H049156B2 JP 60083898 A JP60083898 A JP 60083898A JP 8389885 A JP8389885 A JP 8389885A JP H049156 B2 JPH049156 B2 JP H049156B2
Authority
JP
Japan
Prior art keywords
printing
corner
line
ruled line
ruled
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.)
Expired - Lifetime
Application number
JP60083898A
Other languages
Japanese (ja)
Other versions
JPS61241160A (en
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 filed Critical
Priority to JP60083898A priority Critical patent/JPS61241160A/en
Publication of JPS61241160A publication Critical patent/JPS61241160A/en
Publication of JPH049156B2 publication Critical patent/JPH049156B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/26Devices, non-fluid media or methods for cancelling, correcting errors, underscoring or ruling

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、プリンタ等の印字制御装置に係り、
特に文字等に罫線を描く場合に用いる印字制御装
置に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a printing control device such as a printer,
In particular, the present invention relates to a printing control device used for drawing ruled lines on characters and the like.

〔従来技術〕[Prior art]

プリンタ等により、文字、図形等の簡易グラフ
イツクを描く場合において、文字、図形等の一定
領域を線で囲う場合や作表を行う場合には文字等
を印字した後、又は同時に罫線印字を行つてい
る。
When drawing simple graphics such as text or figures using a printer, etc., when enclosing a certain area of the text or figures with lines or when creating a table, print ruled lines after printing the text, etc., or at the same time. There is.

従来この罫線印字は罫線の基本となるパターン
を文字パターンと同様に発生し、これを繰り返し
印字させることによつて罫線印字処理を行つてい
る。従つて、数文字を罫線で囲う場合には各文字
の外側を囲んだ文字枠毎に罫線パターンの印字ア
ドレスを指定し、さらに隣合う文字枠間では各文
字枠に印字する罫線パターンを接続する制御が行
われている。
Conventionally, in this ruled line printing, a basic pattern of ruled lines is generated in the same way as a character pattern, and this is repeatedly printed to perform the ruled line printing process. Therefore, when surrounding several characters with ruled lines, specify the print address of the ruled line pattern for each character frame surrounding the outside of each character, and further connect the ruled line patterns to be printed in each character frame between adjacent character frames. control is in place.

〔従来技術の問題点〕 しかしながら、こような従来の罫線印字におい
ては、文字枠単位で罫線を引くため、罫線の印字
位置を文字位置等に対して自由に設定することが
出来ない欠点を有している。
[Problems with the prior art] However, in such conventional ruled line printing, since ruled lines are drawn for each character frame, the printing position of the ruled line cannot be freely set with respect to the character position, etc., which is a drawback. are doing.

また、各文字枠毎に描かれた罫線の場合、隣り
合う文字枠毎に罫線接続しなければならず、この
罫線接続制御に時間を要する。
Furthermore, in the case of ruled lines drawn for each character frame, the ruled lines must be connected for each adjacent character frame, and this ruled line connection control takes time.

〔発明の目的〕[Purpose of the invention]

本発明は上記従来の欠点に鑑み、罫線印字を簡
単にかつ高速に行うことができ、しかも罫線のコ
ーナー部の印字が簡単に数種類印字するこが可能
である罫線印字制御装置を提供することを目的と
するものである。
In view of the above-mentioned conventional drawbacks, the present invention aims to provide a ruled line printing control device that can perform ruled line printing easily and at high speed, and can easily print several types of printing on the corner portions of ruled lines. This is the purpose.

〔発明の要点〕[Key points of the invention]

本発明は上記目的を達成するために、上位機器
から入力する印字情報に従つて読み出し書込み可
能な2次元画像メモリに展開されたドツトパター
ンデータに基づき印字動作を行う印字制御装置に
おいて、前記印字情報に従つて矩形罫線のコーナ
部パターンデータの印字位置を文字基準線に対し
てドツト単位で指定する罫線位置指定手段と、前
記印字情報に従つて前記コーナ部パターンデータ
を発生するコーナパターンデータ発生手段と、前
記コーナ部パターンデータを前記罫線位置指定手
段の指定に応じて前記2次元画像メモリ内の所定
アドレスに書込むコーナ書込み手段と、複数の前
記コーナ部パターンデータの端部を接続する直線
パターンデータを前記2次元画像メモリ内に書込
む直線書込手段とを備えることを特徴とする。
In order to achieve the above object, the present invention provides a printing control device that performs a printing operation based on dot pattern data developed in a two-dimensional image memory that can be read and written in accordance with printing information input from a host device. Accordingly, a ruled line position specifying means specifies a printing position of corner pattern data of a rectangular ruled line in units of dots with respect to a character reference line, and a corner pattern data generating means generates the corner pattern data according to the printing information. a corner writing means for writing the corner pattern data to a predetermined address in the two-dimensional image memory according to the designation of the ruled line position designating means; and a straight line pattern connecting the ends of the plurality of corner pattern data. and linear writing means for writing data into the two-dimensional image memory.

〔本発明の実施例〕[Example of the present invention]

以下本発明の実施例について図面を参照しなが
ら詳述する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の罫線印字制御装置を含む印字
装置の回路ブロツク図である。同図において、コ
マンド(印字制御命令)、文字コードデータを送
つてくる上位機器としてのホストコンピユータか
ら送られてきた各データはホストコンピユータと
印字装置の間のデータの入出力を行うI/F(イ
ンターフエイス)制御部1を介して、一時バツフ
ア2に記憶され、それらのデータコマンドは順
次、コマンドを解析判断するコマンド解析部3に
送られ、制御命令コマンドはコマンド制御部4に
より指定された通りの制御プログラムを実行し、
文字コードデータは文字制御部5を介して文字発
生部8に送られ、文字パターンデータに変換され
る。文字発生部8で文字パターンデータに変換さ
れたデータはフレームメモリ19に入力する。こ
の時フレームメモリ19はアドレス制御部6の出
力信号が入力し、パターンデータが書き込まいる
アドレスを制御部6の出力信号により指定する。
FIG. 1 is a circuit block diagram of a printing device including a ruled line printing control device of the present invention. In the figure, each data sent from the host computer, which is a host device that sends commands (print control commands) and character code data, is transferred to the I/F (interface) that inputs and outputs data between the host computer and the printing device. The data commands are stored in a temporary buffer 2 via the control unit 1 (interface), and the data commands are sequentially sent to the command analysis unit 3 which analyzes and judges the commands, and the control commands are processed as specified by the command control unit 4. Execute the control program of
The character code data is sent to the character generator 8 via the character controller 5 and converted into character pattern data. The data converted into character pattern data by the character generator 8 is input to the frame memory 19. At this time, the output signal of the address control section 6 is input to the frame memory 19, and the output signal of the control section 6 specifies the address to which the pattern data is written.

一方、コマンド制御部4の出力は罫線属性制御
部11へ出力される。罫線属性制御部11は、罫
線印字のためのデータ処理、罫線の基本パターン
データを出力し、内部にコーナーパターン、直線
パターンデータ等のデータを記憶するパターン
ROMを有している。
On the other hand, the output of the command control section 4 is output to the ruled line attribute control section 11. The ruled line attribute control unit 11 performs data processing for printing ruled lines, outputs basic pattern data of ruled lines, and internally stores data such as corner pattern and straight line pattern data.
It has ROM.

例えば、罫線コーナー指定命令により入力され
るデータはq1、q2、q3、q4のエリアに記憶され、
q1〜q4はそれぞれ罫線印字で枠を作つた時の4隅
の形状を指定するパラメータであり、q1は左上コ
ーナーq2は右上コーナー、q3は左下コーナー、q4
は右下コーナーの形状をそれぞれ指定する。さら
にqの値により第2図に示す如く5つのコーナー
パターンの選択が可能である。
For example, data input by a ruled line corner designation command is stored in areas q 1 , q 2 , q 3 , and q 4 ;
q 1 to q 4 are parameters that specify the shapes of the four corners when a frame is created using ruled line printing, respectively, where q 1 is the upper left corner, q 2 is the upper right corner, q 3 is the lower left corner, and q 4
specify the shape of the lower right corner. Further, depending on the value of q, five corner patterns can be selected as shown in FIG.

また、罫線の属性指定命令により入力されるデ
ータは、1、r2のエリアに記憶され、r1は罫線の線
の種別を0〜4の数値で指定するパラメータであ
る。
Further, data input by the ruled line attribute designation command is stored in areas 1 and r2 , and r1 is a parameter that designates the type of ruled line with a numerical value from 0 to 4.

r2は、罫線の太さを指定するためのパラメータ
でドツト単位で指定される。
r2 is a parameter for specifying the thickness of the ruled line and is specified in dots.

さらに、このr1とr2の値により第3図に示す如
く罫線パターンを選択することができる。
Furthermore, a ruled line pattern as shown in FIG. 3 can be selected based on the values of r 1 and r 2 .

また、エリアs1は、罫線で囲まれた領域にあみ
かけを実行させるために指定パラメータ領域で、
例えばs1を0と指定した場合はあみかけ処理を行
わず罫線で囲まれた枠内の領域を通常印字するの
みであり、1〜3の数値を指定すると、あみかけ
テーブル15にあらかじめ記憶された3種類のあ
みかけパターンデータがそれぞれ選択出来る。
In addition, area s 1 is a specified parameter area to execute the stitching in the area surrounded by ruled lines.
For example, if s 1 is specified as 0, the area within the frame surrounded by ruled lines is normally printed without performing the grading process, and if a value between 1 and 3 is specified, the area is memorized in the gradation table 15 in advance. Three types of mesh pattern data can be selected.

このように構成された罫線属性制御部11では
コマンド制御部4からの制御によりコーナーデコ
ード、あみかけデコード等を介してコーナーテー
ブル12、回転処理部13、直線ROM14、あ
みかけテーブル15に選択信号を与え各々のパタ
ーンデータを罫線発生部17に出力する。
The ruled line attribute control section 11 configured as described above sends selection signals to the corner table 12, the rotation processing section 13, the straight line ROM 14, and the intersecting table 15 through corner decoding, amikake decoding, etc. under the control of the command control section 4. and outputs each pattern data to the ruled line generation section 17.

一方、アドレス制御部6にはアドレスレジスタ
9が接続されており、アドレスレジスタ9内に
は、罫線位置指定命令のパラメータデータが入力
し、例えばp1、p2は、あらかじめ入力されている
文字ピツチデータC及び行ピツチデータLによつ
て決る文字基準線に対して何ドツトずれた位置に
罫線を印字するか指定するためのパラメータデー
タである。例えば、p1、p2を各々5ドツトとすれ
ば、文字基準線に対して第4図に示す如く、指定
されたドツト数ずれた罫線印字となる。
On the other hand, an address register 9 is connected to the address control unit 6, and parameter data of a ruled line position designation command is input into the address register 9. For example, p 1 and p 2 are character pitch data input in advance. This is parameter data for specifying how many dots of position the ruled line is to be printed with respect to the character reference line determined by C and line pitch data L. For example, if p 1 and p 2 are each 5 dots, ruled lines will be printed with a specified number of dots offset from the character reference line, as shown in FIG.

また、x1、y1は第5図に示す如く敬遠を構成す
る1つのコーナーの1つのドツトのアドレスを示
すものであり、x2、y2も同様に1つのコーナーの
ドツトのアドレスを示すものである。
In addition, x 1 and y 1 indicate the address of one dot at one corner that makes up the distance, as shown in Fig. 5, and x 2 and y 2 similarly indicate the address of one dot at one corner. It is something.

x1、y1、x2、y2及びxa〜xd、ya〜ydは後述する
計算により得られるもので、同図に示す罫線の各
コーナーの各点のアドレスを示すものである。
x 1 , y 1 , x 2 , y 2 , x a ~ x d , y a ~ y d are obtained by calculations described later, and indicate the addresses of each point at each corner of the ruled line shown in the figure. be.

また、クリツピング制御部10は、罫線印字位
置指定のアドレスがフレームメモリ19の有効ア
ドレス領域を越えて指定された場合のアドレス補
正処理を行う回路であり、マスキング回路18a
は罫線印字の際、不要な印字ドツトを個々にマス
クするための(印字させない為の)回路である。
また、印字制御部20はフレームメモリ19の文
字パターンデータを印字部に出力するための回路
である。
The clipping control unit 10 is a circuit that performs address correction processing when an address for specifying a ruled line printing position is specified beyond the effective address area of the frame memory 19, and the masking circuit 18a
is a circuit for individually masking unnecessary print dots (to prevent them from being printed) when printing ruled lines.
Further, the print control section 20 is a circuit for outputting character pattern data in the frame memory 19 to the printing section.

以上の如く構成された本発明の印字制御装置を
含む印字装置の動作を以下で説明する。
The operation of the printing device including the printing control device of the present invention configured as described above will be explained below.

ホストコンピユータから文字データ及び制御デ
ータが入力し、罫線印字の各種命令で罫線印字に
必要な各パラメータデータが入力指定される。罫
線のコーナーパターンの形状は上述の如くq1〜q4
で指定され罫線属性制御部11へ送られこの各パ
ラメータ値をデコードとして、コーナーテーブル
12内の対応するコーナパターンをサーチして出
力させる。さらにそのデータは、左上、右上、左
下、右下のコーナ部の指定によりそれぞれ回転処
理部13にて回転処理が加えられ、各コーナーに
対応した罫線発生部17に一時記憶される。第6
図のフローチヤートは、この処理を説明するもの
ので、まず、罫線の左上のコーナーの形状をq1
入力された数値により指定し(ステツプ1)、コ
ーナーテーブル12をサーチし(ステツプ2)、
指定パターンオを回転処理部13で回転処理する
ことなく罫線発生部17に入力する(ステツプ
3、4)。
Character data and control data are input from the host computer, and various parameter data required for ruled line printing are input and specified by various ruled line printing commands. The shape of the corner pattern of the ruled line is q 1 to q 4 as described above.
are specified and sent to the ruled line attribute control section 11, and each parameter value is decoded to search for and output the corresponding corner pattern in the corner table 12. Further, the data is subjected to rotation processing by the rotation processing section 13 according to the designation of the upper left, upper right, lower left, and lower right corners, and is temporarily stored in the ruled line generation section 17 corresponding to each corner. 6th
The flowchart in the figure explains this process. First, the shape of the upper left corner of the ruled line is specified by the numerical value input to q1 (step 1), the corner table 12 is searched (step 2),
The specified pattern is input to the ruled line generation section 17 without being rotated by the rotation processing section 13 (steps 3 and 4).

次に罫線の右上コーナー形状をq2に入力されて
いる数値により指定し(ステツプ5)、コーナー
テーブル12をサーチし(ステツプ6)、回転処
理部13で所定の回転を与えた後罫線発生部17
に入力する(ステツプ7、8)。同様にして罫線
の左下コーナーの形状をステツプ9〜ステツプ12
により罫線発生部17に入力し、右下コーナーの
形状をステツプ13〜ステツプ16により罫線発生部
17に入力する。
Next, the shape of the upper right corner of the ruled line is specified by the value input in q2 (step 5), the corner table 12 is searched (step 6), and the rotation processing section 13 gives a predetermined rotation, and then the ruled line generation section 17
(Steps 7 and 8). In the same way, change the shape of the lower left corner of the ruled line from Step 9 to Step 12.
The shape of the lower right corner is input to the ruled line generator 17 in steps 13 to 16.

また、罫線で囲まれた枠内の領域のあみかけ処
理はあみかけテーブルパターン15を用いて処理
することができ、この時指定パラメータs1を同様
にデコードし、あみかけパターンテーブル15か
ら指示通りのパターンが選択され、罫線発生部1
7にセツトすることができる。
In addition, the shade processing of the area within the frame surrounded by ruled lines can be processed using the shade table pattern 15. At this time, the specified parameter s 1 is decoded in the same way, and the shaded area is processed as instructed from the shade pattern table 15. pattern is selected, and the ruled line generation part 1
It can be set to 7.

また罫線の直線部分の基本パターンを発生する
直線ROM14にり罫線属性制御部11からの出
力指示に応じて適宜そのパターンデータが出力さ
れる。さらにユーザーが自由に登録書き変え可能
なパターン登録エリア(RAM)16により、あ
みかけパターン等を任意に作成登録し利用出来
る。
Further, the pattern data is appropriately outputted to the straight line ROM 14, which generates the basic pattern of the straight line portion of the ruled line, in response to an output instruction from the ruled line attribute control section 11. Furthermore, the pattern registration area (RAM) 16 allows the user to freely register and rewrite patterns, allowing the user to create and register patterns, etc. as desired.

一方、罫線の印字位置指定は、次のようにして
行われる。本発明の罫線印字の位置は、文字ピツ
チデータCと行ピツチデータLとによつて決まる
印字方向基準線と改行方向基準線より何ドツトず
らすか指定(パラメータp1、p2)するので、その
ための各種パラメータが命令コマンドにより入力
されて来る。これらのパラメータにより罫線パタ
ーンの書き込みに必要となるアドレスデータを、
アドレス制御部6で演算しアドレスレジスタ9に
各々セツトする。
On the other hand, the printing position of the ruled line is specified as follows. The position of ruled line printing in the present invention is specified by the number of dots to be shifted from the print direction reference line and line feed direction reference line determined by character pitch data C and line pitch data L (parameters p 1 and p 2 ). Parameters are input by instruction commands. These parameters create the address data needed to write the ruled line pattern.
The address control section 6 calculates the values and sets them in the address registers 9, respectively.

すなわち、印字方向基準線と改行方向基準線と
改行方向基準線ど形成されるマス目を一単位とし
てx方向、y方向の座標を指定する。この指定を
上述の文字ピツチデータCと行ピツチデータL
と、パラメータP1、P2とによりアドレス制御部
6でフレームメモリ19上の罫線印字開始及び終
了アドレスに換算し、アドレスレジスタ9にセツ
トするものである。
That is, coordinates in the x direction and y direction are specified using a square formed by a print direction reference line, a line feed direction reference line, a line feed direction reference line, etc. as one unit. This specification is applied to the character pitch data C and line pitch data L mentioned above.
, and the parameters P 1 and P 2 , the address control section 6 converts the addresses into ruled line printing start and end addresses on the frame memory 19 and sets them in the address register 9 .

第7図はこの動作を示すフローチヤートであ
り、文字ピツチC、行ピツチLをアドレスレジス
タに入力し(ステツプS1)、罫線開始指定位置
XS、YS及び罫線終了指定位置XE、YEが指定入力
され(ステツプS2、S3)、移動量△x、△yが指
定入力すると(ステツプS4)、左上コーナー印字
位置x1、y1はx1=(XS−1)C−△x、y1=YS
L+△yの計算式により計算され(ステツプS5)、
右下コーナー印字位置x2、y2はx2=(XE−1)C
−△x、y2=YE・L+△yの計算式により計算
され(ステツプS6)、クリツピツグ処理(ステツ
プS7)がなされた後、ステツプS8〜ステツプS11
により罫線の上辺書込みエリア(xa、ya)、(xb
ya)、下辺書込みエリア(xa、yb)、(xb、yb)、左
辺書込みエリア(xc、yc)、(xc、yd)、右辺書込
みエリア(xd、yc)、(xd、yd)、を算出し、線指
定を行い(ステツプS12)、マスキング回路18a
を用いて点線等を作成し(ステツプS13)、罫線発
生部17を介して、各コーナー部の書込み、直線
部の書込み処理を行う(ステツプS14〜S16)。即
ち第5図に示す如く、これら4つのコーナー部の
印字アドレス左上(x1、y1)、右上(x2、y2)、左
下(x1、y2)、右下(x2、y2)から、それらを接
続する直線部罫線印字開始及び終了位置を算出
し、アドレスレジスタにセツトし、上辺は(xa
ya)から(xb、ya)の間、下辺は(xa、yb)から
(xb、yb)の間、左辺は(xc、yc)から(xc、yd
の間、右辺は(xd、yc)から(xd、yd)の間を直
線パターンで罫線印字することが可能となる。
Figure 7 is a flowchart showing this operation, in which character pitch C and line pitch L are input into the address register (step S 1 ), and the specified line start position is entered.
When X S , Y S and specified line end positions X E , Y E are specified and input (steps S 2 and S 3 ), and movement amounts △x and △y are specified and input (step S 4 ), the upper left corner printing position x 1 , y 1 is x 1 = (X S - 1) C - △x, y 1 = Y S
Calculated using the formula L + △y (step S 5 ),
Lower right corner printing position x 2 , y 2 is x 2 = (X E −1)C
-Δx, y 2 = Y E L + Δy is calculated (step S 6 ), and after clipping processing (step S 7 ) is performed, steps S 8 to S 11 are performed.
The upper writing area of the ruled line (x a , y a ), (x b ,
y a ), bottom writing area (x a , y b ), (x b , y b ), left writing area (x c , y c ), (x c , y d ), right writing area (x d , y c ), (x d , y d ), and specify the line (step S 12 ), and then the masking circuit 18a
A dotted line or the like is created using the dotted line generator 17 (step S13 ), and the writing process for each corner and straight line part is performed via the ruled line generating section 17 (steps S14 to S16 ). That is, as shown in Fig. 5, the printing addresses of these four corners are upper left (x 1 , y 1 ), upper right (x 2 , y 2 ), lower left (x 1 , y 2 ), and lower right (x 2 , y 2 ). 2 ), calculate the printing start and end positions of the straight line ruled line connecting them, set it in the address register, and set the upper side as (x a ,
y a ) to (x b , y a ), the bottom side is between (x a , y b ) to (x b , y b ), and the left side is from (x c , y c ) to (x c , y d )
Between (x d , y c ) and (x d , y d ) on the right side, it becomes possible to print ruled lines in a straight line pattern.

これらのアドレスに基づき、アドレス制御部6
がフレームメモリ19を順次アクセスし、一方罫
線作成部18は、各コーナーパターンデータ、直
線部パターンデータを罫線発生部17より適宜読
み出し、アクセスされたアドレスに書込んで行
く。この時、罫線属性制御部11のエリアr1によ
り点線や一点鎖線のパターンが指定されている
と、罫線作成部18内のマスキング回路18aを
介してパターンデータが書込まれるので、このマ
スキング回路18aで所定の部分のデータがマス
キングされて書込まれる。また、罫線開始及び終
了アドレス(x1、y1)、(x2、y2)を1ドツトずら
して同様の処理を繰り返し線幅を広げた印字を行
うこともできる。さらに、コーナー部の線幅を広
げる場合には第8図に示すごとく外側の印字線2
1と内側の印字線22とでその端部が1ドツトず
つずれるため、ずれたドツトはマスキング回路1
8aを用いて罫線印字の際マスクして印字線2
1,22の端部を一致させる。
Based on these addresses, the address control unit 6
sequentially accesses the frame memory 19, while the ruled line generation unit 18 reads each corner pattern data and straight line pattern data from the ruled line generation unit 17 as appropriate, and writes them to the accessed address. At this time, if a dotted line or one-dot chain line pattern is specified in area r1 of the ruled line attribute control section 11, the pattern data is written via the masking circuit 18a in the ruled line creation section 18, so this masking circuit 18a A predetermined portion of data is masked and written. It is also possible to print with a wider line width by shifting the ruled line start and end addresses (x 1 , y 1 ) and (x 2 , y 2 ) by one dot and repeating the same process. Furthermore, when widening the line width at the corner part, as shown in Figure 8, the outer printed line 2
1 and the inner printed line 22, their ends are shifted by one dot, so the shifted dots are masked by the masking circuit 1.
8a to mask and print line 2 when printing ruled lines.
Match the ends of 1 and 22.

このようにしてフレームメモリ19内に文字パ
ターンデータや罫線パターンデータが入力した
後、ホストコンピユータからの印字命令によりこ
れらのパターンデータは印字制御部20を介して
印字部により印字が行われる。
After the character pattern data and ruled line pattern data are input into the frame memory 19 in this manner, these pattern data are printed by the printing section via the printing control section 20 in response to a printing command from the host computer.

以上のような方法で本発明は予め罫線印字の各
コーナーの位置を指定して罫線印字を行うので、
罫線位置をドツト単位で指定可能となり、印字さ
れる文字に対して自由な位置に罫線を引くことが
可能となり、短時間で印字処理ができる。
In the method described above, the present invention performs ruled line printing by specifying the position of each corner of ruled line printing in advance.
The position of the ruled line can be specified in units of dots, making it possible to draw the ruled line at any position for the characters to be printed, and printing processing can be completed in a short time.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように本発明によれば、罫
線を印字する際、あらかじめ印字する文字の基準
線から罫線の印字位置を指定するため、従来のよ
うな文字に対する罫線の位置関係の面倒な計算が
不要であり、短時間で罫線印字を行うことができ
る。また、予めコーナー部の種類を指定すること
により、罫線印字の際のそのコーナーも一度に印
字でき、さらにコーナーパターンの指定は4箇所
を独立に選択することができるので、各種の罫線
を簡単に印字することが可能となる。
As explained in detail above, according to the present invention, when printing ruled lines, the printing position of the ruled lines is specified in advance from the reference line of the characters to be printed, so that the troublesome calculation of the positional relationship of the ruled lines with respect to the characters as in the conventional method is avoided. is not necessary, and ruled line printing can be performed in a short time. In addition, by specifying the type of corner section in advance, you can print that corner at the same time when printing ruled lines, and you can also select four corner patterns independently, making it easy to print various ruled lines. It becomes possible to print.

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

第1図は本発明の罫線印字制御装置を含む印字
装置の回路ブロツク図、第2図はコーナーパター
ンの構成図、第3図は罫線パターンの構成図、第
4図は罫線の基準線に対するずれを示す構成図、
第5図は各アドレス位置の構成図、第6図はフロ
ーチヤート図、第7図はフローチヤート図、第8
図はコーナー部の太線印字を説明する構成図であ
る。 4……コマンド制御部、5……文字制御部、6
……アドレス制御部、9……アドレスレジスタ、
11……罫線属性制御部、12……コーナーテー
ブル、13……回転処理部、14……直線
ROM、15……あみかけテーブル、17……罫
線発生部、18……罫線作成部、19……フレー
ムメモリ。
Fig. 1 is a circuit block diagram of a printing device including the ruled line printing control device of the present invention, Fig. 2 is a block diagram of a corner pattern, Fig. 3 is a block diagram of a ruled line pattern, and Fig. 4 shows the deviation of the ruled line from the reference line. A configuration diagram showing
Figure 5 is a configuration diagram of each address position, Figure 6 is a flowchart, Figure 7 is a flowchart, and Figure 8 is a flowchart.
The figure is a configuration diagram illustrating thick line printing at corners. 4...Command control section, 5...Character control section, 6
...Address control unit, 9...Address register,
11... Ruled line attribute control section, 12... Corner table, 13... Rotation processing section, 14... Straight line
ROM, 15... Ami-kake table, 17... Ruled line generation section, 18... Ruled line creation section, 19... Frame memory.

Claims (1)

【特許請求の範囲】[Claims] 1 上位機器から入力する印字情報に従つて読み
出し書込み可能な2次元画像メモリに展開された
ドツトパターンデータに基づき印字動作を行う印
字制御装置において、前記印字情報に従つて矩形
罫線のコーナ部パターンデータの印字位置を文字
基準線に対してドツト単位で指定する罫線位置指
定手段と、前記印字情報に従つて前記コーナ部パ
ターンデータを発生するコーナパターンデータ発
生手段と、前記コーナ部パターンデータを前記罫
線位置指定手段の指定に応じて前記2次元画像メ
モリ内の所定アドレスに書込むコーナ書込み手段
と、複数の前記コーナ部パターンデータの端部を
接続する直線パターンデータを前記2次元画像メ
モリ内に書込む直線書込手段とを備えることを特
徴とする印字制御装置。
1. In a printing control device that performs a printing operation based on dot pattern data developed in a two-dimensional image memory that can be read and written according to printing information input from a host device, corner pattern data of rectangular ruled lines is printed according to the printing information. ruled line position specifying means for specifying the printing position of the character in dot units with respect to the character reference line; corner pattern data generating means for generating the corner pattern data according to the printing information; corner writing means for writing into a predetermined address in the two-dimensional image memory according to the designation of the position specifying means; and writing straight line pattern data connecting ends of the plurality of corner pattern data into the two-dimensional image memory. 1. A printing control device comprising a linear writing means for writing.
JP60083898A 1985-04-19 1985-04-19 Printing controller Granted JPS61241160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60083898A JPS61241160A (en) 1985-04-19 1985-04-19 Printing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60083898A JPS61241160A (en) 1985-04-19 1985-04-19 Printing controller

Publications (2)

Publication Number Publication Date
JPS61241160A JPS61241160A (en) 1986-10-27
JPH049156B2 true JPH049156B2 (en) 1992-02-19

Family

ID=13815447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60083898A Granted JPS61241160A (en) 1985-04-19 1985-04-19 Printing controller

Country Status (1)

Country Link
JP (1) JPS61241160A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01244884A (en) * 1988-03-26 1989-09-29 Brother Ind Ltd Document processor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5865688A (en) * 1981-10-16 1983-04-19 Casio Comput Co Ltd Ruled line printing system
JPS59146332A (en) * 1983-02-10 1984-08-22 Dainippon Printing Co Ltd Form reading and printing program generating method using form design system
JPS60527A (en) * 1983-06-16 1985-01-05 Ricoh Co Ltd Word processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5865688A (en) * 1981-10-16 1983-04-19 Casio Comput Co Ltd Ruled line printing system
JPS59146332A (en) * 1983-02-10 1984-08-22 Dainippon Printing Co Ltd Form reading and printing program generating method using form design system
JPS60527A (en) * 1983-06-16 1985-01-05 Ricoh Co Ltd Word processor

Also Published As

Publication number Publication date
JPS61241160A (en) 1986-10-27

Similar Documents

Publication Publication Date Title
KR860001071B1 (en) Method for editing document
JPH0728451A (en) Data conversion device
JP2845380B2 (en) Printing apparatus and control method thereof
JPH049156B2 (en)
JPS5833784A (en) Word processor with framing function
JP3118310B2 (en) Print processing method of page printer
JP2699386B2 (en) Image recording device
JPH0366157B2 (en)
JPH06100905B2 (en) Pattern output method
JPH05265428A (en) Outline data converting device
JP2770719B2 (en) Form overlay data generator
JPH0747337B2 (en) output method
JP3040624B2 (en) Pattern generator
JP2935189B2 (en) Outline font processor
JP2525333B2 (en) Output device
JP3211404B2 (en) String output device
JPH049150B2 (en)
JPS6189861A (en) Printing controller
JPH0560598B2 (en)
JPS61108562A (en) Letter pitch processing system
JPH0818445B2 (en) How to connect vertical dots in serial dot printer
JPS62293286A (en) Word processor
JPH06348249A (en) Data converting device
JPH0263850A (en) Image processor
JP2001296854A (en) Character generation device and recording medium

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees