JPH0434505B2 - - Google Patents
Info
- Publication number
- JPH0434505B2 JPH0434505B2 JP59272292A JP27229284A JPH0434505B2 JP H0434505 B2 JPH0434505 B2 JP H0434505B2 JP 59272292 A JP59272292 A JP 59272292A JP 27229284 A JP27229284 A JP 27229284A JP H0434505 B2 JPH0434505 B2 JP H0434505B2
- Authority
- JP
- Japan
- Prior art keywords
- dot pattern
- memory
- character
- dot
- degrees
- 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- 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
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Mathematical Physics (AREA)
- Record Information Processing For Printing (AREA)
- Dot-Matrix Printers And Others (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はプリンタ制御処理装置、特に印刷すべ
き横書き文字のドツトパターンあるいは縦書き文
字のドツトパターンを印刷用のドツトパターンメ
モリ上に迅速に展開するよう構成したプリンタ制
御処理装置に関するものである。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a printer control processing device, and particularly to a printer control processing device, which rapidly develops a dot pattern of horizontally written characters to be printed or a dot pattern of vertically written characters to be printed onto a dot pattern memory for printing. The present invention relates to a printer control processing device configured to perform the following operations.
従来、高速に印刷可能なレーザービームプリン
タ等では、例えばキヤラクタジエネレータから読
み出した横書き文字のドツトパターンあるいは当
該横書き文字のドツトパターンを90度回転させて
生成させた縦書き文字のドツトパターンをドツト
パターンメモリにページ単位で格納し、当該格納
したドツトパターンメモリ中から印刷するに適し
た態様で順次読み出して所望の文字等を高速に印
刷していた。この際、一般に文字等を印刷するた
めに用いられるドツトパターンは、第5図図示フ
ローチヤートに示す如く、当該レーザービームプ
リンタの電源投入時にホストコンピユータから一
括して例えばJIS第1水準漢字のドツトパターン
および非漢字のドツトパターンの如く予め送信
(ダウンロード)され、CG(キヤラクタジエネレ
ータ)メモリに格納されていた。そして、印刷時
において、第6図図示フローチヤートに示す如
く、ホストコンピユータからの印刷指令に基づき
印刷すべき文字等が当該CGメモリに格納したド
ツトパターンと例えば同じ横書き文字の場合(第
6図図中31のNO)には当該ドツトパターンを
印刷用のドツトパターンメモリ上に展開(第6図
図中33)し、一方異なる横書き文字の場合(第
6図図中31のYES)には当該ドツトパターン
を90度回転(第6図図中32)させて印刷用のド
ツトパターンメモリ上に展開(第6図図中33)
させていた。当該印刷時にドツトパターンを90度
回転させる処理として、従来マイクロプログラム
を用いて行う第1の装置、専用の回転回路を用い
て行う第2の装置、および印刷すべきドツトパタ
ーンを展開したページ全体を縦横変換する専用の
回路を用いて行う第3の装置等があつた。しか
し、第1のマイクロプログラムを用いて行う装置
では、処理速度が遅いという問題点があつた。第
2および第3の装置では、専用の回路を設ける必
要があり、コストが高くなつてしまうという問題
点があつた。このために、印刷時には出来るだけ
前記90度回転を行う処理を省略できる装置を得る
ことが望まれている。
Conventionally, laser beam printers and the like that can print at high speeds can print, for example, dot patterns of horizontally written characters read out from a character generator or dot patterns of vertically written characters generated by rotating the horizontally written dot patterns by 90 degrees. Desired characters and the like are printed at high speed by storing them in a pattern memory page by page and reading out sequentially from the stored dot pattern memory in a manner suitable for printing. At this time, the dot patterns generally used for printing characters, etc. are, for example, the dot patterns of JIS level 1 kanji, which are printed all at once from the host computer when the laser beam printer is turned on, as shown in the illustrated flowchart in Figure 5. and non-kanji dot patterns were transmitted (downloaded) in advance and stored in CG (Character Generator) memory. At the time of printing, as shown in the illustrated flowchart in FIG. 6, if the characters to be printed based on the print command from the host computer are, for example, horizontally written characters that are the same as the dot pattern stored in the CG memory (FIG. In case of NO in 31 in Figure 6), the dot pattern is developed on the dot pattern memory for printing (33 in Figure 6), while in the case of a different horizontal character (YES in 31 in Figure 6), the dot pattern is Rotate the pattern 90 degrees (32 in Figure 6) and develop it on the dot pattern memory for printing (33 in Figure 6)
I was letting it happen. The process of rotating the dot pattern by 90 degrees during printing involves a first device that conventionally uses a microprogram, a second device that uses a dedicated rotation circuit, and a device that rotates the entire page with the dot pattern to be printed. There is a third device that uses a dedicated circuit for vertical/horizontal conversion. However, the apparatus using the first microprogram had a problem in that the processing speed was slow. In the second and third devices, it is necessary to provide a dedicated circuit, resulting in a problem of increased cost. For this reason, it is desired to obtain an apparatus that can omit the 90 degree rotation process as much as possible during printing.
更に従来から、例えば横書きの状態から縦書き
の状態に移行する際に、キヤラクタ・ジエネレー
タ・メモリの内容中の各文字をすべて縦書きの形
に書き直す処理を行う装置が知られているが、こ
の場合にはすべての文字のパターンを縦書きに変
換することから、このための処理時間が大とな
り、待ち時間が大となり過ぎる。また従来から、
例えば縦書きに関して必要となつた文字につい
て、逐次キヤツシユメモリに格納しかつキヤツシ
ユメモリの内容を必要に応じて更新する装置が知
られているが、この方式の場合にはキヤツシユメ
モリに対するアクセス処理がむづかしくなると共
に縦書きに関して使用頻度の高いことが予め判別
している文字についても、その使用に当つて初め
て変換されることになつてしまう。 Furthermore, there has been conventionally known a device that rewrites all characters in the contents of the character generator memory into vertical writing when transitioning from a horizontal writing state to a vertical writing state, for example. In this case, all character patterns are converted to vertical writing, which requires a large amount of processing time, resulting in an excessively long waiting time. Also, traditionally,
For example, there is a known device that sequentially stores characters required for vertical writing in a cache memory and updates the contents of the cache memory as necessary. Processing becomes difficult, and even characters that are determined in advance to be frequently used in vertical writing are converted for the first time when they are used.
本発明は、前記問題点を解決するために、予め
準備および/または前回使用した横書き文字のド
ツトパターンあるいは縦書き文字のドツトパター
ンを用いる構成を採用することにより、印刷すべ
き所望の文字に対応する横書き文字のドツトパタ
ーンあるいは縦書き文字のドツトパターンを印刷
用のドツトパターンメモリ上に高速に展開するよ
うにしている。そのため、本発明のプリンタ制御
処理装置は、ドツトパターンをドツトパターンメ
モリ上に展開して印刷するプリンタ制御処理装置
において、文字を印刷するために必要なドツトパ
ターンを予め格納するキヤラクタ・ジエネレー
タ・メモリと、該キヤラクタ・ジエネレータ・メ
モリ中から印刷する文字に対応するドツトパター
ンを読み出して展開して格納するためのドツトパ
ターンメモリと、前記キヤラクタ・ジエネレー
タ・メモリ中に格納されているドツトパターンの
内、指定された使用頻度の高いドツトパターンを
初期状態において予め90度回転させて別個に前記
キヤラクタ・ジエネレータ・メモリ中に格納し、
前記キヤラクタ・ジエネレータ・メモリ中に当該
文字に関して90度回転されるべきドツトパターン
のみが存在している場合に当該ドツトパターンを
90度回転させてドツトパターン・メモリに格納す
るドツトパターン処理部とを備え、印刷すべき文
字に対応するドツトパターンを前記キヤラクタ・
ジエネレータ・メモリ中から読み出して、当該読
み出したドツトパターンに基づいて所望の文字に
対応するドツトパターンを回転させあるいは回転
させることなく前記ドツトパターン中に展開して
印刷するよう構成したことを特徴としている。
In order to solve the above-mentioned problems, the present invention adopts a configuration in which a dot pattern of horizontally written characters or a dot pattern of vertically written characters prepared in advance and/or used previously is used to correspond to desired characters to be printed. The dot pattern of horizontally written characters or the dot pattern of vertically written characters is developed at high speed on a dot pattern memory for printing. Therefore, the printer control processing device of the present invention is a printer control processing device that develops and prints dot patterns on a dot pattern memory, and a character generator memory that stores dot patterns necessary for printing characters in advance. , a dot pattern memory for reading, developing and storing a dot pattern corresponding to the character to be printed from the character generator memory; and a designation of the dot patterns stored in the character generator memory. The frequently used dot pattern is rotated by 90 degrees in an initial state and stored separately in the character generator memory;
If only the dot pattern to be rotated 90 degrees for the character exists in the character generator memory, the dot pattern is
and a dot pattern processing section that rotates the dot pattern by 90 degrees and stores it in the dot pattern memory, and the dot pattern corresponding to the character to be printed is stored in the character/character memory.
The dot pattern is read from the generator memory, and based on the read dot pattern, a dot pattern corresponding to a desired character is rotated or expanded into the dot pattern without rotation and printed. .
以下図面を参照しつつ本実施例を詳細に説明す
る。
This embodiment will be described in detail below with reference to the drawings.
第1図は本発明の1実施例構成図、第2図ない
し第4図は第1図図示本発明の1実施例構成の動
作を説明するフローチヤートを示す。 FIG. 1 is a configuration diagram of one embodiment of the present invention, and FIGS. 2 to 4 are flowcharts for explaining the operation of the configuration of one embodiment of the present invention shown in FIG. 1.
図中、1はレーザービームプリンタ制御部、1
−1はコントロール部、1−2はダウンロード
部、1−3は回転判別部、1−4は回転処理・フ
ラグ設定部、1−5は回転フラグ読み出し部、1
−6はドツトパターンメモリ、1−7はCG(キヤ
ラクタジエネレータ)メモリ、18は回転フラグ
メモリ1−9はドツトパターン処理部、2はホス
トコンピユータ、3は印刷機構を表す。 In the figure, 1 is a laser beam printer control unit;
-1 is a control section, 1-2 is a download section, 1-3 is a rotation determination section, 1-4 is a rotation processing/flag setting section, 1-5 is a rotation flag reading section, 1
-6 is a dot pattern memory, 1-7 is a CG (Character Generator) memory, 18 is a rotation flag memory 1-9 is a dot pattern processing section, 2 is a host computer, and 3 is a printing mechanism.
第1図において、図中レーザービームプリンタ
制御部1はホストコンピユータ2からの印刷指令
に対応したドツトパターンをドツトパターンメモ
リ1−6に展開し、当該ドツトパターンメモリ1
−6から印刷に適した形の情報を読み出して印刷
機構3に通知するためのものである。図中ドツト
パターン処理部1−9は、ダウンロード1−2、
回転判別部1−3、回転処理・フラグ設定部1−
4および回転フラグ読み出し部1−5等から構成
されており、ドツトパターンに関する各種処理を
行うためのものである。例えば、当該レーザービ
−ムプリンタ制御部1の電源投入時に、図中ダウ
ンロード部1−2がホストコンピユ−タ2から送
信された例えばJIS第1水準および非漢字のドツ
トパターンを受信して図中CG(キヤラクタジエネ
レータ)メモリ1−7中に格納すると共に、ホス
トコンピユータ2から通知された横書きのドツト
パターンと縦書きのドツトパターンとの出現頻度
の高い文字等の情報を受信し、当該出現頻度の高
い文字等を予め90度回転して当該CGメモリ1−
7中に別個に格納する。 In FIG. 1, a laser beam printer control section 1 develops a dot pattern corresponding to a print command from a host computer 2 in a dot pattern memory 1-6, and stores the dot pattern in the dot pattern memory 1-6.
This is for reading out information in a form suitable for printing from -6 and notifying it to the printing mechanism 3. In the figure, the dot pattern processing unit 1-9 includes the download 1-2,
Rotation determination unit 1-3, rotation processing/flag setting unit 1-
4 and a rotation flag reading section 1-5, etc., and is used to perform various processes related to dot patterns. For example, when the laser beam printer control unit 1 is powered on, the download unit 1-2 in the figure receives the dot pattern of, for example, JIS 1st level and non-kanji characters, and downloads the CG in the figure. (Character Generator) In addition to storing information in the memory 1-7, it also receives information such as characters that appear frequently in the horizontally written dot pattern and vertically written dot pattern notified from the host computer 2, and Rotate the characters with high 90 degrees in advance and transfer them to the corresponding CG memory 1-
Stored separately in 7.
図中回転判別部1−3は、ドツトパターンメモ
リ1−6中に展開しようとする文字等が回転する
必要のある文字であるか否かを判別するためのも
のである。 The rotation determining section 1-3 in the figure is for determining whether or not a character or the like to be expanded into the dot pattern memory 1-6 is a character that needs to be rotated.
図中回転処理・フラグ設定部1−4は、第1
に、印刷すべき文字等に対応するドツトパターン
をCGメモリ1−7から読み出すためのものであ
る。第2に回転フラグ読み出し部1−5によつて
回転フラグメモリ1−8中のテ−ブルから読み出
されたフラグに基づいて当該ドツトパターンを90
度回転する必要があると判別された場合に、90度
回転処理を行つてドツトパターンメモリ1−6中
に格納すると共に、CGメモリ1−7中に当該ド
ツトパターンを格納し、かつ回転フラグメモリ1
−8中のテーブルにその旨のフラグを設定してお
くためのものである。一方、90度回転する必要が
ないと判別された場合には、単に当該ドツトパタ
ーンをドツトパターンメモリ1−6中の所定位置
に格納するためのものである。以下第2図ないし
第4図図示フローチヤートを用いて第1図図示構
成の動作を順次詳細に説明する。 In the figure, the rotation processing/flag setting section 1-4 is the first
Second, it is used to read dot patterns corresponding to characters, etc. to be printed from the CG memory 1-7. Second, the rotation flag reading unit 1-5 reads out the dot pattern based on the flag read from the table in the rotation flag memory 1-8.
If it is determined that the dot pattern needs to be rotated by 90 degrees, the dot pattern is rotated by 90 degrees and stored in the dot pattern memory 1-6, the dot pattern is stored in the CG memory 1-7, and the dot pattern is stored in the rotation flag memory. 1
This is to set a flag to that effect in the table in -8. On the other hand, if it is determined that there is no need to rotate the dot pattern by 90 degrees, the dot pattern is simply stored at a predetermined position in the dot pattern memory 1-6. The operation of the configuration shown in FIG. 1 will be explained in detail below using the flowcharts shown in FIGS. 2 to 4.
第2図は電源投入時にホストコンピユータ2か
ら通知されたJIS第1水準漢字および非漢字等の
ドツトパターンをCGメモリ1−7中に格納する
手順、および横書き文字と縦書き文字との頻出が
多いものについての通知に基づき同一文字に対し
て予め横書き文字のドツトパターンと縦書き文字
のドツトパターンとを生成してCGメモリ1−7
中に格納するための手順を示す。 Figure 2 shows the procedure for storing dot patterns of JIS level 1 kanji and non-kanji characters notified from the host computer 2 when the power is turned on in the CG memory 1-7, and the frequent occurrence of horizontal and vertical characters. CG memory 1-7 generates in advance a dot pattern for horizontally written characters and a dot pattern for vertically written characters for the same character based on the notification about the object.
Here are the steps to store it inside.
図中1はCG1文字をダウンロードする状態を示
す。これは、ホストコンピユータ2が例えばJIS
第1水準漢字および非漢字の内の1文字に対応す
るドツトパターンを第1図図中レーザービームプ
リンタ制御部1を構成するダウンロード部1−2
に送信することを意味する。 1 in the figure shows the state in which one CG character is downloaded. This means that the host computer 2, for example, uses JIS
The download unit 1-2, which constitutes the laser beam printer control unit 1 in FIG.
means to send to.
図中2はCGメモリ1−7へ格納する状態を示
す。これは、図中1でダウンロード部1−2が受
信したドツトパターンをCGメモリ1−7中に格
納することを意味する。 2 in the figure shows the state in which the data is stored in the CG memory 1-7. This means that the dot pattern received by the download section 1-2 at 1 in the figure is stored in the CG memory 1-7.
図中3は90度回転すべきCGか否かを判別する
状態を示す。これは、ホストコンピユータ2から
予め90度回転させた横書き文字のドツトパターン
と縦書き文字のドツトパターンとを準備しておく
べき文字であるか否かを判別することを意味す
る。YESの場合には90度回転すべきものについ
て図中4を実行する。NOの場合には図中6を実
行する。 3 in the figure shows a state in which it is determined whether the CG should be rotated 90 degrees or not. This means that it is determined whether or not the character should be prepared by preparing a dot pattern for a horizontally written character and a dot pattern for a vertically written character rotated 90 degrees from the host computer 2 in advance. If YES, execute step 4 in the figure for the object to be rotated 90 degrees. If NO, execute step 6 in the figure.
図中4は90度回転する状態を示す。 4 in the figure indicates a state of rotation of 90 degrees.
図中5は90度回転したドツトパターンをCGメ
モリ1−7中の所定の領域に格納する状態を示
す。これにより、90度回転したドツトパターンと
90度回転させていないドツトパターンとの両者が
CGメモリ1−7中に夫々電源投入時に格納され
たこととなる。そして、印刷時には必要に応じて
横書き文字のドツトパターンあるいは縦書き文字
のドツトパターンが90度回転を行うまでもなく高
速に読み出すことができる。一般にJIS第1水準
漢字および非漢字を用いて日本語処理を行う場
合、漢字以外(ひらがな、かたかな、英数字記
号)が過半数を占め、漢字も頻出上位200文字程
度を用いることにより、印刷しようとする文書等
に含まれる全漢字の50%位を印刷することができ
るといわれている。従つて、本発明の如く電源投
入時に予め頻出の多い漢字の横書き文字のドツト
パターンと縦書き文字のドツトパターンとを準備
しておけば、印刷に際して90度回転させる割合が
減少するため、高速に印刷すべきドツトパターン
をドツトパターンメモリ1−6上に展開すること
が可能となる。 5 in the figure shows a state in which a dot pattern rotated by 90 degrees is stored in a predetermined area in the CG memory 1-7. This creates a 90 degree rotated dot pattern.
Both with the dot pattern that is not rotated 90 degrees
This means that they are stored in the CG memories 1-7 when the power is turned on, respectively. When printing, the dot pattern of horizontally written characters or the dot pattern of vertically written characters can be read out at high speed without having to be rotated by 90 degrees as necessary. In general, when processing Japanese using JIS level 1 kanji and non-kanji, non-kanji (hiragana, katakana, alphanumeric symbols) account for the majority, and by using the top 200 frequently occurring kanji characters, printing It is said that it is possible to print about 50% of all the kanji contained in the document you are trying to print. Therefore, if the dot patterns of horizontally written characters and the dot patterns of vertically written characters of kanji that are frequently used are prepared in advance when the power is turned on as in the present invention, the rate of 90 degree rotation during printing will be reduced, resulting in faster printing. It becomes possible to develop the dot pattern to be printed on the dot pattern memory 1-6.
図中6はダウンロードが終了したか否かを判別
する状態を示す。YESの場合には終了する。NO
の場合には図中1以下を繰り返す。 6 in the figure indicates a state in which it is determined whether or not the download has been completed. If YES, terminate. NO.
In this case, repeat steps 1 and below in the figure.
第3図は第2図図示電源投入時に予めCGメモ
リ1−7中に格納しておいたドツトパターンを用
いて印刷すべき文字等のドツトパターンを第1図
図中ドツトパターンメモリ1−6中に展開する場
合に手順を示す。 Figure 3 shows that when the power is turned on as shown in Figure 2, the dot patterns of characters to be printed are stored in the dot pattern memory 1-6 in Figure 1 using the dot patterns previously stored in the CG memory 1-7. The following describes the procedure for deploying to .
図中7は90度回転する必要があるか否かを判別
する状態を示す。これは、ドツトパターンメモリ
1−6中にドツトパターンの形で展開して印刷し
ようとしている文字等が、90度回転させる必要が
あるか否かを判別することを意味し、第1図図中
回転判別部1−3によつて実行される。YESの
場合には図中8を実行する。NOの場合には図中
10を実行する。 In the figure, 7 indicates a state in which it is determined whether or not it is necessary to rotate 90 degrees. This means that it is determined whether or not the characters, etc. that are developed in the form of a dot pattern in the dot pattern memory 1-6 and are to be printed need to be rotated by 90 degrees. This is executed by the rotation determining section 1-3. If YES, execute step 8 in the figure. If NO, execute step 10 in the figure.
図中8は90度回転されたドツトパターンがCG
メモリ1−7中に格納されているか否かを判別す
る状態を示す。YESの場合には図中9を実行す
る。NOの場合には図中11を実行する。 8 in the figure is a CG dot pattern rotated 90 degrees.
This shows a state in which it is determined whether or not the data is stored in the memory 1-7. If YES, execute step 9 in the figure. If NO, execute step 11 in the figure.
図中9は90度回転したドツトパターンを格納し
たCGメモリ1−7中から当該文字等に対応する
ドツトパターンをセレクトする(読み出す)状態
を示す。これにより、90度回転処理を行うことな
く、単に読み出すことにより、所望の横書き文字
のドツトパターンあるいは縦書き文字のドツトパ
ターンが得られることとなる。 9 in the figure shows a state in which a dot pattern corresponding to a character or the like is selected (read) from the CG memory 1-7 which stores dot patterns rotated by 90 degrees. As a result, a desired dot pattern of horizontally written characters or a desired dot pattern of vertically written characters can be obtained by simply reading without performing 90 degree rotation processing.
図中10はドツトパターンメモリ中に展開する
状態を示す。これは、図中9あるいは図中11で
得られた所望の横書き文字のドツトパターンある
いは縦書き文字のドツトパターンを印刷するため
にドツトパターンメモリ1−6中に展開すること
を意味する。そして、当該ドツトパターンメモリ
1−6中から印刷するのに最適な形で読み出され
た信号が印刷機構3に通知されて、文字等がペー
ジ単位で印刷されることとなる。 In the figure, numeral 10 indicates the state in which the dot pattern is developed in the memory. This means that the desired dot pattern of horizontally written characters or dot pattern of vertically written characters obtained at 9 or 11 in the figure is developed in the dot pattern memory 1-6 for printing. Then, the signal read out from the dot pattern memory 1-6 in the optimum form for printing is notified to the printing mechanism 3, and characters, etc. are printed page by page.
図中11はCGを90度回転する状態を示す。こ
れは、90度回転したドツトパターンが、第1図図
中CGメモリ1−7中に格納されていないので、
90度回転させる処理を行うことを意味する。 In the figure, 11 indicates a state in which the CG is rotated by 90 degrees. This is because the dot pattern rotated 90 degrees is not stored in the CG memory 1-7 in Figure 1.
This means rotating the image by 90 degrees.
例えば第2図図示手順を用いて第1図図中CG
メモリ1−7中に32ドツト×32ドツトからなる
JIS第1水準漢字および非漢字を格納すると、当
該CGメモリ1−7に対して必要なメモリ容量は
約428KBとなる。そして、90度回転したドツト
パターンを512組用意したとすると必要なメモリ
容量は更に64KBが加算されることとなる。今、
マイクロプログラムを用いて1文字のドツトパタ
ーンを90度回転するのに例えば3ms必要とし、
2000文字からなる文章を90度回転して横書き文字
のドツトパターンあるいは縦書き文字のドツトパ
ターンに展開して印刷したとすると、従来ではド
ツトパターンを90度回転させるのに必要な時間T
は
T=0.003×2000=6(秒) ……(1)
となる。一方、本発明によれば、例えばヒツト率
を80%とすると、90度回転させるのに必要な時間
tは
t=0.003×2000×(1−0.8)=1.2(秒) ……(2)
となる。従つて、CGメモリ1−7のメモリ容量
が428KBから429KBになり約15%増加するが、
90度回転処理に必要な時間が6秒から1.2秒とな
り1/5に減少し、高速に処理が可能となる。 For example, using the procedure shown in Figure 2, the CG in Figure 1 is
Consisting of 32 dots x 32 dots in memory 1-7
When JIS level 1 kanji and non-kanji are stored, the memory capacity required for the CG memory 1-7 is approximately 428 KB. If 512 sets of dot patterns rotated by 90 degrees are prepared, the required memory capacity will be an additional 64KB. now,
For example, it takes 3ms to rotate the dot pattern of one character by 90 degrees using a microprogram.
If a text consisting of 2,000 characters is rotated 90 degrees and developed into a dot pattern of horizontal or vertical characters and printed, conventionally the time required to rotate the dot pattern 90 degrees is T.
is T=0.003×2000=6 (seconds)...(1). On the other hand, according to the present invention, if the hit rate is 80%, the time t required to rotate 90 degrees is t = 0.003 x 2000 x (1 - 0.8) = 1.2 (seconds) ... (2) Become. Therefore, the memory capacity of CG memory 1-7 increases from 428KB to 429KB, which is an increase of about 15%.
The time required for 90 degree rotation processing is reduced to 1/5 from 6 seconds to 1.2 seconds, allowing for faster processing.
第4図はCGメモリ1−7中に格納されている
前回使用した横書き文字のドツトパターンあるい
は縦書き文字のドツトパターンを読み出して、ド
ツトパターンメモリ1−6中に展開して印刷する
場合の手順を示す。 Figure 4 shows the procedure for reading out the previously used horizontal character dot pattern or vertical character dot pattern stored in the CG memory 1-7, developing it in the dot pattern memory 1-6, and printing it. shows.
図中12は90度回転が必要であるか否かを判別
する状態を示す。これは、印刷すべき文字のドツ
トパターンをドツトパターンメモリ1−6中に展
開する際に、ドツトパターンを90度回転させる必
要があるか否かを判別することを意味する。 In the figure, 12 indicates a state in which it is determined whether or not a 90 degree rotation is necessary. This means that when developing the dot pattern of characters to be printed in the dot pattern memory 1-6, it is determined whether or not it is necessary to rotate the dot pattern by 90 degrees.
図中13は90度回転済であるか否かを判別する
状態を示す。これは、第1図図中回転フラグメモ
リ1−8中から読み出したフラグがON(1)になつ
ているか否かによつて判別される。YESの場合
(フラグがONの場合)にはすでに90度回転され
ており、もはや回転させる必要がないため、図中
17を実行する。NOの場合には90度回転させる
必要があるため、図中14ないし16を実行す
る。 In the figure, 13 indicates a state in which it is determined whether or not the rotation has been completed by 90 degrees. This is determined by whether or not the flag read from the rotation flag memory 1-8 in FIG. 1 is ON (1). If YES (if the flag is ON), it has already been rotated 90 degrees and there is no need to rotate it anymore, so step 17 in the figure is executed. If NO, it is necessary to rotate 90 degrees, so execute steps 14 to 16 in the figure.
図中14はドツトパターンを90度回転させる状
態を示す。 In the figure, 14 indicates a state in which the dot pattern is rotated by 90 degrees.
図中15はCGメモリ1−7中の元のドツトパ
ターンを当該90度回転させたドツトパターンによ
つて書き直す状態を示す。従つて、当該CGメモ
リ1−7中に格納されているドツトパターンは、
それまで格納されていたドツトパターン(例えば
横書き用)に代えて、90度回転させたドツトパタ
ーン(例えば縦書き用に戻されたドツトパター
ン)に対応する横書き文字のドツトパターンある
いは縦書き文字のドツトパターンが格納されてい
ることとなる。このため、一般の文書では横書き
文字あるいは縦書き文字が連続して現れる性質が
あるから、2度目から90度回転処理を行う必要が
なく、印刷すべき横書き文字あるいは縦書き文字
に対応するドツトパターンをドツトパターンメモ
リ1−6中に高速に展開することが可能となる。 15 in the figure shows a state in which the original dot pattern in the CG memory 1-7 is rewritten with the dot pattern rotated by 90 degrees. Therefore, the dot pattern stored in the CG memory 1-7 is
Instead of the previously stored dot pattern (for example, for horizontal writing), a dot pattern for horizontal characters or a dot for vertical characters corresponding to a dot pattern rotated by 90 degrees (for example, a dot pattern returned for vertical writing) will be displayed. This means that the pattern is stored. For this reason, since horizontal or vertical characters tend to appear consecutively in general documents, there is no need to perform 90 degree rotation processing from the second time, and the dot pattern corresponding to the horizontal or vertical characters to be printed is removed. It becomes possible to develop the image into the dot pattern memory 1-6 at high speed.
図中16は90度回転フラグをオン(ON)する
状態を示す。これは、第1図図中回転フラグメモ
リ1−8内に設けられたテーブル中の該当する位
置に“1”を格納することによつて行われる。 In the figure, 16 indicates a state in which the 90 degree rotation flag is turned on. This is done by storing "1" in the corresponding position in the table provided in the rotation flag memory 1-8 in FIG.
図中17はドツトパターンメモリ1−6中にド
ツトパターンを展開する状態を示す。 In the figure, numeral 17 shows the state in which the dot pattern is developed in the dot pattern memory 1-6.
図中18は90度回転済であるか否かを判別する
状態を示す。該判別は回転フラグメモリ1−8内
のテーブル中から所定の文字に対応するフラグが
ON(1)になつているか否かによつて判別される。
YESの場合にはCGメモリ1−7中に格納されて
いるドツトパターンを90度逆回転させる必要があ
るので、図中19ないし21を実行する。NOの
場合にはCGメモリ1−7中に格納されているド
ツトパターンをそのままドツトパターンメモリ1
−6中に展開すればよいので、図中17を実行す
る。 In the figure, reference numeral 18 indicates a state in which it is determined whether or not the rotation has been completed by 90 degrees. This determination is made when a flag corresponding to a predetermined character is found in the table in the rotation flag memory 1-8.
It is determined whether it is ON (1) or not.
If YES, it is necessary to reversely rotate the dot pattern stored in the CG memory 1-7 by 90 degrees, so steps 19 to 21 in the figure are executed. If NO, the dot pattern stored in CG memory 1-7 is transferred to dot pattern memory 1 as is.
-6, so execute step 17 in the figure.
図中19は90度逆回転させる状態を示す。これ
は、図中18で90度回転済であると判別されたた
め、90度逆回転させて元の状態に戻すことを意味
する。 In the figure, 19 indicates a state of 90 degree reverse rotation. This means that since it is determined at 18 in the figure that it has been rotated 90 degrees, it is reversely rotated 90 degrees to return to its original state.
図中20は図中19で90度逆回転させたドツト
パターンをCGメモリ1−7中の元の位置に格納
して書き直すことを意味する。 20 in the figure means that the dot pattern reversely rotated by 90 degrees in 19 in the figure is stored in the original position in the CG memory 1-7 and rewritten.
図中21は90度回転フラグをオフ(0)にする
状態を示す。これは、図中20で90度逆回転させ
て元の状態に戻したので、当該戻した状態を記憶
させておくことを意味する。 In the figure, 21 indicates a state in which the 90 degree rotation flag is turned off (0). This means that the returned state is stored in memory since it was reversely rotated by 90 degrees at 20 in the figure to return to its original state.
以上説明した第4図図示手順を用いることによ
り、CGメモリ1−7中には常に直前の状態の横
書き文字のドツトパターンあるいは縦書き文字の
ドツトパターンが格納されており、かつ回転フラ
グメモリ1−8内のテーブル中に格納されている
フラグを参照することにより、いずれのドツトパ
ターンが格納されているかを容易に判別すること
ができるため、特に連続して横書き文字あるいは
縦書き文字を含む文書を印刷する場合に、高速に
印刷すべきドツトパターンをドツトパターンメモ
リ1−6中に展開することができる。 By using the procedure shown in FIG. 4 explained above, the CG memory 1-7 always stores the immediately previous dot pattern of horizontally written characters or the dot pattern of vertically written characters, and the rotation flag memory 1-7 always stores the dot pattern of horizontally written characters or vertically written characters in the immediately previous state. By referring to the flags stored in the table in 8, it is possible to easily determine which dot pattern is stored. When printing, the dot pattern to be printed can be developed into the dot pattern memory 1-6 at high speed.
以上説明した如く、本発明によれば、予め準備
および/または前回使用した横書き文字のドツト
パターンあるいは縦書き文字のドツトパターンを
用いる構成を採用しているため、横書き文字のド
ツトパターンあるいは縦書き文字のドツトパター
ンを印刷用のドツトパターンメモリ上に高速に展
開することができる。
As explained above, according to the present invention, since a configuration is adopted that uses a dot pattern of horizontally written characters or a dot pattern of vertically written characters prepared in advance and/or used previously, the dot pattern of horizontally written characters or the dot pattern of vertically written characters is dot patterns can be developed at high speed on a dot pattern memory for printing.
第1図は本発明の1実施例構成図、第2図ない
し第4図は第1図図示本発明の1実施例構成の動
作を説明するフローチヤート、第5図および第6
図は従来のプリンタ制御処理装置の動作を説明す
るフローチヤートを示す。
図中、1はレーザービームプリンタ制御部、1
−1はコントロール部、1−2はダウンロード
部、1−3は回転判別部、1−4は回転処理・フ
ラグ設定部、1−5は回転フラグ読み出し部、1
−6はドツトパターンメモリ、1−7はCG(キヤ
ラクタジエネレータ)メモリ、1−8は回転フラ
グメモリ、1−9はドツトパターン処理部、2は
ホストコンピユータ、3は印刷機構を表す。
FIG. 1 is a configuration diagram of one embodiment of the present invention, FIGS. 2 to 4 are flowcharts explaining the operation of the configuration of one embodiment of the present invention shown in FIG. 1, and FIGS.
The figure shows a flowchart explaining the operation of a conventional printer control processing device. In the figure, 1 is a laser beam printer control unit;
-1 is a control section, 1-2 is a download section, 1-3 is a rotation determination section, 1-4 is a rotation processing/flag setting section, 1-5 is a rotation flag reading section, 1
-6 is a dot pattern memory, 1-7 is a CG (Character Generator) memory, 1-8 is a rotation flag memory, 1-9 is a dot pattern processing section, 2 is a host computer, and 3 is a printing mechanism.
Claims (1)
展開して印刷するプリンタ制御処理装置におい
て、文字を印刷するために必要なドツトパターン
を予め格納するキヤラクタ・ジエネレータ・メモ
リと、該キヤラクタ・ジエネレータ・メモリ中か
ら印刷する文字に対応するドツトパターンを読み
出して展開して格納するためのドツトパターンメ
モリと、前記キヤラクタ・ジエネレータ・メモリ
中に格納されているドツトパターンの内、指定さ
れた使用頻度の高いドツトパターンを初期状態に
おいて予め90度回転させて別個に前記キヤラク
タ・ジエネレータ・メモリ中に格納し、前記キヤ
ラクタ・ジエネレータ・メモリ中に当該文字に関
して90度回転されるべきドツトパターンのみが存
在している場合に当該ドツトパターンを90度回転
させてドツトパターン・メモリに格納するドツト
パターン処理部とを備え、印刷すべき文字に対応
するドツトパターンを前記キヤラクタ・ジエネレ
ータ・メモリ中から読み出して、当該読み出した
ドツトパターンに基づいて所望の文字に対応する
ドツトパターンを回転させあるいは回転させるこ
となく前記ドツトパターンメモリ中に展開して印
刷するよう構成したことを特徴とするプリンタ制
御処理装置。 2 ドツトパターンをドツトパターンメモリ上に
展開して印刷するプリンタ制御処理装置におい
て、文字を印刷するために必要なドツトパターン
を予め格納するキヤラクタ・ジエネレータ・メモ
リと、該キヤラクタ・ジエネレータ・メモリ中か
ら印刷する文字に対応するドツトパターンを読み
出して展開して格納するためのドツトパターンメ
モリと、前記キヤラクタ・ジエネレータ・メモリ
中に格納されているドツトパターンの内、指定さ
れた使用頻度の高いドツトパターンを初期状態に
おいて予め90度回転させて別個に前記キヤラク
タ・ジエネレータ・メモリ中に格納し、前記キヤ
ラクタ・ジエネレータ・メモリ中に当該文字に関
して先に90度回転させたドツトパターンのみが存
在している場合に当該ドツトパターンを90度回転
させて90度回転させない元のドツトパターンに戻
してドツトパターンメモリに格納すると共に当該
90度回転させないドツトパターンをキヤラクタ・
ジエネレータ・メモリ上で書き直して格納するド
ツトパターン処理部とを備え、印刷すべき文字に
対応するドツトパターンを前記キヤラクタ・ジエ
ネレータ・メモリ中から読み出し、当該読み出し
たドツトパターンに基づいて所望の文字に対応す
るドツトパターンを回転させあるいは回転させる
ことなく前記ドツトパターンメモリ中に展開して
印刷するよう構成したことを特徴とするプリンタ
制御処理装置。[Scope of Claims] 1. A printer control processing device that develops and prints dot patterns on a dot pattern memory, comprising a character generator memory that stores in advance dot patterns necessary for printing characters, and a character generator memory that stores dot patterns necessary for printing characters; A dot pattern memory for reading, developing and storing dot patterns corresponding to characters to be printed from the generator memory, and a specified frequency of use among the dot patterns stored in the character generator memory. A dot pattern with a high dot pattern is rotated 90 degrees in advance in an initial state and stored separately in the character generator memory, and only the dot pattern to be rotated 90 degrees with respect to the character exists in the character generator memory. and a dot pattern processing unit that rotates the dot pattern by 90 degrees and stores it in the dot pattern memory when the character is to be printed. A printer control processing device characterized in that the dot pattern corresponding to a desired character is rotated or expanded in the dot pattern memory without rotation based on the read dot pattern and printed. 2. In a printer control processing device that develops and prints dot patterns on a dot pattern memory, there is a character generator memory that stores in advance the dot patterns necessary for printing characters, and a character generator memory that prints from the character generator memory. A dot pattern memory for reading out, developing and storing dot patterns corresponding to the characters to be written, and initializing a specified frequently used dot pattern among the dot patterns stored in the character generator memory. If the character is rotated 90 degrees in advance and stored separately in the character generator memory in the state, and only the dot pattern that was previously rotated 90 degrees with respect to the character exists in the character generator memory, the character Rotate the dot pattern by 90 degrees, return to the original dot pattern without rotating it by 90 degrees, and store it in the dot pattern memory.
Characterize the dot pattern without rotating 90 degrees.
It is equipped with a dot pattern processing section that rewrites and stores the dot pattern on the generator memory, reads out the dot pattern corresponding to the character to be printed from the character generator memory, and corresponds to the desired character based on the read dot pattern. 1. A printer control processing device, characterized in that said dot pattern is rotated or expanded into said dot pattern memory and printed without being rotated.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59272292A JPS61148066A (en) | 1984-12-24 | 1984-12-24 | Printer control processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59272292A JPS61148066A (en) | 1984-12-24 | 1984-12-24 | Printer control processing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61148066A JPS61148066A (en) | 1986-07-05 |
| JPH0434505B2 true JPH0434505B2 (en) | 1992-06-08 |
Family
ID=17511825
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59272292A Granted JPS61148066A (en) | 1984-12-24 | 1984-12-24 | Printer control processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61148066A (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6228253A (en) * | 1985-07-31 | 1987-02-06 | Hitachi Koki Co Ltd | Print control system for printer |
| JP2503435B2 (en) * | 1986-09-05 | 1996-06-05 | 富士ゼロックス株式会社 | Image editing equipment |
| JPH0611550B2 (en) * | 1987-10-29 | 1994-02-16 | 沖電気工業株式会社 | Font pattern processor |
| JPH07102719B2 (en) * | 1988-05-28 | 1995-11-08 | キヤノン株式会社 | Printer |
| JP3015374B2 (en) * | 1988-06-23 | 2000-03-06 | キヤノン株式会社 | Recording device and information processing method |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55138186A (en) * | 1979-04-16 | 1980-10-28 | Hitachi Ltd | Turned character printing system of chinese-character printer |
| JPS573185A (en) * | 1980-06-09 | 1982-01-08 | Hitachi Ltd | Print control device |
-
1984
- 1984-12-24 JP JP59272292A patent/JPS61148066A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61148066A (en) | 1986-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS59220832A (en) | Postal card printing system of word processor | |
| JPH0263763A (en) | Printing apparatus | |
| JPH0434505B2 (en) | ||
| JP2974322B2 (en) | Character processing apparatus and method | |
| JP2661742B2 (en) | Character processor | |
| JPH0211357A (en) | Printing apparatus | |
| JP2654015B2 (en) | Document processing device | |
| JP2908571B2 (en) | Page printer | |
| JPH01190465A (en) | Character output device by utilizing vector font reproduction | |
| JP2779157B2 (en) | Document information processing device | |
| JP3231863B2 (en) | Character processing method and device | |
| JPH0390371A (en) | Output control device | |
| JP2752816B2 (en) | Printer device | |
| JP2839139B2 (en) | Document processing method | |
| JP2915492B2 (en) | Image recording apparatus and method | |
| JP3054157B2 (en) | Character processing device and character processing method | |
| JP2598125B2 (en) | Output control device | |
| JPH0462075A (en) | Font data recording system of printer | |
| JPS6228251A (en) | Letter-printing system | |
| JPH08234720A (en) | Data structure of font data memory | |
| JPH06236377A (en) | Word processor and message display method | |
| JPH07152737A (en) | Document creation device | |
| JPH07125324A (en) | Printer | |
| JPH02202461A (en) | Recording device | |
| JPH0696065A (en) | Printer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |