JPS6226224B2 - - Google Patents

Info

Publication number
JPS6226224B2
JPS6226224B2 JP54128904A JP12890479A JPS6226224B2 JP S6226224 B2 JPS6226224 B2 JP S6226224B2 JP 54128904 A JP54128904 A JP 54128904A JP 12890479 A JP12890479 A JP 12890479A JP S6226224 B2 JPS6226224 B2 JP S6226224B2
Authority
JP
Japan
Prior art keywords
register
pixel data
character
store
bit
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
Application number
JP54128904A
Other languages
Japanese (ja)
Other versions
JPS5652967A (en
Inventor
Shingo Yamaguchi
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP12890479A priority Critical patent/JPS5652967A/en
Priority to US06/185,062 priority patent/US4644319A/en
Priority to DE19803035139 priority patent/DE3035139A1/en
Publication of JPS5652967A publication Critical patent/JPS5652967A/en
Publication of JPS6226224B2 publication Critical patent/JPS6226224B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32106Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title separate from the image data, e.g. in a different computer file
    • H04N1/32122Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title separate from the image data, e.g. in a different computer file in a separate device, e.g. in a memory or on a display separate from image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/002Generic data access
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/004Generic data transformation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3204Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to a user, sender, addressee, machine or electronic recording medium
    • H04N2201/3205Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to a user, sender, addressee, machine or electronic recording medium of identification information, e.g. name or ID code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3204Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to a user, sender, addressee, machine or electronic recording medium
    • H04N2201/3207Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to a user, sender, addressee, machine or electronic recording medium of an address
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3271Printing or stamping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3274Storage or retrieval of prestored additional information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3278Transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 本発明はフアクシミリ等に好適な文字パターン
発生方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character pattern generation method suitable for facsimile and the like.

例えば、フアクシミリにおいて、送信側あるい
は受信側で、原稿には記載されていない文字パタ
ーンを発生させるため、従来は第1図に示す如き
文字パターン発生装置を用いていた。
For example, in a facsimile machine, a character pattern generating device as shown in FIG. 1 has conventionally been used to generate a character pattern that is not written on a document on the sending or receiving side.

即ち、第1図における1は文字メモリで、そこ
には発生させたい文字パターンのコードが所定の
アドレスに順次記憶されている。2はキヤラクタ
ジエネレータで文字メモリから出力されるコード
に応じて、例えば第2図に示すように、1文字が
8コラム×9ロウの画素から成る文字パターンを
発生させる。3はロウカウンタで、キヤラクタジ
エネレータ2に発生する画素パターンのロウアド
レスを指定し、そのロウアドレスに対応する8コ
ラム分の画素情報をマルチプレクサ4に出力させ
る。5はコラムカウンタで、マルチプレクサに取
り出された8コラムの画素情報のコラムアドレス
を指定し、所定の1ビツトの画素情報を出力させ
る。6はキヤラクタカウンタでコラムカウンタ5
のキヤリをカウントすることにより、順次文字メ
モリ1に対するアドレスを更新していく。7は発
生させる文字パターンの主走査方向における倍率
を決めるため主走査クロツクaを分周するコラム
マルチカウンタであり、また、8は同様に副走査
クロツクbを分周するロウマルチカウンタであ
る。例えば主走査方向および副走査方向にキヤラ
クタジエネレータ2で発生する文字パターンを
夫々2倍に拡大する場合にはカウンタ7,8を2
分周動作するようにセツトしておく。9は受信側
においては記録装置であり、また送信側において
はデータ圧縮装置である。
That is, 1 in FIG. 1 is a character memory, in which codes of character patterns to be generated are sequentially stored at predetermined addresses. 2 is a character generator which generates a character pattern in which one character consists of pixels of 8 columns x 9 rows, as shown in FIG. 2, for example, in accordance with the code output from the character memory. A row counter 3 designates a row address of a pixel pattern generated in the character generator 2, and causes the multiplexer 4 to output eight columns of pixel information corresponding to the row address. A column counter 5 specifies the column address of the 8 columns of pixel information taken out by the multiplexer, and causes the multiplexer to output predetermined 1-bit pixel information. 6 is a character counter and column counter 5
The addresses for the character memory 1 are sequentially updated by counting the offsets. Numeral 7 is a column multi-counter that divides the frequency of the main scanning clock a to determine the magnification in the main scanning direction of the character pattern to be generated, and 8 is a row multi-counter that similarly divides the frequency of the sub-scanning clock b. For example, if you want to double the character pattern generated by the character generator 2 in the main scanning direction and the sub-scanning direction, the counters 7 and 8 should be set to 2.
Set it to perform frequency division operation. 9 is a recording device on the receiving side, and a data compression device on the transmitting side.

今、キヤラクタカウンタ6のカウント値に応じ
て文字メモリ1から出力される文字コードにより
キヤラクタジエネレータ2には、第2図に示す文
字パターン「A」が発生されているものとする。
また、カウンタ7,8は2分周動作を行うように
セツトされ、且つカウンタ3,5のカウンタ値は
共「0」になつているものとする。
It is now assumed that the character pattern "A" shown in FIG. 2 is generated in the character generator 2 by the character code output from the character memory 1 in accordance with the count value of the character counter 6.
Further, it is assumed that counters 7 and 8 are set to perform a frequency dividing operation by two, and that the counter values of counters 3 and 5 are both "0".

従つて、マルチプレクサ4にはロウカウンタ3
により指定される0ロウに対応する8コラム分の
画素データが取り出され、これが更にコラムカウ
ンタ5で指定され、0コラムの画素情報が記録装
置9に出力される。
Therefore, multiplexer 4 has row counter 3.
Eight columns of pixel data corresponding to the 0 row designated by are taken out, this is further designated by the column counter 5, and the pixel information of the 0 column is output to the recording device 9.

コラムカウンタ5およびロウカウンタ3の値は
主走査クロツクaおよび副走査クロツクbが2個
発生する毎に更新される。一方、記録装置9は副
走査パルスbの発生毎に記録紙の副走査送りを行
い、主走査クロツクaの発生に応じてマルチプレ
クサ4から出力される画素情報を主走査位置毎に
記録して行く。この結果、キヤラクタジエネレー
タで発生する文字パターンが主および副走査方向
に夫々2倍に拡大され、第3図に示す記録画像が
得られる。
The values of column counter 5 and row counter 3 are updated every time two main scanning clocks a and two subscanning clocks b are generated. On the other hand, the recording device 9 feeds the recording paper in the sub-scanning direction every time the sub-scanning pulse b is generated, and records the pixel information output from the multiplexer 4 at each main-scanning position in response to the generation of the main-scanning clock a. . As a result, the character pattern generated by the character generator is enlarged twice in each of the main and sub-scanning directions, and the recorded image shown in FIG. 3 is obtained.

従来の文字パターン発生装置はこのように構成
され、原稿に記載されていない文字を発生させた
い場合、フアクシミリに用いて便利であるが、多
数のカウンタ、キヤラクタジエネレータ、マルチ
プレクサ等が必要となり、構成が複雑且つ大型化
する上、フアクシミリ装置が高価になる欠点があ
つた。
Conventional character pattern generators are constructed in this way and are convenient for use in facsimiles when it is desired to generate characters that are not written on a manuscript, but they require a large number of counters, character generators, multiplexers, etc. This has disadvantages in that the structure is complicated and large, and the facsimile device is expensive.

本発明は上記従来技術の欠点を除いて、極めて
簡単な構成で、所定の文字パターンを発生させた
ことができる文字パターン発生方式を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character pattern generation method capable of generating a predetermined character pattern with an extremely simple configuration, while eliminating the drawbacks of the prior art described above.

この目的を達成するため、本発明はマイクロコ
ンピユータを用いて所定の文字パターンを発生さ
せるようにしたことを特徴とする。
In order to achieve this object, the present invention is characterized in that a predetermined character pattern is generated using a microcomputer.

以下、本発明をマイクロコンピユータを使用し
たフアクシミリ装置に適用した場合を例にとつ
て、その実施例を第4図乃至第9図を参照して説
明する。
Hereinafter, an embodiment of the present invention will be described with reference to FIGS. 4 to 9, taking as an example the case where the present invention is applied to a facsimile machine using a microcomputer.

第4図は本発明が適用されるフアクシミリ装置
の一構成例を示したもので、11はマイクロプロ
セツサ(以下、これをμ−CPUと言う)、リード
オンリメモリ(以下、これをROMAと言う)、ラ
ンダムアクセスメモリ(以下、これをRAMと言
う)から成るマイクロコンピユータ、12はスキ
ヤナ、13はプリンタ、14はモデムであり、各
装置12〜14は各インタフエース15〜17を
介してマイクロコンピユータのバス(以下、これ
をBUSと言う)に接続されている。
FIG. 4 shows an example of the configuration of a facsimile device to which the present invention is applied, in which 11 is a microprocessor (hereinafter referred to as μ-CPU), a read-only memory (hereinafter referred to as ROMA) ), a microcomputer consisting of random access memory (hereinafter referred to as RAM), 12 a scanner, 13 a printer, 14 a modem, and each device 12-14 connects to the microcomputer via each interface 15-17. bus (hereinafter referred to as BUS).

このように構成されるフアクシミリ装置に、更
に本実施例の場合には後述するように発生すべき
文字パターンの画素データが所定のアドレスに順
次記憶されているリードオンリメモリ(以下、こ
れをROMBと言う)をBUSに接続して設ける。
勿論、ROMAの記憶容量が大きければ、ROMB
を設けることなく、そこに画素データを記憶させ
るようにしても良い。
In the case of this embodiment, the facsimile device configured in this manner is further equipped with a read-only memory (hereinafter referred to as ROMB) in which pixel data of character patterns to be generated are sequentially stored at predetermined addresses. ) connected to the BUS.
Of course, if the storage capacity of ROMA is large, ROMB
It is also possible to store pixel data there without providing it.

ROMBには発生させるべき各文字パターンの
0ロウ即ちライン0に対応する8コラム即ち8ビ
ツトの画素データが各アドレス毎に順次1ライン
分記憶されており、更にその次のアドレスからは
ライン1に対応する各画素データが続き、以下同
様にしてライン9までの各画素データが順次記憶
されている。
In the ROMB, 8 columns or 8 bits of pixel data corresponding to the 0 row or line 0 of each character pattern to be generated are stored in sequence for each address for one line. Each corresponding pixel data follows, and in the same way, each pixel data up to line 9 is sequentially stored.

通常μ−CPUはROMAのプログラムを実行
し、送信時にはスキヤナで読み取つた画情報をス
キヤナインタフエース15を通して8ビツトずつ
取り込みRAMにストアし、1走査ラインのデー
タを読み取つた後、データ圧縮を行つてモデムイ
ンタフエース17を通しモデム14で変調して回
線へ送出している。また、受信時にはモデム14
で複調されたデータをモデムインタフエース17
を通してRAMに取り込み、データ再生を行つた
のちプリンタインタフエース16を通してプリン
タ13に出力し、記録を行つている。
Normally, the μ-CPU executes the ROMA program, and at the time of transmission, the image information read by the scanner is taken in 8 bits at a time through the scanner interface 15, stored in the RAM, and after reading one scanning line of data, data compression is performed. The signal is then modulated by the modem 14 through the modem interface 17 and sent to the line. Also, when receiving, the modem 14
The data demodulated by the modem interface 17
After the data is read into the RAM through the printer interface 16 and reproduced, it is output to the printer 13 through the printer interface 16 for recording.

プリンタ13は静電型やサーマル型の場合、主
走査の幅に亘つて多数の電極が並び、1回の主走
査で1ライン分の記録が行われると共に、記録紙
が副走査方向に送られ次のラインの記録が行われ
るように構成されている。
If the printer 13 is an electrostatic type or a thermal type, a large number of electrodes are lined up over the width of the main scan, and one line of recording is performed in one main scan, and the recording paper is fed in the sub-scanning direction. The configuration is such that recording of the next line is performed.

次に、原稿には記載されていない文字を記録紙
上に記録する場合には、μ−CPUはROMAに記
憶されているプログラムに基づき、ROMBの所
定のアドレスから順次画素データを読み出し、プ
リンタインタフエース16を通してプリンタ13
に出力する。この結果、プリンタ13には発生さ
せるべき各文字の画素データが1ライン分ずつ出
力されるので、これを記録すれば、ROMBに記
憶されている文字が記録紙上に再現される。
Next, when recording characters that are not written on the original on the recording paper, the μ-CPU reads out pixel data sequentially from a predetermined address in the ROMB based on the program stored in the ROMA, and printer 13 through 16
Output to. As a result, the pixel data of each character to be generated is outputted to the printer 13 one line at a time, and by recording this, the characters stored in the ROMB are reproduced on the recording paper.

ところで、ROMBに記憶されている文字をそ
のまま記録したのでは、記録ビツト面積が小さい
ため、記録された文字が非常に小さいものにな
る。例えば、ドツト間隔を1/8mm、1文字が7×
9ドツトで形成される場合、文字の幅は7/8mmと
なり、文字間のペースを1ドツト取つたとしても
高々1mm幅の文字しか得られない。
By the way, if the characters stored in the ROMB were recorded as they were, the recorded characters would be very small because the recording bit area is small. For example, if the dot spacing is 1/8mm, one character is 7×
When formed with 9 dots, the width of the character is 7/8 mm, and even if the space between characters is set by 1 dot, the width of the character is only 1 mm at most.

そこで、ROMBから取り出した画素データを
所定の倍率に拡大して記録させる必要がある。
Therefore, it is necessary to enlarge the pixel data taken out from the ROMB to a predetermined magnification and record it.

本実施例によれば、この文字を拡大して記録す
ることを簡単に実施出来る。
According to this embodiment, this character can be easily enlarged and recorded.

これを今、第2図のb1ロウの画素データ
「00010100」を2倍に拡大する場合を例にとり、
第5図を参照して説明する。
Now, let's take as an example the case where the pixel data "00010100" of row b 1 in Figure 2 is enlarged by 2 times.
This will be explained with reference to FIG.

第5図は、μ−CPU内のレジスタA,B,C
にプログラムの進行と共に順次ストアされる画素
データの状態を示したもので、μ−CPUは
ROMAに記憶されている以下のプログラムステ
ツプを実行する。
Figure 5 shows registers A, B, and C in μ-CPU.
This shows the state of pixel data that is stored sequentially as the program progresses, and the μ-CPU is
Execute the following program steps stored in ROMA.

(1) ROMBの所定のアドレスから画素データ
「00010100」を読み出し、レジスタAにセツト
する。
(1) Read pixel data "00010100" from a predetermined address in ROMB and set it in register A.

このとき、レジスタBおよびCには任意のデ
ータがストアされている。
At this time, arbitrary data is stored in registers B and C.

