JPS61195865A - Printer-controlling system - Google Patents

Printer-controlling system

Info

Publication number
JPS61195865A
JPS61195865A JP60037899A JP3789985A JPS61195865A JP S61195865 A JPS61195865 A JP S61195865A JP 60037899 A JP60037899 A JP 60037899A JP 3789985 A JP3789985 A JP 3789985A JP S61195865 A JPS61195865 A JP S61195865A
Authority
JP
Japan
Prior art keywords
character
line
pointer
page
data
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.)
Granted
Application number
JP60037899A
Other languages
Japanese (ja)
Other versions
JPH0515551B2 (en
Inventor
Hitoshi Asai
人志 浅井
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.)
Usac Electronic Ind Co Ltd
Original Assignee
Usac Electronic Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Usac Electronic Ind Co Ltd filed Critical Usac Electronic Ind Co Ltd
Priority to JP60037899A priority Critical patent/JPS61195865A/en
Publication of JPS61195865A publication Critical patent/JPS61195865A/en
Publication of JPH0515551B2 publication Critical patent/JPH0515551B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate control of development of character data, by a system wherein character points for indicating the boundary between character data for the current page and character data for the next page are provided in each character line on a page buffer, at the time of a landscape mode operation. CONSTITUTION:A reading-controlling part 3 performs an access operation for reading character data from positions corresponding a scanning lien for the next printing. Line positions 1, 2, 3, ... are set on a line pointer 5. In a character pointer table 6, character pointers (d) indicating the data boundary between the current page and the next page are set for each line position (c). A blank region detecting part 4 takes out the character pointer (d) corresponding to the line position (c) in the line pointer 5 from the table 6, and detects the presence or absence of a blank region 1c. When the blank region is detected, a writing-controlling part 2 is started writing into the detected blank region the character data for the corresponding line on the next page, and the character pointers are shifted to new boundary positions.

Description

【発明の詳細な説明】 〔概要〕 レーザプリンタなどのライン走査方式のプリンタにおい
て1文字行が用紙の給送方向に並行に展開されるランド
スケープモードでの動作時に、ページバッファ内で印字
の進行により逐次空きとなる領域−1,印字動作と並行
して次ページ分の文字データを動的に展開してゆき、ペ
ージバッファへの文字データ書き込みによるオーバー−
17ドを滅少させる。
[Detailed Description of the Invention] [Summary] When operating in a landscape mode in which a line-scanning printer such as a laser printer develops one character line in parallel to the paper feeding direction, as printing progresses within the page buffer, Area that becomes empty one after another - 1, dynamically expands character data for the next page in parallel with printing operation, and overflows due to writing character data to the page buffer -
Destroy the 17-do.

〔産業上の利用分野] 本発明は、レーザあるいはτ吊ビームのプリンタ制御I
方弐に関するものであり1特にその中でもページバッフ
ァへ文字データを展開するための書き込み制御′11方
式に関する。
[Industrial Application Field] The present invention is a laser or τ suspended beam printer control I
In particular, the present invention relates to a write control '11 method for expanding character data to a page buffer.

〔従来の技術〕[Conventional technology]

第2図は、従来のレーザプリンタの1例の基本構成を示
したものである。
FIG. 2 shows the basic configuration of an example of a conventional laser printer.

第2図において、21はレーザプリンタ、22は印字制
御部、23はコードバッファ、24はべ一ジバ、ファ、
25は文字パターンテーブル、26はレーザ記録部を表
わしている。
In FIG. 2, 21 is a laser printer, 22 is a print control unit, 23 is a code buffer, 24 is a printer,
25 represents a character pattern table, and 26 represents a laser recording section.

ホストからレーザプリンタ21へ供給される印字データ
は、コマンドおよび文字コードで構成されており、印字
制御部22を経てコードバ・7フア23に格納される。
The print data supplied from the host to the laser printer 21 is composed of a command and a character code, and is stored in the code bar 23 via the print control section 22.

コードバッファ23は、たとえば2ペ一ジ分設けら机で
おり、11ゴのページのべみ出じと次のページの古き込
みとが私行して実行できるように構成されている。
The code buffer 23 is, for example, a desk provided with one page for two pages, and is configured so that the starting of the first page and the old entering of the next page can be executed independently.

ページバッファ24は、いわゆるイメージメモリであり
、プリンタの1ペ一ジ分の出力画面に対応させて、印字
すべき全文字のパターンデータが。
The page buffer 24 is a so-called image memory, and stores pattern data of all characters to be printed corresponding to one page of output screen of the printer.

それぞれの印字位置に格納されている。stored in each print position.

印字制御部22は、コードバッファ23から順次の文字
コードを読み出し、それを文字パターンテーブル25で
対応する文字パターンに変換して。
The print control unit 22 sequentially reads character codes from the code buffer 23 and converts them into corresponding character patterns using the character pattern table 25.

ページバッファ24の指定されているアドレスに書き込
む。
Write to the specified address of the page buffer 24.

ページバッファ24へ1ペ一ジ分の印字データの展開が
終了した後、レーザ記録部26へのデータ読み出しと記
録動作とが実行される。読み出しは、主走査方向(紙送
り方向に直角な方向)に。
After one page's worth of print data has been developed into the page buffer 24, data reading and recording operations to the laser recording section 26 are performed. Readout is in the main scanning direction (perpendicular to the paper feed direction).

ライン形式で行なわれる。It is done in line format.

ページバッファ24から1ペ一ジ分のデータが読み出さ
れ、その印字が完了すると、印字制御部22によって、
ページバッファ24に対する次のページ分の文字パター
ンの展開が実行される。
When data for one page is read from the page buffer 24 and printing is completed, the print control unit 22
Character patterns for the next page are expanded into the page buffer 24.

このようにして、連続するページの印字が行なわれる。In this way, consecutive pages are printed.

ところで1文字行の配列は3紙送り方向に対して直角な
場合と6並行な場合とがあり、前者はポートレートモー
ド、後者はランドスケープモードと呼ばれている。これ
らのモードは、同一の用紙サイズであっても、横長ある
いは縦長のように。
By the way, there are two types of arrangement of one character line: 3 perpendicular to the paper feeding direction and 6 parallel. The former is called portrait mode and the latter is called landscape mode. These modes can be used even if the paper size is the same, such as landscape or portrait.

使い方を変えられるように設けられている。It is set up so that its usage can be changed.

