Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6142629B2 - - Google Patents
[go: Go Back, main page]

JPS6142629B2 - - Google Patents

Info

Publication number
JPS6142629B2
JPS6142629B2 JP1625778A JP1625778A JPS6142629B2 JP S6142629 B2 JPS6142629 B2 JP S6142629B2 JP 1625778 A JP1625778 A JP 1625778A JP 1625778 A JP1625778 A JP 1625778A JP S6142629 B2 JPS6142629 B2 JP S6142629B2
Authority
JP
Japan
Prior art keywords
character
pattern
memory
printer
code
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
JP1625778A
Other languages
Japanese (ja)
Other versions
JPS54109328A (en
Inventor
Nobushiro Shimura
Yoshimitsu Masui
Takahiko Watanabe
Kimio Seki
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.)
Fujitsu Ltd
NTT Inc
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP1625778A priority Critical patent/JPS54109328A/en
Publication of JPS54109328A publication Critical patent/JPS54109328A/en
Publication of JPS6142629B2 publication Critical patent/JPS6142629B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 本発明はプリンタ制御方法に係り、特に連続的
に文字を印刷する漢字プリンタに好適なプリンタ
制御方法に係る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a printer control method, and particularly to a printer control method suitable for a Kanji printer that prints characters continuously.

漢字プリンタシステムにおいて、通常プリンタ
側は中央のコンピユータ(以後COMという)よ
り所定のフオーマツトの電文を受信し、これを1
頁分のコードメモリに記憶し、以後該頁コードメ
モリに記憶された文字コードに応じて、キヤラク
タジエネレータから1行毎に所望のキヤラクタパ
ターンを発生し、これをラインパターンメモリに
記憶する。そしてプリンタはこのラインパターン
メモリに記憶されたパターンを所定の速度でスキ
ヤンし、たとえばレーザビームをON/OFFし、
静電的に記録をうる。
In a kanji printer system, the printer usually receives a message in a predetermined format from a central computer (hereinafter referred to as COM) and converts it into one
A desired character pattern is generated for each line from a character generator according to the character code stored in the page code memory, and this is stored in the line pattern memory. . The printer then scans the pattern stored in this line pattern memory at a predetermined speed, for example by turning the laser beam on and off,
Records are taken electrostatically.

ところで、このような漢字プリンタシステムに
於てはコストと印字速度の関係でパターン発生器
としてICメモリより成る高速キヤラクタジエネ
レータとデイスクより成る低速大容量のキヤラク
タジエネレータを併用し、ICメモリには使用頻
度の高い1000〜2000語の文字パターンを記憶せし
め、又デイスクには使用頻度の低い大量の文字パ
ターンを記憶せしめている。
By the way, in such a kanji printer system, due to cost and printing speed considerations, a high-speed character generator consisting of an IC memory and a low-speed large-capacity character generator consisting of a disk are used together as pattern generators. The disk stores 1000 to 2000 frequently used character patterns, and the disk stores a large number of less frequently used character patterns.

さて、ICメモリよりのパターン読み出し速度
は、約5000字/秒であり、一方デイスクよりのバ
ターン読み出し速度は約80字/秒である。従つて
1行分の文字コードのうちパターンをデイスクか
ら読み出す文字数によりパターンジエネレータか
らラインパターンメモリに1行分のパターンを読
み出す時間が異なつてくる。極端な場合をいえば
1行分の文字コードに対応するキヤラクタパター
ンが全てデイスクに入つている場合とICメモリ
に入つている場合とでは読み出し速度は前者では
M/80秒(Mは1行に記録する文字数)となり、
後者ではM/5000秒となりその読み出し時間は大
幅に異なる。
Now, the pattern reading speed from the IC memory is about 5000 characters/second, while the pattern reading speed from the disk is about 80 characters/second. Therefore, the time required to read out one line of patterns from the pattern generator to the line pattern memory varies depending on the number of characters of one line of character code whose pattern is read out from the disk. In extreme cases, if all the character patterns corresponding to one line of character code are stored on the disk and when they are stored in the IC memory, the readout speed will be M/80 seconds (M is 1 line). (number of characters to be recorded in ),
In the latter case, the readout time is M/5000 seconds, and the readout time is significantly different.

ところで、連続的に記録を行なうプリンタすな
わち記録媒体を連続的に移動せしめながら記録を
行なうプリンタにおいては記録媒体が行間を移動
する時間内にパターン発生器より1行分の文字パ
ターンをラインパターンメモリに読み出しておか
なければならない。このため、パターン発生器よ
りラインパターンメモリにパターンが読み出され
る最大時間によつて記録媒体の送り速度、すなわ
ち記録速度は制限されることになる。
By the way, in a printer that records continuously, that is, a printer that records while continuously moving the recording medium, a character pattern for one line is stored in the line pattern memory from a pattern generator within the time it takes for the recording medium to move between lines. Must be read out. Therefore, the feeding speed of the recording medium, that is, the recording speed, is limited by the maximum time it takes for a pattern to be read from the pattern generator into the line pattern memory.

従つて、もし上記読み出しに要する最大時間を
考慮することなく記録媒体送り速度を決めれば、
例えば媒体の行間移動時間を前記最大時間より小
さくすれば記録媒体上の印字行間隔がずれてくる
ことになり、記録状態が悪くなる。特に所定のフ
オーマツトに従つて記録を行なわなければならな
い場合には該フオーマツトの枠からはみ出す事態
を生ずる。
Therefore, if the recording medium feed speed is determined without considering the maximum time required for reading,
For example, if the line-to-line movement time of the medium is made shorter than the maximum time, the print line spacing on the recording medium will shift, resulting in poor recording conditions. In particular, when recording must be performed in accordance with a predetermined format, a situation arises in which the data exceeds the frame of the format.

かくして、従来、プリンタ自身高速記録が可能
であつても上述の理由により記録速度は上記最大
時間により制限され高速記録は不可能であつた。
又、上記印字行間隔のずれを補償する手段として
パターン読み出し速度に応じて記録媒体の速度を
変化させる方式も考えられるが該媒体速度を細か
く変化させる制御は難しく、又サーボ系の遅れに
より速応性の良い速度制御をすることができない
という欠点が生じ、良好な結果をうることができ
ない。特に感光ドラムに潜像形成、現像、記録紙
への転写工程をとる漢字プリンタにおいては該感
光ドラムの回転速度を制限しなくてはならないが
該感光ドラムの慣性により時間遅れのない速度制
御をすることができない。
Thus, in the past, even if the printer itself was capable of high-speed recording, the recording speed was limited by the maximum time due to the above-mentioned reasons, and high-speed recording was impossible.
In addition, as a means of compensating for the above-mentioned deviation in print line spacing, a method of changing the speed of the recording medium according to the pattern readout speed may be considered, but it is difficult to control the speed of the medium to be changed finely, and the speed of response is limited due to the delay of the servo system. The drawback is that good speed control cannot be achieved, and good results cannot be obtained. Particularly in Kanji printers that perform the steps of forming a latent image on a photosensitive drum, developing it, and transferring it to recording paper, the rotational speed of the photosensitive drum must be limited, but the speed can be controlled without time lag due to the inertia of the photosensitive drum. I can't.

一方、キヤラクタジエネレータからの文字パタ
ーンの読出しを記録速度に間に合せるためにライ
ンパターンメモリを複数設けておき、これらを適
宜切替える方式も考えられるがコストが高くなる
欠点がある。
On the other hand, in order to read the character patterns from the character generator in time with the recording speed, it is conceivable to provide a plurality of line pattern memories and switch between them as appropriate, but this method has the drawback of increasing costs.

しかるに本発明はこのような従来の欠点を除去
し、高速記録が可能なプリンタ制御方法を提供す
ることを目的としており、この目的は本発明にお
いて、高速読出可能な第1のキヤラクタジエネレ
ータとそれよりも読出速度の遅い第2のキヤラク
タジエネレータから指令文字コードにより選択的
にキヤラクタパターンを読み出して印字するプリ
ンタにおいて、 第1のキヤラクタジエネレータには指令文字コ
ードを16進数で表現したパターンを格納するとと
もに、1行の印字情報を構成する各指令文字コー
ドのうち、第2のキヤラクタジエネレータからキ
ヤラクタパターンを読み出す必要のある指令文字
コードの数が所定の数以上の時には、その指令文
字コードを第1のキヤラクタジエネレータにより
16進数のパターンに変換してそのパターンを記録
紙の所定の位置に印字するプリンタの制御方法に
より達成される。
However, an object of the present invention is to eliminate such conventional drawbacks and provide a printer control method capable of high-speed recording. In a printer that selectively reads and prints a character pattern using a command character code from a second character generator, which has a slower reading speed, the command character code is expressed in hexadecimal in the first character generator. When the number of command character codes for which character patterns need to be read out from the second character generator among the command character codes constituting one line of print information is greater than or equal to a predetermined number, , the command character code is transmitted by the first character generator.
This is achieved by a printer control method that converts it into a hexadecimal pattern and prints the pattern at a predetermined position on recording paper.

以下、本発明を図面に従つて詳細に説明する。
第1図は本発明を適用できる漢字プリンタシステ
ムのブロツク図であり、MCは主制御回路、
PGBUFは中央のコンピユータCOMから送られて
くる1頁分の電文を記憶する頁コードバツフア、
PGはパターン発生器、ICCGは使用頻度の高い文
字パターンを1000字〜2000字記憶するICメモリ
より成る高速キヤラクタジエネレータ、DCGは
使用頻度の低い文字パターンを記憶するデイスク
より成る大容量の低速キヤラクタジエネレータ、
LPMはパターン発生部PGより発生する1行分の
キヤラクタパターンを記憶するラインパターンメ
モリ、KPRはたとえばレーザビームを印字パタ
ーンに応じて偏向して記録するプリンタである。
尚、プリンタKPRはどのような形式のものであ
つてもよい。又、この記録部は本発明の特徴部で
ないのでその詳細な説明は省略する。
Hereinafter, the present invention will be explained in detail with reference to the drawings.
FIG. 1 is a block diagram of a kanji printer system to which the present invention can be applied, where MC is a main control circuit;
PGBUF is a page code buffer that stores one page of messages sent from the central computer COM.
PG is a pattern generator, ICCG is a high-speed character generator consisting of an IC memory that stores 1000 to 2000 characters of frequently used character patterns, and DCG is a large-capacity low-speed character generator consisting of a disk that stores character patterns that are less frequently used. character generator,
LPM is a line pattern memory that stores one line of character patterns generated by pattern generating section PG, and KPR is a printer that records by deflecting a laser beam according to a printing pattern, for example.
Note that the printer KPR may be of any format. Further, since this recording section is not a feature of the present invention, detailed explanation thereof will be omitted.

第2図は、COMより送られてくる電文のフオ
ーマツト例であり、STXは1頁の電文の先頭を
示すコード、NLはニユーラインを示すコード、
ETXは1頁分の電文の終わりを示すコードであ
る。
Figure 2 is an example of the format of the message sent from COM, where STX is the code indicating the beginning of the message on page 1, NL is the code indicating the new line,
ETX is a code that indicates the end of one page of message.

第3図は文字コードの例で、FG1はその内容
によりパターンがICメモリに記憶されている
か、デイスクに記憶されているかを指定するフラ
グビツト、FG2はアドレス部を16進数に変換し
てえられたパターンをICメモリより読出すこと
を指示するフラグビツト、ADはアドレス部であ
り図示しないコンバータにより文字パターンの記
憶されている先頭アドレスに変換されるもの。
尚、上記文字コードはあくまでも1例であり、こ
れに限るものではない。
Figure 3 shows an example of a character code. FG1 is a flag bit that specifies whether the pattern is stored in IC memory or disk depending on its contents, and FG2 is obtained by converting the address part into hexadecimal. A flag bit indicating that the pattern is to be read from the IC memory, AD is the address part, which is converted by a converter (not shown) to the first address where the character pattern is stored.
Note that the above character code is just an example, and is not limited to this.

第4図は主制御回路としてマイクロコンピユー
タを使用した場合の本発明のプリンタ制御のブロ
ツク図であり、μ−CPUはマイクロプロセツ
サ、MEMは1頁分の文字コードその他のデータ
を記憶するメモリ、INFはCOMとプリンタ側間
のデータ転送を制御するインタフエース回路、
CPRGはマイクロプロセツサを制御し後述の処理
を行なう命令群を記憶する制御プログラムメモ
リ、ADPはアダプタ、RDはレーザビーム偏向
系、PRCはビーム偏向素子に印加する搬送波信
号のオン/オフ制御及び紙送り制御等を司どるプ
リンタ制御回路、PRTはプリンタ部であり、他
の符号は第1図の同一符号に対応している。
FIG. 4 is a block diagram of printer control according to the present invention when a microcomputer is used as the main control circuit, where μ-CPU is a microprocessor, MEM is a memory that stores character codes and other data for one page, INF is an interface circuit that controls data transfer between COM and the printer side.
CPRG is a control program memory that stores a group of instructions for controlling the microprocessor and performing the processing described below, ADP is an adapter, RD is a laser beam deflection system, and PRC is on/off control of the carrier wave signal applied to the beam deflection element and paper. A printer control circuit, PRT, which controls feed control, etc. is a printer section, and other symbols correspond to the same symbols in FIG.

第5図はプリンタにより記録された場合におけ
る記録媒体の行間隔の状態を示すものであり、l
は行間隔、Lは1頁の最終行と他の頁の最初の行
の間隔、1は記録媒体、2は印字行である。
Figure 5 shows the line spacing of the recording medium when it is recorded by a printer.
is the line spacing, L is the spacing between the last line of one page and the first line of another page, 1 is the recording medium, and 2 is the print line.

第6図は本発明に係るプリンタ制御を行なう制
御プログラムの流れ図であり、以下、この流れ図
及び第4図のブロツク図を参照にしながら本発明
にプリンタ制御方法を説明する。
FIG. 6 is a flowchart of a control program for controlling the printer according to the present invention, and the printer control method according to the present invention will be explained below with reference to this flowchart and the block diagram of FIG. 4.

プリンタ側よりCOMに電文要求信号を上げる
と、制御プログラムに起動がかかり、1頁分の電
文が該COMからプリンタに送られてくる。
When a message request signal is sent to the COM from the printer side, the control program is activated and a message for one page is sent from the COM to the printer.

マイクロプロセツサμ−CPUは制御プログラ
ムの制御のもとに入力コードがNLコードか又は
ETXコードかを判断し、NLコードでもETXコー
ドでもなければ該入力コードを文字コードと判断
する。ついで該入力コード即ち、文字コードに対
応するパターンがデイスクに入つているかICメ
モリに入つているかを前記フラクビツトFG1の
有無により判別し、ICメモリに入つていれば直
ちに該文字コードメモリMEMの所定番地に格納
する。
Under the control of the control program, the microprocessor μ-CPU determines whether the input code is NL code or
It is determined whether it is an ETX code, and if it is neither a NL code nor an ETX code, the input code is determined to be a character code. Next, it is determined whether the input code, that is, the pattern corresponding to the character code, is stored on the disk or in the IC memory based on the presence or absence of the FRAKBIT FG1, and if it is stored in the IC memory, it is immediately stored in the specified character code memory MEM. Store in address.

