JPH0786812B2 - Print control method - Google Patents

Print control method

Info

Publication number
JPH0786812B2
JPH0786812B2 JP1071516A JP7151689A JPH0786812B2 JP H0786812 B2 JPH0786812 B2 JP H0786812B2 JP 1071516 A JP1071516 A JP 1071516A JP 7151689 A JP7151689 A JP 7151689A JP H0786812 B2 JPH0786812 B2 JP H0786812B2
Authority
JP
Japan
Prior art keywords
pattern
dots
printing
line
print
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
JP1071516A
Other languages
Japanese (ja)
Other versions
JPH02249021A (en
Inventor
快之 永沼
純一 郡
忠之 武井
益生 近藤
春明 神原
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.)
Sanyo Electric Co Ltd
Original Assignee
Tottori Sanyo Electric Co Ltd
Sanyo Electric Co 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 Tottori Sanyo Electric Co Ltd, Sanyo Electric Co Ltd filed Critical Tottori Sanyo Electric Co Ltd
Priority to JP1071516A priority Critical patent/JPH0786812B2/en
Publication of JPH02249021A publication Critical patent/JPH02249021A/en
Publication of JPH0786812B2 publication Critical patent/JPH0786812B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、印字文字パターンの列方向ドット数より多い
印字素子を用いて、種々のパターンの印字を行う印字制
御方式に関する。
TECHNICAL FIELD The present invention relates to a print control method for printing various patterns by using printing elements having a number of dots in the row direction of a printed character pattern.

(ロ)従来の技術 一般に印字手段の印字素子のドット数は、印字文字パタ
ーンの列方向ドット数と同一のドット数を有している。
そして、特公昭61−59920号公報に開示されているよう
に、第6図(ア)の如く、文字にアンダーラインを付加
して印字するときは、先ず、印字する文字パターンをパ
ターンバッファに展開し、該文字パターンを印字手段へ
送出して印字を行い、印字後文字パターンの列方向ドッ
ト数FL分の紙送りを行い、次に、アンダーラインパター
ンをパターンバッファに展開し、該アンダーラインパタ
ーンを印字手段へ送出して印字を行っていた。即ち、第
6図(ウ)に示すように、文字パターンとアンダーライ
ンパターンを別々に印字していた。
(B) Prior Art Generally, the number of dots of the printing element of the printing means is the same as the number of dots in the column direction of the printed character pattern.
Then, as disclosed in Japanese Patent Publication No. 61-59920, when an underline is added to a character for printing as shown in FIG. 6 (a), first, a character pattern to be printed is developed in a pattern buffer. Then, the character pattern is sent to the printing means to perform printing, and after printing, paper feed for the dot number FL in the column direction of the character pattern is performed, then the underline pattern is expanded in the pattern buffer, and the underline pattern is Was sent to the printing means for printing. That is, as shown in FIG. 6C, the character pattern and the underline pattern were printed separately.

又、第7図(ア)の如く、文字を印字する印字行(17)
及び引き続く行間(18)に、連続する縦罫線を印字する
ときは、第7図(ウ)に示すように、印字文字パターン
の列方向ドット数、つまり、印字行(17)のドット数FL
の縦罫線パターンを印字行(17)に印字し、印字後重ね
部分に相当するドット数aを列方向ドット数FLから引算
したドット数(FL−a)分の紙送りを行い、次に、ドッ
ト数aの2倍のドット数2aの罫線パターンを印字し、印
字後、ドット数a分の紙送りを行い、更に、行間のドッ
ト数Sにドット数aを加算したドット数の罫線パターン
を印字し、最後に行間のドット数S分の紙送りを行って
いた。
In addition, as shown in Fig. 7 (a), a print line (17) for printing characters
And when printing continuous vertical ruled lines between the following lines (18), as shown in Fig. 7 (c), the number of dots in the column direction of the print character pattern, that is, the number of dots FL of the print line (17)
The vertical ruled line pattern of is printed on the print line (17), the number of dots a corresponding to the overlapped portion after printing is subtracted from the number of dots in the column direction FL, and the paper is fed by the number of dots (FL-a). , A ruled line pattern with a dot number 2a, which is twice the dot number a, is printed, the paper is fed by the dot number a, and then the dot number a is added to the dot number S between lines. Was printed, and finally the paper was fed by the number S of dots between lines.