(2) レジスタBをクリアし、「00000000」とす
る。
(2) Clear register B and set it to "00000000".

(3) レジスタAを1ビツト左へシフトする。(3) Shift register A one bit to the left.

(4) レジスタAよりキヤリが出ればレジスタBに
「11」を加える。キヤリがなければ何もしな
い。
(4) If there is a carry from register A, add "11" to register B. If I don't have a chance, I won't do anything.

即ち、ステツプ(3)でレジスタAにストアされ
ている画素データを1ビツトずつ「1」か
「0」を調べ、2倍に拡大するためキヤリが
「1」の場合には「11」、「0」の場合には
「00」をレジスタの下位2ビツトにセツトす
る。従つて、n倍にする場合にはn個の「1」
あるいは「0」をセツトする。
That is, in step (3), the pixel data stored in register A is checked bit by bit to see if it is ``1'' or ``0'', and in order to double the pixel data, if the balance is ``1'', it is checked as ``11'' or ``0''. In the case of "0", "00" is set to the lower two bits of the register. Therefore, when multiplying by n, n "1"
Or set it to "0".

この場合には、第5図に示す通りキヤリ
「0」なのでレジスタBの下位2ビツト「00」
を加える訳であるが、このときのレジスタBの
値はもともと「00000000」なので何もする必要
がない。
In this case, as shown in Figure 5, the lower 2 bits of register B are set to ``00'' because the signal is ``0''.
However, since the value of register B at this time is originally "00000000", there is no need to do anything.

(5) レジスタBを2ビツト左へシフトする。(5) Shift register B 2 bits to the left.

これは次の2ビツトを下位2ビツトに入れる
準備を行うもので、n倍にする場合はnビツト
左へシフトする。
This prepares to put the next two bits into the lower two bits, and when multiplying by n, shift n bits to the left.

(6) 上記ステツプ(3)〜(5)を更に2回くり返す。(6) Repeat steps (3) to (5) above two more times.

(7) 上記ステツプ(3),(4)を1回くり返す。(7) Repeat steps (3) and (4) above once.

以上でステツプ(3),(4)が4回くり返されたこ
とになる。これはレジスタBが8ビツトで構成
され、画素データを2倍に拡大する場合には、
ステツプ(3),(4)を4回くり返すことにより丁度
2倍に拡大された画素データがレジスタBにス
トアされるためである。
This means that steps (3) and (4) have been repeated four times. This is because register B consists of 8 bits, and when pixel data is expanded twice,
This is because by repeating steps (3) and (4) four times, pixel data that has been expanded exactly twice is stored in register B.

即ち、ステツプ(7)を終了した時点で、画素デ
ータ「00010100」の上位4ビツトが2倍に拡大
されてレジスタBにストアされる。
That is, at the end of step (7), the upper 4 bits of pixel data "00010100" are expanded twice and stored in register B.

(8) レジスタCをクリアする。(8) Clear register C.

(9) レジスタAを1ビツト左へシフトする。(9) Shift register A to the left by 1 bit.

(10) レジスタAよりキヤリが出ればレジスタCに
「11」を加える。またキヤリが出なければ何も
しない。
(10) If there is a carry from register A, add "11" to register C. I won't do anything unless I can do something again.

(11) レジスタCを2ビツト左へシフトする。(11) Shift register C 2 bits to the left.

(12) 上記ステツプ(9)〜(10)を更に2回くり返す。(12) Repeat steps (9) to (10) above two more times.

(13) 上記ステツプ(9),(10)を1回くり返す。(13) Repeat steps (9) and (10) above once.

ステツプ(8)〜(13)の動作はレジスタがBから
Cに代つただけで、ステツプ(2)〜(7)までの動作と
全く同様である。この結果、今度は画素データの
下位4ビツトが2倍に拡大されてレジスタCにス
トアされる。
The operations in steps (8) to (13) are exactly the same as the operations in steps (2) to (7), except that the register B is replaced by C. As a result, the lower four bits of the pixel data are expanded twice and stored in register C.

この結果、1文字分の画素データが2倍に拡大
され、レジスタB,Cにストアされるので、これ
をプリンタインタフエース16を通してプリンタ
3に出力させれば主走査方向に2倍に拡大された
文字を記録することができる。
As a result, the pixel data for one character is enlarged twice and stored in registers B and C, so if this is output to the printer 3 through the printer interface 16, it will be enlarged twice in the main scanning direction. Characters can be recorded.

このようにして各文字は1ライン毎に2倍に拡
大され順次プリンタ13に出力され記録される。
1ライン分の記録が終了すると、次のラインの記
録に移る。この間、1走査ラインの記録中に記録
紙の副走査送りが行われることは言う迄もない。
尚、副走査方向への拡大は同じ1ライン分の画素
データをくり返しプリンタ13に出力させること
により簡単に行われる。
In this way, each character is enlarged twice per line and sequentially output to the printer 13 and recorded.
When the recording of one line is completed, the recording of the next line is started. During this time, it goes without saying that the recording paper is fed in the sub-scanning direction while recording one scanning line.
Incidentally, enlargement in the sub-scanning direction is easily performed by repeatedly outputting the same one line of pixel data to the printer 13.