一方、文字コードがデイスクに入つていれば
Ni+1(Niの初期値は零)の演算を行い、その
結果が予め定めた一定値Kに等しいか否かの判別
を行う。尚、この一定値Kはプリンタの記録速度
とキヤラクタジエネレータからのキヤラクタパタ
ーン発生速度とに応じて決定される。
On the other hand, if the character code is on the disk
A calculation of Ni+1 (the initial value of Ni is zero) is performed, and it is determined whether the result is equal to a predetermined constant value K or not. Note that this constant value K is determined depending on the printing speed of the printer and the character pattern generation speed from the character generator.

即ち、記録速度(字/分)が定まれば第5図の
行間隔lを記録媒体が移動するに要する時間が定
まり、この時間が定まればパターン発生器よりラ
インパターンメモリLPMにパターンを読み出す
最大時間が定まる。これにより1行分に含むこと
が可能な最大のデイスクパターン数Kが決定され
る。NiがKより小であれば文字コードをメモリ
MEMの所定番地に格納し、NiがK以上であれば
文字コードの第2フラグビツトFG2に“1”を
書込むと共にこれをメモリMEMに格納する。
That is, if the recording speed (characters/minute) is determined, the time required for the recording medium to move through the line spacing l shown in FIG. 5 is determined, and once this time is determined, the pattern is read out from the pattern generator into the line pattern memory LPM. The maximum time is determined. This determines the maximum number K of disk patterns that can be included in one row. If Ni is smaller than K, store the character code
If Ni is K or more, "1" is written to the second flag bit FG2 of the character code, and this is stored in the memory MEM.

以後、NLコード又はETXコードが検出するま
で同様な操作が行われる。入力コードがNLであ
ればNiを零にし、該NLコードをメモリMEMに格
納し、次の行の入力コードを受信することにな
る。
Thereafter, similar operations are performed until the NL code or ETX code is detected. If the input code is NL, Ni is set to zero, the NL code is stored in the memory MEM, and the input code of the next row is received.

結局、最後にETXコードを受信し、COMから
の1頁分の電文受信を完了する。1頁分の入力コ
ードの受信が終了すればプリンタによる印字動作
が開始する。即ち、まずメモリMEMに格納せら
れている文字コードに従つて1行分のキヤラクタ
パターンがキヤラクタジエネレータICCG又は
DCGより読出され、ラインパターンメモリLPM
に記憶される。
In the end, the ETX code is finally received and the reception of one page worth of message from COM is completed. When the reception of one page's worth of input codes is completed, the printing operation by the printer starts. That is, first, a character pattern for one line is sent to the character generator ICCG or character generator ICCG according to the character code stored in the memory MEM.
Read from DCG, line pattern memory LPM
is memorized.

さて、キヤラクタジエネレータからのパターン
の読出しは以下の如く行われる。
Now, the pattern is read out from the character generator as follows.

フラグビツトFG1の内容が“1”であれば
ICメモリICCGよりキヤラクタパターンを読出
し、ラインパターンメモリの所定アドレスに記
憶する。
If the content of flag bit FG1 is “1”
A character pattern is read from the IC memory ICCG and stored at a predetermined address in the line pattern memory.

文字コードのフフラグビツトFG1の内容が
“0”であり、フラグビツトFG2の内容が
“0”であればデイスクメモリDCGよりキヤラ
クタパターンを読出し、ラインパターンメモリ
に記憶する。
If the content of the flag bit FG1 of the character code is "0" and the content of the flag bit FG2 is "0", the character pattern is read from the disk memory DCG and stored in the line pattern memory.