尚、第6図(ウ)及び第7図(ウ)において、(16)は
ドット数FLの印字素子を示す。
6 (c) and 7 (c), (16) indicates a printing element having a dot number FL.

(ハ)発明が解決しようとする課題 従来の技術においては、印字行及び行間に縦罫線を印字
するときは、上述の如く、3回の改行を行って印字して
いたので、同様に印字速度が遅いと共に、罫線切れ対策
のための重ね部分が複数箇所にできてしまうので、印字
品質が低下するという課題があった。
(C) Problems to be Solved by the Invention In the prior art, when a vertical line is printed between print lines and lines, as described above, three line feeds are used for printing. However, there is a problem in that the print quality is deteriorated because the overlapping portion is formed at a plurality of places as a countermeasure against the broken ruled line.

(ニ)課題を解決するための手段 本発明は、縦罫線の一部を重ねて連続する縦罫線を印字
する印字制御方式において、前記重ね部分に相当するド
ット数と印字文字パターンの列方向ドット数を加算した
加算ドット数以上の印字素子を備えた印字を有し、前記
文字パターンを印字する印字行及び該印字行に続く行間
に縦罫線を印字する際、先ず前記加算ドット数の縦罫線
パターンを印字し、該印字後前記印字文字パターンの列
方向ドット数分の紙送りを行い、次に、前記重ね部分に
相当するドット数と前記行間のドット数を加算したドッ
ト数の縦罫線パターンを印字し、該印字後前記行間のド
ット数分の紙送りを行うことにより上記課題を解決する
ものである。
(D) Means for Solving the Problems The present invention is a print control method for printing a continuous vertical ruled line by overlapping a part of vertical ruled lines, and the number of dots corresponding to the overlapped portion and the dot in the column direction of the print character pattern. When a vertical ruled line having the number of added dots is printed and a vertical ruled line is printed between the print line for printing the character pattern and the line following the print line, A pattern is printed, and after the printing, paper feeding is performed by the number of dots in the column direction of the print character pattern, and then the vertical ruled line pattern of the number of dots obtained by adding the number of dots corresponding to the overlapping portion and the number of dots between the rows The above problem is solved by printing, and feeding the paper by the number of dots between the lines after the printing.

(ホ)作用 本発明では、印字行及び続く行間に縦罫線を引く際、2
回の改行で済むので、印字速度が向上する共に、罫線切
れ対策の重ね部分が1箇所となって、印字品質が向上す
る。
(E) Action In the present invention, when a vertical ruled line is drawn between a print line and a subsequent line, 2
Since only one line feed is required, the printing speed is improved, and at the same time, there is only one overlapping portion for the ruled line breakage countermeasure, and the printing quality is improved.

(ヘ)実施例 第3図は、本発明の印字制御方式を実現するワードプロ
セッサの構成を示すブロック図であり、(1)は文字コ
ード又は罫線コードを記憶し、文字コードのときはアン
ダーラインを付与するか否かを示すアンダーライン情報
が共に記憶されたテキストメモリ、(2)は印字制御
部、(3)は紙送り制御部、(4)は行間隔のドット数
Sが設定される行間隔メモリ、(5)はアンダーライン
パターンメモリ、(6)は文字パターンメモリ、(7)
は罫線パターンの基本パターンを記憶した罫線基本パタ
ーンメモリ、(8)はアンダーラインパターン,文字パ
ターン,罫線パターンのための各展開部(9)(10)
(11)を含むパターン展開部、(12)は展開されるパタ
ーンデータを記憶するパターンバッファ、(13)は印字
部、(14)はパターンデータを印字部へ供給する転送制
御部である。
(F) Embodiment FIG. 3 is a block diagram showing the configuration of a word processor that realizes the print control system of the present invention. (1) stores a character code or ruled line code, and underlines the character code. A text memory in which underline information indicating whether or not to add is stored together, (2) is a print control unit, (3) is a paper feed control unit, and (4) is a line in which the number of dots S of the line interval is set. Interval memory, (5) underline pattern memory, (6) character pattern memory, (7)
Is a ruled line basic pattern memory in which the basic pattern of the ruled line pattern is stored, and (8) is each expansion part for underline pattern, character pattern, and ruled line pattern (9) (10)
A pattern expansion unit including (11), (12) a pattern buffer for storing pattern data to be expanded, (13) a printing unit, and (14) a transfer control unit for supplying the pattern data to the printing unit.