第3図(alおよび第3図(blは、それぞれホードレ
ートモードおよびランドスケープモードにおける。
FIG. 3(al) and FIG. 3(bl) are in hoard rate mode and landscape mode, respectively.

ページバッファ内の文字行配列を例示したものである。This is an example of the character line arrangement in the page buffer.

なお1図中の矢線は読み出しの走査ラインを示し、0.
1,2.3・・・、9は文字パターンの例を示している
Note that the arrows in Figure 1 indicate the readout scanning lines, and the 0.
1, 2, 3, . . . , 9 show examples of character patterns.

第3図+alのポートレートモードでは1文字行は読み
出し走査ラインの方向すなわち主走査方向と一敗してい
るから1紙送りに応じて順次の文字行が走査され印字さ
れる。
In the portrait mode shown in FIG. 3+al, one character line is in the same direction as the readout scanning line, that is, in the main scanning direction, so that successive character lines are scanned and printed as one sheet is fed.

しかし、第3図(blのランドスケープモードでは。However, in the landscape mode of Fig. 3 (bl).

文字行は紙送り方向(副走査方向)に配列されているか
ら、紙送りにつれて読み出しの走査ラインは、全文字行
の順次のキャラクタ位置を同時に次々と走査し、印字す
るようになっている。
Since the character lines are arranged in the paper feed direction (sub-scanning direction), as the paper feeds, the readout scanning line simultaneously scans and prints successive character positions in all the character lines.

ページバッファへの文字パターンの古き込みは。The character pattern is stale in the page buffer.

文字行にしたがって行なわれる。したがって、第3図(
alのポートレートモードでは行ごとに左から右へ、そ
して第3図(blのランドスケニブモードでは行ごとに
下から上へと書き込まれる。
It is done according to the character lines. Therefore, Fig. 3 (
Al's portrait mode writes line by line from left to right, and Figure 3 (bl's landscape mode writes line by line from bottom to top).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のページバッファを用いたプリンタでは。 For printers that use traditional page buffers.

1ページの印字が完全に終了してから次のページの文字
データをページバッファへ展開していた。
After the printing of one page was completely completed, the character data of the next page was developed into the page buffer.

このため、ページバッファへの文字データの展開処理の
時間がオーバーヘッドとなって、その間プリンタの印字
機構部は待ち状態となり、効率的でないという問題があ
った。
For this reason, the time required to develop character data into the page buffer becomes an overhead, and during this time the printing mechanism of the printer is in a waiting state, resulting in a problem of inefficiency.

この場合、ポートレートモードでは、ページバッファが
行ごとに印字が進行し、それとともに行ごとに1110
次空き領域が生じるため1 ブ”ノンタの印字動作と並
行して文字データをπ関するような制ilも比較的容易
に実現することができる。しかしランドスケープモード
では、ページバッファの空き領域が行ごとには生しない
ため1文字データの展開制御■が複雑となり、従来は容
易に実現することができなかった。
In this case, in portrait mode, the page buffer will print 1110 times per line as printing progresses line by line.
Since the next free area is generated, it is relatively easy to implement restrictions such as π-related character data in parallel with the printing operation of 1. , the expansion control of single character data becomes complicated and could not be easily realized in the past.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は5上記した従来のプリンタのランドスケープモ
ードにおける問題点を解決するため、ランドスケープモ
ード動作時に、ページバッファ上で文字行ごとに、現お
よび次ページの文字データ境界を示すキャラクタポイン
タを設けたものである。
In order to solve the above problems in the landscape mode of conventional printers, the present invention provides a character pointer that indicates the character data boundary of the current and next page for each character line on the page buffer when operating in the landscape mode. It is.

それにより1文字行ごとに現在の印字位置(キャラクタ
位置)とキャラクタポインタの位置とから空き領域を検
出して0次ページの対応行の文字データをその空き領域
に展開するとともに、現ページの文字データとの境界位
置にキャラクタポインタの値を決定し、印字の進行とと
もに以上の動作を繰り返す。そしてキャラクタポインタ
が行の璃に来たとき、その行における次ページの文字デ
ータの展開を終了するものである。
As a result, an empty area is detected for each character line from the current print position (character position) and the position of the character pointer, and the character data of the corresponding line of the 0th page is expanded into the empty area, and the characters of the current page are The value of the character pointer is determined at the boundary position with the data, and the above operations are repeated as printing progresses. When the character pointer reaches the edge of a line, the development of the next page's character data in that line is completed.

第1図は1本発明の原理を示すブロック図である0図に
おいて、1はページバッファ、2は書き込み制御部、3
は読み出し制御部、4は空き領域検出部、5は行ポイン
タ、6はキャラクタポインタテーブルを表わしている。
FIG. 1 is a block diagram showing the principle of the present invention. In FIG. 1, 1 is a page buffer, 2 is a write control unit, and 3 is a block diagram showing the principle of the present invention.
4 represents a read control unit, 4 represents a free area detection unit, 5 represents a line pointer, and 6 represents a character pointer table.

ページバッファl内の番号■、■、■、・・・で示す縦
の行は、ランドスケープモードにおける文字行であり、
またlaの白い領域は現ページ分の未印字データ領域、
lbのクロス領域は次発−ジ分の展開済みデータ領域、
lcの斜線領域は空き領域、そしてldは現在の印字位
置を示す。
Vertical lines indicated by numbers ■, ■, ■, ... in page buffer l are character lines in landscape mode,
Also, the white area of la is the unprinted data area for the current page,
The cross area of lb is the expanded data area for the next-2 minutes,
The shaded area of lc is an empty area, and ld indicates the current printing position.

書き込み制御部2は、ページバッファlの指定された位
置への文字データの書き込みアクセス動作を実行する。
The write control unit 2 executes a write access operation of character data to a designated position of the page buffer l.

読み出し制御部3は1次の印字のだめの走査ラインに対
応する位置から文字データを読み出すアクセス動作を実
行する。
The read control unit 3 executes an access operation to read character data from a position corresponding to a scanning line of the primary printout.

行ポインタ5には、空き領域検出部4が検出動作を行な
う順次の行位置■、■、■、・・・が設定される。
The line pointer 5 is set with sequential line positions (■, ■, ■, . . . ) at which the empty area detecting section 4 performs the detection operation.

キャラクタポインタテーブル6には、各行位置(■、■
、■、・・・)ごとの現ページと次ページのデータ境界
を示すキャラクタポインタが設定されている。
In the character pointer table 6, each line position (■, ■
, ■, . . . ), a character pointer is set to indicate the data boundary between the current page and the next page.

空き領域検出部4は、キャラクタポインタテーブル6か
ら1行ポインタ5の行位置に対応するキャラクタポイン
タを取り出し、これを読み出し制御部3から得た現在の
印字位置1dと比較することにより、空き領域1cの有
無を検出する。
The free area detection unit 4 retrieves the character pointer corresponding to the line position of the one-line pointer 5 from the character pointer table 6, and compares this with the current print position 1d obtained from the readout control unit 3, thereby determining the free area 1c. Detect the presence or absence of.

空き領域が検出された場合には、書き込み制御部2を起
動して、その検出した空き領域へ次のページの当該行の
文字データを書き込ませ、キャラクタポインタを新しい
境界位置に変更する。
If a free area is detected, the write control section 2 is activated to write the character data of the relevant line of the next page into the detected free area, and the character pointer is changed to a new boundary position.

このような動作を、印字動作と並行して1行ポインタ5
を更新しながら実行し1条件のキャラクタポインタが全
て最下端に達したときに、ページの更新が完了する。
This operation is performed in parallel with the printing operation by moving the line pointer 5.
is executed while updating, and when all the character pointers for one condition reach the bottom end, the page update is completed.

〔作用〕[Effect]

第4図は1本発明によるページバッファ更新料tall
の手順を具体例で示したものである0図中の矢印は現在
の印字位置を示し、短いバーマークはキャラクタポイン
タ位置を示している。また■ないし■は行番号であり1
次ページの文字データは各行とも“0.1,2.・・・
、9“である。
Figure 4 shows the page buffer update fee according to the present invention.
The arrow in the figure shows the current printing position, and the short bar mark shows the character pointer position. Also, ■ or ■ is the line number and is 1
The character data on the next page is "0.1, 2..." for each line.
, 9".

図fatは現ページの印字開始状態を示し、空き領域は
なく、キャラクタポインタは全て始端にある。
The diagram "fat" shows the printing start state of the current page, there is no empty area, and all character pointers are at the starting edge.

ロー)は行■で空き領域が検出され1次ページの文字デ
ータ“789°が展開された状態である。
Row) is a state in which an empty area is detected in line ■ and the character data "789°" of the primary page is expanded.

゛ 図(C)は行■で空き領域が検出され1次ページの
文字データ“6789°が展開された状態である。
゛ Figure (C) shows a state in which a free space is detected in line ① and the character data ``6789°'' of the primary page is expanded.

以下同様に図(C1,(d+、 (elと進み、−巡し
て図(f)で再び行■に戻ったとき、キャラクタポイン
タ位置との間に空き領域が検出され2次ページの文字デ
ータ“123456”が追加展開される。
In the same way, when proceeding as shown in the figure (C1, (d+, (el), -, and returning to line ■ again in figure (f), an empty area is detected between the character pointer position and the character data of the secondary page “123456” is additionally expanded.

以下同様にして図(glの状態を経て最終的に図(hl
の壮健で次ページの全文字テ′−夕の展1;?1が完了
する。
Thereafter, in the same way, the state of figure (gl) is reached, and finally figure (hl
In good health, all the characters on the next page are shown in the evening exhibition 1;? 1 is completed.

〔実施例〕〔Example〕

第5図は1本発明の1実施例装置の要部構成を示し、第
6図はその制御lフローを示している。
FIG. 5 shows the main structure of an apparatus according to an embodiment of the present invention, and FIG. 6 shows its control flow.

第5図において、1はページバッファ、2は書き込の制
御部、3は読み出し’H1’t、111部、4は空き領
域検出部、5は行ポインタ、6はキャラクタポインタテ
ーブル、7は展開制御カウンタ、8は印字位置記憶部、
9は比較・制御部、また1aは現ページ分の未印字デー
タ領域、1bは次ページ分の展開済みデータ領域、lc
は空き領域、ldは現在の印字位置を表わしている。
In FIG. 5, 1 is a page buffer, 2 is a write control unit, 3 is a read 'H1't, 111 parts, 4 is a free area detection unit, 5 is a line pointer, 6 is a character pointer table, and 7 is an expansion control counter; 8 is a print position storage unit;
9 is a comparison/control unit, 1a is an unprinted data area for the current page, 1b is an expanded data area for the next page, lc
indicates an empty area, and ld indicates the current printing position.

ここで展開制御カウンタ7は次ページ分の文字行を先頭
文字(図のページバッファ上では下端)から−文字ずつ
ポイントして、その文字がページバッファ上の空き領域
にかかるかどうかを調べるために用いられる。また印字
位置記憶部8は、空き領域検出動作開始時(行などの)
における印字位置5すなわち空き6a域Iこの先頭値で
であって次ページデータ展開後は展開済みデータ領域1
bの先頭位置となる位置を保持しておくために使用され
る。
Here, the expansion control counter 7 points to the next page's worth of character lines starting from the first character (lower end on the page buffer in the figure) character by character, and checks whether that character spans the free space on the page buffer. used. In addition, the print position storage unit 8 is
Printing position 5, that is, empty area 6a area I. With this first value, after the next page data is developed, it will be the developed data area 1.
It is used to hold the starting position of b.

以下、第6図の制御フローのステップ■ないし8にした
がって、第5図の実施例装置の動作を説明する。なお、
ランドスケープモードが設定されているものとする。
The operation of the embodiment apparatus shown in FIG. 5 will be described below in accordance with steps ① to 8 of the control flow shown in FIG. In addition,
Assume that landscape mode is set.

■初期設定において、キャラクタポインタテーブル6に
、各文字行ごとのキャラクタポインタの値として1行の
印字幅(α。とする)を設定する。また1行ポインタ5
には第1行目を設定し。
(2) In the initial setting, the printing width of one line (assumed to be α) is set in the character pointer table 6 as the value of the character pointer for each character line. Also one line pointer 5
Set the first line to .

展開制御カウンタ7および印字位置記憶部8は0にクリ
アされる。
The development control counter 7 and print position storage section 8 are cleared to zero.

■比較・制御部9は1行ポインタ5でキャラクタポイン
タテーブル6をひき、対応する行のキャラクタポインタ
(最初はα。であり、更新した後はαとする)を読み出
し、また読み出し制御部から出力される現在の印字位置
1dの値(領域1aの幅で、ここではβとする)と、展
開制御カウンタ7の値(ここではγ上する。ただし最初
はr=o)とを用いて1次ページの文字データが展開可
能かどうかを調べる。具体的にはページバッファ1中に
β<7<αの領域、すなわち空き領域1cを検出したと
き、書き込み制御部2に指示して1次ページ文字データ
を展開させる。
■The comparison/control unit 9 searches the character pointer table 6 with the one-row pointer 5, reads out the character pointer of the corresponding line (initially α, and after updating, α), and outputs it from the read control unit. The value of the current printing position 1d (width of the area 1a, here assumed to be β) and the value of the development control counter 7 (increased by γ here, however, initially r=o) are used to Checks whether the page's character data can be expanded. Specifically, when an area where β<7<α, that is, an empty area 1c, is detected in the page buffer 1, the writing controller 2 is instructed to develop the primary page character data.

この場合、最初のためβ〉Tであるから、■へ移る。In this case, since it is the first time, β>T, so move on to ■.

01行の終了かどうかを調べる。終了していれば■へ移
るが、この場合は終了していないので■へ移る。
Check whether line 01 ends. If it has finished, move to ■, but in this case, since it has not finished, move to ■.

■展開制1ffUカウンタフの値を1文字分プラスする
(すなわち、β−β+1)、その後■へ戻り。
■Add one character to the value of the expansion system 1ffU counter (that is, β-β+1), then return to ■.

β〉Tの間繰り返す。Repeat for β>T.

■現在の印字位置βを印字位置記憶部に設定する。■Set the current print position β in the print position storage section.

これは1文字データ展開操作中も印字位置は変化するの
で、展開の間基準位百を記憶しておくためである0次に
[F]に移る。
This is because the printing position changes even during one-character data expansion operation, so move to the 0th order [F] to store the reference position 100 during expansion.

[F]Tの値を書き込み制御部2に通知し1次ページ分
の文字データ中の位Erにある文字データをページバッ
ファ1に展開させる0次に■に移る。
[F] The value of T is notified to the write control unit 2, and the process moves to the 0th order (2), where the character data at position Er in the character data for the first page is developed in the page buffer 1.

■展開制j11カウンタ7を+1する(r−r+1)。■Increase the expansion system j11 counter 7 by 1 (rr+1).

次に■に移る。Next, move on to ■.

■キャラクタポインタαと更新されたγとを比較し、r
=αすなわち空き領域1cが終ったことを検出したとき
、■へ移る。他の場合は[F]へ戻り、′!fL<文字
データの展開を操り返す。
■ Compare character pointer α and updated γ, and r
=α, that is, when it is detected that the free area 1c has ended, the process moves to ■. In other cases, return to [F] and '! fL<Return the expansion of character data.

■キャラクタポインタテーブル6の当!亥行エンド  
リを、先に印字位置記憶部8に記憶しておいて。
■Character pointer table 6 win! boi line end
is stored in the print position storage section 8 first.

βの値で更新する(α−β)0次に■に移る。Update with the value of β (α-β) 0 Next, move to ■.

0行ポインタ5の値を調べて最終行であるかどうかを調
べる。最終行であれば■に移る。この場合は最終行では
ないので■へ移る。
The value of the 0th line pointer 5 is checked to see if it is the last line. If it is the last line, move to ■. In this case, it is not the last line, so move to ■.

0行ポインタを+1し9次の行について空き領域積出を
行なうための状態を設定する。すなわち。
The 0th row pointer is incremented by 1 and the state for performing free area accumulation for the 9th row is set. Namely.

キャラクタポインタテーブル6から次のキャラクタポイ
ンタを読み出し、また展開制御カウンタ7をクリアする
0次に■へ戻る。再び■では。
The next character pointer is read from the character pointer table 6, and the development control counter 7 is cleared again. ■See you again.

以上の動作が順次の行について繰り返される。The above operation is repeated for successive rows.

Oこのようにして最終行に達したとき、■から0へ移り
、0で■へ移る。
O When the last line is reached in this way, it moves from ■ to 0, and at 0 it moves to ■.

0行ポインタ5を第1行目に設定し、そのキャラクタポ
インタを読み、r=oにクリアして■へ戻る。■で第2
逆目の展開制御〕1を開始する。
Set the 0-line pointer 5 to the first line, read the character pointer, clear r=o, and return to (2). ■Second
Start reverse eye development control] 1.

このようにして、β〉Oの間、何巡も繰り返しβ−〇と
なったときすなわち1行の先頭文字位置まで印字された
とき、■で終了する。
In this way, the process is repeated many times while β>O, and when it becomes β-0, that is, when the first character position of one line has been printed, the process ends at ■.

(発明の効果) 以上述べたように本発明によれば、ランドケープモード
において、単一のベージバッファ上に。
(Effects of the Invention) As described above, according to the present invention, in landscape mode, on a single page buffer.

現ページの印字動作と並行して、逐次空き領域を検出し
ながら1次ページの文字データが動的に展開されてゆく
ため、ハードウェア量の大きな増加なしにベージデータ
の展開によるオーバーへラドをほとんどなくすことがで
き1 プリンタの動作速度を上げることができる。
In parallel with the printing operation of the current page, the character data of the primary page is dynamically expanded while sequentially detecting free space, so overload due to expansion of page data can be avoided without significantly increasing the amount of hardware. 1 The operating speed of the printer can be increased.

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

第1図は本発明の原理的構成図、第2図は本発明が適用
可能なレーザプリンタの1例を示す構成図、第3図fa
)および第3図(blはそれぞれポートレートモードお
よびランドスケープモードの説明図。 第4図は本発明によるページバッファ更新制御の具体例
による説明図、第5図は本発明の1実施例装置の構成図
、第6図は第5図に示す実施例装置の制御フロー図であ
る。 第1図において、1はページバッファ、2は書き込み制
御部、3は読み出し制御部、4は空き領域検出部、5は
行ポインタ、6はキャラクタポインタテーブル、laは
現ページ分の未印字データ領域、1bは次発−ジ分の展
開済みデータ領域。 lcは空き領域、ldは現在の印字位置を表わしている
。 特許出願人  ユーザンク電子工業株式会社代理人弁理
士 長谷用 文 廣(外2名);丈で−ジスキテ一タ イーに≦明り4七C白つl14覧 $1[2ル −r7aりンタ/)も吐、ダX 4う  2  Cワ Δ(遇≦l111にょうへ一−シフ117丁更章炸制イ
卸り異6F侶り躬 4 図 本プ多情Q 実j台イIり身’ 、X 横A’第 5 
の 突軸例IASの」伽)〇− 第 6 図
Fig. 1 is a basic configuration diagram of the present invention, Fig. 2 is a configuration diagram showing an example of a laser printer to which the present invention can be applied, and Fig. 3 fa
) and FIG. 3 (bl is an explanatory diagram of portrait mode and landscape mode, respectively. FIG. 4 is an explanatory diagram of a specific example of page buffer update control according to the present invention, and FIG. 5 is a configuration of an apparatus according to one embodiment of the present invention. 6 is a control flow diagram of the embodiment device shown in FIG. 5. In FIG. 1, 1 is a page buffer, 2 is a write control section, 3 is a read control section, 4 is an empty area detection section, 5 is a line pointer, 6 is a character pointer table, la is an unprinted data area for the current page, 1b is an expanded data area for the next page, lc is an empty area, and ld is the current print position. .Patent applicant Usank Electronics Industry Co., Ltd. Representative Patent attorney Fumihiro Hase (2 others) Also, da A' No. 5
Example of a protruding axis in IAS) 〇- Figure 6

Claims (1)

【特許請求の範囲】 ページバッファと、該ページバッファへの文字データ展
開を制御する書き込み制御部と、ページバッファからの
ライン形式による文字データ読み出しを制御する読み出
し制御部とを有し、紙送り方向と平行に文字行を配列す
るランドスケープモードで動作することが可能なプリン
タにおいて、上記ランドスケープモードでの動作時に、
ページバッファ内で空き領域を検出する1つの行位置を
指示する行ポインタと、各行ごとの現ページデータと次
ページデータの境界位置を指示する複数のキャラクタポ
インタを含むキャラクタポインタテーブルと、空き領域
検出部とを設け、 上記空き領域検出部は、上記行ポインタが指示する行位
置を順次進めるとともに、それぞれの行位置においてキ
ャラクタポインタテーブルから対応するキャラクタポイ
ンタを取り出し、取り出したキャラクタポインタと、上
記読み出し制御部から取り出した現在の印字位置とを比
較し、空き領域が検出されたとき上記書き込み制御部を
起動して上記検出された空き領域に次ページの文字デー
タを展開させ、展開終了後、キャラクタポインタテーブ
ル内の当該キャラクタポインタを新しい境界位置に対応
させて更新することを特徴とするプリンタ制御方式。
[Scope of Claims] It has a page buffer, a write control section that controls character data expansion to the page buffer, and a read control section that controls reading of character data in line format from the page buffer, In a printer that can operate in a landscape mode that arranges character lines in parallel with the
A character pointer table that includes a row pointer that indicates the position of one row for detecting free space in the page buffer, and multiple character pointers that indicate the boundary position between the current page data and the next page data for each row, and free space detection. The free area detecting unit sequentially advances the line position indicated by the line pointer, extracts a corresponding character pointer from the character pointer table at each line position, and uses the extracted character pointer and the readout control unit. When an empty area is detected, the write control unit is activated to develop the next page's character data in the detected empty area, and after the expansion is completed, the character pointer is A printer control method characterized by updating a character pointer in a table in correspondence with a new boundary position.
JP60037899A 1985-02-27 1985-02-27 Printer-controlling system Granted JPS61195865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60037899A JPS61195865A (en) 1985-02-27 1985-02-27 Printer-controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60037899A JPS61195865A (en) 1985-02-27 1985-02-27 Printer-controlling system

Publications (2)

Publication Number Publication Date
JPS61195865A true JPS61195865A (en) 1986-08-30
JPH0515551B2 JPH0515551B2 (en) 1993-03-01

Family

ID=12510384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60037899A Granted JPS61195865A (en) 1985-02-27 1985-02-27 Printer-controlling system

Country Status (1)

Country Link
JP (1) JPS61195865A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63224952A (en) * 1987-03-14 1988-09-20 Brother Ind Ltd Printer of raster scan system
JPS63317349A (en) * 1987-06-19 1988-12-26 Canon Inc Printer
US5174668A (en) * 1989-04-01 1992-12-29 Sharp Kabushiki Kaisha Printer capable of vertical and lateral writing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63224952A (en) * 1987-03-14 1988-09-20 Brother Ind Ltd Printer of raster scan system
JPH0780319B2 (en) * 1987-03-14 1995-08-30 ブラザー工業株式会社 Raster-scan method printer
JPS63317349A (en) * 1987-06-19 1988-12-26 Canon Inc Printer
US5174668A (en) * 1989-04-01 1992-12-29 Sharp Kabushiki Kaisha Printer capable of vertical and lateral writing

Also Published As

Publication number Publication date
JPH0515551B2 (en) 1993-03-01

Similar Documents

Publication Publication Date Title
US4300206A (en) Flexible text and image generator for a raster printer
CA1100644A (en) Raster printer with sufficient printing flexibility
KR960003340B1 (en) Label printer and label printing method
JPS61195865A (en) Printer-controlling system
EP0435190A2 (en) Dot printer
JPH0330977A (en) Page printer control system
JP3246142B2 (en) Printing control device
JPH078584B2 (en) Character generator for double-sided printing
US5878200A (en) Document processing apparatus for displaying inputted data in a print area based upon the size of a recording material and the reprinted data printed thereon
JP2908571B2 (en) Page printer
JPS6166657A (en) Generating device of character for two-side print
US5408592A (en) Printer having a data output time controller
JPH0230565A (en) Small set printing system
JPH01160665A (en) Printer
JPH03197064A (en) Dot printer
JPH09300755A (en) Printing apparatus
JPH01157866A (en) Printer controller
JP2685724B2 (en) Document processing method
JPH0596811A (en) Printing method
JPH0564938A (en) Printer
JPH0330974A (en) Page printer control system
JPS6356476A (en) Printer controller
JPH05162366A (en) Thermal recording device
JPH02194977A (en) Apparatus for forming of image
JPH05162363A (en) Thermal recording device