文字コードのフラグビツトFG1の内容が
“0”で、フラグビツトFG2の内容が“1”で
あれば該文字コードのキヤラクタパターンはデ
イスクメモリに格納せられているが、該デイス
クメモリよりキヤラクタパターンを読出せば前
述の如くプリンタの記録に追従できない。そこ
で該文字コードのアドレス部を16進で表わした
ものをICメモリから読出しラインンパターン
メモリに記憶することにしている。たとえば、
文字コードのアドレス部が0010 0001 0101
1100であれば48A3の各パターン4,8,A,
3がICメモリより読出されラインパターンメ
モリに合成して格納されることになる。
If the content of flag bit FG1 of a character code is "0" and the content of flag bit FG2 is "1", the character pattern of the character code is stored in the disk memory, but the character pattern cannot be retrieved from the disk memory. If it is read, it will not be possible to follow the printer's recording as described above. Therefore, the address part of the character code expressed in hexadecimal is read out from the IC memory and stored in the line pattern memory. for example,
The address part of the character code is 0010 0001 0101
If it is 1100, each pattern of 48A3 4, 8, A,
3 are read out from the IC memory, combined and stored in the line pattern memory.

ところで、通常、キヤラクタパターンは32×32
個のドツトに分解されてデイスクメモリ及びIC
メモリに記憶せられており、これらのパターンが
プリンタにより記録紙に印刷される。
By the way, character patterns are usually 32x32
Disk memory and IC are decomposed into individual dots.
These patterns are stored in memory and printed on recording paper by a printer.

しかし、本発明においては上述の処理をするた
めに更に8×8個のドツトより成る0,1,2…
…9,A,B,C,D,E,Fの16個のキヤラク
タパターンとICメモリの所定番地に記憶してい
る。そして上記の場合、4,8,A,3の各パタ
ーンがICメモリより読出され、第7図の如く合
成され(以後、合成されたパターンを16進パター
ンという)ラインパターンメモリの欄外アドレス
に記憶される。尚、ここで欄外アドレスとは以下
の如きアドレスをいう。
However, in the present invention, in order to perform the above-mentioned processing, 0, 1, 2...
...16 character patterns of 9, A, B, C, D, E, and F are stored in a predetermined location in the IC memory. In the above case, patterns 4, 8, A, and 3 are read out from the IC memory, combined as shown in Figure 7 (hereinafter, the combined pattern is referred to as a hexadecimal pattern), and stored in the marginal address of the line pattern memory. be done. Note that the "outside address" here refers to the following addresses.

即ち、本発明において、ラインパターンメモリ
は1行に印字すべき最大文字数をMとすれば少な
くとも32×M+32×n(nは正数)のアドレスを
有しており、1桁目には印字すべきキヤラクタパ
ターンは1〜32番地に、2桁目に印字すべきキヤ
ラクタパターンは33〜64番地に、……M桁目に印
字すべきキヤラクタパターンは32・(M−1)+1
〜32・M番地に格納せられる。
That is, in the present invention, if the maximum number of characters to be printed in one line is M, the line pattern memory has addresses of at least 32×M+32×n (n is a positive number), and the first digit is the number of characters to be printed. The character pattern to be printed is in addresses 1 to 32, the character pattern to be printed in the second digit is in addresses 33 to 64, ...the character pattern to be printed in the M digit is 32・(M-1)+1
It is stored at address ~32・M.

又、本発明ではm桁目に印字すべき文字コード
のフラグビツトFG1,FG2がそれぞれ“0”、
“1”のときは、該m桁目のキヤラクタパターン
が記憶せられるラインパターンメモリのアドレス
32・(m−1)+1〜32・m番地をブランクにし、
アドレス32・M+1〜32・(M+1)に16進パタ
ーンを記憶する如くしている。即ち、32・M+1
番地以降のアドレスを欄外アドレスという。
Furthermore, in the present invention, the flag bits FG1 and FG2 of the character code to be printed in the mth digit are "0" and "0", respectively.
When “1”, the address of the line pattern memory where the m-th character pattern is stored.
Leave addresses 32・(m−1)+1 to 32・m blank,
The hexadecimal pattern is stored at addresses 32.M+1 to 32.(M+1). That is, 32・M+1
Addresses after the street address are called marginal addresses.