第4図において、(15)は印字文字パターンを示し、同
図に示すように、印字部(13)の印字素子(16)のドッ
ト数Hは、文字パターンの列方向ドット数FLより大き
く、ここでは、48×48ドットの文字パターンに対して、
Hは「60」である。そして、データバッファ(12)の列
方向ドット数は、印字素子のドット数Hに設定されてい
る。
In FIG. 4, (15) shows a printed character pattern, and as shown in the figure, the dot number H of the printing element (16) of the printing section (13) is larger than the dot number FL in the column direction of the character pattern, Here, for the character pattern of 48 × 48 dots,
H is "60". The number of dots in the column direction of the data buffer (12) is set to the number of dots H of the printing element.

以下、第1図及び第2図のフローチャートを参照しなが
ら、本実施例を詳しく説明する。
Hereinafter, this embodiment will be described in detail with reference to the flowcharts of FIGS. 1 and 2.

先ず印字制御部(2)に印字指令が与えられると、印字
制御部(2)はテキストメモリ(1)からコード情報を
読出し、該コード情報が文字コードか罫線コードかを判
定し、文字コードであれば、第1図のフローチャートに
示すように、文字パターン展開部(10)を起動して、読
み出した文字コードに対応する文字パターンを文字パタ
ーンメモリから読み出し、48×48ドットの文字パターン
を、第5図に示すように、パターンバッファ(12)の上
方エリア(12a)に展開する。更に、該文字コードのア
ンダーライン情報の有無を判定し、判定が有りであれ
ば、アンダーラインパターン展開部(9)を起動して、
アンダーラインパターンをアンダーラインパターンメモ
リ(5)から読出し、パターンバッファ(12)の下方エ
リア(12b)に展開する。
First, when a print command is given to the print control unit (2), the print control unit (2) reads code information from the text memory (1), determines whether the code information is a character code or a ruled line code, and uses the character code. If so, as shown in the flow chart of FIG. 1, the character pattern expansion unit (10) is activated, the character pattern corresponding to the read character code is read from the character pattern memory, and the character pattern of 48 × 48 dots is As shown in FIG. 5, the pattern buffer (12) is developed in the upper area (12a). Further, it is determined whether there is underline information of the character code, and if there is a determination, the underline pattern expansion unit (9) is activated,
The underline pattern is read from the underline pattern memory (5) and developed in the lower area (12b) of the pattern buffer (12).

以上の展開処理を印字行一行の各文字コードに対して行
い、一行のパターンの展開が終了したら、パターンバッ
ファ(12)のパターンデータを転送制御部(14)によ
り、印字部(13)へ供給する。この際、転送制御部(1
4)は、文字パターンとアンダーラインパターンを合成
した各列の列パターンを、順次印字部(13)へ供給し、
従って、印字部(13)では、文字パターンとアンダーラ
インパターンがHドットの印字素子(16)により同時に
印字されることとなる。そして、印字後は、第6図
(イ)に示すように、紙送り制御部(3)により、(FL
+UL+S)=(48+12+10)ドット分の紙送りが行わ
れ、次行の印字の準備が為される。尚、ULはアンダーラ
インパターンの列方向ドット数を、又、Sは行間隔メモ
リ(4)に設定された行間隔のドット数を示す。
The above expansion processing is performed for each character code in one line of the print line, and when the expansion of the pattern of one line is completed, the pattern data in the pattern buffer (12) is supplied to the print unit (13) by the transfer control unit (14). To do. At this time, the transfer control unit (1
4) sequentially supplies the row pattern of each row that is a combination of the character pattern and the underline pattern to the printing unit (13),
Therefore, in the printing section (13), the character pattern and the underline pattern are simultaneously printed by the H dot printing element (16). After printing, as shown in FIG. 6 (a), the paper feed control unit (3) causes (FL
+ UL + S) = (48 + 12 + 10) dots of paper is fed to prepare for printing the next line. It should be noted that UL represents the number of dots in the column direction of the underline pattern, and S represents the number of dots in the line interval set in the line interval memory (4).

次に、罫線印字について説明する。Next, the ruled line printing will be described.

ここでは、第7図(ア)に示すように、印字行(17)、
行間(18)、印字行(19)に、長さ(FL+S+FL/2)=
(48+10+24)ドットの縦罫線を印字する例を上げる。
Here, as shown in FIG. 7A, the print line (17),
Line length (18), print line (19), length (FL + S + FL / 2) =
An example of printing vertical ruled lines of (48 + 10 + 24) dots is given.