ところで、マイクロコンピユータを用いて所定
の大きさの文字パターンを発生させる方式として
は上記実施例に限られる訳ではなく、他の方式で
も所定の大きさの文字パターンを発生させること
ができる。
By the way, the method of generating a character pattern of a predetermined size using a microcomputer is not limited to the above embodiment, and other methods can also be used to generate a character pattern of a predetermined size.

次に、そのための本発明の他の実施例を第6図
および第7図を参照して説明する。
Next, another embodiment of the present invention for this purpose will be described with reference to FIGS. 6 and 7.

まず文字を2倍に拡大するために、第2図に示
す文字パターンの各コラムa0〜a7を第6図に示す
ように、1つ置きに順次並べ変え、ROMBに記
憶させる。次に、μ−CPUにROMAに記憶され
ている下記のプログラムを順次実行させる。
First, in order to enlarge the characters twice, the columns a 0 to a 7 of the character pattern shown in FIG. 2 are sequentially rearranged every other column as shown in FIG. 6 and stored in the ROMB. Next, the μ-CPU is caused to sequentially execute the following programs stored in ROMA.

(1) ROMBの所定のアドレスからライン1にお
ける画素データ「00010010」(これを今
「d0d4d1d5d2d6d3d7」で表わす)を読み出し、レ
ジスタAにセツトする。
(1) Read the pixel data “00010010” on line 1 (now expressed as “d 0 d 4 d 1 d 5 d 2 d 6 d 3 d 7 ”) from a predetermined address in the ROMB and set it in register A. .

(2) コラムa0〜a3の画素データd0〜d3のみが残る
ように「10101010」とレジスタAとの論理積を
取り再びレジスタAにストアする。
(2) Perform a logical product between "10101010" and register A so that only pixel data d 0 to d 3 of columns a 0 to a 3 remain, and store the result in register A again.

(3) その結果をレジスタBにもストアする。(3) Store the result in register B as well.

(4) レジスタAを右へ1ビツトシフトする。(4) Shift register A to the right by 1 bit.

(5) レジスタAとBとの論理和を取りレジスタA
にストアする。
(5) Take the logical sum of registers A and B and select register A.
Store in.

(6) その結果をレジスタBにストアする。(6) Store the result in register B.

(7) ROMBより再度画素データを取り出し、レ
ジスタAにセツトする。
(7) Take out the pixel data again from ROMB and set it in register A.

(8) コラムa4〜a7に対する画素データd4〜d7のみ
が残るように「01010101」とレジスタAとの論
理積を取りレジスタAにストアする。
(8) Perform the logical product of "01010101" and register A and store it in register A so that only pixel data d 4 to d 7 for columns a 4 to a 7 remain.

(9) その結果をレジスタCにストアする。(9) Store the result in register C.

(10) レジスタAを左へ1ビツトシフトする。(10) Shift register A to the left by 1 bit.

(11) レジスタAをレジスタCとの論理和を取りレ
ジスタAにストアする。
(11) OR register A with register C and store it in register A.

(12) その結果をレジスタCにストアする。(12) Store the result in register C.

以上のプログラムステツプを実行することによ
り、μ−CPUの各レジスタA,B,Cには、そ
の時時のステツプに対応して第7図に示す画素デ
ータが順次ストアされて行き、最終的にレジスタ
BおよびCに、前記実施例の場合と同様、第2図
の文字パターンにおける1ライン分の画素データ
が主走査方向に2倍されてストアされる。
By executing the above program steps, the pixel data shown in FIG. 7 is sequentially stored in each register A, B, and C of the μ-CPU in accordance with the step at that time, and finally, the pixel data shown in FIG. As in the case of the embodiment described above, pixel data for one line in the character pattern of FIG. 2 is doubled in the main scanning direction and stored in B and C.

以上の説明からも明らかなように、文字を2倍
に拡大する場合には画素データを1ビツト置きに
レジスタに取り出し、それとそのデータを右ある
いは左に1ビツトシフトしたデータとの論理和を
取ることにより、画素データを簡単に2倍に拡大
することができる。従つてn倍にしたければn−
1ビツト置きに画素データを取り出し、これを順
次右あるいは左に1ビツトずつシフトしたデータ
を作り出し、それ等の論理和を取ることにより簡
単にn倍に拡大することができる。
As is clear from the above explanation, when enlarging a character twice, every other bit of pixel data is taken out to a register, and the logical OR is performed between that data and data shifted one bit to the right or left. Accordingly, pixel data can be easily enlarged twice. Therefore, if you want to multiply by n, then n-
By extracting pixel data every other bit, sequentially shifting the pixel data one bit to the right or left to create data, and calculating the logical sum of these data, it is possible to easily enlarge the data by n times.