かくして、以上のシーケンスによりラインパタ
ーンメモリに1行分のキヤラクタパターンが記憶
されれば、プリンタ制御回路PRCの制御のもと
に、該ラインパターンメモリからキヤラクタパタ
ーンが読出され、公知の手法で第8図の如く記録
されることになる。
In this way, once a character pattern for one line is stored in the line pattern memory through the above sequence, the character pattern is read out from the line pattern memory under the control of the printer control circuit PRC, and is read out using a known method. It will be recorded as shown in FIG.

以後、同様に1行毎にキヤラクタパターンがラ
インパターンメモリに読出され、最終的に1頁分
の記録が終了する。
Thereafter, the character pattern is similarly read out to the line pattern memory line by line, and finally the recording of one page is completed.

記録が完了して後は、第7図のブランク位置
(点線丸印部)に所定の文字を欄外に印字された
16進パターンから辞書により翻訳して書込む。
After the recording is completed, the specified characters are printed in the blank position (dotted line circle) in the margin in Figure 7.
Translate the hexadecimal pattern using a dictionary and write it.

以上、本発明によればプリンタの有する高速印
字特性をキヤラクタパターン発生速度の低速性に
より損われることなく記録でき、その効果は大き
い。尚、前記説明においてはラインパターンメモ
リを設けた場合について説明したが、該メモリを
有することなくキヤラクタジエネレータより読出
したパターンに基づいて直接又は1文字バツフア
を介して記録する場合にもできる。又、フラグビ
ツトFG2を設けたが、別にレジスタを設け、該
レジスタを使用してフラグビツトFG2の役割を
果たせることもできる。更に欄外に2以上の16進
パターンを記録することもできる。
As described above, according to the present invention, the high-speed printing characteristics of the printer can be recorded without being impaired by the slow character pattern generation speed, and the effect is significant. In the above description, a case has been described in which a line pattern memory is provided, but it is also possible to record directly or via a one-character buffer based on a pattern read from a character generator without having such a memory. Further, although the flag bit FG2 is provided, a separate register may be provided and this register may be used to fulfill the role of the flag bit FG2. Furthermore, two or more hexadecimal patterns can be recorded in the margin.

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

第1図は本発明を適用しうる漢字プリンタシス
テムのブロツク図、第2図は電文フオーマツトの
例、第3図は文字コードの例、第4図は制御部と
してマイクロコンピユータを使用した本発明の実
施例、第5図は記録媒体上の記録状態を示す図、
第6図は本発明のプリンタ制御方法の流れ図、第
7図は16進パターンの例、第8図は本発明による
記録例を示す図である。 図中、PGBUFは頁コードバツフア、PGはパタ
ン発生器、ICCGは高速キヤラクタジエネレー
タ、DCGは低速キヤラクタジエネレータ、KPR
は漢字プリンタ、LPMはラインパターンメモ
リ、PRTは印字部、μ−CPUはマイクロプロセ
ツサ、CPRGは制御プログラムメモリ、MEMは
メモリである。
Fig. 1 is a block diagram of a kanji printer system to which the present invention can be applied, Fig. 2 is an example of a message format, Fig. 3 is an example of a character code, and Fig. 4 is a block diagram of a kanji printer system of the present invention using a microcomputer as a control section. Example, FIG. 5 is a diagram showing the recording state on the recording medium,
FIG. 6 is a flowchart of the printer control method of the present invention, FIG. 7 is an example of a hexadecimal pattern, and FIG. 8 is a diagram showing an example of recording according to the present invention. In the figure, PGBUF is a page code buffer, PG is a pattern generator, ICCG is a high-speed character generator, DCG is a low-speed character generator, and KPR
is a kanji printer, LPM is a line pattern memory, PRT is a printing section, μ-CPU is a microprocessor, CPRG is a control program memory, and MEM is a memory.

