JPH0259065B2 - - Google Patents
Info
- Publication number
- JPH0259065B2 JPH0259065B2 JP58169793A JP16979383A JPH0259065B2 JP H0259065 B2 JPH0259065 B2 JP H0259065B2 JP 58169793 A JP58169793 A JP 58169793A JP 16979383 A JP16979383 A JP 16979383A JP H0259065 B2 JPH0259065 B2 JP H0259065B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- character
- dot
- embedding
- stored
- 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Dot-Matrix Printers And Others (AREA)
- Character Spaces And Line Spaces In Printers (AREA)
Description
【発明の詳細な説明】
(イ) 産業上の利用分野
本発明はドツトラインプリンタ等におけるイタ
リツク文字等のプロポーシヨナル印字に最適なパ
ターン出力装置に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a pattern output device most suitable for proportional printing of italic characters, etc. in a dot line printer or the like.
(ロ) 従来技術
従来のドツトラインプリンタを用いたプロポー
シヨナル印字としては、特願昭58−78436号に開
示された如く、1行分のイメージバツフア上にド
ツトパターンを形成するに際して、予め各文字の
文字幅を設定しておき、斯る設定値に基づいてイ
メージバツフア上での各文字の格納開始位置を決
定する方法がある。(b) Prior Art As for proportional printing using a conventional dot line printer, as disclosed in Japanese Patent Application No. 58-78436, when forming a dot pattern on one line of image buffer, each character is There is a method of setting the character width of , and then determining the storage start position of each character on the image buffer based on the set value.
然るに斯る方法では、例えばイタリツク体の
「h」と「a」とを連続して印字すると、第1図
に示す如く離れてみえるので好ましくない。 However, in such a method, for example, if italic letters "h" and "a" are printed consecutively, they will appear separated as shown in FIG. 1, which is undesirable.
実際には第2図に示す如く、「h」のパターン
と「a」のパターンとが重畳するように印字され
ることが好ましい。尚、第1図及び第2図中の
Bh及びBaはパターン「h」及び「a」の夫々の
文字幅を示す。 In fact, as shown in FIG. 2, it is preferable that the "h" pattern and the "a" pattern be printed so as to overlap. In addition, in Figures 1 and 2
Bh and Ba indicate the character widths of patterns "h" and "a", respectively.
(ハ) 発明の目的
本発明は斯る点に鑑みてなされたもので、イタ
リツク体のようにパターンが斜向した文字等をド
ツトラインプリンタにて印字する際に適したパタ
ーン出力装置を提供せんとするものである。(c) Purpose of the Invention The present invention has been made in view of the above points, and it is an object of the present invention to provide a pattern output device suitable for printing characters with diagonal patterns such as italics using a dot line printer. That is.
(ニ) 発明の構成
本発明の構成的特徴は、少なくとも一行分の文
字・記号等をコードとして格納可能な第1の記憶
手段、該第1の記憶手段に対応したドツトパター
ンを少なくとも一行分の出力イメージで格納可能
な第2の記憶手段、上記コードに対応して上記第
2の記憶手段に格納される際の後方に隣接するド
ツトパターンの各先頭ドツトの位置の差を出力す
るプロポーシヨナル幅指定手段、上記第2の記憶
手段における各ドツトパターンの格納開始位置を
管理する埋込位置指定手段を備え、上記コードに
対応して上記プロポーシヨナル幅指定手段より出
力される上記差に基づいて上記埋込位置指定手段
が各ドツトパターンの上記第2の記憶手段での格
納開始位置を決定することにある。(d) Structure of the Invention The structural features of the present invention include a first storage means capable of storing at least one line of characters, symbols, etc. as codes; a second storage means capable of storing an output image; a proportional width specification for outputting the difference in position of each leading dot of rearwardly adjacent dot patterns when stored in the second storage means corresponding to the code; means for specifying the embedding position for managing the storage start position of each dot pattern in the second storage means, and embedding the dot pattern based on the difference output from the proportional width specifying means in response to the code. The position specifying means determines the storage start position of each dot pattern in the second storage means.
(ホ) 実施例
第3図は本発明の実施例を示し、1は例えばマ
イクロコンピユータからなる制御部であり、該制
御部では制御プログラムに基づいて読出位置を示
す信号RP、読出指示信号R、書込指示信号W、
リセツト信号RS及び制御信号C1乃至C4を出力し、
以下で説明する各部の制御を司る。(e) Embodiment FIG. 3 shows an embodiment of the present invention. Reference numeral 1 denotes a control section composed of, for example, a microcomputer, and the control section controls signals RP indicating the read position, read instruction signal R, read instruction signal R, write instruction signal W,
Outputs a reset signal RS and control signals C1 to C4 ,
It controls the various parts explained below.
2は読出ポインタ部であり、該ポインタ部には
制御部から出力される信号RPを保持する。 Reference numeral 2 denotes a read pointer section, which holds the signal RP output from the control section.
3は文字コードメモリであり、該メモリ内には
出力されるべきドツトパターンに対応したコード
が1行分格納され、読出指示信号Rに基づいて読
出ポインタ部2に保持された信号RPに対応した
番地に格納されたコードCCを出力する。 Reference numeral 3 denotes a character code memory, in which one line of code corresponding to the dot pattern to be output is stored, and the code corresponding to the signal RP held in the read pointer section 2 based on the read instruction signal R is stored. Outputs the code CC stored at the address.
4は文字コードラツチ部であり、該ラツチ部は
書込指示信号に基づき文字コードメモリ3より出
力されるコードCCを一時保持する。 Reference numeral 4 denotes a character code latch section, which temporarily holds the code CC output from the character code memory 3 based on the write instruction signal.
5はパターンメモリであり、該メモリ内には上
記コードと1対1に対応して各文字のドツトパタ
ーンが格納されている。 Reference numeral 5 denotes a pattern memory, in which dot patterns of each character are stored in one-to-one correspondence with the above code.
6はイメージバツフアであり、該バツフアには
文字コードメモリ3内のコードに対応したドツト
パターンを1行分印字イメージで格納可能な記憶
容量を有する。また斯るバツフア内の記憶内容は
リセツト信号RSによりクリアされる。 Reference numeral 6 denotes an image buffer, which has a storage capacity capable of storing one line of a printed image of a dot pattern corresponding to the code in the character code memory 3. Furthermore, the contents stored in the buffer are cleared by the reset signal RS.
7はアドレス指定部であり、該指定部は制御信
号C1に基づいて文字コードラツチ部4よりコー
ドCCを読出すと共に斯るコードに対応したドツ
トパターンが格納されたパターンメモリ5内のア
ドレスPAを出力する。 Reference numeral 7 denotes an address specifying section, which reads the code CC from the character code latch section 4 based on the control signal C1, and outputs the address PA in the pattern memory 5 in which the dot pattern corresponding to the code is stored. do.
8はプロポーシヨナル幅指定部(以下、単に幅
指定部と称す)であり、該指定部では制御信号
C2に基づいて文字コードラツチ部4に保持され
たコードCCに対応したドツト幅(以下、埋込幅
と称す)DBを出力する。斯る埋込幅DBとはイ
メージバツフア6において後方に隣接するドツト
パターンのイメージバツフア6中で格納開始ドツ
ト位置の差であり、具体的には第2図中Dで表わ
される差であり、また斯る埋込幅DBは隣接する
ドツトパターンのうち前に位置するドツトパター
ン、即ち第2図中では「h」のパターンにより決
定される。 8 is a proportional width designation part (hereinafter simply referred to as width designation part), in which the control signal is
Based on C2 , the dot width (hereinafter referred to as embedding width) DB corresponding to the code CC held in the character code latch section 4 is output. The embedding width DB is the difference in the position of the storage start dot in the image buffer 6 between rearwardly adjacent dot patterns, and specifically, it is the difference represented by D in FIG. , and the embedding width DB is determined by the previous dot pattern among the adjacent dot patterns, that is, the pattern "h" in FIG.
9は埋込位置決定手段であり、該手段はイメー
ジバツフア6中でのドツトパターンの格納開始位
置が格納される埋込位置指定部10及び加算器1
1からなり、制御信号C3に基づいて幅指定部8
から出力される埋込幅DBと埋込位置指定部10
の内容とを加算器11において加算し、その結果
を再び埋込位置指定部10に書込む。また埋込位
置指定部10の内容はリセツト信号RSによりク
リアされ“0”となる。 Reference numeral 9 denotes an embedding position determining means, which includes an embedding position specifying section 10 in which the storage start position of the dot pattern in the image buffer 6 is stored, and an adder 1.
1, and a width specifying section 8 based on the control signal C3.
Embedding width DB and embedding position specification section 10 output from
The adder 11 adds the contents to the contents of the embedding position specifying section 10. Further, the contents of the embedding position specifying section 10 are cleared to "0" by the reset signal RS.
12は埋込処理部であり、該処理部では制御信
号C4に基づいて、まずアドレス指定部7より出
力されるアドレスPAで指定されるパターンメモ
リ5内のドツトパターンを読出し、次いで埋込位
置指定部10内の格納開始位置以降のイメージバ
ツフア6の領域に上記ドツトパターンを書込む。 Reference numeral 12 denotes an embedding processing section, which first reads out the dot pattern in the pattern memory 5 specified by the address PA output from the address specifying section 7 based on the control signal C4, and then specifies the embedding position. The dot pattern is written in the area of the image buffer 6 after the storage start position in the unit 10.
第4図は上記制御プログラムを示すフローチヤ
ートであり、以下斯るフローチヤートに基づいて
本実施例装置の動作を具体例を挙げて説明する。 FIG. 4 is a flowchart showing the above-mentioned control program, and the operation of the apparatus of this embodiment will be explained below by giving a specific example based on the flowchart.
まず、文字コードメモリ3には第5図に示す如
く文字「h」、「i」、「t」に対応するコードが順
次格納されているものとする。尚、斯る文字の各
文字幅は30、15、26とし、また埋込幅を28、14、
23とすると共に上記各コードに対応するドツトパ
ターンはイタリツク体とする。 First, it is assumed that the character code memory 3 sequentially stores codes corresponding to the characters "h", "i", and "t" as shown in FIG. In addition, the width of each character of such characters is 30, 15, 26, and the embedding width is 28, 14,
23, and the dot patterns corresponding to each of the above codes are in italics.
斯る状態において、外部より制御部1に文字コ
ードメモリ3内の1行分のコードよりイメージバ
ツフア6中に1行分の印字イメージを作成せよと
の指令(図示せず)が与えられると、まずS1ステ
ツプにおいてリセツト信号RSが出力され、イメ
ージバツフア6及び埋込位置指定部10がクリア
される。 In such a state, when a command (not shown) is given from the outside to the control unit 1 to create a print image for one line in the image buffer 6 from the code for one line in the character code memory 3. First, in step S1 , a reset signal RS is output, and the image buffer 6 and embedding position specifying section 10 are cleared.
次いで、S2ステツプにおいて行の先頭に位置す
る文字「h」のコードが文字コードラツチ部4に
格納される。具体的には、まず制御部1より文字
「h」のコードが格納された文字コードメモリ3
のアドレスが信号RPとして出力され、次いで読
出指示信号Rが出力されることにより文字コード
メモリ3より文字「h」のコードが読出されると
共に書込指示信号Wに基づいて上記コードが文字
コードラツチ部4に格納される。 Next, in step S2 , the code of the character "h" located at the beginning of the line is stored in the character code latch section 4. Specifically, first, the control unit 1 sends the character code memory 3 in which the code for the character "h" is stored.
address is output as the signal RP, and then the read instruction signal R is output, so that the code for the character "h" is read out from the character code memory 3, and based on the write instruction signal W, the code is transferred to the character code latch section. It is stored in 4.
S2ステツプが終了すると処理はS3ステツプに進
む。S3ステツプでは、文字コードラツチ部4内の
コードに対応するドツトパターンが格納されたパ
ターンメモリ5中のアドレスを指定する。具体的
には、制御信号C1に基づいて、アドレス指定部
7が文字コードラツチ部4内のコードを読出し、
斯るコードに対応したアドレスPAを出力する。
斯る場合上記コードは文字「h」のコードである
ので、アドレスPAは文字「h」のドツトパター
ンが格納されているパターンメモリ5中のアドレ
スとなる。 When the S2 step is completed, the process proceeds to S3 step. In step S3 , the address in the pattern memory 5 where the dot pattern corresponding to the code in the character code latch section 4 is stored is specified. Specifically, based on the control signal C1, the address specifying section 7 reads out the code in the character code latch section 4,
The address PA corresponding to such code is output.
In this case, since the above code is the code for the letter "h", the address PA becomes the address in the pattern memory 5 where the dot pattern for the letter "h" is stored.
次にS4ステツプが処理されるが、斯るS4ステツ
プではイメージバツフア6中へドツトパターンが
書込まれる。具体的には制御信号C4に基づいて
埋込処理部12がパターンメモリ5よりアドレス
PAに格納されたドツトパターンを読出し、イメ
ージバツフア6の埋込位置指定部10に格納され
た格納開始位置より上記パターンを書込む。 Next, the S4 step is processed, in which a dot pattern is written into the image buffer 6. Specifically, the embedding processing unit 12 reads the address from the pattern memory 5 based on the control signal C4 .
The dot pattern stored in the PA is read out, and the pattern is written from the storage start position stored in the embedding position specifying section 10 of the image buffer 6.
今、埋込位置指定部10の内容は“0”であ
り、アドレスPAは文字「h」のドツトパターン
が格納されたアドレスを示し、更に文字「h」の
文字幅は30であるので、第6図Aに示す如くイメ
ージバツフア6の先頭の0ドツト目より29ドツト
目の間に文字「h」のドツトパターンが書込まれ
ることとなる。 Now, the content of the embedding position specification section 10 is "0", the address PA indicates the address where the dot pattern of the character "h" is stored, and the character width of the character "h" is 30, so the As shown in FIG. 6A, a dot pattern of the letter "h" is written between the 0th dot and the 29th dot at the beginning of the image buffer 6.
S4ステツプの処理が終了すると、処理はS5ステ
ツプに進む。S5ステツプでは制御信号C2に基づ
いて幅指定部8が文字コードラツチ部4のコード
に対応した文字の埋込幅DBを出力する。 When the processing of step S4 is completed, the processing proceeds to step S5 . In step S5 , the width specifying section 8 outputs the embedding width DB of the character corresponding to the code of the character code latch section 4 based on the control signal C2.
今、文字コードラツチ部4には文字「h」が格
納されているから上記埋込幅DBは“28”とな
る。 Since the character "h" is now stored in the character code latch section 4, the embedding width DB is "28".
次いでS6ステツプにおいて埋込位置指定部10
の内容が変更される。具体的には制御信号C3に
基づいて埋込位置指定部10の内容と埋込幅DB
とが加算器11において加算されると共に、その
結果は埋込位置指定部10に書込まれる。 Next, in step S6 , the embedding position designation section 10
The content of is changed. Specifically, the contents of the embedding position designation section 10 and the embedding width DB are determined based on the control signal C3 .
are added in the adder 11, and the result is written into the embedding position specifying section 10.
今、加算前の埋込位置指定部10には“0”が
格納され、埋込幅DBは“28”であるので、S6ス
テツプ処理後には埋込位置指定部10には“27”
格納されることとなる。 Now, "0" is stored in the embedding position specifying section 10 before addition, and the embedding width DB is "28", so after the S6 step processing, "27" is stored in the embedding position specifying section 10.
It will be stored.
続いて、S7ステツプにおいて一行分の処理が終
了したか否か、つまり文字コードメモリ3に格納
された全ての文字コードが処理されたか否かが判
定され、処理されていれば終了し、さもなければ
処理はS2ステツプに戻り、次のコードに対して上
記と同様にS2乃至S6ステツプの処理が行われる。 Next, in step S7 , it is determined whether or not the processing for one line has been completed, that is, whether all character codes stored in the character code memory 3 have been processed. If not, the process returns to step S2 , and the next code is processed in steps S2 to S6 in the same manner as above.
今、文字「h」のコードに対する処理が終了し
た時点ではまた文字「i」、「t」のコードに対す
る処理が終了していないので、夫々のコードに対
してS2乃至S6ステツプを順に処理していく。その
結果イメージバツフア6の内容は第6図Bに示す
如くなる。 Now, when the processing for the character "h" code is completed, the processing for the character "i" and "t" codes has not yet been completed, so steps S 2 to S 6 are processed in order for each code. I will do it. As a result, the contents of the image buffer 6 become as shown in FIG. 6B.
(ヘ) 発明の効果
このように本発明を用いればイタリツク体の如
く斜向した文字においても見栄えの良好なプロポ
ーシヨナル印字を行なうことができる。(f) Effects of the Invention As described above, by using the present invention, it is possible to perform proportional printing with good appearance even for oblique characters such as italics.
第1図及び第2図はプロポーシヨナル印字を説
明するための模式図、第3図乃至第6図は本発明
の実施例を示し、第3図はブロツク図、第4図は
フローチヤート、第5図及び第6図は模式図であ
る。
3……文字コードメモリ(第1の記憶手段)、
6……イメージバツフア(第2の記憶手段)8…
…プロポーシヨナル幅指定部、9……埋込位置指
定手段。
1 and 2 are schematic diagrams for explaining proportional printing, FIGS. 3 to 6 show embodiments of the present invention, FIG. 3 is a block diagram, FIG. 4 is a flowchart, and FIG. The figure and FIG. 6 are schematic diagrams. 3...Character code memory (first storage means),
6... Image buffer (second storage means) 8...
...Proportional width designation section, 9...Embedding position designation means.
Claims (1)
して格納可能な第1の記憶手段、該第1の記憶手
段に対応したドツトパターンを少なくとも一行分
の出力イメージで格納可能な第2の記憶手段、上
記コードに対応して上記第2の記憶手段に格納さ
れる際の後方に隣接するドツトパターンの各先頭
ドツトの位置の差を出力するプロポーシヨナル幅
指定手段、上記第2の記憶手段における各ドツト
パターンの格納開始位置を管理する埋込位置指定
手段を備え、上記コードに対応して上記プロポー
シヨナル幅指定手段より出力される上記差に基づ
いて上記埋込位置指定手段が各ドツトパターンの
上記第2の記憶手段での格納開始位置を決定する
ことを特徴とするパターン出力装置。1. A first storage means capable of storing at least one line of characters, symbols, etc. as a code, a second storage means capable of storing at least one line of output image of a dot pattern corresponding to the first storage means; a proportional width specifying means for outputting the difference in position of each leading dot of rearwardly adjacent dot patterns when stored in the second storage means corresponding to the code; The embedding position specifying means controls the second storage of each dot pattern based on the difference output from the proportional width specifying means corresponding to the code. A pattern output device characterized in that a storage start position is determined by means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58169793A JPS6061269A (en) | 1983-09-14 | 1983-09-14 | Pattern-outputting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58169793A JPS6061269A (en) | 1983-09-14 | 1983-09-14 | Pattern-outputting device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6061269A JPS6061269A (en) | 1985-04-09 |
| JPH0259065B2 true JPH0259065B2 (en) | 1990-12-11 |
Family
ID=15892983
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58169793A Granted JPS6061269A (en) | 1983-09-14 | 1983-09-14 | Pattern-outputting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6061269A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3910204B2 (en) * | 2005-07-04 | 2007-04-25 | 三菱電機株式会社 | Image generation apparatus, image display apparatus, image generation method, and image display method |
-
1983
- 1983-09-14 JP JP58169793A patent/JPS6061269A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6061269A (en) | 1985-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2796628B2 (en) | Printing device | |
| JPS63205257A (en) | Printing control system | |
| JPH0259065B2 (en) | ||
| JPS5833784A (en) | Word processor with frame opening function | |
| JPH0753460B2 (en) | Print control method | |
| JPS6159920B2 (en) | ||
| US4835529A (en) | Output display apparatus | |
| JPS6179674A (en) | Image/character overlapping printing control system of printer | |
| JP2836026B2 (en) | Printing control device | |
| JP2541221B2 (en) | Decorative pattern output method | |
| JPS5936849A (en) | Method for controlling overlay of form | |
| JP2940140B2 (en) | Document data processing device | |
| JP3118826B2 (en) | Printing control device | |
| JP3143118B2 (en) | Printer and print image pattern development method | |
| JP2715475B2 (en) | Graphic output device | |
| JPS60203476A (en) | Recorder | |
| JPH0247078A (en) | Printer | |
| JP2503759B2 (en) | Plotter device | |
| JPH04167667A (en) | Output method and device | |
| JPS63242561A (en) | Font reducing system | |
| JP2514716B2 (en) | Recording device | |
| JPH02240721A (en) | Output control device and method | |
| JPS63137856A (en) | Processing system for printing ruled line | |
| JPH02254529A (en) | Oblique font generating method | |
| JPH06115221A (en) | Printer |