例えば、3倍にする場合は、先ず第2図に示す
文字パターンの各コラムa1〜a7を第8図に示すよ
うに並べ変えてROMBに記憶する。即ち、コラ
ムa0は単にスペースを取るために設けられたコラ
ムで実際の文字パターン発生には直接関係ないの
で、これを無視して、コラムa1〜a7のみを2ビツ
トずつ間隔を空けて図示の通り並べ換える。次に
μ−CPUに、ROMAに記憶されている下記のプ
ログラムを順次実行させる。
For example, to triple the number, first rearrange the columns a 1 to a 7 of the character pattern shown in FIG. 2 as shown in FIG. 8 and store them in the ROMB. In other words, column a0 is simply a column provided to take up space and is not directly related to the actual character pattern generation, so ignore it and leave only columns a1 to a7 spaced by 2 bits. Arrange as shown. Next, have the μ-CPU execute the following programs stored in ROMA in sequence.

(1) ROMBの所定のアドレスから画素データ
「d3d5d1d4d6d2d5d7」を読み出しレジスタAにセ
ツトする。
(1) Read pixel data "d 3 d 5 d 1 d 4 d 6 d 2 d 5 d 7 " from a predetermined address in the ROMB and set it in register A.

(2) コラムa1,a2の画素データd1,d2のみが残る
ように「00100100」とレジスタAとの論理積を
取りレジスタAにストアする。
(2) Perform a logical product between "00100100" and register A and store it in register A so that only pixel data d 1 and d 2 of columns a 1 and a 2 remain.

(3) その結果をレジスタBにもストアする。(3) Store the result in register B as well.

(4) レジスタAを右へ1ビツトシフトする。(4) Shift register A to the right by 1 bit.

(5) レジスタAとBとの論理和を取りレジスタA
にストアする。
(5) Take the logical sum of registers A and B and select register A.
Store in.

(6) その結果をレジスタBにストアする。(6) Store the result in register B.

(7) レジスタAを右へ1ビツトシフトする。(7) Shift register A to the right by 1 bit.

(8) レジスタAとBとの論理和を取りレジスタA
にストアする。
(8) Take the logical sum of registers A and B and select register A.
Store in.

(9) レジスタAの内容をRAMの所定番地B1にス
トアする。
(9) Store the contents of register A to the specified address B1 in RAM.

以上のプログラムステツプを実行することに
より、第9図aに示すように、先ず画素データ
d1,d2が3倍に拡大されてRAMのB1番地にス
トアされる。続いて以下のプログラムを実行す
る。
By executing the above program steps, as shown in FIG. 9a, the pixel data is first
d 1 and d 2 are expanded three times and stored at address B 1 in RAM. Then run the following program.

(10) ステツプ(1)と同様、画素データ
「d3d5d1d4d6d2d5d7」をレジスタAにセツトす
る。
(10) As in step (1), set pixel data "d 3 d 5 d 1 d 4 d 6 d 2 d 5 d 7 " in register A.

(11) 「10010010」とレジスタAとの論理積を取り
レジスタAにストアする。
(11) Perform the AND of “10010010” and register A and store it in register A.

(12) その結果をレジスタBにストアする。(12) Store the result in register B.

(13) レジスタAを右へ1ビツトシフトする。(13) Shift register A to the right by 1 bit.

(14) レジスタAとBとの論理和を取りレジスタ
Aにストアする。
(14) Take the logical sum of registers A and B and store it in register A.

(15) その結果をレジスタBにストアする。(15) Store the result in register B.

(16) レジスタAを右へ1ビツトシフトする。(16) Shift register A to the right by 1 bit.

(17) レジスタAとBとの論理和を取りレジスタ
Aにストアする。
(17) Take the logical sum of registers A and B and store it in register A.

(18) レジスタAの内容をRAMの所定番地B2
ストアする。
(18) Store the contents of register A to the specified address B2 in RAM.

以上のプログラムステツプを実行することに
より、第9図bに示すように、画素データd3d4
が3倍に拡大されて夫々3ビツトずつと画素デ
ータd5が2ビツトRAMのB2番地にストアされ
る。最後に以下のプログラムを実行する。
By executing the above program steps, pixel data d 3 d 4 is generated as shown in FIG. 9b.
is enlarged three times, and the pixel data d5 and 3 bits each are stored at address B2 of the 2-bit RAM. Finally, run the following program.

(19) ステツプ(1)同様画素データ
「d3d5d1d4d6d2d5d7」をレジスタAにセツトす
る。
(19) Similar to step (1), set pixel data "d 3 d 5 d 1 d 4 d 6 d 2 d 5 d 7 " in register A.

(20) 「01001001」をレジスタAとの論理積を取
りレジスタAにストアする。
(20) AND "01001001" with register A and store it in register A.

(21) その結果をレジスタBにストアする。(21) Store the result in register B.

(22) レジスタAを左に1ビツトシフトする。(22) Shift register A to the left by 1 bit.

(23) レジスタAとBとの論理和を取りレジスタ
Aにストアする。
(23) Take the logical sum of registers A and B and store it in register A.

(24) その結果をレジスタBにストアする。(24) Store the result in register B.