Claims (1)

【特許請求の範囲】 1 高速読出可能な第1のキヤラクタジエネレー
タとそれよりも読出速度の遅い第2のキヤラクタ
ジエネレータから指令文字コードにより選択的に
キヤラクタパターンを読み出して印字するプリン
タにおいて、 第1のキヤラクタジエネレータには指令文字コ
ードを16進数で表現したパターンを格納するとと
もに、1行の印字情報を構成する各指令文字コー
ドのうち、第2のキヤラクタジエネレータからキ
ヤクタパターンを読み出す必要のある指令文字コ
ードの数が所定の数以上の時には、その指令文字
コードを第1のキヤラクタジエネレータにより16
進数のパターンに変換してそのパターンを記録紙
の所定の位置に印字することを特徴とするプリン
タの印字制御方法。 2 指令文字コードを16進数に変換したパターン
は記録紙の欄外に印字するとともに、その文字コ
ードに相当する印字位置は空白としたことを特徴
とする特許請求の範囲第1項記載のプリンタの印
字方法。
[Claims] 1. A printer that selectively reads and prints character patterns from a first character generator capable of high-speed reading and a second character generator whose reading speed is slower, using a command character code. In this case, the first character generator stores a pattern representing the command character code in hexadecimal, and the second character generator stores the pattern representing the command character code in hexadecimal. When the number of command character codes required to read out a character pattern is greater than or equal to a predetermined number, the command character codes are read out by the first character generator.
A printing control method for a printer, characterized in that the pattern is converted into a base number pattern and the pattern is printed at a predetermined position on recording paper. 2. Printing by the printer according to claim 1, characterized in that the pattern obtained by converting the command character code into hexadecimal is printed outside the margin of the recording paper, and the printing position corresponding to the character code is left blank. Method.
JP1625778A 1978-02-15 1978-02-15 Printer control system Granted JPS54109328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1625778A JPS54109328A (en) 1978-02-15 1978-02-15 Printer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1625778A JPS54109328A (en) 1978-02-15 1978-02-15 Printer control system

Publications (2)

Publication Number Publication Date
JPS54109328A JPS54109328A (en) 1979-08-27
JPS6142629B2 true JPS6142629B2 (en) 1986-09-22

Family

ID=11911502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1625778A Granted JPS54109328A (en) 1978-02-15 1978-02-15 Printer control system

Country Status (1)

Country Link
JP (1) JPS54109328A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60131284A (en) * 1983-12-20 1985-07-12 Fuji Xerox Co Ltd Controlling method for printer

Also Published As

Publication number Publication date
JPS54109328A (en) 1979-08-27

Similar Documents

Publication Publication Date Title
EP0131966B1 (en) Form overlay type printing apparatus
US4476542A (en) Printing system
EP0180258B1 (en) Decoder
US4125829A (en) Multiple format print pattern generating apparatus
JPS595434B2 (en) Insatsu Sochi
US4520455A (en) Printing system
US4953033A (en) Image forming apparatus for forming images by use of fonts
JPH0551919B2 (en)
JPS6142629B2 (en)
JPS6035687B2 (en) Print data control device
JPS5941052A (en) Character pattern generator
US4635081A (en) Apparatus and method for generating dot-matrix characters in graphic patterns
EP0072708B1 (en) Printer
JPS6056637B2 (en) printing device
JPH01165443A (en) printer
JP2654015B2 (en) Document processing device
GB2157865A (en) Dot printer
US5579465A (en) Shifted character pattern data processor
JPS5941051A (en) character pattern generator
JPH0370809B2 (en)
EP0397415A2 (en) Raster scan type printer
JP3098435B2 (en) Control system for multiple thermal heads
US6577313B1 (en) Image data control apparatus
JPH0475129A (en) Character output device
JPS63233843A (en) Bit map memory control device