JPH0410433B2 - - Google Patents

Info

Publication number
JPH0410433B2
JPH0410433B2 JP58241763A JP24176383A JPH0410433B2 JP H0410433 B2 JPH0410433 B2 JP H0410433B2 JP 58241763 A JP58241763 A JP 58241763A JP 24176383 A JP24176383 A JP 24176383A JP H0410433 B2 JPH0410433 B2 JP H0410433B2
Authority
JP
Japan
Prior art keywords
pattern
ruled line
pattern data
data
segment
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
JP58241763A
Other languages
Japanese (ja)
Other versions
JPS60132780A (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 JP58241763A priority Critical patent/JPS60132780A/en
Publication of JPS60132780A publication Critical patent/JPS60132780A/en
Publication of JPH0410433B2 publication Critical patent/JPH0410433B2/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

【発明の詳細な説明】 (a) 発明の技術分野 本発明はプリンタにおいて罫線を印字する罫線
パタンデータを発生する罫線パタン発生装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a ruled line pattern generation device that generates ruled line pattern data for printing ruled lines in a printer.

(b) 従来技術と問題点 ドツトプリンタにおいては、文字、記号等のパ
タンデータを発生する文字発生器が用いられてい
る。プリンタでは、「表」形式で印字することが
あるが、この場合「表」の枠組を構成する罫線パ
タン発生用の文字発生器を、別に用意する必要が
ある。しかし多種の罫線出力を必要とするときに
は、これに応じた種数の罫線パタンを発生する罫
線パタン発生器が必要となる欠点があつた。
(b) Prior Art and Problems Dot printers use character generators that generate pattern data such as characters and symbols. Printers sometimes print in a "table" format, but in this case it is necessary to separately prepare a character generator for generating ruled line patterns that make up the framework of the "table". However, when a wide variety of ruled line outputs are required, there is a drawback that a ruled line pattern generator that generates a corresponding number of ruled line patterns is required.

(c) 発明の目的 本発明は上記の欠点を解決するためになされた
もので、プリンタ等における罫線出力を容易とす
る罫線パタン発生装置の提供を目的とする。
(c) Object of the Invention The present invention was made to solve the above-mentioned drawbacks, and an object of the present invention is to provide a ruled line pattern generation device that facilitates the output of ruled lines in a printer or the like.

(d) 発明の構成 本発明は、1文字がM×N個のドツト数で構成
される文字を出力する装置において、1文字の領
域中に所定長さを持つ横罫線パターンを少なくと
も1本備えたパターンデータと、該領域中に所定
長さを持つ縦罫線パターンを少なくとも1本備え
たパターンデータと、該領域のうちの所定領域を
指定する複数種類のパターンデータとをそれぞれ
発生するパターン発生部と、前記発生したパター
ンデータのうちの所定パターンデータを対応する
ドツト間で演算して罫線パターンを構成する最小
要素のセグメントパターンデータを生成するとと
もに、指定の罫線情報に基づき該セグメントパタ
ーンデータを合成して対応する罫線パターンデー
タを発生する演算部とを有し、該パターン発生部
で発生した前記パターンデータを該演算部で演算
してセグメントパターンデータを生成し、該罫線
情報に基づき、該セグメントパターンデータを合
成して対応する罫線パターンデータを発生するよ
うに構成したものである。
(d) Structure of the Invention The present invention provides an apparatus for outputting characters in which one character is composed of M×N dots, which includes at least one horizontal ruled line pattern having a predetermined length in the area of one character. a pattern generation unit that generates pattern data including at least one vertical ruled line pattern having a predetermined length in the region, and a plurality of types of pattern data specifying a predetermined region of the region; Then, predetermined pattern data of the generated pattern data is calculated between corresponding dots to generate segment pattern data of the minimum element constituting the ruled line pattern, and the segment pattern data is synthesized based on specified ruled line information. and a calculation unit that generates corresponding ruled line pattern data, the calculation unit calculates the pattern data generated by the pattern generation unit to generate segment pattern data, and the segment pattern data is generated based on the ruled line information. The system is configured to generate corresponding ruled line pattern data by synthesizing pattern data.

(e) 発明の実施例 以下、本発明を図面によつて説明する。第1図
は本発明の一実施例を説明する基本パタン、第2
図は本発明の一実施例を説明する罫線パタンであ
る。本実施例では第1図a〜eに示す如き5個の
基本パターンA〜E(Aは縦罫線パターン、Bは
横罫線パターン、C〜Eは領域を指定するための
基本パターン)を予め用意する。なお基本パタン
A〜Eは(16×16)個のドツト信号で構成されて
おり、斜線で示した部分が信号「1」で白地部分
が信号「0」である。例えば第1図aの基本パタ
ンAは、列L1(16ドツト)及び列L9(16ドツト)
のみが信号「1」で、他の白地部分は信号「0」
なるパタンデータで構成される。また第1図cに
示す基本パタンCは、行M1〜M9までの斜線部分
が信号「1」で、他の白地部分は信号「0」なる
パタンデータで構成される。同様に他の基本パタ
ンB,D及びEも第1図b,d及びeに示す如き
パタンデータで構成されるものとする。上記の5
つの基本パタンA〜Eを組合わせることにより、
第2図に示す罫線の6個のセグメントa〜fを演
算により創出することができる。このセグメント
a〜fを創出する演算式は次の通りである。
(e) Examples of the invention The present invention will be explained below with reference to the drawings. Fig. 1 shows a basic pattern explaining one embodiment of the present invention;
The figure shows a ruled line pattern explaining one embodiment of the present invention. In this embodiment, five basic patterns A to E (A is a vertical ruled line pattern, B is a horizontal ruled line pattern, and C to E are basic patterns for specifying an area) are prepared in advance as shown in FIG. 1 a to e. do. The basic patterns A to E are composed of (16×16) dot signals, and the shaded portion is the signal “1” and the white portion is the signal “0”. For example, basic pattern A in Fig. 1a has row L 1 (16 dots) and row L 9 (16 dots).
only the signal is "1", the other white parts are the signal "0"
It consists of pattern data. Further, the basic pattern C shown in FIG. 1c is constituted by pattern data in which the diagonally shaded portions of rows M 1 to M 9 are signal "1" and the other white portions are signal "0". Similarly, other basic patterns B, D and E are also constructed from pattern data as shown in FIG. 1b, d and e. 5 above
By combining the two basic patterns A to E,
Six segments a to f of the ruled line shown in FIG. 2 can be created by calculation. The calculation formula for creating segments a to f is as follows.

a=A・C・ ……(1) b=A・D・ ……(2) c=A・C・E ……(3) d=A・B・E ……(4) e=B・ ……(5) f=B・E ……(6) 第3図は本発明の一実施例を説明するブロツク
図である。第3図におけるデコーダ1〜5は、カ
ウンタ6で順次駆動されることにより、第1図a
〜eに示す基本パタンA〜Eが出力されるデコー
ダである。また文字発生器7は、カウンタ6及び
パタン部8で構成され、パルスPによりカウンタ
6が駆動されるに伴い文字パタンPDが出力され
る。第3図において、制御部9が、文字コード
CH及びパルスPを出力することにより、該文字
コードCHに対応する文字パタンPDが出力され
る。この文字パタンPDは切替部10の接点イを
経てプリンタ制御部11へ送られ印字ヘツド12
により用紙13に文字がドツト形式で印字出力さ
れる。これに対し罫線のセグメントaを出力する
場合、制御部9は、制御信号Ka(罫線コードの一
部)、パルスP及び切替信号Gを出力する。この
切替信号Gにより切替部10は接点ロに切替えら
れる。またデコーダ部14のデコーダ1〜5は、
カウンタ6の作動により、その出力側に基本パタ
ンA〜Eを出力する。一方演算部15は、制御信
号Kaを受けると、前記(1)式の演算、すなわち
(A・C・)の演算を行う。これにより第2図
におけるセグメントaを印字するドツトデータ
Haが演算部15から出力される。このドツトデ
ータHaは、切替部10の接点ロを経てプリンタ
制御部11及び印字ヘツド12へ送られるので、
用紙13に第2図に示すセグメントaの罫線(の
一部)が印字出力される。同様に第2図に示すそ
の他のセグメントb〜fを出力する場合には、第
3図における制御部9から、それぞれ制御信号
Kb〜Kf(図示していない)を出力することによ
り、演算部15からドツトデータDb〜Df(図示し
ていない)が出力される。なお、セグメントa〜
fの組合せの罫線パターンはその制御信号により
対応するセグメントが演算部15で合成される。
なおプリンタ制御部11に供給されるパルスP
は、同期制御用である。また本発明は、文字発生
器7のカウンタ6を、デコーダ1〜5の駆動に用
いることを特徴とする。
a=A・C・ ……(1) b=A・D・ ……(2) c=A・C・E ……(3) d=A・B・E ……(4) e=B・...(5) f=B·E ...(6) FIG. 3 is a block diagram illustrating an embodiment of the present invention. Decoders 1 to 5 in FIG. 3 are sequentially driven by a counter 6 to
This is a decoder that outputs basic patterns A to E shown in ~e. The character generator 7 includes a counter 6 and a pattern section 8, and as the counter 6 is driven by the pulse P, a character pattern PD is output. In FIG. 3, the control unit 9 controls the character code
By outputting CH and pulse P, a character pattern PD corresponding to the character code CH is output. This character pattern PD is sent to the printer control unit 11 via contact A of the switching unit 10, and then sent to the print head 12.
As a result, characters are printed out on the paper 13 in the form of dots. On the other hand, when outputting the ruled line segment a, the control section 9 outputs the control signal Ka (part of the ruled line code), the pulse P, and the switching signal G. This switching signal G causes the switching unit 10 to switch to contact point RO. Further, decoders 1 to 5 of the decoder section 14 are
The operation of the counter 6 outputs basic patterns A to E on its output side. On the other hand, when the calculation unit 15 receives the control signal Ka, it performs the calculation of the above-mentioned equation (1), that is, the calculation of (A·C·). As a result, the dot data for printing segment a in Figure 2
Ha is output from the calculation unit 15. This dot data Ha is sent to the printer control section 11 and print head 12 via the contact point Lo of the switching section 10, so that
A ruled line (part of a segment a) shown in FIG. 2 is printed on the paper 13. Similarly, when outputting other segments b to f shown in FIG. 2, control signals are sent from the control section 9 in FIG.
By outputting Kb to Kf (not shown), the arithmetic unit 15 outputs dot data Db to Df (not shown). In addition, segment a~
For the ruled line patterns of the f combinations, corresponding segments are synthesized by the calculation unit 15 according to the control signals.
Note that the pulse P supplied to the printer control unit 11
is for synchronous control. The present invention is also characterized in that the counter 6 of the character generator 7 is used to drive the decoders 1-5.

(f) 発明の効果 以上のように本発明は、罫線出力用の基本パタ
ンの組合せにより、所要の罫線を容易に出力しう
る利点を有する。
(f) Effects of the Invention As described above, the present invention has the advantage that required ruled lines can be easily output by combining basic patterns for outputting ruled lines.

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

第1図は本発明の一実施例を説明する基本パタ
ン、第2図は本発明の一実施例を説明する罫線パ
タン、第3図は本発明の一実施例を説明するブロ
ツク図であり、図中に用いた符号は次の通りであ
る。 1,2,3,4,5はデコーダ、6はカウン
タ、7は文字発生器、8はパタン部、9は制御
部、10は切替部、11はプリンタ制御部、12
は印字ヘツド、13は用紙、14はデコーダ部、
15は演算部、A,B,C,D,Eは基本パタ
ン、a,b,c,d,e,fは罫線を構成するセ
グメント、CHは文字コード、Gは切替信号、Ha
はドツトデータ、Kaは制御信号、L1,L9,L16
列、M1,M8,M9,M16は行、Pはパルス、PD
は文字パタン、イ,ロは接点を示す。
FIG. 1 is a basic pattern for explaining an embodiment of the present invention, FIG. 2 is a ruled line pattern for explaining an embodiment of the present invention, and FIG. 3 is a block diagram for explaining an embodiment of the present invention. The symbols used in the figure are as follows. 1, 2, 3, 4, 5 are decoders, 6 is a counter, 7 is a character generator, 8 is a pattern section, 9 is a control section, 10 is a switching section, 11 is a printer control section, 12
is a print head, 13 is paper, 14 is a decoder section,
15 is an arithmetic unit, A, B, C, D, E are basic patterns, a, b, c, d, e, f are segments forming ruled lines, CH is a character code, G is a switching signal, Ha
is dot data, Ka is control signal, L 1 , L 9 , L 16 are columns, M 1 , M 8 , M 9 , M 16 are rows, P is pulse, PD
indicates a character pattern, and A and B indicate contact points.

Claims (1)

【特許請求の範囲】 1 1文字がM×N個のドツト数で構成される文
字を出力する装置において、 1文字の領域中に所定長さを持つ横罫線パター
ンを少なくとも1本備えたパターンデータと、該
領域中に所定長さを持つ縦罫線パターンを少なく
とも1本備えたパターンデータと、該領域のうち
の所定領域を指定する複数種類のパターンデータ
とをそれぞれ発生するパターン発生部と、 前記発生したパターンデータのうちの所定パタ
ーンデータを対応するドツト間で演算して罫線パ
ターンを構成する最小要素のセグメントパターン
データを生成するとともに、指定の罫線情報に基
づき該セグメントパターンデータを合成して対応
する罫線パターンデータを発生する演算部と を有し、該パターン発生部で発生した前記パター
ンデータを該演算部で演算してセグメントパター
ンデータを生成し、該罫線情報に基づき、該セグ
メントパターンデータを合成して対応する罫線パ
ターンデータを発生することを特徴とする罫線パ
ターン発生装置。 2 M×Nのドツトを走査指定するデータを出力
するカウンタと、該カウンタの出力に対応して所
定のドツト情報を出力する複数のデコーダとで構
成されるパターン発生部であることを特徴とする
特許請求の範囲第1項記載の罫線パターン発生装
置。
[Scope of Claims] 1. In a device that outputs characters in which one character is composed of M×N dots, pattern data includes at least one horizontal ruled line pattern having a predetermined length in the area of one character. a pattern generation unit that generates pattern data including at least one vertical ruled line pattern having a predetermined length in the area, and a plurality of types of pattern data specifying a predetermined area of the area; Predetermined pattern data of the generated pattern data is calculated between corresponding dots to generate segment pattern data of the minimum element constituting a ruled line pattern, and the segment pattern data is synthesized based on specified ruled line information. a calculation unit that generates ruled line pattern data, the calculation unit calculates the pattern data generated by the pattern generation unit to generate segment pattern data, and generates the segment pattern data based on the ruled line information. A ruled line pattern generation device characterized by generating corresponding ruled line pattern data by combining the data. 2. The pattern generating section is comprised of a counter that outputs data for scanning and specifying M×N dots, and a plurality of decoders that output predetermined dot information in response to the output of the counter. A ruled line pattern generating device according to claim 1.
JP58241763A 1983-12-21 1983-12-21 Rule pattern generation system Granted JPS60132780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58241763A JPS60132780A (en) 1983-12-21 1983-12-21 Rule pattern generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58241763A JPS60132780A (en) 1983-12-21 1983-12-21 Rule pattern generation system

Publications (2)

Publication Number Publication Date
JPS60132780A JPS60132780A (en) 1985-07-15
JPH0410433B2 true JPH0410433B2 (en) 1992-02-25

Family

ID=17079162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58241763A Granted JPS60132780A (en) 1983-12-21 1983-12-21 Rule pattern generation system

Country Status (1)

Country Link
JP (1) JPS60132780A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5771082A (en) * 1980-10-22 1982-05-01 Pentel Kk Method and device for processing ruled-line output
JPS5856085A (en) * 1981-09-29 1983-04-02 Toshiba Corp Print control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5771082A (en) * 1980-10-22 1982-05-01 Pentel Kk Method and device for processing ruled-line output
JPS5856085A (en) * 1981-09-29 1983-04-02 Toshiba Corp Print control system

Also Published As

Publication number Publication date
JPS60132780A (en) 1985-07-15

Similar Documents

Publication Publication Date Title
CA1115326A (en) Multiple speed ink jet printer
JPS5931750B2 (en) pattern generator
JPH0410433B2 (en)
US4625219A (en) Video signal generating apparatus for laser beam printer
JP2539783B2 (en) Inkjet printing head controller
EP0104603A3 (en) Image forming apparatus
JPS60132769A (en) Dot printer
JPS6083850A (en) Printer apparatus
JPH0119590B2 (en)
KR850002811A (en) Thermal printer
JPS6183079A (en) Terminal apparatus
JPS56144170A (en) Wire dot printer
JPS6117671B2 (en)
JPS5816380A (en) Output device for displaying or recording figure pattern
JP2624744B2 (en) How to set character width of printing machine
JPS60141567A (en) Automatic font-forming system
JPS57156271A (en) System for driving dot printing magnet
JPS588628B2 (en) Kogaku Teki Inji Souchi
JPH0798417B2 (en) Dot printer print position setting method
JPS5549279A (en) Printing method at dot matrix type printer
JPS5769062A (en) Printer
JPS58132568A (en) Dot printing and dot printer
GB1560553A (en) Visual display apparatus
JPH05301378A (en) Printing system of dot matrix type printer
JPS5465445A (en) Terminal equipment