(25) レジスタAを左に1ビツトシフトする。(25) Shift register A to the left by 1 bit.

(26) レジスタAとBとの論理和を取りレジスタ
Aにストアする。
(26) Take the logical sum of registers A and B and store it in register A.

(27) レジスタを左に1ビツトシフトする。(27) Shift the register one bit to the left.

(28) レジスタAの内容をRAMの所定番地B3
ストアする。
(28) Store the contents of register A to the specified address B3 in RAM.

以上のプログラムステツプを実行することによ
り第9図cに示すように画素データd51ビツトと
画素データd6,d7が3倍に拡大されて3ビツトず
つRAMのB3番地にストアされる。
By executing the above program steps, the pixel data d 5 1 bit and the pixel data d 6 , d 7 are expanded three times and stored in 3 bits each at address B 3 of the RAM, as shown in Figure 9c. .

従つて、上記(1)〜(28)のプログラムステツプ
を実行することにより、RAMのB1〜B3番地には
第9図dに示す通り、画素データd1〜d7が夫々3
倍に拡大されてストアされるので、これらの画素
データを順次1ビツトずつプリンタインタフエー
ス16を通してプリンタ13に出力すれば、前述
同様、文字が主走査方向に3倍に拡大されて記録
される。尚、上記画素データを3倍にする場合、
レジスタA,Bとして8ビツト容量のものを用い
たため、プログラムステツプが多少長くなつた
が、容量の大きいレジスタを用いれば、そのプロ
グラムはもつと簡単になることは言う迄もない。
Therefore, by executing the program steps (1) to (28) above, three pieces of pixel data d1 to d7 are stored at addresses B1 to B3 in the RAM, respectively, as shown in FIG. 9d.
Since these pixel data are enlarged twice and stored, if these pixel data are sequentially output one bit at a time to the printer 13 through the printer interface 16, the characters will be enlarged three times in the main scanning direction and recorded, as described above. In addition, if the above pixel data is tripled,
Since the registers A and B have a capacity of 8 bits, the program steps are somewhat longer, but it goes without saying that the program becomes simpler if registers with a larger capacity are used.

以上の記載の通り、本発明によれば、予め発生
すべき文字パターンをリードオンリメモリに記憶
させておき、これを順次ライン毎にマイクロプロ
セツサに取り出し、所定ビツトに拡大して出力す
るようにしたので、従来のように文字パターン発
生のために格別の構成を設ける必要なく、簡単に
所定の文字パターンを発生させることができる。
As described above, according to the present invention, a character pattern to be generated is stored in a read-only memory in advance, and is sequentially retrieved line by line by a microprocessor, enlarged to a predetermined bit size, and output. Therefore, it is possible to easily generate a predetermined character pattern without having to provide a special configuration for generating character patterns as in the conventional case.

また、本発明をマイクロコンピユータを使用し
たフアクシミリ装置に適用した場合には、格別の
構成を要せず、そのマイクロコンピユータを使用
して所定の文字パターンを発生させることができ
るので、フアクシミリ装置が極めてコンパクトに
なる。
Furthermore, when the present invention is applied to a facsimile device using a microcomputer, the microcomputer can be used to generate a predetermined character pattern without requiring any special configuration. Becomes compact.

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

第1図は従来の文字パターン発生装置のブロツ
ク構成図、第2図は発生すべき文字の一例を示す
文字パターン図、第3図は拡大されて記録される
文字の一例を示す文字パターン図、第4図は本発
明が適用されるフアクシミリ装置のブロツク構成
図、第5図は本発明の一実施例の動作を説明する
ための各レジスタ内のデータ変化図、第6図は本
発明の他の実施例における文字を2倍に拡大する
ときのメモリ内に記録される文字パターン図、第
7図は本発明の他の実施例における文字を2倍に
拡大する動作を説明するための各レジスタ内のデ
ータ変化図、第8図は本発明の他の実施例におけ
る文字を3倍に拡大するときのメモリ内に記憶さ
れる文字パターン図、第9図a〜cは本発明の他
の実施例における文字を3倍に拡大する動作を説
明するための各レジスタ内のデータ変化図、第9
図dはその結果メモリに得られる画素データ状態
図である。 11……マイクロコンピユータ、μ−CPU…
…マイクロプロセツサ、ROMA……リードオン
リメモリ、RAM……ランダムアクセスメモリ、
12……スキヤナ、13……プリンタ、14……
モデム、15……スキヤナインタフエース、16
……プリンタインタフエース、17……モデムイ
ンタフエース、18……リードオンリメモリ。
FIG. 1 is a block configuration diagram of a conventional character pattern generator, FIG. 2 is a character pattern diagram showing an example of characters to be generated, and FIG. 3 is a character pattern diagram showing an example of characters to be enlarged and recorded. FIG. 4 is a block configuration diagram of a facsimile device to which the present invention is applied, FIG. 5 is a data change diagram in each register for explaining the operation of an embodiment of the present invention, and FIG. Figure 7 is a diagram of the character pattern recorded in the memory when enlarging a character twice in the embodiment of the present invention, and Fig. 7 shows each register for explaining the operation of enlarging a character twice in another embodiment of the present invention. Figure 8 is a diagram of character patterns stored in memory when characters are enlarged three times according to another embodiment of the present invention, and Figures 9 a to c are diagrams of other embodiments of the present invention. Data change diagram in each register to explain the operation of enlarging a character by three times in the example, No. 9
Figure d is a state diagram of the resulting pixel data in memory. 11...Microcomputer, μ-CPU...
...Microprocessor, ROMA...Read-only memory, RAM...Random access memory,
12...Sukiyana, 13...Printer, 14...
Modem, 15...Scanner interface, 16
... Printer interface, 17 ... Modem interface, 18 ... Read-only memory.

