JP2989778B2 - Print control apparatus and method - Google Patents
Print control apparatus and methodInfo
- Publication number
- JP2989778B2 JP2989778B2 JP9063515A JP6351597A JP2989778B2 JP 2989778 B2 JP2989778 B2 JP 2989778B2 JP 9063515 A JP9063515 A JP 9063515A JP 6351597 A JP6351597 A JP 6351597A JP 2989778 B2 JP2989778 B2 JP 2989778B2
- Authority
- JP
- Japan
- Prior art keywords
- segment
- data
- printing
- unit
- 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
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
- Laser Beam Printer (AREA)
- Storing Facsimile Image Data (AREA)
Description
【発明の詳細な説明】
【0001】
【発明の属する技術分野】本発明は印刷制御装置及び方
法、詳しくは入力情報をセグメント単位でパターン展開
し印刷手段に出力する印刷制御装置及び方法に関するも
のである。
【0002】
【従来の技術】従来より、この種の装置の代表例として
はレーザビームプリンタ等が挙げられる。この印刷装置
には、1ページ分の画像メモリと画像信号発生回路を有
していて、装置全体を制御するCPUにより、データ発
生源(ホストコンピユータ等)から入力されたデータを
順次イメージパターンに変換し、この画像メモリに保存
していた。最終的に、1ページ分のデータの入力及び変
換処理が終了した時点で、制御を画像信号発生回路に移
し1ページ分の画像を印刷機構に適した画像信号に変換
して印刷させていた。
【0003】
【発明が解決しようとする課題】しかしながら上記の従
来例では、この画像メモリは1ページ分のイメージデー
タが展開された後は、印刷が終了するまで画像信号発生
回路に占有されていたため、次ページ分のデータの画像
メモリへの書込みは、前ページの印刷が完了するまでで
きない。このため印刷機構自体は連続して高速印刷が可
能であるにもかかわらず、印刷スピードが著じるしく低
下する欠点があつた。
【0004】また、この欠点を克服するため、画像メモ
リを2ページ分用意し、一方を画像発生回路が占有して
いる間に、もう一方の画像メモリに次のページの画像を
書込むことも考えられる。しかしな がら、近年のプ
リンタは高品位の印刷が望まれており、それにつれて印
刷密度は高くなる一方である。従つて、画像メモリ1ペ
ージ分のメモリ容量だけでも膨大な容量となり、それを
2ページ分設けると装置の大型化はもとより、コスト的
にも問題が残る。
【0005】本発明は、出力用メモリが1ページ分の容
量しかなくても、イメージ展開前の容量が少ない印刷デ
ータを複数ページだけ記憶するページバッファを設け、
印刷部への出力済みのメモリに次のページに対するイメ
ージ展開を行なうことで高速に印刷を行なわせ、更に
は、各ページバッファに受信した印刷データを格納する
際に、印刷位置指定コードで指定された位置に対応する
ページバッファ内のセグメント領域に記憶することでイ
メージ展開がセグメント単位に行なえるように記憶管理
することでイメージ展開がスムースに行なえ、もってよ
り高速に印刷させることを可能ならしめる印刷制御装置
及び方法を提供しようとするものである。
【0006】
【課題を解決するための手段】この課題を解決するた
め、たとえば本発明の印刷制御装置は以下の構成をそな
える。すなわち、外部装置より受信した印刷位置を指定
する制御コードを含む印刷データに基づいて生成したイ
メージデータに従い、所定の記録媒体上に当該イメージ
データに対応する画像を印刷部により印刷させる印刷制
御装置であって、印刷する領域位置毎に分割さた複数の
セグメント領域を有する複数のページバッファと、受信
した印刷データを解析して印刷位置を判定し、当該印刷
位置に基づいて受信した印刷データを、印刷データの格
納待ち状態になっているページバッファ中の対応する位
置のセグメント領域に割り振って格納する格納手段と、
イメージ展開待ち状態になっているページバッファ内の
先頭の先頭セグメント領域から印刷データを読み出し、
当該印刷データに基づいて生成したイメージデータを出
力用メモリにセグメント単位に展開することを、当該ペ
ージバッファ内の各セグメント領域単位に順次行い、1
ページ分の出力イメージデータの展開処理を行なうイメ
ージ展開手段と、該イメージ展開手段で展開された1ペ
ージ分の出力イメージデータを前記印刷部に出力してい
るとき、前記出力用メモリ内における前記印刷部へ出力
済み領域に、次のページバッファに対する前記イメージ
展開手段を実行させる制御手段とを備える。
【0007】
【発明の実施の形態】以下、本発明に係る一実施形態に
ついて、図面を参照して詳細に説明する。
【0008】<装置の概略の説明(図1)>図1は本実
施形態の印刷装置101のブロツク構成図である。尚、
実施形態における印刷装置101はレーザビームプリン
タとして説明するが、他のプリンタに応用できるので、
これに本発明が限定されるものではない。さて、以下に
各構成を説明していく。
【0009】図中、100はデータ発生源となるホスト
コンピユータであり、102は装置101全体を制御す
るCPUである。103はホストコンピユータ100か
らのデータを入力する入力インターフエース回路であ
り、104はプログラム(後述する図3、図4のフロー
チヤート)が格納されているプログラムROMであり、
CPU102はこのプログラムに従つて制御動作する。
また、105は作業用RAMであり、CPU102のワ
ークエリア、各種フラグを格納するエリア、更には後述
する各種ポインタ等を格納するエリア等を備えている。
106は各種文字記号コードに対応したパターンを格納
している文字フオントメモリであり、ROMより構成さ
れている。
【0010】107は印刷用紙1枚分に対応する画像メ
モリであり、入力された文字記号コードに対応する文字
記号パターンは順次、この画像メモリ107に格納され
る。108a,bは夫々スキヤンバツフアであつて、ト
グルバツフアを形成しており、一方のスキヤンバツフア
からは後述する印字機構部111に画像信号を出力する
のに用い、他方のスキヤンバツフアは次の画像データを
入力するのに使用する。尚、これらの切り換えはCPU
102から制御線C1,C1′に出力された信号でもつ
て制御される。
【0011】また、109はスキヤンバツフア108
a,bの一方から出力画像データを入力し、出力画像信
号を発生する画像信号発生器であり、1走査分の出力画
像信号を出力終了した時点(次の出力画像信号の出力タ
イミングに使用される)で、制御線C2を介し、CPU
102へ割り込み信号を発生させる。また、この割り込
み信号を発生させるか否かは信号線C3にCPU102
から出力された信号(割り込みイネーブル信号)に基づ
いて制御され、この信号をONにしているときのみ、割
り込み信号を発生する様になつている。また、110は
出力画像信号を印字機構部111へ出力するための出力
インターフエース回路であり、これもCPU102の制
御(制御線C4)に従つて動作するものである。
【0012】印字機構部111はレーザビーム式のプリ
ンタからなるものであり、出力画像信号のON/OFF
状態(2値化信号)を受けて、レーザダイオードの発光
を制御しつつ、不図示の感光ドラムに静電潜像を形成
し、像を形成するものである。尚、出力画像信号はアナ
ログ信号、或いは多値信号であつて、多諧調の画像を形
成する様にしても全く構わない。
【0013】<印刷概要の説明(図2)>以下の印刷処
理概要を説明するが、それに先立ち、実施形態の印刷装
置(レーザビームプリンタであることは先に説明した)
101で扱う出力用紙サイズはA4サイズとし、横方向
の総画素数をWドツト、縦方向の総画素数をLドツトと
する。すなわち、画像メモリ107の容量は少なくとも
W×Lビツト(=W×L/8バイト)の容量を持つ。更
に、この画像メモリ107内に各文字パターンを展開す
るときの位置(この位置情報は後述する展開ポインタに
格納されている)であるが、図中の左上端を原点として
横軸X、縦軸Yとして説明する。
【0014】さて、上述した構成における印刷処理概要
を以下に説明する。図2は作業用RAM105、フオン
トメモリ106、画像メモリ107及びスキヤンバツフ
ア108a,bの交互の関係を示した図である。
【0015】図中の200及び201は共に作業用RA
M105内に設けられた展開ポインタであり、次に展開
する文字パターン(実施形態におけるこのパターンの大
きさは説明を簡単にするために、全て横長X0 ,縦長Y
0 とする)の座標位置(パターンの左下の位置)が格納
されている。また、202も同様のメモリに設けられた
スキヤンポインタ(以下、SCPという)であり、スキ
ヤンバツフア108a,bに出力された画像データの先
頭位置(Y軸の値)が格納されている。更に、SCE2
03はこのSCPの最後の位置を示しており、通常の場
合には“L”になるが、送られてくる文書情報を展開し
ている最中に改ページなるデータを入力した場合には、
この最後に文字パターンを展開した位置(“Y”)にな
る。いずれにせよ、SCP202がSCE203に達す
ることは、1ページ分の印刷出力処理が終了したことを
意味する。
【0016】この様な関係において、例えば文字“A”
に対応するコードを画像メモリに展開するときには、先
ず、そのコードに対応するパターンをフオントメモリ1
06より読み込んで、展開ポインタ200,201で示
される画像メモリ107内の位置(X,Y)に展開す
る。この展開処理の後には行末まで、Yの値を変化させ
ず、Xの値をX0 だけ増加させていく。以下、同様の処
理を繰り返していくが、改行の制御コードを入力したと
きには、今度はXを初期化(例えば“0”)、YをY0
分増加させていく。また、改ページの制御コードを入
力、或いは1ページ分のイメージ展開が終了したら、そ
の時点での展開ポインタ中の“Y”の値をSCE203
に格納すると共に、展開ポインタ200,201(すな
わち、X,Yの値)を初期化(X←“0”、Y←“Y0
”)する。
【0017】この様にして、画像メモリ107に対する
1ページ分のイメージ展開が終了したら、いよいよ画像
信号発生器109、出力インターフエース回路110及
び印字機構部111を駆動させると共に、割り込みイネ
ーブル信号(制御線C3)もONさせ、印刷処理を実行
させる。すると、先に説明した様に、画像信号発生器1
09から割り込み信号を受けるが、その割り込み処理ル
ーチンでは例えばスキヤンバツフア108aにSCP2
02で示される1ライン分のイメージを転送する。画像
信号発生器109はスキヤンバツフア108bから順次
イメージデータを入力しては、画像信号(レーザダイオ
ードの発光信号)を生成し、出力インターフエース11
0を介して、印字機構部111に出力する。以上の処理
を画像信号発生器109から1ライン分の出力する毎
に、割り込み信号を発生させる。このとき、スキヤンバ
ツフア108a,bを交互に切換ることは先に説明し
た。
【0018】以上の処理でもつて画像を形成していくと
き、少なくとも画像メモリ107のSCP202でもつ
て示される1ライン以前のエリアは既に画像形成のため
出力済みであるので、このエリアには次ページ分のデー
タを入力し、その文字記号パターンを展開しても構わな
い。そこで、本実施形態では直前ページの画像を出力し
ているとき、それ以前のエリアに次の文書画像を展開す
る様にした。
【0019】但し、実施形態では展開ポインタ200,
201で示される座標位置(X,Y)を文字パターンの
左下を示す様にしたので、次の不等式を満足させる必要
がある。
【0020】すなわち、
Y<SCP+Y0
<処理手順の説明(図3及び図4)>以上の説明から、
CPU102の処理手順を説明すると図3、図4に示す
フローチヤートになる。尚、図3はメインフローチヤー
トであり、図4は割り込み処理ルーチンを意味する。以
下、このフローチヤートに従つて説明する。
【0021】先ずステツプS1では各種周辺要素をリセ
ツト、或いは割り込みイネーブル信号をOFFする等の
初期化を行なう。次のステツプS2では、展開ポインタ
200,201の座標位置(X,Y)を初期値(0,Y
0 )を代入すると共に、SCPにも初期値として“L+
1”を代入する。尚、以下に説明を簡単にするため、展
開ポインタ200,201を単にX,Yと言うことにす
る。
【0022】さて、これまでの処理を終了した後は、ス
テツプS3に移つて、ホストコンピユータ100からデ
ータが受信されるまで、待つことになる。受信されたと
きには、入力インターフエース103を介して、そのデ
ータを入力(ステツプS4)し、そのデータの種類に応
じて分岐判断をする(ステツプS5)。
【0023】i.文字コード入力処理
入力したデータが文字コードであると判断した場合には
先ず、Y≦SCP+Y0 であるか否か、すなわち、入力
した文字記号コードに対応するパターンをX,Yに展開
しても良いか否かを判断する。この時点におけるSCP
には“L+1”が代入されているので、この判断を満足
し、次のステツプS7に移る。ここでは、文字記号コー
ドに対応するパターンをフオントメモリ106より読み
込んで、X,Yに展開し、ステツプS8でXをX0 増分
し、更新する。次にこの更新されたXの値が行末位置
(W−X0 )より大きくなつたか否かを判断するが、否
の場合には未だこの行に展開するべきエリアがあると判
断し、ステツプS3に戻る。また、この判断を満足する
ときには、結局、展開位置を次の行頭に更新しなければ
ならないため、ステツプS10以下の改行コード処理に
移る。
【0024】ii. 改行処理
また、ステツプS4で入力されたデータが改行コードで
あると判断した場合、或いは文字コード入力処理でXが
行末を越えると判断した場合には、ステツプS10以下
の改行処理を実行する。ステツプS10ではY≦SCP
+Y0 であるか否かを判断(ステツプS6と同様である
ので説明は省略)するが、この判断がYESのときステ
ツプS11に移つて、そのときのYに“Y0 ”を増分さ
せると共に、Xを“0”に設定する。次にステツプS1
2ではY>Lであるか否かを判断するが、これは1ペー
ジ分のイメージが展開されたか否かを判断しているのに
他ならない。この判断がNOの場合には未だ展開する行
があると判断してステツプS3に戻るが、1ページ分の
展開が終了したと判断した場合には、ステツプS14に
移つてSCE203に“L”を代入し、ステツプS15
以下の改ページ処理を実行する。
【0025】iii.改ページ処理
一方、ステツプS4で入力されたデータが改ページを意
味する制御コードであると判断した場合には、ステツプ
S13に移り、それまでのYの値をSCE203に代入
させる。
【0026】ステツプS15では改ページのために、S
CP202及びXを“0”に初期化すると共に、Yを
“Y0 ”に設定する。次に、これから印刷処理を実行さ
せるため、先ず、スキヤンバツフア108a,bをクリ
ア(ステツプS17)し、プリンタを起動(ステツプS
18)させる。その後、いよいよスキヤン割り込みイネ
ーブル信号をON(制御線C3)させ、印刷処理を実行
させる。
【0027】iv. 割り込み処理
さて、割り込みイネーブル信号をONすると、画像信号
発生器109はスキヤンバツフア108a,bの何れか
から1ライン分の出力画像信号を印字機構部111に出
力が完了する度に、CPU102に割り込み信号を出力
する。
【0028】CPU102はこの割り込み信号を受信す
る度に、図4のフローチヤートに示す処理を実行する。
【0029】すなわち、ステツプS30では現在選択し
ているスキヤンバツフア108a,bを切換えるための
信号をC1,C1′に出力し、ステツプS31に移る。
ステツプS31では現在のSCP202で示される位置
から1ライン分のイメージデータを読み込んで選択され
たスキヤンバツフアの一方に転送する。このとき、画像
信号発生器109は選択されなかつたもう一方のスキヤ
ンバツフアから不図示のビームデイテクト信号を受信し
た時点でイメージデータを入力し、画像信号を発生さ
せ、印字機構部111に出力している。また、ステツプ
S32で転送された画像メモリ107内のラインは転送
済みであるのでクリアし、次のステツプS33でSCP
を“1”デイクリメントする。次のステツプS34で
は、更新されたSCP202がSCE203より大きく
なつたか否か、すなわち、1ページ分の処理が終了した
か否かを判断する。この判断がNOの場合には、この割
り込み処理からメイン処理に復帰するが、YESの場合
には一旦割り込みイネーブル信号をOFFして同様に復
帰する。
【0030】以上説明した処理でもつて、一旦画像メモ
リ107に1ページ分のイメージを格納したとき、画像
形成のためのイメージが読み出させ、しかも、その読み
出され済みの空きエリアに次ページのイメージを展開で
きるので、印刷処理に係る時間は短縮されることにな
る。
【0031】また、画像形成のため、画像メモリを読み
込むライン位置が少なくとも最終ラインに到達するまで
は、次のイメージを画像メモリに展開しないので、印刷
速度を更に向上させることが可能となる。
【0032】
[本発明の好適な実施形態の説明(図5〜図9)]
以下、本発明に好適な実施形態を第2の実施形態として
説明する。
<構成の説明(図5、図6)>
上述した実施形態では、ホストコンピユータ100から
1個のデータ(文字コード)が入力される毎に、文字パ
ターンを発生し、画像メモリ107に展開するという処
理を行つたが、これに限定されるものではない。例え
ば、ホストコンピユータ100から受信したコードデー
タを2ページ分格納するページバツフアメモリを設けて
処理する例を好適な実施形態として以下に説明する。
尚、この第2の実施形態では、文字列の方向と印刷方向
との関係にかかわらず、画像メモリの1つのセグメント
領域にパターン展開されたパターンデータの印字機構部
への出力と、パターンデータの出力を終えている他のセ
グメント領域への次ページのセグメントのパターン展開
とを並行して実行するものである。
【0033】図5はこのときのブロツク構成図であり、
図中の112がこのページバツフアメモリである。尚、
その他の構成要素(図中の100′〜111′)は図1
における100〜111に対応しているので、ここでは
説明を省略するが、プログラムROM104′には後述
する図7、図8及び先に説明した図4のフローチヤート
に相当するプログラムが格納される。
【0034】図6にページバツフア112と作業用メモ
リ105′との関係を示し、以下にその内容を説明す
る。ページバツフア112内の200′,201′は夫
々1ページ分の文字記号コードを格納することができる
ページバツフアであり、各バツフア200′,201′
には夫々のステイタス情報が格納されるページステイタ
ス202a′,b′が設けられている。このページステ
イタスには以下に示す2つの状態情報を格納している。
【0035】「出力待ち」…1ページ分の文字コード等
からなるデータの格納が完了していて、画像メモリ10
7′へのパターン展開処理を待つている状態。
【0036】「入力待ち」…1ページ分の文字コード等
から成るデータを全て、文字パターン等に変換し、画像
メモリ107′への展開処理が終了している状態、すな
わち、ホストコンピユータ100′からデータの入力さ
れるのを待つている状態である。
【0037】さて、実施形態におけるページバツフア2
00′,201′は図示の如く、4つの領域(セグメン
ト1〜4)に分けられており、夫々のセグメントには1
ページ当りの行数の1/4のデータが格納される。そし
て、入力データの画像メモリ107′への展開は、各セ
グメント単位にパターンに変換されて、展開される。2
04′は入力ページポインタであり、入力インターフエ
ース回路103′を介して得られたデータの格納先とな
るページバツフアを指し示す情報と、その座標位置が格
納されている。205′は出力ページポインタであり、
次に画像メモリ107′に展開する文字コードデータが
格納されているページバツフアを指し示す情報であり、
セグメントポインタ206′はそのセグメント番号を格
納するものである。また、207′、208′は画像メ
モリ107′への展開する座標位置を示す展開ポインタ
であり、209′は印字文字の展開が指定されてきた場
合における情報を格納するポインタ、300′はスキヤ
ンポインタである。
【0038】<パターン展開処理の説明(図7)>さ
て、以上の構成における実施形態の処理を図7のフロー
チヤートに従つて説明する。
【0039】先ず、ステツプS401では図3でのステ
ツプS1と同様な初期化処理をし、次のステツプS40
2では各ページバツフアのステイタス情報を見る。出力
待ち状態であれば、次のステツプS403に移り、出力
ページポインタ、セグメントポインタから最終セグメン
ト(セグメント4)を越えたか否かを判断する。セグメ
ント番号が“4”以下の場合には制御がステツプS40
4に移り、今度はスキヤンポインタ300′(以下、S
CP300′という)で示される位置が、次のセグメン
ト全体をパターン化して格納できる値になつているか否
かを判断する。この判断がYESの場合には以下、ステ
ツプS405〜407で対応するセグメント内のコード
データを全て読み出しては次々とパターンに変換し対応
する画像メモリ107′に順次展開していく。尚、各文
字パターンを展開していくときにおいて、その展開座標
が行末にきたとき、次の行頭にセツトすることが必要と
なる。このとき、印字指定ポインタ209′内にデータ
がセツト(この処理内容については後述する)されてい
るときには、その情報に従つて展開する位置をセツトす
る。
【0040】一方、ステツプS403の判断で、YES
のとき、すなわち、最終セグメントを越えた(1ページ
分のパターンが展開された)と判断した場合には、ステ
ツプS409に移り、SCP300′が“L”より大き
いか否かを判断し、この判断がYESのときに、次のス
テツプS410に制御が移る。
【0041】ステツプS410では実際に画像形成に先
立ち、SCP300′を“0”にセツト、出力ページポ
インタで示されていたページバツフア内のステイタスを
入力待ちに変更、出力ページポインタを更新する等の処
理をし、以下、スキヤンバツフア108a′,108
b′をクリア(ステツプS411)、印字機構部11
1’を起動(ステツプS412)、最後にスキヤン割り
込みイネーブル信号をONする。
【0042】尚、割り込み処理ルーチンは先の実施形態
で説明したルーチンと重複するので、説明は省略する。
【0043】<データ格納処理の説明(図8)>次に、
ホストコンピユータ100′より入力されたデータのペ
ージバツフア112への格納処理を図8のフローチヤー
トに従つて説明する。尚、入力インターフエース回路1
03′はデータを受信したとき、CPU102′に割り
込み信号を発生するものであつて、図8の処理はその割
り込み処理ルーチンである。更に、このページバツフア
112に展開される文字コードはシーケンシヤルに格納
されるものではなく、実際に印刷されるレイアウト(す
なわち、行数と桁数でもつて位置を特定する)でもつて
格納されるものとし、入力ページポインタ204′の内
容に従つて、ページバツフア200′、201′のいず
れかを選択し、且つ、そのポインタ204′内に設けら
れた格納先に位置情報(X,Y)に入力した文字コード
を格納する。尚、このページバツフアへ展開する位置情
報(X,Y)を展開ポインタ207′、208′のそれ
と区別するために、以下の説明では格納ポインタとして
説明する。
【0044】さて、ステツプS601では入力インター
フエース回路103′からデータを入力する。入力され
たデータは次のステツプS602で判断され、その種類
により処理が分岐する。
【0045】先ず、印字位置指定命令(例えば縦開始位
置、横開始位置等)であると判断された場合には、ステ
ツプS603で、その情報を印字位置指定ポインタ20
9′に格納し、次のデータ受信に備える。
【0046】また入力データが改行コードである場合に
は、ステツプS604で格納ポインタのXを“0”、Y
は“1”だけ増分させる。
【0047】更に文字コードであると判断した場合に
は、ステツプS605に移つて、入力ページポインタ2
04′の示すページバツフアを選択(ステツプS60
5)し、格納ポインタに示される位置にその文字コード
を格納(ステツプS606)する。格納した後は、ステ
ツプS607に移つて、格納ポインタ中のXを“1”イ
ンクリメントし、次のステツプS620でそのXが行端
を越えたか否かを判断し、越えたと判断した場合にはス
テツプS604に移つて改行処理をする。
【0048】更に、入力したデータが改ページを意味す
るコードである場合にはステツプS608に移つて、現
在、の格納先となつているページバツフアのステイタス
を“出力待ち”に設定し、それに基づいて入力ページポ
インタ204′とその格納ポインタを更新或いはリセツ
ト(ステツプS609,610)する。
【0049】以上説明したように本第2の実施形態によ
れば、例えば図9に示す如く、文書の第1行、第2行…
の順に印刷されない場合等、文字列の方向と印刷方向が
不一致であったとしても、画像メモリ107’の1つの
セグメント領域にパターン展開されたパターンデータの
印字機構部111’への出力と、パターンデータの出力
を終えている他のセグメント領域への次ページのセグメ
ントのパターン展開とを並行して実行することができる
ようになる。
【0050】更に本実施形態におけるパターン展開処理
において、例えば図9に示すスキヤン方向とパターン展
開方向とが交差する場合においても、最終ラインにパタ
ーンが展開されない限り、スキヤンすることがなくなる
ので、印刷速度の低下を招くといつた事態を防ぐことが
できる様になる。
【0051】また、実施形態では、二重構造のスキヤン
バツフアを使い、画像メモリと画像信号発生器とのバツ
フアとする構成を保つたが、1スキヤン分のデータを画
像信号発生器に直接出力することも可能である。
【0052】更にまた、本実施形態のスキヤンバツフア
は1スキヤン分のメモリを用意したわけであるが、これ
を数スキヤン分のバツフアとして1回のスキヤン割込
で、数スキヤン分のイメージデータを転送してもよいこ
れによつて、1ページ内のスキヤン割込の回数を減らす
ことが可能となるため、制御プログラムの処理の効率化
が計れる。
【0053】また本実施形態では入力データとして文字
コードを扱つたわけであるが本発明ではこれに限らず、
イメージデータやベクトルグラフィツク用の座標データ
など様々の形態の入力データにも適用できる。
【0054】
【発明の効果】以上説明したように本発明によれば、出
力用メモリが1ページ分の容量しかなくても、イメージ
展開前の容量が少ない印刷データを複数ページだけ記憶
するページバッファを設け、印刷部への出力済みのメモ
リに次のページに対するイメージ展開を行なうことで高
速に印刷を行なわせ、更には、各ページバッファに受信
した印刷データを格納する際に、印刷位置指定コードで
指定された位置に対応するページバッファ内のセグメン
ト領域に記憶することでイメージ展開がセグメント単位
に行なえるように記憶管理することでイメージ展開がス
ムースに行なえ、もってより高速に印刷させることが可
能になる。また、他の発明によれば、入力情報を第2記
憶手段に一度記憶した後、その記憶された入力情報に基
づいてパターン展開用の第1記憶手段に展開する場合に
おいては、入力情報中の文字コードを単純にシーケンシ
ャルに第1記憶手段に格納するのではなく、その文字コ
ード毎にその文字コードがいずれのセグメントに属する
かを判別し、且つ、その文字コードに対応する文字の縦
及び横方向の印刷位置に従って第2の記憶手段に記憶す
ることにより、入力情報の性質によらず、セグメント単
位に入力情報が振り分けられて記憶されることになり、
パターン展開がスムースに行なえ、もってより高速に印
刷させることが可能になる。」
【0055】Description: BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention [0002] The present invention relates to a print control apparatus and method.
Method, more specifically, pattern expansion of input information in segment units
Printing control device and method for outputting to a printing means
It is. 2. Description of the Related Art Conventionally, as a typical example of this type of apparatus,
Is a laser beam printer or the like. This printing device
Has an image memory for one page and an image signal generation circuit.
Data is generated by the CPU that controls the entire device.
Data input from a source (host computer etc.)
Convert to sequential image pattern and save to this image memory
Was. Finally, input and change data for one page
When the conversion process is completed, the control is transferred to the image signal generation circuit.
And converts the image for one page into an image signal suitable for the printing mechanism
I was printing. [0003] However, the above-mentioned
In the conventional example, this image memory stores one page of image data.
After the data is expanded, image signals are generated until printing is completed.
Image of the next page of data because it was occupied by the circuit
Writing to memory takes place until the printing of the previous page is completed.
I can't. For this reason, the printing mechanism itself is capable of continuous high-speed printing.
Printing speed is extremely low
There was a downside. In order to overcome this drawback, an image memo
Two pages, one of which is occupied by the image generation circuit.
While the next page is in the other image memory.
Writing is also conceivable. However, recent projects
Since linters require high-quality printing,
The printing density is increasing. Therefore, one page of image memory
The memory capacity for a page alone is enormous,
If two pages are provided, the size of the device will increase and the cost will increase.
Problem still remains. According to the present invention, the output memory has a capacity of one page.
Print data that has a small capacity before
A page buffer to store data for multiple pages,
The image for the next page is stored in the memory already output to the print unit.
By performing image development, printing can be performed at high speed.
Stores the received print data in each page buffer
The position specified by the print position specification code
By storing in the segment area in the page buffer,
Memory management so that image expansion can be performed in segment units
By doing so, you can smoothly develop the image,
Printing control device that enables high-speed printing
And a method. [0006] The present invention has been made to solve this problem.
Therefore, for example, the print control apparatus of the present invention has the following configuration.
I can. In other words, specify the print position received from the external device
Generated based on the print data containing the control code
According to the image data, the image
Printing system that prints the image corresponding to the data by the printing unit
A plurality of control devices, each of which is divided for each printing area position.
Multiple page buffers with segment areas and receive
The print data is analyzed to determine the print position,
The print data received based on the position is stored in the print data
The corresponding position in the page buffer that is waiting to be delivered
Storage means for allocating and storing in a segment area of
In the page buffer waiting for image development
Read the print data from the first head segment area,
Output image data generated based on the print data.
The development of the segment in the memory for
Is performed sequentially for each segment area in the storage buffer.
Image for expanding output image data for page
Image developing means and one page developed by the image developing means.
Page of output image data to the printing unit
Output to the printing unit in the output memory
The image for the next page buffer in the
Control means for executing the developing means. [0007] An embodiment according to the present invention will be described below.
This will be described in detail with reference to the drawings. <Schematic Description of Apparatus (FIG. 1)> FIG.
FIG. 2 is a block diagram of the printing apparatus 101 according to the embodiment. still,
The printing apparatus 101 according to the embodiment is a laser beam printer.
It will be described as a printer, but since it can be applied to other printers,
The present invention is not limited to this. Well, below
Each configuration will be described. In the figure, reference numeral 100 denotes a host as a data source
A computer 102 controls the entire apparatus 101.
CPU. 103 is the host computer 100
An input interface circuit for inputting these data
104 is a program (flows of FIGS. 3 and 4 described later).
A program ROM in which a chart is stored;
The CPU 102 performs a control operation according to this program.
Reference numeral 105 denotes a work RAM, and a work RAM of the CPU 102.
Work area, an area for storing various flags, and further below
And an area for storing various pointers and the like.
106 stores patterns corresponding to various character symbol codes
Character font memory, which is composed of ROM
Have been. Reference numeral 107 denotes an image medium corresponding to one printing sheet.
The character that corresponds to the input character code
The symbol patterns are sequentially stored in the image memory 107.
You. 108a and 108b are scan batts, respectively.
Forming a grubbuffer;
Outputs an image signal to a printing mechanism 111 described later.
And the other scan buffer uses the next image data
Used to enter. In addition, these switching is performed by the CPU.
With signals output from 102 to control lines C1 and C1 '
Controlled. Reference numeral 109 denotes a scan buffer 108.
Output image data is input from one of a and b, and the output image signal is output.
An image signal generator that generates a signal
When the output of the image signal is completed (the output
CPU) via the control line C2.
An interrupt signal is generated at 102. Also, this interrupt
The CPU 102 determines whether or not to generate a single signal on the signal line C3.
Based on the signal (interrupt enable signal) output from
Only when this signal is ON.
It is designed to generate an interruption signal. Also, 110
Output for outputting an output image signal to the printing mechanism unit 111
An interface circuit, which is also controlled by the CPU 102.
It operates according to the control (control line C4). The printing mechanism 111 is a laser beam type
ON / OFF of the output image signal
Receiving the state (binary signal), the laser diode emits light
Forming an electrostatic latent image on a photosensitive drum (not shown)
Then, an image is formed. Note that the output image signal is
A log signal or multi-level signal that forms a multi-tone image
It doesn't matter if you do it. <Description of Printing Outline (FIG. 2)>
Before explaining the outline of the printing process,
(The laser beam printer was explained earlier.)
The output paper size handled in 101 is A4 size,
The total number of pixels in the vertical direction is W dots, and the total number of pixels in the vertical direction is L dots.
I do. That is, the capacity of the image memory 107 is at least
It has a capacity of W × L bits (= W × L / 8 bytes). Change
Next, each character pattern is developed in the image memory 107.
Position (this position information is stored in the
Is stored), but the origin is at the upper left corner in the figure.
The description will be made with the horizontal axis X and the vertical axis Y. Now, an outline of the printing process in the above-described configuration.
Will be described below. FIG. 2 shows the working RAM 105 and the phone.
Memory 106, image memory 107, and scan buffer
FIG. 4 is a diagram showing an alternating relationship between a and b. In the figure, reference numerals 200 and 201 both denote a working RA.
This is the expansion pointer provided in M105.
Character pattern (the size of this pattern in the embodiment)
The dimensions are all horizontal X0 and vertical Y for ease of explanation.
0) is stored (the lower left position of the pattern)
Have been. 202 is also provided in the same memory.
A scan pointer (hereinafter referred to as SCP)
Ahead of image data output to Yanbuffer 108a, b
The head position (Y-axis value) is stored. Furthermore, SCE2
03 indicates the last position of this SCP.
Is "L" in this case, but expands the sent document information.
If you enter page break data while
The last position (“Y”) where the character pattern was developed is
You. In any case, SCP 202 reaches SCE 203
This means that the print output process for one page has been completed.
means. In such a relationship, for example, the character "A"
When expanding the code corresponding to
The pattern corresponding to the code is stored in the font memory 1
06 and indicated by expansion pointers 200 and 201
To the position (X, Y) in the image memory 107 to be
You. After this expansion process, change the value of Y until the end of the line.
Instead, the value of X is increased by X0. Hereinafter, the same processing
Repeating the above, if you enter a line feed control code
In this case, X is initialized (for example, "0"), and Y is set to Y0.
Increase by minutes. Also enter a page break control code.
When you have finished developing the image for one page or one page,
The value of “Y” in the expansion pointer at the time of
And the expansion pointers 200 and 201 (sun
That is, the values of X and Y are initialized (X ← “0”, Y ← “Y0”).
In this manner, the image memory 107
When the image development for one page is completed, finally the image
A signal generator 109, an output interface circuit 110,
And print mechanism 111, and interrupt
Also turn on the cable signal (control line C3) and execute print processing
Let it. Then, as described above, the image signal generator 1
09, an interrupt signal is received.
For example, in the scan buffer 108a, the SCP2
The image of one line indicated by 02 is transferred. image
The signal generator 109 sequentially starts from the scan buffer 108b.
Input the image data and send the image signal (laser diode).
(A light emission signal of the output interface) and output interface 11
0 to the print mechanism unit 111. The above processing
Is output from the image signal generator 109 for one line.
Then, an interrupt signal is generated. At this time,
The alternate switching of the fans 108a, b is described above.
Was. When an image is formed by the above processing,
At least in the SCP 202 of the image memory 107
The area before one line indicated by is already used for image formation
Since the data has already been output, the data for the next page
Input characters and expand the character / symbol pattern.
No. Therefore, in this embodiment, the image of the previous page is output.
The next document image in the previous area
I did it. However, in the embodiment, the expansion pointer 200,
The coordinate position (X, Y) indicated by 201 is
As shown in the lower left, it is necessary to satisfy the following inequality
There is. That is, Y <SCP + Y0 <Explanation of the processing procedure (FIGS. 3 and 4)>
The processing procedure of the CPU 102 will be described with reference to FIGS.
Become a flow chart. FIG. 3 shows the main flow chart.
FIG. 4 shows an interrupt processing routine. Less than
A description will be given below according to this flowchart. First, in step S1, various peripheral elements are reset.
Such as turning off the interrupt enable signal
Perform initialization. In the next step S2, the expansion pointer
The coordinate positions (X, Y) of 200 and 201 are set to initial values (0, Y
0), and "L +
1 ". For the sake of simplicity,
The open pointers 200 and 201 are simply referred to as X and Y.
You. Now, after the above processing is completed,
Proceeding to step S3, the host computer 100 downloads the data.
It will wait until the data is received. Received
Input data via the input interface 103.
Data (step S4), and respond to the data type.
First, a branch is determined (step S5). I. Character code input processing When it is determined that the input data is a character code
First, whether or not Y ≦ SCP + Y0, that is,
The pattern corresponding to the specified character code into X and Y
It is determined whether it is OK to do so. SCP at this point
Is satisfied, since “L + 1” is assigned to
Then, the process proceeds to the next step S7. Here, character code
Read the pattern corresponding to the code from the font memory 106.
Then, the data is expanded into X and Y, and X is incremented by X0 in step S8.
And update. Next, this updated X value is
It is determined whether or not (W-X0) is larger than (W-X0).
In this case, it is determined that there is still an area to be
Then, the process returns to step S3. Also satisfy this judgment
Sometimes, after all, you have to update the deployment position to the beginning of the next line
Therefore, the line feed code processing after step S10
Move on. Ii. Line feed processing Also, the data input in step S4 is a line feed code.
If it is determined that there is, or X
If it is determined that the end of the line is exceeded, step S10 or less
Execute the line feed process. In step S10, Y ≦ SCP
+ Y0 is determined (same as step S6)
Therefore, the explanation is omitted), but if this judgment is YES,
Proceeding to step S11, "Y0" is incremented for Y at that time.
And set X to "0". Next, step S1
In step 2, it is determined whether or not Y> L.
I'm deciding whether or not the image has been expanded
Nothing else. If this judgment is NO, the line is still expanded
And returns to step S3, but for one page.
If it is determined that the development has been completed, the process proceeds to step S14.
Then, "L" is substituted into SCE 203, and step S15 is performed.
Execute the following page break processing. Iii. Page break processing On the other hand, the data input in step S4 indicates a page break.
If the control code is judged to be tasted,
Move to S13 and substitute the previous value of Y for SCE203
Let it. In step S15, S
Initialize CP 202 and X to “0” and set Y to
Set to "Y0". Next, the printing process will be executed.
First, clear the scan buffers 108a and 108b.
(Step S17) and start the printer (Step S17).
18) After that, finally the scan interrupted rice
Turn on the cable signal (control line C3) and execute print processing
Let it. Iv. Interrupt processing When the interrupt enable signal is turned on, the image signal
The generator 109 is one of the scan buffers 108a and 108b.
Output image signal for one line to the printing mechanism 111
Outputs an interrupt signal to CPU 102 each time power is completed
I do. The CPU 102 receives this interrupt signal.
Each time, the processing shown in the flowchart of FIG. 4 is executed. That is, in step S30, the current selection is made.
For switching the scanning buffers 108a and 108b
The signal is output to C1 and C1 ', and the flow advances to step S31.
In step S31, the current position indicated by the SCP 202 is set.
Reads one line of image data from
Transfer to one side of the scan. At this time, the image
The signal generator 109 is the other selected
Receiving a beam detect signal (not shown) from the
Input the image data and generate the image signal.
Output to the printing mechanism unit 111. Also, step
The line in the image memory 107 transferred in S32 is transferred
Since it has been completed, it is cleared, and in the next step S33, the SCP
Is decremented by "1". In the next step S34
Is that the updated SCP 202 is larger than the SCE 203
Whether or not, that is, processing of one page is completed
It is determined whether or not. If this determination is NO,
Return from main processing to main processing, but if YES
Once, turn off the interrupt enable signal once and
Return. In the processing described above, the image memo
When an image for one page is stored in
The image for forming is read out, and the reading
Expand the image on the next page to the already issued free area
The time required for the printing process can be reduced.
You. Further, the image memory is read to form an image.
At least until the line position reaches the last line
Does not load the next image into image memory, so
Speed can be further improved. [Description of a Preferred Embodiment of the Present Invention (FIGS. 5 to 9)] Hereinafter, a preferred embodiment of the present invention will be described as a second embodiment.
explain. <Description of Configuration (FIGS. 5 and 6)> In the above-described embodiment, the host computer 100
Each time one data (character code) is input,
A process in which a turn is generated and developed in the image memory 107
However, the present invention is not limited to this. example
If the code data received from the host computer 100 is
A page buffer memory for storing two pages of data
An example of processing will be described below as a preferred embodiment.
In the second embodiment, the direction of the character string and the printing direction
One segment of image memory, regardless of its relationship to
Print mechanism for pattern data that has been developed into an area
And other cells that have finished outputting the pattern data.
Of the next page segment into the segment area
And are executed in parallel. FIG. 5 is a block diagram showing the configuration at this time.
Reference numeral 112 in the figure denotes this page buffer memory. still,
Other components (100 'to 111' in the figure) are shown in FIG.
Since it corresponds to 100 to 111 in
Although the description is omitted, the program ROM 104 'will be described later.
7 and 8 and the flowchart of FIG. 4 described above.
Is stored. FIG. 6 shows a page buffer 112 and a work memo.
The relationship with the file 105 'is shown below, and its contents will be described below.
You. 200 'and 201' in the page buffer 112 are husbands
Each page can store character code for one page
Page buffers, each buffer 200 ', 201'
Is a page statuser that stores each status information
Switches 202a 'and b' are provided. This page
Itas stores the following two pieces of status information. "Waiting for output": character code for one page, etc.
Has been completed, and the image memory 10
Waiting for pattern development processing to 7 '. "Waiting for input": character code for one page, etc.
Is converted to character patterns, etc.
The state in which the expansion processing to the memory 107 'has been completed,
That is, data is input from the host computer 100 '.
It is in the state of waiting for being done. Now, the page buffer 2 in the embodiment will be described.
00 'and 201' are four regions (segment
1 to 4), and each segment has 1
Data of 1/4 of the number of lines per page is stored. Soshi
The expansion of the input data to the image memory 107 '
It is converted into a pattern for each segment and expanded. 2
04 'is an input page pointer, which is an input interface.
Storage destination of the data obtained through the source circuit 103 '.
Information indicating the page buffer and the coordinate position
Has been delivered. 205 'is an output page pointer,
Next, the character code data to be developed in the image memory 107 'is
Information indicating the stored page buffer,
The segment pointer 206 'stores the segment number.
It is something to pay. 207 'and 208' are image
Expansion pointer indicating the coordinate position to be expanded to the memory 107 '
209 'is a field where the expansion of print characters has been designated.
Pointer for storing information in the case where
Pointer. <Explanation of Pattern Development Processing (FIG. 7)>
The processing of the embodiment in the above configuration will be described with reference to the flow chart of FIG.
This will be explained according to the chart. First, in step S401, the step in FIG.
The same initialization processing as in step S1 is performed, and the next step S40 is performed.
In 2, the status information of each page buffer is viewed. output
If it is in the waiting state, the process proceeds to the next step S403, and the output is performed.
Last segment from page pointer, segment pointer
J (segment 4). Segume
If the client number is equal to or less than "4", control is passed to step S40.
4 and the scan pointer 300 '(hereinafter, S
The position indicated by CP300 ') is the next segment.
Whether or not the value is a value that can be stored by patterning the whole
Judge. If this determination is YES,
Code in the segment corresponding to steps S405 to S407
Read all data and convert to pattern one after another
To the image memory 107 '. Each sentence
When developing a character pattern, its development coordinates
Needs to be set to the beginning of the next line when
Become. At this time, the data is stored in the print designation pointer 209 '.
Is set (this processing will be described later).
Set the position to develop according to the information
You. On the other hand, if the determination in step S403 is YES,
, That is, beyond the last segment (1 page
Minutes pattern has been developed),
Proceed to step S409, where SCP 300 'is larger than "L".
It determines whether or not it is, and if this determination is YES, the next
The control moves to step S410. In step S410, prior to the actual image formation,
The SCP 300 'is set to "0" and the output page port is set.
The status in the page buffer indicated by the internet
Change to waiting for input, update output page pointer, etc.
In the following, the scan buffers 108a ', 108
b 'is cleared (step S411), the printing mechanism 11
Start 1 '(step S412), and finally split the scan
Turn on the write enable signal. The interrupt processing routine is described in the first embodiment.
The description is omitted because it is the same as the routine described in. <Description of Data Storage Processing (FIG. 8)>
File of the data input from the host computer 100 '
The storing process in the buffer 112 is shown in the flowchart of FIG.
It is explained according to the following. Note that the input interface circuit 1
03 'is assigned to the CPU 102' when data is received.
The processing shown in FIG.
This is a loading processing routine. In addition, this page buffer
Character code expanded to 112 is stored in sequential
Not the layout that is actually printed
That is, the position is specified by the number of lines and the number of columns).
Stored in the input page pointer 204 '.
According to the contents, either page buffer 200 'or 201'
Is selected and provided in the pointer 204 '.
Character code entered in location information (X, Y) in the specified storage location
Is stored. In addition, the position information to be expanded to this page buffer
Report (X, Y) to that of the expansion pointers 207 ', 208'
In the following description, as a storage pointer,
explain. In step S601, the input interface
Data is input from the face circuit 103 '. Entered
Is determined in the next step S602, and the type
Causes the process to branch. First, a print position designation command (for example, a vertical start position)
Position, horizontal start position, etc.)
In step S603, the information is stored in the print position designation pointer 20.
9 'to prepare for the next data reception. When the input data is a line feed code,
In step S604, X of the storage pointer is set to "0",
Is incremented by "1". Further, when it is determined that the character code is used,
Moves to step S605, where the input page pointer 2
04 'is selected (step S60).
5) Then, the character code is set at the position indicated by the storage pointer.
Is stored (step S606). After storing,
Moving to step S607, X in the storage pointer is set to "1".
In the next step S620, X becomes the end of the line.
Judge whether or not it has exceeded
The process proceeds to step S604 to perform a line feed process. Further, the input data indicates a page break.
If the code is the same as that of the current
The status of the page buffer that is currently being stored
Is set to “waiting for output” and the input page
Update or reset the interface 204 'and its storage pointer
(Steps S609 and S610). As described above, according to the second embodiment,
If so, for example, as shown in FIG.
If the character string direction and print direction are not
Even if they do not match, one of the image memories 107 '
Of the pattern data expanded to the segment area
Output to printing mechanism 111 'and output of pattern data
Segment on the next page to another segment area that has finished
Can be executed in parallel with the
Become like Further, pattern development processing in this embodiment
In the scan direction and pattern extension shown in FIG.
Even if the opening direction intersects,
No longer scans unless the scene is deployed
Therefore, it is possible to prevent a situation that would cause a decrease in printing speed.
I can do it. In the embodiment, a double-structure scan is used.
Using a buffer, the difference between the image memory and the image signal generator
Although the configuration is maintained as a blank, data for one scan
It is also possible to output directly to the image signal generator. Furthermore, the scan buffer of the present embodiment is
Prepared a memory for one scan.
One scan interrupt as a buffer for several scans
Can transfer several scans of image data.
This reduces the number of scan interrupts in one page
Process, which makes control program processing more efficient.
Can be measured. In this embodiment, characters are used as input data.
Although the code was handled, the present invention is not limited to this,
Coordinate data for image data and vector graphics
It can be applied to various forms of input data. As described above, according to the present invention, the output is
Even if the memory for power is only one page capacity,
Stores only a few pages of small print data before expansion
A page buffer for printing, and output the memo
High by performing image development on the next page
Prints quickly, and receives to each page buffer
When storing print data, the print position
The segment in the page buffer corresponding to the specified position
Image development by storing in the memory area
Image development can be facilitated by memory management so that
Can be moose and print faster
It will work. According to another aspect, the input information is stored in the second
Once stored in the storage means, and based on the stored input information.
To develop into the first storage means for pattern development
In this case, the character code in the input information is simply
Instead of storing it in the first storage means,
Character code belongs to any segment
And determine the vertical length of the character corresponding to that character code.
And in the second storage means according to the print position in the horizontal direction.
Therefore, regardless of the nature of the input information,
The input information will be sorted and memorized in the order,
Pattern development can be done smoothly, so faster marking
Can be printed. [0055]
【図面の簡単な説明】
【図1】図1は第1の実施形態のブロツク構成図、
【図2】図2は作業用RAM中のポインタ類と画像メモ
リとの関係を示した図、
【図3】図3は第1の実施形態におけるCPUの処理手
順を示すたフローチヤート、
【図4】図4は第1の実施形態におけるCPUの処理手
順を示すたフローチヤート、
【図5】図5は第2の実施形態のブロツク構成図、
【図6】図6は第2の実施形態における作業用RAM中
のポインタ類とページバツフアメモリとの関係を示した
図、
【図7】図7、図8は第2の実施形態におけるCPUの
処理手順を示すフローチヤート、
【図8】図8は第2のプリンタ制御プログラムのメイン
ルーチンのフローチヤート、
【図9】図9は画像メモリへの展開処理とスキヤン方向
とが交差する場合における第2の実施形態の処理内容を
説明するための図、
【符号の説明】
100 ホストコンピユータ
101 印刷装置
102 CPU
103 入力イン ターフエース回路
104 プログラムROM
105 作業用RAM
106 フオトメモリ
107 画像メモリ
108a,b スキヤンバツフア
109 画像発生器
110 出力インターフエース回路
111 印字機構部
200,201 展開ポインタ、ポインタ
202 スキヤンポインタ(SCP)
203 SCEポインタBRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a first embodiment; FIG. 2 is a diagram showing a relationship between pointers in a working RAM and an image memory; 3 is a flowchart showing a processing procedure of a CPU according to the first embodiment; FIG. 4 is a flowchart showing a processing procedure of a CPU according to the first embodiment; 5 is a block diagram of the second embodiment; FIG. 6 is a diagram showing a relationship between pointers in a working RAM and a page buffer memory in the second embodiment; 7 and 8 are flowcharts showing the processing procedure of the CPU according to the second embodiment. FIG. 8 is a flowchart of a main routine of a second printer control program. FIG. 9 is a flowchart showing an image memory. Where the deployment process intersects the scan direction For explaining the processing contents of the second embodiment of the present invention, [Description of References] 100 Host computer 101 Printing device 102 CPU 103 Input interface circuit 104 Program ROM 105 Work RAM 106 Photo memory 107 Image memory 108a, b Scan buffer 109 Image generator 110 Output interface circuit 111 Printing mechanism 200, 201 Expansion pointer, pointer 202 Scan pointer (SCP) 203 SCE pointer
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 21/00 B41J 2/44 B41J 5/30 G06F 3/12 H04N 1/21 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 6 , DB name) B41J 21/00 B41J 2/44 B41J 5/30 G06F 3/12 H04N 1/21
Claims (1)
ドを含む印刷データに基づいて生成したイメージデータ
に従い、所定の記録媒体上に当該イメージデータに対応
する画像を印刷部により印刷させる印刷制御装置であっ
て、 印刷する領域位置毎に分割さた複数のセグメント領域を
有する複数のページバッファと、 受信した印刷データを解析して印刷位置を判定し、当該
印刷位置に基づいて受信した印刷データを、印刷データ
の格納待ち状態になっているページバッファ中の対応す
る位置のセグメント領域に割り振って格納する格納手段
と、 イメージ展開待ち状態になっているページバッファ内の
先頭の先頭セグメント領域から印刷データを読み出し、
当該印刷データに基づいて生成したイメージデータを出
力用メモリにセグメント単位に展開することを、当該ペ
ージバッファ内の各セグメント領域単位に順次行い、1
ページ分の出力イメージデータの展開処理を行なうイメ
ージ展開手段と、 該イメージ展開手段で展開された1ページ分の出力イメ
ージデータを前記印刷部に出力しているとき、前記出力
用メモリ内における前記印刷部へ出力済み領域に、次の
ページバッファに対する前記イメージ展開手段を実行さ
せる制御手段とを備えることを特徴とする印刷制御装
置。 2.外部装置より受信した印刷位置を指定する制御コー
ドを含む印刷データに基づいて生成したイメージデータ
に従い、所定の記録媒体上に当該イメージデータに対応
する画像を印刷部により印刷させ、印刷する領域位置毎
に分割さた複数のセグメント領域を有する複数のページ
バッファを有する印刷制御装置における制御方法であっ
て、 受信した印刷データを解析して印刷位置を判定し、当該
印刷位置に基づいて受信した印刷データを、印刷データ
の格納待ち状態になっているページバッファ中の対応す
る位置のセグメント領域に割り振って格納する格納工程
と、 イメージ展開待ち状態になっているページバッファ内の
先頭の先頭セグメント領域から印刷データを読み出し、
当該印刷データに基づいて生成したイメージデータを出
力用メモリにセグメント単位に展開することを、当該ペ
ージバッファ内の各セグメント領域単位に順次行い、1
ページ分の出力イメージデータの展開処理を行なうイメ
ージ展開工程と、 該イメージ展開工程で展開された1ページ分の出力イメ
ージデータを前記印刷部に出力しているとき、前記出力
用メモリ内における前記印刷部へ出力済み領域に、次の
ページバッファに対する前記イメージ展開工程を実行さ
せる制御工程とを備えることを特徴とする印刷制御方
法。 3.複数のセグメント領域を有する第1記憶手段にパタ
ーン展開されたパターンデータを印刷手段に出力する印
刷制御装置であって、1つのセグメント領域のパターン
データの前記印刷手段への出力と、パターンデータの出
力を終えている他のセグメント領域への次のセグメント
パターン展開とを並行して実行可能な印刷制御装置にお
いて、 入力情報をセグメント単位の情報に変換する変換手段
と、 前記セグメント単位の情報を複数ページ分記憶可能な第
2記憶手段と、 前記第2記憶手段に記憶されたセグメント単位の情報を
前記第1記憶手段にパターン展開する展開手段とを備
え、 前記変換手段は、 入力情報に文字コードが含まれる場合、その文字コード
がいずれのセグメントに属するかを文字コード毎に判別
する判別手段と、 前記文字コードに対応する文字の縦及び横方向の印刷位
置を文字コード毎に特定する特定手段と、 前記文字コードを、前記判別手段により判別されたセグ
メント領域に対応させて、且つ、前記特定手段により特
定された縦及び横方向の印刷位置に関連づけて前記第2
記憶手段に格納する格納手段とを有することを特徴とす
る印刷制御装置。 4.前記格納手段は、前記判別手段により判別されたセ
グメントに対応する前記第2記憶手段の領域内の、前記
特定手段により特定された縦及び横方向の印刷位置に対
応する記憶位置に前記文字コードを格納することを特徴
とする特許請求の範囲第3項に記載の印刷制御装置。 5.複数のセグメント領域を有する第1記憶手段にパタ
ーン展開されたパターンデータを印刷手段に出力する方
法であって、1つのセグメント領域のパターンデータの
前記印刷手段への出力と、パターンデータの出力を終え
ている他のセグメント領域への次のセグメントパターン
展開とを並行して実行する印刷制御方法であって、 入力情報をセグメント単位の情報に変換し、複数ページ
分記憶可能な第2記憶手段に記憶する変換ステップと、 前記第2記憶手段に記憶されたセグメント単位の情報を
前記第1記憶手段にパターン展開する展開ステップとを
有し、 前記変換ステップは、 入力情報に文字コードが含まれる場合、その文字コード
がいずれのセグメントに属するかを文字コード毎に判別
する判別ステップと、 前記文字コードに対応する文字の縦及び横方向の印刷位
置を文字コード毎に特定する特定ステップと、 前記文字コードを、前記判別ステップにより判別された
セグメント領域に対応させて、且つ、前記特定ステップ
で特定された縦及び横方向の印刷位置に関連づけて前記
第2記憶手段に格納する格納ステップとを有することを
特徴とする印刷制御方法。 6.前記格納ステップは、前記判別ステップにより判別
されたセグメントに対応する前記第2記憶手段の領域内
の、前記特定手段により特定された縦及び横方向の印刷
位置に対応する記憶位置に前記文字コードを格納するこ
とを特徴とする特許請求の範囲第5項に記載の印刷制御
方法。(57) [Claims] A print control device for printing, by a printing unit, an image corresponding to the image data on a predetermined recording medium according to image data generated based on print data including a control code specifying a print position received from an external device. A plurality of page buffers having a plurality of segment areas divided for each print area position; and analyzing the received print data to determine a print position, and receiving the print data based on the print position. Storage means for allocating and storing the segment area at the corresponding position in the page buffer waiting for storage, and reading the print data from the first leading segment area in the page buffer waiting for image development,
The image data generated based on the print data is sequentially expanded in the output memory for each segment area in the page buffer.
Image developing means for developing output image data for a page; and printing in the output memory when output image data for one page developed by the image developing means is output to the printing unit. And a control unit for executing the image developing unit for the next page buffer in the area already output to the unit. 2. According to image data generated based on print data including a control code designating a print position received from an external device, an image corresponding to the image data is printed by a printing unit on a predetermined recording medium, and for each area position to be printed A print control apparatus having a plurality of page buffers each having a plurality of segment areas divided into a plurality of segment areas, the print control apparatus analyzing a received print data to determine a print position, and receiving the print data based on the print position. Storing the print data in the corresponding segment area in the page buffer waiting to store print data, and printing from the first leading segment area in the page buffer waiting to be developed. Read data,
The image data generated based on the print data is sequentially expanded in the output memory for each segment area in the page buffer.
An image expanding step of expanding output image data for a page; and outputting the one-page output image data expanded in the image expanding step to the printing unit, the printing in the output memory. A control step of executing the image developing step for the next page buffer in the area already output to the copy unit. 3. A print control apparatus for outputting pattern data developed in a first storage means having a plurality of segment areas to a printing means, comprising: outputting pattern data of one segment area to the printing means; and outputting the pattern data. A printing control device capable of executing in parallel the next segment pattern development to another segment area that has been completed, converting means for converting input information into segment unit information, and converting the segment unit information into a plurality of pages. A second storage unit capable of separately storing the information; and a development unit for performing pattern development on the segment unit information stored in the second storage unit in the first storage unit, wherein the conversion unit has a character code in the input information. If the character code is included, a determination unit that determines, for each character code, to which segment the character code belongs, Specifying means for specifying a vertical and horizontal printing position of a character corresponding to a character for each character code; and specifying the character code in association with the segment area determined by the determining means, and specifying the character code by the specifying means. The second and third printing positions in the vertical and horizontal directions.
A print control device, comprising: storage means for storing in a storage means. 4. The storage unit stores the character code in a storage position corresponding to the vertical and horizontal printing positions specified by the specifying unit, in an area of the second storage unit corresponding to the segment determined by the determination unit. 4. The print control device according to claim 3, wherein the print control device stores the print control information. 5. A method of outputting, to a printing unit, pattern data that has been subjected to pattern development in a first storage unit having a plurality of segment areas, comprising: outputting pattern data of one segment area to the printing unit; and outputting the pattern data. A print control method for executing the next segment pattern development to another segment area in parallel, wherein the input information is converted into segment unit information and stored in a second storage means capable of storing a plurality of pages. And converting the segment information stored in the second storage unit into a pattern in the first storage unit. The conversion step includes the steps of: A determination step of determining, for each character code, to which segment the character code belongs; A specifying step of specifying a vertical and horizontal printing position of the character for each character code; and the character code corresponding to the segment area determined in the determining step, and the vertical and horizontal positions specified in the specifying step. Storing the data in the second storage means in association with a print position in the horizontal direction. 6. The storing step stores the character code in a storage position corresponding to the vertical and horizontal printing positions specified by the specifying unit in an area of the second storage unit corresponding to the segment determined by the determining step. The print control method according to claim 5, wherein the print control method is stored.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9063515A JP2989778B2 (en) | 1997-03-17 | 1997-03-17 | Print control apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9063515A JP2989778B2 (en) | 1997-03-17 | 1997-03-17 | Print control apparatus and method |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62151514A Division JP2933928B2 (en) | 1987-06-19 | 1987-06-19 | Printing control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH1024637A JPH1024637A (en) | 1998-01-27 |
| JP2989778B2 true JP2989778B2 (en) | 1999-12-13 |
Family
ID=13231446
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9063515A Expired - Lifetime JP2989778B2 (en) | 1997-03-17 | 1997-03-17 | Print control apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2989778B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7181839B2 (en) * | 2003-01-14 | 2007-02-27 | Matsushita Electric Industrial Co., Ltd. | Method for producing a circuit board |
-
1997
- 1997-03-17 JP JP9063515A patent/JP2989778B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH1024637A (en) | 1998-01-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4995057B2 (en) | Drawing apparatus, printing apparatus, drawing method, and program | |
| US5136688A (en) | Print data processing apparatus for an image forming apparatus | |
| EP0684546B1 (en) | Printing apparatus, printing system, and a method for acquiring character resources of the printing system | |
| JP3667173B2 (en) | Image processing apparatus and image processing method | |
| EP0357383A2 (en) | Output apparatus | |
| JP3728076B2 (en) | Image input / output apparatus and method | |
| EP0467598B1 (en) | Image processing apparatus | |
| EP0977143B1 (en) | Band rasterization of print data | |
| JP2989778B2 (en) | Print control apparatus and method | |
| WO1992007720A1 (en) | Printing method in page printer | |
| US5731800A (en) | Output method and apparatus | |
| US6002848A (en) | Band-based printing control system | |
| JP2933928B2 (en) | Printing control device | |
| KR19990086291A (en) | Apparatus and method for printing data in multiple sheets | |
| JP3864520B2 (en) | Print processing apparatus and print processing method | |
| US6246795B1 (en) | Image processing apparatus and method | |
| JP2006154912A (en) | Document display and printing system, method and storage medium | |
| JP3315679B2 (en) | Image forming apparatus and page layout method | |
| JPH07323608A (en) | Printer device | |
| JP3651214B2 (en) | Print processing apparatus and print processing method | |
| JP4603731B2 (en) | Image forming apparatus and image forming method | |
| JP3029154B2 (en) | Image forming device | |
| JP2598125B2 (en) | Output control device | |
| JP2715475B2 (en) | Graphic output device | |
| JP2690567B2 (en) | Printing control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19990906 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071008 Year of fee payment: 8 |