JP2686741B2 - Margin area setting device - Google Patents

Margin area setting device

Info

Publication number
JP2686741B2
JP2686741B2 JP62144110A JP14411087A JP2686741B2 JP 2686741 B2 JP2686741 B2 JP 2686741B2 JP 62144110 A JP62144110 A JP 62144110A JP 14411087 A JP14411087 A JP 14411087A JP 2686741 B2 JP2686741 B2 JP 2686741B2
Authority
JP
Japan
Prior art keywords
margin
signal
data
output
area
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
Application number
JP62144110A
Other languages
Japanese (ja)
Other versions
JPS63309486A (en
Inventor
勝美 永田
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP62144110A priority Critical patent/JP2686741B2/en
Publication of JPS63309486A publication Critical patent/JPS63309486A/en
Application granted granted Critical
Publication of JP2686741B2 publication Critical patent/JP2686741B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/50Side-stop mechanisms

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Laser Beam Printer (AREA)
  • Exposure Or Original Feeding In Electrophotography (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、レーザプリンタ等のページプリンタにおけ
る用紙の余白領域設定装置に係り、特に各ページ毎に、
上マージンと下マージンとともに、必要に応じて中間マ
ージンを設け、夫々のマージン(余白)に挟まれる夫々
の文章書込み領域に、水平同期信号に同期して一走査ラ
インずつビデオメモリに転向された画像データをプリン
ト出力可能に構成されたページプリンタに用いる余白領
域設定装置に関する。 「従来の技術」 従来よりプリント速度の高速化と高分解能化を図る為
に、一頁分に相当する画像情報を、ビデオRAM等のメモ
リ内にイメージデータとして記憶しておき、これを各頁
毎のプリント指令に基づいてプリントアウトするように
構成した、レーザプリンタ等のページプリンタは公知で
あり、この種のページプリンタにおいては一般的に、上
下又は左右の余白部分の有無に拘らず、用紙の記録可能
全領域についてイメージデータとして記憶する構成、換
言すれば画像情報として記録すべき領域部分とともに、
マージン設定領域をも含めて記憶する構成を採る為に、
常に用紙の記録可能最大領域に相当する容量を有するメ
モリを用意しなければならず、コストアップにつながる
という問題を有していた。 かかる欠点を防止する為に、例えば特開昭61−167277
号に示すように、メモリ内には、上マージン設定領域を
記憶させずに、実際の画像情報のみをイメージデータと
して記憶しておき、その代わりに上マージンの設定分だ
けプリント開始信号の出力を遅らせておき、該上マージ
ン設定領域に対応する分だけ用紙が搬送された際に、メ
モリ内のデータを出力してプリントするように構成した
上マージン設定回路が提案されている。 その構成を第5図に基づいて簡単に設定するに、本設
定回路は、上マージン設定用レジスタ101と、該レジス
タ101内に設定したデータを、水平同期信号Lsに同期し
て減算するカウンタ102と、プリントアウトする用紙始
端が所定位置まで搬送されたことを検知する信号検出回
路103とを設け、該検出信号に同期して前記上マージン
設定用レジスタ101の上マージン値を初期設定するとと
もに、プリンタの一走査ラインの開始を示す水平同期信
号Lsに同期させてカウンタ102内の設定データを減算
し、該カウンタ内の設定データが0になった際に、プリ
ント開始信号Psを出力するようにした構成にしたもので
ある。 「発明が解決しようとする問題点」 かかる従来技術においては、用紙始端が所定位置まで
搬送されたことを検知する信号検出回路103よりの検出
信号に基づいてカウンタ102内の設定データを減算する
よう構成している為に、上マージン以外の余白部分の設
定を行う事が出来ず、極めて汎用性が乏しい。 即ち通常の印刷形式においては、上マージンに加えて
前もって用紙中に印刷された図形や写真等の上下両側に
夫々文章をプリントアウトする場合や、文章が途中で終
了した場合にその下端側に頁を打込む場合等が多々あ
り、前記従来技術ではこのような余白設定が不可能であ
る為に、その余白部分の全領域についても画像情報とと
もに、メモリ内にイメージデータとして記憶して置く必
要があり、尚容量の大きなメモリを必要とする。 本発明はかかる従来技術の欠点に鑑み、上マージンや
下マージン更には文節(文章書込み領域)間に余白(中
間マージン)を設ける場合においても、その間の余白領
域をメモリ内に記憶させる異なく、実際の画像情報のみ
をイメージデータとして記憶させる事が出来、これによ
り画像メモリ容量の大型化を避ける事が出来る余白領域
設定装置を提供する事を目的とする。 「問題点を解決する為の手段」 本発明の対象は、対応するページに、上マージンと下
マージンとともに、必要に応じて中間マージンを設け、
夫々のマージン(余白)に挟まれる夫々の文章書込み領
域に、水平同期信号に同期して一走査ラインずつビデオ
メモリに展開された画像データをプリント出力可能に構
成されたページプリンタに用いる余白領域設定装置であ
る。 即ち対応するページに、マージンが複数あるか又は/
及びマージンに挟まれる文書書込み領域が複数有するよ
うなプリンタ処理に適用されるものである。 そして本発明は、 前記夫々の文章書込み領域へプリント出力しているか
否かを判別して非プリント時に、言換えればマージン設
定時等の非プリント時に水平同期信号の割込みを受け付
ける割込み手段を有する点、 尚、該割込み手段は、前記水平同期信号の割込みを受
け付ける時間以外には、プリント終了信号を受け付け、
後記制御手段の一部をなすCPU側に送信させるように構
成するのがよい。 そしてこのような割込み手段は例えば後記するよう
に、アンド回路10とラッチ回路14を利用して所定時間域
のみ水平同期信号Lsの割込みを受け付けるよう構成した
割込み優先回路3とによる構成される。 該割込み手段により受け付けられた水平同期信号に基
づいてカウントを行うカウンタを設けた点、 尚、このようなカウンタは後記余白領域設定レジスタ
とともに外部メモリ内に形成する事が好ましい。 と、 該カウンタによりカウントされたデータが余白領域設
定レジスタ内に書込まれた設定データと一致した際に次
の文章書込み領域の画像データを出力させるとともに、 該夫々の文章書込み領域の画像データの出力中又は対
応する文章書込み領域の画像データの出力終了と同時に
次のマージン領域設定の為に、前記余白域設定レジスタ
内に書込まれた設定データを変更させる制御手段と からなる事を特徴とする。 尚、このような制御手段は、後記実施例に示すように
コントローラ内に組込んだCPU(中央処理装置)に加え
て、プリンタ及びビデオデータの各種制御回路から構成
される。 尚好ましい実施例においては、前記割込み手段で、水
平同期信号の割込みを受け付ける時間以外の時間を利用
して対応する文章書込み領域のの画像データの出力終了
信号を受け付け、該出力終了信号に基づいて余白領域設
定レジスタ内に書込まれた設定データを変更するのがよ
い。 「作用」 本発明は、第3図に示すように、余白領域A1、B1、C1
を含む文章形成領域A〜Cをブロック単位に分割し、該
ブロックA〜C毎に余白領域A1〜C1の設定と文章書込み
を行うものである。即ち各ブロックA〜C毎には必ず、
最初に余白領域A1〜C1が存在し(勿論余白領域A1〜C1が
全くない場合も在り得るので、この場合には余白領域設
定レジスタ内の設定データに0又は1の数値を入力して
おけば、あたかも余白領域A1〜C1が存在するのと同様に
考えられる。)次に文章書込み領域A2〜C2が存在(頁番
号を打込む場合にも頁番号としての余白領域C1が存在
し、又頁番号がない場合においても改頁信号等を利用出
来る。)するという前提で行う。 次に本発明の作用を第1図の制御回路、第2図に示す
フローチャート図及び第4図のタイムチャート図に基づ
いて行う。 イ、上マージンA1の設定(第1ブロックAの文章形成) 先ず余白領域設定レジスタ8に上マージンデータを入
力(STEP1)した後、図示しないホストコンピュータよ
りの指令に基づいてメモリ2(ビデオRAM)内に一頁分
の画像データを記憶させた後、プリンタ駆動信号Prを出
力する。(STEP2) そして該プリンタ駆動信号Prを、プリンタ制御回路5
が検知し、(STEP3)この検知によりプリント可能であ
れば用紙を所定の位置まで、プリンタ制御回路5よりの
信号に基づいて移動させ、所定の位置に達すると一旦用
紙の移動を止めプリント待期状態にした上で、プリント
起動要求信号Vrをプリンタ制御回路5よりCPU4に送信
し、そしてプリンタ制御回路5はCPU4からのプリント起
動信号Vsを出力を検知するまで待期する。CPU4がプリン
ト開始可能であればプリント起動信号Vsを出力し、プリ
ンタ制御回路5はこれを検知する事により水平同期信号
に同期して一走査ラインずつビデオメモリに展開された
画像データを出力して用紙にプリントさせる為、用紙送
り信号Ysを出力する事により用紙送りを開始し、更にビ
デオデータ制御回路6を介して駆動するレーザーダイオ
ード11及びポリゴンミラー12より光走査された走査ビー
ムを、一ライン走査毎に信号検出手段1で検知し、水平
同期信号Lsをプリント起動信号Vsの出力時のみ割込み手
段に出力する様AND回路10を介し出力する。 そしてこの状態では、非プリント状態(マージン設定
状態)である為に前記同期信号Lsは受け付けられ、該水
平同期信号Lsに基づいてカウンタ7内でカウントアップ
(STEP6)され、該カウントアップされたデータが余白
領域設定レジスタ8内に書込まれた設定データと一致し
た際にプリント起動信号Vsを出力OFF(STEP7)させ、メ
モリ2に記憶させた第1の文章書込み領域A2内の文章を
プリントさせるとともに、前記割込み手段3側で水平同
期信号Lsの割込みを拒否するとともにプリト終了信号を
受け付け可能にしておく。(STEP8) ロ、中間マージン(余白B1)の設定(第2ブロックBの
文章形成) 第1の文章書込み領域A内の文章のプリント終了と同
時に、用紙を搬送させた状態でその終了信号をビデオデ
ータ制御回路6を介してCPU4側に送信(STEP9)し、該
信号に基ずいてホストコンピュータ側より、余白領域設
定レジスタ8内に書込まれた設定データを中間余白デー
タに入力変更(STEP10,1)を行うとともにカウンタ7の
初期設定を行い(STEP11)、プリント起動信号Vsを出力
し、水平同期信号Lsの割込みを受けつけられる様に設定
し、一ライン走査毎に信号検出手段1で検知し、水平同
期信号Lsを割込み手段3側に出力し、以下前記と同様に
該水平同期信号Lsに基づいてカウンタ7内でカウントア
ップされ、中間余白領域A1〜C1の設定と第2の文章書込
み領域B2内の文章のプリントが行われる。 ハ、下マージンC1の設定(第3ブロックCの文章形成) 下マージンC1の設定についても頁打ちという第3の分
章書込み領域C2が存在する為に、基本的には前記と同様
であるが、頁打ちを行わない場合は、メモリ2(ビデオ
RAM)内の一頁分の画像データを出力を終了した時点
で、画像データを出力しない様にし実現出来る。 尚、前記説明よりあきらかな如く、プリント起動信号
Vsは文章書込み領域A2〜C2においてはビデオRAM2内の画
像データの出力起動信号であり、又余白領域A1〜C1にお
いては画像データの出力禁止信号として機能する。 「実施例」 以下、図面を参照して本発明の好適な実施例を例示的
に詳しく説明する。ただしこの実施例に記載されている
構成部分の寸法、材質、形状、その相対配置などは特に
特定的な記載がない限りは、この発明の範囲をそれのみ
に限定する趣旨ではなく、単なる説明例に過ぎない。 第1図乃至第4図はレーザプリンタに本発明を適用し
た実施例を示し、第1図は主としてコントローラ内の制
御回路を示すブロック図、第2図はその動作手順を示す
フローチャート図、第3図は用紙上の文章書込み領域と
余白位置の配置関係を示す説明図、第4図はタイムチャ
ート図である。尚、本実施例の動作手順は既に前記作用
の項で説明した為に、回路構成を中心に説明する。 第1図において、図上想像線で示す「イ」の部分はプ
リンタ本体で、レーザダイオード11より発振されたレー
ザビームをポリゴンミラー12により主走査方向に変向し
なら図示しない感光体ドラム上を光走査しながら、その
変向開始位置上に配置したフォトダイオード1(信号検
出手段)により、一走査(ドット)ライン毎の水平同期
信号Lsを増幅器13を介してコントローラ側のアンド回路
10に送信する光走査系と、前記光走査により感光体ドラ
ム上に書込まれた潜像を現像化して転写位置に搬送され
た用紙にトナー像を転写後定着する事により所定の画像
記録を行う静電写真部(図示せず)とからなるが、かか
る構成は本発明の主要部でない為に、その詳細な説明を
省略する。 一方、「ロ」の部分はコントローラの内部構成を示
し、ホストコンピュータよりの指令に基づいて所定の処
理を行うCPU4及び該CPU4を含めて制御手段を構成するプ
リンタ制御回路5とビデオデータ制御回路6、余白領域
設定レジスタ8とカウンタ7が形成された外部メモリ
9、アンド回路10とラッチ回路14を利用した所定時間域
のみ水平同期信号Lsの割込みを受け付けるよう構成した
割込み優先回路3と、画像データをイメージデータとし
て記憶させるビデオRAM2、及び該イメージデータをシリ
アルデータに変換するシリアルレジスタ15、及びインタ
ーフェース16とから構成される。 次にかかる各要素を回路としての作用を中心に詳細に
説明するに、 先ず余白領域設定レジスタ8に上マージンデータを入
力した後、図示しないホストコンピュータよりの指令に
基づいてビデオRAM2内に一頁分の画像データを記憶させ
た後、プリンタ駆動信号Prを出力する。 そして該プリンタ駆動信号Prを、プリンタ制御回路5
が検知し、この検知によりプリント可能であれば用紙を
所定の位置まで、プリンタ制御回路5よりの信号に基づ
いて移動させ、所定の位置に達すると一旦用紙の移動を
止めプリント待期状態にした上で、プリント起動要求信
号Vrをプリンタ制御回路5よりCPU4に送信し、そしてプ
リンタ制御回路5はCPU4からのプリント起動信号Vs出力
を検知するまで待期する。CPU4がプリント開始可能であ
ればプリント起動信号Vsを出力し、プリンタ制御回路5
はこれを検知する事により用紙にプリントさせる為、用
紙送り信号Ysを出力する事により用紙送りを開始し、更
にビデオデータ制御回路6を介して駆動するレーザーダ
イオード11及びポリゴンミラー12より光走査された走査
ビームを、より主走査方向に変向されながら図示しない
感光体ドラム上を光走査を行いながら、その変向開始位
置上に配置したフォトダイオード1により、一走査(ド
ット)ライン毎の水平同期信号Lsを増幅器13を介して、
アンド回路10に送信する。 アンド回路10ではCPU4よりプリンタ駆動信号Prが入力
されているときにのみ前記水平同期信号Lsをラッチ回路
14を介して割込み優先回路3に送信する。 割込み優先回路3では、CPU4よりプリント起動信号Vs
よりロウ信号が出力されているとき、言い換えれば非プ
リント状態にあるときにのみ前記同期信号Lsの割込みを
受け付け、該信号をCPU4を介して外部メモリ9に送信す
る。 外部メモリ9−内には、余白領域設定レジスタ8とと
もに、カウンタ7が設けられており、前記水平同期信号
Lsに基づいてカウンタ7をカウントアップし予めホスト
コンピュータよりCPU4を介して設定した余白領域設定レ
ジスタ8内の設定データと比較する。 この間前記用紙は図示しない感光体ドラムの回転とと
もに搬送が継続されており、余白領域A1(上マージン)
が形成される。 そして前記カウンタ7の数値が設定データと一致する
までカウントアップすると、プリント起動信号Vsの立上
がりにより割込み優先回路3の優先順位を変更して水平
同期信号Lsの割込みを禁止するとともに、プリント指示
信号Prをプリント制御回路5を介してビデオデータ制御
回路6に送信させ、ビデオRAM2内の画像情報データをシ
リアルレジスタ15によりシリアルデータに変換した後ビ
デオ制御回路6を介してレーザダイオード11のレーザビ
ームを変調し、図示しない感光体ドラムに像書込みを行
い、該感光体ドラムの転写位置で、余白領域Al(上マー
ジン)形成後の用紙上の第1の文章書込み領域A2に前記
像を順次転写し、所定の文章又は画像をプリントする。 次に第1の文章書込み領域A内の文章の書込みA1終了
と同時に、用紙を搬送させた状態でその終了信号をビデ
オデータ制御回路6を介してCPU4側に送信し、該信号に
基ずいてホストコンピュータ側より、余白領域設定レジ
スタ8内に書込まれた設定データを中間余白データに入
力変更を行うとともにカウンタ7の初期設定を行い、プ
リント起動信号Vsを出力し、水平同期信号Lsの割込を受
けつけられる様に設定し、一ライン走査毎にフォトダイ
オード1で検知し、水平同期信号Lsを割込み手段3側に
出力し、以下前記と同様に該水平同期信号Lsに基づいて
カウンタ7内でカウントアップされ、中間余白領域B1の
設定と第2の文章書込み領域B2内の文章のプリントが行
われる。 下マージンC1の設定についても同様であり、そして頁
打ち終了後、同様な操作手順で、次頁の文章形成が行わ
れる。 かかる実施例によれば前述した本発明の作用が円滑に
達成される。 「発明の効果」 以上記載した如く本発明によれば、水平同期信号が出
力されているページプリンタにおいて非プリント時(マ
ージン設定時)にのみ水平同期信号の割込みを受け付け
るよう構成するとともに、プリント中又はプリント終了
と同時に余白領域設定レジスタ内に書込まれた設定デー
タを変更可能に構成した為に、上マージンや下マージン
更には文節(文章書込み領域)間に余白(中間マージ
ン)を設ける場合においても、その間の余白領域をメモ
リ内に記憶させる事なく、実際の画像情報のみをイメー
ジデータとして記憶させる事が出来、これにより画像メ
モリ容量の大型化を避ける事が出来る等の種々の著効を
有す。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sheet margin area setting device for a page printer such as a laser printer, and more particularly, for each page.
In addition to the upper and lower margins, if necessary, an intermediate margin is provided, and in each text writing area sandwiched between the respective margins (margins), an image is transferred to the video memory one scanning line at a time in synchronization with the horizontal synchronization signal. The present invention relates to a margin area setting device used in a page printer configured to print out data. "Prior art" In order to increase the printing speed and resolution in the past, image information equivalent to one page is stored as image data in the memory such as video RAM, and each page is stored. A page printer such as a laser printer, which is configured to print out based on each print command, is known. In this type of page printer, the paper is generally irrespective of the presence or absence of upper and lower or left and right margins. Of the entire recordable area of the image data is stored as image data, in other words, together with the area portion to be recorded as image information,
In order to adopt the configuration that stores the margin setting area as well,
A memory having a capacity corresponding to the maximum recordable area of the paper must always be prepared, which causes a problem of cost increase. In order to prevent such a defect, for example, JP-A-61-167277.
In the memory, the upper margin setting area is not stored, only the actual image information is stored as image data, and instead, the print start signal is output only for the upper margin setting. There has been proposed an upper margin setting circuit configured to output the data in the memory and print it when the sheet is conveyed with a delay and when the sheet is conveyed by an amount corresponding to the upper margin setting area. In order to easily set the configuration based on FIG. 5, the present setting circuit includes an upper margin setting register 101 and a counter 102 that subtracts the data set in the register 101 in synchronization with the horizontal synchronizing signal Ls. And a signal detection circuit 103 for detecting that the paper starting end to be printed out has been conveyed to a predetermined position, and initializes the upper margin value of the upper margin setting register 101 in synchronization with the detection signal, The setting data in the counter 102 is subtracted in synchronization with the horizontal synchronization signal Ls indicating the start of one scanning line of the printer, and when the setting data in the counter becomes 0, the print start signal Ps is output. It is the one that is configured. "Problems to be Solved by the Invention" In such a conventional technique, the setting data in the counter 102 is subtracted based on a detection signal from a signal detection circuit 103 that detects that the leading edge of the sheet has been conveyed to a predetermined position. Since it is configured, it is not possible to set the margins other than the upper margin, and the versatility is extremely poor. That is, in the normal print format, in addition to the upper margin, when the text is printed out on the upper and lower sides of the figure, photograph, etc. printed in advance on the paper, or when the text ends halfway, the page at the lower end side is printed. In many cases, such as in the above-mentioned prior art, it is impossible to set such a margin, and therefore it is necessary to store the entire area of the margin together with the image information as image data in the memory. Yes, and still requires a large amount of memory. In view of the above-mentioned drawbacks of the conventional technique, the present invention makes it possible to store the margin area in the memory in the memory even when the margin (intermediate margin) is provided between the upper margin, the lower margin, and the clause (text writing area). It is an object of the present invention to provide a margin area setting device capable of storing only actual image information as image data and thereby avoiding an increase in image memory capacity. "Means for Solving Problems" The object of the present invention is to provide an upper margin and a lower margin and, if necessary, an intermediate margin on a corresponding page,
Set the margin area used for the page printer configured to print out the image data expanded in the video memory for each scan line in synchronization with the horizontal sync signal in each text writing area sandwiched between the margins. It is a device. That is, there are multiple margins on the corresponding page, or
Also, the present invention is applied to a printer process having a plurality of document writing areas sandwiched between margins. The present invention has an interrupting means for determining whether or not each of the text writing areas is printed out and receiving an interrupt of the horizontal synchronizing signal during non-printing, in other words, during non-printing such as margin setting. Incidentally, the interrupting means receives a print end signal at a time other than the time for accepting the interrupt of the horizontal synchronizing signal,
It is preferable to be configured to transmit to the CPU side which is a part of the control means described later. Such interrupt means is composed of, for example, an interrupt priority circuit 3 configured to receive an interrupt of the horizontal synchronizing signal Ls only in a predetermined time region by using an AND circuit 10 and a latch circuit 14 as described later. A counter is provided for counting based on the horizontal synchronizing signal received by the interruption means. It is preferable that such a counter is formed in an external memory together with a margin area setting register described later. When the data counted by the counter coincides with the setting data written in the margin area setting register, the image data of the next text writing area is output, and the image data of each text writing area is output. A control means for changing the setting data written in the margin area setting register for the next margin area setting at the same time as the output of the image data of the corresponding text writing area during the output is completed. To do. It should be noted that such control means is composed of a CPU (central processing unit) incorporated in a controller as shown in an embodiment described later, a printer, and various control circuits for video data. In a preferred embodiment, the interruption means accepts the output end signal of the image data of the corresponding text writing area by using a time other than the time for accepting the interruption of the horizontal synchronization signal, and based on the output end signal, It is recommended to change the setting data written in the margin area setting register. [Operation] The present invention, as shown in FIG. 3, has blank areas A1, B1, C1.
The text forming areas A to C including the area are divided into blocks, and the blank areas A1 to C1 are set and the text is written for each of the blocks A to C. That is, for each block A to C,
First, there are blank areas A1 to C1 (of course, there may be no blank areas A1 to C1 at all, so in this case, enter a numerical value of 0 or 1 in the setting data in the blank area setting register. , It is considered as if the blank areas A1 to C1 exist.) Next, the text writing areas A2 to C2 exist (the blank area C1 as the page number also exists when the page number is entered, and the page Even if there is no number, the page break signal etc. can be used.) Next, the operation of the present invention will be performed based on the control circuit shown in FIG. 1, the flow chart shown in FIG. 2 and the time chart shown in FIG. B. Setting the upper margin A1 (text formation of the first block A) First, after inputting the upper margin data (STEP1) to the margin area setting register 8, the memory 2 (video RAM) based on a command from the host computer not shown. After the image data for one page is stored therein, the printer drive signal Pr is output. (STEP2) Then, the printer drive signal Pr is sent to the printer control circuit 5
(STEP3) If the print is possible by this detection, the paper is moved to a predetermined position based on a signal from the printer control circuit 5, and once the predetermined position is reached, the paper movement is stopped and the print waiting period is reached. After setting the state, the print start request signal Vr is transmitted from the printer control circuit 5 to the CPU 4, and the printer control circuit 5 waits until the output of the print start signal Vs from the CPU 4 is detected. If the CPU 4 can start printing, the print start signal Vs is output. By detecting this, the printer control circuit 5 outputs the image data developed in the video memory one scan line in synchronization with the horizontal synchronizing signal. In order to print on paper, paper feed is started by outputting paper feed signal Ys, and the scanning beam optically scanned by laser diode 11 and polygon mirror 12 driven via video data control circuit 6 is scanned line by line. Then, the horizontal synchronizing signal Ls is detected by the signal detecting means 1 and output through the AND circuit 10 so that it is output to the interrupting means only when the print start signal Vs is output. In this state, the synchronizing signal Ls is accepted because it is in the non-printing state (margin setting state), and is counted up in the counter 7 based on the horizontal synchronizing signal Ls (STEP6), and the counted up data is When it matches the setting data written in the margin area setting register 8, the print start signal Vs is output OFF (STEP7), and the text in the first text writing area A2 stored in the memory 2 is printed. At the same time, the interruption means 3 rejects the interruption of the horizontal synchronizing signal Ls and allows the pre-finish signal to be accepted. (STEP8) B, Setting of the intermediate margin (margin B1) (text formation of the second block B) At the same time as the printing of the text in the first text writing area A is completed, the end signal is video-transmitted while the paper is being conveyed. It is transmitted to the CPU 4 side via the data control circuit 6 (STEP 9), and based on this signal, the host computer side changes the input of the setting data written in the margin area setting register 8 to the intermediate margin data (STEP 10, 1) is performed and the counter 7 is initialized (STEP 11), the print start signal Vs is output, and the horizontal synchronizing signal Ls is set to be able to receive an interrupt. , The horizontal synchronizing signal Ls is output to the interruption means 3 side, and thereafter, similarly to the above, the counter 7 is counted up based on the horizontal synchronizing signal Ls to set the intermediate margin areas A1 to C1 and the second text writing area. Statements in B2 The chapter is printed. C. Setting of lower margin C1 (formation of text of third block C) The setting of lower margin C1 is basically the same as the above because there is a third chapter writing area C2 called page-cutting. , Memory 2 (video
This can be realized by not outputting the image data when the output of the image data for one page in the RAM) is completed. As is clear from the above description, the print start signal
Vs is an output start signal of image data in the video RAM 2 in the text writing areas A2 to C2, and functions as an output prohibition signal of image data in the blank areas A1 to C1. Hereinafter, preferred embodiments of the present invention will be illustratively described in detail with reference to the drawings. However, the dimensions, materials, shapes, relative positions, etc. of the constituent parts described in this embodiment are not intended to limit the scope of the present invention thereto only unless there is a specific description, and are merely illustrative examples. Nothing more than. 1 to 4 show an embodiment in which the present invention is applied to a laser printer, FIG. 1 is a block diagram mainly showing a control circuit in a controller, FIG. 2 is a flow chart showing its operation procedure, and FIG. FIG. 4 is an explanatory diagram showing a layout relationship between a text writing area on a sheet and a margin position, and FIG. 4 is a time chart diagram. Since the operation procedure of this embodiment has already been described in the section of the above-mentioned action, the circuit configuration will be mainly described. In FIG. 1, a portion "A" shown by an imaginary line in the drawing is a printer main body, and if a laser beam oscillated by a laser diode 11 is deflected to a main scanning direction by a polygon mirror 12, a portion on a photosensitive drum (not shown) While scanning the light, the photodiode 1 (signal detection means) arranged on the turning start position of the horizontal synchronizing signal Ls for each scanning (dot) line is passed through the amplifier 13 to the AND circuit on the controller side by the amplifier 13.
The optical scanning system for transmitting to 10 and the latent image written on the photoconductor drum by the optical scanning is developed, and the toner image is transferred and fixed on the paper conveyed to the transfer position to thereby perform a predetermined image recording. An electrostatic photography section (not shown) is used, but since such a structure is not a main part of the present invention, its detailed description is omitted. On the other hand, the part "B" shows the internal configuration of the controller, and the CPU 4 that performs a predetermined process based on a command from the host computer and the printer control circuit 5 and the video data control circuit 6 that constitute the control means including the CPU 4. An external memory 9 in which a margin area setting register 8 and a counter 7 are formed, an interrupt priority circuit 3 configured to receive an interrupt of a horizontal synchronizing signal Ls only in a predetermined time period using an AND circuit 10 and a latch circuit 14, and image data Is stored as image data, a serial register 15 for converting the image data into serial data, and an interface 16. Next, in order to explain in detail the operation of each of these elements as a circuit, first, after inputting the upper margin data to the margin area setting register 8, one page is stored in the video RAM 2 based on a command from a host computer (not shown). After storing the minute image data, the printer drive signal Pr is output. Then, the printer drive signal Pr is sent to the printer control circuit 5
Is detected, and if printing is possible by this detection, the paper is moved to a predetermined position based on a signal from the printer control circuit 5, and once the predetermined position is reached, the movement of the paper is stopped and the print waiting state is set. Above, the print start request signal Vr is transmitted from the printer control circuit 5 to the CPU 4, and the printer control circuit 5 waits until it detects the print start signal Vs output from the CPU 4. If the CPU 4 can start printing, the print start signal Vs is output and the printer control circuit 5
In order to print on the paper by detecting this, the paper feed signal Ys is output to start the paper feed, and the laser diode 11 and the polygon mirror 12 which are driven via the video data control circuit 6 perform optical scanning. While the beam is further deflected in the main scanning direction while optically scanning the photosensitive drum (not shown), the photodiode 1 arranged at the deflection start position causes the horizontal synchronization signal for each scanning (dot) line. Ls via amplifier 13
Send to the AND circuit 10. The AND circuit 10 latches the horizontal synchronizing signal Ls only when the printer drive signal Pr is input from the CPU 4.
It is transmitted to the interrupt priority circuit 3 via 14. In the interrupt priority circuit 3, the CPU 4 sends the print start signal Vs
Only when the low signal is output, in other words, in the non-printing state, the interrupt of the synchronization signal Ls is accepted and the signal is transmitted to the external memory 9 via the CPU 4. In the external memory 9-, a counter 7 is provided together with the margin area setting register 8 and is provided with the horizontal synchronizing signal.
The counter 7 is counted up based on Ls and compared with the setting data in the margin area setting register 8 set in advance by the host computer via the CPU 4. During this time, the paper is continuously conveyed as the photoconductor drum (not shown) rotates, and the margin area A1 (upper margin)
Is formed. When the value of the counter 7 is counted up until it coincides with the setting data, the priority of the interrupt priority circuit 3 is changed by the rise of the print start signal Vs to prohibit the horizontal sync signal Ls from interrupting, and the print instruction signal Pr Is transmitted to the video data control circuit 6 via the print control circuit 5, the image information data in the video RAM 2 is converted into serial data by the serial register 15, and then the laser beam of the laser diode 11 is modulated via the video control circuit 6. Then, the image is written on a photosensitive drum (not shown), and the image is sequentially transferred to the first text writing area A2 on the paper after the margin area Al (upper margin) is formed at the transfer position of the photosensitive drum, Print a given text or image. Simultaneously with the end of writing A1 of the text in the first text writing area A, the end signal is transmitted to the CPU 4 side through the video data control circuit 6 while the paper is being conveyed, and based on the signal. From the host computer side, the setting data written in the margin area setting register 8 is input and changed to the intermediate margin data, the counter 7 is initialized, the print start signal Vs is output, and the horizontal synchronizing signal Ls is divided. Is set so as to receive the signal, the photodiode 1 detects it for each line scanning, and outputs the horizontal synchronizing signal Ls to the interrupt means 3 side. Then, in the same way as described above, the counter 7 is stored in the counter 7 based on the horizontal synchronizing signal Ls. Is counted up and the intermediate blank area B1 is set and the text in the second text writing area B2 is printed. The same applies to the setting of the lower margin C1, and after the page is finished, the sentence formation of the next page is performed by the same operation procedure. According to this embodiment, the operation of the present invention described above can be achieved smoothly. [Advantages of the Invention] As described above, according to the present invention, a page printer that outputs a horizontal synchronization signal is configured to accept an interrupt of the horizontal synchronization signal only during non-printing (when setting a margin), and during printing. Or when the margin data (intermediate margin) is provided between the upper margin, the lower margin, and the clause (text writing area) because the setting data written in the margin area setting register can be changed at the end of printing. Also, it is possible to store only the actual image information as image data without storing the blank area between them in the memory, which makes it possible to avoid the increase of the image memory capacity and various other remarkable effects. Have

【図面の簡単な説明】 第1図乃至第4図はレーザプリンタに本発明を適用した
実施例を示し、第1図は主としてコントローラ内の制御
回路を示すブロック図、第2図はその動作手順を示すフ
ローチャート図、第3図は用紙上の文章書込み領域と余
白位置の配置関係を示す説明図、第4図はタイムチャー
ト図である。 第5図は従来技術に係る上マージン設定回路を示すブロ
ック図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 to FIG. 4 show an embodiment in which the present invention is applied to a laser printer, FIG. 1 is a block diagram mainly showing a control circuit in a controller, and FIG. FIG. 3 is an explanatory view showing the arrangement relationship between the text writing area on the paper and the margin position, and FIG. 4 is a time chart. FIG. 5 is a block diagram showing an upper margin setting circuit according to the prior art.

Claims (1)

(57)【特許請求の範囲】 1.対応するページに、上マージンと下マージンととも
に、必要に応じて中間マージンを設け、夫々のマージン
(余白)に挟まれる夫々の文章書込み領域に、水平同期
信号に同期して一走査ラインずつビデオメモリに展開さ
れた画像データをプリント出力可能に構成されたページ
プリンタに用いる余白領域設定装置において、 前記夫々の文章書込み領域へプリント出力しているか否
かを判別して非プリント時に水平同期信号の割込みを受
け付ける割込み手段と、 該割込み手段により受け付けられた水平同期信号に基づ
いてカウントを行うカウンタと、 該カウンタによりカウントされたデータが余白領域設定
レジスタ内に書込まれた設定データと一致した際に次の
文章書込み領域の画像データを出力させるとともに、該
夫々の文章書込み領域の画像データの出力中又は対応す
る文章書込み領域の画像データの出力終了と同時に次の
マージン領域設定の為に、前記余白領域設定レジスタ内
に書込まれた設定データを変更させる制御手段と からなる事を特徴とする余白領域設定装置 2.前記割込み手段で、水平同期信号の割込みを受け付
ける時間以外の時間を利用して対応する文章書込み領域
の画像データの出力終了信号を受け付け、該出力終了信
号に基づいて余白領域設定レジスタ内に書込まれた設定
データを変更する事を特徴とする特許請求の範囲第1項
記載の余白領域設定装置
(57) [Claims] On the corresponding page, an upper margin and a lower margin as well as an intermediate margin are provided as needed, and a video memory is provided for each scanning line in each text writing area sandwiched by each margin (margin) in synchronization with the horizontal synchronization signal. In the margin area setting device used for the page printer configured to print out the image data expanded in the above, it is determined whether or not the image is printed out in each of the text writing areas, and the horizontal synchronization signal interrupts at the time of non-printing. Interrupting means for accepting, a counter for counting based on the horizontal synchronizing signal accepted by the interrupting means, and when the data counted by the counter coincides with the setting data written in the margin area setting register. The image data of the next text writing area is output and the image of each text writing area is output. A control means for changing the setting data written in the margin area setting register for the next margin area setting during the output of data or the output of the image data of the corresponding text writing area is completed. Characteristic margin area setting device 2. The interruption means accepts the output end signal of the image data of the corresponding text writing area by using a time other than the time of accepting the interruption of the horizontal synchronizing signal, and writes it in the margin area setting register based on the output end signal. The margin area setting device according to claim 1, wherein the stored setting data is changed.
JP62144110A 1987-06-11 1987-06-11 Margin area setting device Expired - Lifetime JP2686741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62144110A JP2686741B2 (en) 1987-06-11 1987-06-11 Margin area setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62144110A JP2686741B2 (en) 1987-06-11 1987-06-11 Margin area setting device

Publications (2)

Publication Number Publication Date
JPS63309486A JPS63309486A (en) 1988-12-16
JP2686741B2 true JP2686741B2 (en) 1997-12-08

Family

ID=15354418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62144110A Expired - Lifetime JP2686741B2 (en) 1987-06-11 1987-06-11 Margin area setting device

Country Status (1)

Country Link
JP (1) JP2686741B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60160264A (en) * 1984-01-31 1985-08-21 Toshiba Corp Control system of bit map memory
JP2617909B2 (en) * 1985-01-18 1997-06-11 松下電器産業株式会社 Laser printer device

Also Published As

Publication number Publication date
JPS63309486A (en) 1988-12-16

Similar Documents

Publication Publication Date Title
US4990965A (en) Image forming apparatus having duplex unit
JPH08295066A (en) Apparatus and method for forming image
US6023560A (en) Image forming apparatus accepting image data transmitted from a plurality of transmitters
JP2686741B2 (en) Margin area setting device
JPH0199364A (en) Composite copying system
US6473195B1 (en) Image forming apparatus and video data transmitting method therefor
JPH0263757A (en) Image processor
JP3120199B2 (en) Page printer
JP3685966B2 (en) Image forming apparatus
US5703455A (en) Control device for a stepping motor included in an electronic apparatus
US5402208A (en) Image forming apparatus where vibrations of the scanner do not affect the write operation
JP3537612B2 (en) Image forming system
JP3000494B2 (en) Double-sided image forming device
JP2003125125A (en) Display device for image processing apparatus
JPH04115667A (en) Picture recording device
JP3327568B2 (en) Communication device
JPS60214153A (en) Picture processor
JP3524152B2 (en) Image processing system, control method thereof, and image processing apparatus
JP2005066996A (en) Image forming apparatus, its controlling method, and control program
JP3421396B2 (en) Speed control method for electronic printing device
JP2885924B2 (en) Image forming device
JP3685965B2 (en) Image forming apparatus
JPH0738681A (en) Digital picture processing device
JP2000203126A (en) Imaging apparatus
JP2895485B2 (en) Video memory controller used for printer

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070822

Year of fee payment: 10