この場合、テキストメモリ(1)から読出した印字行
(17)の縦罫線コードに基づき、第2図のフローチャー
トに示すように、印字制御部(2)は罫線パターン展開
部(11)を起動して、メモリ(7)より縦罫線基本パタ
ーンを読出し、(FL+a)×FL=(48+2)×48ドット
数の縦罫線パターンを、パターンバッファ(12)に展開
する。この縦罫線パターンは転送部制御部(14)より印
字部(13)へ供給され、第7図(イ)に示すように印字
される。印字後は、紙送り制御部(3)により、FLドッ
ト分の紙送りが為される。次に、罫線パターン展開部
(11)は、(S+a)×FL=(10+2)×48ドットの縦
罫線パターンをパターンバッファ(12)に展開し、この
パターンを印字部へ供給して印字を行う。そして、印字
後、行間Sドット分の紙送りを行う。この後は、次行の
同一桁位置の罫線コードがテキストメモリ(1)から読
出され、このコードに基づき、パターンバッファ(12)
にFL/2=24ドットの縦罫線パターンが展開され、このパ
ターンの印字が為される。即ち、改行は2回で済み、印
字行(17)と行間(18)における罫線切れ対策用の重ね
部分は1箇所となる。
In this case, based on the vertical ruled line code of the print line (17) read from the text memory (1), the print control unit (2) activates the ruled line pattern developing unit (11) as shown in the flowchart of FIG. Then, the vertical ruled line basic pattern is read from the memory (7), and the vertical ruled line pattern of (FL + a) × FL = (48 + 2) × 48 dots is developed in the pattern buffer (12). The vertical ruled line pattern is supplied from the transfer section control section (14) to the printing section (13) and printed as shown in FIG. After printing, the paper feed control unit (3) feeds the paper for the FL dots. Next, the ruled line pattern development unit (11) develops a vertical ruled line pattern of (S + a) × FL = (10 + 2) × 48 dots in the pattern buffer (12) and supplies this pattern to the printing unit for printing. . Then, after printing, paper feeding for S dots between lines is performed. After this, the ruled line code at the same digit position on the next line is read from the text memory (1), and based on this code, the pattern buffer (12)
A vertical ruled line pattern of FL / 2 = 24 dots is developed on and the pattern is printed. That is, the line feed is required only twice, and the overlapped portion for the ruled line breakage in the printed line (17) and the line interval (18) is only one place.

尚、文字パターンメモリには、FL×FL=48×48ドットの
文字パターンを記憶しても良いし、又、それ以上あるい
はそれ以下のサイズの文字パターンを記憶しておき、拡
大又は圧縮処理を施して、FL×FLの拡大文字パターンを
展開しても良い。
The character pattern memory may store a character pattern of FL × FL = 48 × 48 dots, or a character pattern of a size larger or smaller than that may be stored for expansion or compression processing. It may be applied to develop an enlarged character pattern of FL × FL.

(ト)発明の効果 本発明に依れば、印字の高速化を計り、印字品質を向上
させることができるようになる。
(G) Effect of the Invention According to the present invention, printing speed can be increased and printing quality can be improved.

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

