JPH0519472B2 - - Google Patents

Info

Publication number
JPH0519472B2
JPH0519472B2 JP58032830A JP3283083A JPH0519472B2 JP H0519472 B2 JPH0519472 B2 JP H0519472B2 JP 58032830 A JP58032830 A JP 58032830A JP 3283083 A JP3283083 A JP 3283083A JP H0519472 B2 JPH0519472 B2 JP H0519472B2
Authority
JP
Japan
Prior art keywords
page
data
printer
input
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58032830A
Other languages
Japanese (ja)
Other versions
JPS59159368A (en
Inventor
Kunio Okada
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58032830A priority Critical patent/JPS59159368A/en
Publication of JPS59159368A publication Critical patent/JPS59159368A/en
Publication of JPH0519472B2 publication Critical patent/JPH0519472B2/ja
Granted 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
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/36Blanking or long feeds; Feeding to a particular line, e.g. by rotation of platen or feed roller
    • B41J11/42Controlling printing material conveyance for accurate alignment of the printing material with the printhead; Print registering
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/36Hydrogen production from non-carbon containing sources, e.g. by water electrolysis

Landscapes

  • Handling Of Sheets (AREA)
  • Handling Of Cut Paper (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 技術分野 本発明はホストコンピユータからのコードデー
タを受信し、ページ毎にプリントを行うプリンタ
に画像信号を出力するプリンタ制御装置に関す
る。
TECHNICAL FIELD The present invention relates to a printer control device that receives code data from a host computer and outputs image signals to a printer that prints pages page by page.

従来技術 従来、文字単位で記録を行う記録装置(シリア
ルプリンタ)および行単位で記録を行う記録装置
(ラインプリンタ)においては、記録装置が改ペ
ージ命令を受取ると、記録用紙1ページに記録可
能な最大行数に達するまで、行カウンタをカウン
トアツプしつつ無条件に行単位の紙送り動作を繰
返し、その最大行数に達したときに改ページ処理
を行つていた。あるいは、記録装置内に配置され
たキヤリジテープと呼ばれる用紙位置検知用およ
び行スキツプ制御用の紙テープを用いて、次の用
紙の先頭位置マークを検知するまで紙送りと対応
させてキヤリジテープを動かし、改ページ処理を
行つていた。
Conventional technology Conventionally, in a recording device that records character by character (serial printer) and a recording device that records line by line (line printer), when the recording device receives a page break command, it is possible to record on one page of recording paper. Until the maximum number of lines is reached, the line counter is counted up and the paper feed operation is repeated line by line unconditionally, and when the maximum number of lines is reached, a page break process is performed. Alternatively, using a paper tape called a carriage tape placed inside the recording device for paper position detection and line skip control, the carriage tape is moved in correspondence with paper feed until the start position mark of the next paper is detected, and the page is broken. It was being processed.

さらに、1ページ単位で記録動作を行う記録装
置(ページプリンタ)、例えば、レーザビームプ
リンタにおいては、1ページ分のデータを貯える
ページバツフアを有し、改ページ命令の入力によ
つてそのページバツフアを閉じ、紙送り機構を起
動して一定速度で用紙を送り、貯えた1ページ分
のデータについて記録を開始するようにしてい
た。
Furthermore, a recording device (page printer) that performs a recording operation on a page-by-page basis, such as a laser beam printer, has a page buffer that stores data for one page, and closes the page buffer by inputting a page feed command. The paper feed mechanism was activated, the paper was fed at a constant speed, and the recording of one page's worth of stored data was started.

特に、データ供給源として記録装置とは別に設
けられたホストコンピユータから記録装置に一連
の記録データを転送して記録を行う場合には、一
般に、ホストコンピユータは記録装置の印字位置
を確認できないので、その一連の記録データを転
送する直前に、記録装置に対して無条件に改ペー
ジを指令して、確実に用紙の先頭から記録させる
ようにしている。
In particular, when recording is performed by transferring a series of recording data from a host computer installed separately from the recording device as a data supply source to the recording device, the host computer generally cannot confirm the printing position of the recording device. Immediately before transferring the series of recording data, the recording device is unconditionally commanded to change the page to ensure that recording starts from the beginning of the paper.

しかしながら、従来の記録装置においては、改
ページ命令入力時点において記録すべきデータの
有無にかかわらず改ページ処理を行うので、改ペ
ージ直前の用紙1ページの排出後に記録装置に記
録すべきデータが送出されておらず記録に直接関
係のない改行命令、文字セツト切替命令等の制御
命令のみが送出されている場合、また前の用紙1
ページの排出後全くデータが送出されて来ない場
合には、記録装置が改ページ命令を受付けると記
録すべきデータがない不要のページが出力される
問題点があつた。
However, in conventional recording devices, a page break process is performed regardless of whether or not there is data to be recorded at the time a page break command is input, so the data to be recorded in the recording device is sent out after the first page of paper immediately before the page break is ejected. If the previous sheet 1 is
If no data is sent after a page is ejected, there is a problem in that when the recording device receives a page change command, an unnecessary page with no data to be recorded is output.

さらに、同一のページを指定枚数分出力するい
わゆるコピー機能を有する記録装置においては、
不要の用紙が指定数枚分排出される問題点があつ
た。
Furthermore, in recording devices that have a so-called copy function that outputs a specified number of identical pages,
There was a problem where a specified number of unnecessary sheets of paper were ejected.

目 的 本発明は、かかる従来の問題点に鑑みてなされ
たもので、その目的は、ページに記録すべきデー
タまたは記録されたデータの有無を判定する手段
を設け、改ページ命令が入力された時点におい
て、それらデータが存在しないと判定された場合
には、改ページ指令を無視して不要のページ出力
を防止するように適切に構成した記録装置を提供
することにある。
Purpose The present invention has been made in view of such conventional problems, and its purpose is to provide a means for determining the presence or absence of data to be recorded on a page or data recorded, An object of the present invention is to provide a recording device that is appropriately configured to ignore a page break command and prevent unnecessary page output when it is determined that such data does not exist at a time.

実施例 以下、図面を参照して本発明を詳細に説明す
る。
EXAMPLES Hereinafter, the present invention will be described in detail with reference to the drawings.

なお、以下の説明において、ページとは、記録
に用いる用紙の形態、例えば、連続紙とカツトシ
ート紙とを問わず用紙の縦方向および横方向に対
し予め設定された記録範囲をさすものとする。
Note that in the following description, a page refers to a preset recording range in the vertical and horizontal directions of paper, regardless of the form of paper used for recording, for example, continuous paper or cut sheet paper.

第1図は、本発明の一実施例のプリンタ制御装
置(図では、プリンタ制御部101)を用いた記
録装置の一例としてレーザビームプリンタの概略
構成を示す。ここで、100はレーザビームプリ
ンタ(以下、LBPと略記する)であり、プリン
タ制御部101を介してホストコンピユータと接
続され、ホストコンピユータが送出する文字コー
ドおよび制御コードのデータを受け取る。プリン
タ制御部101は送出されてきた文字コードをそ
のコードに対応する文字ドツトパターンの印字信
号S01に変換し、印字機構102内のレーザド
ライバ103に供給する。
FIG. 1 shows a schematic configuration of a laser beam printer as an example of a recording device using a printer control device (printer control unit 101 in the figure) according to an embodiment of the present invention. Here, 100 is a laser beam printer (hereinafter abbreviated as LBP), which is connected to a host computer via a printer control unit 101, and receives character code and control code data sent from the host computer. The printer control unit 101 converts the sent character code into a print signal S01 of a character dot pattern corresponding to the code, and supplies it to the laser driver 103 in the printing mechanism 102.

レーザドライバ103は、印字信号S01に基
づいて半導体レーザ104が射出するレーザのオ
ン/オフを制御する。半導体レーザ104から射
出されたレーザ光は回転多面鏡105により左右
に振られ、静電ドラム106に照射される。かか
る照射により静電ドラム106上に、文字パター
ン像が形成されて現象された後に、印字用紙に転
写される。ここで、印字用紙としては、例えばカ
ツトシート紙を用い、LBP100に装着された
用紙カセツト107に収められ、給紙ローラ10
8によつて印字機構102内に送り込まれる。
The laser driver 103 controls on/off of the laser emitted by the semiconductor laser 104 based on the print signal S01. Laser light emitted from the semiconductor laser 104 is swung left and right by a rotating polygon mirror 105 and is irradiated onto the electrostatic drum 106 . By this irradiation, a character pattern image is formed on the electrostatic drum 106 and is then transferred to printing paper. Here, as the printing paper, for example, cut sheet paper is used, which is stored in a paper cassette 107 attached to the LBP 100, and is placed in a paper cassette 107 mounted on the LBP 100,
8 into the printing mechanism 102.

第2図は、本発明のプリンタ制御装置であるプ
リンタ制御部101の構成を示す。ここで、20
0はインターフエース回路であり、本発明の入力
手段に対応する。211は文字発生器であり、本
発明のパターン発生手段に対応する。また203
はCPUであり、本発明の制御手段に対応し、2
09は文字カウンタであり、CPU203と併せ
て本発明の判定手段を構成している。
FIG. 2 shows the configuration of the printer control section 101, which is the printer control device of the present invention. Here, 20
0 is an interface circuit, which corresponds to the input means of the present invention. 211 is a character generator, which corresponds to the pattern generating means of the present invention. Also 203
is a CPU, corresponds to the control means of the present invention, and 2
09 is a character counter, which together with the CPU 203 constitutes the determination means of the present invention.

インタフエース回路200はホストコンピユー
タとの間でデータの送受信を行うものであり、ホ
ストコンピユータからのデータを受信すると、
CPU203に入力レデイ信号S20を送出し、
続いて入力データ信号D20をCPU203へ送
出する。CPU203は後述する改ページ処理を
行う手順を含め、LBP100を制御する手順を
記憶し、その手順に従つてLBP100を制御す
る。最大行指定スイツチ201および最大桁指定
スイツチ202は、それぞれ、1ページの最大行
および最大桁を指定するスイツチであり、それら
指定された値はCPU203が読み出して、それ
ぞれ、最大行レジスタ205および最大桁レジス
タ206に保存させる。本実施例においては、1
枚の用紙の最大行および最大桁で指定された印字
範囲を1ページとする。
The interface circuit 200 sends and receives data to and from the host computer, and when receiving data from the host computer,
Sends an input ready signal S20 to the CPU 203,
Subsequently, the input data signal D20 is sent to the CPU 203. The CPU 203 stores a procedure for controlling the LBP 100, including a procedure for performing page break processing to be described later, and controls the LBP 100 according to the procedure. Maximum row designation switch 201 and maximum digit designation switch 202 are switches that designate the maximum row and maximum digit of one page, respectively.The CPU 203 reads these designated values and sets them in the maximum row register 205 and maximum digit, respectively. It is stored in the register 206. In this example, 1
The print range specified by the maximum line and maximum digit of a sheet of paper is one page.

行カウンタ207および桁カウンタ208は、
それぞれ、入力されたデータの行数および桁数を
管理するカウンタである。文字カウンタ209は
1ページ内の印字すべき入力データの数を係数す
るカウンタである。ページバツフア204は入力
データを1ページ単位で保存するメモリである。
文字発生器211は文字ドツトパターン群を格納
するフオントメモリ(不図示)を有し、ページバ
ツフア204に貯えられた1ページ分のデータか
らCPU203を介して1行毎に文字コード列を
読出し、その文字コード列に対応する文字ドツト
パターンをフオントメモリから取り出して印字信
号に変換し、さらに印字機構102へ送出する。
210は給紙ソレノイドであり、CPU203の
指示により、給紙ローラ108を駆動する。
The row counter 207 and digit counter 208 are
These are counters that manage the number of lines and the number of digits of input data, respectively. The character counter 209 is a counter that counts the number of input data to be printed within one page. The page buffer 204 is a memory that stores input data in units of one page.
The character generator 211 has a font memory (not shown) that stores a group of character dot patterns, reads out a character code string line by line from one page of data stored in the page buffer 204 via the CPU 203, and generates the characters. The character dot pattern corresponding to the code string is retrieved from the font memory, converted into a print signal, and further sent to the print mechanism 102.
A paper feed solenoid 210 drives the paper feed roller 108 according to instructions from the CPU 203 .

第3図はページバツフア204の構成の一例を
示す。ここで、300はデータ保存部、301は
桁数ポインタおよび302はアドレスポインタで
ある。データ保存部300は、行数lのページに
ついて、その内部に行L1,L2……,Llを展開
し、それらの行毎にデータを格納する。行L1,
L2,……,Llの各々が格納するデータは、それ
ぞれ、文字コード列C1,C2,……,Clと、そ
れら文字コード列の直前の番地に置かれたそれぞ
れの桁数n1,n2,……,nlとから成る。
FIG. 3 shows an example of the configuration of the page buffer 204. Here, 300 is a data storage section, 301 is a digit number pointer, and 302 is an address pointer. The data storage unit 300 develops lines L1, L2, . Row L1,
The data stored in each of L2, . ..., nl.

桁数ポインタ301およびアドレスポインタ3
02は、CPU203がデータ保存部300との
間で文字データを書込み/読出しするときに、書
込み/読出しに係る行、例えば、行L3につい
て、それぞれ、桁数n3の格納番地および文字コ
ードの格納番地を指示する。
Digit number pointer 301 and address pointer 3
02 is the storage address of the number of digits n3 and the storage address of the character code for a line related to writing/reading, for example, line L3, when the CPU 203 writes/reads character data to/from the data storage unit 300. instruct.

第4図〜第7図はCPU203によるLBP10
0の制御手順の一例を示す。
Figures 4 to 7 are LBP10 by CPU203
An example of the control procedure of 0 is shown below.

第4図において、装置の電源が投入され、ペー
ジの最大行および最大桁が指定されると、ステツ
プS400にてCPU203は最大行指定スイツチ2
01および最大桁指定スイツチ202からそれら
の値を読み取つて、それぞれ、最大行レジスタ2
05および最大桁レジスタ206にセツトする。
次に、ステツプS401にて行カウンタ207、桁
カウンタ208および文字カウンタ209をクリ
アし、ステツプS402にてページバツフア204
の桁数ポインタ301とアドレスポインタ302
とに、それぞれ、ページバツフア204の先頭ア
ドレス値とその先頭アドレスに1を加えた値とを
セツトする。
In FIG. 4, when the device is powered on and the maximum line and digit of the page are specified, the CPU 203 switches the maximum line specification switch 2 in step S400.
01 and maximum digit designation switch 202, and set the maximum row register 2, respectively.
05 and maximum digit register 206.
Next, in step S401, the line counter 207, digit counter 208, and character counter 209 are cleared, and in step S402, the page buffer 204 is cleared.
digit number pointer 301 and address pointer 302
Then, the start address value of the page buffer 204 and the value obtained by adding 1 to the start address are set respectively.

次にステツプS403において第5図につき後述
する入力解析を行い、行カウンタ207、桁カウ
ンタ208および文字カウンタ209の内容を適
宜更新しつつ、ページバツフア300内に、入力
された文字データを保存してゆく。1ページ分の
入力解析が終了すると、ステツプS404に進み、
文字カウンタ209の内容を判定する。ここで、
文字カウンタ209が0であれば印字すべきデー
タがないと判定し、用紙を送る動作を実行せず、
ステツプS400に戻つて次のデータのページ編集
を行う。一方、ステツプS404において、文字カ
ウンタ209の内容が0でなければ、ステツプ
S405に進み、給紙ソレノイド210を駆動して
紙送りを開始させ、次いでステツプS406にてペ
ージバツフア300から印字すべきデータを文字
発生器211に送出する。ステツプS406の処理
が終了するとステツプS400に戻る。
Next, in step S403, input analysis, which will be described later with reference to FIG. . When the input analysis for one page is completed, the process advances to step S404.
The contents of character counter 209 are determined. here,
If the character counter 209 is 0, it is determined that there is no data to be printed, and no paper feeding operation is performed.
Returning to step S400, the next page of data is edited. On the other hand, if the content of the character counter 209 is not 0 in step S404, the step
Proceeding to S405, the paper feed solenoid 210 is driven to start paper feeding, and then, in step S406, data to be printed is sent from the page buffer 300 to the character generator 211. When the process of step S406 is completed, the process returns to step S400.

第5図はステツプS403の入力解析サブルーチ
ンの手順を示し、まず、ステツプS501において、
CPU203はインタフエース回路200から送
出される入力レデイ信号S20の入力を待つ。入
力レデイ信号を受信すると、ステツプS502にて
データを取り込み、ステツプS503にて、入力デ
ータの種類を判定する。データの改ページ命令コ
ードの場合は、ステツプS504へ進み、ここで桁
カウンタ208な内容が0でなければ、ステツプ
S600にて第6図示の改行処理を経て、入力解析
S403を終了する。一方、ステツプS504にお
いて桁カウンタ208の内容が0であれば、直ち
に入力解析S403の処理を終了する。
FIG. 5 shows the procedure of the input analysis subroutine in step S403. First, in step S501,
The CPU 203 waits for the input ready signal S20 sent from the interface circuit 200. When the input ready signal is received, data is fetched in step S502, and the type of input data is determined in step S503. If it is a data page break instruction code, the process advances to step S504, and if the content of the digit counter 208 is not 0, the process advances to step S504.
In S600, the input analysis S403 ends after the line feed process shown in the sixth figure. On the other hand, if the content of the digit counter 208 is 0 in step S504, the process of input analysis S403 is immediately terminated.

ステツプS503にて入力データが改行命令コー
ドである場合は、ステツプS600に進み、第6図
示の改行処理を行う。次に、ステツプS507にお
いて行カウンタ207の内容と最大行レジスタ2
05の内容とを比較し、それが一致した場合は最
大行に達したと判断してステツプS504に進み、
以下改ページ命令コードを入力した場合と同一の
処理を行う。逆に、行カウンタ207の内容と最
大レジスタ205の内容とが一致しなければステ
ツプS501に戻つて次のデータを読み込む。
If the input data is a line feed command code in step S503, the process advances to step S600, where the line feed process shown in FIG. 6 is performed. Next, in step S507, the contents of the row counter 207 and the maximum row register 2 are
05, and if they match, it is determined that the maximum row has been reached and the process proceeds to step S504.
The same processing as when inputting a page break command code is performed below. Conversely, if the contents of the row counter 207 and the contents of the maximum register 205 do not match, the process returns to step S501 and the next data is read.

ステツプS503で入力データが文字コードと判
定された場合はステツプS700に進み、第7図示
の文字処理を行い、その終了後にステツプS509
にて桁カウンタ208の内容と最大桁レジスタ2
06の内容とを比較する。ここで、桁カウンタ2
08の内容と最大桁レジスタ206の内容とが一
致した場合にはステツプS506に進み、以下改行
命令コードを入力した場合と同一の処理を行う。
一方、桁カウンタ208の内容と最大桁レジスタ
206の内容とが一致しない場合は、ステツプ
S501に戻つて次の入力データを読み込む。
If the input data is determined to be a character code in step S503, the process advances to step S700, where the character processing shown in FIG.
The contents of digit counter 208 and maximum digit register 2
Compare with the contents of 06. Here, digit counter 2
If the contents of 08 and the contents of the maximum digit register 206 match, the process advances to step S506, and the same processing as when a line feed instruction code is input is performed.
On the other hand, if the contents of the digit counter 208 and the contents of the maximum digit register 206 do not match, the step
Return to S501 and read the next input data.

第6図は改行処理のサブルーチンS600の処
理手順を示す。まず、ステツプS601にて、その
時点での桁カウンタ208の値を処理に係る行に
対応した桁数保存領域、すなわち桁数ポインタ3
01が指示する桁数保存領域に保存し、次いで、
ステツプS602にて桁カウンタ208をクリアす
る。次にステツプS603において、桁数ポインタ
301の内容をアドレスポインタ301の内容で
置換して桁数ポインタ301を更新し、さらにス
テツプS604にて、アドレスポインタ301を+
1歩進する。そしてステツプS605にて行カウン
タ207を+1歩進して、以下のデータ処理が次
の行について行われるようになし、改行処理のス
テツプS600を終了する。
FIG. 6 shows the processing procedure of subroutine S600 for line feed processing. First, in step S601, the value of the digit counter 208 at that point is stored in the digit number storage area corresponding to the row related to processing, that is, the digit number pointer 3.
Save it in the number of digits storage area indicated by 01, and then
Digit counter 208 is cleared in step S602. Next, in step S603, the contents of the digit number pointer 301 are replaced with the contents of the address pointer 301 to update the digit number pointer 301, and further, in step S604, the address pointer 301 is
Take one step forward. Then, in step S605, the line counter 207 is incremented by +1 so that the following data processing is performed on the next line, and step S600 of line feed processing is completed.

第7図は文字処理S700の処理手順を示す。
まず、ステツプS701にて入力された文字コード
をアドレスポインタ301が指示するデータ保存
部300上の領域に保存し、次いで、ステツ
S702にてアドレスポインタ301を+1歩進す
る。さらに、ステツプS703にて、桁カウンタ2
08を+1歩進する。さらに、ステツプS704に
て文字カウンタ209を+1歩進して文字処理の
ステツプS700を終了する。
FIG. 7 shows the processing procedure of character processing S700.
First, the character code input in step S701 is saved in the area on the data storage unit 300 indicated by the address pointer 301, and then
In S702, the address pointer 301 is incremented by +1. Furthermore, in step S703, digit counter 2
08 +1 step. Furthermore, in step S704, the character counter 209 is incremented by +1, and step S700 of character processing is ended.

すなわち、改ページが指令され、かつ印字すべ
き文字データが存在する場合には、ステツプ
S404以下の処理により、確実に改ページ処理を
行うことができる。
In other words, if a page break is commanded and there is character data to be printed, the step
The page break processing can be performed reliably by the processing from S404 onwards.

以上より、本発明記録装置の全体構成図は第8
図のようになる。すなわち、本発明記録装置は、
記録媒体800に記録を行う記録手段801と、
記録手段に向けて記録媒体800を送出して改ペ
ージを行う改ページ手段802と、記録データを
受信して記録手段に受信した記録データの記録を
指令し、改ページ命令を受信して改ページ手段8
02に改ページを指令する制御手段803と、記
録データの有無を判定する判定手段804と、改
ページ命令を受信した時点で判定手段804によ
つて記録データが無いと判定された場合には、制
御手段803からの改ページの指令を阻止する阻
止手段805とを具える。
From the above, the overall configuration diagram of the recording device of the present invention is shown in the eighth figure.
It will look like the figure. That is, the recording device of the present invention:
a recording means 801 for recording on a recording medium 800;
A page break means 802 sends out the recording medium 800 toward the recording means to make a page break, and a page break means 802 receives record data and instructs the record means to record the received record data, receives a page break command, and starts a page break. Means 8
A control means 803 instructs a page break to 02, a determination means 804 determines the presence or absence of recorded data, and if the determination means 804 determines that there is no recorded data at the time of receiving a page change command, A blocking means 805 for blocking a page change command from the control means 803 is provided.

効 果 以上説明してきたように、本発明によれば、改
ページ命令を受けた時点において、記録に係るデ
ータの有無を判定する手段を用いて不要のページ
の排出を防止できる効果が得られる。
Effects As explained above, according to the present invention, it is possible to prevent unnecessary pages from being ejected by using a means for determining the presence or absence of data related to recording at the time when a page change command is received.

なお、本発明は上例のページ単位に記録を行う
レーザビームプリンタにのみ限られるものではな
く、シリアルプリンタおよびラインプリンタにも
容易に適用できること勿論である。また、上述の
実施例においては、文字カウンタにより印字に係
るデータの有無を判定するようにしたが、シリア
ルプリンタ、ラインプリンタに本発明を適用する
場合には、例えば、ページ中において印字ハンマ
あるいは印字ヘツドの動作等の記録動作が行われ
たか否かを判定するためのフラグ用レジスタを設
けてデータの有無を判定するようにしてもよい。
すなわち、そのフラグを改ページ時点でリセツト
し、その後の1プージについて、1度以上かかる
記録動作が行われたときには、そのフラグをセツ
トするようになし、以て記録データが存在すると
きにのみ改ページ処理が行われるようにすること
ができる。
It should be noted that the present invention is not limited to the laser beam printer that performs recording page by page as described above, but can of course be easily applied to serial printers and line printers. Furthermore, in the above embodiment, the character counter is used to determine the presence or absence of data related to printing. However, when applying the present invention to a serial printer or a line printer, for example, if the present invention is applied to a serial printer or a line printer, A flag register for determining whether a recording operation such as a head operation has been performed may be provided to determine the presence or absence of data.
In other words, the flag is reset at the time of a page break, and when such recording operation is performed once or more for one page after that, the flag is set, and the flag is changed only when recorded data exists. Page processing can be performed.

さらに、本発明は、以上の文字記録用のプリン
タのみならず、図形情報や画像情報を受信し、図
形や画像の記録を行うプリンタにも適用すること
ができる。
Furthermore, the present invention can be applied not only to the above-mentioned character recording printers but also to printers that receive graphic information and image information and record graphics and images.

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

第1図は本発明記録装置の一実施例として、レ
ーザビームプリンタの構成の一例を示すブロツク
図、第2図はその制御部の構成の一例を示すブロ
ツク図、第3図は1ページ分の文字データ等を記
憶するページバツフアの構成の一例を示すブロツ
ク図、第4図〜第7図は制御部による制御手順の
一例を示すフローチヤート、第8図は本発明記録
装置の全体構成図である。 100……レーザビームプリンタ(LBP)、1
01……プリンタ制御部、102……印字機構、
103……レーザドライバ、104……半導体レ
ーザ、105……回転多面鏡、106……静電ド
ラム、107……用紙カセツト、108……給紙
ローラ、200……インタフエース回路、201
……最大行指定スイツチ、202……最大桁指定
スイツチ、203……CPU、204……ページ
バツフア、205……最大行レジスタ、206…
…最大桁レジスタ、207……行カウンタ、20
8……桁カウンタ、209……文字カウンタ、2
10……給紙ソレノイド、211……文字発生
器、300……データ保存部、301……桁数ポ
インタ、302……アドレスポインタ、S01…
…印字信号、S20……入力レデイ信号、D20
……入力データ信号、L1,L2,……,Ll……
行、n1,n2,……,nl……桁、C1,C2,
……,Cl……文字コード列、800……記録媒
体、801……印字手段、802……改ページ手
段、803……制御手段、804……判定手段、
805……阻止手段。
FIG. 1 is a block diagram showing an example of the configuration of a laser beam printer as an embodiment of the recording apparatus of the present invention, FIG. 2 is a block diagram showing an example of the configuration of its control section, and FIG. A block diagram showing an example of the configuration of a page buffer for storing character data, etc., FIGS. 4 to 7 are flowcharts showing an example of a control procedure by the control unit, and FIG. 8 is an overall configuration diagram of the recording apparatus of the present invention. . 100...Laser beam printer (LBP), 1
01... Printer control unit, 102... Printing mechanism,
103... Laser driver, 104... Semiconductor laser, 105... Rotating polygon mirror, 106... Electrostatic drum, 107... Paper cassette, 108... Paper feed roller, 200... Interface circuit, 201
...Maximum line specification switch, 202...Maximum digit specification switch, 203...CPU, 204...Page buffer, 205...Maximum line register, 206...
...Maximum digit register, 207...Line counter, 20
8...Digit counter, 209...Character counter, 2
10...Paper feed solenoid, 211...Character generator, 300...Data storage unit, 301...Digit number pointer, 302...Address pointer, S01...
...Print signal, S20...Input ready signal, D20
...Input data signal, L1, L2, ..., Ll...
Row, n1, n2,..., nl... column, C1, C2,
..., Cl... Character code string, 800... Recording medium, 801... Printing means, 802... Page break means, 803... Control means, 804... Judgment means,
805...Prevention means.

Claims (1)

【特許請求の範囲】 1 ホストコンピユータからのコードデータを受
信し、ページ毎にプリントを行うプリンタに画像
信号を出力するプリンタ制御装置において、 前記ホストコンピユータから、文字コードを含
む記録データと、改頁命令コードを含む制御コー
ドとを入力する入力手段、 前記入力手段により入力された記録データに基
いてドツトパターンを発生し、前記プリンタに画
像信号として出力するパターン発生手段、 前記入力手段により、直前ページの改頁命令コ
ードが入力されてから当該ページの改頁命令コー
ドが入力されるまでに記録データが入力されたか
否かを判定する判定手段、 前記判定手段により記録データが入力されてい
たと判定された場合には、前記パターン発生手段
によりその入力されていた記録データに基づいて
ドツトパターンを発生させるとともに前記プリン
タに前記当該ページの改頁命令コードに基づく改
頁動作を行わせ、 前記判定手段により記録データが入力されてい
ないと判定された場合には、前記プリンタに前記
当該ページの改頁命令コードに基づく改頁動作を
行わせることなく次頁の受信コードデータに対す
る処理を行わせる制御手段とを有することを特徴
とするプリンタ制御装置。
[Scope of Claims] 1. A printer control device that receives code data from a host computer and outputs an image signal to a printer that prints page by page, comprising: an input means for inputting a control code including an instruction code; a pattern generation means for generating a dot pattern based on the recording data inputted by the input means and outputting it as an image signal to the printer; determination means for determining whether recorded data has been input from the input of a page break instruction code for the page until the page break instruction code for the page is input; If so, the pattern generating means generates a dot pattern based on the inputted recording data and causes the printer to perform a page break operation based on the page break command code of the page, and the determining means control means for causing the printer to process the received code data of the next page without causing the printer to perform a page break operation based on the page break command code of the page when it is determined that no recording data has been input; A printer control device comprising:
JP58032830A 1983-03-02 1983-03-02 Recording apparatus Granted JPS59159368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58032830A JPS59159368A (en) 1983-03-02 1983-03-02 Recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58032830A JPS59159368A (en) 1983-03-02 1983-03-02 Recording apparatus

Publications (2)

Publication Number Publication Date
JPS59159368A JPS59159368A (en) 1984-09-08
JPH0519472B2 true JPH0519472B2 (en) 1993-03-16

Family

ID=12369739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58032830A Granted JPS59159368A (en) 1983-03-02 1983-03-02 Recording apparatus

Country Status (1)

Country Link
JP (1) JPS59159368A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0536702Y2 (en) * 1986-03-25 1993-09-16
JPS644375A (en) * 1987-06-26 1989-01-09 Hioki Electric Works Printer with repagination processor
JP2768307B2 (en) * 1995-05-18 1998-06-25 日本電気株式会社 Printer device
JP2006018748A (en) 2004-07-05 2006-01-19 Canon Inc Information processing apparatus and its control method, and computer program and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5518950A (en) * 1978-07-27 1980-02-09 Seiko Epson Corp Electronic watch

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5518950A (en) * 1978-07-27 1980-02-09 Seiko Epson Corp Electronic watch

Also Published As

Publication number Publication date
JPS59159368A (en) 1984-09-08

Similar Documents

Publication Publication Date Title
US4827358A (en) Apparatus for recording data in suitable format depending on the size of the recording material
US5822499A (en) Method and apparatus for printing data in accordance with a previously set parameter regardless of currently specified parameters
JPH0519472B2 (en)
US4953033A (en) Image forming apparatus for forming images by use of fonts
JPS6159920B2 (en)
EP0555841B1 (en) Output apparatus
JP2610837B2 (en) Recording device control method and recording control device
JPH0717290B2 (en) Recording control device
EP0072708B1 (en) Printer
JPS6056637B2 (en) printing device
JP3232882B2 (en) Serial printer, printer control device, and serial printer printing method
JPS6038742B2 (en) Printer external character processing method
JPH01265779A (en) Recorder
JP3313987B2 (en) Printing control method
JP3098435B2 (en) Control system for multiple thermal heads
JPH0425870B2 (en)
JPH0211357A (en) Printing apparatus
JPH02116571A (en) Printing device
JPH0339282A (en) Printer
JP2514716B2 (en) Recording device
EP0143995A2 (en) Dot-matrix printer
JP2908571B2 (en) Page printer
JPH05281946A (en) Method and device for character output
JPS6010674B2 (en) printer
JPH0661924B2 (en) Printer printing method