Claims (1)

【特許請求の範囲】[Claims] 1 各種の文字を主走査方向および副走査方向に
所定ビツトずつ複数ビツトの画素に分解した文字
パターン情報を記憶しているROMと、このROM
から所定の文字パターン情報を読み出すCPUと
を備え、前記ROMから順次読み出す主走査方向
画素データを、各画素間に(n−1)ビツトの0
を挿入し、得られる画素データとこの画素データ
を1ビツトシフトした画素データとの論理和を取
る操作を(n−1)回繰り返すことにより、n倍
に拡大して出力させることを特徴とする文字パタ
ーン発生方式。
1. A ROM that stores character pattern information obtained by decomposing various characters into pixels of a plurality of predetermined bits in the main scanning direction and sub-scanning direction, and this ROM.
and a CPU that reads out predetermined character pattern information from the ROM.
A character characterized in that it is enlarged by n times and output by repeating (n-1) times the operation of inserting the obtained pixel data and calculating the logical sum of the pixel data obtained by shifting this pixel data by 1 bit. Pattern generation method.
JP12890479A 1979-09-17 1979-10-08 Character pattern generation system Granted JPS5652967A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP12890479A JPS5652967A (en) 1979-10-08 1979-10-08 Character pattern generation system
US06/185,062 US4644319A (en) 1979-09-17 1980-09-08 Addresser designation character pattern generation apparatus for facsimile transmission
DE19803035139 DE3035139A1 (en) 1979-09-17 1980-09-17 CHARACTER PATTERN GENERATOR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12890479A JPS5652967A (en) 1979-10-08 1979-10-08 Character pattern generation system

Publications (2)

Publication Number Publication Date
JPS5652967A JPS5652967A (en) 1981-05-12
JPS6226224B2 true JPS6226224B2 (en) 1987-06-08

Family

ID=14996227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12890479A Granted JPS5652967A (en) 1979-09-17 1979-10-08 Character pattern generation system

Country Status (1)

Country Link
JP (1) JPS5652967A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2082013B (en) * 1980-06-30 1985-05-30 Canon Kk Facsimile apparatus
US4549222A (en) * 1982-03-04 1985-10-22 Ing. C. Olivetti & C., S.P.A. Dot matrix printing method and printer therefor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5435613A (en) * 1977-08-25 1979-03-15 Dainippon Screen Mfg Method of and device for converting duplicating reproduction factor in picture scan recorder
JPS5497438A (en) * 1978-01-18 1979-08-01 Hitachi Ltd Heat sensitive recording device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5435613A (en) * 1977-08-25 1979-03-15 Dainippon Screen Mfg Method of and device for converting duplicating reproduction factor in picture scan recorder
JPS5497438A (en) * 1978-01-18 1979-08-01 Hitachi Ltd Heat sensitive recording device

Also Published As

Publication number Publication date
JPS5652967A (en) 1981-05-12

Similar Documents

Publication Publication Date Title
US4129860A (en) Apparatus for forming a character by a matrix pattern of picture elements
US4095216A (en) Method and apparatus for displaying alphanumeric data
JPH0415774A (en) Bar code reader
US4486745A (en) Pattern generating apparatus capable of generating patterns by controlling basic symbols
US4644319A (en) Addresser designation character pattern generation apparatus for facsimile transmission
JPS60261252A (en) Density converting method of picture signal
JPS6226224B2 (en)
JPS6325553B2 (en)
GB2055027A (en) Displaying alphanumeric data
JPH068990B2 (en) Pattern display signal generator
JPH11306343A (en) Rotational processing device for two-dimensional data
JP2000351242A (en) Image forming apparatus
JPS608510B2 (en) Bit pattern conversion device
JP2547716B2 (en) Data processing system
JP3092579B2 (en) Image data rotation processing method and image data rotation processing apparatus
JP2655621B2 (en) Management information output device
JP2858443B2 (en) High density image forming method and its output device
JPS602983A (en) Image processor
JP2577797B2 (en) Pixel density conversion circuit
JPS6114529B2 (en)
JPS6338312B2 (en)
JPH06324935A (en) Address generator and address generation system
JPS58119865A (en) Printing mode for ruled line
JPS5890178A (en) Waveform display device
JP4165391B2 (en) Image processing method and image processing apparatus