第1図は本発明の第1実施例を示すフローチャート、第
2図は本発明の第2実施例を示すフローチャート、第3
図は本発明の方式を実現するワードプロセッサの構成を
示すブロック図、第4図は文字パターン及び印字素子を
示す図、第5図は第1実施例におけるパターンバッファ
の内容を説明するための説明図、第6図は第1実施例を
説明するための説明図、第7図は第2実施例を説明する
ための説明図である。 (1)……テキストメモリ、(2)……印字制御部、
(3)……紙送り制御部、(8)……パターン展開部、
(12)……パターンバッファ、(13)……印字部、(1
6)……印字制御部。
FIG. 1 is a flow chart showing the first embodiment of the present invention, FIG. 2 is a flow chart showing the second embodiment of the present invention, and FIG.
FIG. 4 is a block diagram showing the configuration of a word processor which realizes the system of the present invention, FIG. 4 is a diagram showing a character pattern and a printing element, and FIG. 5 is an explanatory diagram for explaining the contents of the pattern buffer in the first embodiment. FIG. 6 is an explanatory view for explaining the first embodiment, and FIG. 7 is an explanatory view for explaining the second embodiment. (1) ... text memory, (2) ... print control unit,
(3) …… Paper feed control unit, (8) …… Pattern development unit,
(12) …… Pattern buffer, (13) …… Printing section, (1
6) …… Print control unit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 武井 忠之 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (72)発明者 近藤 益生 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (72)発明者 神原 春明 鳥取県鳥取市南吉方3丁目201番地 鳥取 三洋電機株式会社内 (56)参考文献 特開 昭61−92886(JP,A) 特開 昭63−137856(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tadayuki Takei 2-18 Keihan Hondori, Moriguchi City, Osaka Prefecture Sanyo Electric Co., Ltd. (72) Inventor Haruaki Kamihara 3-201 Minamiyoshikata, Tottori City, Tottori Prefecture Tottori Sanyo Electric Co., Ltd. (56) Reference JP 61-92886 (JP, A) JP 63-137856 (JP) , A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】縦罫線の一部を重ねて連続する縦罫線を印
字する印字制御方式において、前記重ね部分に相当する
ドット数と印字文字パターンの列方向ドット数を加算し
た加算ドット数以上の印字素子を備えた印字手段を有
し、前記文字パターンを印字する印字行及び該印字行に
続く行間に縦罫線を印字する際、先ず前記加算ドット数
の縦罫線パターンを印字し、該印字後前記印字文字パタ
ーンの列方向ドット数分の紙送りを行い、次に、前記重
ね部分に相当するドット数と前記行間のドット数を加算
したドット数の縦罫線パターンを印字し、該印字後前記
行間のドット数分の紙送りを行うことを特徴とする印字
制御方式。
1. A print control method for printing a continuous vertical ruled line by overlapping a part of the vertical ruled lines, wherein the number of dots corresponding to the overlapped part and the number of dots in the column direction of the print character pattern are equal to or more than the added dot number. When a vertical ruled line is printed between a print line for printing the character pattern and a line following the print line, the print unit having a print element is used. Paper feeding is performed by the number of dots in the column direction of the print character pattern, and then a vertical ruled line pattern of the number of dots obtained by adding the number of dots corresponding to the overlapping portion and the number of dots between the lines is printed, and after the printing, A print control method characterized by feeding paper by the number of dots between lines.
JP1071516A 1989-03-22 1989-03-22 Print control method Expired - Lifetime JPH0786812B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1071516A JPH0786812B2 (en) 1989-03-22 1989-03-22 Print control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1071516A JPH0786812B2 (en) 1989-03-22 1989-03-22 Print control method

Publications (2)

Publication Number Publication Date
JPH02249021A JPH02249021A (en) 1990-10-04
JPH0786812B2 true JPH0786812B2 (en) 1995-09-20

Family

ID=13462958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1071516A Expired - Lifetime JPH0786812B2 (en) 1989-03-22 1989-03-22 Print control method

Country Status (1)

Country Link
JP (1) JPH0786812B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63137856A (en) * 1986-11-29 1988-06-09 Toshiba Corp Processing system for printing ruled line

Also Published As

Publication number Publication date
JPH02249021A (en) 1990-10-04

Similar Documents

Publication Publication Date Title
US4715006A (en) Image forming apparatus
GB2105887A (en) Print control system
US5562351A (en) Printer having constant and variable data memory
US4979131A (en) Printer apparatus
JPS6335431B2 (en)
US5469513A (en) Method and apparatus for generating pattern
US4953033A (en) Image forming apparatus for forming images by use of fonts
JPH0441548B2 (en)
EP0564202B1 (en) Image output method and apparatus with cache memory
US4573812A (en) Intercharacter space processing apparatus for printers
JP3016515B2 (en) Character processing apparatus and method
JPH0786812B2 (en) Print control method
JPH04325267A (en) Output method and its device
JPH01165443A (en) Printer
JPH05185654A (en) Tape printing apparatus
JPS62216029A (en) Graphic print control system
JP3029067B2 (en) Label printer
JP3177034B2 (en) Output information processing method and output information processing apparatus
JPS59201870A (en) Printer
JPS5931752B2 (en) printing device
JPH06100905B2 (en) Pattern output method
JP2876628B2 (en) Printing device
JPH0583384B2 (en)
JP3231863B2 (en) Character processing method and device
JPH0213631B2 (en)