JPH0226869B2 - - Google Patents
Info
- Publication number
- JPH0226869B2 JPH0226869B2 JP58043615A JP4361583A JPH0226869B2 JP H0226869 B2 JPH0226869 B2 JP H0226869B2 JP 58043615 A JP58043615 A JP 58043615A JP 4361583 A JP4361583 A JP 4361583A JP H0226869 B2 JPH0226869 B2 JP H0226869B2
- Authority
- JP
- Japan
- Prior art keywords
- dot
- pattern
- data
- format
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
- G06K15/10—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は印字パターン変換装置に係り、特に、
活字形式のプリンタで印字するための印字データ
をドツト形式のプリンタで印字するドツトパター
ンに変換する装置に関する。[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a printing pattern conversion device, and in particular,
The present invention relates to a device for converting print data to be printed by a type printer into a dot pattern to be printed by a dot printer.
従来の活字形式のプリンタによつて図表等を作
成する場合、一般に罫線等の直線部分はハイフオ
ンやストローク等の活字を複数個連続して印字す
ることで作成しているが、その性質上、実線は不
可能で、直線部分は破線となつてしまい、見づら
いなどの欠点があつた。一方、ドツト形式のプリ
ンタによれば、直線を実線で印字することが容易
に可能である。しかし、活字形式のプリンタを対
象とした印字データ列をドツト形式のプリンタに
入力した場合、ハイフオンやストローク等のコー
ドが複数個連続していても、そのままでは1字毎
にハイフオンやストロークがドツト印字されるだ
けであるため、やはり実線を印字することは不可
能である。即ち、活字形式のプリンタを対象に作
製された既存の図表作成ソフト等をそのままドツ
ト形式のプリンタに適用しても、罫線等を実線と
して活字することはできず、修正が必要となる。
When creating charts, graphs, etc. using conventional type printers, straight lines such as ruled lines are generally created by consecutively printing multiple types such as hyphens and strokes, but due to their nature, solid lines It was impossible to do so, and straight lines became broken lines, making them difficult to see. On the other hand, a dot-type printer can easily print straight lines as solid lines. However, when a print data string intended for a type format printer is input to a dot format printer, even if multiple codes such as hyphens and strokes are consecutive, hyphens and strokes will be printed as dots for each character. Therefore, it is still impossible to print a solid line. That is, even if existing diagram creation software created for type printers is applied directly to dot printers, it will not be possible to print ruled lines as solid lines, and modifications will be required.
本発明の目的は、活字形式のプリンタを対象に
作成された図表作成ソフト等を修正することな
く、その印字データ列をそのままドツト形式のプ
リンタな適用して、直線を実線等で印字すること
が可能な印字パターン変換装置を提供することに
ある。
An object of the present invention is to print straight lines as solid lines, etc. by directly applying the print data string to a dot format printer without modifying chart creation software created for type format printers. The object of the present invention is to provide a printing pattern conversion device that is capable of converting printing patterns.
本発明の印字パターン変換装置は、活字形式の
プリンタを対象とする印字データを入力して、そ
れを印字フオーマツト対応に格納する入力バツフ
アと、前記入力バツフアに格納された各データ毎
に、当該データの周囲データを参照してドツト形
式で印字するデータを示すビツトパターンを生成
する手段と、複数のドツトパターンを保持し、前
記ビツトパターンが示すドツトパターンを出力す
る手段と、前記出力されたドツトパターンを格納
し、ドツト形式のプリンタに送出する出力バツフ
アとを有することを特徴とするものである。
The printing pattern conversion device of the present invention includes an input buffer for inputting printing data intended for a type printer and storing it in correspondence with the printing format, and for each data stored in the input buffer. means for generating a bit pattern indicative of data to be printed in dot format by referring to surrounding data of the dot pattern; means for holding a plurality of dot patterns and outputting a dot pattern indicated by the bit pattern; The device is characterized by having an output buffer for storing the data and sending it to a dot format printer.
本発明の一実施例を第1図、第2図、第3図、
第4図に基づいて説明する。
An embodiment of the present invention is shown in FIGS. 1, 2, and 3.
This will be explained based on FIG.
第1図は本発明の一実施例をなす印字パターン
変換装置のブロツク図である。同図において、1
はスイツチ回路、2は入力バツフア、3はビツト
パターン生成回路、4はドツト形式印字パターン
生成回路、5は出力バツフアである。 FIG. 1 is a block diagram of a print pattern converting device which is an embodiment of the present invention. In the same figure, 1
2 is a switch circuit, 2 is an input buffer, 3 is a bit pattern generation circuit, 4 is a dot format print pattern generation circuit, and 5 is an output buffer.
スイツチ回路1は活字形式の入力データをドツ
ト形式の印字パターンに変換するか否かを判別
し、変換しない場合(例えば、入力データが通常
の文字コード等の場合)は、入力データをそのま
ま出力データとして送出し、変換する場合(例え
ば、入力データがハイフオンやストローク等のコ
ードの場合)は、、入力バツフア2に入力データ
を格納する。 The switch circuit 1 determines whether or not to convert input data in print format to a print pattern in dot format. If the input data is not converted (for example, when the input data is a normal character code), the input data is converted into output data as is. When sending and converting the data as a hyphen (for example, when the input data is a code such as a hyphen or a stroke), the input data is stored in the input buffer 2.
いま、入力バツフア2には、第2図に示すよう
な3行分の大きさの活字形式の印字パターン(ハ
イフオンおよびストローク)の入力データが格納
されているものとする。 It is now assumed that the input buffer 2 stores input data of a printing pattern (hyphen and stroke) in a type format having a size of three lines as shown in FIG.
第3図はビツトパターン生成回路3およびドツ
ト形式印字パターン生成回路4の動作を示したも
のである。これは、第2図における左上隅の活字
形式の印字パターン(ハイフオン)のデータaか
らビツトパターンを生成し、このビツトパターン
が示すドツト形式の印字パターン(ドツトパター
ン)bを出力する例を示している。ビツトパター
ン生成回路3は、入力バツフア2に格納された第
2図に示すような活字形式の印字パターンの入力
データより左上欄の1文字aをとり出し、その上
下左右の文の有無を参照して“1”、“0”のビツ
トパターンを生成する。ここで、“1”は文字有、
“0”は文字無とする。上記文字aの場合は、上
方向が“0”、下方向“1”、左方向が“0”、右
方向が“1”であるので、ビツトパターンは1010
となる。このビツトパターンを4ビツトのレジス
タ31に格納する。レジスタ31に格納されたビ
ツトパターンからドツト形式の印字パターンを生
成するには、ドツト形式の印字パターン生成回路
4に設けた変換テーブル41に従つて行う。上記
例では、ビツトパターンが1010であり、これは10
進数で10にあたる数であるから、この10という値
をインデツクスとして、変換テーブル41中の10
番地のパターンを選択すると、ドツト形式の印字
パターンbが出力される。入力バツフア2に格納
された入力データの各文字について、同様に操作
を行い、順次、ドツト形式の印字パターンを生成
する。ドツト形式印字パターン生成回路4で生成
されたドツト形式の印字パターンは出力バツフア
5に格納され、ドツト形式のプリンタでドツト印
字される。 FIG. 3 shows the operations of the bit pattern generation circuit 3 and the dot type print pattern generation circuit 4. This shows an example in which a bit pattern is generated from data a of a print pattern (hyphen) in the upper left corner of Figure 2, and a dot pattern (dot pattern) b indicated by this bit pattern is output. There is. The bit pattern generation circuit 3 extracts one character a from the upper left column from the input data of the printing pattern in the typeface format as shown in FIG. A bit pattern of "1" and "0" is generated. Here, "1" has characters,
“0” means no character. In the case of the above character a, the upper direction is "0", the lower direction is "1", the left direction is "0", and the right direction is "1", so the bit pattern is 1010.
becomes. This bit pattern is stored in a 4-bit register 31. A dot-type print pattern is generated from the bit pattern stored in the register 31 in accordance with a conversion table 41 provided in the dot-type print pattern generation circuit 4. In the above example, the bit pattern is 1010, which is 10
Since this is the number equivalent to 10 in base numbers, using this value 10 as an index, 10 in the conversion table 41 is
When an address pattern is selected, a print pattern b in dot format is output. The same operation is performed for each character of the input data stored in the input buffer 2 to sequentially generate a dot-type printing pattern. The dot-type print pattern generated by the dot-type print pattern generation circuit 4 is stored in the output buffer 5, and is printed in dots by a dot-type printer.
入力バツフア2に格納された第2図に示す活字
形式の印字パターンの入力データの全文字につい
て、上記動作による変換を行うと、第4図に示す
ように、罫線が実線で埋められたドツト形式の印
字パターンの出力データが得られる。 When all the characters of the input data of the print pattern in the typeface format shown in Figure 2 stored in the input buffer 2 are converted by the above operation, as shown in Figure 4, a dot format with ruled lines filled with solid lines is obtained. The output data of the printing pattern can be obtained.
なお、上記実施例において、第3図のレジスタ
31のビツト長、第1図の入力バツフア2の容量
および出力バツフア5の容量を適当に変更するこ
とにより直線出力のみでなく、一点鎖線等の出力
も可能であり、変換テーブル41の内容を変更し
て、任意のドツト形式の印字パターンを生成する
こともできる。 In the above embodiment, by appropriately changing the bit length of the register 31 shown in FIG. 3, the capacity of the input buffer 2 and the capacity of the output buffer 5 shown in FIG. It is also possible to change the contents of the conversion table 41 to generate any dot-type printing pattern.
また、上記印字パターン変換装置は、上記のよ
うなハードウエア回路を用いた実施例のみなら
ず、ROMを用いたフアームウエアで実現するこ
とも可能である。 Further, the printing pattern conversion device described above can be realized not only by the embodiment using the hardware circuit as described above but also by firmware using a ROM.
以上のように、本実施例によれば、活字形式の
印字パターンの入力データをドツト形式の印字パ
ターンの出力データへ変換することが可能とな
る。 As described above, according to this embodiment, it is possible to convert input data of a print pattern in type format into output data of a print pattern in dot format.
以上説明したように、本発明に係る印字パター
ン変換装置は、活字形式の印字パターンをドツト
形式の所望印字パターンに変換できるので、該印
字パターン変換装置をドツト形式のプリンタに付
加することにより、活字形式のプリンタを出力対
象とした既製の図形作成用のソフト等をそのまま
利用して、直線を実線等で描くことが可能にな
る。
As explained above, the printing pattern converting device according to the present invention can convert a print pattern in a type format into a desired printing pattern in a dot format. This makes it possible to draw straight lines as solid lines by using off-the-shelf graphics creation software that is intended for output on this type of printer.
第1図は本発明の一実施例をなす印字パターン
変換装置のブロツク図、第2図は活字形式の印字
パターンの入力データ例を示す図、第3図はビツ
トパターン生成回路およびドツト形式印字パター
ン生成回路の動作を示す図、第4図はドツト形式
の印字パターンの出力データ例を示す図である。
1……スイツチ回路、2……入力バツフア、3
……ビツトパターン生成回路、4……ドツト形式
印字パターン生成回路、5……出力バツフア。
Fig. 1 is a block diagram of a print pattern conversion device which is an embodiment of the present invention, Fig. 2 is a diagram showing an example of input data of a print pattern in type format, and Fig. 3 is a diagram showing a bit pattern generation circuit and a print pattern in dot format. FIG. 4 is a diagram showing the operation of the generating circuit, and is a diagram showing an example of output data of a dot-type printing pattern. 1...Switch circuit, 2...Input buffer, 3
. . . Bit pattern generation circuit, 4 . . . Dot format printing pattern generation circuit, 5 . . . Output buffer.
Claims (1)
を入力して、ドツト形式のプリンタを対象とする
ドツトパターンを出力する印字パターン変換装置
であつて、 前記活字形式のプリンタを対象とする入力印字
データを印字フオーマツト対応に格納する入力バ
ツフアと、 前記入力バツフアに格納された各データ毎に、
当該データの周囲データを参照してドツト形式で
印字するデータを示すビツトパターンを生成する
手段と、 複数のビツトパターンを保持し、前記ビツトパ
ターンが示すドツトパターンを出力する手段と、 前記出力されたドツトパターンを格納し、ドツ
ト形式のプリンタに送出する出力バツフアと、 を有することを特徴とする印字パターン変換装
置。[Scope of Claims] 1. A printing pattern conversion device that inputs print data intended for a typeface printer and outputs a dot pattern intended for a dot type printer, the apparatus being intended for the typeface type printer. an input buffer for storing input print data corresponding to the print format; and for each data stored in the input buffer,
means for generating a bit pattern indicating data to be printed in dot format by referring to surrounding data of the data; means for holding a plurality of bit patterns and outputting a dot pattern indicated by the bit pattern; A printing pattern conversion device comprising: an output buffer for storing a dot pattern and sending it to a dot format printer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4361583A JPS59169874A (en) | 1983-03-15 | 1983-03-15 | Printing pattern converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4361583A JPS59169874A (en) | 1983-03-15 | 1983-03-15 | Printing pattern converter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59169874A JPS59169874A (en) | 1984-09-25 |
| JPH0226869B2 true JPH0226869B2 (en) | 1990-06-13 |
Family
ID=12668740
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4361583A Granted JPS59169874A (en) | 1983-03-15 | 1983-03-15 | Printing pattern converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59169874A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003062196A (en) * | 2001-08-27 | 2003-03-04 | Heiwa Corp | Game ball shooting device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55147763A (en) * | 1979-05-08 | 1980-11-17 | Ricoh Co Ltd | Sentence forming unit |
| JPS56110143A (en) * | 1980-02-05 | 1981-09-01 | Ricoh Co Ltd | Format overlay printing system |
-
1983
- 1983-03-15 JP JP4361583A patent/JPS59169874A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59169874A (en) | 1984-09-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4406430B2 (en) | Method for compressing a digital representation containing page description code sent from a computer to a printer | |
| ES8404915A1 (en) | Dot matrix character printing using constrained memory. | |
| KR20060024410A (en) | On-demand printing of coding patterns | |
| JPH0226869B2 (en) | ||
| KR910011472A (en) | Printing method of dot printer | |
| JPH01196096A (en) | output device | |
| KR930020258A (en) | Image output method and device | |
| US4187552A (en) | Read only memory character generator system | |
| JPH0541998B2 (en) | ||
| JPH04264915A (en) | Form overlay printing system | |
| JPS59111861A (en) | Control system for printing | |
| JPH0583381B2 (en) | ||
| JP2654274B2 (en) | Printing method | |
| JPS5816380A (en) | Output device for displaying or recording figure pattern | |
| JP2881924B2 (en) | Data storage device | |
| JPS62136693A (en) | Graphic character output system | |
| JPS63317355A (en) | Printer | |
| JPH01229666A (en) | Printer | |
| JPS5959459A (en) | Reverse-order printing system for printer | |
| JPH01128846A (en) | Reduced-size printing method of printer | |
| JPH0338359A (en) | Character pattern generating circuit | |
| JPH0331552U (en) | ||
| JPS5981688A (en) | Dot pattern generation circuit | |
| JPS61275789A (en) | Character pattern generator | |
| JPH0347765A (en) | Printer |